/*
 *             Copyright (c) 2003-2026, 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.              |
 *          |                                                                                 |
 *          |                                                                                 |
 *          +---------------------------------------------------------------------------------+
 *
 *
 *
 *
 */
!function(_0x4dd87d,_0x32c351){'object'==typeof exports&&'undefined'!=typeof module?_0x32c351(exports,require('ckeditor5')):'function'==typeof define&&define['amd']?define(['exports','ckeditor5'],_0x32c351):_0x32c351((_0x4dd87d='undefined'!=typeof globalThis?globalThis:_0x4dd87d||self)['CKEDITOR_PREMIUM_FEATURES']={},_0x4dd87d['CKEDITOR']);}(this,function(_0x543b36,_0x14e616){Object['defineProperty'](_0x543b36,Symbol['toStringTag'],{'value':'Module'});var _0x4c7676=Object['create'],_0x1d124e=Object['defineProperty'],_0x577d5a=Object['getOwnPropertyDescriptor'],_0x3950ea=Object['getOwnPropertyNames'],_0x53497c=Object['getPrototypeOf'],_0x557f3b=Object['prototype']['hasOwnProperty'],_0x583040=(_0x3278ea,_0x3458e6)=>()=>(_0x3458e6||(_0x3278ea((_0x3458e6={'exports':{}})['exports'],_0x3458e6),_0x3278ea=null),_0x3458e6['exports']),_0x159dd3=(_0x53b0ee,_0x1d0544)=>{let _0xf2eb3a={};for(var _0x2839fe in _0x53b0ee)_0x1d124e(_0xf2eb3a,_0x2839fe,{'get':_0x53b0ee[_0x2839fe],'enumerable':!0x0});return _0x1d0544||_0x1d124e(_0xf2eb3a,Symbol['toStringTag'],{'value':'Module'}),_0xf2eb3a;},_0x5a534b=(_0x37e86b,_0x142ba7,_0x531a46)=>(_0x531a46=null!=_0x37e86b?_0x4c7676(_0x53497c(_0x37e86b)):{},((_0xbbb39d,_0x1740ee,_0x91b95b,_0x6c696e)=>{if(_0x1740ee&&'object'==typeof _0x1740ee||'function'==typeof _0x1740ee){for(var _0x364a86,_0x15773d=_0x3950ea(_0x1740ee),_0x37eb97=0x0,_0x3bdebc=_0x15773d['length'];_0x37eb97<_0x3bdebc;_0x37eb97++)_0x364a86=_0x15773d[_0x37eb97],_0x557f3b['call'](_0xbbb39d,_0x364a86)||_0x364a86===_0x91b95b||_0x1d124e(_0xbbb39d,_0x364a86,{'get':(_0x58bc44=>_0x1740ee[_0x58bc44])['bind'](null,_0x364a86),'enumerable':!(_0x6c696e=_0x577d5a(_0x1740ee,_0x364a86))||_0x6c696e['enumerable']});}return _0xbbb39d;})(!_0x142ba7&&_0x37e86b&&_0x37e86b['__esModule']?_0x531a46:_0x1d124e(_0x531a46,'default',{'value':_0x37e86b,'enumerable':!0x0}),_0x37e86b));const _0x43aaca='_ungrouppedCommands';function _0x355686(_0x5c596e,_0x345196){const _0x18a0cb=(0x0,_0x345196['t'])('Other');return _0x5c596e['length']?'groupId'in _0x5c596e[0x0]?_0x5c596e:[{'groupId':_0x43aaca,'groupLabel':_0x18a0cb,'order':0x1/0x0,'commands':_0x5c596e}]:[{'groupId':_0x43aaca,'groupLabel':_0x18a0cb,'order':0x1/0x0,'commands':[]}];}const _0x312dce=globalThis['DataTransfer'],_0x5d0c31='ai-ui';var _0x2600f4=class extends _0x14e616['Plugin']{static get['pluginName'](){return'AIAssistantEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3c0517}=this,_0x5860ee=['ck-fake-ai-selection'];_0x3c0517['config']['get']('ai.assistant.useTheme')&&_0x5860ee['push']('ck-ai-assistant-ui_theme'),_0x3c0517['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x5d0c31,'view':{'classes':_0x5860ee,'priority':0xc}}),_0x3c0517['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x5d0c31,'view':(_0x25f1ab,{writer:_0x410ac3})=>{if(!_0x25f1ab['markerRange']['isCollapsed'])return null;const _0x59efa0=_0x410ac3['createUIElement']('span');return _0x410ac3['addClass'](['ck-fake-ai-selection','ck-fake-ai-selection_collapsed'],_0x59efa0),_0x59efa0;}});}['afterInit'](){!async function(_0x25af5a){const _0x2ed454='nA7yurgOHbZvDplRkJscdICm86oPWx92f1qF0LaSX3NGwTMK4jVtYUBQi5zheE',_0x4c2045=0x78fc0,_0xc05918=window['Date']['now'](),_0x1850b1=_0x25af5a['editor'],_0x193377=new window['Promise'](_0x41ed43=>{_0x1850b1['once']('ready',_0x41ed43);}),_0x57305f={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4a3923=_0x1850b1['config']['get']('licenseKey');async function _0x161905(){let _0xd6f6ff,_0x17e2d5=null,_0x5b115f=null;try{return'GPL'==_0x4a3923?'NotAllowed':(_0xd6f6ff=_0xc88411(),_0xd6f6ff?(_0xd6f6ff['usageEndpoint']&&(_0x5b115f=_0x27fe2b(_0xd6f6ff['usageEndpoint'],_0xd6f6ff['jti'])),await _0x2c8313()?_0x1cc36d()?_0x2dae47()?'Expired':_0x12d830()?('evaluation'==_0xd6f6ff['licenseType']&&(_0x17e2d5=_0x2f242c('EvaluationLimit')),await _0x13aeb2()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2dae47(){const _0x423550=['evaluation','trial']['includes'](_0xd6f6ff['licenseType'])?_0xc05918/0x3e8:0xe10*_0x4c2045;return _0xd6f6ff['exp']<_0x423550;}function _0x1cc36d(){const _0x3d6f53=_0xd6f6ff['features'];return!!_0x3d6f53&&(!!_0x3d6f53['includes']('*')||!!_0x3d6f53['includes']('AI'));}function _0x12d830(){const _0x5a20d1=_0xd6f6ff['licensedHosts'];if(!_0x5a20d1||0x0==_0x5a20d1['length'])return!0x0;const {hostname:_0x369e17}=new URL(window['location']['href']);if(_0x5a20d1['includes'](_0x369e17))return!0x0;const _0x332173=_0x369e17['split']('.');return _0x5a20d1['filter'](_0x2a2bb4=>_0x2a2bb4['includes']('*'))['map'](_0xbc9cb9=>_0xbc9cb9['split']('.'))['filter'](_0x2aabdf=>_0x2aabdf['length']<=_0x332173['length'])['map'](_0x33a48e=>Array(_0x332173['length']-_0x33a48e['length'])['fill']('*'===_0x33a48e[0x0]?'*':'')['concat'](_0x33a48e))['some'](_0x27cce5=>_0x332173['every']((_0x12f2e3,_0x44861b)=>_0x27cce5[_0x44861b]===_0x12f2e3||'*'===_0x27cce5[_0x44861b]));}function _0x13aeb2(){return _0x17e2d5&&_0x5b115f?new window['Promise']((_0x531a31,_0x502495)=>{_0x17e2d5['then'](_0x531a31,_0x502495),_0x5b115f['then'](_0x4be2b0=>{'Valid'!=_0x4be2b0&&_0x531a31(_0x4be2b0);},_0x502495);}):_0x17e2d5||_0x5b115f||'Valid';}}function _0x27fe2b(_0x5b8345,_0x10fb0c){return new window['Promise'](_0x140129=>{if(_0x2fed02())return _0x140129('Valid');_0x44cb11(),_0x1850b1['decorate']('_sendUsageRequest');let _0x2ec06c=!0x1;const _0x316314=(0x0,_0x14e616['uid'])();function _0x1f3677(_0x12a5a0){return!!_0x12a5a0&&('object'==typeof _0x12a5a0||'function'==typeof _0x12a5a0)&&'function'==typeof _0x12a5a0['then']&&'function'==typeof _0x12a5a0['catch'];}function _0x38d827(_0x5202c2){_0x29d453(_0x5202c2)['then'](_0x43692c=>_0x43692c&&'ok'==_0x43692c['status']?_0x243108(_0x281f6c(_0x316314+_0x10fb0c))!=_0x43692c['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x1236e8=>(_0x1d9ba7(),_0x1236e8),()=>{const _0x391169=_0x1680fb();return null==_0x391169?(_0x1d9ba7(),'Valid'):_0xc05918-_0x391169>0x240c8400?'UsageLimit':'Valid';})['then'](_0x140129)['catch'](()=>{_0x140129('UsageLimit');});const _0x39c294=0x36ee80;function _0x1d9ba7(){const _0xf6b1d1='llct-'+_0x243108(_0x281f6c(_0x5b8345)),_0x1414a2=_0xdcf0eb(_0x243108(window['Math']['ceil'](_0xc05918/_0x39c294)));window['localStorage']['setItem'](_0xf6b1d1,_0x1414a2);}function _0x1680fb(){const _0x278913='llct-'+_0x243108(_0x281f6c(_0x5b8345)),_0xa5b594=window['localStorage']['getItem'](_0x278913);return _0xa5b594?window['parseInt'](_0xdcf0eb(_0xa5b594),0x10)*_0x39c294:null;}function _0x29d453(_0x5edcf1){return new window['Promise']((_0x30c173,_0x3cfc60)=>{_0x5edcf1['then'](_0x30c173,_0x3cfc60),window['setTimeout'](_0x3cfc60,0x1d4c0);});}}_0x1850b1['on']('_sendUsageRequest',(_0x40d1ec,_0x802fbd)=>{if(_0x802fbd[0x0]!=_0x5b8345)return _0x140129('UsageLimit');_0x802fbd[0x1]={..._0x802fbd[0x1],'requestId':_0x316314};},{'priority':'high'}),_0x1850b1['on']('_sendUsageRequest',_0x59c541=>{_0x1f3677(_0x59c541['return'])&&(_0x2ec06c=!0x0,_0x38d827(_0x59c541['return']));},{'priority':'low'}),_0x193377['then'](()=>{_0x2ec06c||_0x140129('UsageLimit');});});function _0x2fed02(){return'auto'==_0x1850b1['editing']['view']['_overlayModeHint'];}function _0x44cb11(){_0x1850b1['editing']['view']['_overlayModeHint']='auto';}}function _0x2f242c(_0x57e937){const _0x3771dd=[new window['Promise'](_0x5dc6d0=>setTimeout(_0x5dc6d0,0x93ecc)),_0x193377['then'](()=>new window['Promise'](_0x3078f9=>{let _0x408db6=0x0;_0x1850b1['model']['on']('applyOperation',(_0x26d5ed,_0x188edd)=>{_0x188edd[0x0]['isDocumentOperation']&&_0x408db6++,0x5e8==_0x408db6&&(_0x3078f9(),_0x26d5ed['off']());});}))];return window['Promise']['race'](_0x3771dd)['then'](()=>_0x57e937);}async function _0x320d1d(){await _0x193377,_0x1850b1['model']['change']=_0x225ca2,_0x1850b1['model']['enqueueChange']=_0x225ca2,_0x1850b1['enableReadOnlyMode']('model');}function _0x57a542(_0x2cc6fa){const _0x456dba=_0x3f0aad();_0x1850b1[_0x456dba]='aiLicenseKey'+_0x2cc6fa,'Valid'!=_0x2cc6fa&&_0x320d1d();}function _0x3f0aad(){const _0x375de9=window['String'](window['performance']['now']())['replace']('.','');let _0x967f4c='n';for(let _0x486c02=0x0;_0x486c02<_0x375de9['length'];_0x486c02+=0x2){let _0x3e62d6=window['parseInt'](_0x375de9['substring'](_0x486c02,_0x486c02+0x2));_0x3e62d6>=0x3e&&(_0x3e62d6-=0x3e),_0x967f4c+=_0x2ed454[_0x3e62d6];}return _0x967f4c;}function _0xc88411(){const _0x3d7bf4=_0x4a3923['split']('.');if(0x3!=_0x3d7bf4['length'])return null;return _0xf4d8f(_0x3d7bf4[0x1]);function _0xf4d8f(_0x156ee4){const _0xe1b998=_0x51e7d5(_0x156ee4);return _0xe1b998&&_0x43fe38()?_0xe1b998:null;function _0x43fe38(){const _0x4d380f=_0xe1b998['jti'],_0x36079c=window['parseInt'](_0x4d380f['substring'](_0x4d380f['length']-0x8),0x10),_0x2e221a={..._0xe1b998,'jti':_0x4d380f['substring'](0x0,_0x4d380f['length']-0x8)};return delete _0x2e221a['vc'],_0x281f6c(_0x2e221a)==_0x36079c;}}}async function _0x2c8313(){let _0xf420fe=!0x0;try{const [_0x4ca5bc,_0x4fe152,_0x52aaff]=_0x4a3923['split']('.');return _0x18bb26(_0x4ca5bc),await _0x204aac(_0x4ca5bc,_0x4fe152,_0x52aaff),_0xf420fe;}catch{return!0x1;}function _0x18bb26(_0x1c66b6){const _0x1958c2=_0x51e7d5(_0x1c66b6);_0x1958c2&&'ES256'==_0x1958c2['alg']||(_0xf420fe=!0x1);}async function _0x204aac(_0x167567,_0xb7f674,_0x10ab41){const _0xcd089e=window['Uint8Array']['from'](_0x349acf(_0x10ab41),_0x488707=>_0x488707['charCodeAt'](0x0)),_0x3122d4=new window['TextEncoder']()['encode'](_0x167567+'.'+_0xb7f674),_0x401eec=window['crypto']['subtle'];if(!_0x401eec)return;const _0x7bb753=await _0x401eec['importKey']('jwk',_0x57305f,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x401eec['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x7bb753,_0xcd089e,_0x3122d4)||(_0xf420fe=!0x1);}}function _0x51e7d5(_0x220bb6){return _0x220bb6['startsWith']('ey')?JSON['parse'](_0x349acf(_0x220bb6)):null;}function _0x349acf(_0x347c41){return window['atob'](_0x347c41['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x281f6c(_0x11d284){let _0x5472db=0x1505;function _0x1d9cea(_0x169b10){for(let _0x3b633e=0x0;_0x3b633e<_0x169b10['length'];_0x3b633e++){const _0x387071=_0x169b10['charCodeAt'](_0x3b633e);_0x5472db=(_0x5472db<<0x5)+_0x5472db+_0x387071,_0x5472db&=_0x5472db;}}function _0x228a86(_0x4fc1cf){Array['isArray'](_0x4fc1cf)?_0x4fc1cf['forEach'](_0x228a86):_0x4fc1cf&&'object'==typeof _0x4fc1cf?Object['entries'](_0x4fc1cf)['sort']()['forEach'](([_0x2f8e26,_0x5d7748])=>{_0x1d9cea(_0x2f8e26),_0x228a86(_0x5d7748);}):_0x1d9cea(window['String'](_0x4fc1cf));}return _0x228a86(_0x11d284),_0x5472db>>>0x0;}function _0x243108(_0x58b3bc){return _0x58b3bc['toString'](0x10)['padStart'](0x8,'0');}function _0xdcf0eb(_0x17529c){return _0x17529c['split']('')['reverse']()['join']('');}function _0x225ca2(){}_0x57a542(await _0x161905());}(this);}['showFakeVisualSelection'](){const _0x2b7b67=this['editor']['model'];_0x2b7b67['change'](_0x48f135=>{const _0x51d07a=_0x2b7b67['document']['selection']['getRanges']();let _0x932fd8=0x0;for(const _0xce43a1 of _0x51d07a){const _0x34c0fa=_0x5d0c31+':'+_0x932fd8;if(_0x2b7b67['markers']['has'](_0x34c0fa))_0x48f135['updateMarker'](_0x34c0fa,{'range':_0xce43a1});else{if(_0xce43a1['start']['isAtEnd']){const _0x171d06=_0xce43a1['start']['getLastMatchingPosition'](({item:_0x567402})=>!_0x2b7b67['schema']['isContent'](_0x567402),{'boundaries':_0xce43a1});_0x48f135['addMarker'](_0x34c0fa,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x48f135['createRange'](_0x171d06,_0xce43a1['end'])});}else _0x48f135['addMarker'](_0x34c0fa,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xce43a1});}_0x932fd8++;}});}['hideFakeVisualSelection'](){const _0x57f052=this['editor']['model'],_0xa16f18=Array['from'](this['editor']['model']['markers']['getMarkersGroup'](_0x5d0c31));_0xa16f18['length']&&_0x57f052['change'](_0x1d1b7f=>{_0xa16f18['forEach'](_0x54bea2=>{_0x1d1b7f['removeMarker'](_0x54bea2);});});}['insertContent'](_0x57179a,_0x15160a){const _0x13cda4=this['_getAISelection'](),_0x266d87=_0x15160a||_0x13cda4['getFirstRange']();this['editor']['model']['canEditAt'](_0x266d87)&&this['editor']['model']['change'](_0xa65ff0=>{this['hideFakeVisualSelection'](),_0x15160a||this['_resetContentOfSelectedTableCells'](_0xa65ff0,_0x13cda4),this['_pasteHTMLUsingClipboard']({'insertAt':_0x266d87,'writer':_0xa65ff0,'html':_0x57179a});});}['insertContentBelow'](_0xecec2d){const {model:_0x1257e3}=this['editor'],_0x491165=this['_getAISelection']();_0x1257e3['change'](()=>{const _0x3615ae=this['_prepareTableInsertBelowPosition'](_0xecec2d,_0x491165)||this['_getDefaultInsertBelowPosition'](_0x491165);this['insertContent'](_0xecec2d,_0x3615ae);});}['_getAISelection'](){const _0x56f05c=this['editor']['model'],_0x169140=Array['from'](_0x56f05c['markers']['getMarkersGroup'](_0x5d0c31))['map'](_0x55a1dd=>_0x55a1dd['getRange']());return _0x56f05c['createSelection'](_0x169140);}['_pasteHTMLUsingClipboard']({writer:_0x5d38a4,html:_0x18fb03,insertAt:_0x4d0506}){const {view:_0x5d4010}=this['editor']['editing'],_0x18f3c3=this['editor']['plugins']['get'](_0x14e616['ClipboardPipeline']),_0x30e788=new _0x312dce();_0x30e788['setData']('text/html',_0x18fb03);const _0x58dbf0=new _0x14e616['ViewDocumentDomEventData'](_0x5d4010,new ClipboardEvent('paste',{'clipboardData':_0x30e788}),{'dataTransfer':new _0x14e616['ViewDataTransfer'](_0x30e788)});_0x5d38a4['setSelection'](_0x4d0506);const _0x2680cd=(_0xd8c231,_0x316d0a)=>{_0x316d0a['resultRange']&&_0x5d38a4['setSelection'](_0x316d0a['resultRange']);};_0x18f3c3['once']('contentInsertion',_0x2680cd,{'priority':'lowest'}),_0x5d4010['document']['fire']('paste',_0x58dbf0),_0x18f3c3['off']('contentInsertion',_0x2680cd);}['_getDefaultInsertBelowPosition'](_0x2e5130){const {model:_0x319f42}=this['editor'],_0x4c7073=Array['from'](_0x2e5130['getSelectedBlocks']());return _0x4c7073['length']?_0x319f42['createPositionAfter'](_0x4c7073['pop']()):_0x2e5130['getLastPosition']();}['_prepareTableInsertBelowPosition'](_0xb353a1,_0x2db288){const {model:_0x496656,plugins:_0x2ce233}=this['editor'];if(_0x2ce233['has']('TableUtils')){const _0x4190f2=_0x2ce233['get']('TableUtils')['getSelectedTableCells'](_0x2db288);if(_0x4190f2['length']){const _0x46b2ab=this['_getTableRowCountFromContent'](_0xb353a1),_0x3656ef=this['_createEmptyTableRows'](_0x4190f2,_0x46b2ab);return _0x496656['createPositionAt'](_0x3656ef,0x0);}}return null;}['_getTableRowCountFromContent'](_0x1d0487){const _0x418d53=this['editor']['plugins']['get']('TableUtils'),_0x1e965d=this['editor']['data']['parse'](_0x1d0487,'$documentFragment'),_0x51671e=Array['from'](_0x1e965d['getChildren']())['filter'](_0x4910f7=>_0x4910f7['is']('element','table'));let _0x30b494=0x0;return _0x51671e['forEach'](_0x979b86=>{_0x30b494+=_0x418d53['getRows'](_0x979b86);}),_0x30b494;}['_createEmptyTableRows'](_0x253a57,_0x5a0128){const _0x490e92=this['editor']['plugins']['get']('TableUtils'),_0x262800=_0x490e92['getRowIndexes'](_0x253a57),_0x155d5f=_0x490e92['getColumnIndexes'](_0x253a57),_0x3aa2a2=_0x262800['last']+0x1,_0x1e7450=_0x155d5f['first'],_0x737b31=_0x253a57[0x0]['findAncestor']('table');for(let _0x229c4d=0x0;_0x229c4d<_0x5a0128;_0x229c4d++)_0x490e92['insertRows'](_0x737b31,{'at':_0x3aa2a2});return _0x737b31['getChild'](_0x3aa2a2)['getChild'](_0x1e7450);}['_resetContentOfSelectedTableCells'](_0x1f4aaf,_0x164a84){const {plugins:_0x3b53c0}=this['editor'],{model:_0x63cb82}=_0x1f4aaf;_0x3b53c0['has']('TableUtils')&&_0x3b53c0['get']('TableUtils')['getSelectedTableCells'](_0x164a84)['length']&&_0x63cb82['deleteContent'](_0x164a84);}},_0xdbf5cc=class extends _0x14e616['Plugin']{static get['pluginName'](){return'AIAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){if(!this['textAdapter'])throw new _0x14e616['CKEditorError']('aiadapter-text-adapter-not-set',null);}},_0x16395f=class extends Error{constructor(_0x8b5e47){super(_0x8b5e47),this['name']='AIRequestError';}};function _0x73e5dc(_0x244784,_0x297df4,_0x4321a5){const t=_0x244784['t'];switch(_0x297df4){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',_0x4321a5);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4321a5);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'},_0x4321a5);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_AWS_NOT_SUPPORTED':return t({'id':'AI_ERROR_AWS_NOT_SUPPORTED','string':'The\x20AWS\x20integration\x20is\x20no\x20longer\x20supported.\x20Please\x20contact\x20the\x20support.'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x297df4;}}var _0x4d972f=class extends _0x14e616['Command']{['_commandDefinitions'];constructor(_0x2c1dc8,_0x180cfe){super(_0x2c1dc8),this['_commandDefinitions']=_0x180cfe,this['set']('enabledCommandsIds',[]),this['on']('change:_hasContext',(_0x124df9,_0x5b995a,_0x59c751)=>{this['isEnabled']&&(this['enabledCommandsIds']=_0x4c3f1c(this['_commandDefinitions'],_0x59c751));}),this['set']('_hasContext',!0x1),this['on']('change:isEnabled',(_0x41d21c,_0x2c7108,_0x227d1c)=>{this['enabledCommandsIds']=_0x227d1c?_0x4c3f1c(this['_commandDefinitions'],this['_hasContext']):[];});}['refresh'](){const _0x2e2b24=this['editor']['model'];this['_hasContext']=function(_0x385ada){const _0x536b46=_0x385ada['document']['selection'];return _0x536b46['isCollapsed']?0x0!==[..._0x536b46['getSelectedBlocks']()]['length']&&![..._0x536b46['getSelectedBlocks']()][0x0]['isEmpty']:!!_0x385ada['hasContent'](_0x536b46['getFirstRange']());}(_0x2e2b24);const _0x187b6d=_0x2e2b24['document']['selection'],_0x306a07=this['editor']['config']['get']('ai.assistant.disabledElements');for(const _0x4a7915 of _0x187b6d['getRanges']())for(const _0x2e6cbc of _0x4a7915['getItems']())if(_0x2e6cbc['is']('element')&&_0x306a07['includes'](_0x2e6cbc['name']))return void(this['isEnabled']=!0x1);this['isEnabled']=!0x0;}['execute'](_0xe95be7='',_0x1643f1='',_0x6cd6c9='custom'){this['editor']['plugins']['get'](_0xf88035)['showUI'](_0xe95be7,_0x1643f1,_0x6cd6c9);}};function _0x4c3f1c(_0x4e577f,_0x10c6f7){const _0x5ac89f=new Set();for(const _0x34c589 of _0x4e577f['values']())(_0x10c6f7||!0x1===_0x34c589['requiresContent'])&&_0x5ac89f['add'](_0x34c589['id']);return Array['from'](_0x5ac89f);}const _0x59e1a1=new RegExp(/^(.*?)<[a-zA-Z][a-zA-Z0-9_\-.]*[ >]/,'is'),_0x375167=/* #__PURE__  -- @preserve */
/* #__PURE__  -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x442660=class extends _0x375167{['editor'];['textAdapter'];['view'];['_sanitizationContainer'];['_domParser'];['_xmlSerializer'];constructor(_0x15d59d,_0x2e8410,_0x52422a){super(),this['editor']=_0x15d59d,this['textAdapter']=_0x2e8410,this['_sanitizationContainer']=document['createElement']('div'),this['_domParser']=new DOMParser(),this['_xmlSerializer']=new XMLSerializer(),this['view']=_0x52422a,this['set']({'initialContext':'','currentContext':'','currentResponse':'','previousContext':void 0x0,'previousQuery':void 0x0,'previousLabel':void 0x0,'isProcessing':!0x1}),this['on']('set:currentContext',(_0x4900ce,_0x20b85c,_0x4882b2)=>{this['view']['value']=this['_sanitizeHTML'](_0x4882b2);}),this['listenTo'](this['view'],'submitPrompt',(_0x4d88db,_0x239662)=>{const _0x56b58f=this['currentContext']||this['initialContext'];this['_handleQuery'](_0x239662,_0x56b58f,'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:_0x3f1d4a,query:_0x4959a4,htmlContent:_0x38c66a,label:_0x23b9a8,mainActionLabel:_0x504e05}){this['view']['prompt']=_0x23b9a8,this['view']['mainAction']=_0x504e05,this['initialContext']=_0x38c66a,_0x4959a4&&(this['view']['isRendered']?this['_handleQuery'](_0x4959a4,_0x38c66a,_0x3f1d4a,_0x23b9a8):this['view']['once']('render',()=>{this['_handleQuery'](_0x4959a4,_0x38c66a,_0x3f1d4a,_0x23b9a8);}));}['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'](_0x423564,_0x167c51,_0xf00ad0,_0x5e4ef2){return this['isProcessing']=!0x0,this['view']['startProcessing'](),this['previousContext']=_0x167c51,this['previousQuery']=_0x423564,this['previousLabel']=_0x5e4ef2||_0x423564,this['previousActionId']=_0xf00ad0,new Promise(_0x51236f=>{this['textAdapter']['makeRequest']({'query':_0x423564,'context':_0x167c51,'onData':_0x390e8d=>{this['currentResponse']=_0x390e8d,this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse']);},'actionId':_0xf00ad0})['then'](()=>{!this['currentContext']&&this['currentResponse']&&(this['currentContext']=this['_parseAndNormalizeContent'](this['currentResponse'],!0x0));})['catch'](_0x10433c=>{_0x10433c instanceof _0x16395f?this['view']['handleError'](_0x10433c['message']):this['view']['handleError'](),_0x51236f();})['finally'](()=>{this['stopProcessing'](),_0x51236f();});});}['_parseAndNormalizeContent'](_0xcd86a7,_0x43b0ae=!0x1){const _0x28a12a=_0x59e1a1['exec'](_0xcd86a7);_0xcd86a7=_0x28a12a?_0xcd86a7['substring'](_0x28a12a[0x1]['length']):_0xcd86a7['length']<0x64&&!_0x43b0ae?'':this['_stripMarkdownSyntax'](_0xcd86a7);const _0x54ed7a=this['_domParser']['parseFromString'](_0xcd86a7,'text/html');if(_0x28a12a){const _0x2ff115=Array['from'](_0x54ed7a['body']['childNodes']);_0x2ff115['reverse']();for(const _0x18ec8b of _0x2ff115){if(_0x18ec8b['nodeType']==Node['ELEMENT_NODE'])break;_0x18ec8b['remove']();}}const _0x2b5306=this['editor']['data']['processor']['toView'](this['_xmlSerializer']['serializeToString'](_0x54ed7a['body']));this['_isH1TagSupportEnabled']()||this['_normalizeResponseHeadings'](_0x2b5306);const _0x57f35c=this['editor']['config']['get']('ai.assistant.preserveComments'),_0x549caa=this['editor']['data']['toModel'](_0x2b5306);return _0x57f35c||_0x549caa['markers']['clear'](),this['editor']['data']['stringify'](_0x549caa);}['_normalizeResponseHeadings'](_0x17198f){const _0x502bef=new _0x14e616['ViewUpcastWriter'](this['editor']['editing']['view']['document']),_0x4ce0a0=new _0x14e616['Matcher']({'name':/^h[1-5]$/}),_0xa69873=[];let _0x3da56c=!0x1;for(const _0x377e27 of _0x17198f)_0x377e27['is']('element')&&_0x4ce0a0['match'](_0x377e27)&&(_0xa69873['push'](_0x377e27),'h1'==_0x377e27['name']&&(_0x3da56c=!0x0));if(_0x3da56c){for(const _0x1b9a1f of _0xa69873)_0x502bef['rename']('h'+(parseInt(_0x1b9a1f['name'][0x1])+0x1),_0x1b9a1f);}}['_isH1TagSupportEnabled'](){const {data:_0x35903a,editing:_0xedde74}=this['editor'],_0x1d0872=_0x35903a['htmlProcessor']['toView']('<h1></h1>'),_0x4ea61d=_0x35903a['toView'](_0x35903a['toModel'](_0x1d0872));return!!_0xedde74['view']['domConverter']['viewToDom'](_0x4ea61d)['querySelector']('h1');}['_sanitizeHTML'](_0x1830eb){return this['editor']['editing']['view']['domConverter']['setContentOf'](this['_sanitizationContainer'],_0x1830eb),this['_sanitizationContainer']['innerHTML'];}['_stripMarkdownSyntax'](_0x3eeb76){const _0x1ba52e=_0x3eeb76['trim']();return _0x1ba52e['startsWith']('```html')?_0x1ba52e['endsWith']('```')?_0x1ba52e['substring'](0x7,_0x1ba52e['length']-0x3):_0x1ba52e['substring'](0x7):_0x3eeb76;}};const _0x408231={'REPLACE':'replace','INSERT':'insert'};var _0x4673ec=class extends _0x14e616['ToolbarView']{constructor(_0x4f3a92){super(_0x4f3a92),this['set']('isVisible',!0x1),this['set']('mainAction',_0x408231['REPLACE']),this['replaceButton']=this['_createButton']('','ck-button-action'),this['replaceButton']['bind']('label')['to'](this,'mainAction',_0x23323a=>_0x73e5dc(_0x4f3a92,'AI_'+_0x23323a['toUpperCase']()+'_CONTENT')),this['insertButton']=this['_createButton'](_0x73e5dc(_0x4f3a92,'Insert\x20below')),this['tryAgainButton']=this['_createButton'](_0x73e5dc(_0x4f3a92,'Try\x20again')),this['stopButton']=this['_createButton'](_0x73e5dc(_0x4f3a92,'Stop'));const _0x13875f=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-form__toolbar',_0x13875f['if']('isVisible','ck-hidden',_0xe0c308=>!_0xe0c308)]}}),this['items']['addMany']([this['replaceButton'],this['insertButton'],this['tryAgainButton'],this['stopButton']]);}['_createButton'](_0xb1e5ac,_0x30275b){const _0x519ade=new _0x14e616['ButtonView'](this['locale']);return _0x519ade['set']({'label':_0xb1e5ac,'class':_0x30275b||'','isVisible':!0x0,'withText':!0x0}),_0x519ade;}},_0x292604=class extends _0x14e616['View']{['contentFieldView'];['copyButtonView'];constructor(_0x5b9a02,_0x74ce6f=''){super(_0x5b9a02),this['set']({'value':null,'isVisible':!0x1,'isProcessing':!0x1});const _0x465fb6=this['bindTemplate'];this['contentFieldView']=new _0x10ac1f(_0x5b9a02,_0x74ce6f),this['copyButtonView']=this['_createCopyButton'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area-wrapper',_0x465fb6['if']('isVisible','ck-hidden',_0x12ceab=>!_0x12ceab)],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form__content-area',_0x465fb6['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 _0x5aea28=!0x1;this['on']('change:value',(_0x24244d,_0x5358a9,_0x64a03)=>{const _0xd49cc5=!this['contentFieldView']['element']['querySelector']('.ck-ai-form__loader');this['contentFieldView']['setContent'](_0x64a03),this['isProcessing']&&_0xd49cc5&&!_0x5aea28&&this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':'smooth'});}),this['on']('change:isProcessing',(_0x3c9a3f,_0xc65db5,_0x3beaff)=>{_0x5aea28=!0x1,_0x3beaff?(this['value']=null,this['contentFieldView']['appendLoader']()):this['value']||this['contentFieldView']['setContent']('');}),this['listenTo'](this['element'],'wheel',()=>{_0x5aea28=!0x0;}),this['listenTo'](this['element'],'mousedown',()=>{_0x5aea28=!0x0;});}['focus'](){this['element']['focus']();}['_createCopyButton'](){const _0x540030=this['locale'],_0xd74b03=new _0x14e616['ButtonView'](this['locale']),_0x3c8fd5='ck-ai-form__copy-button';return _0xd74b03['set']({'label':_0x73e5dc(_0x540030,'Copy'),'icon':_0x14e616['IconCopy'],'class':_0x3c8fd5,'tooltip':!0x0}),_0xd74b03['bind']('isVisible')['to'](this,'value',_0x2b7851=>!!_0x2b7851),_0xd74b03['bind']('isEnabled')['to'](this,'isProcessing',_0x469f71=>!_0x469f71),_0xd74b03['on']('execute',()=>{this['_copyHTMLToClipboard'](this['contentFieldView']['element']),_0xd74b03['icon']=_0x14e616['IconCheck'],_0xd74b03['class']=_0x3c8fd5+'\x20ck-ai-form__copy-button--copied',this['focus'](),setTimeout(()=>{_0xd74b03['icon']=_0x14e616['IconCopy'],_0xd74b03['class']=_0x3c8fd5;},0x3e8);}),_0xd74b03;}['_copyHTMLToClipboard'](_0x4466a8){const {window:_0x3411c5,document:_0xe8ab04}=_0x14e616['global'];if(_0x3411c5['ClipboardItem']){const {Blob:_0x56024c,ClipboardItem:_0x429e37}=_0x3411c5,_0xa0ae87=[new _0x429e37({'text/html':new _0x56024c([_0x4466a8['innerHTML']],{'type':'text/html'}),'text/plain':new _0x56024c([_0x4466a8['textContent']||''],{'type':'text/plain'})})];navigator['clipboard']['write'](_0xa0ae87);}else{const _0x302fa3=_0xe8ab04['createElement']('div');_0x302fa3['style']['position']='absolute',_0x302fa3['style']['left']='-9999px',_0x302fa3['innerHTML']='<span>[</span>'+_0x4466a8['innerHTML']+'<span>]</span>',_0xe8ab04['body']['appendChild'](_0x302fa3);const _0x46916c=_0xe8ab04['createRange']();_0x46916c['setStartAfter'](_0x302fa3['firstElementChild']),_0x46916c['setEndBefore'](_0x302fa3['lastElementChild']);const _0x4a80cc=_0x3411c5['getSelection']();_0x4a80cc['removeAllRanges'](),_0x4a80cc['addRange'](_0x46916c),_0xe8ab04['execCommand']('copy'),_0x302fa3['remove']();}}},_0x10ac1f=class extends _0x14e616['View']{constructor(_0x4a2d6f,_0x2faad6=''){super(_0x4a2d6f),this['loaderView']=this['_createLoader'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content',_0x2faad6,'ck-reset_all-excluded','ck-ai-form__content-field']}});}['setContent'](_0x160af4){this['element']['innerHTML']=_0x160af4;}['appendLoader'](){this['element']['appendChild'](this['loaderView']['element']);}['_createLoader'](){const _0x17fa19=new _0x14e616['View'](),_0x364844=this['locale'],_0x10da1b=new _0x14e616['SpinnerView']();return _0x10da1b['isVisible']=!0x0,_0x17fa19['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__loader']},'children':[_0x10da1b,{'text':_0x73e5dc(_0x364844,'AI\x20is\x20writing...')}]}),_0x17fa19['render'](),_0x17fa19;}},_0x2366cc=class extends _0x14e616['View']{constructor(_0x314349,_0x3ba630=''){super(_0x314349);const _0x33531c=new _0x14e616['IconView'](),_0x5489cd=this['bindTemplate'];this['set']('text',_0x3ba630),_0x33531c['content']=_0x14e616['IconError'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form__error']},'children':[_0x33531c,{'text':_0x5489cd['to']('text')}]});}},_0x3d2a90=class extends _0x14e616['AutocompleteView']{['submitButtonView'];['showHistoryButtonView'];constructor(_0xd19a46,_0x2e045f){super(_0xd19a46,_0x2e045f),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',(_0xb6d9b5,_0x110428)=>{_0xb6d9b5['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x110428());});}['_createSubmitButton'](){const _0x2a72fd=new _0x14e616['ButtonView'](this['locale']),_0x3666ea=this['locale'];return _0x2a72fd['set']({'icon':_0x14e616['IconSubmit'],'label':_0x73e5dc(_0x3666ea,'Submit'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-form__submit'}),_0x2a72fd['on']('execute',()=>{this['submit']();}),_0x2a72fd['bind']('isEnabled')['to'](this['queryView']['fieldView'],'isEmpty',this,'isEnabled',(_0x5d3944,_0xb8c641)=>!_0x5d3944&&_0xb8c641),_0x2a72fd;}['_createShowHistoryButton'](){const _0xa6e506=new _0x14e616['ButtonView'](this['locale']),_0x46071=this['resultsView'],_0x52ee7f=this['locale'];_0xa6e506['set']({'label':_0x73e5dc(_0x52ee7f,'History'),'withText':!0x1,'icon':_0x14e616['IconAIHistory'],'tooltip':!0x0,'tooltipPosition':'sw','class':'ck-ai-form__toggle-history'}),_0xa6e506['bind']('isOn')['to'](_0x46071,'isVisible'),_0xa6e506['bind']('isEnabled')['to'](this,'isEnabled'),_0xa6e506['on']('execute',()=>{_0x46071['isVisible']=!_0x46071['isVisible'],_0x46071['isVisible']?this['filteredView']['focus']():this['focus']();});const _0x3bfbf8=()=>{_0x14e616['global']['window']['requestAnimationFrame'](()=>{if((0x0,_0x14e616['isVisible'])(this['element'])){const _0x550a9b=new _0x14e616['Rect'](this['queryView']['fieldView']['element']),_0x1864fe=_0x550a9b['width'],_0x587613='rtl'===_0x52ee7f['uiLanguageDirection']?'left':'right';_0x550a9b['excludeScrollbarsAndBorders'](),_0xa6e506['element']['style'][_0x587613]=_0x1864fe-_0x550a9b['width']+0x1+'px';}});};return this['queryView']['fieldView']['on']('update',_0x3bfbf8),this['on']('render',_0x3bfbf8),_0xa6e506;}['submit'](){const _0x3dc120=this['queryView']['fieldView']['element']['value'];this['fire']('submit',_0x3dc120);}['focus'](_0x692343){-0x1===_0x692343?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}},_0x52d1a3=class extends _0x14e616['ListView']{['historyGroupView'];['clearHistoryButton'];constructor(_0x15a2a2){super(_0x15a2a2),this['clearHistoryButton']=this['_createClearHistoryButton'](),this['historyGroupView']=new _0x14e616['ListItemGroupView'](),this['historyGroupView']['children']['add'](this['clearHistoryButton'],0x1),this['historyGroupView']['label']=_0x73e5dc(_0x15a2a2,'Prompt\x20history'),this['historyGroupView']['items']['delegate']('execute')['to'](this),this['items']['add'](this['historyGroupView']);}['filter'](){let _0x6e193e=0x0;for(const _0x2009b6 of this['items'])_0x6e193e+=_0x2009b6['items']['length'];return{'resultsCount':_0x6e193e,'totalItemsCount':_0x6e193e};}['_createClearHistoryButton'](){const _0x5d1ccc=this['locale'],_0x5f3df4=new _0x14e616['ButtonView'](this['locale']);return _0x5f3df4['set']({'label':'('+_0x73e5dc(_0x5d1ccc,'Clear')+')','withText':!0x0}),_0x5f3df4['on']('execute',()=>this['fire']('clearHistory')),_0x5f3df4;}};function _0x480050(_0x182461,_0x3b1efa,{signal:_0xf5685,edges:_0x20453f}={}){let _0xe070bb,_0x1ea993=null;const _0x55fe01=null!=_0x20453f&&_0x20453f['includes']('leading'),_0x237404=null==_0x20453f||_0x20453f['includes']('trailing'),_0x254119=()=>{null!==_0x1ea993&&(_0x182461['apply'](_0xe070bb,_0x1ea993),_0xe070bb=void 0x0,_0x1ea993=null);};let _0x23b95f=null;const _0x18d6e6=()=>{null!=_0x23b95f&&clearTimeout(_0x23b95f),_0x23b95f=setTimeout(()=>{_0x23b95f=null,_0x237404&&_0x254119(),_0xd1daf4();},_0x3b1efa);},_0xd1daf4=()=>{null!==_0x23b95f&&(clearTimeout(_0x23b95f),_0x23b95f=null),_0xe070bb=void 0x0,_0x1ea993=null;},_0xbaac5c=function(..._0x1d5f01){if(_0xf5685?.['aborted'])return;_0xe070bb=this,_0x1ea993=_0x1d5f01;const _0x450fcb=null==_0x23b95f;_0x18d6e6(),_0x55fe01&&_0x450fcb&&_0x254119();};return _0xbaac5c['schedule']=_0x18d6e6,_0xbaac5c['cancel']=_0xd1daf4,_0xbaac5c['flush']=()=>{_0x254119();},_0xf5685?.['addEventListener']('abort',_0xd1daf4,{'once':!0x0}),_0xbaac5c;}function _0x3a18ae(_0x37a367,_0x2d89ca=0x0,_0x59df0d={}){'object'!=typeof _0x59df0d&&(_0x59df0d={});const {leading:_0x4b8a8f=!0x1,trailing:_0x20d6d4=!0x0,maxWait:_0x22be3f}=_0x59df0d,_0x25c3fc=Array(0x2);let _0x39b64e;_0x4b8a8f&&(_0x25c3fc[0x0]='leading'),_0x20d6d4&&(_0x25c3fc[0x1]='trailing');let _0x4f528d=null;const _0x48f15e=_0x480050(function(..._0x4f07fa){_0x39b64e=_0x37a367['apply'](this,_0x4f07fa),_0x4f528d=null;},_0x2d89ca,{'edges':_0x25c3fc}),_0x28332e=function(..._0x499919){return null!=_0x22be3f&&(null===_0x4f528d&&(_0x4f528d=Date['now']()),Date['now']()-_0x4f528d>=_0x22be3f)?(_0x39b64e=_0x37a367['apply'](this,_0x499919),_0x4f528d=Date['now'](),_0x48f15e['cancel'](),_0x48f15e['schedule'](),_0x39b64e):(_0x48f15e['apply'](this,_0x499919),_0x39b64e);};return _0x28332e['cancel']=_0x48f15e['cancel'],_0x28332e['flush']=()=>(_0x48f15e['flush'](),_0x39b64e),_0x28332e;}function _0x126ff9(_0x327668,_0x4ffdd3=0x0,_0x3baf76={}){const {leading:_0x2bd2d4=!0x0,trailing:_0x4e0f6f=!0x0}=_0x3baf76;return _0x3a18ae(_0x327668,_0x4ffdd3,{'leading':_0x2bd2d4,'maxWait':_0x4ffdd3,'trailing':_0x4e0f6f});}function _0x77ec16(_0x2152bf){if(!_0x2152bf||'object'!=typeof _0x2152bf)return!0x1;const _0x23e27b=Object['getPrototypeOf'](_0x2152bf);return(null===_0x23e27b||_0x23e27b===Object['prototype']||null===Object['getPrototypeOf'](_0x23e27b))&&'[object\x20Object]'===Object['prototype']['toString']['call'](_0x2152bf);}function _0x5bfda8(_0x41a823){return Object['getOwnPropertySymbols'](_0x41a823)['filter'](_0xe49131=>Object['prototype']['propertyIsEnumerable']['call'](_0x41a823,_0xe49131));}function _0x343544(_0x47db9c){return null==_0x47db9c?void 0x0===_0x47db9c?'[object\x20Undefined]':'[object\x20Null]':Object['prototype']['toString']['call'](_0x47db9c);}const _0x417c12='[object\x20RegExp]',_0x550b19='[object\x20String]',_0x4d07d2='[object\x20Number]',_0x3e16f5='[object\x20Boolean]',_0x333d1f='[object\x20Arguments]',_0x5517c0='[object\x20Symbol]',_0x1a2dae='[object\x20Date]',_0x5db167='[object\x20Map]',_0xc87370='[object\x20Set]',_0x4937a4='[object\x20Array]',_0x303e37='[object\x20ArrayBuffer]',_0xa81f50='[object\x20Object]',_0x483992='[object\x20DataView]',tt='[object\x20Uint8Array]',et='[object\x20Uint8ClampedArray]',it='[object\x20Uint16Array]',st='[object\x20Uint32Array]',nt='[object\x20Int8Array]',rt='[object\x20Int16Array]',ot='[object\x20Int32Array]',at='[object\x20Float32Array]',ct='[object\x20Float64Array]';function lt(_0x53e4ad,_0x44d6ba){return _0x53e4ad===_0x44d6ba||Number['isNaN'](_0x53e4ad)&&Number['isNaN'](_0x44d6ba);}function ht(_0x25af55,_0x16b8e9,_0xd0a040,_0x39209d,_0x39b3f2,_0x4511be,_0x4718f1){const _0x54b561=_0x4718f1(_0x25af55,_0x16b8e9,_0xd0a040,_0x39209d,_0x39b3f2,_0x4511be);if(void 0x0!==_0x54b561)return _0x54b561;if(typeof _0x25af55==typeof _0x16b8e9)switch(typeof _0x25af55){case'bigint':case'string':case'boolean':case'symbol':case'undefined':case'function':return _0x25af55===_0x16b8e9;case'number':return _0x25af55===_0x16b8e9||Object['is'](_0x25af55,_0x16b8e9);case'object':return ut(_0x25af55,_0x16b8e9,_0x4511be,_0x4718f1);}return ut(_0x25af55,_0x16b8e9,_0x4511be,_0x4718f1);}function ut(_0xed58e4,_0x558a24,_0x583ca6,_0x13be49){if(Object['is'](_0xed58e4,_0x558a24))return!0x0;let _0x4aebd6=_0x343544(_0xed58e4),_0x5dda43=_0x343544(_0x558a24);if('[object\x20Arguments]'===_0x4aebd6&&(_0x4aebd6=_0xa81f50),'[object\x20Arguments]'===_0x5dda43&&(_0x5dda43=_0xa81f50),_0x4aebd6!==_0x5dda43)return!0x1;switch(_0x4aebd6){case _0x550b19:return _0xed58e4['toString']()===_0x558a24['toString']();case _0x4d07d2:return lt(_0xed58e4['valueOf'](),_0x558a24['valueOf']());case _0x3e16f5:case _0x1a2dae:case _0x5517c0:return Object['is'](_0xed58e4['valueOf'](),_0x558a24['valueOf']());case _0x417c12:return _0xed58e4['source']===_0x558a24['source']&&_0xed58e4['flags']===_0x558a24['flags'];case'[object\x20Function]':return _0xed58e4===_0x558a24;}const _0x1e1fff=(_0x583ca6=_0x583ca6??new Map())['get'](_0xed58e4),_0x155b14=_0x583ca6['get'](_0x558a24);if(null!=_0x1e1fff&&null!=_0x155b14)return _0x1e1fff===_0x558a24;_0x583ca6['set'](_0xed58e4,_0x558a24),_0x583ca6['set'](_0x558a24,_0xed58e4);try{switch(_0x4aebd6){case _0x5db167:if(_0xed58e4['size']!==_0x558a24['size'])return!0x1;for(const [_0x3ec025,_0x545efa]of _0xed58e4['entries']())if(!_0x558a24['has'](_0x3ec025)||!ht(_0x545efa,_0x558a24['get'](_0x3ec025),_0x3ec025,_0xed58e4,_0x558a24,_0x583ca6,_0x13be49))return!0x1;return!0x0;case _0xc87370:{if(_0xed58e4['size']!==_0x558a24['size'])return!0x1;const _0x47f42f=Array['from'](_0xed58e4['values']()),_0x26546f=Array['from'](_0x558a24['values']());for(let _0x4d2adf=0x0;_0x4d2adf<_0x47f42f['length'];_0x4d2adf++){const _0x542d82=_0x47f42f[_0x4d2adf],_0x3fd994=_0x26546f['findIndex'](_0x3b0a5e=>ht(_0x542d82,_0x3b0a5e,void 0x0,_0xed58e4,_0x558a24,_0x583ca6,_0x13be49));if(-0x1===_0x3fd994)return!0x1;_0x26546f['splice'](_0x3fd994,0x1);}return!0x0;}case _0x4937a4:case tt:case et:case it:case st:case'[object\x20BigUint64Array]':case nt:case rt:case ot:case'[object\x20BigInt64Array]':case at:case ct:if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0xed58e4)!==Buffer['isBuffer'](_0x558a24))return!0x1;if(_0xed58e4['length']!==_0x558a24['length'])return!0x1;for(let _0x2a6307=0x0;_0x2a6307<_0xed58e4['length'];_0x2a6307++)if(!ht(_0xed58e4[_0x2a6307],_0x558a24[_0x2a6307],_0x2a6307,_0xed58e4,_0x558a24,_0x583ca6,_0x13be49))return!0x1;return!0x0;case _0x303e37:return _0xed58e4['byteLength']===_0x558a24['byteLength']&&ut(new Uint8Array(_0xed58e4),new Uint8Array(_0x558a24),_0x583ca6,_0x13be49);case _0x483992:return _0xed58e4['byteLength']===_0x558a24['byteLength']&&_0xed58e4['byteOffset']===_0x558a24['byteOffset']&&ut(new Uint8Array(_0xed58e4),new Uint8Array(_0x558a24),_0x583ca6,_0x13be49);case'[object\x20Error]':return _0xed58e4['name']===_0x558a24['name']&&_0xed58e4['message']===_0x558a24['message'];case _0xa81f50:{if(!(ut(_0xed58e4['constructor'],_0x558a24['constructor'],_0x583ca6,_0x13be49)||_0x77ec16(_0xed58e4)&&_0x77ec16(_0x558a24)))return!0x1;const _0x4a7e18=[...Object['keys'](_0xed58e4),..._0x5bfda8(_0xed58e4)],_0x46f4fb=[...Object['keys'](_0x558a24),..._0x5bfda8(_0x558a24)];if(_0x4a7e18['length']!==_0x46f4fb['length'])return!0x1;for(let _0x25605b=0x0;_0x25605b<_0x4a7e18['length'];_0x25605b++){const _0x2582a6=_0x4a7e18[_0x25605b],_0x23f5af=_0xed58e4[_0x2582a6];if(!Object['hasOwn'](_0x558a24,_0x2582a6))return!0x1;if(!ht(_0x23f5af,_0x558a24[_0x2582a6],_0x2582a6,_0xed58e4,_0x558a24,_0x583ca6,_0x13be49))return!0x1;}return!0x0;}default:return!0x1;}}finally{_0x583ca6['delete'](_0xed58e4),_0x583ca6['delete'](_0x558a24);}}function dt(){}function ft(_0x25191f,_0x3c6a07){return function(_0x4f84f9,_0x3f7e40,_0x5c8043){return ht(_0x4f84f9,_0x3f7e40,void 0x0,void 0x0,void 0x0,void 0x0,_0x5c8043);}(_0x25191f,_0x3c6a07,dt);}function mt(_0x5ba55b){return ArrayBuffer['isView'](_0x5ba55b)&&!(_0x5ba55b instanceof DataView);}function pt(_0x17afd3,_0x2d5eac,_0x3bc307,_0x970c58=new Map(),_0x32bf66=void 0x0){const _0x5c5a8b=_0x32bf66?.(_0x17afd3,_0x2d5eac,_0x3bc307,_0x970c58);if(void 0x0!==_0x5c5a8b)return _0x5c5a8b;if(function(_0x1476fe){return null==_0x1476fe||'object'!=typeof _0x1476fe&&'function'!=typeof _0x1476fe;}(_0x17afd3))return _0x17afd3;if(_0x970c58['has'](_0x17afd3))return _0x970c58['get'](_0x17afd3);if(Array['isArray'](_0x17afd3)){const _0x3c8476=new Array(_0x17afd3['length']);_0x970c58['set'](_0x17afd3,_0x3c8476);for(let _0x152846=0x0;_0x152846<_0x17afd3['length'];_0x152846++)_0x3c8476[_0x152846]=pt(_0x17afd3[_0x152846],_0x152846,_0x3bc307,_0x970c58,_0x32bf66);return Object['hasOwn'](_0x17afd3,'index')&&(_0x3c8476['index']=_0x17afd3['index']),Object['hasOwn'](_0x17afd3,'input')&&(_0x3c8476['input']=_0x17afd3['input']),_0x3c8476;}if(_0x17afd3 instanceof Date)return new Date(_0x17afd3['getTime']());if(_0x17afd3 instanceof RegExp){const _0x4e5b87=new RegExp(_0x17afd3['source'],_0x17afd3['flags']);return _0x4e5b87['lastIndex']=_0x17afd3['lastIndex'],_0x4e5b87;}if(_0x17afd3 instanceof Map){const _0x288fd6=new Map();_0x970c58['set'](_0x17afd3,_0x288fd6);for(const [_0x6bb8b3,_0x238b73]of _0x17afd3)_0x288fd6['set'](_0x6bb8b3,pt(_0x238b73,_0x6bb8b3,_0x3bc307,_0x970c58,_0x32bf66));return _0x288fd6;}if(_0x17afd3 instanceof Set){const _0x28ad30=new Set();_0x970c58['set'](_0x17afd3,_0x28ad30);for(const _0x1eed1b of _0x17afd3)_0x28ad30['add'](pt(_0x1eed1b,void 0x0,_0x3bc307,_0x970c58,_0x32bf66));return _0x28ad30;}if('undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x17afd3))return _0x17afd3['subarray']();if(mt(_0x17afd3)){const _0x3c9c45=new(Object['getPrototypeOf'](_0x17afd3))['constructor'](_0x17afd3['length']);_0x970c58['set'](_0x17afd3,_0x3c9c45);for(let _0x1a1581=0x0;_0x1a1581<_0x17afd3['length'];_0x1a1581++)_0x3c9c45[_0x1a1581]=pt(_0x17afd3[_0x1a1581],_0x1a1581,_0x3bc307,_0x970c58,_0x32bf66);return _0x3c9c45;}if(_0x17afd3 instanceof ArrayBuffer||'undefined'!=typeof SharedArrayBuffer&&_0x17afd3 instanceof SharedArrayBuffer)return _0x17afd3['slice'](0x0);if(_0x17afd3 instanceof DataView){const _0x1c6588=new DataView(_0x17afd3['buffer']['slice'](0x0),_0x17afd3['byteOffset'],_0x17afd3['byteLength']);return _0x970c58['set'](_0x17afd3,_0x1c6588),gt(_0x1c6588,_0x17afd3,_0x3bc307,_0x970c58,_0x32bf66),_0x1c6588;}if('undefined'!=typeof File&&_0x17afd3 instanceof File){const _0x2ab4aa=new File([_0x17afd3],_0x17afd3['name'],{'type':_0x17afd3['type']});return _0x970c58['set'](_0x17afd3,_0x2ab4aa),gt(_0x2ab4aa,_0x17afd3,_0x3bc307,_0x970c58,_0x32bf66),_0x2ab4aa;}if('undefined'!=typeof Blob&&_0x17afd3 instanceof Blob){const _0x255ada=new Blob([_0x17afd3],{'type':_0x17afd3['type']});return _0x970c58['set'](_0x17afd3,_0x255ada),gt(_0x255ada,_0x17afd3,_0x3bc307,_0x970c58,_0x32bf66),_0x255ada;}if(_0x17afd3 instanceof Error){const _0x11d7de=structuredClone(_0x17afd3);return _0x970c58['set'](_0x17afd3,_0x11d7de),_0x11d7de['message']=_0x17afd3['message'],_0x11d7de['name']=_0x17afd3['name'],_0x11d7de['stack']=_0x17afd3['stack'],_0x11d7de['cause']=_0x17afd3['cause'],_0x11d7de['constructor']=_0x17afd3['constructor'],gt(_0x11d7de,_0x17afd3,_0x3bc307,_0x970c58,_0x32bf66),_0x11d7de;}if(_0x17afd3 instanceof Boolean){const _0x2a24db=new Boolean(_0x17afd3['valueOf']());return _0x970c58['set'](_0x17afd3,_0x2a24db),gt(_0x2a24db,_0x17afd3,_0x3bc307,_0x970c58,_0x32bf66),_0x2a24db;}if(_0x17afd3 instanceof Number){const _0x32ebce=new Number(_0x17afd3['valueOf']());return _0x970c58['set'](_0x17afd3,_0x32ebce),gt(_0x32ebce,_0x17afd3,_0x3bc307,_0x970c58,_0x32bf66),_0x32ebce;}if(_0x17afd3 instanceof String){const _0x2c4c78=new String(_0x17afd3['valueOf']());return _0x970c58['set'](_0x17afd3,_0x2c4c78),gt(_0x2c4c78,_0x17afd3,_0x3bc307,_0x970c58,_0x32bf66),_0x2c4c78;}if('object'==typeof _0x17afd3&&function(_0x571f14){switch(_0x343544(_0x571f14)){case _0x333d1f:case _0x4937a4:case _0x303e37:case _0x483992:case _0x3e16f5:case _0x1a2dae:case at:case ct:case nt:case rt:case ot:case _0x5db167:case _0x4d07d2:case _0xa81f50:case _0x417c12:case _0xc87370:case _0x550b19:case _0x5517c0:case tt:case et:case it:case st:return!0x0;default:return!0x1;}}(_0x17afd3)){const _0x100e04=Object['create'](Object['getPrototypeOf'](_0x17afd3));return _0x970c58['set'](_0x17afd3,_0x100e04),gt(_0x100e04,_0x17afd3,_0x3bc307,_0x970c58,_0x32bf66),_0x100e04;}return _0x17afd3;}function gt(_0x1434b3,_0xfa6557,_0x2837f3=_0x1434b3,_0x3092c6,_0x9bad8a){const _0x486050=[...Object['keys'](_0xfa6557),..._0x5bfda8(_0xfa6557)];for(let _0x4cae38=0x0;_0x4cae38<_0x486050['length'];_0x4cae38++){const _0x29c885=_0x486050[_0x4cae38],_0x3177ad=Object['getOwnPropertyDescriptor'](_0x1434b3,_0x29c885);(null==_0x3177ad||_0x3177ad['writable'])&&(_0x1434b3[_0x29c885]=pt(_0xfa6557[_0x29c885],_0x29c885,_0x2837f3,_0x3092c6,_0x9bad8a));}}function Ot(_0x483723,_0x361351){return function(_0x48accd,_0x2af09a){return pt(_0x48accd,void 0x0,_0x48accd,new Map(),_0x2af09a);}(_0x483723,(_0x55e46a,_0x3ed090,_0x3521c4,_0x36e0d4)=>{const _0x5894ca=_0x361351?.(_0x55e46a,_0x3ed090,_0x3521c4,_0x36e0d4);if(void 0x0!==_0x5894ca)return _0x5894ca;if('object'==typeof _0x483723){if('[object\x20Object]'===_0x343544(_0x483723)&&'function'!=typeof _0x483723['constructor']){const _0x530bc2={};return _0x36e0d4['set'](_0x483723,_0x530bc2),gt(_0x530bc2,_0x483723,_0x3521c4,_0x36e0d4),_0x530bc2;}switch(Object['prototype']['toString']['call'](_0x483723)){case _0x4d07d2:case _0x550b19:case _0x3e16f5:{const _0x1d5739=new _0x483723['constructor'](_0x483723?.['valueOf']());return gt(_0x1d5739,_0x483723),_0x1d5739;}case _0x333d1f:{const _0x2c0431={};return gt(_0x2c0431,_0x483723),_0x2c0431['length']=_0x483723['length'],_0x2c0431[Symbol['iterator']]=_0x483723[Symbol['iterator']],_0x2c0431;}default:return;}}});}function wt(_0x4d859a){return Ot(_0x4d859a);}function bt(_0x132e76){return null!=_0x132e76&&'function'!=typeof _0x132e76&&function(_0x43a9f9){return Number['isSafeInteger'](_0x43a9f9)&&_0x43a9f9>=0x0;}(_0x132e76['length']);}function yt(_0x1d43a3){return'symbol'==typeof _0x1d43a3||_0x1d43a3 instanceof Symbol;}function vt(_0x4a3b7c){return _0x4a3b7c?(_0x4a3b7c=function(_0x556629){return yt(_0x556629)?NaN:Number(_0x556629);}(_0x4a3b7c))===0x1/0x0||_0x4a3b7c===-0x1/0x0?(_0x4a3b7c<0x0?-0x1:0x1)*Number['MAX_VALUE']:_0x4a3b7c==_0x4a3b7c?_0x4a3b7c:0x0:0x0===_0x4a3b7c?_0x4a3b7c:0x0;}function _t(_0x4f8d10,_0x3fa90c){if(_0x4f8d10=function(_0x469652){const _0x526498=vt(_0x469652),_0x1918d2=_0x526498%0x1;return _0x1918d2?_0x526498-_0x1918d2:_0x526498;}(_0x4f8d10),_0x4f8d10<0x1||!Number['isSafeInteger'](_0x4f8d10))return[];const _0x2e1db2=new Array(_0x4f8d10);for(let _0x419664=0x0;_0x419664<_0x4f8d10;_0x419664++)_0x2e1db2[_0x419664]='function'==typeof _0x3fa90c?_0x3fa90c(_0x419664):_0x419664;return _0x2e1db2;}function Et(_0x21c033){if(null==_0x21c033)return[];switch(typeof _0x21c033){case'object':case'function':return bt(_0x21c033)?function(_0x38f8c1){const _0x45a259=_t(_0x38f8c1['length'],_0x536359=>''+_0x536359),_0x495bdf=new Set(_0x45a259);(function(_0x48f895){return'undefined'!=typeof Buffer&&Buffer['isBuffer'](_0x48f895);}(_0x38f8c1)&&(_0x495bdf['add']('offset'),_0x495bdf['add']('parent')),function(_0x563896){return mt(_0x563896);}(_0x38f8c1)&&(_0x495bdf['add']('buffer'),_0x495bdf['add']('byteLength'),_0x495bdf['add']('byteOffset')));const _0x16ae18=Tt(_0x38f8c1)['filter'](_0x52be1a=>!_0x495bdf['has'](_0x52be1a));return Array['isArray'](_0x38f8c1)?[..._0x45a259,..._0x16ae18]:[..._0x45a259['filter'](_0x505582=>Object['hasOwn'](_0x38f8c1,_0x505582)),..._0x16ae18];}(_0x21c033):function(_0x31f188){const _0x10abfb=_0x31f188?.['constructor'];return _0x31f188===('function'==typeof _0x10abfb?_0x10abfb['prototype']:Object['prototype']);}(_0x21c033)?function(_0x22dd85){return Tt(_0x22dd85)['filter'](_0x2fb865=>'constructor'!==_0x2fb865);}(_0x21c033):Tt(_0x21c033);default:return Tt(Object(_0x21c033));}}function Tt(_0x546584){const _0x570f72=[];for(const _0x5fa675 in _0x546584)_0x570f72['push'](_0x5fa675);return _0x570f72;}function At(_0x3d01da){return'__proto__'===_0x3d01da;}function St(_0x3362bf){switch(typeof _0x3362bf){case'number':case'symbol':return!0x1;case'string':return _0x3362bf['includes']('.')||_0x3362bf['includes']('[')||_0x3362bf['includes'](']');}}function It(_0x51d1ac){return'string'==typeof _0x51d1ac||'symbol'==typeof _0x51d1ac?_0x51d1ac:Object['is'](_0x51d1ac?.['valueOf']?.(),-0x0)?'-0':String(_0x51d1ac);}function kt(_0x5eb493){if(null==_0x5eb493)return'';if('string'==typeof _0x5eb493)return _0x5eb493;if(Array['isArray'](_0x5eb493))return _0x5eb493['map'](kt)['join'](',');const _0xaa6661=String(_0x5eb493);return'0'===_0xaa6661&&Object['is'](Number(_0x5eb493),-0x0)?'-0':_0xaa6661;}function xt(_0x595f15){if(Array['isArray'](_0x595f15))return _0x595f15['map'](It);if('symbol'==typeof _0x595f15)return[_0x595f15];const _0x5c0960=[],_0x53511c=(_0x595f15=kt(_0x595f15))['length'];if(0x0===_0x53511c)return _0x5c0960;let _0x59c8f9=0x0,_0x1630d9='',_0x464920='',_0x3b78c4=!0x1;for(0x2e===_0x595f15['charCodeAt'](0x0)&&(_0x5c0960['push'](''),_0x59c8f9++);_0x59c8f9<_0x53511c;){const _0x44c2ad=_0x595f15[_0x59c8f9];_0x464920?'\x5c'===_0x44c2ad&&_0x59c8f9+0x1<_0x53511c?(_0x59c8f9++,_0x1630d9+=_0x595f15[_0x59c8f9]):_0x44c2ad===_0x464920?_0x464920='':_0x1630d9+=_0x44c2ad:_0x3b78c4?'\x22'===_0x44c2ad||'\x27'===_0x44c2ad?_0x464920=_0x44c2ad:']'===_0x44c2ad?(_0x3b78c4=!0x1,_0x5c0960['push'](_0x1630d9),_0x1630d9=''):_0x1630d9+=_0x44c2ad:'['===_0x44c2ad?(_0x3b78c4=!0x0,_0x1630d9&&(_0x5c0960['push'](_0x1630d9),_0x1630d9='')):'.'===_0x44c2ad?_0x1630d9&&(_0x5c0960['push'](_0x1630d9),_0x1630d9=''):_0x1630d9+=_0x44c2ad,_0x59c8f9++;}return _0x1630d9&&_0x5c0960['push'](_0x1630d9),_0x5c0960;}function Ct(_0x5903bf,_0x3d3fdb,_0x5f2192){if(null==_0x5903bf)return _0x5f2192;switch(typeof _0x3d3fdb){case'string':{if(At(_0x3d3fdb))return _0x5f2192;const _0x13cfde=_0x5903bf[_0x3d3fdb];return void 0x0===_0x13cfde?St(_0x3d3fdb)?Ct(_0x5903bf,xt(_0x3d3fdb),_0x5f2192):_0x5f2192:_0x13cfde;}case'number':case'symbol':{'number'==typeof _0x3d3fdb&&(_0x3d3fdb=It(_0x3d3fdb));const _0x29998b=_0x5903bf[_0x3d3fdb];return void 0x0===_0x29998b?_0x5f2192:_0x29998b;}default:{if(Array['isArray'](_0x3d3fdb))return function(_0x198065,_0x1b4ccd,_0x20d610){if(0x0===_0x1b4ccd['length'])return _0x20d610;let _0x650531=_0x198065;for(let _0x1fcaf8=0x0;_0x1fcaf8<_0x1b4ccd['length'];_0x1fcaf8++){if(null==_0x650531)return _0x20d610;if(At(_0x1b4ccd[_0x1fcaf8]))return _0x20d610;_0x650531=_0x650531[_0x1b4ccd[_0x1fcaf8]];}return void 0x0===_0x650531?_0x20d610:_0x650531;}(_0x5903bf,_0x3d3fdb,_0x5f2192);if(At(_0x3d3fdb=Object['is'](_0x3d3fdb?.['valueOf'](),-0x0)?'-0':String(_0x3d3fdb)))return _0x5f2192;const _0x214a72=_0x5903bf[_0x3d3fdb];return void 0x0===_0x214a72?_0x5f2192:_0x214a72;}}}function Rt(_0x538b0a,_0x49341b){if(null==_0x538b0a)return!0x0;switch(typeof _0x49341b){case'symbol':case'number':case'object':if(Array['isArray'](_0x49341b))return Pt(_0x538b0a,_0x49341b);if('number'==typeof _0x49341b?_0x49341b=It(_0x49341b):'object'==typeof _0x49341b&&(_0x49341b=Object['is'](_0x49341b?.['valueOf'](),-0x0)?'-0':String(_0x49341b)),At(_0x49341b))return!0x1;if(void 0x0===_0x538b0a?.[_0x49341b])return!0x0;try{return delete _0x538b0a[_0x49341b],!0x0;}catch{return!0x1;}case'string':if(void 0x0===_0x538b0a?.[_0x49341b]&&St(_0x49341b))return Pt(_0x538b0a,xt(_0x49341b));if(At(_0x49341b))return!0x1;try{return delete _0x538b0a[_0x49341b],!0x0;}catch{return!0x1;}}}function Pt(_0x184b6b,_0x4efa4a){const _0x8494b8=0x1===_0x4efa4a['length']?_0x184b6b:Ct(_0x184b6b,_0x4efa4a['slice'](0x0,-0x1)),_0x1c47a3=_0x4efa4a[_0x4efa4a['length']-0x1];if(void 0x0===_0x8494b8?.[_0x1c47a3])return!0x0;if(At(_0x1c47a3))return!0x1;try{return delete _0x8494b8[_0x1c47a3],!0x0;}catch{return!0x1;}}function Mt(_0x37258a){const _0x173659=[];for(;_0x37258a;)_0x173659['push'](..._0x5bfda8(_0x37258a)),_0x37258a=Object['getPrototypeOf'](_0x37258a);return _0x173659;}function Nt(_0x40fbc7){if('object'!=typeof _0x40fbc7)return!0x1;if(null==_0x40fbc7)return!0x1;if(null===Object['getPrototypeOf'](_0x40fbc7))return!0x0;if('[object\x20Object]'!==Object['prototype']['toString']['call'](_0x40fbc7)){const _0xab840f=_0x40fbc7[Symbol['toStringTag']];return null!=_0xab840f&&(!!Object['getOwnPropertyDescriptor'](_0x40fbc7,Symbol['toStringTag'])?.['writable']&&_0x40fbc7['toString']()==='[object\x20'+_0xab840f+']');}let _0x57a7d0=_0x40fbc7;for(;null!==Object['getPrototypeOf'](_0x57a7d0);)_0x57a7d0=Object['getPrototypeOf'](_0x57a7d0);return Object['getPrototypeOf'](_0x40fbc7)===_0x57a7d0;}function Lt(_0x22e788,..._0x5e514f){if(null==_0x22e788)return{};_0x5e514f=function(_0x426a15,_0x50770c=0x1){const _0x34bbf7=[],_0x3e1a01=Math['floor'](_0x50770c);if(!bt(_0x426a15))return _0x34bbf7;const _0x4eddf8=(_0x2588b2,_0x3df899)=>{for(let _0x1a9dd7=0x0;_0x1a9dd7<_0x2588b2['length'];_0x1a9dd7++){const _0x13af2b=_0x2588b2[_0x1a9dd7];_0x3df899<_0x3e1a01&&(Array['isArray'](_0x13af2b)||Boolean(_0x13af2b?.[Symbol['isConcatSpreadable']])||null!==_0x13af2b&&'object'==typeof _0x13af2b&&'[object\x20Arguments]'===Object['prototype']['toString']['call'](_0x13af2b))?Array['isArray'](_0x13af2b)?_0x4eddf8(_0x13af2b,_0x3df899+0x1):_0x4eddf8(Array['from'](_0x13af2b),_0x3df899+0x1):_0x34bbf7['push'](_0x13af2b);}};return _0x4eddf8(Array['from'](_0x426a15),0x0),_0x34bbf7;}(_0x5e514f);const _0x30e488=function(_0x23ee66,_0x3c3473){return _0x3c3473['some'](_0xbc9a96=>Array['isArray'](_0xbc9a96)||St(_0xbc9a96))?function(_0x1d992e){const _0x418e47={},_0x1b7647=[...Et(_0x1d992e),...Mt(_0x1d992e)];for(let _0x40f8c6=0x0;_0x40f8c6<_0x1b7647['length'];_0x40f8c6++){const _0x4a505c=_0x1b7647[_0x40f8c6];_0x418e47[_0x4a505c]=Ot(_0x1d992e[_0x4a505c],_0x237c25=>{if(!Nt(_0x237c25))return _0x237c25;});}return _0x418e47;}(_0x23ee66):function(_0x39ebb8){const _0x5b4634={},_0x3a7d61=[...Et(_0x39ebb8),...Mt(_0x39ebb8)];for(let _0x1a50ef=0x0;_0x1a50ef<_0x3a7d61['length'];_0x1a50ef++){const _0x19d356=_0x3a7d61[_0x1a50ef];_0x5b4634[_0x19d356]=_0x39ebb8[_0x19d356];}return _0x5b4634;}(_0x23ee66);}(_0x22e788,_0x5e514f);for(let _0x444ff7=0x0;_0x444ff7<_0x5e514f['length'];_0x444ff7++){let _0x1c22a7=_0x5e514f[_0x444ff7];switch(typeof _0x1c22a7){case'object':Array['isArray'](_0x1c22a7)||(_0x1c22a7=Array['from'](_0x1c22a7));for(let _0x9a66d7=0x0;_0x9a66d7<_0x1c22a7['length'];_0x9a66d7++){Rt(_0x30e488,_0x1c22a7[_0x9a66d7]);}break;case'string':case'symbol':case'number':Rt(_0x30e488,_0x1c22a7);}}return _0x30e488;}const $t=(_0x1cd122,_0xbe4de,_0xfce288)=>{const _0xdc3913=_0x1cd122[_0xbe4de];Object['hasOwn'](_0x1cd122,_0xbe4de)&&lt(_0xdc3913,_0xfce288)&&(void 0x0!==_0xfce288||_0xbe4de in _0x1cd122)||(_0x1cd122[_0xbe4de]=_0xfce288);},Dt=/^(?:0|[1-9]\d*)$/;function Qt(_0x1a4283,_0x432650=Number['MAX_SAFE_INTEGER']){switch(typeof _0x1a4283){case'number':return Number['isInteger'](_0x1a4283)&&_0x1a4283>=0x0&&_0x1a4283<_0x432650;case'symbol':return!0x1;case'string':return Dt['test'](_0x1a4283);}}const jt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ut=/^\w*$/;function Vt(_0x6f067){return null!==_0x6f067&&('object'==typeof _0x6f067||'function'==typeof _0x6f067);}function Bt(_0x4ede75,_0x3219d4,_0x2e4140,_0x549791){if(null==_0x4ede75&&!Vt(_0x4ede75))return _0x4ede75;let _0xaba9c7;_0xaba9c7=function(_0x4f3688,_0x159482){return!Array['isArray'](_0x4f3688)&&(!('number'!=typeof _0x4f3688&&'boolean'!=typeof _0x4f3688&&null!=_0x4f3688&&!yt(_0x4f3688))||'string'==typeof _0x4f3688&&(Ut['test'](_0x4f3688)||!jt['test'](_0x4f3688))||null!=_0x159482&&Object['hasOwn'](_0x159482,_0x4f3688));}(_0x3219d4,_0x4ede75)?[_0x3219d4]:Array['isArray'](_0x3219d4)?_0x3219d4:xt(_0x3219d4);const _0x599612=_0x2e4140(Ct(_0x4ede75,_0xaba9c7));let _0x35928e=_0x4ede75;for(let _0x2d4483=0x0;_0x2d4483<_0xaba9c7['length']&&null!=_0x35928e;_0x2d4483++){const _0x19f403=It(_0xaba9c7[_0x2d4483]);if(At(_0x19f403))continue;let _0x47a613;if(_0x2d4483===_0xaba9c7['length']-0x1)_0x47a613=_0x599612;else{const _0x1b6fae=_0x35928e[_0x19f403],_0x29770c=_0x549791?.(_0x1b6fae,_0x19f403,_0x4ede75);_0x47a613=void 0x0!==_0x29770c?_0x29770c:Vt(_0x1b6fae)?_0x1b6fae:Qt(_0xaba9c7[_0x2d4483+0x1])?[]:{};}$t(_0x35928e,_0x19f403,_0x47a613),_0x35928e=_0x35928e[_0x19f403];}return _0x4ede75;}function Ft(_0x5f2133,_0xf67829,_0x443b54){return Bt(_0x5f2133,_0xf67829,()=>_0x443b54,()=>{});}const Ht={'&':'&amp;','<':'&lt;','>':'&gt;','\x22':'&quot;','\x27':'&#39;'};function Zt(_0x1d17cc){return kt(_0x1d17cc)['replace'](/[&<>"']/g,_0x524e1e=>Ht[_0x524e1e]);}function Gt(_0x4cca9c){return function(_0x4f9ad7){return _0x4f9ad7['replace'](/[\\^$.*+?()[\]{}|]/g,'\x5c$&');}(kt(_0x4cca9c));}const Xt={'&amp;':'&','&lt;':'<','&gt;':'>','&quot;':'\x22','&#39;':'\x27'};function qt(_0x66a729){return function(_0x19389e){return _0x19389e['replace'](/&(?:amp|lt|gt|quot|#(0+)?39);/g,_0x26621e=>Xt[_0x26621e]||'\x27');}(kt(_0x66a729));}var Wt=class extends _0x14e616['ListItemView']{constructor(_0x589828){super();const _0x3cfd32=new _0x14e616['ButtonLabelView'](),_0x445ff9=new _0x14e616['ButtonView'](this['locale'],_0x3cfd32);this['children']['add'](_0x445ff9),_0x445ff9['set']({'label':_0x589828['prompt'],'withText':!0x0}),_0x445ff9['on']('execute',()=>{this['fire']('execute',{'value':qt(_0x589828['prompt'])});});}};const zt='CKEditor/AIFormView/PromptHistory';var Yt=class extends _0x14e616['Collection']{constructor(){super(),this['_loadFromSessionStorage'](),this['on']('add',(_0x239f91,_0x1cdc10)=>{const _0x5a2d1e=Kt(_0x1cdc10['prompt']);for(const _0x804e5d of this)if(_0x804e5d!=_0x1cdc10&&Kt(_0x804e5d['prompt'])===_0x5a2d1e){this['remove'](_0x804e5d);break;}this['length']>0x14&&this['remove'](this['last']),this['_saveToSessionStorage']();}),this['on']('remove',()=>{this['_saveToSessionStorage']();});}['_loadFromSessionStorage'](){const _0x130f46=sessionStorage['getItem'](zt)||'[]';this['addMany'](JSON['parse'](_0x130f46));}['_saveToSessionStorage'](){sessionStorage['setItem'](zt,JSON['stringify'](this['map'](_0x12e96f=>_0x12e96f)));}};function Kt(_0x545a29){return _0x545a29['toLowerCase']()['trim']();}var Jt=class extends _0x14e616['View']{['focusTracker'];['keystrokes'];['contentArea'];['toolbar'];['promptView'];['errorView'];['_focusables'];['focusCycler'];['_promptHistory'];constructor(_0x3e835f,_0x44e97d,_0x34fb46=''){super(_0x3e835f),this['set']('isEnabled',!0x0),this['set']('isProcessing',!0x1),this['set']('prompt',''),this['set']('value',''),this['set']('isError',!0x1),this['set']('mainAction',_0x408231['REPLACE']),this['_promptHistory']=new Yt(),this['errorView']=new _0x2366cc(_0x3e835f),this['contentArea']=new _0x292604(_0x3e835f,_0x34fb46),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 _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['_focusables']=this['createCollection']([this['contentArea'],this['contentArea']['copyButtonView'],this['toolbar'],this['promptView']]),this['focusCycler']=new _0x14e616['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 _0x528acb=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-form',_0x44e97d],'tabindex':'-1'},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-form-content']},'children':[{'tag':'div','attributes':{'class':[_0x528acb['if']('isError','ck-hidden',_0x1ead20=>!_0x1ead20)]},'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'](_0x284075=0x1){-0x1===_0x284075?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 _0x163c55=this['locale'],_0x3cf53a=new _0x3d2a90(_0x163c55,{'queryView':{'label':_0x73e5dc(_0x163c55,'Ask\x20AI\x20to\x20edit\x20or\x20generate'),'creator':_0x14e616['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x73e5dc(_0x163c55,'Empty\x20history'),'secondary':_0x73e5dc(_0x163c55,'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.')}}},'filteredView':this['_createHistoryView'](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x3cf53a['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x49a006,_0x2e1fcb)=>_0x49a006&&!_0x2e1fcb),this['listenTo'](_0x3cf53a,'submit',(_0x5de3af,_0x3e2b83)=>{this['prompt']=_0x3e2b83;const _0x14ecba=Zt(_0x3e2b83);this['fire']('submitPrompt',_0x14ecba),_0x3e2b83['trim']()&&this['_promptHistory']['add']({'prompt':_0x14ecba},0x0);},{'priority':'high'}),_0x3cf53a;}['_createHistoryView'](){const _0x20728f=new _0x52d1a3(this['locale']);return _0x20728f['historyGroupView']['items']['bindTo'](this['_promptHistory'])['as'](Wt),_0x20728f['on']('clearHistory',()=>{this['_promptHistory']['clear'](),this['promptView']['search'](''),this['promptView']['focus']();}),_0x20728f;}['_createToolbar'](){const _0x36ff67=new _0x4673ec(this['locale']);return _0x36ff67['replaceButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x88ad90,_0x12a195,_0x39cd6a)=>_0x88ad90&&!_0x12a195&&!!_0x39cd6a),_0x36ff67['replaceButton']['delegate']('execute')['to'](this,'replaceContent'),_0x36ff67['insertButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',this,'value',(_0x5e14b0,_0x39fb5b,_0xb8d4df)=>_0x5e14b0&&!_0x39fb5b&&!!_0xb8d4df),_0x36ff67['insertButton']['delegate']('execute')['to'](this,'insertContentBelow'),_0x36ff67['tryAgainButton']['bind']('isEnabled')['to'](this,'isEnabled',this,'isProcessing',(_0x2dc118,_0x3fc807)=>_0x2dc118&&!_0x3fc807),_0x36ff67['tryAgainButton']['delegate']('execute')['to'](this,'tryAgainEvent'),_0x36ff67['stopButton']['bind']('isEnabled')['to'](this,'isProcessing'),_0x36ff67['stopButton']['delegate']('execute')['to'](this,'stopProcessing'),_0x36ff67;}['startProcessing'](){this['value']='',this['isError']=!0x1,this['isProcessing']=!0x0,this['contentArea']['isVisible']=!0x0,this['toolbar']['isVisible']=!0x0,this['contentArea']['focus']();}['finishProcessing'](){const _0x421690=this['locale'];this['isProcessing']=!0x1,this['prompt']='',this['promptView']['reset'](),this['value']&&(this['promptView']['queryView']['label']=_0x73e5dc(_0x421690,'Ask\x20AI\x20to\x20improve\x20generated\x20text'));}['handleError'](_0x38df4a){const _0x23ec72=this['locale'];this['finishProcessing'](),this['isError']=!0x0,this['errorView']['text']=_0x38df4a||_0x73e5dc(_0x23ec72,'AI_ERROR_FAILED'),this['value']||(this['contentArea']['isVisible']=!0x1);}};const te=globalThis['DataTransfer'];var _0xf88035=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_dialog'];['_formView'];['_aiAdapter'];['_aiAssistantController'];['_uiCssClasses']='';static get['pluginName'](){return'AIAssistantUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x14e616['ClipboardMarkersUtils'],_0x2600f4,_0xdbf5cc,_0x14e616['Dialog']];}constructor(_0x56465b){super(_0x56465b),_0x56465b['config']['define']('ai.assistant.disabledElements',['media','rawHtml','tableOfContents']),_0x56465b['config']['define']('ai.assistant.contentAreaCssClass',''),_0x56465b['config']['define']('ai.assistant.useTheme',!0x0),this['_uiCssClasses']='ck-ai-assistant-ui'+(_0x56465b['config']['get']('ai.assistant.useTheme')?'\x20ck-ai-assistant-ui_theme':'');}['init'](){const {editor:_0x512b76}=this;this['_aiAdapter']=_0x512b76['plugins']['get'](_0xdbf5cc),this['_dialog']=_0x512b76['plugins']['get'](_0x14e616['Dialog']),this['_formView']=null,this['_commandDefinitions']=this['_getResolvedCommandsDefinitions']();const _0x125e8f=new _0x4d972f(_0x512b76,Array['from'](this['_commandDefinitions']['values']()));_0x512b76['commands']['add']('showAIAssistant',_0x125e8f),_0x512b76['ui']['componentFactory']['add']('aiCommands',_0x141bff=>{const _0x3ff2e4=(0x0,_0x14e616['createDropdown'])(_0x141bff);return _0x3ff2e4['set']({'class':'ck-ai-commands-dropdown\x20'+this['_uiCssClasses']}),_0x3ff2e4['buttonView']['set']({'label':_0x73e5dc(_0x141bff,'AI\x20Commands'),'icon':_0x14e616['IconMagicWand'],'tooltip':!0x0}),_0x3ff2e4['on']('execute',_0xc506d9=>this['_onExecute'](_0xc506d9['source']['id'])),(0x0,_0x14e616['addMenuToDropdown'])(_0x3ff2e4,_0x512b76['ui']['view']['body'],function(_0x24de0d){const _0x7f040e=_0xa20ee4(_0x24de0d,_0x355686(_0x24de0d['config']['get']('ai.assistant.commands'),_0x24de0d['locale']))['filter'](_0x1d48ec=>_0x1d48ec['commands']['length']);return 0x1===_0x7f040e['length']?_0xa20ee4(_0x24de0d,_0x7f040e[0x0]['commands'])['map'](_0x89c626=>({'id':_0x89c626['id'],'label':_0x89c626['label']})):_0x7f040e['map'](_0x2d20de=>{const {groupId:_0xaaa2cd,groupLabel:_0x45ddc0,commands:_0x50d893}=_0x2d20de,_0x54cb26=_0xa20ee4(_0x24de0d,_0x50d893)['map'](_0xd6ad79=>({'id':_0xd6ad79['id'],'label':_0xd6ad79['label']}));return{'id':_0xaaa2cd,'menu':_0x45ddc0||_0xaaa2cd,'children':_0x54cb26};});}(_0x512b76),{'ariaLabel':_0x73e5dc(_0x141bff,'AI\x20Commands')}),_0x3ff2e4['menuView']['menuPanelClass']='ck-ai-commands-dropdown\x20'+this['_uiCssClasses'],_0x125e8f['on']('change:enabledCommandsIds',_0x41883c),_0x3ff2e4['menuView']['once']('render',_0x41883c),_0x3ff2e4;function _0x41883c(){_0x3ff2e4['isEnabled']=_0x125e8f['enabledCommandsIds']['length']>0x0;for(const _0x5ca2c5 of _0x3ff2e4['menuView']['buttons'])_0x5ca2c5['isEnabled']=_0x125e8f['enabledCommandsIds']['includes'](_0x5ca2c5['id']);}}),_0x512b76['ui']['componentFactory']['add']('menuBar:aiCommands',_0x5de606=>{const _0x3bef66=new _0x14e616['MenuBarMenuView'](_0x5de606);_0x3bef66['buttonView']['set']({'label':_0x73e5dc(_0x5de606,'AI\x20Commands'),'icon':_0x14e616['IconMagicWand']}),_0x3bef66['bind']('isEnabled')['to'](_0x125e8f,'enabledCommandsIds',_0x3d0c2b=>_0x3d0c2b['length']>0x0);const _0x5c8fe4=_0x355686(_0x512b76['config']['get']('ai.assistant.commands'),_0x5de606);return this['_populateMenuBarMenu'](_0x125e8f,_0x3bef66,_0x5c8fe4,_0x424a4b=>this['_onExecute'](_0x424a4b)),_0x3bef66;}),_0x512b76['ui']['componentFactory']['add']('aiAssistant',()=>{const _0x9fca76=this['_createAIAssistantUIButton'](_0x14e616['ButtonView']);return _0x9fca76['set']({'tooltip':!0x0,'class':'ck-ai-assistant-button\x20'+this['_uiCssClasses']}),_0x9fca76;}),_0x512b76['ui']['componentFactory']['add']('menuBar:aiAssistant',()=>{const _0x1899f8=this['_createAIAssistantUIButton'](_0x14e616['MenuBarMenuListItemButtonView']);return _0x1899f8['set']({'role':'menuitemcheckbox'}),_0x1899f8;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x34b178=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5e592e;for(const _0x2bafd9 in _0x34b178){const _0x247c4b=_0x2bafd9,_0x198f41=_0x34b178[_0x247c4b];if('aiLicenseKeyValid'==_0x198f41||'aiLicenseKeyInvalid'==_0x198f41||'aiLicenseKeyExpired'==_0x198f41||'aiLicenseKeyDomainLimit'==_0x198f41||'aiLicenseKeyNotAllowed'==_0x198f41||'aiLicenseKeyEvaluationLimit'==_0x198f41||'aiLicenseKeyUsageLimit'==_0x198f41){delete _0x34b178[_0x247c4b],_0x5e592e=_0x198f41,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'aiLicenseKeyInvalid'==_0x5e592e&&_0x34b178['_showLicenseError']('invalid'),'aiLicenseKeyExpired'==_0x5e592e&&_0x34b178['_showLicenseError']('expired'),'aiLicenseKeyDomainLimit'==_0x5e592e&&_0x34b178['_showLicenseError']('domainLimit'),'aiLicenseKeyNotAllowed'==_0x5e592e&&_0x34b178['_showLicenseError']('featureNotAllowed','AIAssistant'),'aiLicenseKeyEvaluationLimit'==_0x5e592e&&_0x34b178['_showLicenseError']('evaluationLimit'),'aiLicenseKeyUsageLimit'==_0x5e592e&&_0x34b178['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['showUI'](_0x4107bf='',_0x5c7566='',_0x4cda44='custom'){const _0x958c84=this['editor'],_0x454e8c=_0x958c84['editing']['view'],_0x4b816f=_0x958c84['plugins']['get'](_0x2600f4),_0x167e8a=_0x958c84['plugins']['get'](_0x14e616['ClipboardMarkersUtils']);_0x4b816f['showFakeVisualSelection']();const _0x99f873=new te(),_0x446ba3=new ClipboardEvent('copy',{'clipboardData':_0x99f873}),_0x1d3264=new _0x14e616['ViewDataTransfer'](_0x99f873),_0x3b10e6=new _0x14e616['ViewDocumentDomEventData'](_0x454e8c,_0x446ba3,{'dataTransfer':_0x1d3264});_0x167e8a['_forceMarkersCopy']('comment',()=>{_0x454e8c['document']['fire']('copy',_0x3b10e6);}),this['_formView']||(this['_initView'](),this['_aiAssistantController']=new _0x442660(_0x958c84,this['_aiAdapter']['textAdapter'],this['_formView']));let _0x2b5a1c=_0x1d3264['getData']('text/html');const _0x1b95e7=_0x958c84['model']['document']['selection'],_0x32373d=Array['from'](_0x1b95e7['getRanges']());0x1===_0x32373d['length']&&_0x32373d[0x0]['isFlat']&&!_0x1b95e7['getSelectedElement']()&&''!==_0x2b5a1c['replace'](/&nbsp;/g,'')['trim']()&&(_0x2b5a1c='<p>'+_0x2b5a1c+'</p>'),this['_aiAssistantController']['updateView']({'actionId':_0x4cda44,'query':_0x4107bf,'htmlContent':_0x2b5a1c,'label':_0x5c7566,'mainActionLabel':_0x408231[_0x958c84['model']['document']['selection']['isCollapsed']?'INSERT':'REPLACE']}),'aiAssistant'!==this['_dialog']['id']?this['_dialog']['show']({'id':'aiAssistant','icon':_0x14e616['IconRobotPencil'],'title':_0x73e5dc(this['editor']['locale'],'AI\x20Assistant'),'content':this['_formView'],'position':_0x14e616['DialogViewPosition']['EDITOR_TOP_SIDE'],'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_aiAssistantController']['reset'](),_0x4b816f['hideFakeVisualSelection']();}}):this['_dialog']['view']['wasMoved']||this['_dialog']['view']['updatePosition']();}['hideUI'](){this['_dialog']['hide']();}['_getResolvedCommandsDefinitions'](){const _0x27e2a0=new Map(),_0x5f24c0=_0x355686(this['editor']['config']['get']('ai.assistant.commands'),this['editor']['locale']);for(const _0x55a0ab of _0x5f24c0)for(const _0x50fad8 of _0x55a0ab['commands'])_0x27e2a0['set'](_0x50fad8['id'],{..._0x50fad8,'groupId':_0x55a0ab['groupId'],'groupLabel':_0x55a0ab['groupLabel']||_0x55a0ab['groupId']});return _0x27e2a0;}['_createAIAssistantUIButton'](_0x284dc2){const _0x33622d=this['editor'],_0x4f06e0=_0x33622d['commands']['get']('showAIAssistant'),_0x18f5d0=new _0x284dc2(_0x33622d['locale']);return _0x18f5d0['set']({'label':_0x73e5dc(_0x33622d['locale'],'AI\x20Assistant'),'icon':_0x14e616['IconRobotPencil'],'isToggleable':!0x0}),_0x18f5d0['bind']('isEnabled')['to'](_0x4f06e0),_0x18f5d0['bind']('isOn')['to'](this['_dialog'],'id',_0x61e4a0=>'aiAssistant'===_0x61e4a0),this['listenTo'](_0x18f5d0,'execute',()=>{_0x18f5d0['isOn']?this['hideUI']():_0x4f06e0['execute']();}),_0x18f5d0;}['_initView'](){const _0x56bf66=this['editor']['plugins']['get'](_0x2600f4);this['_formView']=new Jt(this['editor']['locale'],this['_uiCssClasses'],this['editor']['config']['get']('ai.assistant.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',()=>{_0x56bf66['insertContent'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['listenTo'](this['_formView'],'insertContentBelow',()=>{_0x56bf66['insertContentBelow'](this['_aiAssistantController']['currentContext']),this['hideUI']();}),this['_initAriaAiStatusChangeAnnouncements']();}['_initAriaAiStatusChangeAnnouncements'](){const {locale:_0x5f503b,ui:{ariaLiveAnnouncer:_0x880e91}}=this['editor'];this['_formView']['contentArea']['on']('change:isProcessing',(_0x23660d,_0x321a41,_0x1abb6b)=>{const _0x339552=this['_aiAssistantController']['currentContext'];_0x1abb6b?_0x880e91['announce'](_0x73e5dc(_0x5f503b,'AI\x20is\x20writing')):_0x339552&&_0x880e91['announce'](_0x73e5dc(_0x5f503b,'Generated\x20content:\x20%0',_0x339552),{'politeness':'polite','isUnsafeHTML':!0x0});}),this['_formView']['on']('change:isError',(_0x4e7973,_0x1a5c90,_0x29ffbb)=>{if(_0x29ffbb){const _0x1bd2e7=this['_formView']['errorView']['text'];_0x880e91['announce'](_0x73e5dc(_0x5f503b,'Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1bd2e7));}});}['_onExecute'](_0x1f0020){const _0x4b3e7a=this['_commandDefinitions']['get'](_0x1f0020),_0x403873=this['editor'],_0x1f3f70=_0x403873['model']['document']['selection'],_0x206679=_0x403873['commands']['get']('showAIAssistant'),_0x31e3ac=_0x403873['plugins']['get'](_0x2600f4),_0x1a3b11=''+('_ungrouppedCommands'!==_0x4b3e7a['groupId']?_0x4b3e7a['groupLabel']+':\x20':'')+_0x4b3e7a['label'];if(!0x1!==_0x4b3e7a['requiresContent']&&_0x1f3f70['isCollapsed']){const _0x132725=(0x0,_0x14e616['first'])(_0x1f3f70['getSelectedBlocks']())||_0x403873['model']['schema']['getLimitElement'](_0x1f3f70);_0x403873['model']['change'](_0x236d56=>{_0x236d56['setSelection'](_0x132725,'in');});}_0x31e3ac['showFakeVisualSelection'](),_0x206679['execute'](_0x4b3e7a['prompt'],_0x1a3b11,'command:'+_0x1f0020);}['_populateMenuBarMenu'](_0x42127b,_0x390b55,_0x3614ed,_0x2c6f56){const _0x5be145=this['editor'],_0x1ebf36=_0x5be145['locale'],_0x5062a2=new _0x14e616['MenuBarMenuListView'](_0x1ebf36),_0x5ec77d=_0xa20ee4(_0x5be145,_0x3614ed)['filter'](_0x3654e4=>_0x3654e4['commands']['length']);0x1===_0x5ec77d['length']?this['_getMenuBarGroupButtons']({'command':_0x42127b,'commands':_0x5ec77d[0x0]['commands'],'parentMenuView':_0x390b55,'onExecute':_0x2c6f56})['forEach'](_0x5f3eff=>_0x5062a2['items']['add'](_0x5f3eff)):_0x5ec77d['forEach'](({groupId:_0x2331e2,groupLabel:_0x2756dc,commands:_0x3798f3})=>{const _0x4c4df3=new _0x14e616['MenuBarMenuListItemView'](_0x1ebf36,_0x390b55),_0x3d9a52=new _0x14e616['MenuBarMenuView'](_0x1ebf36),_0x4e6899=new _0x14e616['MenuBarMenuListView'](_0x1ebf36),_0x29797e=this['_getMenuBarGroupButtons']({'command':_0x42127b,'commands':_0x3798f3,'parentMenuView':_0x3d9a52,'onExecute':_0x2c6f56});_0x3d9a52['buttonView']['set']({'label':_0x2756dc||_0x2331e2}),_0x3d9a52['delegate']('execute')['to'](_0x390b55),_0x4e6899['items']['addMany'](_0x29797e),_0x3d9a52['panelView']['children']['add'](_0x4e6899),_0x4c4df3['children']['add'](_0x3d9a52),_0x5062a2['items']['add'](_0x4c4df3);}),_0x390b55['panelView']['children']['add'](_0x5062a2);}['_getMenuBarGroupButtons']({command:_0x2be626,commands:_0x5bbbee,parentMenuView:_0x4a599e,onExecute:_0x1d3d4a}){const _0x295cd2=this['editor'],_0x4e6363=_0x295cd2['locale'];return _0xa20ee4(_0x295cd2,_0x5bbbee)['map'](_0x303d64=>{const _0x46620e=new _0x14e616['MenuBarMenuListItemView'](_0x4e6363,_0x4a599e),_0xe78120=new _0x14e616['MenuBarMenuListItemButtonView'](_0x4e6363);return _0xe78120['set']({'label':_0x303d64['label']}),_0xe78120['delegate']('execute')['to'](_0x4a599e),_0xe78120['on']('execute',()=>_0x1d3d4a(_0x303d64['id'])),_0xe78120['bind']('isEnabled')['to'](_0x2be626,'enabledCommandsIds',_0x5038ca=>_0x5038ca['includes'](_0x303d64['id'])),_0x46620e['children']['add'](_0xe78120),_0x46620e;});}};function _0x186bb4(_0x16eff2,_0x2f8155){return void 0x0!==_0x16eff2['order']&&void 0x0===_0x2f8155['order']?0x1:void 0x0===_0x16eff2['order']&&void 0x0!==_0x2f8155['order']?-0x1:void 0x0!==_0x16eff2['order']&&void 0x0!==_0x2f8155['order']?_0x16eff2['order']-_0x2f8155['order']:0x0;}function _0xa20ee4(_0x51bfbc,_0x45e32c){_0x45e32c['sort'](_0x186bb4);const _0x3e8216={},_0x306711=[];for(const _0x4970b of _0x45e32c)if(void 0x0!==_0x4970b['order']){if(_0x4970b['order']in _0x3e8216)throw new _0x14e616['CKEditorError']('ai-commands-config-order-collision',_0x51bfbc,{'conflictingDefinitions':[_0x4970b,_0x3e8216[_0x4970b['order']]]});_0x3e8216[_0x4970b['order']]=_0x4970b,_0x306711['splice'](_0x4970b['order'],0x0,_0x4970b);}else _0x306711['push'](_0x4970b);return _0x306711;}var _0x1a2695=class extends _0x14e616['Plugin']{static get['requires'](){return[_0xf88035,_0x2600f4];}static get['pluginName'](){return'AIAssistant';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8f513c){super(_0x8f513c);const _0x5f2484=_0x8f513c['config'],_0x561a16=_0x8f513c['locale'];_0x5f2484['define']('ai.assistant.preserveComments',!0x0),_0x5f2484['define']('ai.assistant.commands',_0x520f5c(_0x561a16)),_0x5f2484['define']('ai.assistant.extraCommandGroups',[]),_0x5f2484['define']('ai.assistant.removeCommands',[]);let _0x37ca67=_0x355686(_0x5f2484['get']('ai.assistant.commands'),_0x561a16);const _0x307376=_0x5f2484['get']('ai.assistant.extraCommandGroups'),_0x3b2cf0=_0x5f2484['get']('ai.assistant.removeCommands');_0x307376['forEach'](_0x19234a=>{const _0x1fa24b=_0x37ca67['find'](_0x4d3dbc=>_0x4d3dbc['groupId']===_0x19234a['groupId']);_0x1fa24b?_0x1fa24b['commands']=_0x1fa24b['commands']['concat'](_0x19234a['commands']):_0x37ca67['push'](_0x19234a);}),_0x37ca67=_0x37ca67['filter'](_0x10f530=>!_0x3b2cf0['includes'](_0x10f530['groupId'])),_0x37ca67['forEach'](_0x1d3df8=>{_0x1d3df8['commands']=_0x1d3df8['commands']['filter'](_0x3fa2ad=>!_0x3b2cf0['includes'](_0x3fa2ad['id']));}),_0x5f2484['set']('ai.assistant.commands',_0x37ca67);}};function _0x520f5c(_0x108d3b){return[{'groupId':'editOrReview','groupLabel':_0x73e5dc(_0x108d3b,'Edit\x20or\x20review'),'commands':[{'id':'improveWriting','label':_0x73e5dc(_0x108d3b,'Improve\x20writing'),'prompt':'Fix\x20spelling\x20mistakes,\x20use\x20proper\x20grammar\x20and\x20apply\x20good\x20writing\x20practices.\x20Do\x20not\x20lose\x20the\x20original\x20meaning.'},{'id':'makeShorter','label':_0x73e5dc(_0x108d3b,'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':_0x73e5dc(_0x108d3b,'Make\x20longer'),'prompt':'Improve\x20this\x20content\x20by\x20using\x20descriptive\x20language\x20and\x20inserting\x20more\x20information\x20and\x20more\x20detailed\x20explanations.'},{'id':'simplifyLanguage','label':_0x73e5dc(_0x108d3b,'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':_0x73e5dc(_0x108d3b,'Generate\x20from\x20selection'),'commands':[{'id':'summarize','label':_0x73e5dc(_0x108d3b,'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':_0x73e5dc(_0x108d3b,'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':_0x73e5dc(_0x108d3b,'Change\x20tone'),'commands':[{'id':'professional','label':_0x73e5dc(_0x108d3b,'Professional'),'prompt':'Improve\x20using\x20polished,\x20formal,\x20and\x20respectful\x20language\x20to\x20convey\x20professional\x20expertise\x20and\x20competence.'},{'id':'casual','label':_0x73e5dc(_0x108d3b,'Casual'),'prompt':'Improve\x20using\x20casual,\x20informal\x20language\x20to\x20convey\x20a\x20casual\x20conversation\x20with\x20a\x20real\x20person.'},{'id':'direct','label':_0x73e5dc(_0x108d3b,'Direct'),'prompt':'Improve\x20using\x20direct\x20language,\x20using\x20only\x20the\x20essential\x20information.'},{'id':'confident','label':_0x73e5dc(_0x108d3b,'Confident'),'prompt':'Improve\x20using\x20compelling,\x20optimistic\x20language\x20to\x20convey\x20confidence\x20in\x20the\x20writing.'},{'id':'friendly','label':_0x73e5dc(_0x108d3b,'Friendly'),'prompt':'Improve\x20using\x20friendly,\x20comforting\x20language,\x20to\x20convey\x20understanding\x20and\x20empathy.'}]},{'groupId':'changeStyle','groupLabel':_0x73e5dc(_0x108d3b,'Change\x20style'),'commands':[{'id':'business','label':_0x73e5dc(_0x108d3b,'Business'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20business\x20professional\x20with\x20formal\x20language.'},{'id':'legal','label':_0x73e5dc(_0x108d3b,'Legal'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20legal\x20professional\x20using\x20valid\x20legal\x20terminology.'},{'id':'journalism','label':_0x73e5dc(_0x108d3b,'Journalism'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20journalist\x20using\x20engaging\x20language\x20to\x20convey\x20the\x20importance\x20of\x20the\x20information.'},{'id':'poetic','label':_0x73e5dc(_0x108d3b,'Poetic'),'prompt':'Rewrite\x20this\x20content\x20as\x20a\x20poem\x20using\x20poetic\x20techniques\x20without\x20losing\x20the\x20original\x20meaning.'}]},{'groupId':'translate','groupLabel':_0x73e5dc(_0x108d3b,'Translate'),'commands':[{'id':'translateEnglish','label':_0x73e5dc(_0x108d3b,'English'),'prompt':'Translate\x20the\x20content\x20to\x20English\x20language.'},{'id':'translateSpanish','label':_0x73e5dc(_0x108d3b,'Spanish'),'prompt':'Translate\x20the\x20content\x20to\x20Spanish\x20language.'},{'id':'translatePortuguese','label':_0x73e5dc(_0x108d3b,'Portuguese'),'prompt':'Translate\x20the\x20content\x20to\x20Portuguese\x20language.'},{'id':'translateGerman','label':_0x73e5dc(_0x108d3b,'German'),'prompt':'Translate\x20the\x20content\x20to\x20German\x20language.'},{'id':'translateFrench','label':_0x73e5dc(_0x108d3b,'French'),'prompt':'Translate\x20the\x20content\x20to\x20French\x20language.'},{'id':'translateChinese','label':_0x73e5dc(_0x108d3b,'Simplified\x20Chinese'),'prompt':'Translate\x20the\x20content\x20to\x20Simplified\x20Chinese\x20language.'},{'id':'translateHindi','label':_0x73e5dc(_0x108d3b,'Hindi'),'prompt':'Translate\x20the\x20content\x20to\x20Hindi\x20language.'},{'id':'translateArabic','label':_0x73e5dc(_0x108d3b,'Arabic'),'prompt':'Translate\x20the\x20content\x20to\x20Arabic\x20language.'}]}];}var _0x4bf2d8=class extends _0x14e616['Plugin']{['abortController'];static get['requires'](){return[_0xdbf5cc];}constructor(_0x4b76f4){super(_0x4b76f4),this['abortController']=new AbortController();}['init'](){this['editor']['plugins']['get'](_0xdbf5cc)['textAdapter']=this;}['abort'](){this['abortController']['signal']['aborted']||(this['abortController']['abort'](),this['abortController']=new AbortController());}async['makeRequest'](_0x398278){return this['sendRequest'](_0x398278)['catch'](_0x5b4d07=>{if(_0x5b4d07 instanceof _0x16395f)return Promise['reject'](_0x5b4d07);if('AbortError'==_0x5b4d07['name'])return Promise['resolve']();throw console['error'](_0x5b4d07),new _0x14e616['CKEditorError']('aitextadapter-send-request-failed',null);});}async['_prepareRequestHeaders'](_0x4e3691,_0x4e2c2e){const _0x1d84a2=this['editor']['locale'],_0x5b882b={'Content-Type':'application/json'};if('object'==typeof _0x4e3691)Object['assign'](_0x5b882b,_0x4e3691);else{if(_0x4e3691)try{const _0x3bb9e9=await _0x4e3691(_0x4e2c2e);Object['assign'](_0x5b882b,_0x3bb9e9);}catch{return Promise['reject'](new _0x16395f(_0x73e5dc(_0x1d84a2,'AI_ERROR_GET_HEADERS')));}}return _0x5b882b;}async['_prepareRequestParameters'](_0x435750,_0x29ed5d){const _0x373331=this['editor']['locale'];if('object'==typeof _0x435750)return _0x435750;try{return await _0x435750(_0x29ed5d);}catch{return Promise['reject'](new _0x16395f(_0x73e5dc(_0x373331,'AI_ERROR_GET_PARAMETERS')));}}},_0x4e04dd=class extends _0x14e616['ButtonView']{constructor(_0x4186e1,_0x6ce110={}){super(_0x4186e1),this['isToggleable']=!0x0,this['set']('side',_0x6ce110['side']||'top');const _0x491741=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-tab-button',...(0x0,_0x14e616['toArray'])(_0x6ce110['class']||[]),_0x491741['to']('side',_0x3ec827=>'ck-tab-button_'+_0x3ec827),_0x491741['to']('class')]}});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}},_0x4f6140=class extends _0x14e616['View']{['children'];constructor(_0x39470a,_0x3816c7={}){super(_0x39470a);const _0x134776=this['bindTemplate'];this['set']('isVisible',!0x1),this['set']('class',''),this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-tab-panel',...(0x0,_0x14e616['toArray'])(_0x3816c7['class']||[]),_0x134776['to']('class'),_0x134776['if']('isVisible','ck-hidden',_0x373fde=>!_0x373fde)]},'children':this['children']});}['show'](){this['set']('isVisible',!0x0);}['hide'](){this['set']('isVisible',!0x1);}},_0xecc0c1=class extends _0x14e616['View']{['buttonViews']=this['createCollection']();['panelViews']=this['createCollection']();['_tabs']=new Map();constructor(_0xcf939f,_0x44f557={}){super(_0xcf939f),this['set']('class',void 0x0),this['set']('activeTab',null),this['set']('side',_0x44f557['side']||'top'),this['set']('isMaximized',!0x1),this['set']('collapsible',_0x44f557['collapsible']||!0x1),this['set']('isCollapsed',!0x1),this['set']('_isMaximizedActive',!0x1),this['bind']('_isMaximizedActive')['to'](this,'isMaximized',this,'isCollapsed',(_0x18b653,_0x16640f)=>_0x18b653&&!_0x16640f);const _0x2cbc12=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-tabs',...(0x0,_0x14e616['toArray'])(_0x44f557['class']||[]),_0x2cbc12['to']('side',_0x5d22b3=>'ck-tabs_'+_0x5d22b3),_0x2cbc12['to']('class'),_0x2cbc12['if']('_isMaximizedActive','ck-ai-tabs_maximized'),_0x2cbc12['if']('isCollapsed','ck-ai-tabs_collapsed')],'tabindex':'0'},'children':[{'tag':'div','attributes':{'class':['ck','ck-tabs__buttons-container',_0x2cbc12['to']('side',_0x1f5440=>'ck-tabs__buttons-container_'+_0x1f5440)]},'children':this['buttonViews']},{'tag':'div','attributes':{'class':['ck','ck-tabs__panels-container',_0x2cbc12['to']('side',_0x21494=>'ck-tabs__panels-container_'+_0x21494)]},'children':this['panelViews']},...(0x0,_0x14e616['toArray'])(_0x44f557['children']||[])]});}['getTabIds'](){return[...this['_tabs']['keys']()];}['getTab'](_0x40966b){const _0x4b6356=this['_tabs']['get'](_0x40966b);return _0x4b6356||null;}['addTab'](_0x375af9){const _0x6fd305=this['_setupButton']({'id':_0x375af9['id'],'label':_0x375af9['buttonLabel'],'icon':_0x375af9['buttonIcon'],'order':_0x375af9['order']}),_0x4224ee=new _0x4f6140(this['locale']);return _0x4224ee['render'](),_0x375af9['content']&&_0x4224ee['children']['add'](_0x375af9['content']),this['panelViews']['add'](_0x4224ee),this['_tabs']['set'](_0x375af9['id'],{'button':_0x6fd305,'panel':_0x4224ee,'order':void 0x0!==_0x375af9['order']?_0x375af9['order']:null}),this['fire']('addTab:'+_0x375af9['id'],{'id':_0x375af9['id'],'button':_0x6fd305,'panel':_0x4224ee}),null===this['activeTab']?this['activateTab'](_0x375af9['id']):this['_hidePanel'](_0x375af9['id']),{'button':_0x6fd305,'panel':_0x4224ee};}['activateTab'](_0xfb5e1a){if(null!==_0xfb5e1a&&!this['getTab'](_0xfb5e1a))throw new _0x14e616['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0xfb5e1a});if(this['isCollapsed']=!0x1,this['activeTab']===_0xfb5e1a)return;const _0x686e2a=this['activeTab'];this['activeTab']&&this['_hidePanel'](this['activeTab']),this['activeTab']=_0xfb5e1a,_0xfb5e1a&&this['_showPanel'](_0xfb5e1a),this['fire']('activateTab:'+_0xfb5e1a,{'newTab':_0xfb5e1a,'oldTab':_0x686e2a});}['toggleTabPanel'](_0x3400ed){this['activeTab']===_0x3400ed?this['collapsible']&&(this['isCollapsed']=!this['isCollapsed']):this['activateTab'](_0x3400ed);}['showTab'](_0x37df88){if(!this['getTab'](_0x37df88))throw new _0x14e616['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x37df88});this['_showPanel'](_0x37df88),this['_showButton'](_0x37df88),this['fire']('show:'+_0x37df88,_0x37df88);}['hideTab'](_0x5c9d76){if(!this['getTab'](_0x5c9d76))throw new _0x14e616['CKEditorError']('ui-tabsview-tab-not-found',{'tabs':this,'tabId':_0x5c9d76});const _0x4d8a92=this['activeTab'];this['_hidePanel'](_0x5c9d76),this['_hideButton'](_0x5c9d76);const _0x10380b=this['getTabIds']();_0x4d8a92===_0x5c9d76&&_0x10380b['length']>0x1&&this['activateTab'](_0x10380b['find'](_0x1c9a5f=>_0x1c9a5f!==_0x5c9d76)),this['fire']('hide:'+_0x5c9d76,_0x5c9d76);}['_getPanel'](_0x413d87){const _0x3b0572=this['_tabs']['get'](_0x413d87);return _0x3b0572?_0x3b0572['panel']:null;}['_showPanel'](_0x15e2a2){null!==this['activeTab']&&this['activeTab']!==_0x15e2a2||this['_getPanel'](_0x15e2a2)['show']();}['_hidePanel'](_0x1bca02){const _0x5a9d3f=this['_getPanel'](_0x1bca02);_0x5a9d3f['isVisible']&&(this['activeTab']===_0x1bca02&&(this['activeTab']=null),_0x5a9d3f['hide']());}['_getButton'](_0x5bce7d){const _0x1daf5e=this['_tabs']['get'](_0x5bce7d);return _0x1daf5e?_0x1daf5e['button']:null;}['_showButton'](_0x3523fe){this['_getButton'](_0x3523fe)['show']();}['_hideButton'](_0x10bce3){this['_getButton'](_0x10bce3)['hide']();}['_setupButton'](_0xe99f55){const _0x43f45f=new _0x4e04dd(this['locale'],{'side':this['side']}),_0x5e601c=this['buttonViews'];if(_0x43f45f['set']({'label':_0xe99f55['label'],'icon':_0xe99f55['icon'],'tooltip':!0x0,'withText':!0x0}),_0x43f45f['bind']('isOn')['to'](this,'activeTab',this,'isCollapsed',(_0x56a5e4,_0x45d6e3)=>_0x56a5e4===_0xe99f55['id']&&!_0x45d6e3),_0x43f45f['bind']('side')['to'](this,'side'),_0xe99f55['order']){const _0x1ee203=[...this['_tabs']]['reduce']((_0x49b1ff,_0x4ff1a7)=>{const _0xe70323=_0x4ff1a7[0x0],{order:_0x46e45e}=_0x4ff1a7[0x1];return!_0x46e45e||_0x46e45e>_0xe99f55['order']?_0x49b1ff:_0x46e45e>=_0x49b1ff['order']?{'id':_0xe70323,'order':_0x46e45e}:_0x49b1ff;},{'id':'','order':0x0}),_0x33ecc6=_0x5e601c['getIndex'](this['_getButton'](_0x1ee203['id']));_0x5e601c['add'](_0x43f45f,_0x33ecc6+0x1);}else _0x5e601c['add'](_0x43f45f);return _0x43f45f['on']('execute',()=>{this['toggleTabPanel'](_0xe99f55['id']);}),_0x43f45f;}};const _0x3e4a3f=['overlay','sidebar','custom'],_0xe0dbf7=['left','right'];var _0x53c46b=class extends _0xecc0c1{constructor(_0x19b4d0,_0xad163={}){super(_0x19b4d0,_0xad163),this['set']('type',_0xad163['type']||'sidebar'),this['set']('side',_0xad163['side']||'right'),this['set']('isVisible',_0xad163['visibleByDefault']??!0x0);const _0x49e8b8=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':['ck-ai-tabs',_0x49e8b8['if']('type','ck-ai-tabs__overlay',_0x453895=>'overlay'===_0x453895),_0x49e8b8['if']('type','ck-ai-tabs__sidebar',_0x262a04=>'sidebar'===_0x262a04),_0x49e8b8['if']('isVisible','ck-hidden',_0x178b9=>!_0x178b9)]}}),this['buttonViews']['on']('add',(_0x3eef8e,_0x4f18c8)=>{_0x4f18c8['set']('withText',!0x1);});}},_0xdf3353=class extends _0x14e616['ContextPlugin']{['view'];['container']=null;['showResizeButton']=!0x0;static get['pluginName'](){return'AITabs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2eb36d){if(super(_0x2eb36d),!this['context']['config']['get']('ai.container'))throw new _0x14e616['CKEditorError']('ai-tabs-configuration-not-found');this['context']['config']['define']('ai.container.visibleByDefault',!0x0),this['context']['config']['define']('ai.container.collapsible',!0x1);const _0x4c005c=this['context']['config']['get']('ai.container');if(this['set']('side','right'),void 0x0!==_0x4c005c['showResizeButton']&&(this['showResizeButton']=_0x4c005c['showResizeButton']),'sidebar'!==_0x4c005c['type']&&'overlay'!==_0x4c005c['type']||_0x4c005c['side']&&(this['side']=_0x4c005c['side']),'sidebar'===_0x4c005c['type']){if(this['container']=_0x4c005c['element'],this['set']('type','sidebar'),!this['container'])throw new _0x14e616['CKEditorError']('ai-tabs-sidebar-container-element-not-found');}else'overlay'===_0x4c005c['type']?(this['container']=document['body'],this['set']('type','overlay')):(this['container']=null,this['set']('type','custom'));this['view']=new _0x53c46b(this['context']['locale'],{'side':this['side'],'type':this['type'],'visibleByDefault':_0x4c005c['visibleByDefault'],'collapsible':_0x4c005c['collapsible']}),this['view']['render'](),this['view']['bind']('side')['to'](this,'side'),this['view']['bind']('type')['to'](this,'type'),this['container']&&this['container']['appendChild'](this['view']['element']),this['context']instanceof _0x14e616['Editor']&&this['context']['ui']['focusTracker']['add'](this['view']['element']),this['listenTo'](this,'resizeTabs',()=>{this['view']['isMaximized']=!this['view']['isMaximized'],this['fire']('resizedTabs',this['view']['isMaximized']);});}['switchType'](_0x1e7912){if(_0x1e7912&&this['type']!==_0x1e7912){if(!_0x3e4a3f['includes'](_0x1e7912))throw new _0x14e616['CKEditorError']('ai-tabs-unsupported-ui-type');this['type']=_0x1e7912;}}['switchSide'](_0x32cdae){if(_0x32cdae&&this['side']!==_0x32cdae){if(!_0xe0dbf7['includes'](_0x32cdae))throw new _0x14e616['CKEditorError']('ai-tabs-unsupported-ui-side');this['side']=_0x32cdae;}}['destroy'](){super['destroy'](),this['view']['destroy'](),this['view']['element']&&this['view']['element']['remove']();}},_0x48c976=class extends Error{constructor(_0x426504,_0x3213fb){super(_0x426504),this['name']='ParseError',this['type']=_0x3213fb['type'],this['field']=_0x3213fb['field'],this['value']=_0x3213fb['value'],this['line']=_0x3213fb['line'];}};function _0x12d4ce(_0x2deb77){}function _0x636578(_0x35d2c9){if('function'==typeof _0x35d2c9)throw new TypeError('`callbacks`\x20must\x20be\x20an\x20object,\x20got\x20a\x20function\x20instead.\x20Did\x20you\x20mean\x20`{onEvent:\x20fn}`?');const {onEvent:_0x36c9d2=_0x12d4ce,onError:_0x3e4665=_0x12d4ce,onRetry:_0x2b7551=_0x12d4ce,onComment:_0x4a117e}=_0x35d2c9;let _0xcda8a2,_0x4a6085='',_0xefea85=!0x0,_0x21f0da='',_0x55b1f9='';function _0x2b0393(_0xd6f728){if(''===_0xd6f728)return _0x21f0da['length']>0x0&&_0x36c9d2({'id':_0xcda8a2,'event':_0x55b1f9||void 0x0,'data':_0x21f0da['endsWith']('\x0a')?_0x21f0da['slice'](0x0,-0x1):_0x21f0da}),_0xcda8a2=void 0x0,_0x21f0da='',void(_0x55b1f9='');if(_0xd6f728['startsWith'](':'))return void(_0x4a117e&&_0x4a117e(_0xd6f728['slice'](_0xd6f728['startsWith'](':\x20')?0x2:0x1)));const _0x559070=_0xd6f728['indexOf'](':');if(-0x1!==_0x559070){const _0x44770c=_0xd6f728['slice'](0x0,_0x559070),_0x2d31d8='\x20'===_0xd6f728[_0x559070+0x1]?0x2:0x1;return void _0x54b8e6(_0x44770c,_0xd6f728['slice'](_0x559070+_0x2d31d8),_0xd6f728);}_0x54b8e6(_0xd6f728,'',_0xd6f728);}function _0x54b8e6(_0x128ee3,_0x434787,_0x30127a){switch(_0x128ee3){case'event':_0x55b1f9=_0x434787;break;case'data':_0x21f0da=''+_0x21f0da+_0x434787+'\x0a';break;case'id':_0xcda8a2=_0x434787['includes']('\x00')?void 0x0:_0x434787;break;case'retry':/^\d+$/['test'](_0x434787)?_0x2b7551(parseInt(_0x434787,0xa)):_0x3e4665(new _0x48c976('Invalid\x20`retry`\x20value:\x20\x22'+_0x434787+'\x22',{'type':'invalid-retry','value':_0x434787,'line':_0x30127a}));break;default:_0x3e4665(new _0x48c976('Unknown\x20field\x20\x22'+(_0x128ee3['length']>0x14?_0x128ee3['slice'](0x0,0x14)+'…':_0x128ee3)+'\x22',{'type':'unknown-field','field':_0x128ee3,'value':_0x434787,'line':_0x30127a}));}}return{'feed':function(_0x5f3c6e){const _0xff9f6c=_0xefea85?_0x5f3c6e['replace'](/^\xEF\xBB\xBF/,''):_0x5f3c6e,[_0x4b690b,_0x294b8d]=function(_0x45ca5b){const _0x584b5f=[];let _0x3ae650='',_0x5d59cb=0x0;for(;_0x5d59cb<_0x45ca5b['length'];){const _0x449504=_0x45ca5b['indexOf']('\x0d',_0x5d59cb),_0x455679=_0x45ca5b['indexOf']('\x0a',_0x5d59cb);let _0x451414=-0x1;if(-0x1!==_0x449504&&-0x1!==_0x455679?_0x451414=Math['min'](_0x449504,_0x455679):-0x1!==_0x449504?_0x451414=_0x449504:-0x1!==_0x455679&&(_0x451414=_0x455679),-0x1===_0x451414){_0x3ae650=_0x45ca5b['slice'](_0x5d59cb);break;}{const _0x4eca63=_0x45ca5b['slice'](_0x5d59cb,_0x451414);_0x584b5f['push'](_0x4eca63),_0x5d59cb=_0x451414+0x1,'\x0d'===_0x45ca5b[_0x5d59cb-0x1]&&'\x0a'===_0x45ca5b[_0x5d59cb]&&_0x5d59cb++;}}return[_0x584b5f,_0x3ae650];}(''+_0x4a6085+_0xff9f6c);for(const _0x188d53 of _0x4b690b)_0x2b0393(_0x188d53);_0x4a6085=_0x294b8d,_0xefea85=!0x1;},'reset':function(_0xd257e1={}){_0x4a6085&&_0xd257e1['consume']&&_0x2b0393(_0x4a6085),_0xefea85=!0x0,_0xcda8a2=void 0x0,_0x21f0da='',_0x55b1f9='',_0x4a6085='';}};}var _0x626bfd=class extends _0x14e616['ContextPlugin']{['_apiUrl'];get['_apiUrlV11'](){return this['_apiUrl']['replace'](/\/v1$/,'/v1.1');}['_token'];['_decoder'];['_responseCache'];static get['requires'](){return[_0x14e616['CloudServices']];}static get['pluginName'](){return'AIConnector';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x16ff86){if(super(_0x16ff86),this['context']['config']['define']('ai.serviceUrl','https://ai.cke-cs.com/v1'),this['_apiUrl']=this['context']['config']['get']('ai.serviceUrl')['replace'](/\/+$/,''),!this['_apiUrl']['endsWith']('/v1'))throw new _0x14e616['CKEditorError']('ai-service-url-invalid-version',this,{'serviceUrl':this['_apiUrl']});this['_token']=null,this['_decoder']=new TextDecoder(),this['_responseCache']=new Map();}['init'](){const _0x3ceb25=this['context']['plugins']['get'](_0x14e616['CloudServices']);if(!_0x3ceb25['token'])throw new _0x14e616['CKEditorError']('ai-missing-token',this);this['_token']=_0x3ceb25['token'];}['startConversation'](_0x5a6fcb,_0x1d3768){const _0x49dddd=this['_sendApiRequest']('/conversations','POST',{'id':_0x5a6fcb,'group':_0x1d3768});return{'getConversation':async()=>(await _0x49dddd['request'])['json'](),'abortController':_0x49dddd['abortController']};}['queryAssistant']({message:_0xefc7e1,conversationId:_0x24cb3a,parts:_0x4475b5,capabilities:_0x4ef6c8,model:_0x442b5c,attributes:_0x16bf99}){const _0x3372e4={'prompt':_0xefc7e1,'content':_0x4475b5,'model':_0x442b5c,..._0x4ef6c8&&{'capabilities':_0x4ef6c8},..._0x16bf99&&{'attributes':_0x16bf99}},_0x4ff949=this['_sendApiRequest']('/conversations/'+_0x24cb3a+'/messages','POST',_0x3372e4,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0xa7a68e=(await _0x4ff949['request'])['body'];return this['_getStreamReader'](_0xa7a68e);},'abortController':_0x4ff949['abortController']};}['executeCustomAction']({content:_0x34af9e,message:_0x15e05a,model:_0x12ea3f,outputFormat:_0x38bd65}){const _0x182f41={'content':[{'type':'text','content':_0x34af9e}],'prompt':_0x15e05a,'model':_0x12ea3f,'outputFormat':_0x38bd65},_0x423877=this['_sendApiRequest']('/actions/custom/calls','POST',_0x182f41);return{'getStream':async()=>{const _0x10fb2e=(await _0x423877['request'])['body'];return this['_getStreamReader'](_0x10fb2e);},'abortController':_0x423877['abortController']};}['executeAction']({actionName:_0x1af358,content:_0x28ffd2,args:_0x1ab605}){const _0x2c4234={'content':[{'type':'text','content':_0x28ffd2}],'args':_0x1ab605},_0x4a2d42=this['_sendApiRequest']('/actions/system/'+_0x1af358+'/calls','POST',_0x2c4234);return{'getStream':async()=>{const _0x33d933=(await _0x4a2d42['request'])['body'];return this['_getStreamReader'](_0x33d933);},'abortController':_0x4a2d42['abortController']};}['uploadFile'](_0x2fb721,_0x579ee1,_0x342500){const _0x10b86b=new FormData();_0x10b86b['append']('file',_0x579ee1,_0x579ee1['name']),_0x342500&&_0x10b86b['append']('attributes',JSON['stringify'](_0x342500));const _0x5859c7=this['_sendApiRequest']('/conversations/'+_0x2fb721+'/files','POST',_0x10b86b);return{'getId':async()=>(await _0x5859c7['request'])['json'](),'abortController':_0x5859c7['abortController']};}['uploadDocuments'](_0x1b5993,_0x5eb86b){const _0x203753={'documents':_0x5eb86b['map'](_0x4728f2=>({'content':_0x4728f2['content'],'attributes':{'version':_0x4728f2['version'],'sessionId':_0x4728f2['sessionId'],'channelId':_0x4728f2['channelId'],'rootName':_0x4728f2['rootName'],'selections':_0x4728f2['selections']},...void 0x0!==_0x4728f2['name']?{'name':_0x4728f2['name']}:{},...void 0x0!==_0x4728f2['description']?{'description':_0x4728f2['description']}:{}}))},_0x28cd0e=this['_sendApiRequest']('/conversations/'+_0x1b5993+'/documents/batch','POST',_0x203753);return{'getIds':async()=>(await _0x28cd0e['request'])['json'](),'abortController':_0x28cd0e['abortController']};}['fetchDocuments'](_0x1724f5,_0x1e190a){const _0x46f09d=new URLSearchParams();_0x46f09d['append']('documentIds',_0x1e190a['join'](','));const _0x43b5e5=this['_sendApiRequest']('/conversations/'+_0x1724f5+'/documents/batch?'+_0x46f09d['toString'](),'GET');return{'getDocuments':async()=>(await _0x43b5e5['request'])['json'](),'abortController':_0x43b5e5['abortController']};}['fetchConversations'](_0xd72adb,_0x3bbf1f={}){const _0x4007a3=new URLSearchParams();_0x4007a3['append']('group',_0xd72adb),_0x4007a3['append']('excludeEmpty',!0x1!==_0x3bbf1f['excludeEmpty']?'true':'false'),_0x4007a3['append']('limit',_0x3bbf1f['limit']?_0x3bbf1f['limit']['toString']():'100'),_0x4007a3['append']('sortBy',_0x3bbf1f['sortBy']?_0x3bbf1f['sortBy']:'createdAt'),_0x4007a3['append']('order',_0x3bbf1f['order']?_0x3bbf1f['order']:'desc');const _0x3e7e98=this['_sendApiRequest']('/conversations?'+_0x4007a3['toString'](),'GET');return{'getConversations':async()=>(await(await _0x3e7e98['request'])['json']())['items'],'abortController':_0x3e7e98['abortController']};}['deleteConversation'](_0x270b3b){const _0x3d0f78=this['_sendApiRequest']('/conversations/'+_0x270b3b,'DELETE');return{'execute':async()=>{await _0x3d0f78['request'];},'abortController':_0x3d0f78['abortController']};}['updateConversation'](_0x3ec4c4,_0x483fe0){const _0x470927=this['_sendApiRequest']('/conversations/'+_0x3ec4c4,'PATCH',_0x483fe0);return{'getResult':async()=>(await _0x470927['request'],_0x483fe0),'abortController':_0x470927['abortController']};}['fetchConversation'](_0x118d93){const _0x374c39=this['_sendApiRequest']('/conversations/'+_0x118d93,'GET');return{'getConversation':async()=>(await _0x374c39['request'])['json'](),'abortController':_0x374c39['abortController']};}['fetchConversationMessages'](_0x4cab0a){const _0x4f9b9f=this['_sendApiRequest']('/conversations/'+_0x4cab0a+'/messages','GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getMessages':async()=>(await(await _0x4f9b9f['request'])['json']())['items'],'abortController':_0x4f9b9f['abortController']};}['uploadUrl'](_0x5d29c8,_0x2ea6a3,_0x3284cc){const _0x1b4d35=this['_sendApiRequest']('/conversations/'+_0x5d29c8+'/web-resources','POST',{'url':_0x2ea6a3,'attributes':_0x3284cc});return{'getId':async()=>(await _0x1b4d35['request'])['json'](),'abortController':_0x1b4d35['abortController']};}['getModels'](_0x5ed669='en'){const _0x51e662=new URLSearchParams();_0x51e662['append']('language',_0x5ed669);const _0x2241cf='/models/1?'+_0x51e662['toString'](),_0x25f29f=this['_sendApiRequest'](_0x2241cf,'GET',void 0x0,{'useCache':!0x0});return{'list':async()=>await(await _0x25f29f['request'])['json'](),'abortController':_0x25f29f['abortController']};}['deleteFile'](_0x1d21a5,_0xe5a280){const _0x6d51ad=this['_sendApiRequest']('/conversations/'+_0x1d21a5+'/files/'+_0xe5a280,'DELETE');return{'execute':async()=>{await _0x6d51ad['request'];},'abortController':_0x6d51ad['abortController']};}['deleteDocument'](_0x27b4a1,_0x313a49){const _0x51260c=this['_sendApiRequest']('/conversations/'+_0x27b4a1+'/documents/'+_0x313a49,'DELETE');return{'execute':async()=>{await _0x51260c['request'];},'abortController':_0x51260c['abortController']};}['deleteWebResource'](_0x16540a,_0x4917d2){const _0x52cfb8=this['_sendApiRequest']('/conversations/'+_0x16540a+'/web-resources/'+_0x4917d2,'DELETE');return{'execute':async()=>{await _0x52cfb8['request'];},'abortController':_0x52cfb8['abortController']};}['cancelStream'](_0x1aa65b,_0x472430){const _0x3e4c04=this['_sendApiRequest']('/conversations/'+_0x1aa65b+'/messages/'+_0x472430+'/stream','DELETE',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'execute':async()=>{await _0x3e4c04['request'];},'abortController':_0x3e4c04['abortController']};}['resumeStream'](_0x4067cc,_0x1988b4,_0x1c5b8f='0-0'){const _0x54c977=new URLSearchParams({'lastEventId':_0x1c5b8f}),_0x9c4ea7=this['_sendApiRequest']('/conversations/'+_0x4067cc+'/messages/'+_0x1988b4+'/stream?'+_0x54c977['toString'](),'GET',void 0x0,{'apiUrl':this['_apiUrlV11']});return{'getStream':async()=>{const _0x1c3e22=await _0x9c4ea7['request'];return this['_getStreamReader'](_0x1c3e22['body']);},'abortController':_0x9c4ea7['abortController']};}['callSystemReview']({reviewName:_0x576033,content:_0x10ea3c,args:_0x422ce5}){const _0x1dd7ff=this['_sendApiRequest']('/reviews/system/'+_0x576033+'/calls','POST',{'content':[{'type':'text','content':_0x10ea3c}],'args':_0x422ce5});return{'getStream':async()=>{const _0x382441=(await _0x1dd7ff['request'])['body'];return this['_getStreamReader'](_0x382441);},'abortController':_0x1dd7ff['abortController']};}['processDocument']({document:_0x5d1673,prompt:_0x1f095c,model:_0x19f005}){const _0x1df7ef=this['_sendApiRequest']('/documents/process','POST',{'document':_0x5d1673,'prompt':_0x1f095c,'model':_0x19f005});return{'getResult':async()=>(await _0x1df7ef['request'])['json'](),'abortController':_0x1df7ef['abortController']};}['callCustomReview']({content:_0x44ae26,prompt:_0x353ce9,model:_0xe9f06d}){const _0x4811c3=this['_sendApiRequest']('/reviews/custom/calls','POST',{'content':[{'type':'text','content':_0x44ae26}],'prompt':_0x353ce9,'model':_0xe9f06d});return{'getStream':async()=>{const _0x670c7c=(await _0x4811c3['request'])['body'];return this['_getStreamReader'](_0x670c7c);},'abortController':_0x4811c3['abortController']};}['upsertAIChatRating'](_0x121a5b,_0x110cf1,_0x585285){const _0x243242=this['_sendApiRequest']('/conversations/'+_0x121a5b+'/messages/'+_0x110cf1+'/ratings','PUT',{'positiveCount':_0x585285['positiveCount'],'totalCount':_0x585285['totalCount'],'modificationId':_0x585285['modificationId']});return{'execute':async()=>{await _0x243242['request'];},'abortController':_0x243242['abortController']};}['upsertAIActionRating'](_0x193ee1,_0x288486,_0x20183d){const _0x50b4ff=this['_sendApiRequest']('/actions/system/'+_0x193ee1+'/calls/'+_0x288486+'/ratings','PUT',{'positiveCount':_0x20183d['positiveCount'],'totalCount':_0x20183d['totalCount']});return{'execute':async()=>{await _0x50b4ff['request'];},'abortController':_0x50b4ff['abortController']};}['upsertCustomAIActionRating'](_0x556aa7,_0x3465c2){const _0x24add0=this['_sendApiRequest']('/actions/custom/calls/'+_0x556aa7+'/ratings','PUT',{'positiveCount':_0x3465c2['positiveCount'],'totalCount':_0x3465c2['totalCount']});return{'execute':async()=>{await _0x24add0['request'];},'abortController':_0x24add0['abortController']};}['upsertAIReviewRating'](_0x7c5a75,_0x4d948e,_0x176c8c,_0x5cbe4f){const _0x4af9c8=this['_sendApiRequest']('/reviews/system/'+_0x7c5a75+'/calls/'+_0x4d948e+'/ratings','PUT',{'positiveCount':_0x176c8c['positiveCount'],'totalCount':_0x176c8c['totalCount'],'dataId':_0x5cbe4f});return{'execute':async()=>{await _0x4af9c8['request'];},'abortController':_0x4af9c8['abortController']};}['upsertCustomAIReviewRating'](_0x1c91e7,_0x1e91ce,_0x4a30a0){const _0x5907dc=this['_sendApiRequest']('/reviews/custom/calls/'+_0x1c91e7+'/ratings','PUT',{'positiveCount':_0x1e91ce['positiveCount'],'totalCount':_0x1e91ce['totalCount'],'dataId':_0x4a30a0});return{'execute':async()=>{await _0x5907dc['request'];},'abortController':_0x5907dc['abortController']};}['_sendApiRequest'](_0x553be2,_0x4b5ce2,_0x3f8b56,_0x597a52={}){const {useCache:_0x3bcb16=!0x1,apiUrl:_0x540dfa=this['_apiUrl']}=_0x597a52,_0x3c0853=new AbortController(),_0x5286bd=_0x3bcb16?_0x4b5ce2+':'+_0x553be2:null;if(_0x5286bd){const _0x1d9e26=this['_responseCache']['get'](_0x5286bd);if(_0x1d9e26)return{'request':_0x1d9e26['then'](_0x428a6b=>_0x428a6b['clone']()),'abortController':_0x3c0853};}const _0xb733d9=_0x3f8b56 instanceof FormData,_0x3b2688={'Authorization':'Bearer\x20'+this['_token']?.['value'],'X-Editor-Version':_0x14e616['version']};_0x3f8b56&&!_0xb733d9&&(_0x3b2688['Content-Type']='application/json');const _0x15d075={'method':_0x4b5ce2,'headers':_0x3b2688,'signal':_0x3c0853['signal']};_0x3f8b56&&(_0x15d075['body']=_0xb733d9?_0x3f8b56:JSON['stringify'](_0x3f8b56));const _0x77a1d9=fetch(''+_0x540dfa+_0x553be2,_0x15d075)['catch'](_0x45bc2b=>{_0x5286bd&&this['_responseCache']['delete'](_0x5286bd),this['_handleError'](_0x45bc2b);})['then'](_0x56473b=>_0x56473b['ok']?_0x56473b:_0x56473b['json']()['then'](_0x4cc054=>{throw _0x5286bd&&this['_responseCache']['delete'](_0x5286bd),{'url':_0x540dfa,'path':_0x553be2,'method':_0x4b5ce2,'body':_0x3f8b56,'status':(_0x56473b||{})['status'],'statusText':(_0x56473b||{})['statusText'],'code':_0x4cc054['code'],'message':_0x4cc054['message'],'traceId':_0x4cc054['traceId']};}));return _0x5286bd&&this['_responseCache']['set'](_0x5286bd,_0x77a1d9['then'](_0x1b29ff=>_0x1b29ff['clone']())),{'request':_0x77a1d9,'abortController':_0x3c0853};}async*['_getStreamReader'](_0x2d4829){const _0x3d6a1e=[],_0x108f88=_0x2d4829['getReader'](),_0x5aafdb=_0x636578({'onError':_0x144bf6=>{this['_handleError'](_0x144bf6);},'onEvent':_0x56e7b0=>{_0x56e7b0['data']=JSON['parse'](_0x56e7b0['data']),_0x3d6a1e['push'](_0x56e7b0);}});try{let _0x35619c=!0x1;for(;!_0x35619c;){const {done:_0x57aaeb,value:_0x66d513}=await _0x108f88['read']();_0x57aaeb&&(_0x35619c=!0x0),_0x5aafdb['feed'](this['_decoder']['decode'](_0x66d513,{'stream':!0x0})),yield*_0x3d6a1e,_0x3d6a1e['length']=0x0;}}catch(_0x59cbbd){this['_handleError'](_0x59cbbd);}finally{_0x108f88['releaseLock'](),_0x5aafdb['reset']();}}['_handleError'](_0x3a6e31){if(_0x3a6e31 instanceof _0x14e616['CKEditorError'])throw _0x3a6e31;if(_0x3a6e31 instanceof Error&&'AbortError'===_0x3a6e31['name'])throw new _0x14e616['CKEditorError']('ai-request-aborted',this,{'originalError':_0x3a6e31});throw new _0x14e616['CKEditorError']('ai-request-failed',this,{'originalError':_0x3a6e31});}};function _0x2723f0(_0x4efa37,_0x43a8bb,_0x11ac58){const t=_0x4efa37['t'];switch(_0x43a8bb){case'AI_SUGGESTION_HEADER_TITLE':return t({'id':'AI_SUGGESTION_HEADER_TITLE','string':'Proposed\x20changes'});case'AI_SUGGESTION_BUTTON_SHOW_CHANGES':return t({'id':'AI_SUGGESTION_BUTTON_SHOW_CHANGES','string':'Show\x20details'});case'AI_MINI_TOOLBAR_LIKE':return t({'id':'AI_MINI_TOOLBAR_LIKE','string':'I\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_DISLIKE':return t({'id':'AI_MINI_TOOLBAR_DISLIKE','string':'I\x20don\x27t\x20like\x20this\x20response'});case'AI_MINI_TOOLBAR_COPY':return t({'id':'AI_MINI_TOOLBAR_COPY','string':'Copy\x20to\x20clipboard'});case'AI_SUGGESTION_CONTENT_PART_TITLE':return t({'id':'AI_SUGGESTION_CONTENT_PART_TITLE','string':'Change\x20%0'},_0x11ac58);case'AI_SUGGESTION_CONTENT_PART_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECTED','string':'Change\x20was\x20rejected'});case'AI_SUGGESTION_CONTENT_PART_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_OUTDATED','string':'Change\x20is\x20outdated'});case'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED':return t({'id':'AI_SUGGESTION_CONTENT_PART_ALREADY_APPLIED','string':'Change\x20is\x20already\x20applied'});case'AI_SUGGESTION_CONTENT_PART_APPLY':return t({'id':'AI_SUGGESTION_CONTENT_PART_APPLY','string':'Apply\x20change'});case'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION':return t({'id':'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION','string':'Add\x20as\x20suggestion'});case'AI_SUGGESTION_CONTENT_PART_REJECT':return t({'id':'AI_SUGGESTION_CONTENT_PART_REJECT','string':'Reject\x20change'});case'AI_SUGGESTION_CONTENT_PART_REMOVED':return t({'id':'AI_SUGGESTION_CONTENT_PART_REMOVED','string':'Removed\x20content.\x20Use\x20\x22Show\x20details\x22\x20to\x20learn\x20more.'});case'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED','string':'Approved'});case'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED','string':'Rejected'});case'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED':return t({'id':'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED','string':'Outdated'});case'AI_DISCLAIMER_TEXT':return t({'id':'AI_DISCLAIMER_TEXT','string':'AI\x20can\x20make\x20mistakes.\x20Please\x20double-check\x20responses.'});case'AI_TABS_LABEL_MAXIMIZE':return t({'id':'AI_TABS_LABEL_MAXIMIZE','string':'Maximize'});case'AI_TABS_LABEL_MINIMIZE':return t({'id':'AI_TABS_LABEL_MINIMIZE','string':'Minimize'});case'AI_CHAT_HEADING':return t({'id':'AI_CHAT_HEADING','string':'Chat'});case'AI_CHAT_SOURCES_HEADER':return t({'id':'AI_CHAT_SOURCES_HEADER','string':'Sources'});case'AI_CHAT_UNTITLED_CONVERSATION':return t({'id':'AI_CHAT_UNTITLED_CONVERSATION','string':'Untitled\x20conversation'});case'AI_CHAT_LABEL_NEW_CHAT':return t({'id':'AI_CHAT_LABEL_NEW_CHAT','string':'New\x20chat'});case'AI_CHAT_STOP_GENERATING':return t({'id':'AI_CHAT_STOP_GENERATING','string':'Stop\x20generating'});case'AI_CHAT_IS_WRITING':return t({'id':'AI_CHAT_IS_WRITING','string':'AI\x20is\x20writing...'});case'AI_CHAT_PROMPT_EMPTY_ERROR':return t({'id':'AI_CHAT_PROMPT_EMPTY_ERROR','string':'This\x20field\x20cannot\x20be\x20empty.'});case'AI_CHAT_LABEL_SUBMIT':return t({'id':'AI_CHAT_LABEL_SUBMIT','string':'Submit'});case'AI_CHAT_WELCOME_MESSAGE':return t({'id':'AI_CHAT_WELCOME_MESSAGE','string':'Hi!\x20I\x20can\x20help\x20you\x20draft,\x20rewrite,\x20and\x20improve\x20your\x20text,\x20explore\x20ideas,\x20research\x20topics,\x20and\x20solve\x20problems.\x20How\x20can\x20I\x20help\x20right\x20now?'});case'AI_CHAT_ABORTED_MESSAGE':return t({'id':'AI_CHAT_ABORTED_MESSAGE','string':'Response\x20stopped.'});case'AI_CHAT_GENERIC_ERROR':return t({'id':'AI_CHAT_GENERIC_ERROR','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_START_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_START_CONVERSATION','string':'Unable\x20to\x20start\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION':return t({'id':'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION','string':'Unable\x20to\x20load\x20chosen\x20conversation.\x20Please\x20make\x20sure\x20you\x20are\x20online\x20and\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE','string':'Failed\x20to\x20upload\x20files:\x20%0.\x20Please\x20try\x20again.'},_0x11ac58);case'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED':return t({'id':'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED','string':'Folders\x20cannot\x20be\x20added\x20to\x20the\x20chat.\x20Try\x20adding\x20individual\x20files\x20instead.'});case'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES','string':'Unable\x20to\x20load\x20resources\x20from\x20%0.\x20Please\x20try\x20again.'},_0x11ac58);case'AI_CHAT_RESOURCE_LOAD_FAILED':return t({'id':'AI_CHAT_RESOURCE_LOAD_FAILED','string':'Failed\x20to\x20load\x20resource.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_CURRENT_DOCUMENT':return t({'id':'AI_CHAT_CONTEXT_CURRENT_DOCUMENT','string':'Current\x20document'});case'AI_CHAT_CONTEXT_PASTED_TEXT_NAME':return t({'id':'AI_CHAT_CONTEXT_PASTED_TEXT_NAME','string':'Pasted\x20Text'});case'AI_CHAT_DROP_ZONE_HINT':return t({'id':'AI_CHAT_DROP_ZONE_HINT','string':'Drop\x20files\x20here\x20to\x20add\x20to\x20the\x20chat'});case'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','string':'Remove\x20from\x20context'});case'AI_CHAT_CONTEXT_ADD_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_ADD_CONTEXT','string':'Add\x20context'});case'AI_CHAT_CONTEXT_URL_LABEL':return t({'id':'AI_CHAT_CONTEXT_URL_LABEL','string':'URL'});case'AI_CHAT_CONTEXT_FILE_LABEL':return t({'id':'AI_CHAT_CONTEXT_FILE_LABEL','string':'File'});case'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL':return t({'id':'AI_CHAT_CONTEXT_CURRENT_CONTEXT_LABEL','string':'Current\x20context'});case'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL':return t({'id':'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL','string':'Selected\x20content'});case'AI_CHAT_SEARCH_WEB':return t({'id':'AI_CHAT_SEARCH_WEB','string':'Web\x20search'});case'AI_CHAT_ENABLE_WEB_SEARCH':return t({'id':'AI_CHAT_ENABLE_WEB_SEARCH','string':'Enable\x20web\x20search'});case'AI_CHAT_DISABLE_WEB_SEARCH':return t({'id':'AI_CHAT_DISABLE_WEB_SEARCH','string':'Disable\x20web\x20search'});case'AI_CHAT_REASONING':return t({'id':'AI_CHAT_REASONING','string':'Reasoning'});case'AI_CHAT_ENABLE_REASONING':return t({'id':'AI_CHAT_ENABLE_REASONING','string':'Enable\x20reasoning'});case'AI_CHAT_DISABLE_REASONING':return t({'id':'AI_CHAT_DISABLE_REASONING','string':'Disable\x20reasoning'});case'AI_CHAT_COMMANDS':return t({'id':'AI_CHAT_COMMANDS','string':'Commands'});case'AI_CHAT_SEARCH_RESOURCES':return t({'id':'AI_CHAT_SEARCH_RESOURCES','string':'Search\x20resources'});case'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT':return t({'id':'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','string':'Back\x20to\x20context\x20options'});case'AI_CHAT_CONTEXT_URL_ADD_URL':return t({'id':'AI_CHAT_CONTEXT_URL_ADD_URL','string':'Add\x20URL'});case'AI_CHAT_CONTEXT_URL_PLACEHOLDER':return t({'id':'AI_CHAT_CONTEXT_URL_PLACEHOLDER','string':'Add\x20URL...'});case'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL':return t({'id':'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL','string':'Failed\x20to\x20upload\x20URL:\x20%0.\x20Please\x20try\x20again.'},_0x11ac58);case'AI_CHAT_CONTEXT_INVALID_DATA':return t({'id':'AI_CHAT_CONTEXT_INVALID_DATA','string':'Invalid\x20context\x20data\x20type\x20for\x20the\x20selected\x20resource.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE','string':'Unsupported\x20resource\x20type.\x20Only\x20files\x20and\x20URLs\x20are\x20supported.'});case'AI_CHAT_CONTEXT_URL_EMPTY_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_EMPTY_ERROR','string':'URL\x20cannot\x20be\x20empty.'});case'AI_CHAT_CONTEXT_URL_INVALID_ERROR':return t({'id':'AI_CHAT_CONTEXT_URL_INVALID_ERROR','string':'Please\x20enter\x20a\x20valid\x20URL.'});case'AI_CHAT_INVALID_REQUEST':return t({'id':'AI_CHAT_INVALID_REQUEST','string':'Something\x20went\x20wrong\x20while\x20processing\x20your\x20request.\x20Please\x20try\x20again.'});case'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE':return t({'id':'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE','string':'The\x20file\x20type\x20is\x20not\x20supported.\x20Please\x20upload\x20a\x20different\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_LARGE':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_LARGE','string':'The\x20file\x20is\x20too\x20large.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES':return t({'id':'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES','string':'The\x20file\x20has\x20too\x20many\x20pages.\x20Please\x20upload\x20a\x20file\x20with\x20fewer\x20pages.'});case'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED':return t({'id':'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED','string':'The\x20form\x20data\x20size\x20limits\x20are\x20exceeded.\x20Please\x20upload\x20a\x20smaller\x20file.'});case'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR','string':'AI\x20is\x20preparing\x20a\x20response...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH','string':'AI\x20is\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_REASONING','string':'AI\x20is\x20using\x20reasoning\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING','string':'AI\x20is\x20using\x20reasoning\x20and\x20searching\x20the\x20web\x20to\x20provide\x20the\x20most\x20accurate\x20answer...'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','string':'Scanned\x20the\x20internet\x20for\x20insights'});case'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','string':'AI\x20used\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING':return t({'id':'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','string':'AI\x20used\x20search\x20and\x20reasoning\x20to\x20improve\x20the\x20response'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR','string':'Ask\x20AI\x20anything...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH','string':'Ask\x20AI\x20anything\x20(web\x20search\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING','string':'Ask\x20AI\x20anything\x20(reasoning\x20enabled)...'});case'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING':return t({'id':'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING','string':'Ask\x20AI\x20anything\x20(web\x20search\x20and\x20reasoning\x20enabled)...'});case'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','string':'Suggest\x20all'},_0x11ac58);case'AI_CHAT_SUGGESTION_ACTION_SUGGEST':return t({'id':'AI_CHAT_SUGGESTION_ACTION_SUGGEST','string':'Suggest'},_0x11ac58);case'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','string':'Apply\x20all'});case'AI_CHAT_SUGGESTION_ACTION_APPLY':return t({'id':'AI_CHAT_SUGGESTION_ACTION_APPLY','string':'Apply'});case'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP':return t({'id':'AI_CHAT_SUGGESTION_MORE_OPTIONS_TOOLTIP','string':'More\x20options'},_0x11ac58);case'AI_CHAT_MODEL_SELECTOR_GROUP':return t({'id':'AI_CHAT_MODEL_SELECTOR_GROUP','string':'Models'});case'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','string':'Select\x20a\x20model'});case'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP':return t({'id':'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','string':'Start\x20a\x20new\x20conversation\x20to\x20change\x20the\x20model'});case'AI_CHAT_CAPABILITIES_YES':return t({'id':'AI_CHAT_CAPABILITIES_YES','string':'Yes'});case'AI_CHAT_CAPABILITIES_NO':return t({'id':'AI_CHAT_CAPABILITIES_NO','string':'No'});case'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT':return t({'id':'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT','string':'The\x20selected\x20model\x20is\x20no\x20longer\x20available,\x20so\x20you\x20cannot\x20continue\x20this\x20conversation.\x20Please\x20'});case'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON':return t({'id':'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON','string':'start\x20a\x20new\x20one.'});case'AI_CHAT_CONTEXT_SOURCES_LABEL':return t({'id':'AI_CHAT_CONTEXT_SOURCES_LABEL','string':'Sources'});case'AI_CHAT_HISTORY_HEADING':return t({'id':'AI_CHAT_HISTORY_HEADING','string':'Chat\x20History'});case'AI_CHAT_HISTORY_SEARCH_LABEL':return t({'id':'AI_CHAT_HISTORY_SEARCH_LABEL','string':'Search\x20history'});case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY','string':'No\x20chats\x20were\x20found\x20matching\x20\x22%0\x22.'},_0x11ac58);case'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY':return t({'id':'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY','string':'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.'});case'AI_CHAT_HISTORY_EMPTY_MESSAGE':return t({'id':'AI_CHAT_HISTORY_EMPTY_MESSAGE','string':'Your\x20chat\x20history\x20for\x20current\x20document\x20will\x20appear\x20here.'});case'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON':return t({'id':'AI_CHAT_HISTORY_GO_TO_CHAT_BUTTON','string':'Go\x20to\x20chat'});case'AI_CHAT_HISTORY_PIN_BUTTON':return t({'id':'AI_CHAT_HISTORY_PIN_BUTTON','string':'Pin'});case'AI_CHAT_HISTORY_SHOW_MORE_ITEMS':return t({'id':'AI_CHAT_HISTORY_SHOW_MORE_ITEMS','string':'Show\x20more\x20items'});case'AI_CHAT_HISTORY_EDIT_NAME':return t({'id':'AI_CHAT_HISTORY_EDIT_NAME','string':'Edit\x20name'});case'AI_CHAT_HISTORY_REMOVE':return t({'id':'AI_CHAT_HISTORY_REMOVE','string':'Remove'});case'AI_CHAT_HISTORY_REMOVE_CONFIRM':return t({'id':'AI_CHAT_HISTORY_REMOVE_CONFIRM','string':'Do\x20you\x20want\x20to\x20remove\x20this\x20chat?'});case'AI_CHAT_HISTORY_ACCEPT':return t({'id':'AI_CHAT_HISTORY_ACCEPT','string':'Accept'});case'AI_CHAT_HISTORY_CANCEL':return t({'id':'AI_CHAT_HISTORY_CANCEL','string':'Cancel'});case'AI_CHAT_HISTORY_LOADING_REMOVING':return t({'id':'AI_CHAT_HISTORY_LOADING_REMOVING','string':'Removing\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_RENAMING':return t({'id':'AI_CHAT_HISTORY_LOADING_RENAMING','string':'Renaming\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_PINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_PINNING','string':'Pinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_LOADING_UNPINNING':return t({'id':'AI_CHAT_HISTORY_LOADING_UNPINNING','string':'Unpinning\x20the\x20chat...'});case'AI_CHAT_HISTORY_CATEGORY_PINNED':return t({'id':'AI_CHAT_HISTORY_CATEGORY_PINNED','string':'Pinned'});case'AI_CHAT_HISTORY_CATEGORY_TODAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_TODAY','string':'Today'});case'AI_CHAT_HISTORY_CATEGORY_YESTERDAY':return t({'id':'AI_CHAT_HISTORY_CATEGORY_YESTERDAY','string':'Yesterday'});case'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS','string':'Last\x2014\x20days'});case'AI_CHAT_HISTORY_CATEGORY_LATER':return t({'id':'AI_CHAT_HISTORY_CATEGORY_LATER','string':'Later'});case'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE','string':'Failed\x20to\x20change\x20the\x20\x22%0\x22\x20chat\x20name.\x20Please\x20try\x20again\x20later.'},_0x11ac58);case'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED':return t({'id':'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED','string':'Failed\x20to\x20%0\x20the\x20\x22%1\x22\x20chat.\x20Please\x20try\x20again\x20later.'},_0x11ac58);case'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM':return t({'id':'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM','string':'Failed\x20to\x20delete\x20the\x20\x22%0\x22\x20chat.\x20Please\x20try\x20again\x20later.'},_0x11ac58);case'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS':return t({'id':'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS','string':'Failed\x20to\x20load\x20the\x20chat\x20history.\x20Please\x20try\x20again\x20later.'});case'AI_CHAT_HISTORY_ERROR_GENERIC':return t({'id':'AI_CHAT_HISTORY_ERROR_GENERIC','string':'Something\x20went\x20wrong.\x20Please\x20try\x20again\x20later.'});case'AI_CHAT_HISTORY_PIN_ACTION':return t({'id':'AI_CHAT_HISTORY_PIN_ACTION','string':'pin'});case'AI_CHAT_HISTORY_UNPIN_ACTION':return t({'id':'AI_CHAT_HISTORY_UNPIN_ACTION','string':'unpin'});case'AI_BALLOON_HEADER_TITLE':return t({'id':'AI_BALLOON_HEADER_TITLE','string':'Change\x20%0'},_0x11ac58);case'AI_BALLOON_APPLY_BUTTON':return t({'id':'AI_BALLOON_APPLY_BUTTON','string':'Apply'});case'AI_BALLOON_SUGGEST_BUTTON':return t({'id':'AI_BALLOON_SUGGEST_BUTTON','string':'Suggest'});case'AI_BALLOON_NEXT_LABEL':return t({'id':'AI_BALLOON_NEXT_LABEL','string':'Next'});case'AI_BALLOON_PREVIOUS_LABEL':return t({'id':'AI_BALLOON_PREVIOUS_LABEL','string':'Previous'});case'AI_SUGGESTION_NO_PARTS_WARNING':return t({'id':'AI_SUGGESTION_NO_PARTS_WARNING','string':'This\x20change\x20is\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_SUGGESTION_EMPTY_PART_WARNING':return t({'id':'AI_SUGGESTION_EMPTY_PART_WARNING','string':'Some\x20of\x20the\x20changes\x20are\x20not\x20supported\x20by\x20the\x20editor\x20and\x20can\x27t\x20be\x20previewed\x20or\x20applied.'});case'AI_ACTIONS_TRY_AGAIN':return t({'id':'AI_ACTIONS_TRY_AGAIN','string':'Retry'});case'AI_ACTIONS_PREVIOUS_INTERACTION':return t({'id':'AI_ACTIONS_PREVIOUS_INTERACTION','string':'Previous'});case'AI_ACTIONS_NEXT_INTERACTION':return t({'id':'AI_ACTIONS_NEXT_INTERACTION','string':'Next'});case'AI_MODEL_NAME_AUTO':return t({'id':'AI_MODEL_NAME_AUTO','string':'Auto'});case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});case'AI_QUICK_ACTIONS_SEARCH':return t({'id':'AI_QUICK_ACTIONS_SEARCH','string':'Search\x20AI\x20commands'});case'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND','string':'No\x20AI\x20commands\x20found'});case'AI_QUICK_ACTIONS_ASK_AI':return t({'id':'AI_QUICK_ACTIONS_ASK_AI','string':'Ask\x20AI'});case'AI_QUICK_ACTIONS_CHAT_COMMANDS':return t({'id':'AI_QUICK_ACTIONS_CHAT_COMMANDS','string':'Chat\x20commands'});case'AI_QUICK_ACTIONS_IMPROVE_WRITING':return t({'id':'AI_QUICK_ACTIONS_IMPROVE_WRITING','string':'Improve\x20writing'});case'AI_QUICK_ACTIONS_CONTINUE_WRITING':return t({'id':'AI_QUICK_ACTIONS_CONTINUE_WRITING','string':'Continue\x20writing'});case'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING':return t({'id':'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','string':'Fix\x20grammar\x20&\x20spelling'});case'AI_QUICK_ACTIONS_ADJUST_LENGTH':return t({'id':'AI_QUICK_ACTIONS_ADJUST_LENGTH','string':'Adjust\x20length'});case'AI_QUICK_ACTIONS_CHANGE_TONE':return t({'id':'AI_QUICK_ACTIONS_CHANGE_TONE','string':'Change\x20tone'});case'AI_QUICK_ACTIONS_TRANSLATE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE','string':'Translate'});case'AI_QUICK_ACTIONS_EXPLAIN':return t({'id':'AI_QUICK_ACTIONS_EXPLAIN','string':'Explain'});case'AI_QUICK_ACTIONS_SUMMARIZE':return t({'id':'AI_QUICK_ACTIONS_SUMMARIZE','string':'Summarize'});case'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS':return t({'id':'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','string':'Highlight\x20key\x20points'});case'AI_QUICK_ACTIONS_MAKE_SHORTER':return t({'id':'AI_QUICK_ACTIONS_MAKE_SHORTER','string':'Make\x20shorter'});case'AI_QUICK_ACTIONS_MAKE_LONGER':return t({'id':'AI_QUICK_ACTIONS_MAKE_LONGER','string':'Make\x20longer'});case'AI_QUICK_ACTIONS_MORE_CASUAL':return t({'id':'AI_QUICK_ACTIONS_MORE_CASUAL','string':'More\x20casual'});case'AI_QUICK_ACTIONS_MORE_DIRECT':return t({'id':'AI_QUICK_ACTIONS_MORE_DIRECT','string':'More\x20direct'});case'AI_QUICK_ACTIONS_MORE_FRIENDLY':return t({'id':'AI_QUICK_ACTIONS_MORE_FRIENDLY','string':'More\x20friendly'});case'AI_QUICK_ACTIONS_MORE_CONFIDENT':return t({'id':'AI_QUICK_ACTIONS_MORE_CONFIDENT','string':'More\x20confident'});case'AI_QUICK_ACTIONS_MORE_PROFESSIONAL':return t({'id':'AI_QUICK_ACTIONS_MORE_PROFESSIONAL','string':'More\x20professional'});case'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT':return t({'id':'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT','string':'Adjust\x20based\x20on\x20the\x20rest\x20of\x20the\x20document'});case'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','string':'English'});case'AI_QUICK_ACTIONS_TRANSLATE_CHINESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_QUICK_ACTIONS_TRANSLATE_FRENCH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_FRENCH','string':'French'});case'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','string':'Japanese'});case'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','string':'Portuguese'});case'AI_QUICK_ACTIONS_TRANSLATE_KOREAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_KOREAN','string':'Korean'});case'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','string':'Italian'});case'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','string':'Russian'});case'AI_QUICK_ACTIONS_TRANSLATE_SPANISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_SPANISH','string':'Spanish'});case'AI_QUICK_ACTIONS_TRANSLATE_GERMAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_GERMAN','string':'German'});case'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','string':'%0\x20plugin\x20is\x20required\x20but\x20not\x20found.'},_0x11ac58);case'AI_QUICK_ACTIONS_OTHER':return t({'id':'AI_QUICK_ACTIONS_OTHER','string':'Other'});case'AI_ACTIONS_GENERIC_ERROR':return t({'id':'AI_ACTIONS_GENERIC_ERROR','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20response.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_BALLOON_SELECTION_REMOVED_ERROR':return t({'id':'AI_BALLOON_SELECTION_REMOVED_ERROR','string':'Changes\x20cannot\x20be\x20applied.\x20The\x20original\x20content\x20no\x20longer\x20exists.'});case'AI_REVIEW_MODE_STOP_GENERATING':return t({'id':'AI_REVIEW_MODE_STOP_GENERATING','string':'Stop\x20generating'});case'AI_REVIEW_MODE_HIDE_CHANGES':return t({'id':'AI_REVIEW_MODE_HIDE_CHANGES','string':'Hide\x20changes'});case'AI_REVIEW_MODE_SHOW_CHANGES':return t({'id':'AI_REVIEW_MODE_SHOW_CHANGES','string':'Show\x20changes'});case'AI_REVIEW_MODE_ACCEPT_ALL':return t({'id':'AI_REVIEW_MODE_ACCEPT_ALL','string':'Accept\x20all'});case'AI_REVIEW_MODE_EXIT_REVIEW':return t({'id':'AI_REVIEW_MODE_EXIT_REVIEW','string':'Exit\x20review'});case'AI_REVIEW_MODE_ACCEPT_CHANGE':return t({'id':'AI_REVIEW_MODE_ACCEPT_CHANGE','string':'Accept'});case'AI_REVIEW_MODE_DISMISS_CHANGE':return t({'id':'AI_REVIEW_MODE_DISMISS_CHANGE','string':'Dismiss'});case'AI_REVIEW_MODE_LEARN_MORE':return t({'id':'AI_REVIEW_MODE_LEARN_MORE','string':'Learn\x20more'});case'AI_REVIEW_MODE_COMPLETED_TEXT':return t({'id':'AI_REVIEW_MODE_COMPLETED_TEXT','string':'There\x27s\x20nothing\x20left\x20to\x20review.'});case'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT':return t({'id':'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20changes\x20to\x20suggest.'});case'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL','string':'Finish\x20Review'});case'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE':return t({'id':'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE','string':'Review\x20complete.\x20Finish\x20when\x20ready.'});case'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE':return t({'id':'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE','string':'AI\x20Review\x20initialized\x20with\x20errors.\x20Some\x20features\x20may\x20not\x20be\x20available\x20or\x20work\x20properly.'});case'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20the\x20whole\x20review\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE':return t({'id':'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE','string':'Not\x20everything\x20went\x20through,\x20but\x20the\x20completed\x20items\x20are\x20listed\x20below.'});case'AI_REVIEW_MODE':return t({'id':'AI_REVIEW_MODE','string':'Review'});case'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR':return t({'id':'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR','string':'Prompt\x20must\x20not\x20be\x20empty'});case'AI_REVIEW_CHECK_CUSTOM_TITLE':return t({'id':'AI_REVIEW_CHECK_CUSTOM_TITLE','string':'Custom\x20command'});case'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CUSTOM_DESCRIPTION','string':'Enter\x20a\x20custom\x20command\x20for\x20a\x20specific\x20review.'});case'AI_REVIEW_CHECK_CORRECTNESS_TITLE':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_TITLE','string':'Proofread'});case'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CORRECTNESS_DESCRIPTION','string':'Check\x20the\x20text\x20for\x20errors\x20in\x20grammar,\x20spelling,\x20and\x20punctuation.'});case'AI_REVIEW_CHECK_CLARITY_TITLE':return t({'id':'AI_REVIEW_CHECK_CLARITY_TITLE','string':'Improve\x20clarity'});case'AI_REVIEW_CHECK_CLARITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_CLARITY_DESCRIPTION','string':'Improve\x20the\x20logical\x20structure\x20and\x20precision\x20for\x20clearer\x20message.'});case'AI_REVIEW_CHECK_READABILITY_TITLE':return t({'id':'AI_REVIEW_CHECK_READABILITY_TITLE','string':'Improve\x20readability'});case'AI_REVIEW_CHECK_READABILITY_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_READABILITY_DESCRIPTION','string':'Adjust\x20sentence\x20structure\x20and\x20word\x20choice\x20for\x20an\x20easier\x20read.'});case'AI_REVIEW_CHECK_MAKE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TITLE','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_DESCRIPTION','string':'Shorten\x20or\x20lengthen\x20the\x20text\x20as\x20needed.'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_LABEL','string':'Adjust\x20length'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_LONGER','string':'Longer'});case'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER':return t({'id':'AI_REVIEW_CHECK_MAKE_OPTIONS_DATA_SHORTER','string':'Shorter'});case'AI_REVIEW_CHECK_MAKE_TONE_TITLE':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_TITLE','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_DESCRIPTION','string':'Modify\x20the\x20text\x20to\x20a\x20desired\x20tone\x20and\x20style.'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_LABEL','string':'Adjust\x20tone\x20and\x20style'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CASUAL','string':'Casual'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_DIRECT','string':'Direct'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_FRIENDLY','string':'Friendly'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_CONFIDENT','string':'Confident'});case'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL':return t({'id':'AI_REVIEW_CHECK_MAKE_TONE_OPTIONS_DATA_PROFESSIONAL','string':'Professional'});case'AI_REVIEW_CHECK_TRANSLATE_TITLE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_TITLE','string':'Translate'});case'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_DESCRIPTION','string':'Translate\x20the\x20text\x20into\x20another\x20language.'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_LABEL','string':'Select\x20language'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ENGLISH','string':'English'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_SPANISH','string':'Spanish'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_FRENCH','string':'French'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_GERMAN','string':'German'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_JAPANESE','string':'Japanese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_RUSSIAN','string':'Russian'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_PORTUGUESE','string':'Portuguese'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_KOREAN','string':'Korean'});case'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN':return t({'id':'AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_ITALIAN','string':'Italian'});case'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED','string':'Accepted'});case'AI_REVIEW_MODE_CHECK_STATUS_REJECTED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_REJECTED','string':'Dismissed'});case'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED':return t({'id':'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED','string':'Outdated'});case'AI_TOGGLE_BUTTON_LABEL':return t({'id':'AI_TOGGLE_BUTTON_LABEL','string':'AI'});case'AI_TRANSLATE_ACCEPT_ALL':return t({'id':'AI_TRANSLATE_ACCEPT_ALL','string':'Accept\x20translation'});case'AI_TRANSLATE_FINISH_HEADER_TITLE':return t({'id':'AI_TRANSLATE_FINISH_HEADER_TITLE','string':'Translation\x20complete.\x20Finish\x20when\x20ready.'});case'AI_TRANSLATE_EMPTY_RESULTS_TEXT':return t({'id':'AI_TRANSLATE_EMPTY_RESULTS_TEXT','string':'There\x20are\x20no\x20translations\x20to\x20review.'});case'AI_TRANSLATE_FINISH_BUTTON_LABEL':return t({'id':'AI_TRANSLATE_FINISH_BUTTON_LABEL','string':'Finish\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE','string':'Content\x20Translation'});case'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION':return t({'id':'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION','string':'A\x20dedicated\x20mode\x20for\x20translating\x20the\x20entire\x20text.'});case'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE','string':'Translating\x20to'});case'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE':return t({'id':'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE','string':'Translated\x20to'});case'AI_TRANSLATE_GENERAL_ERROR_MESSAGE':return t({'id':'AI_TRANSLATE_GENERAL_ERROR_MESSAGE','string':'Sorry,\x20we\x20couldn\x27t\x20generate\x20translations\x20properly.\x20Please\x20try\x20again\x20in\x20a\x20moment.'});case'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','string':'This\x20conversation\x20is\x20loaded\x20from\x20chat\x20history\x20from\x20a\x20previous\x20session,\x20so\x20you\x20can’t\x20apply,\x20reject,\x20or\x20suggest\x20changes.'});case'AI_SUGGESTION_DISABLED_FEED_MESSAGE':return t({'id':'AI_SUGGESTION_DISABLED_FEED_MESSAGE','string':'Actions\x20aren’t\x20available\x20for\x20changes\x20from\x20a\x20previous\x20session.'});default:return _0x43a8bb;}}function _0x5477c5(_0x38bc6d){return _0x38bc6d?_0x38bc6d instanceof _0x14e616['Editor']?[_0x38bc6d]:_0x38bc6d['editors']&&0x0!==_0x38bc6d['editors']['length']?Array['from'](_0x38bc6d['editors']):[]:[];}function _0x5128bd(_0x1e6094){const _0x2cc69f=_0x5477c5(_0x1e6094);if(!_0x2cc69f['length'])throw new _0x14e616['CKEditorError']('ai-get-editor-from-context-no-editor');if(0x1===_0x2cc69f['length'])return _0x2cc69f[0x0];const _0x254775=_0x2cc69f['find'](_0xb23cd=>_0xb23cd['ui']?.['focusTracker']?.['isFocused']);if(_0x254775)return _0x254775;const _0x90aad8=function(_0x37979e){if(_0x37979e instanceof _0x14e616['Editor'])return;const _0x55e472=_0x37979e;if(!_0x55e472['plugins']||!_0x55e472['plugins']['has']('AIEditing'))return;return _0x55e472['plugins']['get']('AIEditing')['getLastContentFocusedEditor']?.();}(_0x1e6094);return _0x90aad8&&_0x2cc69f['includes'](_0x90aad8)?_0x90aad8:_0x2cc69f[0x0];}const _0x406a11='ai-selection',_0x50acbb=['br'];var _0x11b915=class extends _0x14e616['ContextPlugin']{constructor(_0x5d3bbe){super(_0x5d3bbe),this['context']['config']['define']('ai.models.showModelSelector',!0x0);}['_outputDataProcessor'];['_fakeSelections']=[];['_sessionIdByEditor']=new WeakMap();['_lastContentFocusedEditor'];static get['pluginName'](){return'AIEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['getLastContentFocusedEditor'](){return this['_lastContentFocusedEditor'];}['getSessionId'](_0xb17ae9){let _0x5ded3f=this['_sessionIdByEditor']['get'](_0xb17ae9);return _0x5ded3f||(_0x5ded3f=_0xb17ae9['plugins']['has']('RealTimeCollaborationClient')&&_0xb17ae9['plugins']['get']('RealTimeCollaborationClient')['sessionId']||(0x0,_0x14e616['uid'])(),this['_sessionIdByEditor']['set'](_0xb17ae9,_0x5ded3f)),_0x5ded3f;}async['getDocumentData'](){const _0xa275cd=_0x5477c5(this['context']);if(!_0xa275cd['length'])throw new _0x14e616['CKEditorError']('ai-get-editor-from-context-no-editor');const _0x462bd7=[],_0x49e775=new Set();for(const _0x470e05 of _0xa275cd){const _0x2a27db=_0x470e05['config']['get']('roots')||{};for(const _0x1409d3 of _0x470e05['model']['document']['getRoots']()){if('$graveyard'===_0x1409d3['rootName'])continue;const _0x230dd6=await this['_getDocumentDataForEditorRoot'](_0x470e05,_0x1409d3,_0x49e775),_0x2a8101=_0x2a27db[_0x1409d3['rootName']],_0x10aef8=_0x1409d3['getAttribute']('$description')??_0x2a8101?.['description'];let _0x2cda30=_0x1409d3['getAttribute']('$title')??_0x2a8101?.['title'];_0x2cda30||(_0x2cda30=_0x1409d3['getAttribute']('$rootEditableOptions')?.['label']??_0x2a8101?.['label']),_0x2cda30||((0x0,_0x14e616['logWarning'])('ai-document-root-missing-title',{'editor':_0x470e05,'rootName':_0x1409d3['rootName']}),_0x2cda30=_0x1409d3['rootName']),_0x462bd7['push']({'editor':_0x470e05,'rootName':_0x1409d3['rootName'],'content':_0x230dd6['content'],'version':_0x230dd6['version'],'sessionId':this['getSessionId'](_0x470e05),'channelId':_0x470e05['config']['get']('collaboration.channelId'),'selections':_0x230dd6['selections'],'name':_0x2cda30,'description':_0x10aef8});}}return _0x462bd7;}async['_getDocumentDataForEditorRoot'](_0x50bf33,_0x25dd4a,_0x39961f){const _0xaf8104=_0x50bf33['data']['toView'](_0x25dd4a,{'convertAiChatSelectionMarker':!0x0}),_0x1f4ae1=new _0x14e616['ViewDowncastWriter'](_0x50bf33['editing']['view']['document']);this['_setDataIdsOnChildren'](_0xaf8104,_0x1f4ae1,_0x39961f);let _0x1c3510=await this['_getDocumentDataStringFromView'](_0xaf8104,_0x50bf33);const _0x330c0d=this['_getMarkersInDocumentOrder'](_0x50bf33,_0x25dd4a),_0x1b29cf=[];for(const _0x275a9a of _0x330c0d){const _0xa443e8='<'+_0x275a9a['name']+':start></'+_0x275a9a['name']+':start>',_0x501a9b=_0x1c3510['indexOf'](_0xa443e8);_0x1c3510=_0x1c3510['substring'](0x0,_0x501a9b)+_0x1c3510['substring'](_0x501a9b+_0xa443e8['length']);const _0x5c76d9='<'+_0x275a9a['name']+':end></'+_0x275a9a['name']+':end>',_0x5b3e15=_0x1c3510['indexOf'](_0x5c76d9);_0x1c3510=_0x1c3510['substring'](0x0,_0x5b3e15)+_0x1c3510['substring'](_0x5b3e15+_0x5c76d9['length']),_0x1b29cf['push']({'markerName':_0x275a9a['name'],'start':_0x501a9b,'end':_0x5b3e15,'htmlFragment':_0x1c3510['substring'](_0x501a9b,_0x5b3e15)});}return{'content':_0x1c3510,'version':_0x50bf33['model']['document']['version'],'selections':_0x1b29cf};}['afterInit'](){this['context']instanceof _0x14e616['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x21c947,_0x19bc36)=>{_0x19bc36['on']('ready',()=>{this['_integrateEditor'](_0x19bc36);});});}['_setOutputDataProcessor'](_0x26ad22){this['_outputDataProcessor']=_0x26ad22;}async['_getDocumentDataStringFromView'](_0x5cf960,_0x33e10e){let _0x3013aa;if(this['_outputDataProcessor']){const _0x316e61=_0x33e10e['data']['processor']['domConverter']['viewToDom'](_0x5cf960),_0x2f6426=await this['_outputDataProcessor'](_0x316e61);_0x3013aa=_0x33e10e['data']['processor']['htmlWriter']['getHtml'](_0x2f6426);}else _0x3013aa=_0x33e10e['data']['processor']['toData'](_0x5cf960);return _0x3013aa;}['_integrateEditor'](_0x51c84b){if(!_0x51c84b['config']['get']('collaboration.channelId'))throw new _0x14e616['CKEditorError']('ai-missing-channel-id',_0x51c84b);_0x51c84b['ui']['focusTracker']['on']('change:isFocused',(_0x1f77bc,_0x483be6,_0xc928c4)=>{_0xc928c4&&(this['_lastContentFocusedEditor']=_0x51c84b);}),_0x51c84b['on']('destroy',()=>{this['_lastContentFocusedEditor']===_0x51c84b&&(this['_lastContentFocusedEditor']=void 0x0);}),_0x51c84b['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x406a11,'view':({markerName:_0xfcc366})=>({'classes':['ck-ai-assistant-ui_theme','ck-fake-ai-selection','ck-fake-ai-selection-'+_0xfcc366['split'](':')[0x1]],'priority':0xc})}),_0x51c84b['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x406a11+':context','view':(_0x4aab90,{writer:_0x486355,options:_0x1eae85})=>_0x1eae85['convertAiChatSelectionMarker']?_0x486355['createUIElement'](_0x4aab90['markerName']+':'+(_0x4aab90['isOpening']?'start':'end')):null});}['showFakeVisualSelection'](_0x57bbef){const _0x480dd7=this['_fakeSelections'][0x0]||null;this['_addFakeSelection'](_0x57bbef);const _0x11e7cc=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x480dd7,_0x11e7cc);}['hideFakeVisualSelection'](_0x3451ad){const _0x17b34b=this['_fakeSelections'][0x0]||null;this['_removeFakeSelectionById'](_0x3451ad);const _0x259928=this['_fakeSelections'][0x0]||null;this['_refreshFakeSelection'](_0x17b34b,_0x259928);}async['modelToDataWithIds'](_0x5c1b8c,_0x51250b){const _0x3fe1f6=_0x51250b['data']['toView'](_0x5c1b8c),_0x39d0a0=new _0x14e616['ViewDowncastWriter'](_0x51250b['editing']['view']['document']);return this['_setDataIdsOnChildren'](_0x3fe1f6,_0x39d0a0),this['_getDocumentDataStringFromView'](_0x3fe1f6,_0x51250b);}['_setDataIdsOnChildren'](_0x31d3db,_0x4897b4,_0x30b9c2=new Set()){let _0x57f06f=!0x1;for(const _0x37c35f of _0x31d3db['getChildren']()){if(!_0x37c35f['is']('view:element')||_0x50acbb['includes'](_0x37c35f['name']))continue;const _0x387947=_0x37c35f['is']('view:containerElement'),_0x3d1686=_0x37c35f['is']('view:emptyElement'),_0x2b9f1b=_0x37c35f['is']('view:rawElement'),_0x38c04b=this['_setDataIdsOnChildren'](_0x37c35f,_0x4897b4,_0x30b9c2);_0x37c35f['hasAttribute']('data-id')?(_0x57f06f=!0x0,_0x30b9c2['add'](_0x37c35f['getAttribute']('data-id'))):(_0x387947||_0x3d1686||_0x2b9f1b||_0x38c04b)&&(_0x4897b4['setAttribute']('data-id',this['_nextDataId'](_0x30b9c2),_0x37c35f),_0x57f06f=!0x0);}return _0x57f06f;}['_nextDataId'](_0x2e8508){let _0x464c08;do{_0x464c08='';for(let _0x459a18=0x0;_0x459a18<0x4;_0x459a18++)_0x464c08+=String['fromCharCode'](0x61+Math['floor'](0x1a*Math['random']()));}while(_0x2e8508['has'](_0x464c08));return _0x2e8508['add'](_0x464c08),_0x464c08;}['getSelectionText'](_0x219022){const _0x1f74e2=(_0x219022?_0x219022['model']:_0x5128bd(this['context'])['model'])['document']['selection'],_0x490b06=[],_0xc81da9=Array['from'](_0x1f74e2['getRanges']());_0xc81da9['sort']((_0x52d433,_0x381534)=>_0x52d433['start']['isBefore'](_0x381534['start'])?-0x1:0x1);for(const _0x118a37 of _0xc81da9)for(const _0xbd1915 of _0x118a37['getItems']())_0xbd1915['is']('$textProxy')?_0x490b06['push'](_0xbd1915['data']):_0xbd1915['is']('element')&&_0x490b06['length']>0x0&&'\x20'!==_0x490b06[_0x490b06['length']-0x1]&&_0x490b06['push']('\x20');return _0x490b06['length']?'\x22'+_0x490b06['join']('')['trim']()+'\x22':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_DOCUMENT_SELECTION_LABEL');}['_removeFakeSelectionById'](_0x34d091){for(let _0x5bece1=0x0;_0x5bece1<this['_fakeSelections']['length'];_0x5bece1++)if(this['_fakeSelections'][_0x5bece1]['id']==_0x34d091)return void this['_fakeSelections']['splice'](_0x5bece1,0x1);}['_addFakeSelection'](_0x54c7e6){this['_removeFakeSelectionById'](_0x54c7e6['id']),(0x0,_0x14e616['insertToPriorityArray'])(this['_fakeSelections'],_0x54c7e6);}['_refreshFakeSelection'](_0x35042c,_0x595613){if(_0x35042c==_0x595613)return;const _0x3b5dac=_0x35042c?_0x35042c['editor']:null,_0x3054db=_0x595613?_0x595613['editor']:null,_0x1f4fe4=(_0x37239a,_0x89370c)=>{const _0xd63e=_0x89370c['model']['markers']['getMarkersGroup'](_0x406a11);for(const _0x21c9cb of _0xd63e)_0x37239a['removeMarker'](_0x21c9cb);},_0x59da36=(_0x50721e,_0x25a4e7,_0x4e6490)=>{const _0x262c9f=_0x25a4e7['model'];for(let _0xbfc509=0x0;_0xbfc509<_0x4e6490['ranges']['length'];_0xbfc509++){let _0x1920ee=_0x4e6490['ranges'][_0xbfc509];const _0x328b59=_0x406a11+':'+_0x4e6490['id']+':'+_0xbfc509;if(_0x1920ee['start']['isAtEnd']){const _0x19936e=_0x1920ee['start']['getLastMatchingPosition'](({item:_0x24b816})=>!_0x262c9f['schema']['isContent'](_0x24b816),{'boundaries':_0x1920ee});_0x1920ee=_0x50721e['createRange'](_0x19936e,_0x1920ee['end']);}_0x50721e['addMarker'](_0x328b59,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0x1920ee});}};_0x3b5dac&&_0x3054db&&_0x3b5dac===_0x3054db&&_0x595613?_0x3b5dac['model']['change'](_0x537942=>{_0x1f4fe4(_0x537942,_0x3b5dac),_0x59da36(_0x537942,_0x3054db,_0x595613);}):(_0x3b5dac&&_0x3b5dac['model']['change'](_0x514874=>_0x1f4fe4(_0x514874,_0x3b5dac)),_0x3054db&&_0x595613&&_0x3054db['model']['change'](_0x1eba03=>_0x59da36(_0x1eba03,_0x3054db,_0x595613)));}['_getMarkersInDocumentOrder'](_0x3b07fd,_0x565086){const _0x2917ac=Array['from'](_0x3b07fd['model']['markers']['getMarkersGroup'](_0x406a11+':context'));return(_0x565086?_0x2917ac['filter'](_0x466aba=>{const _0x49dc3b=_0x466aba['getRange']();return _0x49dc3b&&_0x49dc3b['root']['rootName']===_0x565086['rootName'];}):_0x2917ac)['sort']((_0x2ab5eb,_0x513efa)=>_0x2ab5eb['getStart']()['isBefore'](_0x513efa['getStart']())?-0x1:_0x2ab5eb['getStart']()['isAfter'](_0x513efa['getStart']())?0x1:0x0);}},_0x5141ff=class extends _0x14e616['ContextPlugin']{static get['pluginName'](){return'Permissions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['setPermissions'](_0xecbc7,_0xaaf845){let _0x230c1d;if(_0xaaf845||(_0xaaf845=this['context']['config']['get']('collaboration.channelId')),this['context']['config']['get']('collaboration.channelId')==_0xaaf845?_0x230c1d=this['context']:'editors'in this['context']&&this['context']['editors']&&(_0x230c1d=this['context']['editors']['find'](_0x4a9796=>_0x4a9796['config']['get']('collaboration.channelId')==_0xaaf845)),!_0x230c1d)throw new _0x14e616['CKEditorError']('permissions-set-permissions-invalid-channel-id',null);const _0x2c8421=_0x230c1d['plugins'],_0xcea291=_0x2c8421['has']('CommentsRepository')?_0x2c8421['get']('CommentsRepository'):void 0x0,_0x4b3ba1=_0x2c8421['has']('CommentsOnly')&&_0x2c8421['get']('CommentsOnly'),_0x48c9a5=_0xecbc7['includes']('document:write'),_0x441871=_0xecbc7['includes']('comment:modify_all'),_0x32f77b=_0xecbc7['includes']('comment:admin'),_0x34a8e9=_0xecbc7['includes']('comment:write'),_0x588194=_0x34a8e9||_0x32f77b,_0x976f21=_0x588194||_0x441871,_0x5605e0=_0x48c9a5||_0x588194;if(_0x4b3ba1&&(_0x4b3ba1['isEnabled']=!_0x48c9a5&&_0x976f21),_0x230c1d instanceof _0x14e616['Editor']&&(_0x48c9a5||_0x976f21&&_0xcea291?_0x230c1d['disableReadOnlyMode']('no-permissions'):_0x230c1d['enableReadOnlyMode']('no-permissions')),_0xcea291){_0xcea291['setPermissions']({'admin':_0x32f77b,'modifyAll':_0x441871,'write':_0x34a8e9,'resolve':_0x5605e0},_0xaaf845);const _0x466b51=_0x230c1d instanceof _0x14e616['Editor']&&_0x230c1d['commands']['get']('addCommentThread');_0x466b51&&(_0x588194?_0x466b51['clearForceDisabled']('noPermissions'):_0x466b51['forceDisabled']('noPermissions'));}}};function _0x36c059(_0x2068d9,_0x225b43){const t=_0x2068d9['t'];switch(_0x225b43){case'Anonymous':return t('Anonymous');case'Yes':return t('Yes');case'No':return t('No');case'Are\x20you\x20sure?':return t('Are\x20you\x20sure?');case'Today':return t('Today');case'Yesterday':return t('Yesterday');case'Last':return t('Last');case'Monday':return t('Monday');case'Tuesday':return t('Tuesday');case'Wednesday':return t('Wednesday');case'Thursday':return t('Thursday');case'Friday':return t('Friday');case'Saturday':return t('Saturday');case'Sunday':return t('Sunday');default:return'';}}var _0x17484f=class extends _0x14e616['ContextPlugin']{['users'];['_lastColor'];['_myId'];['_locale'];static get['pluginName'](){return'Users';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5141ff];}constructor(_0x50d5cc){super(_0x50d5cc),this['context']['config']['define']('users.anonymousUserId','anonymous-user'),this['context']['config']['define']('users.colorsCount',0x8),this['users']=new _0x14e616['Collection'](),this['_locale']=_0x50d5cc['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:_0x579fdf,name:_0xa972d9,..._0x1352d4}){if(!_0x579fdf||'string'!=typeof _0x579fdf)throw new _0x14e616['CKEditorError']('users-add-invalid-id');if(this['users']['has'](_0x579fdf))throw new _0x14e616['CKEditorError']('users-add-duplicated-id',null,{'id':_0x579fdf});const _0x5c7613=this['context']['config']['get']('users.getInitialsCallback'),_0x266f8b={..._0x1352d4,'id':_0x579fdf,'name':_0x541161(this['_locale'],_0xa972d9),'color':this['_getNextColor']()};_0x266f8b['name']=_0x541161(this['_locale'],_0x266f8b['name']);const _0x8f8344=new _0x44dfa2(_0x266f8b,_0x5c7613);return this['users']['add'](_0x8f8344),_0x8f8344;}['getUser'](_0x5951b5){return this['users']['get'](_0x5951b5);}['useAnonymousUser'](){const _0x5ea1a8=this['context']['config']['get']('users.anonymousUserId');this['_myId']||this['defineMe'](_0x5ea1a8);}['defineMe'](_0x454e29){if(this['_myId'])throw new _0x14e616['CKEditorError']('users-me-already-defined',null);const _0x27edb1=this['getUser'](_0x454e29);if(!_0x27edb1)throw new _0x14e616['CKEditorError']('users-me-missing-user',null);this['_myId']=_0x454e29,_0x27edb1['_isMe']=!0x0;}['getOperationAuthor'](){return this['me'];}['_getNextColor'](){const _0x21e0d7=this['context']['config']['get']('users.colorsCount');return this['_lastColor']>=_0x21e0d7&&(this['_lastColor']=0x0),new _0x45656f(this['_lastColor']++);}['_addAnonymousUser'](){const _0x423507=this['context']['config']['get']('users.anonymousUserId');this['addUser']({'id':_0x423507,'name':_0x36c059(this['_locale'],'Anonymous')})['_isAnonymous']=!0x0;}},_0x44dfa2=class{['id'];['color'];['name'];['initials'];['avatar'];['_isMe'];['_isAnonymous'];constructor(_0x5858cc,_0x294430){this['id']=_0x5858cc['id'],this['color']=_0x5858cc['color'],this['name']=_0x5858cc['name'],this['initials']=_0x294430?_0x294430(this['name']):this['_computeInitials'](),this['avatar']=_0x5858cc['avatar'],this['_isAnonymous']=!0x1,this['_isMe']=!0x1;}get['isAnonymous'](){return this['_isAnonymous'];}get['isMe'](){return this['_isMe'];}['_computeInitials'](){const _0xe9b42f=this['name']['split']('\x20')['filter'](_0x574f3b=>/^[\p{Letter}]/u['test'](_0x574f3b));return 0x1===_0xe9b42f['length']?this['_getInitial'](_0xe9b42f[0x0]):0x0===_0xe9b42f['length']?this['_getInitial'](this['name']):this['_getInitial'](_0xe9b42f[0x0])+this['_getInitial'](_0xe9b42f[_0xe9b42f['length']-0x1]);}['_getInitial'](_0x32a4db){return String['fromCodePoint'](_0x32a4db['codePointAt'](0x0))['toUpperCase']();}};function _0x541161(_0x360893,_0x1c904a=''){return''==(_0x1c904a=_0x1c904a['trim']())?_0x36c059(_0x360893,'Anonymous'):_0x1c904a;}var _0x45656f=class{['_id'];constructor(_0x1e947e){this['_id']=_0x1e947e;}get['id'](){return this['_id'];}['getBackgroundColorClass'](){return'ck-user__bg-color--'+this['id'];}['getSelectionClass'](){return'ck-user__selection--'+this['id'];}['getMarkerClass'](){return'ck-user__marker--'+this['id'];}['getColorVariable'](){return'var(--ck-user-colors--'+this['id']+',\x20var(--ck-user-colors--0))';}['getColorAlphaVariable'](){return'var(--ck-user-colors--'+this['id']+'-alpha,\x20var(--ck-user-colors--0-alpha))';}},_0x1a027b=class extends _0x14e616['View']{['name'];['notificationView'];constructor(_0x39f8a1,_0x18772a,_0x1b12cf,_0x316652){super(_0x39f8a1),this['name']=_0x18772a['name'],this['notificationView']=null;const _0x56ee4f=['ck','ck-user'],_0xc365bd=['ck','ck-user__img'];_0x18772a['isAnonymous']&&_0xc365bd['push']('ck-user__anonymous'),!_0x18772a['isAnonymous']&&_0x18772a['isMe']&&_0x56ee4f['push']('ck-user_me'),(_0x18772a['avatar']||_0x316652)&&_0xc365bd['push']('ck-user__avatar');let _0x39347e=null;if(_0x316652&&(_0x39347e=new _0x14e616['IconView'](),_0x39347e['content']=_0x316652,_0x39347e['extendTemplate']({'attributes':{'class':['ck-user__avatar-icon']}})),_0x1b12cf){const _0x279bc8=new _0x14e616['IconView']();_0x279bc8['extendTemplate']({'attributes':{'class':['ck-user__icon']}}),_0x279bc8['content']=_0x14e616['IconNotification'],this['notificationView']={'tag':'div','attributes':{'class':['ck','ck-user__notification'],'data-cke-tooltip-position':'n','data-cke-tooltip-text':_0x1b12cf},'children':[_0x279bc8]};}const _0x1f6484=[{'tag':'div','attributes':{'class':_0xc365bd,'style':{'background-image':_0x18772a['avatar']&&!_0x316652?'url(\x27'+_0x18772a['avatar']+'\x27)':''}},'children':_0x39347e?[_0x39347e]:[]},{'tag':'div','attributes':{'class':_0x18772a['avatar']||_0x316652?'ck\x20ck-user__name\x20ck-user__name--hidden':'ck\x20ck-user__name','aria-label':_0x18772a['name']},'children':[{'text':_0x18772a['initials']}]}];this['notificationView']&&_0x1f6484['push'](this['notificationView']),this['setTemplate']({'tag':'div','attributes':{'class':_0x56ee4f,'data-user-id':_0x18772a['id']},'children':_0x1f6484});}},_0x971b3f=class extends _0x14e616['View']{['children'];['iconView'];['labelView'];constructor(_0x1aed2c){super(_0x1aed2c);const _0x4bfb0a=this['bindTemplate'];this['set']('icon',void 0x0),this['set']('label',void 0x0),this['set']('tooltip',void 0x0),this['set']('tooltipPosition','n'),this['set']('tooltipClass',void 0x0),this['set']('iconPosition','left'),this['set']('class',void 0x0),this['children']=this['createCollection'](),this['iconView']=this['_createIconView'](),this['labelView']=this['_createLabelView'](),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill',_0x4bfb0a['to']('class'),_0x4bfb0a['to']('iconPosition',_0x3a3884=>'right'===_0x3a3884?'ck-pill_icon-right':'')],'data-cke-tooltip-text':_0x4bfb0a['to']('tooltip'),'data-cke-tooltip-position':_0x4bfb0a['to']('tooltipPosition'),'data-cke-tooltip-class':_0x4bfb0a['to']('tooltipClass')},'children':this['children']});}['render'](){super['render'](),this['icon']&&this['children']['add'](this['iconView']),this['children']['add'](this['labelView']),this['on']('change:icon',(_0x1a4ba6,_0x4e47fa,_0x1f6283,_0x138c7a)=>{_0x1f6283&&!_0x138c7a?this['children']['add'](this['iconView'],0x0):!_0x1f6283&&_0x138c7a&&this['children']['remove'](this['iconView']);});}['_createIconView'](){const _0x5362bc=new _0x14e616['IconView']();return _0x5362bc['extendTemplate']({'attributes':{'class':'ck-pill__icon'}}),_0x5362bc['bind']('content')['to'](this,'icon'),_0x5362bc;}['_createLabelView'](){const _0x39847d=new _0x14e616['View'](this['locale']),_0x4390f9=this['bindTemplate'];return _0x39847d['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-pill__label']},'children':[{'text':_0x4390f9['to']('label')}]}),_0x39847d;}},_0x17f7ca=class extends _0x14e616['View']{['id'];constructor(_0x3260bd,_0x30883d){super(_0x3260bd),this['id']='ck-aria-description-'+(0x0,_0x14e616['uid'])(),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-aria-description'],'id':this['id']},'children':[{'text':_0x30883d}]});}},_0x104fb5=class extends _0x14e616['ButtonView']{['render'](){super['render'](),_0x27896b(this);}},_0x9ce03c=class extends _0x14e616['DropdownButtonView']{['render'](){super['render'](),_0x27896b(this);}};function _0x27896b(_0x13e729){_0x13e729['listenTo'](_0x13e729['element'],'mousedown',(_0x4523af,_0x32b7ee)=>{_0x32b7ee['stopPropagation'](),_0x32b7ee['preventDefault']();}),_0x13e729['listenTo'](_0x13e729['element'],'mouseup',()=>{_0x13e729['element']['focus']();});}function _0x567555(_0x23abb4){const _0x1649e4=_0x23abb4['split'](':');return{'group':_0x1649e4[0x0],'type':_0x1649e4[0x1],'subType':_0x1649e4['length']>=0x5?_0x1649e4[0x2]:null,'id':_0x1649e4['length']<0x5?_0x1649e4[0x2]:_0x1649e4[0x3],'authorId':_0x1649e4['length']<0x5?_0x1649e4[0x3]:_0x1649e4[0x4],'markerCount':0x6==_0x1649e4['length']?_0x1649e4[0x5]:null};}function _0x19d162(_0x3c54b6,_0x277580){const _0x324529=_0x3c54b6['end']['nodeBefore'];if(_0x324529&&_0x324529['is']('element')&&_0x277580['schema']['isBlock'](_0x324529)&&!_0x277580['schema']['isObject'](_0x324529)){const _0x21b044=_0x277580['createPositionAt'](_0x324529,'end');return _0x277580['createRange'](_0x3c54b6['start'],_0x21b044);}return _0x3c54b6;}var _0x1eb3b1=class extends _0x14e616['Plugin']{['afterInit'](){const _0x512975=this['editor'];_0x512975['plugins']['has']('AlignmentEditing')&&_0x512975['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('alignment');}};const _0x2fa716=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var _0x52ea11=class extends _0x14e616['Plugin']{['afterInit'](){const _0x23975f=this['editor'],_0x3245f9=_0x23975f['plugins']['get']('SuggestionsConversion');for(const _0x3634d4 of _0x2fa716){if(!_0x23975f['plugins']['has'](_0x3634d4))continue;const _0x460af4=_0x3634d4['slice'](0x0,-0x7)['toLowerCase']();_0x3245f9['registerInlineAttribute'](_0x460af4);}}},_0x122295=class extends _0x14e616['Plugin']{['afterInit'](){const _0x5e0ff4=this['editor'],_0x39ce5b=_0x5e0ff4['plugins']['get']('SuggestionsConversion');_0x5e0ff4['plugins']['has']('BookmarkEditing')&&_0x39ce5b['registerBlockAttribute']('bookmarkId');}};const _0x587569=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var _0x36331a=class extends _0x14e616['Plugin']{['afterInit'](){const _0x2ead95=this['editor']['plugins']['get']('SuggestionsConversion');for(const {pluginName:_0x53902c,commandName:_0x213ccf}of _0x587569)this['editor']['plugins']['has'](_0x53902c)&&_0x2ead95['registerInlineAttribute'](_0x213ccf);}},_0x1f6cd7=class extends _0x14e616['Plugin']{['afterInit'](){const {editor:_0x585f1b}=this;if(!_0x585f1b['plugins']['has']('FootnotesPropertiesEditing'))return;const _0x5ea9b5=_0x585f1b['plugins']['get']('SuggestionsConversion');_0x5ea9b5['registerBlockAttribute']('footnotesListStyle'),_0x5ea9b5['registerBlockAttribute']('footnotesListStart');}},_0x33d957=class extends _0x14e616['Plugin']{['afterInit'](){const _0x4b94ea=this['editor'];if(!_0x4b94ea['plugins']['has']('GeneralHtmlSupport')||!_0x4b94ea['plugins']['has']('DataSchema'))return;const _0x1bd656=_0x4b94ea['plugins']['get']('SuggestionsConversion'),_0x2a9827=_0x4b94ea['plugins']['get']('GeneralHtmlSupport'),_0x35bddd=_0x4b94ea['plugins']['get']('DataSchema');for(const _0x3b70d9 of _0x35bddd['getDefinitionsForView'](/.*/,!0x1)){const _0x386dc5=_0x2a9827['getGhsAttributeNameForElement'](_0x3b70d9['view']);!_0x3b70d9['isInline']||_0x3b70d9['isObject']||'appliesToBlock'in _0x3b70d9&&_0x3b70d9['appliesToBlock']?_0x1bd656['registerBlockAttribute'](_0x386dc5):_0x1bd656['registerInlineAttribute'](_0x386dc5);}}},_0x3b491a=class extends _0x14e616['Plugin']{['afterInit'](){const _0x3a0237=this['editor'];_0x3a0237['plugins']['has']('HighlightEditing')&&_0x3a0237['plugins']['get']('SuggestionsConversion')['registerInlineAttribute']('highlight');}},_0x138c46=class extends _0x14e616['Plugin']{['afterInit'](){const _0x319f87=this['editor'];_0x319f87['plugins']['has']('HtmlEmbed')&&_0x319f87['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('value');}},_0x43b821=class extends _0x14e616['Plugin']{['afterInit'](){const _0x8f345a=this['editor'];if(!_0x8f345a['plugins']['has']('ImageEditing'))return;const _0x225f4f=_0x8f345a['plugins']['get']('SuggestionsConversion');_0x225f4f['registerBlockAttribute']('src'),_0x8f345a['plugins']['has']('ImageResize')&&_0x225f4f['registerBlockAttribute']('resizedWidth'),_0x8f345a['plugins']['has']('ImageTextAlternativeEditing')&&_0x225f4f['registerBlockAttribute']('alt'),_0x8f345a['plugins']['has']('PictureEditing')&&_0x225f4f['registerBlockAttribute']('sources'),_0x8f345a['plugins']['has']('ImageSizeAttributes')&&(_0x225f4f['registerBlockAttribute']('width'),_0x225f4f['registerBlockAttribute']('height'));}},_0x203b93=class extends _0x14e616['Plugin']{['afterInit'](){const _0x4a9b9e=this['editor'],_0x200f0a=_0x4a9b9e['plugins']['get']('SuggestionsConversion');_0x4a9b9e['plugins']['has']('IndentBlock')&&(_0x200f0a['registerBlockAttribute']('blockIndent'),_0x4a9b9e['plugins']['has']('ListEditing')&&(_0x200f0a['registerBlockAttribute']('blockIndentList'),_0x200f0a['registerBlockAttribute']('blockIndentListItem')));}},_0x4e530d=class extends _0x14e616['Plugin']{['afterInit'](){const _0x55ec23=this['editor'];_0x55ec23['plugins']['has']('LineHeight')&&_0x55ec23['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('lineHeight');}},_0x5275bb=class extends _0x14e616['Plugin']{['afterInit'](){const _0x233a13=this['editor'];if(!_0x233a13['plugins']['has']('LinkEditing'))return;const _0xdcf46a=_0x233a13['plugins']['get']('SuggestionsConversion'),_0x225f60=_0x233a13['commands']['get']('link');_0xdcf46a['registerInlineAttribute']('linkHref');for(const _0x44b544 of _0x225f60['manualDecorators'])_0xdcf46a['registerInlineAttribute'](_0x44b544['id']);}},_0x20411b=class extends _0x14e616['Plugin']{['afterInit'](){const _0x3271bb=this['editor'];if(!_0x3271bb['plugins']['has']('ListEditing'))return;const _0x3130b9=_0x3271bb['plugins']['get']('SuggestionsConversion'),_0x3fbc7e=_0x3271bb['plugins']['has']('TodoListEditing');_0x3130b9['registerBlockAttribute']('listItemId'),_0x3130b9['registerBlockAttribute']('listType'),_0x3130b9['registerBlockAttribute']('listIndent'),_0x3fbc7e&&_0x3130b9['registerBlockAttribute']('todoListChecked');}},_0x2c58a0=class extends _0x14e616['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x328d5e=this['editor']['config']['get']('list.properties'),_0x3143c2=this['editor']['plugins']['get']('SuggestionsConversion');_0x328d5e['styles']&&_0x3143c2['registerBlockAttribute']('listStyle'),_0x328d5e['reversed']&&_0x3143c2['registerBlockAttribute']('listReversed'),_0x328d5e['startIndex']&&_0x3143c2['registerBlockAttribute']('listStart');}},ti=class extends _0x14e616['Plugin']{['afterInit'](){const _0x5ec2ad=this['editor'],_0x1d49da=_0x5ec2ad['plugins']['get']('SuggestionsConversion');_0x5ec2ad['plugins']['has']('MultiLevelList')&&_0x1d49da['registerBlockAttribute']('listMarkerStyle');}},_0x359dbb=class extends _0x14e616['Plugin']{['afterInit'](){const _0xc168d2=this['editor'];if(!_0xc168d2['plugins']['has']('TableEditing'))return;const _0x4c9da8=_0xc168d2['plugins']['get']('SuggestionsConversion');_0x4c9da8['registerBlockAttribute']('headingRows'),_0x4c9da8['registerBlockAttribute']('headingColumns');}},_0x5ba42b=class extends _0x14e616['Plugin']{['afterInit'](){const {plugins:_0x25bef8}=this['editor'];if(!_0x25bef8['has']('TablePropertiesEditing'))return;const _0x28a95d=_0x25bef8['get']('SuggestionsConversion');for(const _0x5deff0 of['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'])_0x28a95d['registerBlockAttribute'](_0x5deff0);}},_0x9851fe=class extends _0x14e616['Plugin']{['afterInit'](){const _0x46126a=this['editor'],_0x5816ce=_0x46126a['plugins']['get']('SuggestionsConversion');_0x46126a['plugins']['has']('TableLayout')&&_0x5816ce['registerBlockAttribute']('tableType');}},_0x53d6d4=class extends _0x14e616['Plugin']{['afterInit'](){const _0x367fc6=this['editor'],_0x57d963=this['editor']['plugins']['get']('SuggestionsConversion');_0x367fc6['plugins']['has']('Uploadcare')&&_0x367fc6['plugins']['has']('UploadcareImageEdit')&&_0x57d963['registerBlockAttribute']('uploadcareImageId');}},_0x243a15=class extends _0x14e616['Plugin']{['afterInit'](){const _0x3571cd=this['editor'];if(!_0x3571cd['plugins']['has']('ShiftEnter'))return;const _0x4b32df=_0x3571cd['plugins']['get']('SuggestionsConversion'),_0x13fbc1=(_0x16c2d4,_0x6de373,_0x1be6fa,_0xbc27e)=>{if(_0xbc27e&&!_0x1be6fa['options']['showSuggestionHighlights'])return;if(!_0x1be6fa['consumable']['test'](_0x6de373['markerRange'],_0x16c2d4['name']))return;const _0x45c400=_0x3571cd['model'];for(const _0x2413ed of _0x6de373['markerRange']['getItems']()){if(!_0x2413ed['is']('element','softBreak'))continue;const _0x5ebddc='deletion'==_0x6de373['markerName']['split'](':')[0x1]?'merge':'split',{id:_0x334b90,authorId:_0x43092f}=_0x567555(_0x6de373['markerName']),_0xb49a1=_0x1be6fa['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5ebddc,'data-suggestion':_0x334b90,'data-author-id':_0x43092f}),_0x330630=_0x1be6fa['mapper']['toViewPosition'](_0x45c400['createPositionBefore'](_0x2413ed));!_0xbc27e&&_0x4b32df['_activeMarkers']['includes'](_0x6de373['markerName'])&&_0x1be6fa['writer']['addClass']('ck-suggestion-marker--active',_0xb49a1),_0x1be6fa['writer']['insert'](_0x330630,_0xb49a1),_0x1be6fa['mapper']['bindElementToMarker'](_0xb49a1,_0x6de373['markerName']);}};_0x3571cd['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x660fd1,_0x4d387a,_0x110fb2)=>{_0x13fbc1(_0x660fd1,_0x4d387a,_0x110fb2,!0x1);},{'priority':'high'}),_0x3571cd['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x39d884,_0x57ef6c,_0x3be7a9)=>{_0x13fbc1(_0x39d884,_0x57ef6c,_0x3be7a9,!0x1);},{'priority':'high'}),_0x3571cd['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0xa01814,_0x531f8a,_0x41e4a0)=>{_0x13fbc1(_0xa01814,_0x531f8a,_0x41e4a0,!0x0);},{'priority':'high'}),_0x3571cd['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x4a352a,_0x44e62c,_0x58f88c)=>{_0x13fbc1(_0x4a352a,_0x44e62c,_0x58f88c,!0x0);},{'priority':'high'});}},_0x471411=class extends _0x14e616['Plugin']{['afterInit'](){const _0x32cd4c=this['editor'];if(!_0x32cd4c['plugins']['has']('MediaEmbedEditing'))return;const _0x5a7987=_0x32cd4c['plugins']['get']('SuggestionsConversion');_0x32cd4c['plugins']['has']('MediaEmbedResizeEditing')&&_0x5a7987['registerBlockAttribute']('resizedWidth'),_0x32cd4c['plugins']['has']('MediaEmbedStyleEditing')&&_0x5a7987['registerBlockAttribute']('mediaStyle'),_0x32cd4c['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x161d47,{writer:_0x226f24,options:_0x8df196})=>{if(_0x8df196['showSuggestionHighlights'])return _0x226f24['createEmptyElement']('div');},'converterPriority':'high'}),_0x32cd4c['data']['downcastDispatcher']['on']('attribute:url:media',(_0x12ef94,_0x1b67d8,_0x1c2926)=>{_0x1c2926['options']['showSuggestionHighlights']&&_0x12ef94['stop']();},{'priority':'high'});}},_0x3219db=class extends _0x14e616['Plugin']{['afterInit'](){const _0x17cce0=this['editor'];if(!_0x17cce0['plugins']['has']('Table'))return;_0x17cce0['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x2a2532,_0x5b6690,_0x5bfc0e)=>{((_0x2e5878,_0x3cba02,_0x221db6)=>{if(!_0x221db6['options']['showSuggestionHighlights'])return;const _0x147a72=_0x3cba02['item'];if(!_0x147a72||!_0x147a72['is']('element','tableCell'))return;const _0x444717=_0x221db6['mapper']['toViewElement'](_0x147a72);if(_0x444717){const {id:_0x1e5904,authorId:_0x41a06f}=_0x567555(_0x3cba02['markerName']);(0x0,_0x14e616['setHighlightHandling'])(_0x444717,_0x221db6['writer'],(_0x5bcfa1,_0x223da9,_0x1618f3)=>{_0x1618f3['addClass']((0x0,_0x14e616['toArray'])(_0x223da9['classes']),_0x5bcfa1),_0x1618f3['setAttribute']('data-suggestion',_0x1e5904,_0x5bcfa1),_0x1618f3['setAttribute']('data-author-id',_0x41a06f,_0x5bcfa1);});}})(0x0,_0x5b6690,_0x5bfc0e);},{'priority':'highest'});}},_0x12c9c1=class extends _0x14e616['Plugin']{['afterInit'](){const _0x2f4e29=this['editor'];_0x2f4e29['plugins']['has']('HorizontalLineEditing')&&_0x2f4e29['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x540ff3,{writer:_0x387169,options:_0x41361f})=>{if(!_0x41361f['showSuggestionHighlights'])return null;const _0x37697d=_0x387169['createContainerElement']('div'),_0x3e69a4=_0x387169['createEmptyElement']('hr');return _0x387169['addClass']('ck-horizontal-line',_0x37697d),_0x387169['insert'](_0x387169['createPositionAt'](_0x37697d,0x0),_0x3e69a4),_0x37697d;},'converterPriority':'high'});}},_0x5c76dc=class extends _0x14e616['Plugin']{['afterInit'](){const {plugins:_0x1fbbad,model:_0x3014ee}=this['editor'];if(!_0x1fbbad['has']('TableCellPropertiesEditing'))return;const _0x26ed77=_0x1fbbad['get']('SuggestionsConversion');for(const _0x4156c7 of['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment'])_0x26ed77['registerBlockAttribute'](_0x4156c7);_0x3014ee['schema']['checkAttribute']('tableCell','tableCellType')&&_0x26ed77['registerBlockAttribute']('tableCellType');}},_0x56a4d0=class extends _0x14e616['Plugin']{['afterInit'](){const _0x1c01a2=this['editor'];_0x1c01a2['plugins']['has']('TableEditing')&&_0x1c01a2['config']['get']('table.enableFooters')&&_0x1c01a2['plugins']['get']('SuggestionsConversion')['registerBlockAttribute']('footerRows');}},_0x44c64b=class extends _0x14e616['Plugin']{['_activeMarkers']=[];['_blockAttributeKeys']=new Set(['$elementName']);['_inlineAttributeKeys']=new Set();static get['pluginName'](){return'SuggestionsConversion';}static get['requires'](){return[_0x1eb3b1,_0x52ea11,_0x122295,_0x36331a,_0x1f6cd7,_0x33d957,_0x3b491a,_0x12c9c1,_0x138c46,_0x43b821,_0x203b93,_0x4e530d,_0x5275bb,_0x20411b,_0x2c58a0,_0x471411,ti,_0x243a15,_0x3219db,_0x359dbb,_0x56a4d0,_0x9851fe,_0x5c76dc,_0x5ba42b,_0x53d6d4];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x23667a=this['editor'],_0x3f15c4=(_0x2194df,_0x3fad2c,_0x461a82)=>{const {id:_0x1c0a78,authorId:_0x2218a3,type:_0xfaf26f,subType:_0x4490a4}=_0x567555(_0x2194df['markerName']),_0x23d375=['ck-suggestion-marker',this['_getClassName'](_0xfaf26f,_0x4490a4)];let _0x5a9dcf=0xbb8;return _0x461a82||this['_activeMarkers']['includes'](_0x2194df['markerName'])&&(_0x23d375['push']('ck-suggestion-marker--active'),_0x5a9dcf=0xbc2),'deletion'==_0xfaf26f&&(_0x5a9dcf+=0x5),{'classes':_0x23d375,'attributes':{'data-suggestion':_0x1c0a78,'data-author-id':_0x2218a3},'priority':_0x5a9dcf};};_0x23667a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x93e32e,_0x240136)=>_0x3f15c4(_0x93e32e,0x0,!0x1)}),_0x23667a['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion','view':(_0x3e8639,_0x4fc6a7)=>_0x3f15c4(_0x3e8639,0x0,!0x0)}),_0x23667a['conversion']['for']('dataDowncast')['add'](_0x5937a1=>{_0x5937a1['on']('addMarker:suggestion',(_0x2818a5,_0xbd7a2c,_0x4a6c8b)=>{if(!_0x4a6c8b['options']['showSuggestionHighlights'])return;const _0x2140ac=_0xbd7a2c['item'];if(!_0x2140ac)return;const _0x98bf16=_0x4a6c8b['mapper']['toViewElement'](_0x2140ac);_0x23667a['model']['schema']['isObject'](_0x2140ac)&&_0x98bf16&&!_0x98bf16['getCustomProperty']('widget')&&_0x98bf16['is']('containerElement')&&(0x0,_0x14e616['toWidget'])(_0x98bf16,_0x4a6c8b['writer']);},{'priority':'high'});});const _0x545725=(_0x4f7b46,_0x554636,_0xac3251,_0xbf503e,_0x52e8d9)=>{if(_0xbf503e&&!_0xac3251['options']['showSuggestionHighlights'])return;if(!_0x554636['item'])return;const {id:_0x26f3c7,authorId:_0x4927fe,subType:_0x1f4c3f}=_0x567555(_0x554636['markerName']);if(_0x52e8d9){const _0x56a2fb=_0x1f4c3f['split']('|')[0x0];if(!this['isBlockAttribute'](_0x56a2fb))return;}if(_0x554636['item']['is']('selection'))return void _0xac3251['consumable']['consume'](_0x554636['item'],_0x4f7b46['name']);const _0x542e86=_0xac3251['mapper']['toViewElement'](_0x554636['item']);if(_0x554636['item']['is']('element')&&_0x23667a['model']['schema']['isBlock'](_0x554636['item'])&&!_0x542e86['getCustomProperty']('addHighlight')){_0xac3251['writer']['addClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock'],_0x542e86),_0xac3251['writer']['setAttribute']('data-suggestion',_0x26f3c7,_0x542e86),_0xac3251['writer']['setAttribute']('data-author-id',_0x4927fe,_0x542e86),_0xac3251['mapper']['bindElementToMarker'](_0x542e86,_0x554636['markerName']),_0xbf503e||(this['_activeMarkers']['includes'](_0x554636['markerName'])?_0xac3251['writer']['addClass']('ck-suggestion-marker--active',_0x542e86):_0xac3251['writer']['removeClass']('ck-suggestion-marker--active',_0x542e86));for(const _0x57f364 of _0x23667a['model']['createRangeIn'](_0x554636['item'])['getItems']())_0xac3251['consumable']['consume'](_0x57f364,_0x4f7b46['name']);_0xac3251['consumable']['consume'](_0x554636['item'],_0x4f7b46['name']);}},_0x5528e3=(_0x18bc84,_0x55f0bf,_0x16ca53,_0x1df9c1)=>{const _0x5b8c4d=_0x16ca53['mapper']['markerNameToElements'](_0x55f0bf['markerName']);if(_0x5b8c4d){if(_0x1df9c1){const {subType:_0x1649e3}=_0x567555(_0x55f0bf['markerName']),_0x47324a=_0x1649e3['split']('|')[0x0];if(!this['isBlockAttribute'](_0x47324a))return;}for(const _0x5bcce4 of _0x5b8c4d)_0x5bcce4['getCustomProperty']('addHighlight')||(_0x16ca53['writer']['removeClass'](['ck-suggestion-marker','ck-suggestion-marker-formatBlock','ck-suggestion-marker--active'],_0x5bcce4),_0x16ca53['writer']['removeAttribute']('data-suggestion',_0x5bcce4),_0x16ca53['writer']['removeAttribute']('data-author-id',_0x5bcce4),_0x16ca53['mapper']['unbindElementFromMarkerName'](_0x5bcce4,_0x55f0bf['markerName']));}};_0x23667a['conversion']['for']('editingDowncast')['add'](_0x4dcb2c=>{_0x4dcb2c['on']('addMarker:suggestion:formatBlock',(_0x4fdea7,_0x182415,_0x31c517)=>{_0x545725(_0x4fdea7,_0x182415,_0x31c517,!0x1,!0x1);},{'priority':'high'});}),_0x23667a['conversion']['for']('editingDowncast')['add'](_0x5eaba2=>{_0x5eaba2['on']('addMarker:suggestion:attribute',(_0x5a40c5,_0x1a3df6,_0x5384c6)=>{_0x545725(_0x5a40c5,_0x1a3df6,_0x5384c6,!0x1,!0x0);},{'priority':'high'});}),_0x23667a['conversion']['for']('editingDowncast')['add'](_0x45ae40=>{_0x45ae40['on']('removeMarker:suggestion:formatBlock',(_0x17e3fa,_0x4690a3,_0x541a14)=>{_0x5528e3(0x0,_0x4690a3,_0x541a14,!0x1);},{'priority':'high'});}),_0x23667a['conversion']['for']('editingDowncast')['add'](_0x3d3bdc=>{_0x3d3bdc['on']('removeMarker:suggestion:attribute',(_0x28438e,_0x4d54a1,_0x26bd22)=>{_0x5528e3(0x0,_0x4d54a1,_0x26bd22,!0x0);},{'priority':'high'});}),_0x23667a['conversion']['for']('dataDowncast')['add'](_0x42dbbf=>{_0x42dbbf['on']('addMarker:suggestion:formatBlock',(_0x5abe29,_0x3f59aa,_0x21f3cb)=>{_0x545725(_0x5abe29,_0x3f59aa,_0x21f3cb,!0x0,!0x1);},{'priority':'highest'});}),_0x23667a['conversion']['for']('dataDowncast')['add'](_0x5f1738=>{_0x5f1738['on']('addMarker:suggestion:attribute',(_0x4c5e2d,_0x277f14,_0x54a565)=>{_0x545725(_0x4c5e2d,_0x277f14,_0x54a565,!0x0,!0x0);},{'priority':'highest'});}),_0x23667a['conversion']['for']('dataDowncast')['markerToData']({'model':'suggestion','view':(_0x17213c,_0x4a87a5)=>_0x4a87a5['options']['showSuggestionHighlights']?null:{'group':'suggestion','name':_0x17213c['substr'](0xb)}});const _0x129821=(_0x2c553c,_0x5f58eb,_0x526246,_0x2ca57c,_0x53e0d6)=>{if(_0x2ca57c&&!_0x526246['options']['showSuggestionHighlights'])return;if(!_0x526246['consumable']['test'](_0x5f58eb['markerRange'],_0x2c553c['name']))return;const _0x1f8610=this['_activeMarkers'],_0x523d4c=_0x5f58eb['markerRange']['getWalker'](),_0x27dd29=_0x5f58eb['markerRange']['start'],_0x579f72=_0x23667a['model']['schema'];let _0x42e5f3=null,_0x493909=null,_0x236e5a=!0x1,_0x500047=!0x1;for(const _0x340e55 of _0x523d4c){const _0x1ddef5=_0x340e55['item'];_0x236e5a=_0x236e5a||_0x579f72['isContent'](_0x1ddef5);const _0x5a89a0=_0x526246['mapper']['toViewElement'](_0x1ddef5);if(_0x5a89a0&&_0x5a89a0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x340e55['type']&&(_0x579f72['isBlock'](_0x1ddef5)&&!_0x579f72['isLimit'](_0x1ddef5)&&(_0x1ddef5['nextSibling']||_0x27dd29['isAtEnd']?_0x42e5f3&&_0x42e5f3['parent']==_0x1ddef5||(_0x42e5f3=_0x1ddef5,_0xe5c251(_0x340e55['previousPosition']),_0x500047=!0x0):_0x493909=_0x493909||_0x340e55['previousPosition']));}function _0xe5c251(_0x3c3769){const {id:_0x4c97c5,authorId:_0x70eb98}=_0x567555(_0x5f58eb['markerName']),_0x72295f=_0x526246['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x53e0d6,'data-suggestion':_0x4c97c5,'data-author-id':_0x70eb98}),_0x136aec=_0x526246['mapper']['toViewPosition'](_0x3c3769);!_0x2ca57c&&_0x1f8610['includes'](_0x5f58eb['markerName'])&&_0x526246['writer']['addClass']('ck-suggestion-marker--active',_0x72295f),_0x526246['writer']['insert'](_0x136aec,_0x72295f),_0x526246['mapper']['bindElementToMarker'](_0x72295f,_0x5f58eb['markerName']);}_0x236e5a||_0x500047||!_0x493909||_0xe5c251(_0x493909);};_0x23667a['editing']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x459891,_0xe0c1dd,_0x6a21a4)=>{_0x129821(_0x459891,_0xe0c1dd,_0x6a21a4,!0x1,'merge');},{'priority':'high'}),_0x23667a['data']['downcastDispatcher']['on']('addMarker:suggestion:deletion',(_0x1e009c,_0x33cf93,_0x515f1d)=>{_0x129821(_0x1e009c,_0x33cf93,_0x515f1d,!0x0,'merge');},{'priority':'high'}),_0x23667a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4c1f74,_0x30cf65,_0x42e4d7)=>{_0x129821(_0x4c1f74,_0x30cf65,_0x42e4d7,!0x1,'split');},{'priority':'high'}),_0x23667a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x46f9e9,_0x25d5b2,_0x4f673f)=>{_0x129821(_0x46f9e9,_0x25d5b2,_0x4f673f,!0x0,'split');},{'priority':'high'}),_0x23667a['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x4ae8f3,_0xba089a,_0x53239b)=>{((_0x222953,_0x1b9201,_0x1a51c6)=>{const _0x1b860d=_0x1a51c6['mapper']['markerNameToElements'](_0x1b9201['markerName']);if(_0x1b860d){for(const _0x27203f of _0x1b860d)(_0x27203f['hasClass']('ck-suggestion-marker-split')||_0x27203f['hasClass']('ck-suggestion-marker-merge'))&&(_0x1a51c6['mapper']['unbindElementFromMarkerName'](_0x27203f,_0x1b9201['markerName']),_0x1a51c6['writer']['remove'](_0x27203f));}})(0x0,_0xba089a,_0x53239b);},{'priority':'high'});const _0x244bf6=(_0x46e120,_0x4a80d8,_0x2909c5,_0x252ce3)=>{if(_0x252ce3&&!_0x2909c5['options']['showSuggestionHighlights'])return;const _0x2c6c5a=_0x4a80d8['markerRange']['start'],_0x57ba6c=_0x4a80d8['markerRange']['end'],_0x29159f=_0x23667a['model']['schema'];if(!_0x2c6c5a['isTouching'](_0x57ba6c)||!_0x2c6c5a['nodeAfter'])return;const _0x341458=_0x2c6c5a['nodeAfter'];if(_0x29159f['isBlock'](_0x341458)&&!_0x29159f['isLimit'](_0x341458)&&_0x29159f['checkChild'](_0x341458,'$text')){if(!_0x2909c5['consumable']['consume'](_0x4a80d8['markerRange'],_0x46e120['name']))return;const {id:_0x4bc295,authorId:_0x2a1234}=_0x567555(_0x4a80d8['markerName']),_0x28938e=_0x2909c5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-split','data-suggestion':_0x4bc295,'data-author-id':_0x2a1234}),_0x421afc=_0x2909c5['mapper']['toViewPosition'](_0x57ba6c);!_0x252ce3&&this['_activeMarkers']['includes'](_0x4a80d8['markerName'])&&_0x2909c5['writer']['addClass']('ck-suggestion-marker--active',_0x28938e),_0x2909c5['writer']['insert'](_0x421afc,_0x28938e),_0x2909c5['mapper']['bindElementToMarker'](_0x28938e,_0x4a80d8['markerName']);}};_0x23667a['editing']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x297f8a,_0x12dd81,_0x333495)=>{_0x244bf6(_0x297f8a,_0x12dd81,_0x333495,!0x1);},{'priority':'high'}),_0x23667a['data']['downcastDispatcher']['on']('addMarker:suggestion:insertion',(_0x4245e3,_0x3eaaca,_0x2e8b50)=>{_0x244bf6(_0x4245e3,_0x3eaaca,_0x2e8b50,!0x0);},{'priority':'high'});}['afterInit'](){this['editor']['plugins']['has']('TrackChangesEditing')&&this['listenTo'](this['editor']['plugins']['get']('TrackChangesEditing'),'change:activeMarkers',(_0x4efdf4,_0x589220,_0x4e22df)=>{this['_activeMarkers']=_0x4e22df['slice']();},{'priority':'highest'});}['registerBlockAttribute'](_0x3f7094){this['_blockAttributeKeys']['add'](_0x3f7094);}['registerInlineAttribute'](_0x3ff59e){this['_inlineAttributeKeys']['add'](_0x3ff59e);}['isBlockAttribute'](_0x425b18){return this['_blockAttributeKeys']['has'](_0x425b18);}['isInlineAttribute'](_0x2b0450){return this['_inlineAttributeKeys']['has'](_0x2b0450);}['isRegisteredAttribute'](_0x404283){return this['isInlineAttribute'](_0x404283)||this['isBlockAttribute'](_0x404283);}['_getClassName'](_0x5db99b,_0x1aeb3e){if('attribute'!=_0x5db99b)return'ck-suggestion-marker-'+_0x5db99b;const _0x3de339=_0x1aeb3e['split']('|')[0x0];return this['isBlockAttribute'](_0x3de339)?'ck-suggestion-marker-formatBlock':'ck-suggestion-marker-formatInline';}},_0x280d91=class extends Error{},_0x49088c=class extends _0x280d91{constructor(_0x5c029f){super('Invalid\x20DateTime:\x20'+_0x5c029f['toMessage']());}},_0x10ceb2=class extends _0x280d91{constructor(_0x50581d){super('Invalid\x20Interval:\x20'+_0x50581d['toMessage']());}},_0x36d241=class extends _0x280d91{constructor(_0x871bf5){super('Invalid\x20Duration:\x20'+_0x871bf5['toMessage']());}},_0x2b191c=class extends _0x280d91{},_0x5e4810=class extends _0x280d91{constructor(_0x16f143){super('Invalid\x20unit\x20'+_0x16f143);}},_0x5d920f=class extends _0x280d91{},_0x24cefe=class extends _0x280d91{constructor(){super('Zone\x20is\x20an\x20abstract\x20class');}};const _0x2194bd='numeric',_0x32b194='short',_0x2c6e4a='long',_0x2df039={'year':_0x2194bd,'month':_0x2194bd,'day':_0x2194bd},_0x53f0ad={'year':_0x2194bd,'month':_0x32b194,'day':_0x2194bd},_0x2a92ce={'year':_0x2194bd,'month':_0x32b194,'day':_0x2194bd,'weekday':_0x32b194},_0x369f36={'year':_0x2194bd,'month':_0x2c6e4a,'day':_0x2194bd},_0x342d4d={'year':_0x2194bd,'month':_0x2c6e4a,'day':_0x2194bd,'weekday':_0x2c6e4a},_0x1f025b={'hour':_0x2194bd,'minute':_0x2194bd},_0x150595={'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd},_0x5b865e={'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd,'timeZoneName':_0x32b194},_0x45d69c={'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd,'timeZoneName':_0x2c6e4a},_0x53147f={'hour':_0x2194bd,'minute':_0x2194bd,'hourCycle':'h23'},_0x3dac71={'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd,'hourCycle':'h23'},_0x21f1c6={'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd,'hourCycle':'h23','timeZoneName':_0x32b194},_0x24dbc4={'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd,'hourCycle':'h23','timeZoneName':_0x2c6e4a},_0x23b3d4={'year':_0x2194bd,'month':_0x2194bd,'day':_0x2194bd,'hour':_0x2194bd,'minute':_0x2194bd},_0x27b172={'year':_0x2194bd,'month':_0x2194bd,'day':_0x2194bd,'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd},_0x248da9={'year':_0x2194bd,'month':_0x32b194,'day':_0x2194bd,'hour':_0x2194bd,'minute':_0x2194bd},_0x4bd579={'year':_0x2194bd,'month':_0x32b194,'day':_0x2194bd,'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd},_0x5c421d={'year':_0x2194bd,'month':_0x32b194,'day':_0x2194bd,'weekday':_0x32b194,'hour':_0x2194bd,'minute':_0x2194bd},_0x505485={'year':_0x2194bd,'month':_0x2c6e4a,'day':_0x2194bd,'hour':_0x2194bd,'minute':_0x2194bd,'timeZoneName':_0x32b194},_0x182961={'year':_0x2194bd,'month':_0x2c6e4a,'day':_0x2194bd,'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd,'timeZoneName':_0x32b194},_0x22b294={'year':_0x2194bd,'month':_0x2c6e4a,'day':_0x2194bd,'weekday':_0x2c6e4a,'hour':_0x2194bd,'minute':_0x2194bd,'timeZoneName':_0x2c6e4a},_0x4b5281={'year':_0x2194bd,'month':_0x2c6e4a,'day':_0x2194bd,'weekday':_0x2c6e4a,'hour':_0x2194bd,'minute':_0x2194bd,'second':_0x2194bd,'timeZoneName':_0x2c6e4a};var _0x15c203=class{get['type'](){throw new _0x24cefe();}get['name'](){throw new _0x24cefe();}get['ianaName'](){return this['name'];}get['isUniversal'](){throw new _0x24cefe();}['offsetName'](_0x220e39,_0x358c1c){throw new _0x24cefe();}['formatOffset'](_0x2be5c4,_0x1e0f40){throw new _0x24cefe();}['offset'](_0x4f6444){throw new _0x24cefe();}['equals'](_0x4600ed){throw new _0x24cefe();}get['isValid'](){throw new _0x24cefe();}};let _0x39a428=null;var _0x441efa=class SystemZone extends _0x15c203{static get['instance'](){return null===_0x39a428&&(_0x39a428=new SystemZone()),_0x39a428;}get['type'](){return'system';}get['name'](){return new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x29b305,{format:_0xd8b498,locale:_0x1edd4b}){return _0x3f115b(_0x29b305,_0xd8b498,_0x1edd4b);}['formatOffset'](_0x30b20d,_0x564b3a){return _0x143dd7(this['offset'](_0x30b20d),_0x564b3a);}['offset'](_0x27863d){return-new Date(_0x27863d)['getTimezoneOffset']();}['equals'](_0x40e0a3){return'system'===_0x40e0a3['type'];}get['isValid'](){return!0x0;}};const _0x3f0439=new Map(),_0x45a809={'year':0x0,'month':0x1,'day':0x2,'era':0x3,'hour':0x4,'minute':0x5,'second':0x6},_0x564079=new Map();var _0xdd0ec2=class _0x3ff335 extends _0x15c203{static['create'](_0x4277b6){let _0x298479=_0x564079['get'](_0x4277b6);return void 0x0===_0x298479&&_0x564079['set'](_0x4277b6,_0x298479=new _0x3ff335(_0x4277b6)),_0x298479;}static['resetCache'](){_0x564079['clear'](),_0x3f0439['clear']();}static['isValidSpecifier'](_0x2c2e0b){return this['isValidZone'](_0x2c2e0b);}static['isValidZone'](_0x1d25f0){if(!_0x1d25f0)return!0x1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x1d25f0})['format'](),!0x0;}catch(_0x8284a){return!0x1;}}constructor(_0x4a78ec){super(),this['zoneName']=_0x4a78ec,this['valid']=_0x3ff335['isValidZone'](_0x4a78ec);}get['type'](){return'iana';}get['name'](){return this['zoneName'];}get['isUniversal'](){return!0x1;}['offsetName'](_0x3ea36e,{format:_0x17baa9,locale:_0x1d507c}){return _0x3f115b(_0x3ea36e,_0x17baa9,_0x1d507c,this['name']);}['formatOffset'](_0x356f84,_0x583a0d){return _0x143dd7(this['offset'](_0x356f84),_0x583a0d);}['offset'](_0x10d318){if(!this['valid'])return NaN;const _0x23a9a6=new Date(_0x10d318);if(isNaN(_0x23a9a6))return NaN;const _0x24dd0f=function(_0x7ce1bd){let _0x5ec36e=_0x3f0439['get'](_0x7ce1bd);return void 0x0===_0x5ec36e&&(_0x5ec36e=new Intl['DateTimeFormat']('en-US',{'hour12':!0x1,'timeZone':_0x7ce1bd,'year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit','second':'2-digit','era':'short'}),_0x3f0439['set'](_0x7ce1bd,_0x5ec36e)),_0x5ec36e;}(this['name']);let [_0x8511f8,_0x7796b9,_0xceda33,_0x48a6f0,_0x467c27,_0x3cddd4,_0x50d809]=_0x24dd0f['formatToParts']?function(_0x2995e9,_0x3f0bf5){const _0x18c4df=_0x2995e9['formatToParts'](_0x3f0bf5),_0x2cc003=[];for(let _0x4cb1dc=0x0;_0x4cb1dc<_0x18c4df['length'];_0x4cb1dc++){const {type:_0x5c60e6,value:_0x2a4045}=_0x18c4df[_0x4cb1dc],_0x55cf2f=_0x45a809[_0x5c60e6];'era'===_0x5c60e6?_0x2cc003[_0x55cf2f]=_0x2a4045:_0xa2810c(_0x55cf2f)||(_0x2cc003[_0x55cf2f]=parseInt(_0x2a4045,0xa));}return _0x2cc003;}(_0x24dd0f,_0x23a9a6):function(_0x3aae46,_0x281c51){const _0x10b90c=_0x3aae46['format'](_0x281c51)['replace'](/\u200E/g,''),[,_0x50c135,_0xbcced0,_0x2cd20b,_0x49df96,_0x4b1e58,_0x41b5ce,_0x475690]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/['exec'](_0x10b90c);return[_0x2cd20b,_0x50c135,_0xbcced0,_0x49df96,_0x4b1e58,_0x41b5ce,_0x475690];}(_0x24dd0f,_0x23a9a6);'BC'===_0x48a6f0&&(_0x8511f8=0x1-Math['abs'](_0x8511f8));let _0x42100d=+_0x23a9a6;const _0xcd36fd=_0x42100d%0x3e8;return _0x42100d-=_0xcd36fd>=0x0?_0xcd36fd:0x3e8+_0xcd36fd,(_0x61eca3({'year':_0x8511f8,'month':_0x7796b9,'day':_0xceda33,'hour':0x18===_0x467c27?0x0:_0x467c27,'minute':_0x3cddd4,'second':_0x50d809,'millisecond':0x0})-_0x42100d)/0xea60;}['equals'](_0x49044a){return'iana'===_0x49044a['type']&&_0x49044a['name']===this['name'];}get['isValid'](){return this['valid'];}};let _0x263341={};const _0x552cdf=new Map();function ts(_0x3b27b0,_0xb01080={}){const _0x3c464b=JSON['stringify']([_0x3b27b0,_0xb01080]);let _0x5c6eeb=_0x552cdf['get'](_0x3c464b);return void 0x0===_0x5c6eeb&&(_0x5c6eeb=new Intl['DateTimeFormat'](_0x3b27b0,_0xb01080),_0x552cdf['set'](_0x3c464b,_0x5c6eeb)),_0x5c6eeb;}const _0x51505f=new Map(),_0x17fdab=new Map();let _0xdbddc5=null;const _0x5b405e=new Map();function _0x59e1c5(_0x498822){let _0x157b95=_0x5b405e['get'](_0x498822);return void 0x0===_0x157b95&&(_0x157b95=new Intl['DateTimeFormat'](_0x498822)['resolvedOptions'](),_0x5b405e['set'](_0x498822,_0x157b95)),_0x157b95;}const _0x18b1f4=new Map();function _0x443789(_0x26c107,_0x2d15d3,_0x333658,_0x447357){const _0x31325c=_0x26c107['listingMode']();return'error'===_0x31325c?null:'en'===_0x31325c?_0x333658(_0x2d15d3):_0x447357(_0x2d15d3);}var _0x3c4c95=class{constructor(_0x252dc1,_0x3783aa,_0x44210b){this['padTo']=_0x44210b['padTo']||0x0,this['floor']=_0x44210b['floor']||!0x1;const {padTo:_0x2a684c,floor:_0x246da2,..._0x1adeb0}=_0x44210b;if(!_0x3783aa||Object['keys'](_0x1adeb0)['length']>0x0){const _0x5a4622={'useGrouping':!0x1,..._0x44210b};_0x44210b['padTo']>0x0&&(_0x5a4622['minimumIntegerDigits']=_0x44210b['padTo']),this['inf']=function(_0xffed18,_0x1f6f8b={}){const _0x4fd0ff=JSON['stringify']([_0xffed18,_0x1f6f8b]);let _0x5dd6a9=_0x51505f['get'](_0x4fd0ff);return void 0x0===_0x5dd6a9&&(_0x5dd6a9=new Intl['NumberFormat'](_0xffed18,_0x1f6f8b),_0x51505f['set'](_0x4fd0ff,_0x5dd6a9)),_0x5dd6a9;}(_0x252dc1,_0x5a4622);}}['format'](_0x2588c0){if(this['inf']){const _0x7d6690=this['floor']?Math['floor'](_0x2588c0):_0x2588c0;return this['inf']['format'](_0x7d6690);}return _0x1dec1b(this['floor']?Math['floor'](_0x2588c0):_0x449d78(_0x2588c0,0x3),this['padTo']);}},_0x4461bb=class{constructor(_0x3912d0,_0x488eee,_0x150300){let _0x5258fc;if(this['opts']=_0x150300,this['originalZone']=void 0x0,this['opts']['timeZone'])this['dt']=_0x3912d0;else{if('fixed'===_0x3912d0['zone']['type']){const _0x54ced9=_0x3912d0['offset']/0x3c*-0x1,_0x432abd=_0x54ced9>=0x0?'Etc/GMT+'+_0x54ced9:'Etc/GMT'+_0x54ced9;0x0!==_0x3912d0['offset']&&_0xdd0ec2['create'](_0x432abd)['valid']?(_0x5258fc=_0x432abd,this['dt']=_0x3912d0):(_0x5258fc='UTC',this['dt']=0x0===_0x3912d0['offset']?_0x3912d0:_0x3912d0['setZone']('UTC')['plus']({'minutes':_0x3912d0['offset']}),this['originalZone']=_0x3912d0['zone']);}else'system'===_0x3912d0['zone']['type']?this['dt']=_0x3912d0:'iana'===_0x3912d0['zone']['type']?(this['dt']=_0x3912d0,_0x5258fc=_0x3912d0['zone']['name']):(_0x5258fc='UTC',this['dt']=_0x3912d0['setZone']('UTC')['plus']({'minutes':_0x3912d0['offset']}),this['originalZone']=_0x3912d0['zone']);}const _0x1c08a2={...this['opts']};_0x1c08a2['timeZone']=_0x1c08a2['timeZone']||_0x5258fc,this['dtf']=ts(_0x488eee,_0x1c08a2);}['format'](){return this['originalZone']?this['formatToParts']()['map'](({value:_0x5cd0da})=>_0x5cd0da)['join'](''):this['dtf']['format'](this['dt']['toJSDate']());}['formatToParts'](){const _0x4e419c=this['dtf']['formatToParts'](this['dt']['toJSDate']());return this['originalZone']?_0x4e419c['map'](_0x56c250=>{if('timeZoneName'===_0x56c250['type']){const _0xdbcd1=this['originalZone']['offsetName'](this['dt']['ts'],{'locale':this['dt']['locale'],'format':this['opts']['timeZoneName']});return{..._0x56c250,'value':_0xdbcd1};}return _0x56c250;}):_0x4e419c;}['resolvedOptions'](){return this['dtf']['resolvedOptions']();}},_0x56c4d2=class{constructor(_0x3a61df,_0x43f669,_0x345465){this['opts']={'style':'long',..._0x345465},!_0x43f669&&_0xf69173()&&(this['rtf']=function(_0x179e2b,_0x4be263={}){const {base:_0x23a31e,..._0x3d8896}=_0x4be263,_0x155649=JSON['stringify']([_0x179e2b,_0x3d8896]);let _0x16aced=_0x17fdab['get'](_0x155649);return void 0x0===_0x16aced&&(_0x16aced=new Intl['RelativeTimeFormat'](_0x179e2b,_0x4be263),_0x17fdab['set'](_0x155649,_0x16aced)),_0x16aced;}(_0x3a61df,_0x345465));}['format'](_0x453e04,_0x154190){return this['rtf']?this['rtf']['format'](_0x453e04,_0x154190):function(_0x4f8ad6,_0x3cd88a,_0x2dbf59='always',_0x5c3098=!0x1){const _0x34bf0f={'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.']},_0x510c6a=-0x1===['hours','minutes','seconds']['indexOf'](_0x4f8ad6);if('auto'===_0x2dbf59&&_0x510c6a){const _0x1e0e20='days'===_0x4f8ad6;switch(_0x3cd88a){case 0x1:return _0x1e0e20?'tomorrow':'next\x20'+_0x34bf0f[_0x4f8ad6][0x0];case-0x1:return _0x1e0e20?'yesterday':'last\x20'+_0x34bf0f[_0x4f8ad6][0x0];case 0x0:return _0x1e0e20?'today':'this\x20'+_0x34bf0f[_0x4f8ad6][0x0];}}const _0x17855b=Object['is'](_0x3cd88a,-0x0)||_0x3cd88a<0x0,_0x29ccbb=Math['abs'](_0x3cd88a),_0x4c4cfb=0x1===_0x29ccbb,_0x54ea19=_0x34bf0f[_0x4f8ad6],_0x36a213=_0x5c3098?_0x4c4cfb?_0x54ea19[0x1]:_0x54ea19[0x2]||_0x54ea19[0x1]:_0x4c4cfb?_0x34bf0f[_0x4f8ad6][0x0]:_0x4f8ad6;return _0x17855b?_0x29ccbb+'\x20'+_0x36a213+'\x20ago':'in\x20'+_0x29ccbb+'\x20'+_0x36a213;}(_0x154190,_0x453e04,this['opts']['numeric'],'long'!==this['opts']['style']);}['formatToParts'](_0x40e8c4,_0x4e4c5c){return this['rtf']?this['rtf']['formatToParts'](_0x40e8c4,_0x4e4c5c):[];}};const _0x2ee95c={'firstDay':0x1,'minimalDays':0x4,'weekend':[0x6,0x7]};var _0x436f17=class _0x45c0cb{static['fromOpts'](_0x2e356e){return _0x45c0cb['create'](_0x2e356e['locale'],_0x2e356e['numberingSystem'],_0x2e356e['outputCalendar'],_0x2e356e['weekSettings'],_0x2e356e['defaultToEN']);}static['create'](_0x3294e4,_0x24d3a0,_0x245789,_0x49a422,_0x42428c=!0x1){const _0x31aa8f=_0x3294e4||_0x2f5928['defaultLocale'];return new _0x45c0cb(_0x31aa8f||(_0x42428c?'en-US':_0xdbddc5||(_0xdbddc5=new Intl['DateTimeFormat']()['resolvedOptions']()['locale'],_0xdbddc5)),_0x24d3a0||_0x2f5928['defaultNumberingSystem'],_0x245789||_0x2f5928['defaultOutputCalendar'],_0x5dfe99(_0x49a422)||_0x2f5928['defaultWeekSettings'],_0x31aa8f);}static['resetCache'](){_0xdbddc5=null,_0x552cdf['clear'](),_0x51505f['clear'](),_0x17fdab['clear'](),_0x5b405e['clear'](),_0x18b1f4['clear']();}static['fromObject']({locale:_0x16755b,numberingSystem:_0x18c531,outputCalendar:_0x27f257,weekSettings:_0x43da54}={}){return _0x45c0cb['create'](_0x16755b,_0x18c531,_0x27f257,_0x43da54);}constructor(_0x40ef5f,_0x1efa07,_0x161747,_0x3fa924,_0x5221d3){const [_0x3c91e5,_0x55fe35,_0x30940a]=function(_0x5e5e06){const _0x3fdcb1=_0x5e5e06['indexOf']('-x-');-0x1!==_0x3fdcb1&&(_0x5e5e06=_0x5e5e06['substring'](0x0,_0x3fdcb1));const _0xdf3f3a=_0x5e5e06['indexOf']('-u-');if(-0x1===_0xdf3f3a)return[_0x5e5e06];{let _0x1ae7cf,_0x570b47;try{_0x1ae7cf=ts(_0x5e5e06)['resolvedOptions'](),_0x570b47=_0x5e5e06;}catch(_0x51f946){const _0x4ff84f=_0x5e5e06['substring'](0x0,_0xdf3f3a);_0x1ae7cf=ts(_0x4ff84f)['resolvedOptions'](),_0x570b47=_0x4ff84f;}const {numberingSystem:_0x1f6abd,calendar:_0x47c2ce}=_0x1ae7cf;return[_0x570b47,_0x1f6abd,_0x47c2ce];}}(_0x40ef5f);this['locale']=_0x3c91e5,this['numberingSystem']=_0x1efa07||_0x55fe35||null,this['outputCalendar']=_0x161747||_0x30940a||null,this['weekSettings']=_0x3fa924,this['intl']=function(_0x1e10fa,_0x35739e,_0x202533){return _0x202533||_0x35739e?(_0x1e10fa['includes']('-u-')||(_0x1e10fa+='-u'),_0x202533&&(_0x1e10fa+='-ca-'+_0x202533),_0x35739e&&(_0x1e10fa+='-nu-'+_0x35739e),_0x1e10fa):_0x1e10fa;}(this['locale'],this['numberingSystem'],this['outputCalendar']),this['weekdaysCache']={'format':{},'standalone':{}},this['monthsCache']={'format':{},'standalone':{}},this['meridiemCache']=null,this['eraCache']={},this['specifiedLocale']=_0x5221d3,this['fastNumbersCached']=null;}get['fastNumbers'](){var _0x59a15e;return null==this['fastNumbersCached']&&(this['fastNumbersCached']=(!(_0x59a15e=this)['numberingSystem']||'latn'===_0x59a15e['numberingSystem'])&&('latn'===_0x59a15e['numberingSystem']||!_0x59a15e['locale']||_0x59a15e['locale']['startsWith']('en')||'latn'===_0x59e1c5(_0x59a15e['locale'])['numberingSystem'])),this['fastNumbersCached'];}['listingMode'](){const _0xbf36ab=this['isEnglish'](),_0x3b4be8=!(null!==this['numberingSystem']&&'latn'!==this['numberingSystem']||null!==this['outputCalendar']&&'gregory'!==this['outputCalendar']);return _0xbf36ab&&_0x3b4be8?'en':'intl';}['clone'](_0x8da2d3){return _0x8da2d3&&0x0!==Object['getOwnPropertyNames'](_0x8da2d3)['length']?_0x45c0cb['create'](_0x8da2d3['locale']||this['specifiedLocale'],_0x8da2d3['numberingSystem']||this['numberingSystem'],_0x8da2d3['outputCalendar']||this['outputCalendar'],_0x5dfe99(_0x8da2d3['weekSettings'])||this['weekSettings'],_0x8da2d3['defaultToEN']||!0x1):this;}['redefaultToEN'](_0x1fd576={}){return this['clone']({..._0x1fd576,'defaultToEN':!0x0});}['redefaultToSystem'](_0x2f06ad={}){return this['clone']({..._0x2f06ad,'defaultToEN':!0x1});}['months'](_0x4d19b8,_0xd1c2a8=!0x1){return _0x443789(this,_0x4d19b8,_0x3dc6f8,()=>{const _0xf0d6c=_0xd1c2a8?{'month':_0x4d19b8,'day':'numeric'}:{'month':_0x4d19b8},_0x43df50=_0xd1c2a8?'format':'standalone';return this['monthsCache'][_0x43df50][_0x4d19b8]||(this['monthsCache'][_0x43df50][_0x4d19b8]=function(_0x5d0f4d){const _0x58d959=[];for(let _0x2f433c=0x1;_0x2f433c<=0xc;_0x2f433c++){const _0x30313f=_0x5b0740['utc'](0x7d9,_0x2f433c,0x1);_0x58d959['push'](_0x5d0f4d(_0x30313f));}return _0x58d959;}(_0x1c1f9b=>this['extract'](_0x1c1f9b,_0xf0d6c,'month'))),this['monthsCache'][_0x43df50][_0x4d19b8];});}['weekdays'](_0x52995e,_0x204074=!0x1){return _0x443789(this,_0x52995e,_0x589a9b,()=>{const _0x14ab2a=_0x204074?{'weekday':_0x52995e,'year':'numeric','month':'long','day':'numeric'}:{'weekday':_0x52995e},_0x4a3599=_0x204074?'format':'standalone';return this['weekdaysCache'][_0x4a3599][_0x52995e]||(this['weekdaysCache'][_0x4a3599][_0x52995e]=function(_0x34a506){const _0x138a3d=[];for(let _0x7b4f21=0x1;_0x7b4f21<=0x7;_0x7b4f21++){const _0x189e6a=_0x5b0740['utc'](0x7e0,0xb,0xd+_0x7b4f21);_0x138a3d['push'](_0x34a506(_0x189e6a));}return _0x138a3d;}(_0x54a6b3=>this['extract'](_0x54a6b3,_0x14ab2a,'weekday'))),this['weekdaysCache'][_0x4a3599][_0x52995e];});}['meridiems'](){return _0x443789(this,void 0x0,()=>_0x34e4b8,()=>{if(!this['meridiemCache']){const _0x4b86f0={'hour':'numeric','hourCycle':'h12'};this['meridiemCache']=[_0x5b0740['utc'](0x7e0,0xb,0xd,0x9),_0x5b0740['utc'](0x7e0,0xb,0xd,0x13)]['map'](_0x5e428a=>this['extract'](_0x5e428a,_0x4b86f0,'dayperiod'));}return this['meridiemCache'];});}['eras'](_0x12604d){return _0x443789(this,_0x12604d,_0x4281f9,()=>{const _0x594673={'era':_0x12604d};return this['eraCache'][_0x12604d]||(this['eraCache'][_0x12604d]=[_0x5b0740['utc'](-0x28,0x1,0x1),_0x5b0740['utc'](0x7e1,0x1,0x1)]['map'](_0x13aefb=>this['extract'](_0x13aefb,_0x594673,'era'))),this['eraCache'][_0x12604d];});}['extract'](_0x287987,_0x41306f,_0x13d4ac){const _0x26a05c=this['dtFormatter'](_0x287987,_0x41306f)['formatToParts']()['find'](_0x57b752=>_0x57b752['type']['toLowerCase']()===_0x13d4ac);return _0x26a05c?_0x26a05c['value']:null;}['numberFormatter'](_0x554201={}){return new _0x3c4c95(this['intl'],_0x554201['forceSimple']||this['fastNumbers'],_0x554201);}['dtFormatter'](_0x3c74b2,_0x5d52e3={}){return new _0x4461bb(_0x3c74b2,this['intl'],_0x5d52e3);}['relFormatter'](_0x4ce4fa={}){return new _0x56c4d2(this['intl'],this['isEnglish'](),_0x4ce4fa);}['listFormatter'](_0x2ad77e={}){return function(_0x428f02,_0x3a769e={}){const _0x11ca1c=JSON['stringify']([_0x428f02,_0x3a769e]);let _0x22b07c=_0x263341[_0x11ca1c];return _0x22b07c||(_0x22b07c=new Intl['ListFormat'](_0x428f02,_0x3a769e),_0x263341[_0x11ca1c]=_0x22b07c),_0x22b07c;}(this['intl'],_0x2ad77e);}['isEnglish'](){return'en'===this['locale']||'en-us'===this['locale']['toLowerCase']()||_0x59e1c5(this['intl'])['locale']['startsWith']('en-us');}['getWeekSettings'](){return this['weekSettings']?this['weekSettings']:_0x104e09()?function(_0x5c5be7){let _0xdc08f=_0x18b1f4['get'](_0x5c5be7);if(!_0xdc08f){const _0x145e18=new Intl['Locale'](_0x5c5be7);_0xdc08f='getWeekInfo'in _0x145e18?_0x145e18['getWeekInfo']():_0x145e18['weekInfo'],'minimalDays'in _0xdc08f||(_0xdc08f={..._0x2ee95c,..._0xdc08f}),_0x18b1f4['set'](_0x5c5be7,_0xdc08f);}return _0xdc08f;}(this['locale']):_0x2ee95c;}['getStartOfWeek'](){return this['getWeekSettings']()['firstDay'];}['getMinDaysInFirstWeek'](){return this['getWeekSettings']()['minimalDays'];}['getWeekendDays'](){return this['getWeekSettings']()['weekend'];}['equals'](_0x4aeda9){return this['locale']===_0x4aeda9['locale']&&this['numberingSystem']===_0x4aeda9['numberingSystem']&&this['outputCalendar']===_0x4aeda9['outputCalendar'];}['toString'](){return'Locale('+this['locale']+',\x20'+this['numberingSystem']+',\x20'+this['outputCalendar']+')';}};let _0x5c43e8=null;var _0x42485e=class FixedOffsetZone extends _0x15c203{static get['utcInstance'](){return null===_0x5c43e8&&(_0x5c43e8=new FixedOffsetZone(0x0)),_0x5c43e8;}static['instance'](_0x1a2d1f){return 0x0===_0x1a2d1f?FixedOffsetZone['utcInstance']:new FixedOffsetZone(_0x1a2d1f);}static['parseSpecifier'](_0x45bf40){if(_0x45bf40){const _0x5f3cc6=_0x45bf40['match'](/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(_0x5f3cc6)return new FixedOffsetZone(_0xb5f2c1(_0x5f3cc6[0x1],_0x5f3cc6[0x2]));}return null;}constructor(_0x2d1b81){super(),this['fixed']=_0x2d1b81;}get['type'](){return'fixed';}get['name'](){return 0x0===this['fixed']?'UTC':'UTC'+_0x143dd7(this['fixed'],'narrow');}get['ianaName'](){return 0x0===this['fixed']?'Etc/UTC':'Etc/GMT'+_0x143dd7(-this['fixed'],'narrow');}['offsetName'](){return this['name'];}['formatOffset'](_0x6fbce5,_0x2122df){return _0x143dd7(this['fixed'],_0x2122df);}get['isUniversal'](){return!0x0;}['offset'](){return this['fixed'];}['equals'](_0x8b007d){return'fixed'===_0x8b007d['type']&&_0x8b007d['fixed']===this['fixed'];}get['isValid'](){return!0x0;}},_0x2bbd8d=class extends _0x15c203{constructor(_0x5b56cc){super(),this['zoneName']=_0x5b56cc;}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 _0x10d6c1(_0xf7cc58,_0x293694){if(_0xa2810c(_0xf7cc58)||null===_0xf7cc58)return _0x293694;if(_0xf7cc58 instanceof _0x15c203)return _0xf7cc58;if('string'==typeof _0xf7cc58){const _0x46dea4=_0xf7cc58['toLowerCase']();return'default'===_0x46dea4?_0x293694:'local'===_0x46dea4||'system'===_0x46dea4?_0x441efa['instance']:'utc'===_0x46dea4||'gmt'===_0x46dea4?_0x42485e['utcInstance']:_0x42485e['parseSpecifier'](_0x46dea4)||_0xdd0ec2['create'](_0xf7cc58);}return _0x4afe8f(_0xf7cc58)?_0x42485e['instance'](_0xf7cc58):'object'==typeof _0xf7cc58&&'offset'in _0xf7cc58&&'function'==typeof _0xf7cc58['offset']?_0xf7cc58:new _0x2bbd8d(_0xf7cc58);}const _0x4d9c1a={'arab':'[٠-٩]','arabext':'[۰-۹]','bali':'[᭐-᭙]','beng':'[০-৯]','deva':'[०-९]','fullwide':'[０-９]','gujr':'[૦-૯]','hanidec':'[〇|一|二|三|四|五|六|七|八|九]','khmr':'[០-៩]','knda':'[೦-೯]','laoo':'[໐-໙]','limb':'[᥆-᥏]','mlym':'[൦-൯]','mong':'[᠐-᠙]','mymr':'[၀-၉]','orya':'[୦-୯]','tamldec':'[௦-௯]','telu':'[౦-౯]','thai':'[๐-๙]','tibt':'[༠-༩]','latn':'\x5cd'},_0x3ead7d={'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]},_0x5db17e=_0x4d9c1a['hanidec']['replace'](/[\[|\]]/g,'')['split'](''),_0x1d9ea9=new Map();function _0x1f5571({numberingSystem:_0x483023},_0x278af7=''){const _0x2000ad=_0x483023||'latn';let _0x5f826a=_0x1d9ea9['get'](_0x2000ad);void 0x0===_0x5f826a&&(_0x5f826a=new Map(),_0x1d9ea9['set'](_0x2000ad,_0x5f826a));let _0x428b14=_0x5f826a['get'](_0x278af7);return void 0x0===_0x428b14&&(_0x428b14=new RegExp(''+_0x4d9c1a[_0x2000ad]+_0x278af7),_0x5f826a['set'](_0x278af7,_0x428b14)),_0x428b14;}let _0x4b7aab,_0x39a27c=()=>Date['now'](),_0x357933='system',_0x50a836=null,_0xfff993=null,_0x1bcea0=null,_0x28c040=0x3c,_0x526fec=null;var _0x2f5928=class{static get['now'](){return _0x39a27c;}static set['now'](_0x5ba2ba){_0x39a27c=_0x5ba2ba;}static set['defaultZone'](_0x421ce8){_0x357933=_0x421ce8;}static get['defaultZone'](){return _0x10d6c1(_0x357933,_0x441efa['instance']);}static get['defaultLocale'](){return _0x50a836;}static set['defaultLocale'](_0x245afa){_0x50a836=_0x245afa;}static get['defaultNumberingSystem'](){return _0xfff993;}static set['defaultNumberingSystem'](_0xc05da6){_0xfff993=_0xc05da6;}static get['defaultOutputCalendar'](){return _0x1bcea0;}static set['defaultOutputCalendar'](_0x128dfb){_0x1bcea0=_0x128dfb;}static get['defaultWeekSettings'](){return _0x526fec;}static set['defaultWeekSettings'](_0x285fa8){_0x526fec=_0x5dfe99(_0x285fa8);}static get['twoDigitCutoffYear'](){return _0x28c040;}static set['twoDigitCutoffYear'](_0x397496){_0x28c040=_0x397496%0x64;}static get['throwOnInvalid'](){return _0x4b7aab;}static set['throwOnInvalid'](t){_0x4b7aab=t;}static['resetCaches'](){_0x436f17['resetCache'](),_0xdd0ec2['resetCache'](),_0x5b0740['resetCache'](),_0x1d9ea9['clear']();}},_0xfbf051=class{constructor(_0x393da1,_0x4cadc6){this['reason']=_0x393da1,this['explanation']=_0x4cadc6;}['toMessage'](){return this['explanation']?this['reason']+':\x20'+this['explanation']:this['reason'];}};const _0x4183a7=[0x0,0x1f,0x3b,0x5a,0x78,0x97,0xb5,0xd4,0xf3,0x111,0x130,0x14e],_0x14ccf8=[0x0,0x1f,0x3c,0x5b,0x79,0x98,0xb6,0xd5,0xf4,0x112,0x131,0x14f];function _0x3a86f7(_0x5588a5,_0x2cbf7d){return new _0xfbf051('unit\x20out\x20of\x20range','you\x20specified\x20'+_0x2cbf7d+'\x20(of\x20type\x20'+typeof _0x2cbf7d+')\x20as\x20a\x20'+_0x5588a5+',\x20which\x20is\x20invalid');}function _0xfe75e4(_0xf44e99,_0x20dd11,_0x4ff816){const _0x349c32=new Date(Date['UTC'](_0xf44e99,_0x20dd11-0x1,_0x4ff816));_0xf44e99<0x64&&_0xf44e99>=0x0&&_0x349c32['setUTCFullYear'](_0x349c32['getUTCFullYear']()-0x76c);const _0x111ae8=_0x349c32['getUTCDay']();return 0x0===_0x111ae8?0x7:_0x111ae8;}function _0x42f029(_0x584be9,_0x58e76d,_0x454050){return _0x454050+(_0x478cc2(_0x584be9)?_0x14ccf8:_0x4183a7)[_0x58e76d-0x1];}function _0x319331(_0xff85a1,_0x44ae0e){const _0x490ccc=_0x478cc2(_0xff85a1)?_0x14ccf8:_0x4183a7,_0x1fb3ca=_0x490ccc['findIndex'](_0x46777f=>_0x46777f<_0x44ae0e);return{'month':_0x1fb3ca+0x1,'day':_0x44ae0e-_0x490ccc[_0x1fb3ca]};}function _0x59cbc2(_0x1488c8,_0x21c736){return(_0x1488c8-_0x21c736+0x7)%0x7+0x1;}function _0x4e89ce(_0x46bbe,_0x2e1f5e=0x4,_0x75744a=0x1){const {year:_0x16f69c,month:_0x3d0faa,day:_0x3982de}=_0x46bbe,_0x3362a0=_0x42f029(_0x16f69c,_0x3d0faa,_0x3982de),_0x7a8b2c=_0x59cbc2(_0xfe75e4(_0x16f69c,_0x3d0faa,_0x3982de),_0x75744a);let _0x372139,_0x46af96=Math['floor']((_0x3362a0-_0x7a8b2c+0xe-_0x2e1f5e)/0x7);return _0x46af96<0x1?(_0x372139=_0x16f69c-0x1,_0x46af96=_0x244852(_0x372139,_0x2e1f5e,_0x75744a)):_0x46af96>_0x244852(_0x16f69c,_0x2e1f5e,_0x75744a)?(_0x372139=_0x16f69c+0x1,_0x46af96=0x1):_0x372139=_0x16f69c,{'weekYear':_0x372139,'weekNumber':_0x46af96,'weekday':_0x7a8b2c,..._0x464fce(_0x46bbe)};}function _0x350a0d(_0x33e4c6,_0x35b3fe=0x4,_0x3eb90a=0x1){const {weekYear:_0x133707,weekNumber:_0x148563,weekday:_0x5b75a9}=_0x33e4c6,_0x2d7f75=_0x59cbc2(_0xfe75e4(_0x133707,0x1,_0x35b3fe),_0x3eb90a),_0x653332=_0x25af94(_0x133707);let _0x2a4115,_0x47b076=0x7*_0x148563+_0x5b75a9-_0x2d7f75-0x7+_0x35b3fe;_0x47b076<0x1?(_0x2a4115=_0x133707-0x1,_0x47b076+=_0x25af94(_0x2a4115)):_0x47b076>_0x653332?(_0x2a4115=_0x133707+0x1,_0x47b076-=_0x25af94(_0x133707)):_0x2a4115=_0x133707;const {month:_0x5dce85,day:_0x1da94d}=_0x319331(_0x2a4115,_0x47b076);return{'year':_0x2a4115,'month':_0x5dce85,'day':_0x1da94d,..._0x464fce(_0x33e4c6)};}function _0x2edee5(_0xd0269b){const {year:_0x57a064,month:_0xa164bf,day:_0x47d7d4}=_0xd0269b;return{'year':_0x57a064,'ordinal':_0x42f029(_0x57a064,_0xa164bf,_0x47d7d4),..._0x464fce(_0xd0269b)};}function _0x19dcd8(_0x3683a9){const {year:_0x2f799a,ordinal:_0x33ae02}=_0x3683a9,{month:_0x5f3a83,day:_0x347b33}=_0x319331(_0x2f799a,_0x33ae02);return{'year':_0x2f799a,'month':_0x5f3a83,'day':_0x347b33,..._0x464fce(_0x3683a9)};}function _0x35a6f9(_0x2df65b,_0x11da56){if(_0xa2810c(_0x2df65b['localWeekday'])&&_0xa2810c(_0x2df65b['localWeekNumber'])&&_0xa2810c(_0x2df65b['localWeekYear']))return{'minDaysInFirstWeek':0x4,'startOfWeek':0x1};if(!_0xa2810c(_0x2df65b['weekday'])||!_0xa2810c(_0x2df65b['weekNumber'])||!_0xa2810c(_0x2df65b['weekYear']))throw new _0x2b191c('Cannot\x20mix\x20locale-based\x20week\x20fields\x20with\x20ISO-based\x20week\x20fields');return _0xa2810c(_0x2df65b['localWeekday'])||(_0x2df65b['weekday']=_0x2df65b['localWeekday']),_0xa2810c(_0x2df65b['localWeekNumber'])||(_0x2df65b['weekNumber']=_0x2df65b['localWeekNumber']),_0xa2810c(_0x2df65b['localWeekYear'])||(_0x2df65b['weekYear']=_0x2df65b['localWeekYear']),delete _0x2df65b['localWeekday'],delete _0x2df65b['localWeekNumber'],delete _0x2df65b['localWeekYear'],{'minDaysInFirstWeek':_0x11da56['getMinDaysInFirstWeek'](),'startOfWeek':_0x11da56['getStartOfWeek']()};}function _0x1752e0(_0x6c5481){const _0x13de49=_0x2d8208(_0x6c5481['year']),_0x2db2b5=tn(_0x6c5481['month'],0x1,0xc),_0x538eba=tn(_0x6c5481['day'],0x1,_0x114a04(_0x6c5481['year'],_0x6c5481['month']));return _0x13de49?_0x2db2b5?!_0x538eba&&_0x3a86f7('day',_0x6c5481['day']):_0x3a86f7('month',_0x6c5481['month']):_0x3a86f7('year',_0x6c5481['year']);}function _0x1f565d(_0x92cc1b){const {hour:_0x4f9a8b,minute:_0x2dd1ab,second:_0x5288d4,millisecond:_0x187be2}=_0x92cc1b,_0xe729fc=tn(_0x4f9a8b,0x0,0x17)||0x18===_0x4f9a8b&&0x0===_0x2dd1ab&&0x0===_0x5288d4&&0x0===_0x187be2,_0x379cbe=tn(_0x2dd1ab,0x0,0x3b),_0x3b2824=tn(_0x5288d4,0x0,0x3b),_0x2ffaf2=tn(_0x187be2,0x0,0x3e7);return _0xe729fc?_0x379cbe?_0x3b2824?!_0x2ffaf2&&_0x3a86f7('millisecond',_0x187be2):_0x3a86f7('second',_0x5288d4):_0x3a86f7('minute',_0x2dd1ab):_0x3a86f7('hour',_0x4f9a8b);}function _0xa2810c(_0x11adee){return void 0x0===_0x11adee;}function _0x4afe8f(_0x3522b0){return'number'==typeof _0x3522b0;}function _0x2d8208(_0x479411){return'number'==typeof _0x479411&&_0x479411%0x1==0x0;}function _0xf69173(){try{return'undefined'!=typeof Intl&&!!Intl['RelativeTimeFormat'];}catch(_0x519e96){return!0x1;}}function _0x104e09(){try{return'undefined'!=typeof Intl&&!!Intl['Locale']&&('weekInfo'in Intl['Locale']['prototype']||'getWeekInfo'in Intl['Locale']['prototype']);}catch(_0x5857db){return!0x1;}}function _0x3ebad3(_0x2d8048,_0x309d87,_0x31d398){if(0x0!==_0x2d8048['length'])return _0x2d8048['reduce']((_0x121009,_0x254324)=>{const _0x2bf52e=[_0x309d87(_0x254324),_0x254324];return _0x121009&&_0x31d398(_0x121009[0x0],_0x2bf52e[0x0])===_0x121009[0x0]?_0x121009:_0x2bf52e;},null)[0x1];}function _0x49e8bc(_0xe70e91,_0x37a3df){return Object['prototype']['hasOwnProperty']['call'](_0xe70e91,_0x37a3df);}function _0x5dfe99(_0x12e97d){if(null==_0x12e97d)return null;if('object'!=typeof _0x12e97d)throw new _0x5d920f('Week\x20settings\x20must\x20be\x20an\x20object');if(!tn(_0x12e97d['firstDay'],0x1,0x7)||!tn(_0x12e97d['minimalDays'],0x1,0x7)||!Array['isArray'](_0x12e97d['weekend'])||_0x12e97d['weekend']['some'](_0x46976b=>!tn(_0x46976b,0x1,0x7)))throw new _0x5d920f('Invalid\x20week\x20settings');return{'firstDay':_0x12e97d['firstDay'],'minimalDays':_0x12e97d['minimalDays'],'weekend':Array['from'](_0x12e97d['weekend'])};}function tn(_0x3c7fd7,_0x4f762f,_0x5100af){return _0x2d8208(_0x3c7fd7)&&_0x3c7fd7>=_0x4f762f&&_0x3c7fd7<=_0x5100af;}function _0x1dec1b(_0x277cd1,_0x40b74e=0x2){let _0x2d9b03;return _0x2d9b03=_0x277cd1<0x0?'-'+(''+-_0x277cd1)['padStart'](_0x40b74e,'0'):(''+_0x277cd1)['padStart'](_0x40b74e,'0'),_0x2d9b03;}function _0x40fa34(_0xd404ca){return _0xa2810c(_0xd404ca)||null===_0xd404ca||''===_0xd404ca?void 0x0:parseInt(_0xd404ca,0xa);}function _0x44d19e(_0x4a4d2d){return _0xa2810c(_0x4a4d2d)||null===_0x4a4d2d||''===_0x4a4d2d?void 0x0:parseFloat(_0x4a4d2d);}function _0x49ea9f(_0x25aef4){if(!_0xa2810c(_0x25aef4)&&null!==_0x25aef4&&''!==_0x25aef4){const _0xeb56f7=0x3e8*parseFloat('0.'+_0x25aef4);return Math['floor'](_0xeb56f7);}}function _0x449d78(_0x176dff,_0x5f89de,_0x2d2397=!0x1){const _0x33695f=0xa**_0x5f89de;return(_0x2d2397?Math['trunc']:Math['round'])(_0x176dff*_0x33695f)/_0x33695f;}function _0x478cc2(_0x1c2fff){return _0x1c2fff%0x4==0x0&&(_0x1c2fff%0x64!=0x0||_0x1c2fff%0x190==0x0);}function _0x25af94(_0x5d17b7){return _0x478cc2(_0x5d17b7)?0x16e:0x16d;}function _0x114a04(_0x1d223d,_0x47824d){const _0x3a7e96=function(_0x187484,_0x2eba3e){return _0x187484-_0x2eba3e*Math['floor'](_0x187484/_0x2eba3e);}(_0x47824d-0x1,0xc)+0x1;return 0x2===_0x3a7e96?_0x478cc2(_0x1d223d+(_0x47824d-_0x3a7e96)/0xc)?0x1d:0x1c:[0x1f,null,0x1f,0x1e,0x1f,0x1e,0x1f,0x1f,0x1e,0x1f,0x1e,0x1f][_0x3a7e96-0x1];}function _0x61eca3(_0x5c4ca7){let _0x5628fd=Date['UTC'](_0x5c4ca7['year'],_0x5c4ca7['month']-0x1,_0x5c4ca7['day'],_0x5c4ca7['hour'],_0x5c4ca7['minute'],_0x5c4ca7['second'],_0x5c4ca7['millisecond']);return _0x5c4ca7['year']<0x64&&_0x5c4ca7['year']>=0x0&&(_0x5628fd=new Date(_0x5628fd),_0x5628fd['setUTCFullYear'](_0x5c4ca7['year'],_0x5c4ca7['month']-0x1,_0x5c4ca7['day'])),+_0x5628fd;}function _0x16ca83(_0x365b37,_0x1bd834,_0x475b7a){return-_0x59cbc2(_0xfe75e4(_0x365b37,0x1,_0x1bd834),_0x475b7a)+_0x1bd834-0x1;}function _0x244852(_0x4c2ece,_0x2c09b5=0x4,_0x1a942e=0x1){const _0x322d66=_0x16ca83(_0x4c2ece,_0x2c09b5,_0x1a942e),_0x563a83=_0x16ca83(_0x4c2ece+0x1,_0x2c09b5,_0x1a942e);return(_0x25af94(_0x4c2ece)-_0x322d66+_0x563a83)/0x7;}function _0x4171e2(_0x110a90){return _0x110a90>0x63?_0x110a90:_0x110a90>_0x2f5928['twoDigitCutoffYear']?0x76c+_0x110a90:0x7d0+_0x110a90;}function _0x3f115b(_0x1b5333,_0x5deae3,_0x1d2935,_0xee31db=null){const _0x248fd6=new Date(_0x1b5333),_0x3c9d73={'hourCycle':'h23','year':'numeric','month':'2-digit','day':'2-digit','hour':'2-digit','minute':'2-digit'};_0xee31db&&(_0x3c9d73['timeZone']=_0xee31db);const _0x163c11={'timeZoneName':_0x5deae3,..._0x3c9d73},_0x48368b=new Intl['DateTimeFormat'](_0x1d2935,_0x163c11)['formatToParts'](_0x248fd6)['find'](_0x4443b4=>'timezonename'===_0x4443b4['type']['toLowerCase']());return _0x48368b?_0x48368b['value']:null;}function _0xb5f2c1(_0xb32651,_0x11d239){let _0x5ef116=parseInt(_0xb32651,0xa);Number['isNaN'](_0x5ef116)&&(_0x5ef116=0x0);const _0xad5562=parseInt(_0x11d239,0xa)||0x0;return 0x3c*_0x5ef116+(_0x5ef116<0x0||Object['is'](_0x5ef116,-0x0)?-_0xad5562:_0xad5562);}function _0x3367ee(_0x25d631){const _0x1cd7c9=Number(_0x25d631);if('boolean'==typeof _0x25d631||''===_0x25d631||Number['isNaN'](_0x1cd7c9))throw new _0x5d920f('Invalid\x20unit\x20value\x20'+_0x25d631);return _0x1cd7c9;}function _0x1f64a2(_0x5e265e,_0x4e9580){const _0x1f9cc0={};for(const _0x55b5e5 in _0x5e265e)if(_0x49e8bc(_0x5e265e,_0x55b5e5)){const _0x16c2fe=_0x5e265e[_0x55b5e5];if(null==_0x16c2fe)continue;_0x1f9cc0[_0x4e9580(_0x55b5e5)]=_0x3367ee(_0x16c2fe);}return _0x1f9cc0;}function _0x143dd7(_0x3e9975,_0x2a2fdc){const _0x4d5c9d=Math['trunc'](Math['abs'](_0x3e9975/0x3c)),_0x317fb2=Math['trunc'](Math['abs'](_0x3e9975%0x3c)),_0x2141e4=_0x3e9975>=0x0?'+':'-';switch(_0x2a2fdc){case'short':return''+_0x2141e4+_0x1dec1b(_0x4d5c9d,0x2)+':'+_0x1dec1b(_0x317fb2,0x2);case'narrow':return''+_0x2141e4+_0x4d5c9d+(_0x317fb2>0x0?':'+_0x317fb2:'');case'techie':return''+_0x2141e4+_0x1dec1b(_0x4d5c9d,0x2)+_0x1dec1b(_0x317fb2,0x2);default:throw new RangeError('Value\x20format\x20'+_0x2a2fdc+'\x20is\x20out\x20of\x20range\x20for\x20property\x20format');}}function _0x464fce(_0x130fea){return function(_0x311d1b,_0x202d5b){return _0x202d5b['reduce']((_0x3f5b3b,_0x1a0955)=>(_0x3f5b3b[_0x1a0955]=_0x311d1b[_0x1a0955],_0x3f5b3b),{});}(_0x130fea,['hour','minute','second','millisecond']);}const _0x2b40a6=['January','February','March','April','May','June','July','August','September','October','November','December'],_0x2a760e=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'],_0x439e26=['J','F','M','A','M','J','J','A','S','O','N','D'];function _0x3dc6f8(_0x1f04a2){switch(_0x1f04a2){case'narrow':return[..._0x439e26];case'short':return[..._0x2a760e];case'long':return[..._0x2b40a6];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 _0x3616c5=['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday'],_0xc345df=['Mon','Tue','Wed','Thu','Fri','Sat','Sun'],_0x449919=['M','T','W','T','F','S','S'];function _0x589a9b(_0x12c0a3){switch(_0x12c0a3){case'narrow':return[..._0x449919];case'short':return[..._0xc345df];case'long':return[..._0x3616c5];case'numeric':return['1','2','3','4','5','6','7'];default:return null;}}const _0x34e4b8=['AM','PM'],_0x5a5ac8=['Before\x20Christ','Anno\x20Domini'],_0x4540ac=['BC','AD'],_0x438087=['B','A'];function _0x4281f9(_0x54b26f){switch(_0x54b26f){case'narrow':return[..._0x438087];case'short':return[..._0x4540ac];case'long':return[..._0x5a5ac8];default:return null;}}function _0x4070d4(_0x470414,_0x1ca47d){let _0x56a84c='';for(const _0x41ce7a of _0x470414)_0x41ce7a['literal']?_0x56a84c+=_0x41ce7a['val']:_0x56a84c+=_0x1ca47d(_0x41ce7a['val']);return _0x56a84c;}const _0x2950e4={'D':_0x2df039,'DD':_0x53f0ad,'DDD':_0x369f36,'DDDD':_0x342d4d,'t':_0x1f025b,'tt':_0x150595,'ttt':_0x5b865e,'tttt':_0x45d69c,'T':_0x53147f,'TT':_0x3dac71,'TTT':_0x21f1c6,'TTTT':_0x24dbc4,'f':_0x23b3d4,'ff':_0x248da9,'fff':_0x505485,'ffff':_0x22b294,'F':_0x27b172,'FF':_0x4bd579,'FFF':_0x182961,'FFFF':_0x4b5281};var _0xcf574a=class Formatter{static['create'](_0x49c1d3,_0x13786b={}){return new Formatter(_0x49c1d3,_0x13786b);}static['parseFormat'](_0x2f5fde){let _0x5e0430=null,_0x2d0be6='',_0x2bbbf0=!0x1;const _0x46bdc2=[];for(let _0x33bf41=0x0;_0x33bf41<_0x2f5fde['length'];_0x33bf41++){const _0x36c390=_0x2f5fde['charAt'](_0x33bf41);'\x27'===_0x36c390?(_0x2d0be6['length']>0x0&&_0x46bdc2['push']({'literal':_0x2bbbf0||/^\s+$/['test'](_0x2d0be6),'val':_0x2d0be6}),_0x5e0430=null,_0x2d0be6='',_0x2bbbf0=!_0x2bbbf0):_0x2bbbf0||_0x36c390===_0x5e0430?_0x2d0be6+=_0x36c390:(_0x2d0be6['length']>0x0&&_0x46bdc2['push']({'literal':/^\s+$/['test'](_0x2d0be6),'val':_0x2d0be6}),_0x2d0be6=_0x36c390,_0x5e0430=_0x36c390);}return _0x2d0be6['length']>0x0&&_0x46bdc2['push']({'literal':_0x2bbbf0||/^\s+$/['test'](_0x2d0be6),'val':_0x2d0be6}),_0x46bdc2;}static['macroTokenToFormatOpts'](_0x2ac199){return _0x2950e4[_0x2ac199];}constructor(_0x3aec1c,_0x24af59){this['opts']=_0x24af59,this['loc']=_0x3aec1c,this['systemLoc']=null;}['formatWithSystemDefault'](_0x595274,_0x772577){return null===this['systemLoc']&&(this['systemLoc']=this['loc']['redefaultToSystem']()),this['systemLoc']['dtFormatter'](_0x595274,{...this['opts'],..._0x772577})['format']();}['dtFormatter'](_0xd6705f,_0x1b53e0={}){return this['loc']['dtFormatter'](_0xd6705f,{...this['opts'],..._0x1b53e0});}['formatDateTime'](_0x286310,_0xd04077){return this['dtFormatter'](_0x286310,_0xd04077)['format']();}['formatDateTimeParts'](_0x560c4c,_0x39064e){return this['dtFormatter'](_0x560c4c,_0x39064e)['formatToParts']();}['formatInterval'](_0x5d8f64,_0x57616b){return this['dtFormatter'](_0x5d8f64['start'],_0x57616b)['dtf']['formatRange'](_0x5d8f64['start']['toJSDate'](),_0x5d8f64['end']['toJSDate']());}['resolvedOptions'](_0x2c6edc,_0x585e60){return this['dtFormatter'](_0x2c6edc,_0x585e60)['resolvedOptions']();}['num'](_0x510edf,_0x54da4b=0x0){if(this['opts']['forceSimple'])return _0x1dec1b(_0x510edf,_0x54da4b);const _0x138c40={...this['opts']};return _0x54da4b>0x0&&(_0x138c40['padTo']=_0x54da4b),this['loc']['numberFormatter'](_0x138c40)['format'](_0x510edf);}['formatDateTimeFromString'](_0x2eae3e,_0xd745df){const _0x4d131a='en'===this['loc']['listingMode'](),_0x29b657=this['loc']['outputCalendar']&&'gregory'!==this['loc']['outputCalendar'],_0x26fb94=(_0x12d836,_0xd2ad3d)=>this['loc']['extract'](_0x2eae3e,_0x12d836,_0xd2ad3d),_0x2e8dd0=_0x379253=>_0x2eae3e['isOffsetFixed']&&0x0===_0x2eae3e['offset']&&_0x379253['allowZ']?'Z':_0x2eae3e['isValid']?_0x2eae3e['zone']['formatOffset'](_0x2eae3e['ts'],_0x379253['format']):'',_0x4cbdc0=()=>_0x4d131a?function(_0x22d94a){return _0x34e4b8[_0x22d94a['hour']<0xc?0x0:0x1];}(_0x2eae3e):_0x26fb94({'hour':'numeric','hourCycle':'h12'},'dayperiod'),_0x2cc9ce=(_0x3fe3a2,_0x9b0ccb)=>_0x4d131a?function(_0x545147,_0x1a714a){return _0x3dc6f8(_0x1a714a)[_0x545147['month']-0x1];}(_0x2eae3e,_0x3fe3a2):_0x26fb94(_0x9b0ccb?{'month':_0x3fe3a2}:{'month':_0x3fe3a2,'day':'numeric'},'month'),_0x9c3ff3=(_0x1c516c,_0xa27af7)=>_0x4d131a?function(_0x48acab,_0x176ca5){return _0x589a9b(_0x176ca5)[_0x48acab['weekday']-0x1];}(_0x2eae3e,_0x1c516c):_0x26fb94(_0xa27af7?{'weekday':_0x1c516c}:{'weekday':_0x1c516c,'month':'long','day':'numeric'},'weekday'),_0x3a504a=_0x45560e=>{const _0x184e20=Formatter['macroTokenToFormatOpts'](_0x45560e);return _0x184e20?this['formatWithSystemDefault'](_0x2eae3e,_0x184e20):_0x45560e;},_0x594d9b=_0x401447=>_0x4d131a?function(_0x2a35f7,_0x1f8021){return _0x4281f9(_0x1f8021)[_0x2a35f7['year']<0x0?0x0:0x1];}(_0x2eae3e,_0x401447):_0x26fb94({'era':_0x401447},'era');return _0x4070d4(Formatter['parseFormat'](_0xd745df),_0x3a3365=>{switch(_0x3a3365){case'S':return this['num'](_0x2eae3e['millisecond']);case'u':case'SSS':return this['num'](_0x2eae3e['millisecond'],0x3);case's':return this['num'](_0x2eae3e['second']);case'ss':return this['num'](_0x2eae3e['second'],0x2);case'uu':return this['num'](Math['floor'](_0x2eae3e['millisecond']/0xa),0x2);case'uuu':return this['num'](Math['floor'](_0x2eae3e['millisecond']/0x64));case'm':return this['num'](_0x2eae3e['minute']);case'mm':return this['num'](_0x2eae3e['minute'],0x2);case'h':return this['num'](_0x2eae3e['hour']%0xc==0x0?0xc:_0x2eae3e['hour']%0xc);case'hh':return this['num'](_0x2eae3e['hour']%0xc==0x0?0xc:_0x2eae3e['hour']%0xc,0x2);case'H':return this['num'](_0x2eae3e['hour']);case'HH':return this['num'](_0x2eae3e['hour'],0x2);case'Z':return _0x2e8dd0({'format':'narrow','allowZ':this['opts']['allowZ']});case'ZZ':return _0x2e8dd0({'format':'short','allowZ':this['opts']['allowZ']});case'ZZZ':return _0x2e8dd0({'format':'techie','allowZ':this['opts']['allowZ']});case'ZZZZ':return _0x2eae3e['zone']['offsetName'](_0x2eae3e['ts'],{'format':'short','locale':this['loc']['locale']});case'ZZZZZ':return _0x2eae3e['zone']['offsetName'](_0x2eae3e['ts'],{'format':'long','locale':this['loc']['locale']});case'z':return _0x2eae3e['zoneName'];case'a':return _0x4cbdc0();case'd':return _0x29b657?_0x26fb94({'day':'numeric'},'day'):this['num'](_0x2eae3e['day']);case'dd':return _0x29b657?_0x26fb94({'day':'2-digit'},'day'):this['num'](_0x2eae3e['day'],0x2);case'c':case'E':return this['num'](_0x2eae3e['weekday']);case'ccc':return _0x9c3ff3('short',!0x0);case'cccc':return _0x9c3ff3('long',!0x0);case'ccccc':return _0x9c3ff3('narrow',!0x0);case'EEE':return _0x9c3ff3('short',!0x1);case'EEEE':return _0x9c3ff3('long',!0x1);case'EEEEE':return _0x9c3ff3('narrow',!0x1);case'L':return _0x29b657?_0x26fb94({'month':'numeric','day':'numeric'},'month'):this['num'](_0x2eae3e['month']);case'LL':return _0x29b657?_0x26fb94({'month':'2-digit','day':'numeric'},'month'):this['num'](_0x2eae3e['month'],0x2);case'LLL':return _0x2cc9ce('short',!0x0);case'LLLL':return _0x2cc9ce('long',!0x0);case'LLLLL':return _0x2cc9ce('narrow',!0x0);case'M':return _0x29b657?_0x26fb94({'month':'numeric'},'month'):this['num'](_0x2eae3e['month']);case'MM':return _0x29b657?_0x26fb94({'month':'2-digit'},'month'):this['num'](_0x2eae3e['month'],0x2);case'MMM':return _0x2cc9ce('short',!0x1);case'MMMM':return _0x2cc9ce('long',!0x1);case'MMMMM':return _0x2cc9ce('narrow',!0x1);case'y':return _0x29b657?_0x26fb94({'year':'numeric'},'year'):this['num'](_0x2eae3e['year']);case'yy':return _0x29b657?_0x26fb94({'year':'2-digit'},'year'):this['num'](_0x2eae3e['year']['toString']()['slice'](-0x2),0x2);case'yyyy':return _0x29b657?_0x26fb94({'year':'numeric'},'year'):this['num'](_0x2eae3e['year'],0x4);case'yyyyyy':return _0x29b657?_0x26fb94({'year':'numeric'},'year'):this['num'](_0x2eae3e['year'],0x6);case'G':return _0x594d9b('short');case'GG':return _0x594d9b('long');case'GGGGG':return _0x594d9b('narrow');case'kk':return this['num'](_0x2eae3e['weekYear']['toString']()['slice'](-0x2),0x2);case'kkkk':return this['num'](_0x2eae3e['weekYear'],0x4);case'W':return this['num'](_0x2eae3e['weekNumber']);case'WW':return this['num'](_0x2eae3e['weekNumber'],0x2);case'n':return this['num'](_0x2eae3e['localWeekNumber']);case'nn':return this['num'](_0x2eae3e['localWeekNumber'],0x2);case'ii':return this['num'](_0x2eae3e['localWeekYear']['toString']()['slice'](-0x2),0x2);case'iiii':return this['num'](_0x2eae3e['localWeekYear'],0x4);case'o':return this['num'](_0x2eae3e['ordinal']);case'ooo':return this['num'](_0x2eae3e['ordinal'],0x3);case'q':return this['num'](_0x2eae3e['quarter']);case'qq':return this['num'](_0x2eae3e['quarter'],0x2);case'X':return this['num'](Math['floor'](_0x2eae3e['ts']/0x3e8));case'x':return this['num'](_0x2eae3e['ts']);default:return _0x3a504a(_0x3a3365);}});}['formatDurationFromString'](_0x41f6eb,_0x54a697){const _0x575a7a=_0x3bcc97=>{switch(_0x3bcc97[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;}},_0x291c66=Formatter['parseFormat'](_0x54a697),_0x37b4df=_0x291c66['reduce']((_0x25dc02,{literal:_0x5e35e7,val:_0x2d54bf})=>_0x5e35e7?_0x25dc02:_0x25dc02['concat'](_0x2d54bf),[]);return _0x4070d4(_0x291c66,(_0x1d8b59=>_0x154664=>{const _0x19061a=_0x575a7a(_0x154664);return _0x19061a?this['num'](_0x1d8b59['get'](_0x19061a),_0x154664['length']):_0x154664;})(_0x41f6eb['shiftTo'](..._0x37b4df['map'](_0x575a7a)['filter'](t=>t))));}};const _0x8628a5=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _0x224bf6(..._0x127e69){const _0x106563=_0x127e69['reduce']((_0x5645d6,_0x214d7e)=>_0x5645d6+_0x214d7e['source'],'');return RegExp('^'+_0x106563+'$');}function _0x5c7dc5(..._0x58bfb2){return _0x10efd3=>_0x58bfb2['reduce'](([_0x3018cb,_0x3edcc1,_0x1a059a],_0x543b5b)=>{const [_0x5d5922,_0xe6e38c,_0x6c4c88]=_0x543b5b(_0x10efd3,_0x1a059a);return[{..._0x3018cb,..._0x5d5922},_0xe6e38c||_0x3edcc1,_0x6c4c88];},[{},null,0x1])['slice'](0x0,0x2);}function _0x4c1435(_0x3f546c,..._0x504af7){if(null==_0x3f546c)return[null,null];for(const [_0x32fdbb,_0x5be035]of _0x504af7){const _0x18866d=_0x32fdbb['exec'](_0x3f546c);if(_0x18866d)return _0x5be035(_0x18866d);}return[null,null];}function _0x539046(..._0x5e6c2f){return(_0x3651a5,_0x1cddae)=>{const _0x4be2b7={};let _0x5a5768;for(_0x5a5768=0x0;_0x5a5768<_0x5e6c2f['length'];_0x5a5768++)_0x4be2b7[_0x5e6c2f[_0x5a5768]]=_0x40fa34(_0x3651a5[_0x1cddae+_0x5a5768]);return[_0x4be2b7,null,_0x1cddae+_0x5a5768];};}const _0x119163=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,_0x10bfd4=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_0x5e4914=RegExp(''+_0x10bfd4['source']+('(?:'+_0x119163['source']+'?(?:\x5c[('+_0x8628a5['source']+')\x5c])?)?')),_0x267056=RegExp('(?:T'+_0x5e4914['source']+')?'),_0x12229b=_0x539046('weekYear','weekNumber','weekDay'),_0x4b88c7=_0x539046('year','ordinal'),_0x39795d=RegExp(_0x10bfd4['source']+'\x20?(?:'+_0x119163['source']+'|('+_0x8628a5['source']+'))?'),_0x55f9fe=RegExp('(?:\x20'+_0x39795d['source']+')?');function _0x2b3c69(_0x39b1a1,_0x2a4eb1,_0x36132e){const _0x4ecca6=_0x39b1a1[_0x2a4eb1];return _0xa2810c(_0x4ecca6)?_0x36132e:_0x40fa34(_0x4ecca6);}function _0xec89b4(_0x5c2545,_0x363f06){return[{'hours':_0x2b3c69(_0x5c2545,_0x363f06,0x0),'minutes':_0x2b3c69(_0x5c2545,_0x363f06+0x1,0x0),'seconds':_0x2b3c69(_0x5c2545,_0x363f06+0x2,0x0),'milliseconds':_0x49ea9f(_0x5c2545[_0x363f06+0x3])},null,_0x363f06+0x4];}function _0xd93033(_0x3f965b,_0x279832){const _0x208a62=!_0x3f965b[_0x279832]&&!_0x3f965b[_0x279832+0x1],_0x2aaebb=_0xb5f2c1(_0x3f965b[_0x279832+0x1],_0x3f965b[_0x279832+0x2]);return[{},_0x208a62?null:_0x42485e['instance'](_0x2aaebb),_0x279832+0x3];}function _0x15f164(_0x5128c7,_0x317912){return[{},_0x5128c7[_0x317912]?_0xdd0ec2['create'](_0x5128c7[_0x317912]):null,_0x317912+0x1];}const _0x2ca45f=RegExp('^T?'+_0x10bfd4['source']+'$'),tr=/^-?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 _0x548625(_0x4fea41){const [_0x1c9b26,_0x31ac85,_0x53181e,_0x457e3e,_0x24d109,_0x28586a,_0x44a932,_0x44a8f3,_0x5c941d]=_0x4fea41,_0x4b3aec='-'===_0x1c9b26[0x0],_0x5db0f7=_0x44a8f3&&'-'===_0x44a8f3[0x0],_0x26b69a=(_0x1e8eb9,_0x5aca2d=!0x1)=>void 0x0!==_0x1e8eb9&&(_0x5aca2d||_0x1e8eb9&&_0x4b3aec)?-_0x1e8eb9:_0x1e8eb9;return[{'years':_0x26b69a(_0x44d19e(_0x31ac85)),'months':_0x26b69a(_0x44d19e(_0x53181e)),'weeks':_0x26b69a(_0x44d19e(_0x457e3e)),'days':_0x26b69a(_0x44d19e(_0x24d109)),'hours':_0x26b69a(_0x44d19e(_0x28586a)),'minutes':_0x26b69a(_0x44d19e(_0x44a932)),'seconds':_0x26b69a(_0x44d19e(_0x44a8f3),'-0'===_0x44a8f3),'milliseconds':_0x26b69a(_0x49ea9f(_0x5c941d),_0x5db0f7)}];}const _0x15c287={'GMT':0x0,'EDT':-0xf0,'EST':-0x12c,'CDT':-0x12c,'CST':-0x168,'MDT':-0x168,'MST':-0x1a4,'PDT':-0x1a4,'PST':-0x1e0};function _0x8aee46(_0x3a8d17,_0x406376,_0x3e131c,_0xeed270,_0x45d962,_0x41b973,_0x336403){const _0x1024a4={'year':0x2===_0x406376['length']?_0x4171e2(_0x40fa34(_0x406376)):_0x40fa34(_0x406376),'month':_0x2a760e['indexOf'](_0x3e131c)+0x1,'day':_0x40fa34(_0xeed270),'hour':_0x40fa34(_0x45d962),'minute':_0x40fa34(_0x41b973)};return _0x336403&&(_0x1024a4['second']=_0x40fa34(_0x336403)),_0x3a8d17&&(_0x1024a4['weekday']=_0x3a8d17['length']>0x3?_0x3616c5['indexOf'](_0x3a8d17)+0x1:_0xc345df['indexOf'](_0x3a8d17)+0x1),_0x1024a4;}const _0x4febe8=/^(?:(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 _0x20d82a(_0x588469){const [,_0x1d285a,_0x286c00,_0x303e09,_0xce0bff,_0x8fe1c,_0x1c5fb9,_0x46cc37,_0x42e522,_0x1efa24,_0x1c2760,_0x4b416f]=_0x588469,_0x191f15=_0x8aee46(_0x1d285a,_0xce0bff,_0x303e09,_0x286c00,_0x8fe1c,_0x1c5fb9,_0x46cc37);let _0x8fcc6c;return _0x8fcc6c=_0x42e522?_0x15c287[_0x42e522]:_0x1efa24?0x0:_0xb5f2c1(_0x1c2760,_0x4b416f),[_0x191f15,new _0x42485e(_0x8fcc6c)];}const _0x561601=/^(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$/,_0x42d6e0=/^(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$/,_0x18896d=/^(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 _0x146e13(_0x4da4aa){const [,_0x2a1258,_0x1449b9,_0x239581,_0x123c71,_0x88c100,_0x289297,_0x2d9a65]=_0x4da4aa;return[_0x8aee46(_0x2a1258,_0x123c71,_0x239581,_0x1449b9,_0x88c100,_0x289297,_0x2d9a65),_0x42485e['utcInstance']];}function _0x236de8(_0x45cf45){const [,_0x140b1b,_0x4ee83f,_0x4c22cf,_0x195e61,_0xd0ba21,_0x152f2f,_0x517f38]=_0x45cf45;return[_0x8aee46(_0x140b1b,_0x517f38,_0x4ee83f,_0x4c22cf,_0x195e61,_0xd0ba21,_0x152f2f),_0x42485e['utcInstance']];}const _0x416a86=_0x224bf6(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,_0x267056),_0x2891c5=_0x224bf6(/(\d{4})-?W(\d\d)(?:-?(\d))?/,_0x267056),_0x67e07f=_0x224bf6(/(\d{4})-?(\d{3})/,_0x267056),_0x1939dd=_0x224bf6(_0x5e4914),_0x55d6a4=_0x5c7dc5(function(_0x40595e,_0x29702f){return[{'year':_0x2b3c69(_0x40595e,_0x29702f),'month':_0x2b3c69(_0x40595e,_0x29702f+0x1,0x1),'day':_0x2b3c69(_0x40595e,_0x29702f+0x2,0x1)},null,_0x29702f+0x3];},_0xec89b4,_0xd93033,_0x15f164),_0x3f5404=_0x5c7dc5(_0x12229b,_0xec89b4,_0xd93033,_0x15f164),_0x1cf506=_0x5c7dc5(_0x4b88c7,_0xec89b4,_0xd93033,_0x15f164),_0x5c5474=_0x5c7dc5(_0xec89b4,_0xd93033,_0x15f164),_0x2d3bf3=_0x5c7dc5(_0xec89b4),_0x4a4888=_0x224bf6(/(\d{4})-(\d\d)-(\d\d)/,_0x55f9fe),_0x36dd3b=_0x224bf6(_0x39795d),_0x810f6a=_0x5c7dc5(_0xec89b4,_0xd93033,_0x15f164),_0x5d434d='Invalid\x20Duration',_0xe0541b={'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}},_0x286b68={'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},..._0xe0541b},_0x149341=365.2425,_0x19d470=30.436875,_0x1888d9={'years':{'quarters':0x4,'months':0xc,'weeks':52.1775,'days':_0x149341,'hours':8765.82,'minutes':525949.2,'seconds':525949.2*0x3c,'milliseconds':525949.2*0x3c*0x3e8},'quarters':{'months':0x3,'weeks':13.044375,'days':91.310625,'hours':2191.455,'minutes':131487.3,'seconds':525949.2*0x3c/0x4,'milliseconds':7889237999.999999},'months':{'weeks':4.3481250000000005,'days':_0x19d470,'hours':730.485,'minutes':43829.1,'seconds':0x282072,'milliseconds':0x9cbebd50},..._0xe0541b},_0xd653ff=['years','quarters','months','weeks','days','hours','minutes','seconds','milliseconds'],_0x3dd1da=_0xd653ff['slice'](0x0)['reverse']();function _0x2be0e2(_0x45790d,_0x443eca,_0x93a418=!0x1){return new _0x4e2904({'values':_0x93a418?_0x443eca['values']:{..._0x45790d['values'],..._0x443eca['values']||{}},'loc':_0x45790d['loc']['clone'](_0x443eca['loc']),'conversionAccuracy':_0x443eca['conversionAccuracy']||_0x45790d['conversionAccuracy'],'matrix':_0x443eca['matrix']||_0x45790d['matrix']});}function _0x10c7e2(_0x2e05b5,_0x1482cb){let _0x415ad7=_0x1482cb['milliseconds']??0x0;for(const _0x27c556 of _0x3dd1da['slice'](0x1))_0x1482cb[_0x27c556]&&(_0x415ad7+=_0x1482cb[_0x27c556]*_0x2e05b5[_0x27c556]['milliseconds']);return _0x415ad7;}function _0x15816f(_0x46323e,_0x3a9dd2){const _0x40f778=_0x10c7e2(_0x46323e,_0x3a9dd2)<0x0?-0x1:0x1;_0xd653ff['reduceRight']((_0x1be554,_0x227c9b)=>{if(_0xa2810c(_0x3a9dd2[_0x227c9b]))return _0x1be554;if(_0x1be554){const _0x5a0672=_0x3a9dd2[_0x1be554]*_0x40f778,_0x18352d=_0x46323e[_0x227c9b][_0x1be554],_0xf3c303=Math['floor'](_0x5a0672/_0x18352d);_0x3a9dd2[_0x227c9b]+=_0xf3c303*_0x40f778,_0x3a9dd2[_0x1be554]-=_0xf3c303*_0x18352d*_0x40f778;}return _0x227c9b;},null),_0xd653ff['reduce']((_0x5b3f65,_0x1c088e)=>{if(_0xa2810c(_0x3a9dd2[_0x1c088e]))return _0x5b3f65;if(_0x5b3f65){const _0x307937=_0x3a9dd2[_0x5b3f65]%0x1;_0x3a9dd2[_0x5b3f65]-=_0x307937,_0x3a9dd2[_0x1c088e]+=_0x307937*_0x46323e[_0x5b3f65][_0x1c088e];}return _0x1c088e;},null);}var _0x4e2904=class Duration{constructor(_0x4b4b10){const _0x26fcc9='longterm'===_0x4b4b10['conversionAccuracy']||!0x1;let _0x29ae65=_0x26fcc9?_0x1888d9:_0x286b68;_0x4b4b10['matrix']&&(_0x29ae65=_0x4b4b10['matrix']),this['values']=_0x4b4b10['values'],this['loc']=_0x4b4b10['loc']||_0x436f17['create'](),this['conversionAccuracy']=_0x26fcc9?'longterm':'casual',this['invalid']=_0x4b4b10['invalid']||null,this['matrix']=_0x29ae65,this['isLuxonDuration']=!0x0;}static['fromMillis'](_0x4664f1,_0x101cf0){return Duration['fromObject']({'milliseconds':_0x4664f1},_0x101cf0);}static['fromObject'](_0x84072c,_0x155f87={}){if(null==_0x84072c||'object'!=typeof _0x84072c)throw new _0x5d920f('Duration.fromObject:\x20argument\x20expected\x20to\x20be\x20an\x20object,\x20got\x20'+(null===_0x84072c?'null':typeof _0x84072c));return new Duration({'values':_0x1f64a2(_0x84072c,Duration['normalizeUnit']),'loc':_0x436f17['fromObject'](_0x155f87),'conversionAccuracy':_0x155f87['conversionAccuracy'],'matrix':_0x155f87['matrix']});}static['fromDurationLike'](_0x569e83){if(_0x4afe8f(_0x569e83))return Duration['fromMillis'](_0x569e83);if(Duration['isDuration'](_0x569e83))return _0x569e83;if('object'==typeof _0x569e83)return Duration['fromObject'](_0x569e83);throw new _0x5d920f('Unknown\x20duration\x20argument\x20'+_0x569e83+'\x20of\x20type\x20'+typeof _0x569e83);}static['fromISO'](_0x1be2ab,_0x12a8e3){const [_0x2131c7]=function(_0xd8f7a9){return _0x4c1435(_0xd8f7a9,[tr,_0x548625]);}(_0x1be2ab);return _0x2131c7?Duration['fromObject'](_0x2131c7,_0x12a8e3):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x1be2ab+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['fromISOTime'](_0x488818,_0x113fc9){const [_0x260bcd]=function(_0x4a965a){return _0x4c1435(_0x4a965a,[_0x2ca45f,_0x2d3bf3]);}(_0x488818);return _0x260bcd?Duration['fromObject'](_0x260bcd,_0x113fc9):Duration['invalid']('unparsable','the\x20input\x20\x22'+_0x488818+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['invalid'](_0x226735,_0xd0f5d3=null){if(!_0x226735)throw new _0x5d920f('need\x20to\x20specify\x20a\x20reason\x20the\x20Duration\x20is\x20invalid');const _0x2a390d=_0x226735 instanceof _0xfbf051?_0x226735:new _0xfbf051(_0x226735,_0xd0f5d3);if(_0x2f5928['throwOnInvalid'])throw new _0x36d241(_0x2a390d);return new Duration({'invalid':_0x2a390d});}static['normalizeUnit'](_0x1d5b9e){const _0x570ba2={'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'}[_0x1d5b9e?_0x1d5b9e['toLowerCase']():_0x1d5b9e];if(!_0x570ba2)throw new _0x5e4810(_0x1d5b9e);return _0x570ba2;}static['isDuration'](_0x526b8b){return _0x526b8b&&_0x526b8b['isLuxonDuration']||!0x1;}get['locale'](){return this['isValid']?this['loc']['locale']:null;}get['numberingSystem'](){return this['isValid']?this['loc']['numberingSystem']:null;}['toFormat'](_0x286d1d,_0x4a2b80={}){const _0x33d364={..._0x4a2b80,'floor':!0x1!==_0x4a2b80['round']&&!0x1!==_0x4a2b80['floor']};return this['isValid']?_0xcf574a['create'](this['loc'],_0x33d364)['formatDurationFromString'](this,_0x286d1d):_0x5d434d;}['toHuman'](_0x3d8b69={}){if(!this['isValid'])return _0x5d434d;const _0xda50a3=_0xd653ff['map'](_0x44b790=>{const _0x12ba57=this['values'][_0x44b790];return _0xa2810c(_0x12ba57)?null:this['loc']['numberFormatter']({'style':'unit','unitDisplay':'long',..._0x3d8b69,'unit':_0x44b790['slice'](0x0,-0x1)})['format'](_0x12ba57);})['filter'](_0x458583=>_0x458583);return this['loc']['listFormatter']({'type':'conjunction','style':_0x3d8b69['listStyle']||'narrow',..._0x3d8b69})['format'](_0xda50a3);}['toObject'](){return this['isValid']?{...this['values']}:{};}['toISO'](){if(!this['isValid'])return null;let _0x775114='P';return 0x0!==this['years']&&(_0x775114+=this['years']+'Y'),0x0===this['months']&&0x0===this['quarters']||(_0x775114+=this['months']+0x3*this['quarters']+'M'),0x0!==this['weeks']&&(_0x775114+=this['weeks']+'W'),0x0!==this['days']&&(_0x775114+=this['days']+'D'),0x0===this['hours']&&0x0===this['minutes']&&0x0===this['seconds']&&0x0===this['milliseconds']||(_0x775114+='T'),0x0!==this['hours']&&(_0x775114+=this['hours']+'H'),0x0!==this['minutes']&&(_0x775114+=this['minutes']+'M'),0x0===this['seconds']&&0x0===this['milliseconds']||(_0x775114+=_0x449d78(this['seconds']+this['milliseconds']/0x3e8,0x3)+'S'),'P'===_0x775114&&(_0x775114+='T0S'),_0x775114;}['toISOTime'](_0x3987e4={}){if(!this['isValid'])return null;const _0xde6c9a=this['toMillis']();return _0xde6c9a<0x0||_0xde6c9a>=0x5265c00?null:(_0x3987e4={'suppressMilliseconds':!0x1,'suppressSeconds':!0x1,'includePrefix':!0x1,'format':'extended',..._0x3987e4,'includeOffset':!0x1},_0x5b0740['fromMillis'](_0xde6c9a,{'zone':'UTC'})['toISOTime'](_0x3987e4));}['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']?_0x10c7e2(this['matrix'],this['values']):NaN;}['valueOf'](){return this['toMillis']();}['plus'](_0x5d2e4c){if(!this['isValid'])return this;const _0x419c1c=Duration['fromDurationLike'](_0x5d2e4c),_0xee8d3={};for(const _0x13282a of _0xd653ff)(_0x49e8bc(_0x419c1c['values'],_0x13282a)||_0x49e8bc(this['values'],_0x13282a))&&(_0xee8d3[_0x13282a]=_0x419c1c['get'](_0x13282a)+this['get'](_0x13282a));return _0x2be0e2(this,{'values':_0xee8d3},!0x0);}['minus'](_0x2d0c61){if(!this['isValid'])return this;const _0x16c007=Duration['fromDurationLike'](_0x2d0c61);return this['plus'](_0x16c007['negate']());}['mapUnits'](_0x42a04f){if(!this['isValid'])return this;const _0x330c5f={};for(const _0xdfe9ff of Object['keys'](this['values']))_0x330c5f[_0xdfe9ff]=_0x3367ee(_0x42a04f(this['values'][_0xdfe9ff],_0xdfe9ff));return _0x2be0e2(this,{'values':_0x330c5f},!0x0);}['get'](_0x51ca93){return this[Duration['normalizeUnit'](_0x51ca93)];}['set'](_0x593306){if(!this['isValid'])return this;return _0x2be0e2(this,{'values':{...this['values'],..._0x1f64a2(_0x593306,Duration['normalizeUnit'])}});}['reconfigure']({locale:_0x1e766d,numberingSystem:_0xa9470c,conversionAccuracy:_0x3ead51,matrix:_0x535332}={}){return _0x2be0e2(this,{'loc':this['loc']['clone']({'locale':_0x1e766d,'numberingSystem':_0xa9470c}),'matrix':_0x535332,'conversionAccuracy':_0x3ead51});}['as'](_0x34fcdb){return this['isValid']?this['shiftTo'](_0x34fcdb)['get'](_0x34fcdb):NaN;}['normalize'](){if(!this['isValid'])return this;const _0x1f24b4=this['toObject']();return _0x15816f(this['matrix'],_0x1f24b4),_0x2be0e2(this,{'values':_0x1f24b4},!0x0);}['rescale'](){if(!this['isValid'])return this;const _0x1d8379=function(_0x3dd634){const _0x4dda64={};for(const [_0x35e161,_0x4e51d7]of Object['entries'](_0x3dd634))0x0!==_0x4e51d7&&(_0x4dda64[_0x35e161]=_0x4e51d7);return _0x4dda64;}(this['normalize']()['shiftToAll']()['toObject']());return _0x2be0e2(this,{'values':_0x1d8379},!0x0);}['shiftTo'](..._0x5e085e){if(!this['isValid'])return this;if(0x0===_0x5e085e['length'])return this;_0x5e085e=_0x5e085e['map'](_0x38429e=>Duration['normalizeUnit'](_0x38429e));const _0x5df9c9={},_0x2aca90={},_0x4ba75a=this['toObject']();let _0x18d91c;for(const _0xbfd540 of _0xd653ff)if(_0x5e085e['indexOf'](_0xbfd540)>=0x0){_0x18d91c=_0xbfd540;let _0x2434a3=0x0;for(const _0xf14c0e in _0x2aca90)_0x2434a3+=this['matrix'][_0xf14c0e][_0xbfd540]*_0x2aca90[_0xf14c0e],_0x2aca90[_0xf14c0e]=0x0;_0x4afe8f(_0x4ba75a[_0xbfd540])&&(_0x2434a3+=_0x4ba75a[_0xbfd540]);const _0x416ce6=Math['trunc'](_0x2434a3);_0x5df9c9[_0xbfd540]=_0x416ce6,_0x2aca90[_0xbfd540]=(0x3e8*_0x2434a3-0x3e8*_0x416ce6)/0x3e8;}else _0x4afe8f(_0x4ba75a[_0xbfd540])&&(_0x2aca90[_0xbfd540]=_0x4ba75a[_0xbfd540]);for(const _0x484f73 in _0x2aca90)0x0!==_0x2aca90[_0x484f73]&&(_0x5df9c9[_0x18d91c]+=_0x484f73===_0x18d91c?_0x2aca90[_0x484f73]:_0x2aca90[_0x484f73]/this['matrix'][_0x18d91c][_0x484f73]);return _0x15816f(this['matrix'],_0x5df9c9),_0x2be0e2(this,{'values':_0x5df9c9},!0x0);}['shiftToAll'](){return this['isValid']?this['shiftTo']('years','months','weeks','days','hours','minutes','seconds','milliseconds'):this;}['negate'](){if(!this['isValid'])return this;const _0x4e6a8b={};for(const _0x1320ec of Object['keys'](this['values']))_0x4e6a8b[_0x1320ec]=0x0===this['values'][_0x1320ec]?0x0:-this['values'][_0x1320ec];return _0x2be0e2(this,{'values':_0x4e6a8b},!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'](_0xf3ee25){if(!this['isValid']||!_0xf3ee25['isValid'])return!0x1;if(!this['loc']['equals'](_0xf3ee25['loc']))return!0x1;function _0x19642c(_0x4a443d,_0xc5e6b0){return void 0x0===_0x4a443d||0x0===_0x4a443d?void 0x0===_0xc5e6b0||0x0===_0xc5e6b0:_0x4a443d===_0xc5e6b0;}for(const _0x4c86ea of _0xd653ff)if(!_0x19642c(this['values'][_0x4c86ea],_0xf3ee25['values'][_0x4c86ea]))return!0x1;return!0x0;}};const _0x1117b2='Invalid\x20Interval';function _0x252dc9(_0x3edb0f,_0xa19905){return _0x3edb0f&&_0x3edb0f['isValid']?_0xa19905&&_0xa19905['isValid']?_0xa19905<_0x3edb0f?_0x1a1640['invalid']('end\x20before\x20start','The\x20end\x20of\x20an\x20interval\x20must\x20be\x20after\x20its\x20start,\x20but\x20you\x20had\x20start='+_0x3edb0f['toISO']()+'\x20and\x20end='+_0xa19905['toISO']()):null:_0x1a1640['invalid']('missing\x20or\x20invalid\x20end'):_0x1a1640['invalid']('missing\x20or\x20invalid\x20start');}var _0x1a1640=class Interval{constructor(_0x52039e){this['s']=_0x52039e['start'],this['e']=_0x52039e['end'],this['invalid']=_0x52039e['invalid']||null,this['isLuxonInterval']=!0x0;}static['invalid'](_0x36bb77,_0x1e68e3=null){if(!_0x36bb77)throw new _0x5d920f('need\x20to\x20specify\x20a\x20reason\x20the\x20Interval\x20is\x20invalid');const _0x11618f=_0x36bb77 instanceof _0xfbf051?_0x36bb77:new _0xfbf051(_0x36bb77,_0x1e68e3);if(_0x2f5928['throwOnInvalid'])throw new _0x10ceb2(_0x11618f);return new Interval({'invalid':_0x11618f});}static['fromDateTimes'](_0x34d61c,_0x3d397e){const _0x1358b6=_0x4f7f31(_0x34d61c),_0x16300d=_0x4f7f31(_0x3d397e),_0x59dc49=_0x252dc9(_0x1358b6,_0x16300d);return null==_0x59dc49?new Interval({'start':_0x1358b6,'end':_0x16300d}):_0x59dc49;}static['after'](_0x2d687a,_0x5a0a31){const _0x14a0d2=_0x4e2904['fromDurationLike'](_0x5a0a31),_0x2eb7b3=_0x4f7f31(_0x2d687a);return Interval['fromDateTimes'](_0x2eb7b3,_0x2eb7b3['plus'](_0x14a0d2));}static['before'](_0x3fb1a3,_0x489482){const _0x57250c=_0x4e2904['fromDurationLike'](_0x489482),_0x175875=_0x4f7f31(_0x3fb1a3);return Interval['fromDateTimes'](_0x175875['minus'](_0x57250c),_0x175875);}static['fromISO'](_0x4ca319,_0x4790f4){const [_0x345a3f,_0x40138b]=(_0x4ca319||'')['split']('/',0x2);if(_0x345a3f&&_0x40138b){let _0x11fa2a,_0x3b9797,_0x55bbd6,_0x3f8da1;try{_0x11fa2a=_0x5b0740['fromISO'](_0x345a3f,_0x4790f4),_0x3b9797=_0x11fa2a['isValid'];}catch(_0x55b968){_0x3b9797=!0x1;}try{_0x55bbd6=_0x5b0740['fromISO'](_0x40138b,_0x4790f4),_0x3f8da1=_0x55bbd6['isValid'];}catch(_0x42679b){_0x3f8da1=!0x1;}if(_0x3b9797&&_0x3f8da1)return Interval['fromDateTimes'](_0x11fa2a,_0x55bbd6);if(_0x3b9797){const _0x12ab1d=_0x4e2904['fromISO'](_0x40138b,_0x4790f4);if(_0x12ab1d['isValid'])return Interval['after'](_0x11fa2a,_0x12ab1d);}else{if(_0x3f8da1){const _0x13df75=_0x4e2904['fromISO'](_0x345a3f,_0x4790f4);if(_0x13df75['isValid'])return Interval['before'](_0x55bbd6,_0x13df75);}}}return Interval['invalid']('unparsable','the\x20input\x20\x22'+_0x4ca319+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20ISO\x208601');}static['isInterval'](_0x3a8215){return _0x3a8215&&_0x3a8215['isLuxonInterval']||!0x1;}get['start'](){return this['isValid']?this['s']:null;}get['end'](){return this['isValid']?this['e']:null;}get['lastDateTime'](){return this['isValid']&&this['e']?this['e']['minus'](0x1):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'](_0x8c52f6='milliseconds'){return this['isValid']?this['toDuration'](_0x8c52f6)['get'](_0x8c52f6):NaN;}['count'](_0x3afcd2='milliseconds',_0x1b1d47){if(!this['isValid'])return NaN;const _0x5c91cd=this['start']['startOf'](_0x3afcd2,_0x1b1d47);let _0x3cf33f;return _0x3cf33f=_0x1b1d47?.['useLocaleWeeks']?this['end']['reconfigure']({'locale':_0x5c91cd['locale']}):this['end'],_0x3cf33f=_0x3cf33f['startOf'](_0x3afcd2,_0x1b1d47),Math['floor'](_0x3cf33f['diff'](_0x5c91cd,_0x3afcd2)['get'](_0x3afcd2))+(_0x3cf33f['valueOf']()!==this['end']['valueOf']());}['hasSame'](_0x264f5a){return!!this['isValid']&&(this['isEmpty']()||this['e']['minus'](0x1)['hasSame'](this['s'],_0x264f5a));}['isEmpty'](){return this['s']['valueOf']()===this['e']['valueOf']();}['isAfter'](_0xcefa8b){return!!this['isValid']&&this['s']>_0xcefa8b;}['isBefore'](_0x2e5a2e){return!!this['isValid']&&this['e']<=_0x2e5a2e;}['contains'](_0x53690f){return!!this['isValid']&&(this['s']<=_0x53690f&&this['e']>_0x53690f);}['set']({start:_0x1eb2b1,end:_0x1f1a94}={}){return this['isValid']?Interval['fromDateTimes'](_0x1eb2b1||this['s'],_0x1f1a94||this['e']):this;}['splitAt'](..._0xcb8589){if(!this['isValid'])return[];const _0x43de41=_0xcb8589['map'](_0x4f7f31)['filter'](_0x46d52e=>this['contains'](_0x46d52e))['sort']((_0x34435e,_0x325276)=>_0x34435e['toMillis']()-_0x325276['toMillis']()),_0x25bb1e=[];let {s:_0x436b85}=this,_0x1326b1=0x0;for(;_0x436b85<this['e'];){const _0x24aae8=_0x43de41[_0x1326b1]||this['e'],_0x223d0f=+_0x24aae8>+this['e']?this['e']:_0x24aae8;_0x25bb1e['push'](Interval['fromDateTimes'](_0x436b85,_0x223d0f)),_0x436b85=_0x223d0f,_0x1326b1+=0x1;}return _0x25bb1e;}['splitBy'](_0x36f1fe){const _0x47587c=_0x4e2904['fromDurationLike'](_0x36f1fe);if(!this['isValid']||!_0x47587c['isValid']||0x0===_0x47587c['as']('milliseconds'))return[];let _0x11f177,{s:_0x3d51c0}=this,_0x18077d=0x1;const _0x1c4435=[];for(;_0x3d51c0<this['e'];){const _0x545b4d=this['start']['plus'](_0x47587c['mapUnits'](_0x27ff8a=>_0x27ff8a*_0x18077d));_0x11f177=+_0x545b4d>+this['e']?this['e']:_0x545b4d,_0x1c4435['push'](Interval['fromDateTimes'](_0x3d51c0,_0x11f177)),_0x3d51c0=_0x11f177,_0x18077d+=0x1;}return _0x1c4435;}['divideEqually'](_0x4e1395){return this['isValid']?this['splitBy'](this['length']()/_0x4e1395)['slice'](0x0,_0x4e1395):[];}['overlaps'](_0x9330c9){return this['e']>_0x9330c9['s']&&this['s']<_0x9330c9['e'];}['abutsStart'](_0x3efc56){return!!this['isValid']&&+this['e']===+_0x3efc56['s'];}['abutsEnd'](_0x5e9f6f){return!!this['isValid']&&+_0x5e9f6f['e']===+this['s'];}['engulfs'](_0x330d74){return!!this['isValid']&&(this['s']<=_0x330d74['s']&&this['e']>=_0x330d74['e']);}['equals'](_0x3a4361){return!(!this['isValid']||!_0x3a4361['isValid'])&&(this['s']['equals'](_0x3a4361['s'])&&this['e']['equals'](_0x3a4361['e']));}['intersection'](_0x5b2681){if(!this['isValid'])return this;const _0x66e6cc=this['s']>_0x5b2681['s']?this['s']:_0x5b2681['s'],_0xbb1895=this['e']<_0x5b2681['e']?this['e']:_0x5b2681['e'];return _0x66e6cc>=_0xbb1895?null:Interval['fromDateTimes'](_0x66e6cc,_0xbb1895);}['union'](_0x51d26a){if(!this['isValid'])return this;const _0x3c6bfd=this['s']<_0x51d26a['s']?this['s']:_0x51d26a['s'],_0x5977d1=this['e']>_0x51d26a['e']?this['e']:_0x51d26a['e'];return Interval['fromDateTimes'](_0x3c6bfd,_0x5977d1);}static['merge'](_0x2e572a){const [_0x31cdbc,_0x21438b]=_0x2e572a['sort']((_0x29add5,_0x288c41)=>_0x29add5['s']-_0x288c41['s'])['reduce'](([_0x4bff1f,_0x15c0a7],_0x21feff)=>_0x15c0a7?_0x15c0a7['overlaps'](_0x21feff)||_0x15c0a7['abutsStart'](_0x21feff)?[_0x4bff1f,_0x15c0a7['union'](_0x21feff)]:[_0x4bff1f['concat']([_0x15c0a7]),_0x21feff]:[_0x4bff1f,_0x21feff],[[],null]);return _0x21438b&&_0x31cdbc['push'](_0x21438b),_0x31cdbc;}static['xor'](_0x432fd2){let _0x48ebe8=null,_0x1d2b21=0x0;const _0x419173=[],_0x5db8e9=_0x432fd2['map'](_0x526c91=>[{'time':_0x526c91['s'],'type':'s'},{'time':_0x526c91['e'],'type':'e'}]),_0x2b9b26=Array['prototype']['concat'](..._0x5db8e9)['sort']((_0x18cfa2,_0x192bd7)=>_0x18cfa2['time']-_0x192bd7['time']);for(const _0x1d0eaf of _0x2b9b26)_0x1d2b21+='s'===_0x1d0eaf['type']?0x1:-0x1,0x1===_0x1d2b21?_0x48ebe8=_0x1d0eaf['time']:(_0x48ebe8&&+_0x48ebe8!==+_0x1d0eaf['time']&&_0x419173['push'](Interval['fromDateTimes'](_0x48ebe8,_0x1d0eaf['time'])),_0x48ebe8=null);return Interval['merge'](_0x419173);}['difference'](..._0x5c65f3){return Interval['xor']([this]['concat'](_0x5c65f3))['map'](_0x109d69=>this['intersection'](_0x109d69))['filter'](_0x295257=>_0x295257&&!_0x295257['isEmpty']());}['toString'](){return this['isValid']?'['+this['s']['toISO']()+'\x20–\x20'+this['e']['toISO']()+')':_0x1117b2;}[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'](_0x372a75=_0x2df039,_0x50f919={}){return this['isValid']?_0xcf574a['create'](this['s']['loc']['clone'](_0x50f919),_0x372a75)['formatInterval'](this):_0x1117b2;}['toISO'](_0x5d8f00){return this['isValid']?this['s']['toISO'](_0x5d8f00)+'/'+this['e']['toISO'](_0x5d8f00):_0x1117b2;}['toISODate'](){return this['isValid']?this['s']['toISODate']()+'/'+this['e']['toISODate']():_0x1117b2;}['toISOTime'](_0x2db43c){return this['isValid']?this['s']['toISOTime'](_0x2db43c)+'/'+this['e']['toISOTime'](_0x2db43c):_0x1117b2;}['toFormat'](_0x178949,{separator:_0x1e25dd='\x20–\x20'}={}){return this['isValid']?''+this['s']['toFormat'](_0x178949)+_0x1e25dd+this['e']['toFormat'](_0x178949):_0x1117b2;}['toDuration'](_0x32828f,_0x3fc053){return this['isValid']?this['e']['diff'](this['s'],_0x32828f,_0x3fc053):_0x4e2904['invalid'](this['invalidReason']);}['mapEndpoints'](_0x41f6a3){return Interval['fromDateTimes'](_0x41f6a3(this['s']),_0x41f6a3(this['e']));}},_0x593925=class{static['hasDST'](_0x32a1c5=_0x2f5928['defaultZone']){const _0x54743e=_0x5b0740['now']()['setZone'](_0x32a1c5)['set']({'month':0xc});return!_0x32a1c5['isUniversal']&&_0x54743e['offset']!==_0x54743e['set']({'month':0x6})['offset'];}static['isValidIANAZone'](_0x2024ee){return _0xdd0ec2['isValidZone'](_0x2024ee);}static['normalizeZone'](_0x29d8da){return _0x10d6c1(_0x29d8da,_0x2f5928['defaultZone']);}static['getStartOfWeek']({locale:_0x456a39=null,locObj:_0x4167f0=null}={}){return(_0x4167f0||_0x436f17['create'](_0x456a39))['getStartOfWeek']();}static['getMinimumDaysInFirstWeek']({locale:_0x569c26=null,locObj:_0x381dbd=null}={}){return(_0x381dbd||_0x436f17['create'](_0x569c26))['getMinDaysInFirstWeek']();}static['getWeekendWeekdays']({locale:_0x176c4b=null,locObj:_0x222574=null}={}){return(_0x222574||_0x436f17['create'](_0x176c4b))['getWeekendDays']()['slice']();}static['months'](_0x2028fd='long',{locale:_0x164b41=null,numberingSystem:_0x31f3f7=null,locObj:_0x56a1d5=null,outputCalendar:_0x53d569='gregory'}={}){return(_0x56a1d5||_0x436f17['create'](_0x164b41,_0x31f3f7,_0x53d569))['months'](_0x2028fd);}static['monthsFormat'](_0xca0853='long',{locale:_0x2089e0=null,numberingSystem:_0xaf6741=null,locObj:_0x5c8529=null,outputCalendar:_0x839c7e='gregory'}={}){return(_0x5c8529||_0x436f17['create'](_0x2089e0,_0xaf6741,_0x839c7e))['months'](_0xca0853,!0x0);}static['weekdays'](_0x59db8d='long',{locale:_0x53957b=null,numberingSystem:_0x1f70ab=null,locObj:_0x1a33d6=null}={}){return(_0x1a33d6||_0x436f17['create'](_0x53957b,_0x1f70ab,null))['weekdays'](_0x59db8d);}static['weekdaysFormat'](_0x359fc1='long',{locale:_0x354569=null,numberingSystem:_0x49c3c9=null,locObj:_0x541519=null}={}){return(_0x541519||_0x436f17['create'](_0x354569,_0x49c3c9,null))['weekdays'](_0x359fc1,!0x0);}static['meridiems']({locale:_0x4dad4f=null}={}){return _0x436f17['create'](_0x4dad4f)['meridiems']();}static['eras'](_0x277cde='short',{locale:_0x4debf6=null}={}){return _0x436f17['create'](_0x4debf6,null,'gregory')['eras'](_0x277cde);}static['features'](){return{'relative':_0xf69173(),'localeWeek':_0x104e09()};}};function _0x364035(_0x271943,_0x3725f3){const _0x3cd797=_0x18be10=>_0x18be10['toUTC'](0x0,{'keepLocalTime':!0x0})['startOf']('day')['valueOf'](),_0x400d3c=_0x3cd797(_0x3725f3)-_0x3cd797(_0x271943);return Math['floor'](_0x4e2904['fromMillis'](_0x400d3c)['as']('days'));}function _0x2e858c(_0x4b4abb,_0x5ebd06,_0x15b2ff,_0x388aab){let [_0x541bd3,_0x8619dd,_0x502b94,_0x2f23d5]=function(_0x3e26e4,_0x3c8c5f,_0x1c29b3){const _0xaf9cb0=[['years',(_0x1f598a,_0xfa10d3)=>_0xfa10d3['year']-_0x1f598a['year']],['quarters',(_0x40a3cf,_0x351e3a)=>_0x351e3a['quarter']-_0x40a3cf['quarter']+0x4*(_0x351e3a['year']-_0x40a3cf['year'])],['months',(_0xca0068,_0x4652e0)=>_0x4652e0['month']-_0xca0068['month']+0xc*(_0x4652e0['year']-_0xca0068['year'])],['weeks',(_0x18b826,_0x8aef51)=>{const _0x20e9a8=_0x364035(_0x18b826,_0x8aef51);return(_0x20e9a8-_0x20e9a8%0x7)/0x7;}],['days',_0x364035]],_0xcdcf3f={},_0x51a121=_0x3e26e4;let _0x1ccef5,_0x3ac142;for(const [_0x27ae53,_0x4528d8]of _0xaf9cb0)_0x1c29b3['indexOf'](_0x27ae53)>=0x0&&(_0x1ccef5=_0x27ae53,_0xcdcf3f[_0x27ae53]=_0x4528d8(_0x3e26e4,_0x3c8c5f),_0x3ac142=_0x51a121['plus'](_0xcdcf3f),_0x3ac142>_0x3c8c5f?(_0xcdcf3f[_0x27ae53]--,(_0x3e26e4=_0x51a121['plus'](_0xcdcf3f))>_0x3c8c5f&&(_0x3ac142=_0x3e26e4,_0xcdcf3f[_0x27ae53]--,_0x3e26e4=_0x51a121['plus'](_0xcdcf3f))):_0x3e26e4=_0x3ac142);return[_0x3e26e4,_0xcdcf3f,_0x3ac142,_0x1ccef5];}(_0x4b4abb,_0x5ebd06,_0x15b2ff);const _0x1419a7=_0x5ebd06-_0x541bd3,_0x5dcd2a=_0x15b2ff['filter'](_0x5beea3=>['hours','minutes','seconds','milliseconds']['indexOf'](_0x5beea3)>=0x0);0x0===_0x5dcd2a['length']&&(_0x502b94<_0x5ebd06&&(_0x502b94=_0x541bd3['plus']({[_0x2f23d5]:0x1})),_0x502b94!==_0x541bd3&&(_0x8619dd[_0x2f23d5]=(_0x8619dd[_0x2f23d5]||0x0)+_0x1419a7/(_0x502b94-_0x541bd3)));const _0x4dce0d=_0x4e2904['fromObject'](_0x8619dd,_0x388aab);return _0x5dcd2a['length']>0x0?_0x4e2904['fromMillis'](_0x1419a7,_0x388aab)['shiftTo'](..._0x5dcd2a)['plus'](_0x4dce0d):_0x4dce0d;}function _0xb494c0(_0x32358c,_0x312890=_0x29a397=>_0x29a397){return{'regex':_0x32358c,'deser':([_0x3ff0cf])=>_0x312890(function(_0x2fa690){let _0x13875c=parseInt(_0x2fa690,0xa);if(isNaN(_0x13875c)){_0x13875c='';for(let _0x2841a1=0x0;_0x2841a1<_0x2fa690['length'];_0x2841a1++){const _0x3d65e3=_0x2fa690['charCodeAt'](_0x2841a1);if(-0x1!==_0x2fa690[_0x2841a1]['search'](_0x4d9c1a['hanidec']))_0x13875c+=_0x5db17e['indexOf'](_0x2fa690[_0x2841a1]);else for(const _0x24a1e7 in _0x3ead7d){const [_0x5bb146,_0x113f24]=_0x3ead7d[_0x24a1e7];_0x3d65e3>=_0x5bb146&&_0x3d65e3<=_0x113f24&&(_0x13875c+=_0x3d65e3-_0x5bb146);}}return parseInt(_0x13875c,0xa);}return _0x13875c;}(_0x3ff0cf))};}const _0x45b1b2='[\x20'+String['fromCharCode'](0xa0)+']',_0x1313d2=new RegExp(_0x45b1b2,'g');function _0x559394(_0x3f0788){return _0x3f0788['replace'](/\./g,'\x5c.?')['replace'](_0x1313d2,_0x45b1b2);}function _0x29999f(_0x230c25){return _0x230c25['replace'](/\./g,'')['replace'](_0x1313d2,'\x20')['toLowerCase']();}function _0x582c9e(_0x2b456e,_0xd351eb){return null===_0x2b456e?null:{'regex':RegExp(_0x2b456e['map'](_0x559394)['join']('|')),'deser':([_0x467bd6])=>_0x2b456e['findIndex'](_0x2d2eb6=>_0x29999f(_0x467bd6)===_0x29999f(_0x2d2eb6))+_0xd351eb};}function _0x41b78c(_0x1f3825,_0x59fa80){return{'regex':_0x1f3825,'deser':([,_0xb0e90,_0x453bb3])=>_0xb5f2c1(_0xb0e90,_0x453bb3),'groups':_0x59fa80};}function _0x51fbaf(_0x448f77){return{'regex':_0x448f77,'deser':([_0xd368a0])=>_0xd368a0};}function _0x695ae5(_0x2a251d){return _0x2a251d['replace'](/[\-\[\]{}()*+?.,\\\^$|#\s]/g,'\x5c$&');}const _0x2bfab0={'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'}};let _0x1e3424=null;function _0x2ed4c3(_0x54a736,_0x35cd6f){return Array['prototype']['concat'](..._0x54a736['map'](t=>function(_0x46685b,_0x3ce5e5){if(_0x46685b['literal'])return _0x46685b;const _0xfe39c4=_0x5ee134(_0xcf574a['macroTokenToFormatOpts'](_0x46685b['val']),_0x3ce5e5);return null==_0xfe39c4||_0xfe39c4['includes'](void 0x0)?_0x46685b:_0xfe39c4;}(t,_0x35cd6f)));}var _0x371108=class{constructor(_0x1ebfad,_0x58a959){if(this['locale']=_0x1ebfad,this['format']=_0x58a959,this['tokens']=_0x2ed4c3(_0xcf574a['parseFormat'](_0x58a959),_0x1ebfad),this['units']=this['tokens']['map'](t=>function(_0x3ddb4d,_0x531db6){const _0x3d85a0=_0x1f5571(_0x531db6),_0x440eac=_0x1f5571(_0x531db6,'{2}'),_0x5dfbe1=_0x1f5571(_0x531db6,'{3}'),_0x3abb4b=_0x1f5571(_0x531db6,'{4}'),_0x3772f6=_0x1f5571(_0x531db6,'{6}'),_0x4d944a=_0x1f5571(_0x531db6,'{1,2}'),_0x8e912=_0x1f5571(_0x531db6,'{1,3}'),_0x31d8e7=_0x1f5571(_0x531db6,'{1,6}'),_0x8634e=_0x1f5571(_0x531db6,'{1,9}'),_0x1baf10=_0x1f5571(_0x531db6,'{2,4}'),_0xa98e36=_0x1f5571(_0x531db6,'{4,6}'),_0x2f4f85=t=>({'regex':RegExp(_0x695ae5(t['val'])),'deser':([_0xd3f2b9])=>_0xd3f2b9,'literal':!0x0}),_0xc59e25=(t=>{if(_0x3ddb4d['literal'])return _0x2f4f85(t);switch(t['val']){case'G':return _0x582c9e(_0x531db6['eras']('short'),0x0);case'GG':return _0x582c9e(_0x531db6['eras']('long'),0x0);case'y':return _0xb494c0(_0x31d8e7);case'yy':case'kk':return _0xb494c0(_0x1baf10,_0x4171e2);case'yyyy':case'kkkk':return _0xb494c0(_0x3abb4b);case'yyyyy':return _0xb494c0(_0xa98e36);case'yyyyyy':return _0xb494c0(_0x3772f6);case'M':case'L':case'd':case'H':case'h':case'm':case'q':case's':case'W':return _0xb494c0(_0x4d944a);case'MM':case'LL':case'dd':case'HH':case'hh':case'mm':case'qq':case'ss':case'WW':return _0xb494c0(_0x440eac);case'MMM':return _0x582c9e(_0x531db6['months']('short',!0x0),0x1);case'MMMM':return _0x582c9e(_0x531db6['months']('long',!0x0),0x1);case'LLL':return _0x582c9e(_0x531db6['months']('short',!0x1),0x1);case'LLLL':return _0x582c9e(_0x531db6['months']('long',!0x1),0x1);case'o':case'S':return _0xb494c0(_0x8e912);case'ooo':case'SSS':return _0xb494c0(_0x5dfbe1);case'u':return _0x51fbaf(_0x8634e);case'uu':return _0x51fbaf(_0x4d944a);case'uuu':case'E':case'c':return _0xb494c0(_0x3d85a0);case'a':return _0x582c9e(_0x531db6['meridiems'](),0x0);case'EEE':return _0x582c9e(_0x531db6['weekdays']('short',!0x1),0x1);case'EEEE':return _0x582c9e(_0x531db6['weekdays']('long',!0x1),0x1);case'ccc':return _0x582c9e(_0x531db6['weekdays']('short',!0x0),0x1);case'cccc':return _0x582c9e(_0x531db6['weekdays']('long',!0x0),0x1);case'Z':case'ZZ':return _0x41b78c(new RegExp('([+-]'+_0x4d944a['source']+')(?::('+_0x440eac['source']+'))?'),0x2);case'ZZZ':return _0x41b78c(new RegExp('([+-]'+_0x4d944a['source']+')('+_0x440eac['source']+')?'),0x2);case'z':return _0x51fbaf(/[a-z_+-/]{1,256}?/i);case'\x20':return _0x51fbaf(/[^\S\n\r]/);default:return _0x2f4f85(t);}})(_0x3ddb4d)||{'invalidReason':'missing\x20Intl.DateTimeFormat.formatToParts\x20support'};return _0xc59e25['token']=_0x3ddb4d,_0xc59e25;}(t,_0x1ebfad)),this['disqualifyingUnit']=this['units']['find'](t=>t['invalidReason']),!this['disqualifyingUnit']){const [_0x240913,_0x4d88ba]=['^'+(_0x4de20a=this['units'])['map'](_0x25c78a=>_0x25c78a['regex'])['reduce']((_0x319be3,_0x5781ea)=>_0x319be3+'('+_0x5781ea['source']+')','')+'$',_0x4de20a];this['regex']=RegExp(_0x240913,'i'),this['handlers']=_0x4d88ba;}var _0x4de20a;}['explainFromTokens'](_0x2029d7){if(this['isValid']){const [_0x127af3,_0x24f9c6]=function(_0x4f79c7,_0x636163,_0x41ec48){const _0x49fca8=_0x4f79c7['match'](_0x636163);if(_0x49fca8){const _0x130562={};let _0x1566a1=0x1;for(const _0x5b372b in _0x41ec48)if(_0x49e8bc(_0x41ec48,_0x5b372b)){const _0x1b6265=_0x41ec48[_0x5b372b],_0x75df01=_0x1b6265['groups']?_0x1b6265['groups']+0x1:0x1;!_0x1b6265['literal']&&_0x1b6265['token']&&(_0x130562[_0x1b6265['token']['val'][0x0]]=_0x1b6265['deser'](_0x49fca8['slice'](_0x1566a1,_0x1566a1+_0x75df01))),_0x1566a1+=_0x75df01;}return[_0x49fca8,_0x130562];}return[_0x49fca8,{}];}(_0x2029d7,this['regex'],this['handlers']),[_0x395977,_0x3f0b67,_0x25c71c]=_0x24f9c6?function(_0x2ec268){let _0x5ebeb1,_0x5f2f39=null;return _0xa2810c(_0x2ec268['z'])||(_0x5f2f39=_0xdd0ec2['create'](_0x2ec268['z'])),_0xa2810c(_0x2ec268['Z'])||(_0x5f2f39||(_0x5f2f39=new _0x42485e(_0x2ec268['Z'])),_0x5ebeb1=_0x2ec268['Z']),_0xa2810c(_0x2ec268['q'])||(_0x2ec268['M']=0x3*(_0x2ec268['q']-0x1)+0x1),_0xa2810c(_0x2ec268['h'])||(_0x2ec268['h']<0xc&&0x1===_0x2ec268['a']?_0x2ec268['h']+=0xc:0xc===_0x2ec268['h']&&0x0===_0x2ec268['a']&&(_0x2ec268['h']=0x0)),0x0===_0x2ec268['G']&&_0x2ec268['y']&&(_0x2ec268['y']=-_0x2ec268['y']),_0xa2810c(_0x2ec268['u'])||(_0x2ec268['S']=_0x49ea9f(_0x2ec268['u'])),[Object['keys'](_0x2ec268)['reduce']((_0x4e6e9b,_0x5f5189)=>{const _0x54278d=(_0x588d1d=>{switch(_0x588d1d){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;}})(_0x5f5189);return _0x54278d&&(_0x4e6e9b[_0x54278d]=_0x2ec268[_0x5f5189]),_0x4e6e9b;},{}),_0x5f2f39,_0x5ebeb1];}(_0x24f9c6):[null,null,void 0x0];if(_0x49e8bc(_0x24f9c6,'a')&&_0x49e8bc(_0x24f9c6,'H'))throw new _0x2b191c('Can\x27t\x20include\x20meridiem\x20when\x20specifying\x2024-hour\x20format');return{'input':_0x2029d7,'tokens':this['tokens'],'regex':this['regex'],'rawMatches':_0x127af3,'matches':_0x24f9c6,'result':_0x395977,'zone':_0x3f0b67,'specificOffset':_0x25c71c};}return{'input':_0x2029d7,'tokens':this['tokens'],'invalidReason':this['invalidReason']};}get['isValid'](){return!this['disqualifyingUnit'];}get['invalidReason'](){return this['disqualifyingUnit']?this['disqualifyingUnit']['invalidReason']:null;}};function to(_0x4083bb,_0x310f3d,_0x310709){return new _0x371108(_0x4083bb,_0x310709)['explainFromTokens'](_0x310f3d);}function _0x5ee134(_0x462471,_0x53d950){if(!_0x462471)return null;const _0x2a10a3=_0xcf574a['create'](_0x53d950,_0x462471)['dtFormatter']((_0x1e3424||(_0x1e3424=_0x5b0740['fromMillis'](0x16a2e5618e3)),_0x1e3424)),_0x282702=_0x2a10a3['formatToParts'](),_0xe0adaf=_0x2a10a3['resolvedOptions']();return _0x282702['map'](_0x1279da=>function(_0x1a3bc7,_0x7922c8,_0x4207d7){const {type:_0x432aea,value:_0x22b96d}=_0x1a3bc7;if('literal'===_0x432aea){const _0x3e7859=/^\s+$/['test'](_0x22b96d);return{'literal':!_0x3e7859,'val':_0x3e7859?'\x20':_0x22b96d};}const _0x35cb7e=_0x7922c8[_0x432aea];let _0x41169e=_0x432aea;'hour'===_0x432aea&&(_0x41169e=null!=_0x7922c8['hour12']?_0x7922c8['hour12']?'hour12':'hour24':null!=_0x7922c8['hourCycle']?'h11'===_0x7922c8['hourCycle']||'h12'===_0x7922c8['hourCycle']?'hour12':'hour24':_0x4207d7['hour12']?'hour12':'hour24');let _0x43e0b1=_0x2bfab0[_0x41169e];if('object'==typeof _0x43e0b1&&(_0x43e0b1=_0x43e0b1[_0x35cb7e]),_0x43e0b1)return{'literal':!0x1,'val':_0x43e0b1};}(_0x1279da,_0x462471,_0xe0adaf));}const _0x44bd8a='Invalid\x20DateTime';function _0x2caaf4(_0x52f0f6){return new _0xfbf051('unsupported\x20zone','the\x20zone\x20\x22'+_0x52f0f6['name']+'\x22\x20is\x20not\x20supported');}function _0x4e302e(_0x3af531){return null===_0x3af531['weekData']&&(_0x3af531['weekData']=_0x4e89ce(_0x3af531['c'])),_0x3af531['weekData'];}function _0x1e591e(_0x40872c){return null===_0x40872c['localWeekData']&&(_0x40872c['localWeekData']=_0x4e89ce(_0x40872c['c'],_0x40872c['loc']['getMinDaysInFirstWeek'](),_0x40872c['loc']['getStartOfWeek']())),_0x40872c['localWeekData'];}function _0x2a0efb(_0x4fbbbd,_0x402b27){const _0x12bc3d={'ts':_0x4fbbbd['ts'],'zone':_0x4fbbbd['zone'],'c':_0x4fbbbd['c'],'o':_0x4fbbbd['o'],'loc':_0x4fbbbd['loc'],'invalid':_0x4fbbbd['invalid']};return new _0x5b0740({..._0x12bc3d,..._0x402b27,'old':_0x12bc3d});}function _0x21c6e1(_0x21e05a,_0x45ecae,_0x2f5b96){let _0x50a3f8=_0x21e05a-0x3c*_0x45ecae*0x3e8;const _0x1a54f5=_0x2f5b96['offset'](_0x50a3f8);if(_0x45ecae===_0x1a54f5)return[_0x50a3f8,_0x45ecae];_0x50a3f8-=0x3c*(_0x1a54f5-_0x45ecae)*0x3e8;const _0x28f0e7=_0x2f5b96['offset'](_0x50a3f8);return _0x1a54f5===_0x28f0e7?[_0x50a3f8,_0x1a54f5]:[_0x21e05a-0x3c*Math['min'](_0x1a54f5,_0x28f0e7)*0x3e8,Math['max'](_0x1a54f5,_0x28f0e7)];}function _0x499f12(_0x33a340,_0x14b1b6){const _0x4b909e=new Date(_0x33a340+=0x3c*_0x14b1b6*0x3e8);return{'year':_0x4b909e['getUTCFullYear'](),'month':_0x4b909e['getUTCMonth']()+0x1,'day':_0x4b909e['getUTCDate'](),'hour':_0x4b909e['getUTCHours'](),'minute':_0x4b909e['getUTCMinutes'](),'second':_0x4b909e['getUTCSeconds'](),'millisecond':_0x4b909e['getUTCMilliseconds']()};}function _0x19da29(_0x35b6fd,_0x538681,_0x1bdb46){return _0x21c6e1(_0x61eca3(_0x35b6fd),_0x538681,_0x1bdb46);}function _0x582b2a(_0x4fee7e,_0x3dfe61){const _0x21436c=_0x4fee7e['o'],_0x4af45a=_0x4fee7e['c']['year']+Math['trunc'](_0x3dfe61['years']),_0x503755=_0x4fee7e['c']['month']+Math['trunc'](_0x3dfe61['months'])+0x3*Math['trunc'](_0x3dfe61['quarters']),_0x28e224={..._0x4fee7e['c'],'year':_0x4af45a,'month':_0x503755,'day':Math['min'](_0x4fee7e['c']['day'],_0x114a04(_0x4af45a,_0x503755))+Math['trunc'](_0x3dfe61['days'])+0x7*Math['trunc'](_0x3dfe61['weeks'])},_0x434d5d=_0x4e2904['fromObject']({'years':_0x3dfe61['years']-Math['trunc'](_0x3dfe61['years']),'quarters':_0x3dfe61['quarters']-Math['trunc'](_0x3dfe61['quarters']),'months':_0x3dfe61['months']-Math['trunc'](_0x3dfe61['months']),'weeks':_0x3dfe61['weeks']-Math['trunc'](_0x3dfe61['weeks']),'days':_0x3dfe61['days']-Math['trunc'](_0x3dfe61['days']),'hours':_0x3dfe61['hours'],'minutes':_0x3dfe61['minutes'],'seconds':_0x3dfe61['seconds'],'milliseconds':_0x3dfe61['milliseconds']})['as']('milliseconds');let [_0x44db32,_0x585c1a]=_0x21c6e1(_0x61eca3(_0x28e224),_0x21436c,_0x4fee7e['zone']);return 0x0!==_0x434d5d&&(_0x44db32+=_0x434d5d,_0x585c1a=_0x4fee7e['zone']['offset'](_0x44db32)),{'ts':_0x44db32,'o':_0x585c1a};}function _0x571971(_0x22a403,_0x158696,_0x173c43,_0x46543e,_0x3e5a49,_0x2cf8ac){const {setZone:_0x4cf3fe,zone:_0xf2ae5}=_0x173c43;if(_0x22a403&&0x0!==Object['keys'](_0x22a403)['length']||_0x158696){const _0x409aa6=_0x158696||_0xf2ae5,_0x1c657f=_0x5b0740['fromObject'](_0x22a403,{..._0x173c43,'zone':_0x409aa6,'specificOffset':_0x2cf8ac});return _0x4cf3fe?_0x1c657f:_0x1c657f['setZone'](_0xf2ae5);}return _0x5b0740['invalid'](new _0xfbf051('unparsable','the\x20input\x20\x22'+_0x3e5a49+'\x22\x20can\x27t\x20be\x20parsed\x20as\x20'+_0x46543e));}function _0x50d954(_0x18c6da,_0xbf4ed8,_0x191c6c=!0x0){return _0x18c6da['isValid']?_0xcf574a['create'](_0x436f17['create']('en-US'),{'allowZ':_0x191c6c,'forceSimple':!0x0})['formatDateTimeFromString'](_0x18c6da,_0xbf4ed8):null;}function _0x59cf27(_0x27e3f7,_0x4a4402){const _0x6d5561=_0x27e3f7['c']['year']>0x270f||_0x27e3f7['c']['year']<0x0;let _0x587330='';return _0x6d5561&&_0x27e3f7['c']['year']>=0x0&&(_0x587330+='+'),_0x587330+=_0x1dec1b(_0x27e3f7['c']['year'],_0x6d5561?0x6:0x4),_0x4a4402?(_0x587330+='-',_0x587330+=_0x1dec1b(_0x27e3f7['c']['month']),_0x587330+='-',_0x587330+=_0x1dec1b(_0x27e3f7['c']['day'])):(_0x587330+=_0x1dec1b(_0x27e3f7['c']['month']),_0x587330+=_0x1dec1b(_0x27e3f7['c']['day'])),_0x587330;}function _0xef9611(_0x18b8b5,_0x205e2b,_0x95e2a7,_0x767ed0,_0x42dbac,_0x1859af){let _0x53d4f2=_0x1dec1b(_0x18b8b5['c']['hour']);return _0x205e2b?(_0x53d4f2+=':',_0x53d4f2+=_0x1dec1b(_0x18b8b5['c']['minute']),0x0===_0x18b8b5['c']['millisecond']&&0x0===_0x18b8b5['c']['second']&&_0x95e2a7||(_0x53d4f2+=':')):_0x53d4f2+=_0x1dec1b(_0x18b8b5['c']['minute']),0x0===_0x18b8b5['c']['millisecond']&&0x0===_0x18b8b5['c']['second']&&_0x95e2a7||(_0x53d4f2+=_0x1dec1b(_0x18b8b5['c']['second']),0x0===_0x18b8b5['c']['millisecond']&&_0x767ed0||(_0x53d4f2+='.',_0x53d4f2+=_0x1dec1b(_0x18b8b5['c']['millisecond'],0x3))),_0x42dbac&&(_0x18b8b5['isOffsetFixed']&&0x0===_0x18b8b5['offset']&&!_0x1859af?_0x53d4f2+='Z':_0x18b8b5['o']<0x0?(_0x53d4f2+='-',_0x53d4f2+=_0x1dec1b(Math['trunc'](-_0x18b8b5['o']/0x3c)),_0x53d4f2+=':',_0x53d4f2+=_0x1dec1b(Math['trunc'](-_0x18b8b5['o']%0x3c))):(_0x53d4f2+='+',_0x53d4f2+=_0x1dec1b(Math['trunc'](_0x18b8b5['o']/0x3c)),_0x53d4f2+=':',_0x53d4f2+=_0x1dec1b(Math['trunc'](_0x18b8b5['o']%0x3c)))),_0x1859af&&(_0x53d4f2+='['+_0x18b8b5['zone']['ianaName']+']'),_0x53d4f2;}const _0x256d17={'month':0x1,'day':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x328070={'weekNumber':0x1,'weekday':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x42839e={'ordinal':0x1,'hour':0x0,'minute':0x0,'second':0x0,'millisecond':0x0},_0x2e06bb=['year','month','day','hour','minute','second','millisecond'],_0x3ef89c=['weekYear','weekNumber','weekday','hour','minute','second','millisecond'],_0x4f8577=['year','ordinal','hour','minute','second','millisecond'];function _0x14a3d5(_0x337d1c){switch(_0x337d1c['toLowerCase']()){case'localweekday':case'localweekdays':return'localWeekday';case'localweeknumber':case'localweeknumbers':return'localWeekNumber';case'localweekyear':case'localweekyears':return'localWeekYear';default:return function(_0x3f7bfa){const _0x41fcb0={'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'}[_0x3f7bfa['toLowerCase']()];if(!_0x41fcb0)throw new _0x5e4810(_0x3f7bfa);return _0x41fcb0;}(_0x337d1c);}}function _0x530e32(_0x1ac6cc,_0x151fbd){const _0x1ecb15=_0x10d6c1(_0x151fbd['zone'],_0x2f5928['defaultZone']);if(!_0x1ecb15['isValid'])return _0x5b0740['invalid'](_0x2caaf4(_0x1ecb15));const _0x55bda6=_0x436f17['fromObject'](_0x151fbd);let _0x3ac740,_0x129a27;if(_0xa2810c(_0x1ac6cc['year']))_0x3ac740=_0x2f5928['now']();else{for(const _0x1104fa of _0x2e06bb)_0xa2810c(_0x1ac6cc[_0x1104fa])&&(_0x1ac6cc[_0x1104fa]=_0x256d17[_0x1104fa]);const _0xf1fbc9=_0x1752e0(_0x1ac6cc)||_0x1f565d(_0x1ac6cc);if(_0xf1fbc9)return _0x5b0740['invalid'](_0xf1fbc9);const _0x4adbed=function(_0x16c2bf){if(void 0x0===_0x4e425e&&(_0x4e425e=_0x2f5928['now']()),'iana'!==_0x16c2bf['type'])return _0x16c2bf['offset'](_0x4e425e);const _0x25721d=_0x16c2bf['name'];let _0x3e6e2f=_0x470f13['get'](_0x25721d);return void 0x0===_0x3e6e2f&&(_0x3e6e2f=_0x16c2bf['offset'](_0x4e425e),_0x470f13['set'](_0x25721d,_0x3e6e2f)),_0x3e6e2f;}(_0x1ecb15);[_0x3ac740,_0x129a27]=_0x19da29(_0x1ac6cc,_0x4adbed,_0x1ecb15);}return new _0x5b0740({'ts':_0x3ac740,'zone':_0x1ecb15,'loc':_0x55bda6,'o':_0x129a27});}function _0x1d3189(_0xe8c8b4,_0x1e88c8,_0x21257c){const _0x1330d7=!!_0xa2810c(_0x21257c['round'])||_0x21257c['round'],_0x3a5ea4=(_0x20f8f0,_0x1adf08)=>(_0x20f8f0=_0x449d78(_0x20f8f0,_0x1330d7||_0x21257c['calendary']?0x0:0x2,!0x0),_0x1e88c8['loc']['clone'](_0x21257c)['relFormatter'](_0x21257c)['format'](_0x20f8f0,_0x1adf08)),_0x578313=_0x310b11=>_0x21257c['calendary']?_0x1e88c8['hasSame'](_0xe8c8b4,_0x310b11)?0x0:_0x1e88c8['startOf'](_0x310b11)['diff'](_0xe8c8b4['startOf'](_0x310b11),_0x310b11)['get'](_0x310b11):_0x1e88c8['diff'](_0xe8c8b4,_0x310b11)['get'](_0x310b11);if(_0x21257c['unit'])return _0x3a5ea4(_0x578313(_0x21257c['unit']),_0x21257c['unit']);for(const _0x1f39db of _0x21257c['units']){const _0x35c57c=_0x578313(_0x1f39db);if(Math['abs'](_0x35c57c)>=0x1)return _0x3a5ea4(_0x35c57c,_0x1f39db);}return _0x3a5ea4(_0xe8c8b4>_0x1e88c8?-0x0:0x0,_0x21257c['units'][_0x21257c['units']['length']-0x1]);}function _0x20ae1a(_0x73be81){let _0x3c76ff,_0x1a7bf9={};return _0x73be81['length']>0x0&&'object'==typeof _0x73be81[_0x73be81['length']-0x1]?(_0x1a7bf9=_0x73be81[_0x73be81['length']-0x1],_0x3c76ff=Array['from'](_0x73be81)['slice'](0x0,_0x73be81['length']-0x1)):_0x3c76ff=Array['from'](_0x73be81),[_0x1a7bf9,_0x3c76ff];}let _0x4e425e;const _0x470f13=new Map();var _0x5b0740=class DateTime{constructor(_0x17edfd){const _0x10662e=_0x17edfd['zone']||_0x2f5928['defaultZone'];let _0x5eb15a=_0x17edfd['invalid']||(Number['isNaN'](_0x17edfd['ts'])?new _0xfbf051('invalid\x20input'):null)||(_0x10662e['isValid']?null:_0x2caaf4(_0x10662e));this['ts']=_0xa2810c(_0x17edfd['ts'])?_0x2f5928['now']():_0x17edfd['ts'];let _0x1a3712=null,_0x4e1f73=null;if(!_0x5eb15a){if(_0x17edfd['old']&&_0x17edfd['old']['ts']===this['ts']&&_0x17edfd['old']['zone']['equals'](_0x10662e))[_0x1a3712,_0x4e1f73]=[_0x17edfd['old']['c'],_0x17edfd['old']['o']];else{const _0x1150f5=_0x4afe8f(_0x17edfd['o'])&&!_0x17edfd['old']?_0x17edfd['o']:_0x10662e['offset'](this['ts']);_0x1a3712=_0x499f12(this['ts'],_0x1150f5),_0x5eb15a=Number['isNaN'](_0x1a3712['year'])?new _0xfbf051('invalid\x20input'):null,_0x1a3712=_0x5eb15a?null:_0x1a3712,_0x4e1f73=_0x5eb15a?null:_0x1150f5;}}this['_zone']=_0x10662e,this['loc']=_0x17edfd['loc']||_0x436f17['create'](),this['invalid']=_0x5eb15a,this['weekData']=null,this['localWeekData']=null,this['c']=_0x1a3712,this['o']=_0x4e1f73,this['isLuxonDateTime']=!0x0;}static['now'](){return new DateTime({});}static['local'](){const [_0x24cc9c,_0x18cdcf]=_0x20ae1a(arguments),[_0x1c2e34,_0x514f5c,_0x553f4a,_0x2b8a6c,_0x3a6345,_0x4aeb55,_0x190acd]=_0x18cdcf;return _0x530e32({'year':_0x1c2e34,'month':_0x514f5c,'day':_0x553f4a,'hour':_0x2b8a6c,'minute':_0x3a6345,'second':_0x4aeb55,'millisecond':_0x190acd},_0x24cc9c);}static['utc'](){const [_0x4c0a30,_0x3dbb1c]=_0x20ae1a(arguments),[_0xde7046,_0x549e1c,_0x33ac6c,_0x4d1ec7,_0x19c54b,_0x1fc1d0,_0x19bfdd]=_0x3dbb1c;return _0x4c0a30['zone']=_0x42485e['utcInstance'],_0x530e32({'year':_0xde7046,'month':_0x549e1c,'day':_0x33ac6c,'hour':_0x4d1ec7,'minute':_0x19c54b,'second':_0x1fc1d0,'millisecond':_0x19bfdd},_0x4c0a30);}static['fromJSDate'](_0xef571c,_0x47ddb9={}){const _0x5e49e1=(_0x2a9b29=_0xef571c,'[object\x20Date]'===Object['prototype']['toString']['call'](_0x2a9b29)?_0xef571c['valueOf']():NaN);var _0x2a9b29;if(Number['isNaN'](_0x5e49e1))return DateTime['invalid']('invalid\x20input');const _0x234363=_0x10d6c1(_0x47ddb9['zone'],_0x2f5928['defaultZone']);return _0x234363['isValid']?new DateTime({'ts':_0x5e49e1,'zone':_0x234363,'loc':_0x436f17['fromObject'](_0x47ddb9)}):DateTime['invalid'](_0x2caaf4(_0x234363));}static['fromMillis'](_0x42d441,_0x101e6b={}){if(_0x4afe8f(_0x42d441))return _0x42d441<-0x1eb208c2dc0000||_0x42d441>0x1eb208c2dc0000?DateTime['invalid']('Timestamp\x20out\x20of\x20range'):new DateTime({'ts':_0x42d441,'zone':_0x10d6c1(_0x101e6b['zone'],_0x2f5928['defaultZone']),'loc':_0x436f17['fromObject'](_0x101e6b)});throw new _0x5d920f('fromMillis\x20requires\x20a\x20numerical\x20input,\x20but\x20received\x20a\x20'+typeof _0x42d441+'\x20with\x20value\x20'+_0x42d441);}static['fromSeconds'](_0x199aa6,_0x1fddd0={}){if(_0x4afe8f(_0x199aa6))return new DateTime({'ts':0x3e8*_0x199aa6,'zone':_0x10d6c1(_0x1fddd0['zone'],_0x2f5928['defaultZone']),'loc':_0x436f17['fromObject'](_0x1fddd0)});throw new _0x5d920f('fromSeconds\x20requires\x20a\x20numerical\x20input');}static['fromObject'](_0x557d16,_0x20ae76={}){_0x557d16=_0x557d16||{};const _0x59bdd0=_0x10d6c1(_0x20ae76['zone'],_0x2f5928['defaultZone']);if(!_0x59bdd0['isValid'])return DateTime['invalid'](_0x2caaf4(_0x59bdd0));const _0x5b8ac8=_0x436f17['fromObject'](_0x20ae76),_0x3cb39c=_0x1f64a2(_0x557d16,_0x14a3d5),{minDaysInFirstWeek:_0x4ccca3,startOfWeek:_0x3613ad}=_0x35a6f9(_0x3cb39c,_0x5b8ac8),_0xc02210=_0x2f5928['now'](),_0x50d54f=_0xa2810c(_0x20ae76['specificOffset'])?_0x59bdd0['offset'](_0xc02210):_0x20ae76['specificOffset'],_0x38ea27=!_0xa2810c(_0x3cb39c['ordinal']),_0x5565b3=!_0xa2810c(_0x3cb39c['year']),_0x32b0df=!_0xa2810c(_0x3cb39c['month'])||!_0xa2810c(_0x3cb39c['day']),_0x560ab0=_0x5565b3||_0x32b0df,_0x4c353a=_0x3cb39c['weekYear']||_0x3cb39c['weekNumber'];if((_0x560ab0||_0x38ea27)&&_0x4c353a)throw new _0x2b191c('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x32b0df&&_0x38ea27)throw new _0x2b191c('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');const _0x38fc66=_0x4c353a||_0x3cb39c['weekday']&&!_0x560ab0;let _0x21fb8f,_0x1138a8,_0x5c21be=_0x499f12(_0xc02210,_0x50d54f);_0x38fc66?(_0x21fb8f=_0x3ef89c,_0x1138a8=_0x328070,_0x5c21be=_0x4e89ce(_0x5c21be,_0x4ccca3,_0x3613ad)):_0x38ea27?(_0x21fb8f=_0x4f8577,_0x1138a8=_0x42839e,_0x5c21be=_0x2edee5(_0x5c21be)):(_0x21fb8f=_0x2e06bb,_0x1138a8=_0x256d17);let _0x417f3c=!0x1;for(const _0x5646ca of _0x21fb8f){_0xa2810c(_0x3cb39c[_0x5646ca])?_0x3cb39c[_0x5646ca]=_0x417f3c?_0x1138a8[_0x5646ca]:_0x5c21be[_0x5646ca]:_0x417f3c=!0x0;}const _0x28155a=(_0x38fc66?function(_0x2e5af9,_0x53a6ad=0x4,_0x2aa9ac=0x1){const _0x1d2949=_0x2d8208(_0x2e5af9['weekYear']),_0x1e63d0=tn(_0x2e5af9['weekNumber'],0x1,_0x244852(_0x2e5af9['weekYear'],_0x53a6ad,_0x2aa9ac)),_0x4abe09=tn(_0x2e5af9['weekday'],0x1,0x7);return _0x1d2949?_0x1e63d0?!_0x4abe09&&_0x3a86f7('weekday',_0x2e5af9['weekday']):_0x3a86f7('week',_0x2e5af9['weekNumber']):_0x3a86f7('weekYear',_0x2e5af9['weekYear']);}(_0x3cb39c,_0x4ccca3,_0x3613ad):_0x38ea27?function(_0x1633a1){const _0x22dd93=_0x2d8208(_0x1633a1['year']),_0x2735e5=tn(_0x1633a1['ordinal'],0x1,_0x25af94(_0x1633a1['year']));return _0x22dd93?!_0x2735e5&&_0x3a86f7('ordinal',_0x1633a1['ordinal']):_0x3a86f7('year',_0x1633a1['year']);}(_0x3cb39c):_0x1752e0(_0x3cb39c))||_0x1f565d(_0x3cb39c);if(_0x28155a)return DateTime['invalid'](_0x28155a);const [_0x302c43,_0x56816e]=_0x19da29(_0x38fc66?_0x350a0d(_0x3cb39c,_0x4ccca3,_0x3613ad):_0x38ea27?_0x19dcd8(_0x3cb39c):_0x3cb39c,_0x50d54f,_0x59bdd0),_0x3b93e1=new DateTime({'ts':_0x302c43,'zone':_0x59bdd0,'o':_0x56816e,'loc':_0x5b8ac8});return _0x3cb39c['weekday']&&_0x560ab0&&_0x557d16['weekday']!==_0x3b93e1['weekday']?DateTime['invalid']('mismatched\x20weekday','you\x20can\x27t\x20specify\x20both\x20a\x20weekday\x20of\x20'+_0x3cb39c['weekday']+'\x20and\x20a\x20date\x20of\x20'+_0x3b93e1['toISO']()):_0x3b93e1['isValid']?_0x3b93e1:DateTime['invalid'](_0x3b93e1['invalid']);}static['fromISO'](_0x1ce197,_0x2aa6f9={}){const [_0x3bd71f,_0x88e027]=function(_0x46fb48){return _0x4c1435(_0x46fb48,[_0x416a86,_0x55d6a4],[_0x2891c5,_0x3f5404],[_0x67e07f,_0x1cf506],[_0x1939dd,_0x5c5474]);}(_0x1ce197);return _0x571971(_0x3bd71f,_0x88e027,_0x2aa6f9,'ISO\x208601',_0x1ce197);}static['fromRFC2822'](_0x27e53b,_0x458c4c={}){const [_0x592f90,_0x9bd2a1]=function(_0x166670){return _0x4c1435(function(_0x2fa337){return _0x2fa337['replace'](/\([^()]*\)|[\n\t]/g,'\x20')['replace'](/(\s\s+)/g,'\x20')['trim']();}(_0x166670),[_0x4febe8,_0x20d82a]);}(_0x27e53b);return _0x571971(_0x592f90,_0x9bd2a1,_0x458c4c,'RFC\x202822',_0x27e53b);}static['fromHTTP'](_0x2d5903,_0x39c7bf={}){const [_0x8fbf27,_0x25084a]=function(_0x191ba4){return _0x4c1435(_0x191ba4,[_0x561601,_0x146e13],[_0x42d6e0,_0x146e13],[_0x18896d,_0x236de8]);}(_0x2d5903);return _0x571971(_0x8fbf27,_0x25084a,_0x39c7bf,'HTTP',_0x39c7bf);}static['fromFormat'](_0x4fbc5c,_0x5eccb6,_0x46fc24={}){if(_0xa2810c(_0x4fbc5c)||_0xa2810c(_0x5eccb6))throw new _0x5d920f('fromFormat\x20requires\x20an\x20input\x20string\x20and\x20a\x20format');const {locale:_0x5ae9cc=null,numberingSystem:_0x28034c=null}=_0x46fc24,[_0xd08fc3,_0x70da35,_0x36b1c2,_0x3f4d00]=function(_0xc5b330,_0x8e54a9,_0x956117){const {result:_0x4ac0b0,zone:_0x245885,specificOffset:_0x4f4276,invalidReason:_0x327e4d}=to(_0xc5b330,_0x8e54a9,_0x956117);return[_0x4ac0b0,_0x245885,_0x4f4276,_0x327e4d];}(_0x436f17['fromOpts']({'locale':_0x5ae9cc,'numberingSystem':_0x28034c,'defaultToEN':!0x0}),_0x4fbc5c,_0x5eccb6);return _0x3f4d00?DateTime['invalid'](_0x3f4d00):_0x571971(_0xd08fc3,_0x70da35,_0x46fc24,'format\x20'+_0x5eccb6,_0x4fbc5c,_0x36b1c2);}static['fromString'](_0x39a1c3,_0x3ae115,_0x35a197={}){return DateTime['fromFormat'](_0x39a1c3,_0x3ae115,_0x35a197);}static['fromSQL'](_0x467bf0,_0x4fd5ab={}){const [_0x21f7df,_0x46093b]=function(_0x4d7d37){return _0x4c1435(_0x4d7d37,[_0x4a4888,_0x55d6a4],[_0x36dd3b,_0x810f6a]);}(_0x467bf0);return _0x571971(_0x21f7df,_0x46093b,_0x4fd5ab,'SQL',_0x467bf0);}static['invalid'](_0x36eb6a,_0x47d456=null){if(!_0x36eb6a)throw new _0x5d920f('need\x20to\x20specify\x20a\x20reason\x20the\x20DateTime\x20is\x20invalid');const _0x4f3389=_0x36eb6a instanceof _0xfbf051?_0x36eb6a:new _0xfbf051(_0x36eb6a,_0x47d456);if(_0x2f5928['throwOnInvalid'])throw new _0x49088c(_0x4f3389);return new DateTime({'invalid':_0x4f3389});}static['isDateTime'](_0x5d76c5){return _0x5d76c5&&_0x5d76c5['isLuxonDateTime']||!0x1;}static['parseFormatForOpts'](_0x2bbf1a,_0x27e351={}){const _0x565bc7=_0x5ee134(_0x2bbf1a,_0x436f17['fromObject'](_0x27e351));return _0x565bc7?_0x565bc7['map'](t=>t?t['val']:null)['join'](''):null;}static['expandFormat'](_0x70dc6f,_0x31c274={}){return _0x2ed4c3(_0xcf574a['parseFormat'](_0x70dc6f),_0x436f17['fromObject'](_0x31c274))['map'](t=>t['val'])['join']('');}static['resetCache'](){_0x4e425e=void 0x0,_0x470f13['clear']();}['get'](_0x488ef8){return this[_0x488ef8];}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']?_0x4e302e(this)['weekYear']:NaN;}get['weekNumber'](){return this['isValid']?_0x4e302e(this)['weekNumber']:NaN;}get['weekday'](){return this['isValid']?_0x4e302e(this)['weekday']:NaN;}get['isWeekend'](){return this['isValid']&&this['loc']['getWeekendDays']()['includes'](this['weekday']);}get['localWeekday'](){return this['isValid']?_0x1e591e(this)['weekday']:NaN;}get['localWeekNumber'](){return this['isValid']?_0x1e591e(this)['weekNumber']:NaN;}get['localWeekYear'](){return this['isValid']?_0x1e591e(this)['weekYear']:NaN;}get['ordinal'](){return this['isValid']?_0x2edee5(this['c'])['ordinal']:NaN;}get['monthShort'](){return this['isValid']?_0x593925['months']('short',{'locObj':this['loc']})[this['month']-0x1]:null;}get['monthLong'](){return this['isValid']?_0x593925['months']('long',{'locObj':this['loc']})[this['month']-0x1]:null;}get['weekdayShort'](){return this['isValid']?_0x593925['weekdays']('short',{'locObj':this['loc']})[this['weekday']-0x1]:null;}get['weekdayLong'](){return this['isValid']?_0x593925['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 _0x39daf6=0x5265c00,_0x4036f4=0xea60,_0x486611=_0x61eca3(this['c']),_0x4de96e=this['zone']['offset'](_0x486611-_0x39daf6),_0x13efe0=this['zone']['offset'](_0x486611+_0x39daf6),_0x8ac2f4=this['zone']['offset'](_0x486611-_0x4de96e*_0x4036f4),_0x4a86b1=this['zone']['offset'](_0x486611-_0x13efe0*_0x4036f4);if(_0x8ac2f4===_0x4a86b1)return[this];const _0x3d0066=_0x486611-_0x8ac2f4*_0x4036f4,_0x464379=_0x486611-_0x4a86b1*_0x4036f4,_0x36f021=_0x499f12(_0x3d0066,_0x8ac2f4),_0x341deb=_0x499f12(_0x464379,_0x4a86b1);return _0x36f021['hour']===_0x341deb['hour']&&_0x36f021['minute']===_0x341deb['minute']&&_0x36f021['second']===_0x341deb['second']&&_0x36f021['millisecond']===_0x341deb['millisecond']?[_0x2a0efb(this,{'ts':_0x3d0066}),_0x2a0efb(this,{'ts':_0x464379})]:[this];}get['isInLeapYear'](){return _0x478cc2(this['year']);}get['daysInMonth'](){return _0x114a04(this['year'],this['month']);}get['daysInYear'](){return this['isValid']?_0x25af94(this['year']):NaN;}get['weeksInWeekYear'](){return this['isValid']?_0x244852(this['weekYear']):NaN;}get['weeksInLocalWeekYear'](){return this['isValid']?_0x244852(this['localWeekYear'],this['loc']['getMinDaysInFirstWeek'](),this['loc']['getStartOfWeek']()):NaN;}['resolvedLocaleOptions'](_0x4a0baf={}){const {locale:_0x13ccbd,numberingSystem:_0x4aefd9,calendar:_0x17ade6}=_0xcf574a['create'](this['loc']['clone'](_0x4a0baf),_0x4a0baf)['resolvedOptions'](this);return{'locale':_0x13ccbd,'numberingSystem':_0x4aefd9,'outputCalendar':_0x17ade6};}['toUTC'](_0x18d3fc=0x0,_0x1ea749={}){return this['setZone'](_0x42485e['instance'](_0x18d3fc),_0x1ea749);}['toLocal'](){return this['setZone'](_0x2f5928['defaultZone']);}['setZone'](_0x3f39d5,{keepLocalTime:_0x3b169b=!0x1,keepCalendarTime:_0x21e39c=!0x1}={}){if((_0x3f39d5=_0x10d6c1(_0x3f39d5,_0x2f5928['defaultZone']))['equals'](this['zone']))return this;if(_0x3f39d5['isValid']){let _0x16bdb7=this['ts'];if(_0x3b169b||_0x21e39c){const _0xee41e1=_0x3f39d5['offset'](this['ts']),_0x2044ce=this['toObject']();[_0x16bdb7]=_0x19da29(_0x2044ce,_0xee41e1,_0x3f39d5);}return _0x2a0efb(this,{'ts':_0x16bdb7,'zone':_0x3f39d5});}return DateTime['invalid'](_0x2caaf4(_0x3f39d5));}['reconfigure']({locale:_0x3fa25c,numberingSystem:_0x213e47,outputCalendar:_0x39f191}={}){return _0x2a0efb(this,{'loc':this['loc']['clone']({'locale':_0x3fa25c,'numberingSystem':_0x213e47,'outputCalendar':_0x39f191})});}['setLocale'](_0x2a38d5){return this['reconfigure']({'locale':_0x2a38d5});}['set'](_0x12bdcd){if(!this['isValid'])return this;const _0x470151=_0x1f64a2(_0x12bdcd,_0x14a3d5),{minDaysInFirstWeek:_0xf67b7f,startOfWeek:_0xd11dc8}=_0x35a6f9(_0x470151,this['loc']),_0x2fd41f=!_0xa2810c(_0x470151['weekYear'])||!_0xa2810c(_0x470151['weekNumber'])||!_0xa2810c(_0x470151['weekday']),_0x5aeea1=!_0xa2810c(_0x470151['ordinal']),_0x45a242=!_0xa2810c(_0x470151['year']),_0x31ba40=!_0xa2810c(_0x470151['month'])||!_0xa2810c(_0x470151['day']),_0x2f4a8b=_0x45a242||_0x31ba40,_0x3df3a3=_0x470151['weekYear']||_0x470151['weekNumber'];if((_0x2f4a8b||_0x5aeea1)&&_0x3df3a3)throw new _0x2b191c('Can\x27t\x20mix\x20weekYear/weekNumber\x20units\x20with\x20year/month/day\x20or\x20ordinals');if(_0x31ba40&&_0x5aeea1)throw new _0x2b191c('Can\x27t\x20mix\x20ordinal\x20dates\x20with\x20month/day');let _0x506124;_0x2fd41f?_0x506124=_0x350a0d({..._0x4e89ce(this['c'],_0xf67b7f,_0xd11dc8),..._0x470151},_0xf67b7f,_0xd11dc8):_0xa2810c(_0x470151['ordinal'])?(_0x506124={...this['toObject'](),..._0x470151},_0xa2810c(_0x470151['day'])&&(_0x506124['day']=Math['min'](_0x114a04(_0x506124['year'],_0x506124['month']),_0x506124['day']))):_0x506124=_0x19dcd8({..._0x2edee5(this['c']),..._0x470151});const [_0x3e241d,_0x550257]=_0x19da29(_0x506124,this['o'],this['zone']);return _0x2a0efb(this,{'ts':_0x3e241d,'o':_0x550257});}['plus'](_0x28473a){if(!this['isValid'])return this;return _0x2a0efb(this,_0x582b2a(this,_0x4e2904['fromDurationLike'](_0x28473a)));}['minus'](_0xb95dce){if(!this['isValid'])return this;return _0x2a0efb(this,_0x582b2a(this,_0x4e2904['fromDurationLike'](_0xb95dce)['negate']()));}['startOf'](_0x9c72d,{useLocaleWeeks:_0x4bca4d=!0x1}={}){if(!this['isValid'])return this;const _0x505339={},_0x1748ef=_0x4e2904['normalizeUnit'](_0x9c72d);switch(_0x1748ef){case'years':_0x505339['month']=0x1;case'quarters':case'months':_0x505339['day']=0x1;case'weeks':case'days':_0x505339['hour']=0x0;case'hours':_0x505339['minute']=0x0;case'minutes':_0x505339['second']=0x0;case'seconds':_0x505339['millisecond']=0x0;}if('weeks'===_0x1748ef){if(_0x4bca4d){const _0x2fd2fe=this['loc']['getStartOfWeek'](),{weekday:_0x456514}=this;_0x456514<_0x2fd2fe&&(_0x505339['weekNumber']=this['weekNumber']-0x1),_0x505339['weekday']=_0x2fd2fe;}else _0x505339['weekday']=0x1;}return'quarters'===_0x1748ef&&(_0x505339['month']=0x3*(Math['ceil'](this['month']/0x3)-0x1)+0x1),this['set'](_0x505339);}['endOf'](_0x86a3fe,_0x4018f6){return this['isValid']?this['plus']({[_0x86a3fe]:0x1})['startOf'](_0x86a3fe,_0x4018f6)['minus'](0x1):this;}['toFormat'](_0x5b6ee1,_0x3fed65={}){return this['isValid']?_0xcf574a['create'](this['loc']['redefaultToEN'](_0x3fed65))['formatDateTimeFromString'](this,_0x5b6ee1):_0x44bd8a;}['toLocaleString'](_0x535bed=_0x2df039,_0x4f7fdb={}){return this['isValid']?_0xcf574a['create'](this['loc']['clone'](_0x4f7fdb),_0x535bed)['formatDateTime'](this):_0x44bd8a;}['toLocaleParts'](_0x27b9cb={}){return this['isValid']?_0xcf574a['create'](this['loc']['clone'](_0x27b9cb),_0x27b9cb)['formatDateTimeParts'](this):[];}['toISO']({format:_0x40a5f1='extended',suppressSeconds:_0x556986=!0x1,suppressMilliseconds:_0x36fbb0=!0x1,includeOffset:_0x22f501=!0x0,extendedZone:_0x223479=!0x1}={}){if(!this['isValid'])return null;const _0x141467='extended'===_0x40a5f1;let _0x1f7a1e=_0x59cf27(this,_0x141467);return _0x1f7a1e+='T',_0x1f7a1e+=_0xef9611(this,_0x141467,_0x556986,_0x36fbb0,_0x22f501,_0x223479),_0x1f7a1e;}['toISODate']({format:_0xa2e11a='extended'}={}){return this['isValid']?_0x59cf27(this,'extended'===_0xa2e11a):null;}['toISOWeekDate'](){return _0x50d954(this,'kkkk-\x27W\x27WW-c');}['toISOTime']({suppressMilliseconds:_0x3a0cd2=!0x1,suppressSeconds:_0x1f70e1=!0x1,includeOffset:_0x260bf0=!0x0,includePrefix:_0x39c5b4=!0x1,extendedZone:_0xdf46c8=!0x1,format:_0x446cb7='extended'}={}){return this['isValid']?(_0x39c5b4?'T':'')+_0xef9611(this,'extended'===_0x446cb7,_0x1f70e1,_0x3a0cd2,_0x260bf0,_0xdf46c8):null;}['toRFC2822'](){return _0x50d954(this,'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20ZZZ',!0x1);}['toHTTP'](){return _0x50d954(this['toUTC'](),'EEE,\x20dd\x20LLL\x20yyyy\x20HH:mm:ss\x20\x27GMT\x27');}['toSQLDate'](){return this['isValid']?_0x59cf27(this,!0x0):null;}['toSQLTime']({includeOffset:_0x18625c=!0x0,includeZone:_0x2c2b6e=!0x1,includeOffsetSpace:_0xd9a6cd=!0x0}={}){let _0x3c7039='HH:mm:ss.SSS';return(_0x2c2b6e||_0x18625c)&&(_0xd9a6cd&&(_0x3c7039+='\x20'),_0x2c2b6e?_0x3c7039+='z':_0x18625c&&(_0x3c7039+='ZZ')),_0x50d954(this,_0x3c7039,!0x0);}['toSQL'](_0xbefe08={}){return this['isValid']?this['toSQLDate']()+'\x20'+this['toSQLTime'](_0xbefe08):null;}['toString'](){return this['isValid']?this['toISO']():_0x44bd8a;}[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'](_0x5e7066={}){if(!this['isValid'])return{};const _0x1b21b2={...this['c']};return _0x5e7066['includeConfig']&&(_0x1b21b2['outputCalendar']=this['outputCalendar'],_0x1b21b2['numberingSystem']=this['loc']['numberingSystem'],_0x1b21b2['locale']=this['loc']['locale']),_0x1b21b2;}['toJSDate'](){return new Date(this['isValid']?this['ts']:NaN);}['diff'](_0x5f49cc,_0x415511='milliseconds',_0x2ad590={}){if(!this['isValid']||!_0x5f49cc['isValid'])return _0x4e2904['invalid']('created\x20by\x20diffing\x20an\x20invalid\x20DateTime');const _0x31664e={'locale':this['locale'],'numberingSystem':this['numberingSystem'],..._0x2ad590},_0x2e2c9a=(_0x5ed078=_0x415511,Array['isArray'](_0x5ed078)?_0x5ed078:[_0x5ed078])['map'](_0x4e2904['normalizeUnit']),_0x3fc284=_0x5f49cc['valueOf']()>this['valueOf'](),_0x4f0404=_0x2e858c(_0x3fc284?this:_0x5f49cc,_0x3fc284?_0x5f49cc:this,_0x2e2c9a,_0x31664e);var _0x5ed078;return _0x3fc284?_0x4f0404['negate']():_0x4f0404;}['diffNow'](_0x1d2a94='milliseconds',_0x2f933f={}){return this['diff'](DateTime['now'](),_0x1d2a94,_0x2f933f);}['until'](_0x5c4354){return this['isValid']?_0x1a1640['fromDateTimes'](this,_0x5c4354):this;}['hasSame'](_0x12e2bf,_0x432e4a,_0x16c911){if(!this['isValid'])return!0x1;const _0x325a25=_0x12e2bf['valueOf'](),_0x181709=this['setZone'](_0x12e2bf['zone'],{'keepLocalTime':!0x0});return _0x181709['startOf'](_0x432e4a,_0x16c911)<=_0x325a25&&_0x325a25<=_0x181709['endOf'](_0x432e4a,_0x16c911);}['equals'](_0x594968){return this['isValid']&&_0x594968['isValid']&&this['valueOf']()===_0x594968['valueOf']()&&this['zone']['equals'](_0x594968['zone'])&&this['loc']['equals'](_0x594968['loc']);}['toRelative'](_0x5751ac={}){if(!this['isValid'])return null;const _0x109ff7=_0x5751ac['base']||DateTime['fromObject']({},{'zone':this['zone']}),_0x4bfa1b=_0x5751ac['padding']?this<_0x109ff7?-_0x5751ac['padding']:_0x5751ac['padding']:0x0;let _0x32dfa1=['years','months','days','hours','minutes','seconds'],_0x25afd8=_0x5751ac['unit'];return Array['isArray'](_0x5751ac['unit'])&&(_0x32dfa1=_0x5751ac['unit'],_0x25afd8=void 0x0),_0x1d3189(_0x109ff7,this['plus'](_0x4bfa1b),{..._0x5751ac,'numeric':'always','units':_0x32dfa1,'unit':_0x25afd8});}['toRelativeCalendar'](_0x2d999d={}){return this['isValid']?_0x1d3189(_0x2d999d['base']||DateTime['fromObject']({},{'zone':this['zone']}),this,{..._0x2d999d,'numeric':'auto','units':['years','months','days'],'calendary':!0x0}):null;}static['min'](..._0x4fae3f){if(!_0x4fae3f['every'](DateTime['isDateTime']))throw new _0x5d920f('min\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x3ebad3(_0x4fae3f,_0xd2708d=>_0xd2708d['valueOf'](),Math['min']);}static['max'](..._0x50fdc8){if(!_0x50fdc8['every'](DateTime['isDateTime']))throw new _0x5d920f('max\x20requires\x20all\x20arguments\x20be\x20DateTimes');return _0x3ebad3(_0x50fdc8,_0x1d2900=>_0x1d2900['valueOf'](),Math['max']);}static['fromFormatExplain'](_0x1ec47b,_0x942ff,_0x4d1b8c={}){const {locale:_0x2b799c=null,numberingSystem:_0x3bb030=null}=_0x4d1b8c;return to(_0x436f17['fromOpts']({'locale':_0x2b799c,'numberingSystem':_0x3bb030,'defaultToEN':!0x0}),_0x1ec47b,_0x942ff);}static['fromStringExplain'](_0x3f503e,_0x5dfd13,_0xc13da4={}){return DateTime['fromFormatExplain'](_0x3f503e,_0x5dfd13,_0xc13da4);}static['buildFormatParser'](_0x204605,_0xe139b2={}){const {locale:_0x40f731=null,numberingSystem:_0x67fe05=null}=_0xe139b2;return new _0x371108(_0x436f17['fromOpts']({'locale':_0x40f731,'numberingSystem':_0x67fe05,'defaultToEN':!0x0}),_0x204605);}static['fromFormatParser'](_0x46a1cb,_0x2677a7,_0x4f65e1={}){if(_0xa2810c(_0x46a1cb)||_0xa2810c(_0x2677a7))throw new _0x5d920f('fromFormatParser\x20requires\x20an\x20input\x20string\x20and\x20a\x20format\x20parser');const {locale:_0x3b3d15=null,numberingSystem:_0x136620=null}=_0x4f65e1,_0x201936=_0x436f17['fromOpts']({'locale':_0x3b3d15,'numberingSystem':_0x136620,'defaultToEN':!0x0});if(!_0x201936['equals'](_0x2677a7['locale']))throw new _0x5d920f('fromFormatParser\x20called\x20with\x20a\x20locale\x20of\x20'+_0x201936+',\x20but\x20the\x20format\x20parser\x20was\x20created\x20for\x20'+_0x2677a7['locale']);const {result:_0x212bea,zone:_0x1f00e8,specificOffset:_0x5d4970,invalidReason:_0x66e890}=_0x2677a7['explainFromTokens'](_0x46a1cb);return _0x66e890?DateTime['invalid'](_0x66e890):_0x571971(_0x212bea,_0x1f00e8,_0x4f65e1,'format\x20'+_0x2677a7['format'],_0x46a1cb,_0x5d4970);}static get['DATE_SHORT'](){return _0x2df039;}static get['DATE_MED'](){return _0x53f0ad;}static get['DATE_MED_WITH_WEEKDAY'](){return _0x2a92ce;}static get['DATE_FULL'](){return _0x369f36;}static get['DATE_HUGE'](){return _0x342d4d;}static get['TIME_SIMPLE'](){return _0x1f025b;}static get['TIME_WITH_SECONDS'](){return _0x150595;}static get['TIME_WITH_SHORT_OFFSET'](){return _0x5b865e;}static get['TIME_WITH_LONG_OFFSET'](){return _0x45d69c;}static get['TIME_24_SIMPLE'](){return _0x53147f;}static get['TIME_24_WITH_SECONDS'](){return _0x3dac71;}static get['TIME_24_WITH_SHORT_OFFSET'](){return _0x21f1c6;}static get['TIME_24_WITH_LONG_OFFSET'](){return _0x24dbc4;}static get['DATETIME_SHORT'](){return _0x23b3d4;}static get['DATETIME_SHORT_WITH_SECONDS'](){return _0x27b172;}static get['DATETIME_MED'](){return _0x248da9;}static get['DATETIME_MED_WITH_SECONDS'](){return _0x4bd579;}static get['DATETIME_MED_WITH_WEEKDAY'](){return _0x5c421d;}static get['DATETIME_FULL'](){return _0x505485;}static get['DATETIME_FULL_WITH_SECONDS'](){return _0x182961;}static get['DATETIME_HUGE'](){return _0x22b294;}static get['DATETIME_HUGE_WITH_SECONDS'](){return _0x4b5281;}};function _0x4f7f31(_0x103305){if(_0x5b0740['isDateTime'](_0x103305))return _0x103305;if(_0x103305&&_0x103305['valueOf']&&_0x4afe8f(_0x103305['valueOf']()))return _0x5b0740['fromJSDate'](_0x103305);if(_0x103305&&'object'==typeof _0x103305)return _0x5b0740['fromObject'](_0x103305);throw new _0x5d920f('Unknown\x20datetime\x20argument:\x20'+_0x103305+',\x20of\x20type\x20'+typeof _0x103305);}function _0x1f91ed(_0x39b172={},_0x5163bc){if(void 0x0!==_0x39b172['dateTimeFormat']&&'function'!=typeof _0x39b172['dateTimeFormat'])throw new _0x14e616['CKEditorError']('invalid-date-time-format');return _0x128d92=>{const _0x13b638='string'==typeof _0x128d92?_0x5b0740['fromISO'](_0x128d92):_0x5b0740['fromJSDate'](_0x128d92),_0x500e40=_0x5b0740['now'](),_0x5ed03a=Math['floor'](_0x500e40['diff'](_0x13b638,'days')['days']);return _0x39b172['dateTimeFormat']?_0x39b172['dateTimeFormat'](_0x13b638['toJSDate'](),_0x5163bc&&_0x5163bc['t']?_0x5163bc['t']:void 0x0):0x0===_0x5ed03a?_0x5163bc?_0x36c059(_0x5163bc,'Today')+'\x20'+_0x13b638['toFormat']('hh:mma'):_0x13b638['toFormat']('\x27Today\x27\x20hh:mma'):0x1===_0x5ed03a?_0x5163bc?_0x36c059(_0x5163bc,'Yesterday')+'\x20'+_0x13b638['toFormat']('hh:mma'):_0x13b638['toFormat']('\x27Yesterday\x27\x20hh:mma'):_0x5ed03a<0x7?_0x5163bc?_0x36c059(_0x5163bc,'Last')+'\x20'+_0x36c059(_0x5163bc,_0x13b638['toFormat']('EEEE'))+'\x20'+_0x13b638['toFormat']('hh:mma'):_0x13b638['toFormat']('\x27Last\x27\x20EEEE\x20hh:mma'):_0x13b638['toFormat']('LL-dd-yyyy\x20hh:mma');};}function _0x113d66(_0x521af8,_0x4b9d7b){const _0x2d5fe2=_0x521af8['mapper']['markerNameToElements'](_0x4b9d7b['name']);if(!_0x2d5fe2)return null;const _0xec54ba=(0x0,_0x14e616['first'])(_0x2d5fe2['values']());return _0x521af8['view']['domConverter']['mapViewToDom'](_0xec54ba)||null;}function _0x20fdc7(_0x20a97f,_0x2a8b83){if(0x0===_0x2a8b83['length'])return null;const _0xa89fd9=[],_0x29edd4=_0x20a97f['view']['domConverter'];for(const _0xd8f48a of _0x2a8b83){const _0x13dd5c=_0x20a97f['mapper']['markerNameToElements'](_0xd8f48a['name']);if(!_0x13dd5c)continue;const _0x17c501=Array['from'](_0x13dd5c)['map'](_0x56d2b7=>_0x29edd4['mapViewToDom'](_0x56d2b7))['filter'](_0x40360c=>!!_0x40360c);_0xa89fd9['push'](..._0x17c501);}if(0x0===_0xa89fd9['length'])return null;const _0x1f0890=[];for(const _0x3074d0 of _0xa89fd9){const _0xb5fdc6=_0x3074d0['getClientRects']()['item'](0x0);_0xb5fdc6&&_0x1f0890['push']({'x':_0xb5fdc6['x'],'y':_0xb5fdc6['y'],'domElement':_0x3074d0});}return 0x0===_0x1f0890['length']?null:(_0x1f0890['sort']((_0x4ab569,_0x4ab17f)=>_0x4ab569['y']-_0x4ab17f['y']||_0x4ab569['x']-_0x4ab17f['x']),_0x1f0890['map'](_0x4ed4e4=>_0x4ed4e4['domElement']));}function _0x3cfc21(_0x798a4,{limit:_0x473fb2,suffix:_0x193e13='...'}){const _0x2d9625=[];let _0x5317ad=0x0;const _0x20ae8b=_0x798a4['replace'](/</g,'\x0a<')['replace'](/>/g,'>\x0a')['replace'](/^\n/g,'')['replace'](/\n$/g,'')['split']('\x0a');for(let _0xd84d11=0x0;_0xd84d11<_0x20ae8b['length'];_0xd84d11++){let _0x87454c=_0x20ae8b[_0xd84d11];const _0x1fb791=_0x46c7fa(_0x87454c);if(_0x87454c['startsWith']('<')){if(_0x5317ad>=_0x473fb2){const _0x1cf9dc=_0x87454c['match'](/[a-zA-Z]+/);if(!_0x1cf9dc){_0x20ae8b[_0xd84d11]='';continue;}const _0x2423bf=_0x1cf9dc[0x0];_0x87454c['startsWith']('</')?(_0x2d9625['length']&&(_0x87454c=''),_0x2d9625['pop']()):(_0x2d9625['push'](_0x2423bf),_0x87454c='');}}else{if(_0x5317ad>=_0x473fb2)_0x87454c='';else{if(_0x5317ad+_0x1fb791['length']>=_0x473fb2){let _0x25a0aa=_0x473fb2-_0x5317ad;if('\x20'===_0x1fb791[_0x25a0aa-0x1])_0x25a0aa--;else{const _0x3c8166=_0x1fb791['slice'](_0x25a0aa)['indexOf']('\x20');-0x1!==_0x3c8166?_0x25a0aa+=_0x3c8166:_0x25a0aa=_0x87454c['length'];}_0x87454c=_0x1fb791['slice'](0x0,_0x25a0aa)['join']('')+_0x193e13,_0x5317ad=_0x473fb2;}else _0x5317ad+=_0x1fb791['length'];}}_0x20ae8b[_0xd84d11]=_0x87454c;}return _0x20ae8b['join']('\x0a')['replace'](/\n/g,'');}function _0x46c7fa(_0xefa2ec){const _0x4d1bfd=[];for(let _0xc9c2c0=0x0;_0xc9c2c0<_0xefa2ec['length'];_0xc9c2c0++){const _0x5ad18b=_0xefa2ec['substring'](_0xc9c2c0)['match'](/^&[a-z0-9#]+;/);if(_0x5ad18b){const _0x133c5d=_0x5ad18b[0x0];_0x4d1bfd['push'](_0x133c5d),_0xc9c2c0+=_0x133c5d['length']-0x1;}else _0x4d1bfd['push'](_0xefa2ec[_0xc9c2c0]);}return _0x4d1bfd;}var _0x31af97=class extends _0x14e616['View']{['submitView'];['cancelView'];['focusTracker'];['keystrokes'];['focusCycler'];['focusables'];constructor(_0x3b0c32){super(_0x3b0c32);const _0x239afa=this['bindTemplate'];this['set']('message',_0x36c059(_0x3b0c32,'Are\x20you\x20sure?')),this['submitView']=this['_createButtonView'](_0x3b0c32,_0x36c059(_0x3b0c32,'Yes'),_0x14e616['IconCheck'],'submit'),this['cancelView']=this['_createButtonView'](_0x3b0c32,_0x36c059(_0x3b0c32,'No'),_0x14e616['IconCancel'],'cancel'),this['focusables']=this['createCollection']([this['submitView'],this['cancelView']]),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-confirm-view'],'tabindex':-0x1,'role':'alertdialog'},'children':[{'tag':'div','attributes':{'class':'ck-confirm-view-inner','role':'presentation'},'children':[{'tag':'p','children':[{'text':_0x239afa['to']('message')}]},{'tag':'div','attributes':{'class':'ck-confirm-view-actions'},'children':[this['submitView'],this['cancelView']]}]}]});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['focus'](){this['cancelView']['element']['focus']({'preventScroll':!0x0});}['_createButtonView'](_0x521037,_0x491428,_0x7279a7,_0x348382){const _0x396238=new _0x14e616['ButtonView'](_0x521037);return _0x396238['label']=_0x491428,_0x396238['icon']=_0x7279a7,_0x396238['extendTemplate']({'attributes':{'class':'ck-confirm-view-'+_0x348382}}),_0x396238['on']('execute',()=>this['fire'](_0x348382)),_0x396238;}['_setupKeyboardNavigation'](){this['focusables']['forEach'](_0x23c9af=>{this['keystrokes']['listenTo'](_0x23c9af['element']),this['focusTracker']['add'](_0x23c9af['element']);}),this['keystrokes']['set']('esc',(_0x5dede6,_0x242a4d)=>{this['fire']('cancel'),_0x242a4d();});}};function _0x5ce719(_0x4de75e){return class _0x17e5bb extends _0x4de75e{['showConfirm'](_0x11385f,_0x397a78){return this['confirmView']=new _0x31af97(this['locale']),this['confirmView']['render'](),this['confirmView']['message']=_0x11385f,this['confirmView']['once']('cancel',()=>{this['_removeConfirm']();}),this['confirmView']['once']('submit',()=>{this['_removeConfirm']();}),_0x397a78['appendChild'](this['confirmView']['element']),_0x397a78['classList']['add']('ck-confirm-view-active'),this['registerChild'](this['confirmView']),this['confirmView']['focus'](),this['set']('isConfirm',!0x0),this['on']('change:isConfirm',(_0x1f962f,_0x528f27,_0x3e197d)=>{_0x3e197d||_0x397a78['classList']['remove']('ck-confirm-view-active');}),new Promise(_0x4d0943=>this['confirmView']['on']('submit',_0x4d0943));}['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 _0x170940(_0x3dfe14){let _0x4b6216=0x0,_0x2692b1=0x0;for(const _0x2411ed of _0x4bc6be(_0x3dfe14))_0x4b6216=(_0x4b6216<<0x5)-_0x4b6216+_0x2411ed,_0x4b6216&=_0x4b6216,[_0x4b6216,_0x2692b1]=[_0x2692b1,_0x4b6216];return _0x2dec89(_0x4b6216)+_0x2dec89(_0x2692b1);}function*_0x1aadcc(_0x453c5d){null==_0x453c5d||null==_0x453c5d?yield 0x12b9b0a1:0x0===_0x453c5d||!0x1===_0x453c5d?yield 0x0:0x1===_0x453c5d||0x1==_0x453c5d?yield 0x1:Array['isArray'](_0x453c5d)?yield*function*(_0x5b8681){for(const _0x134a38 of _0x5b8681)yield*_0x1aadcc(_0x134a38);}(_0x453c5d):'object'==typeof _0x453c5d?yield*_0x4bc6be(_0x453c5d):'string'==typeof _0x453c5d?yield*_0xddb6af(_0x453c5d):'number'==typeof _0x453c5d&&(yield _0x453c5d);}function*_0x4bc6be(_0x4038bc){if(yield _0xfe63c4('{'),_0x4038bc){const _0x36d35d=Object['keys'](_0x4038bc)['sort']();for(const _0x20a715 of _0x36d35d){yield*_0xddb6af(_0x20a715),yield _0xfe63c4(':');const _0x4e3750=_0x4038bc[_0x20a715];yield*_0x1aadcc(_0x4e3750);}}yield _0xfe63c4('}');}function*_0xddb6af(_0x3fa604){yield _0xfe63c4('\x22');for(const _0x27ae95 of _0x3fa604)yield _0xfe63c4(_0x27ae95);yield _0xfe63c4('\x22');}function _0xfe63c4(_0x313eda){return _0x313eda['charCodeAt'](0x0);}function _0x2dec89(_0x2df00d){return(_0x2df00d*=Math['sign'](_0x2df00d))['toString'](0x24);}const _0x2ad17b=['root','roots','initialData','context','toolbar','rootsAttributes'],_0x3e48aa=['WebSocketGateway','RevisionTracker','Autosave','WordCount','DocumentOutline','WProofreader'];function _0x5d45bb(_0x3c0073,_0x486088,_0x1b7fee,_0xa9aa29=[]){const _0x54c794='string'==typeof _0x3c0073?_0x1b7fee['get'](_0x3c0073)['constructor']:_0x3c0073['prototype']['constructor'];if(_0x486088['has'](_0x54c794))return _0x486088['get'](_0x54c794);_0x486088['set'](_0x54c794,!0x0);const _0xc69026=[..._0x3e48aa,..._0xa9aa29]['map'](_0x2d8f5d=>{if(_0x1b7fee['has'](_0x2d8f5d))return _0x1b7fee['get'](_0x2d8f5d)['constructor'];})['filter'](_0x3c754e=>_0x3c754e);if(_0x54c794&&_0xc69026['includes'](_0x54c794))return _0x486088['set'](_0x54c794,!0x1),!0x1;if(!_0x54c794['requires'])return _0x486088['set'](_0x54c794,!0x0),!0x0;const _0x32e49f=_0x54c794['requires']['every'](_0x50e41c=>_0x5d45bb(_0x50e41c,_0x486088,_0x1b7fee,_0xa9aa29));return _0x486088['set'](_0x54c794,_0x32e49f),_0x32e49f;}function _0x25b5c7(_0x35efce,_0x65af73){const _0x7196cb={};for(const _0x1b75f4 of _0x35efce['config']['names']())_0x2ad17b['includes'](_0x1b75f4)||(_0x7196cb[_0x1b75f4]=_0x35efce['config']['get'](_0x1b75f4));const _0x1fe41a=_0x7196cb['plugins']||[],_0x570e78=_0x35efce['constructor']['builtinPlugins']||[],_0x42c59d=_0x1fe41a['length']?_0x1fe41a:_0x570e78,_0x39e80e=_0x7196cb['extraPlugins']||[];delete _0x7196cb['extraPlugins'];const _0x358bcb=_0x7196cb['removePlugins']||[];delete _0x7196cb['removePlugins'];const _0x2892be=_0x35efce['_context']['config']['get']('plugins')||[],_0x343032=_0x42c59d['concat'](_0x39e80e)['concat'](_0x2892be)['map'](_0x192c09=>'string'==typeof _0x192c09?_0x570e78['find'](_0x10ba4d=>_0x10ba4d['pluginName']==_0x192c09):_0x192c09)['filter'](_0x1a9f5b=>!_0x358bcb['includes'](_0x1a9f5b)&&!_0x358bcb['includes'](_0x1a9f5b['pluginName'])),_0x3f8a8d=Array['from'](new Set(_0x343032)),_0x5a1d31=new Map();return _0x7196cb['plugins']=_0x3f8a8d['filter'](_0x23637a=>_0x5d45bb(_0x23637a,_0x5a1d31,_0x35efce['plugins'],_0x65af73)),_0x7196cb;}function _0x4bc8d4(_0x4d4e1a,_0x57efec){const _0x162d16=[];_0x4d4e1a['document']['selection']['on']('change:range',()=>{const _0x43cf0d=function(_0x3b658b,_0x3ea032){const _0x2f228f=[];for(const _0x2a1c5e of _0x3b658b['markers']){const _0x23ccb6=_0x2a1c5e['getRange']();(_0x23ccb6['containsPosition'](_0x3ea032)||_0x23ccb6['start']['isEqual'](_0x3ea032)||_0x23ccb6['end']['isEqual'](_0x3ea032))&&_0x2f228f['push'](_0x2a1c5e);}return _0x2f228f;}(_0x4d4e1a,_0x4d4e1a['document']['selection']['focus']),_0x484b32=[],_0x38cb6d=[],_0x55b3d1=[];for(const _0x3de312 of _0x162d16)_0x43cf0d['includes'](_0x3de312)||_0x484b32['push'](_0x3de312);for(const _0xb996fd of _0x43cf0d)_0x162d16['includes'](_0xb996fd)||_0x38cb6d['push'](_0xb996fd),_0x55b3d1['push'](_0xb996fd);(_0x484b32['length']||_0x38cb6d['length'])&&_0x57efec({'left':_0x484b32,'entered':_0x38cb6d}),_0x162d16['length']=0x0,_0x162d16['push'](..._0x55b3d1);});}const _0x1fa44b='Ctrl+Shift+E';function _0x39fd70(_0x4d26b8,_0x1d2f5b){const _0x3b3636=_0x4d26b8['element'];_0x4d26b8['keystrokes']['listenTo'](_0x3b3636);for(const _0x3aed5b of _0x1d2f5b)_0x480268(_0x4d26b8,_0x3aed5b);_0x1d2f5b['on']('change',(_0x35e2f8,_0x2b09a6)=>{for(const _0x45ef16 of _0x2b09a6['removed'])_0xeaafed(_0x4d26b8,_0x45ef16);for(const _0xc57a08 of Array['from'](_0x2b09a6['added'])['reverse']())_0x480268(_0x4d26b8,_0xc57a08);}),_0x4d26b8['keystrokes']['set']('enter',(_0x1211ac,_0x2235f7)=>{_0x3b3636===_0x1211ac['target']&&(_0x4d26b8['focusCycler']['focusFirst'](),_0x2235f7());},{'filter':_0x4ab045=>_0x4ab045['target']===_0x3b3636}),_0x4d26b8['keystrokes']['set']('esc',(_0x5a26f4,_0x5c283e)=>{_0x3b3636!==_0x5a26f4['target']?_0x4d26b8['focus']():_0x4d26b8['fire']('escape'),_0x5c283e();}),_0x4d26b8['keystrokes']['set']('arrowdown',(_0x4cab24,_0x5d6a95)=>{_0x3b3636===_0x4cab24['target']&&(_0x4d26b8['fire']('arrowdown'),_0x5d6a95());}),_0x4d26b8['keystrokes']['set']('arrowup',(_0x3a84c0,_0xf6bd82)=>{_0x3b3636===_0x3a84c0['target']&&(_0x4d26b8['fire']('arrowup'),_0xf6bd82());});}function _0x480268(_0x3ae373,_0xf1152d){_0xf1152d['isRendered']&&(_0x3ae373['focusTracker']['add'](_0xf1152d['element']),_0x3ae373['keystrokes']['listenTo'](_0xf1152d['element']),(0x0,_0x14e616['isViewWithFocusCycler'])(_0xf1152d)&&function(_0x189d6f,_0x48614a){const _0x113835=_0x189d6f['actions'],_0x1b83e0=_0x48614a['actions'];for(const _0x56604d of Object['keys'](_0x113835))if(_0x56604d in _0x1b83e0&&_0x113835[_0x56604d]!==_0x1b83e0[_0x56604d])return!0x1;return!0x0;}(_0x3ae373['focusCycler'],_0xf1152d['focusCycler'])&&_0x3ae373['focusCycler']['chain'](_0xf1152d['focusCycler']));}function _0xeaafed(_0x2dd675,_0x94fae9){_0x2dd675['focusTracker']['remove'](_0x94fae9['element']),_0x2dd675['keystrokes']['stopListening'](_0x94fae9['element']),(0x0,_0x14e616['isViewWithFocusCycler'])(_0x94fae9)&&_0x2dd675['focusCycler']['unchain'](_0x94fae9['focusCycler']);}var _0x4d548a=class{['diff'](_0xc03f7b,_0x35ed20,_0x12d6f1={}){let _0x2c6c25;'function'==typeof _0x12d6f1?(_0x2c6c25=_0x12d6f1,_0x12d6f1={}):'callback'in _0x12d6f1&&(_0x2c6c25=_0x12d6f1['callback']);const _0x1311d7=this['castInput'](_0xc03f7b,_0x12d6f1),_0x2ba823=this['castInput'](_0x35ed20,_0x12d6f1),_0x262fed=this['removeEmpty'](this['tokenize'](_0x1311d7,_0x12d6f1)),_0x589389=this['removeEmpty'](this['tokenize'](_0x2ba823,_0x12d6f1));return this['diffWithOptionsObj'](_0x262fed,_0x589389,_0x12d6f1,_0x2c6c25);}['diffWithOptionsObj'](_0x20ab97,_0x4ab1bc,_0x4a7d92,_0x6b219){var _0x5d00b5;const _0x4b9314=_0x4345e2=>(_0x4345e2=this['postProcess'](_0x4345e2,_0x4a7d92),_0x6b219?void setTimeout(function(){_0x6b219(_0x4345e2);},0x0):_0x4345e2),_0x1c89b7=_0x4ab1bc['length'],_0x1bba42=_0x20ab97['length'];let _0x9a0cdf=0x1,_0x592648=_0x1c89b7+_0x1bba42;null!=_0x4a7d92['maxEditLength']&&(_0x592648=Math['min'](_0x592648,_0x4a7d92['maxEditLength']));const _0x2f1134=null!==(_0x5d00b5=_0x4a7d92['timeout'])&&void 0x0!==_0x5d00b5?_0x5d00b5:0x1/0x0,_0x48f23d=Date['now']()+_0x2f1134,_0x14c561=[{'oldPos':-0x1,'lastComponent':void 0x0}];let _0x547eb9=this['extractCommon'](_0x14c561[0x0],_0x4ab1bc,_0x20ab97,0x0,_0x4a7d92);if(_0x14c561[0x0]['oldPos']+0x1>=_0x1bba42&&_0x547eb9+0x1>=_0x1c89b7)return _0x4b9314(this['buildValues'](_0x14c561[0x0]['lastComponent'],_0x4ab1bc,_0x20ab97));let _0x17c4a3=-0x1/0x0,_0x500814=0x1/0x0;const _0x52aaa5=()=>{for(let _0x4ced9c=Math['max'](_0x17c4a3,-_0x9a0cdf);_0x4ced9c<=Math['min'](_0x500814,_0x9a0cdf);_0x4ced9c+=0x2){let _0x268b09;const _0x1ef6d7=_0x14c561[_0x4ced9c-0x1],_0x38ebf4=_0x14c561[_0x4ced9c+0x1];_0x1ef6d7&&(_0x14c561[_0x4ced9c-0x1]=void 0x0);let _0x1b8e8a=!0x1;if(_0x38ebf4){const _0x19541f=_0x38ebf4['oldPos']-_0x4ced9c;_0x1b8e8a=_0x38ebf4&&0x0<=_0x19541f&&_0x19541f<_0x1c89b7;}const _0x515db4=_0x1ef6d7&&_0x1ef6d7['oldPos']+0x1<_0x1bba42;if(_0x1b8e8a||_0x515db4){if(_0x268b09=!_0x515db4||_0x1b8e8a&&_0x1ef6d7['oldPos']<_0x38ebf4['oldPos']?this['addToPath'](_0x38ebf4,!0x0,!0x1,0x0,_0x4a7d92):this['addToPath'](_0x1ef6d7,!0x1,!0x0,0x1,_0x4a7d92),_0x547eb9=this['extractCommon'](_0x268b09,_0x4ab1bc,_0x20ab97,_0x4ced9c,_0x4a7d92),_0x268b09['oldPos']+0x1>=_0x1bba42&&_0x547eb9+0x1>=_0x1c89b7)return _0x4b9314(this['buildValues'](_0x268b09['lastComponent'],_0x4ab1bc,_0x20ab97))||!0x0;_0x14c561[_0x4ced9c]=_0x268b09,_0x268b09['oldPos']+0x1>=_0x1bba42&&(_0x500814=Math['min'](_0x500814,_0x4ced9c-0x1)),_0x547eb9+0x1>=_0x1c89b7&&(_0x17c4a3=Math['max'](_0x17c4a3,_0x4ced9c+0x1));}else _0x14c561[_0x4ced9c]=void 0x0;}_0x9a0cdf++;};if(_0x6b219)!function _0x5d2b81(){setTimeout(function(){if(_0x9a0cdf>_0x592648||Date['now']()>_0x48f23d)return _0x6b219(void 0x0);_0x52aaa5()||_0x5d2b81();},0x0);}();else for(;_0x9a0cdf<=_0x592648&&Date['now']()<=_0x48f23d;){const _0x1135f8=_0x52aaa5();if(_0x1135f8)return _0x1135f8;}}['addToPath'](_0x4da743,_0x4bad97,_0x582622,_0x19f99c,_0x2bcb95){const _0x18ee13=_0x4da743['lastComponent'];return _0x18ee13&&!_0x2bcb95['oneChangePerToken']&&_0x18ee13['added']===_0x4bad97&&_0x18ee13['removed']===_0x582622?{'oldPos':_0x4da743['oldPos']+_0x19f99c,'lastComponent':{'count':_0x18ee13['count']+0x1,'added':_0x4bad97,'removed':_0x582622,'previousComponent':_0x18ee13['previousComponent']}}:{'oldPos':_0x4da743['oldPos']+_0x19f99c,'lastComponent':{'count':0x1,'added':_0x4bad97,'removed':_0x582622,'previousComponent':_0x18ee13}};}['extractCommon'](_0x5ad767,_0x34f34a,_0x39c1e9,_0x133390,_0x2df612){const _0xdb9fe3=_0x34f34a['length'],_0x34fe78=_0x39c1e9['length'];let _0x23f3f4=_0x5ad767['oldPos'],_0x3f27b9=_0x23f3f4-_0x133390,_0x59c4a4=0x0;for(;_0x3f27b9+0x1<_0xdb9fe3&&_0x23f3f4+0x1<_0x34fe78&&this['equals'](_0x39c1e9[_0x23f3f4+0x1],_0x34f34a[_0x3f27b9+0x1],_0x2df612);)_0x3f27b9++,_0x23f3f4++,_0x59c4a4++,_0x2df612['oneChangePerToken']&&(_0x5ad767['lastComponent']={'count':0x1,'previousComponent':_0x5ad767['lastComponent'],'added':!0x1,'removed':!0x1});return _0x59c4a4&&!_0x2df612['oneChangePerToken']&&(_0x5ad767['lastComponent']={'count':_0x59c4a4,'previousComponent':_0x5ad767['lastComponent'],'added':!0x1,'removed':!0x1}),_0x5ad767['oldPos']=_0x23f3f4,_0x3f27b9;}['equals'](_0xa10002,_0x5e62eb,_0x5af596){return _0x5af596['comparator']?_0x5af596['comparator'](_0xa10002,_0x5e62eb):_0xa10002===_0x5e62eb||!!_0x5af596['ignoreCase']&&_0xa10002['toLowerCase']()===_0x5e62eb['toLowerCase']();}['removeEmpty'](_0x3544a0){const _0x46bad0=[];for(let _0x1a76eb=0x0;_0x1a76eb<_0x3544a0['length'];_0x1a76eb++)_0x3544a0[_0x1a76eb]&&_0x46bad0['push'](_0x3544a0[_0x1a76eb]);return _0x46bad0;}['castInput'](_0xfa5ae0,_0x230fd7){return _0xfa5ae0;}['tokenize'](_0x8eaba0,_0x3b7869){return Array['from'](_0x8eaba0);}['join'](_0x3d49fb){return _0x3d49fb['join']('');}['postProcess'](_0x577c6c,_0x4bb2af){return _0x577c6c;}get['useLongestToken'](){return!0x1;}['buildValues'](_0x385402,_0x1171c2,_0x897337){const _0x3195f5=[];let _0x490a53;for(;_0x385402;)_0x3195f5['push'](_0x385402),_0x490a53=_0x385402['previousComponent'],delete _0x385402['previousComponent'],_0x385402=_0x490a53;_0x3195f5['reverse']();const _0x270df9=_0x3195f5['length'];let _0x1ed5d7=0x0,_0x1e5df5=0x0,_0x2c2554=0x0;for(;_0x1ed5d7<_0x270df9;_0x1ed5d7++){const _0x5db2ba=_0x3195f5[_0x1ed5d7];if(_0x5db2ba['removed'])_0x5db2ba['value']=this['join'](_0x897337['slice'](_0x2c2554,_0x2c2554+_0x5db2ba['count'])),_0x2c2554+=_0x5db2ba['count'];else{if(!_0x5db2ba['added']&&this['useLongestToken']){let _0x540b33=_0x1171c2['slice'](_0x1e5df5,_0x1e5df5+_0x5db2ba['count']);_0x540b33=_0x540b33['map'](function(_0x12bef2,_0x1d8f3c){const _0x3ce77e=_0x897337[_0x2c2554+_0x1d8f3c];return _0x3ce77e['length']>_0x12bef2['length']?_0x3ce77e:_0x12bef2;}),_0x5db2ba['value']=this['join'](_0x540b33);}else _0x5db2ba['value']=this['join'](_0x1171c2['slice'](_0x1e5df5,_0x1e5df5+_0x5db2ba['count']));_0x1e5df5+=_0x5db2ba['count'],_0x5db2ba['added']||(_0x2c2554+=_0x5db2ba['count']);}}return _0x3195f5;}};function _0x1a9a8b(_0x3ea3bb,_0x3bbb76){let _0x4d6612;for(_0x4d6612=0x0;_0x4d6612<_0x3ea3bb['length']&&_0x4d6612<_0x3bbb76['length'];_0x4d6612++)if(_0x3ea3bb[_0x4d6612]!=_0x3bbb76[_0x4d6612])return _0x3ea3bb['slice'](0x0,_0x4d6612);return _0x3ea3bb['slice'](0x0,_0x4d6612);}function ta(_0x5a3a58,_0x4bc08f){let _0x554aa0;if(!_0x5a3a58||!_0x4bc08f||_0x5a3a58[_0x5a3a58['length']-0x1]!=_0x4bc08f[_0x4bc08f['length']-0x1])return'';for(_0x554aa0=0x0;_0x554aa0<_0x5a3a58['length']&&_0x554aa0<_0x4bc08f['length'];_0x554aa0++)if(_0x5a3a58[_0x5a3a58['length']-(_0x554aa0+0x1)]!=_0x4bc08f[_0x4bc08f['length']-(_0x554aa0+0x1)])return _0x5a3a58['slice'](-_0x554aa0);return _0x5a3a58['slice'](-_0x554aa0);}function _0x3177ed(_0x488e9e,_0x463708,_0x231e3a){if(_0x488e9e['slice'](0x0,_0x463708['length'])!=_0x463708)throw Error('string\x20'+JSON['stringify'](_0x488e9e)+'\x20doesn\x27t\x20start\x20with\x20prefix\x20'+JSON['stringify'](_0x463708)+';\x20this\x20is\x20a\x20bug');return _0x231e3a+_0x488e9e['slice'](_0x463708['length']);}function _0x14c175(_0x48402e,_0x52cf1e,_0x5cf5bb){if(!_0x52cf1e)return _0x48402e+_0x5cf5bb;if(_0x48402e['slice'](-_0x52cf1e['length'])!=_0x52cf1e)throw Error('string\x20'+JSON['stringify'](_0x48402e)+'\x20doesn\x27t\x20end\x20with\x20suffix\x20'+JSON['stringify'](_0x52cf1e)+';\x20this\x20is\x20a\x20bug');return _0x48402e['slice'](0x0,-_0x52cf1e['length'])+_0x5cf5bb;}function _0x3c6fe5(_0x3bba70,_0x456168){return _0x3177ed(_0x3bba70,_0x456168,'');}function _0x214238(_0x135066,_0x5f1c01){return _0x14c175(_0x135066,_0x5f1c01,'');}function _0x373674(_0x942c1c,_0x33261d){return _0x33261d['slice'](0x0,function(_0xcc6212,_0x5e0947){let _0x7395e1=0x0;_0xcc6212['length']>_0x5e0947['length']&&(_0x7395e1=_0xcc6212['length']-_0x5e0947['length']);let _0x2650a8=_0x5e0947['length'];_0xcc6212['length']<_0x5e0947['length']&&(_0x2650a8=_0xcc6212['length']);const _0x27f4e1=Array(_0x2650a8);let _0x1e6076=0x0;_0x27f4e1[0x0]=0x0;for(let _0x6ba918=0x1;_0x6ba918<_0x2650a8;_0x6ba918++){for(_0x5e0947[_0x6ba918]==_0x5e0947[_0x1e6076]?_0x27f4e1[_0x6ba918]=_0x27f4e1[_0x1e6076]:_0x27f4e1[_0x6ba918]=_0x1e6076;_0x1e6076>0x0&&_0x5e0947[_0x6ba918]!=_0x5e0947[_0x1e6076];)_0x1e6076=_0x27f4e1[_0x1e6076];_0x5e0947[_0x6ba918]==_0x5e0947[_0x1e6076]&&_0x1e6076++;}_0x1e6076=0x0;for(let _0x38be5a=_0x7395e1;_0x38be5a<_0xcc6212['length'];_0x38be5a++){for(;_0x1e6076>0x0&&_0xcc6212[_0x38be5a]!=_0x5e0947[_0x1e6076];)_0x1e6076=_0x27f4e1[_0x1e6076];_0xcc6212[_0x38be5a]==_0x5e0947[_0x1e6076]&&_0x1e6076++;}return _0x1e6076;}(_0x942c1c,_0x33261d));}function _0x420460(_0x394412){let _0x3eb20d;for(_0x3eb20d=_0x394412['length']-0x1;_0x3eb20d>=0x0&&_0x394412[_0x3eb20d]['match'](/\s/);_0x3eb20d--);return _0x394412['substring'](_0x3eb20d+0x1);}function _0x101de8(_0x3e0f46){const _0x3d00e9=_0x3e0f46['match'](/^\s*/);return _0x3d00e9?_0x3d00e9[0x0]:'';}new class extends _0x4d548a{}();const _0x271bb4='a-zA-Z0-9_\x5cu{AD}\x5cu{C0}-\x5cu{D6}\x5cu{D8}-\x5cu{F6}\x5cu{F8}-\x5cu{2C6}\x5cu{2C8}-\x5cu{2D7}\x5cu{2DE}-\x5cu{2FF}\x5cu{1E00}-\x5cu{1EFF}',_0x21efc7=new RegExp('['+_0x271bb4+']+|\x5cs+|[^'+_0x271bb4+']','ug');function _0x2092d5(_0xe6fc37,_0x458d42,_0x1bf23d,_0x50ad93){if(_0x458d42&&_0x1bf23d){const _0x7fd046=_0x101de8(_0x458d42['value']),_0x338c06=_0x420460(_0x458d42['value']),_0x1cb34b=_0x101de8(_0x1bf23d['value']),_0x43747e=_0x420460(_0x1bf23d['value']);if(_0xe6fc37){const _0xfcd64c=_0x1a9a8b(_0x7fd046,_0x1cb34b);_0xe6fc37['value']=_0x14c175(_0xe6fc37['value'],_0x1cb34b,_0xfcd64c),_0x458d42['value']=_0x3c6fe5(_0x458d42['value'],_0xfcd64c),_0x1bf23d['value']=_0x3c6fe5(_0x1bf23d['value'],_0xfcd64c);}if(_0x50ad93){const _0x4d6118=ta(_0x338c06,_0x43747e);_0x50ad93['value']=_0x3177ed(_0x50ad93['value'],_0x43747e,_0x4d6118),_0x458d42['value']=_0x214238(_0x458d42['value'],_0x4d6118),_0x1bf23d['value']=_0x214238(_0x1bf23d['value'],_0x4d6118);}}else{if(_0x1bf23d){if(_0xe6fc37){const _0x1e44d2=_0x101de8(_0x1bf23d['value']);_0x1bf23d['value']=_0x1bf23d['value']['substring'](_0x1e44d2['length']);}if(_0x50ad93){const _0x148959=_0x101de8(_0x50ad93['value']);_0x50ad93['value']=_0x50ad93['value']['substring'](_0x148959['length']);}}else{if(_0xe6fc37&&_0x50ad93){const _0x2739a3=_0x101de8(_0x50ad93['value']),_0x3c3dd4=_0x101de8(_0x458d42['value']),_0x600545=_0x420460(_0x458d42['value']),_0x324ed6=_0x1a9a8b(_0x2739a3,_0x3c3dd4);_0x458d42['value']=_0x3c6fe5(_0x458d42['value'],_0x324ed6);const _0x535141=ta(_0x3c6fe5(_0x2739a3,_0x324ed6),_0x600545);_0x458d42['value']=_0x214238(_0x458d42['value'],_0x535141),_0x50ad93['value']=_0x3177ed(_0x50ad93['value'],_0x2739a3,_0x535141),_0xe6fc37['value']=_0x14c175(_0xe6fc37['value'],_0x2739a3,_0x2739a3['slice'](0x0,_0x2739a3['length']-_0x535141['length']));}else{if(_0x50ad93){const _0x48fedf=_0x101de8(_0x50ad93['value']),_0x423e4c=_0x373674(_0x420460(_0x458d42['value']),_0x48fedf);_0x458d42['value']=_0x214238(_0x458d42['value'],_0x423e4c);}else{if(_0xe6fc37){const _0x798a31=_0x373674(_0x420460(_0xe6fc37['value']),_0x101de8(_0x458d42['value']));_0x458d42['value']=_0x3c6fe5(_0x458d42['value'],_0x798a31);}}}}}}new class extends _0x4d548a{['equals'](_0x15092d,_0x5b3c4d,_0x25a32a){return _0x25a32a['ignoreCase']&&(_0x15092d=_0x15092d['toLowerCase'](),_0x5b3c4d=_0x5b3c4d['toLowerCase']()),_0x15092d['trim']()===_0x5b3c4d['trim']();}['tokenize'](_0x281e44,_0x1a3c95={}){let _0x55a30c;if(_0x1a3c95['intlSegmenter']){const _0x2a6ae8=_0x1a3c95['intlSegmenter'];if('word'!=_0x2a6ae8['resolvedOptions']()['granularity'])throw new Error('The\x20segmenter\x20passed\x20must\x20have\x20a\x20granularity\x20of\x20\x22word\x22');_0x55a30c=[];for(const _0x41d36d of Array['from'](_0x2a6ae8['segment'](_0x281e44))){const _0xe58c1=_0x41d36d['segment'];_0x55a30c['length']&&/\s/['test'](_0x55a30c[_0x55a30c['length']-0x1])&&/\s/['test'](_0xe58c1)?_0x55a30c[_0x55a30c['length']-0x1]+=_0xe58c1:_0x55a30c['push'](_0xe58c1);}}else _0x55a30c=_0x281e44['match'](_0x21efc7)||[];const _0xea27b2=[];let _0x28f763=null;return _0x55a30c['forEach'](_0x1a8fd2=>{/\s/['test'](_0x1a8fd2)?null==_0x28f763?_0xea27b2['push'](_0x1a8fd2):_0xea27b2['push'](_0xea27b2['pop']()+_0x1a8fd2):null!=_0x28f763&&/\s/['test'](_0x28f763)?_0xea27b2[_0xea27b2['length']-0x1]==_0x28f763?_0xea27b2['push'](_0xea27b2['pop']()+_0x1a8fd2):_0xea27b2['push'](_0x28f763+_0x1a8fd2):_0xea27b2['push'](_0x1a8fd2),_0x28f763=_0x1a8fd2;}),_0xea27b2;}['join'](_0x3dcda6){return _0x3dcda6['map']((_0x1d5fd0,_0x7f117e)=>0x0==_0x7f117e?_0x1d5fd0:_0x1d5fd0['replace'](/^\s+/,''))['join']('');}['postProcess'](_0x55886b,_0x53e211){if(!_0x55886b||_0x53e211['oneChangePerToken'])return _0x55886b;let _0x446097=null,_0x177b3e=null,_0x31b4ea=null;return _0x55886b['forEach'](_0x10019e=>{_0x10019e['added']?_0x177b3e=_0x10019e:_0x10019e['removed']?_0x31b4ea=_0x10019e:((_0x177b3e||_0x31b4ea)&&_0x2092d5(_0x446097,_0x31b4ea,_0x177b3e,_0x10019e),_0x446097=_0x10019e,_0x177b3e=null,_0x31b4ea=null);}),(_0x177b3e||_0x31b4ea)&&_0x2092d5(_0x446097,_0x31b4ea,_0x177b3e,null),_0x55886b;}}(),new class extends _0x4d548a{['tokenize'](_0x5c64d9){const _0x1a668d=new RegExp('(\x5cr?\x5cn)|['+_0x271bb4+']+|[^\x5cS\x5cn\x5cr]+|[^'+_0x271bb4+']','ug');return _0x5c64d9['match'](_0x1a668d)||[];}}();function _0x8ec1b2(_0x89e95c,_0x2d9363){_0x2d9363['stripTrailingCr']&&(_0x89e95c=_0x89e95c['replace'](/\r\n/g,'\x0a'));const _0x4811db=[],_0x220dc2=_0x89e95c['split'](/(\n|\r\n)/);_0x220dc2[_0x220dc2['length']-0x1]||_0x220dc2['pop']();for(let _0x9c6eef=0x0;_0x9c6eef<_0x220dc2['length'];_0x9c6eef++){const _0x50042c=_0x220dc2[_0x9c6eef];_0x9c6eef%0x2&&!_0x2d9363['newlineIsToken']?_0x4811db[_0x4811db['length']-0x1]+=_0x50042c:_0x4811db['push'](_0x50042c);}return _0x4811db;}function _0x1cce2f(_0x4d371e){return'.'==_0x4d371e||'!'==_0x4d371e||'?'==_0x4d371e;}new class extends _0x4d548a{constructor(){super(...arguments),this['tokenize']=_0x8ec1b2;}['equals'](_0x5baf00,_0x286cee,_0x15ef6d){return _0x15ef6d['ignoreWhitespace']?(_0x15ef6d['newlineIsToken']&&_0x5baf00['includes']('\x0a')||(_0x5baf00=_0x5baf00['trim']()),_0x15ef6d['newlineIsToken']&&_0x286cee['includes']('\x0a')||(_0x286cee=_0x286cee['trim']())):_0x15ef6d['ignoreNewlineAtEof']&&!_0x15ef6d['newlineIsToken']&&(_0x5baf00['endsWith']('\x0a')&&(_0x5baf00=_0x5baf00['slice'](0x0,-0x1)),_0x286cee['endsWith']('\x0a')&&(_0x286cee=_0x286cee['slice'](0x0,-0x1))),super['equals'](_0x5baf00,_0x286cee,_0x15ef6d);}}(),new class extends _0x4d548a{['tokenize'](_0x3e3e71){var _0x55281d;const _0x3ba0fe=[];let _0x5e195b=0x0;for(let _0x4040c4=0x0;_0x4040c4<_0x3e3e71['length'];_0x4040c4++){if(_0x4040c4==_0x3e3e71['length']-0x1){_0x3ba0fe['push'](_0x3e3e71['slice'](_0x5e195b));break;}if(_0x1cce2f(_0x3e3e71[_0x4040c4])&&_0x3e3e71[_0x4040c4+0x1]['match'](/\s/)){for(_0x3ba0fe['push'](_0x3e3e71['slice'](_0x5e195b,_0x4040c4+0x1)),_0x4040c4=_0x5e195b=_0x4040c4+0x1;null===(_0x55281d=_0x3e3e71[_0x4040c4+0x1])||void 0x0===_0x55281d?void 0x0:_0x55281d['match'](/\s/);)_0x4040c4++;_0x3ba0fe['push'](_0x3e3e71['slice'](_0x5e195b,_0x4040c4+0x1)),_0x5e195b=_0x4040c4+0x1;}}return _0x3ba0fe;}}(),new class extends _0x4d548a{['tokenize'](_0x53326a){return _0x53326a['split'](/([{}:;,]|\s+)/);}}();function _0x239740(_0x32d4a8,_0x2859d3,_0x49f0b2,_0x3a1bfc,_0x3fe98b){let _0x293b59,_0x488adf;for(_0x2859d3=_0x2859d3||[],_0x49f0b2=_0x49f0b2||[],_0x3a1bfc&&(_0x32d4a8=_0x3a1bfc(void 0x0===_0x3fe98b?'':_0x3fe98b,_0x32d4a8)),_0x293b59=0x0;_0x293b59<_0x2859d3['length'];_0x293b59+=0x1)if(_0x2859d3[_0x293b59]===_0x32d4a8)return _0x49f0b2[_0x293b59];if('[object\x20Array]'===Object['prototype']['toString']['call'](_0x32d4a8)){for(_0x2859d3['push'](_0x32d4a8),_0x488adf=new Array(_0x32d4a8['length']),_0x49f0b2['push'](_0x488adf),_0x293b59=0x0;_0x293b59<_0x32d4a8['length'];_0x293b59+=0x1)_0x488adf[_0x293b59]=_0x239740(_0x32d4a8[_0x293b59],_0x2859d3,_0x49f0b2,_0x3a1bfc,String(_0x293b59));return _0x2859d3['pop'](),_0x49f0b2['pop'](),_0x488adf;}if(_0x32d4a8&&_0x32d4a8['toJSON']&&(_0x32d4a8=_0x32d4a8['toJSON']()),'object'==typeof _0x32d4a8&&null!==_0x32d4a8){_0x2859d3['push'](_0x32d4a8),_0x488adf={},_0x49f0b2['push'](_0x488adf);const _0x5efaea=[];let _0x38b804;for(_0x38b804 in _0x32d4a8)Object['prototype']['hasOwnProperty']['call'](_0x32d4a8,_0x38b804)&&_0x5efaea['push'](_0x38b804);for(_0x5efaea['sort'](),_0x293b59=0x0;_0x293b59<_0x5efaea['length'];_0x293b59+=0x1)_0x38b804=_0x5efaea[_0x293b59],_0x488adf[_0x38b804]=_0x239740(_0x32d4a8[_0x38b804],_0x2859d3,_0x49f0b2,_0x3a1bfc,_0x38b804);_0x2859d3['pop'](),_0x49f0b2['pop']();}else _0x488adf=_0x32d4a8;return _0x488adf;}new class extends _0x4d548a{constructor(){super(...arguments),this['tokenize']=_0x8ec1b2;}get['useLongestToken'](){return!0x0;}['castInput'](_0x3539e5,_0x2833ab){const {undefinedReplacement:_0x41c171,stringifyReplacer:_0x49dd2f=(_0x3255c9,_0xe60cb)=>void 0x0===_0xe60cb?_0x41c171:_0xe60cb}=_0x2833ab;return'string'==typeof _0x3539e5?_0x3539e5:JSON['stringify'](_0x239740(_0x3539e5,null,null,_0x49dd2f),null,'\x20\x20');}['equals'](_0x121772,_0x2d2667,_0x415b33){return super['equals'](_0x121772['replace'](/,([\r\n])/g,'$1'),_0x2d2667['replace'](/,([\r\n])/g,'$1'),_0x415b33);}}();const _0x1d6590=new class extends _0x4d548a{['tokenize'](_0x45520a){return _0x45520a['slice']();}['join'](_0x5e366f){return _0x5e366f;}['removeEmpty'](_0x30d79e){return _0x30d79e;}}();function _0x3d2865(_0x3a03b5,_0xe2f2b9,_0x21165f){return _0x1d6590['diff'](_0x3a03b5,_0xe2f2b9,_0x21165f);}const _0x578078='$elementId',_0x2a08d8='data-id';var _0x4abd7b=class extends _0x14e616['ContextPlugin']{static get['pluginName'](){return'DocumentCompare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['init'](){this['context']instanceof _0x14e616['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x1c4fab,_0x5352dd)=>{_0x5352dd['on']('ready',()=>{this['_integrateEditor'](_0x5352dd);});});}get['editor'](){if(this['context']instanceof _0x14e616['Editor'])return this['context'];{const _0x15e02e=this['context']['editors']['first'];if(!_0x15e02e)throw new _0x14e616['CKEditorError']('documentcompare-no-editor',this);return _0x15e02e;}}['getDiff'](_0x595b42,_0x22ba35,_0x8e4110={'anchor':'main','markDeletions':!0x1}){const _0x259a00=_0x8e4110['targetEditor']||this['editor'],_0x5999c5=_0x8e4110['anchor']??'main';let _0xbbc8a8,_0x40f343;if('string'==typeof _0x5999c5){const _0x46755d=_0x259a00['model']['document']['getRoot'](_0x5999c5);if(!_0x46755d)throw new _0x14e616['CKEditorError']('documentcompare-compare-no-root',this,{'anchor':_0x5999c5});_0xbbc8a8=_0x46755d,_0x40f343=_0x259a00['model']['createPositionAt'](_0x46755d,0x0);}else _0xbbc8a8=_0x5999c5['clone'](),_0x40f343=_0x5999c5['clone']();return new _0x1f6347({'editor':_0x259a00,'before':_0x259a00['data']['parse'](_0x595b42,_0xbbc8a8),'after':_0x259a00['data']['parse'](_0x22ba35,_0xbbc8a8),'options':{'anchor':_0x40f343,'markDeletions':_0x8e4110['markDeletions']}});}['isMarkedRemoveOperation'](_0x1dad30){return'marker'==_0x1dad30['type']&&_0x1dad30['name']['startsWith']('$markedRemove');}['applyOperations'](_0x3c0612,_0x5767ac){const _0x30c200=_0x3c0612['model'];for(const _0x4453e8 of _0x5767ac)_0x4453e8 instanceof _0x14e616['MoveOperation']?_0x3c0612['_addOperationForAffectedMarkers']('move',_0x14e616['ModelRange']['_createFromPositionAndShift'](_0x4453e8['sourcePosition'],_0x4453e8['howMany'])):_0x4453e8 instanceof _0x14e616['MergeOperation']?_0x3c0612['_addOperationForAffectedMarkers']('merge',_0x4453e8['deletionPosition']):_0x4453e8 instanceof _0x14e616['MarkerOperation']&&this['_fixMarkerOperationOldRange'](_0x30c200,_0x4453e8),_0x4453e8['baseVersion']=_0x30c200['document']['version'],_0x3c0612['batch']['addOperation'](_0x4453e8),_0x30c200['applyOperation'](_0x4453e8);}['_fixMarkerOperationOldRange'](_0x5b0a11,_0x4f4012){const _0x4eeb21=_0x5b0a11['markers']['get'](_0x4f4012['name']);_0x4eeb21&&(_0x4f4012['oldRange']=_0x4eeb21['getRange']());}['_integrateEditor'](_0xfbbbbc){_0xfbbbbc['conversion']['for']('upcast')['add'](_0x4beaa5=>{_0x4beaa5['on']('element',(_0x2e306f,_0xfb8798,_0x246f3d)=>{if(_0xfb8798['modelRange']&&_0x246f3d['consumable']['consume'](_0xfb8798['viewItem'],{'attributes':'data-id'}))for(const _0x139a70 of _0xfb8798['modelRange']['getItems']({'shallow':!0x0})){if(_0x139a70['is']('$textProxy'))continue;const _0x9fd2fa=_0xfb8798['viewItem']['getAttribute'](_0x2a08d8);_0x9fd2fa&&_0x246f3d['writer']['setAttribute'](_0x578078,_0x9fd2fa,_0x139a70);}},{'priority':'low'});}),_0xfbbbbc['model']['schema']['addAttributeCheck'](()=>!0x0,_0x578078);}},_0x1f6347=class{['_editor'];['_diffItems']=[];['_markDeletions'];['_anchor'];['_operationsData']=[];['_path']=[0x0];['_parents']=[];['_splitPostponedData']=new Map();constructor({editor:_0x4e3978,before:_0x33146a,after:_0x5a0603,options:_0x49838f}){this['_editor']=_0x4e3978,this['_markDeletions']=!!_0x49838f['markDeletions'],this['_anchor']=_0x49838f['anchor'];const _0x118360=this['_tokenizeModel'](_0x33146a),_0xc168eb=this['_tokenizeModel'](_0x5a0603);this['_diffItems']=this['_diffModelTokens'](_0x118360,_0xc168eb),this['_calculateOperationsData'](),this['_markDeletions']||this['_calculateMarkersOperationsData'](_0x33146a['markers'],_0x5a0603['markers']);}['getOperationsData'](){return this['_operationsData'];}['getOperations'](){const _0x418fae=this['_editor']['model']['document'],_0x43f454=[];let _0x3c91f2=_0x418fae['version'];for(const _0x2e13cb of this['_operationsData'])switch(_0x2e13cb['type']){case'attribute':{const _0xd79e2b=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['path']),_0x4b76b4=new _0x14e616['ModelRange'](_0xd79e2b,_0xd79e2b['getShiftedBy'](_0x2e13cb['howMany'])),_0x264fd9=JSON['parse'](_0x2e13cb['oldValue']),_0x26d879=JSON['parse'](_0x2e13cb['newValue']);_0x43f454['push'](new _0x14e616['AttributeOperation'](_0x4b76b4,_0x2e13cb['key'],_0x264fd9,_0x26d879,_0x3c91f2++));break;}case'insert':{const _0x27c01f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['path']),_0x1c85c3=this['_makeModelFromTokens'](_0x2e13cb['tokens']);_0x43f454['push'](new _0x14e616['InsertOperation'](_0x27c01f,_0x1c85c3,_0x3c91f2++));break;}case'remove':{const _0x3aacef=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['path']),_0x40125b=new _0x14e616['ModelPosition'](_0x418fae['graveyard'],[0x0]);_0x43f454['push'](new _0x14e616['MoveOperation'](_0x3aacef,_0x2e13cb['howMany'],_0x40125b,_0x3c91f2++));break;}case'rename':{const _0x8535a6=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['path']);_0x43f454['push'](new _0x14e616['RenameOperation'](_0x8535a6,_0x2e13cb['oldName'],_0x2e13cb['newName'],_0x3c91f2++));break;}case'split':{const _0x13e321=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['path']),_0x370cd9=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['path']['slice'](0x0,-0x1));_0x370cd9['offset']++,_0x43f454['push'](new _0x14e616['SplitOperation'](_0x13e321,Number['NEGATIVE_INFINITY'],_0x370cd9,null,_0x3c91f2++));break;}case'merge':{const _0x10eec0=_0x2e13cb['path']['slice'](),_0x58f387=_0x10eec0['slice'](0x0,-0x1);_0x58f387[_0x58f387['length']-0x1]++,_0x58f387['push'](0x0);const _0x330dfe=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x58f387),_0x4fb20f=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x10eec0),_0x4f1429=new _0x14e616['ModelPosition'](_0x418fae['graveyard'],[0x0]);_0x43f454['push'](new _0x14e616['MergeOperation'](_0x330dfe,Number['NEGATIVE_INFINITY'],_0x4fb20f,_0x4f1429,_0x3c91f2++));break;}case'marker':case'markedRemove':{let _0x5c097c=null;_0x2e13cb['range']&&(_0x5c097c=new _0x14e616['ModelRange'](this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['range']['start']),this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['range']['end'])));const _0x377c74='marker'==_0x2e13cb['type']?_0x2e13cb['name']:'$markedRemove:'+(0x0,_0x14e616['uid'])();_0x43f454['push'](new _0x14e616['MarkerOperation'](_0x377c74,null,_0x5c097c,_0x418fae['model']['markers'],!0x0,_0x3c91f2++));break;}case'unwrap':{const _0x560fba=_0x2e13cb['path']['slice']();_0x560fba['push'](0x0);const _0x3dbdf3=_0x2e13cb['path']['slice'](),_0x4a76cc=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x560fba),_0x36f34e=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x3dbdf3),_0x31f0e4=new _0x14e616['ModelPosition'](_0x418fae['graveyard'],[0x0]);_0x43f454['push'](new _0x14e616['MoveOperation'](_0x4a76cc,_0x2e13cb['howMany'],_0x36f34e,_0x3c91f2++)),_0x43f454['push'](new _0x14e616['MoveOperation'](_0x36f34e['getShiftedBy'](_0x2e13cb['howMany']),0x1,_0x31f0e4,_0x3c91f2++));break;}case'wrap':{const _0x1fc5cb=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['range']['start']),_0x41c2d5=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2e13cb['range']['end']),_0xa038d6=_0x2e13cb['token']['element']['_clone'](!0x1);_0xa038d6['_removeAttribute'](_0x578078);const _0x2c213c=_0x2e13cb['range']['end']['slice']();_0x2c213c['push'](0x0);const _0x935b19=this['_getPositionFromAnchorAndPath'](this['_anchor'],_0x2c213c);_0x43f454['push'](new _0x14e616['InsertOperation'](_0x41c2d5,_0xa038d6,_0x3c91f2++)),_0x43f454['push'](new _0x14e616['MoveOperation'](_0x1fc5cb,_0x41c2d5['offset']-_0x1fc5cb['offset'],_0x935b19,_0x3c91f2++));break;}}return _0x43f454;}['_tokenizeModel'](_0x24efc7){const _0x28c1f6=[],_0x3b3c44=new _0x14e616['ModelTreeWalker']({'boundaries':_0x14e616['ModelRange']['_createIn'](_0x24efc7)});let _0x2a953e='',_0xe08be5=null;const _0x20cb51=[''],_0x382750=new Map();for(const _0x19c2ab of _0x3b3c44)if('elementStart'==_0x19c2ab['type']||'elementEnd'==_0x19c2ab['type']){let _0x1b3e4a=_0x20cb51[0x0];''!==_0x2a953e&&(_0x28c1f6['push'](...this['_makeTokensFromTextByWords'](_0x2a953e,_0xe08be5,_0x1b3e4a)),_0x2a953e='');const _0x573935=_0x19c2ab['item'];let _0x3dc2b8;_0x573935['getAttribute']('$elementId')?_0x3dc2b8=_0x573935['getAttribute'](_0x578078):'elementStart'==_0x19c2ab['type']?(_0x3dc2b8=_0x490443(_0x573935),_0x382750['set'](_0x573935,_0x3dc2b8)):_0x3dc2b8=_0x382750['get'](_0x573935);const _0x4f2281=this['_getElementCategory'](_0x573935);'solid'==_0x4f2281&&('elementStart'==_0x19c2ab['type']?(_0x1b3e4a=_0x3dc2b8,_0x20cb51['unshift'](_0x1b3e4a)):_0x20cb51['shift']());const _0x19f77c={'type':'element','element':_0x573935,'elementId':_0x3dc2b8,'category':_0x4f2281,'isStart':'elementStart'==_0x19c2ab['type'],'limitId':_0x1b3e4a};_0x28c1f6['push'](_0x19f77c);}else''==_0x2a953e&&(_0xe08be5=_0x19c2ab['previousPosition']['clone']()),_0x2a953e+=_0x19c2ab['item']['data'];return''!==_0x2a953e&&_0x28c1f6['push'](...this['_makeTokensFromTextByWords'](_0x2a953e,_0xe08be5,_0x20cb51[0x0])),_0x28c1f6;}['_makeTokensFromTextByWords'](_0x24950a,_0x1e11a6,_0x4011c7){const _0x59e2b5=_0x24950a['matchAll'](/(\s)/g),_0x5a1fd7=Array['from'](_0x59e2b5)['map'](_0x10de80=>_0x10de80['index']);_0x5a1fd7['push'](_0x24950a['length']),0x0==_0x5a1fd7[0x0]&&_0x5a1fd7['shift']();const _0x534c7e=[],_0x418fd1=_0x1e11a6['parent'];let _0x5a4c55=0x0,_0x57d130=_0x1e11a6['offset'];for(let _0x25a7d0=0x0;_0x25a7d0<_0x5a1fd7['length'];_0x25a7d0++)_0x534c7e['push']({'type':'text','data':_0x24950a['slice'](_0x5a4c55,_0x5a1fd7[_0x25a7d0]),'parent':_0x418fd1,'offset':_0x57d130,'limitId':_0x4011c7}),_0x5a4c55=_0x5a1fd7[_0x25a7d0],_0x57d130=_0x1e11a6['offset']+_0x5a1fd7[_0x25a7d0];return _0x534c7e;}['_getElementCategory'](_0x3c9023){const _0x298af4=this['_editor']['model']['schema'];return _0x298af4['isLimit'](_0x3c9023)||_0x298af4['isContent'](_0x3c9023)||_0x298af4['isInline'](_0x3c9023)?'solid':_0x298af4['isBlock'](_0x3c9023)?'block':function(_0x293878,_0x179ddb){const _0x4e3025=_0x293878['parent'];if(!_0x4e3025||_0x4e3025['is']('documentFragment'))return!0x1;if(_0x179ddb['checkChild'](_0x4e3025,'$text'))return!0x1;for(const _0x35dcfa of _0x293878['getChildren']())if(_0x35dcfa['is']('$text'))return!0x0;return!0x1;}(_0x3c9023,_0x298af4)?'solid':'container';}['_diffModelTokens'](_0x25ebce,_0x248e3e){const _0x4e75ec=_0x3d2865(_0x25ebce,_0x248e3e,{'comparator':_0x28f560});this['_handleUnclosedBlockOpeningTags'](_0x4e75ec);const _0x4afe2c=_0x4e75ec['flatMap'](_0x13f542=>{const _0x4f0c33=_0x13f542['added']?'added':_0x13f542['removed']?'removed':'unchanged';return _0x13f542['value']['map'](_0x18c037=>({'token':_0x18c037,'change':_0x4f0c33}));});let _0x4f24bf=0x0;for(const _0x165a28 of _0x4afe2c)'added'!=_0x165a28['change']&&('unchanged'==_0x165a28['change']&&(_0x165a28['before']=_0x25ebce[_0x4f24bf]),_0x4f24bf++);return _0x4afe2c;}['_handleUnclosedBlockOpeningTags'](_0x219847){for(let _0x3636e0=0x0;_0x3636e0<_0x219847['length']-0x1;_0x3636e0++)if(_0x219847[_0x3636e0]['removed']&&_0x219847[_0x3636e0+0x1]['added']){const _0x4f7611=this['_findUnclosedBlockOpeningToken'](_0x219847[_0x3636e0]['value']);if(null!==_0x4f7611){const _0x1bcacb=this['_findUnclosedBlockOpeningToken'](_0x219847[_0x3636e0+0x1]['value']),_0x2d18a1=_0x219847[_0x3636e0]['value']['splice'](_0x4f7611),_0x2c098c=_0x219847[_0x3636e0+0x1]['value']['splice'](_0x1bcacb),_0x5acc7e=[_0x2c098c['shift']()];_0x2d18a1['shift']();const _0xfcd0af={'value':_0x2d18a1,'removed':!0x0},_0x1dc707={'value':_0x2c098c,'added':!0x0},_0x19052a={'value':_0x5acc7e};_0x219847['splice'](_0x3636e0+0x2,0x0,_0x19052a,_0xfcd0af,_0x1dc707);}}}['_findUnclosedBlockOpeningToken'](_0xc7ab2a){let _0x4a7966=0x0,_0x51e6f6=-0x1;for(let _0x565fee=0x0;_0x565fee<_0xc7ab2a['length'];_0x565fee++){const _0x3054d6=_0xc7ab2a[_0x565fee];'element'==_0x3054d6['type']&&'block'==_0x3054d6['category']&&(_0x4a7966+=_0x3054d6['isStart']?0x1:-0x1,_0x3054d6['isStart']&&(_0x51e6f6=_0x565fee));}return 0x0===_0x4a7966?null:_0x51e6f6;}['_calculateOperationsData'](){this['_handleUnwraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x41576b=0x0;_0x41576b<this['_diffItems']['length'];_0x41576b++){const _0x5aaa91=this['_diffItems'][_0x41576b]['change'],_0x4c4c6e=[];_0x4c4c6e['push'](this['_diffItems'][_0x41576b]);let _0x10e866=_0x41576b+0x1;for(;this['_diffItems'][_0x10e866]&&this['_diffItems'][_0x10e866]['change']==_0x5aaa91;)_0x4c4c6e['push'](this['_diffItems'][_0x10e866]),_0x10e866++,_0x41576b++;const _0x3a3c15=_0x4c4c6e['map'](_0x26b59b=>_0x26b59b['token']);if('unchanged'==_0x5aaa91)_0x4c4c6e['map'](_0x3a2cbb=>_0x3a2cbb['before'])['forEach'](_0x36de1d=>this['_traverseOverItem'](_0x36de1d));else{if('removed'==_0x5aaa91){if(this['_markDeletions']){const _0x679d9a=this['_path']['slice']();_0x3a3c15['forEach'](_0xabc20a=>this['_traverseOverItem'](_0xabc20a));const _0x9ab9c3=this['_path']['slice']();this['_operationsData']['push']({'type':'markedRemove','range':{'start':_0x679d9a,'end':_0x9ab9c3}});}else this['_handleChanged'](_0x3a3c15,!0x0,this['_path']['slice']());}else{const _0x765f3e=_0x3a3c15['filter'](_0x469097=>'element'!=_0x469097['type']||'container'!=_0x469097['category']);this['_handleChanged'](_0x765f3e,!0x1,this['_path']);}}}this['_handleWraps'](),this['_path']=[0x0],this['_parents']=[];for(let _0x10b9ba=0x0;_0x10b9ba<this['_diffItems']['length'];_0x10b9ba++){const _0x24eac4=this['_diffItems'][_0x10b9ba]['change'],_0x4420f5=[];_0x4420f5['push'](this['_diffItems'][_0x10b9ba]);let _0x10d430=_0x10b9ba+0x1;for(;this['_diffItems'][_0x10d430]&&this['_diffItems'][_0x10d430]['change']==_0x24eac4;)_0x4420f5['push'](this['_diffItems'][_0x10d430]),_0x10d430++,_0x10b9ba++;const _0x1f77ac=_0x4420f5['map'](_0x376537=>_0x376537['token']);if('unchanged'==_0x24eac4){const _0x222b39=_0x4420f5['map'](_0x3b408e=>_0x3b408e['before']);this['_handleUnchanged'](_0x222b39,_0x1f77ac);}else('added'==_0x24eac4||this['_markDeletions'])&&_0x1f77ac['forEach'](_0x205e9e=>{'element'==_0x205e9e['type']&&_0x205e9e['isStart']&&this['_splitPostponedData']['has'](_0x205e9e['element'])&&this['_handleSplitPostponedData'](_0x205e9e['element'],this['_path']),this['_traverseOverItem'](_0x205e9e);});}}['_handleSplitPostponedData'](_0x38a6de,_0x215742){const _0x11c314=this['_splitPostponedData']['get'](_0x38a6de);for(const _0xbbfc24 of _0x11c314)'rename'==_0xbbfc24['type']?this['_operationsData']['push']({'type':'rename','path':_0x215742['slice'](),'oldName':_0xbbfc24['oldValue'],'newName':_0x38a6de['name']}):this['_operationsData']['push']({'type':'attribute','path':_0x215742['slice'](),'howMany':0x1,'key':_0xbbfc24['key'],'oldValue':_0xbbfc24['oldValue'],'newValue':JSON['stringify'](_0x38a6de['getAttribute'](_0xbbfc24['key'])??null)});}['_calculateMarkersOperationsData'](_0x26edf5,_0x3a920b){const _0x813a60={};for(const [_0x1fd1ae]of _0x26edf5)_0x813a60[_0x1fd1ae]=null;for(const [_0x2458b6,_0x19d16c]of _0x3a920b)_0x813a60[_0x2458b6]=_0x19d16c;const _0x641e89=Object['entries'](_0x813a60)['map'](([_0x14f701,_0x14884e])=>({'type':'marker','name':_0x14f701,'range':_0x14884e?{'start':_0x14884e['start']['path']['slice'](),'end':_0x14884e['end']['path']['slice']()}:null}));this['_operationsData']['push'](..._0x641e89);}['_handleUnwraps'](){const _0x53e0cc=new Map(),_0x5df9e5=[],_0xc133ca=[0x0];let _0x266c5b=this['_diffItems']['length']+0x1;for(let _0x37627c=this['_diffItems']['length']-0x1;_0x37627c>=0x0;_0x37627c--){const {token:_0x39969f,before:_0x127d8a,change:_0x49cd80}=this['_diffItems'][_0x37627c];if('removed'!=_0x49cd80&&(_0x266c5b=_0x37627c),'element'!=_0x39969f['type']||'container'!=_0x39969f['category']||'added'==_0x49cd80)continue;const _0x4f1007=_0x127d8a?_0x127d8a['element']:_0x39969f['element'];if(_0x39969f['isStart']){const _0x14214f=_0x53e0cc['get'](_0x4f1007),_0x2e038b=this['_diffItems'][_0x14214f];('removed'==_0x49cd80||'removed'==_0x2e038b['change'])&&_0x266c5b<_0x14214f&&(this['_operationsData']['push']({'type':'unwrap','path':_0x4f1007['getPath'](),'howMany':_0x4f1007['maxOffset']+_0xc133ca[0x0]}),_0xc133ca['shift'](),_0xc133ca[0x0]+=_0x4f1007['maxOffset']-0x1,_0x5df9e5['push'](_0x37627c),_0x5df9e5['push'](_0x14214f));}else _0x53e0cc['set'](_0x4f1007,_0x37627c),_0xc133ca['unshift'](0x0);}_0x5df9e5['sort']((_0x5e68bc,_0x2ef8ec)=>_0x2ef8ec-_0x5e68bc),_0x5df9e5['forEach'](_0x4eca8c=>{const _0x5a42aa=this['_diffItems'][_0x4eca8c];'removed'==_0x5a42aa['change']?this['_diffItems']['splice'](_0x4eca8c,0x1):(_0x5a42aa['change']='added',delete _0x5a42aa['before']);});}['_handleWraps'](){this['_path']=[0x0],this['_parents']=[];const _0x24e230=[];for(let _0x30e194=0x0;_0x30e194<this['_diffItems']['length'];_0x30e194++){const {change:_0x1bf65f,token:_0x147f33}=this['_diffItems'][_0x30e194];if('added'==_0x1bf65f&&'element'==_0x147f33['type']&&'container'==_0x147f33['category']){if(_0x147f33['isStart'])_0x24e230['push'](this['_path']['slice']());else{if(!_0x147f33['isStart']){const _0x899f04=_0x24e230['pop']();this['_operationsData']['push']({'type':'wrap','range':{'start':_0x899f04,'end':this['_path']['slice']()},'token':_0x147f33}),this['_path'][this['_path']['length']-0x1]=_0x899f04[this['_path']['length']-0x1]+0x1;}}}else('removed'!=_0x1bf65f||this['_markDeletions'])&&this['_traverseOverItem'](_0x147f33);}}['_handleUnchanged'](_0x559924,_0x23dc34){for(let _0x318a0c=0x0;_0x318a0c<_0x559924['length'];_0x318a0c++){const _0x242138=_0x559924[_0x318a0c];if('element'==_0x242138['type']&&_0x242138['isStart']){const _0x3feaa8=_0x23dc34[_0x318a0c];'block'==_0x242138['category']&&this['_handleElementRename'](_0x242138['element'],_0x3feaa8['element'],this['_path']),this['_handleElementAttributeChanges'](_0x242138['element'],_0x3feaa8['element'],this['_path']),this['_path']['push'](0x0),this['_parents']['push'](_0x3feaa8);}else{if('element'!=_0x242138['type']||_0x242138['isStart']){if('text'==_0x242138['type']){const _0x5ad209=this['_path']['slice'](),_0x599577=[],_0x23faf3=[];for(;_0x559924[_0x318a0c]&&'text'==_0x559924[_0x318a0c]['type'];)_0x599577['push'](_0x559924[_0x318a0c]),_0x23faf3['push'](_0x23dc34[_0x318a0c]),this['_path'][this['_path']['length']-0x1]+=_0x559924[_0x318a0c]['data']['length'],_0x318a0c++;_0x318a0c--,this['_handleTextAttributeChanges'](_0x599577,_0x23faf3,_0x5ad209);}}else this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']();}}}['_handleChanged'](_0x4220c7,_0x315e69,_0x581a9a){const _0xabc073=[],_0x3dc3c9=[],_0x14de25=_0x581a9a['slice']();let _0x3da410=this['_parents']['length']-0x1;for(let _0x3c51af=0x0;_0x3c51af<_0x4220c7['length'];_0x3c51af++){const _0x35d4ec=_0x4220c7[_0x3c51af],_0x2b6f97=_0x581a9a['slice']();'element'!=_0x35d4ec['type']||_0x35d4ec['isStart']?'element'==_0x35d4ec['type']&&_0x35d4ec['isStart']?(_0x581a9a['push'](0x0),_0x3da410++,_0x3dc3c9['push']({'before':_0x2b6f97,'after':_0x581a9a['slice'](),'index':_0x3c51af})):_0x581a9a[_0x581a9a['length']-0x1]+=_0x35d4ec['data']['length']:(_0x581a9a['pop'](),_0x581a9a[_0x581a9a['length']-0x1]++,_0x3da410--,_0x3dc3c9['length']?_0x3dc3c9['pop']():_0xabc073['push']({'before':_0x2b6f97,'after':_0x581a9a['slice'](),'index':_0x3c51af}));}if(_0x3dc3c9['length']!==_0xabc073['length'])throw new _0x14e616['CKEditorError']('model-diff-incorrect-matching-and-closing-tags',null,{'tokens':_0x4220c7,'isRemove':_0x315e69});const _0x258291=[{'after':_0x14de25['slice'](),'index':-0x1},..._0xabc073,..._0x3dc3c9,{'before':_0x581a9a['slice'](),'index':_0x4220c7['length']}];if(_0x315e69){for(let _0x3bab8e=_0x258291['length']-0x1;_0x3bab8e>=0x1;_0x3bab8e--){const _0x5a67a6=_0x258291[_0x3bab8e-0x1]['after'],_0x6f541=_0x258291[_0x3bab8e]['before'],_0x5a868f=_0x6f541[_0x6f541['length']-0x1]-_0x5a67a6[_0x5a67a6['length']-0x1];_0x5a868f&&(this['_operationsData']['push']({'type':'remove','path':_0x5a67a6,'howMany':_0x5a868f}),_0x6f541[_0x6f541['length']-0x1]-=_0x5a868f);}for(const {before:_0x189f44}of _0xabc073)this['_operationsData']['push']({'type':'merge','path':_0x189f44});}else for(let _0x439ba9=0x0;_0x439ba9<_0x258291['length']-0x1;_0x439ba9++){const _0x223820=_0x258291[_0x439ba9]['after'],_0xf9328d=_0x258291[_0x439ba9+0x1]['before'],_0x11797e=_0x258291[_0x439ba9]['index']+0x1,_0x7c4f71=_0x258291[_0x439ba9+0x1]['index'];if(_0x11797e!==_0x7c4f71&&this['_operationsData']['push']({'type':'insert','path':_0x223820,'tokens':_0x4220c7['slice'](_0x11797e,_0x7c4f71)}),_0x439ba9<_0xabc073['length']){this['_operationsData']['push']({'type':'split','path':_0xf9328d});const _0x1a852e=_0x4220c7[_0x3dc3c9[_0x3dc3c9['length']-0x1-_0x439ba9]['index']],_0x246835=this['_parents'][_0x3da410]['element'];_0x246835['name']!=_0x1a852e['element']['name']&&this['_addSplitPostponedData'](_0x1a852e['element'],{'type':'rename','oldValue':_0x246835['name']});const _0x2bae1b=this['_getAttributeChanges'](_0x246835['getAttributes'](),_0x1a852e['element']['getAttributes']());for(const _0x2b7cda in _0x2bae1b){const _0x4bf435=_0x2bae1b[_0x2b7cda]['oldValue'];this['_addSplitPostponedData'](_0x1a852e['element'],{'type':'attribute','key':_0x2b7cda,'oldValue':_0x4bf435});}}}}['_addSplitPostponedData'](_0x3a4207,_0x225210){const _0x2d1e25=this['_splitPostponedData']['get'](_0x3a4207)||[];_0x2d1e25['push'](_0x225210),this['_splitPostponedData']['set'](_0x3a4207,_0x2d1e25);}['_traverseOverItem'](_0x2c540e){'element'==_0x2c540e['type']&&_0x2c540e['isStart']?(this['_path']['push'](0x0),this['_parents']['push'](_0x2c540e)):'element'!=_0x2c540e['type']||_0x2c540e['isStart']?'text'==_0x2c540e['type']&&(this['_path'][this['_path']['length']-0x1]+=_0x2c540e['data']['length']):(this['_path']['pop'](),this['_path'][this['_path']['length']-0x1]++,this['_parents']['pop']());}['_handleElementRename'](_0x5b7171,_0x454c6c,_0x27b890){_0x5b7171['name']!=_0x454c6c['name']&&this['_operationsData']['push']({'type':'rename','path':_0x27b890['slice'](),'oldName':_0x5b7171['name'],'newName':_0x454c6c['name']});}['_handleElementAttributeChanges'](_0x248be3,_0x12011f,_0x35dcc7){const _0x2c4669=this['_getAttributeChanges'](_0x248be3['getAttributes'](),_0x12011f['getAttributes']());for(const _0x4d41e7 in _0x2c4669){const {oldValue:_0x4d7549,newValue:_0x52b3f5}=_0x2c4669[_0x4d41e7];this['_operationsData']['push']({'type':'attribute','path':_0x35dcc7['slice'](),'howMany':0x1,'key':_0x4d41e7,'oldValue':_0x4d7549,'newValue':_0x52b3f5});}}['_handleTextAttributeChanges'](_0x353122,_0x490ffe,_0xdcd702){const _0x1adce2=this['_operationsData'],_0x3eccad=_0x353122[0x0]['parent'],_0x22edc0=_0x353122[0x0]['offset'],_0x122ddf=_0x490ffe[0x0]['parent'],_0x535560=_0x490ffe[0x0]['offset'],_0x321a69=_0x353122['reduce']((_0x2eb046,_0x453c65)=>_0x2eb046+_0x453c65['data']['length'],0x0),_0xe201a3=this['_getAttrsForOffsets'](_0x3eccad,_0x22edc0,_0x321a69),_0x52ea19=this['_getAttrsForOffsets'](_0x122ddf,_0x535560,_0x321a69),_0x57fcf3={};for(let _0x35c9ca=0x0;_0x35c9ca<_0x321a69;_0x35c9ca++){const _0x31f307=_0xe201a3[_0x22edc0+_0x35c9ca],_0xb3667=_0x52ea19[_0x535560+_0x35c9ca],_0x1ddf5b=this['_getAttributeChanges'](_0x31f307,_0xb3667);for(const _0x419656 in _0x57fcf3)_0x1ddf5b[_0x419656]||_0x5308f0(_0x419656);for(const _0x65f209 in _0x1ddf5b){const {oldValue:_0x2deab4,newValue:_0x2b4cfd}=_0x1ddf5b[_0x65f209],_0x916d56=_0x57fcf3[_0x65f209];_0x916d56?_0x916d56['oldValue']==_0x2deab4&&_0x916d56['newValue']==_0x2b4cfd?_0x916d56['length']++:(_0x5308f0(_0x65f209),_0x57fcf3[_0x65f209]={'oldValue':_0x2deab4,'newValue':_0x2b4cfd,'start':_0x35c9ca,'length':0x1}):_0x57fcf3[_0x65f209]={'oldValue':_0x2deab4,'newValue':_0x2b4cfd,'start':_0x35c9ca,'length':0x1};}}for(const _0x42de6e in _0x57fcf3)_0x5308f0(_0x42de6e);function _0x5308f0(_0x3e05ec){const _0x35d981=_0x57fcf3[_0x3e05ec],_0x184513=_0xdcd702['slice']();_0x184513[_0x184513['length']-0x1]+=_0x35d981['start'],_0x1adce2['push']({'type':'attribute','path':_0x184513,'howMany':_0x35d981['length'],'key':_0x3e05ec,'oldValue':_0x35d981['oldValue'],'newValue':_0x35d981['newValue']}),delete _0x57fcf3[_0x3e05ec];}}['_getAttributeChanges'](_0x234f28,_0x18e5e3){const _0x33ba8e={};for(const [_0x517864,_0x1f77db]of _0x234f28)_0x33ba8e[_0x517864]={'oldValue':JSON['stringify'](_0x1f77db),'newValue':'null'};for(const [_0x5abcbd,_0x3a3dcc]of _0x18e5e3){const _0xc33fbd=JSON['stringify'](_0x3a3dcc);_0x33ba8e[_0x5abcbd]?_0x33ba8e[_0x5abcbd]['oldValue']==_0xc33fbd?delete _0x33ba8e[_0x5abcbd]:_0x33ba8e[_0x5abcbd]['newValue']=_0xc33fbd:_0x33ba8e[_0x5abcbd]={'oldValue':'null','newValue':_0xc33fbd};}return delete _0x33ba8e[_0x578078],_0x33ba8e;}['_getAttrsForOffsets'](_0x34e560,_0xf1b5bc,_0x4cf6ea){const _0x3cb651=new Array(_0xf1b5bc+_0x4cf6ea);let _0x42919f=_0x34e560['getChildAtOffset'](_0xf1b5bc),_0x407ca0=_0x42919f['startOffset'];for(;_0x42919f&&_0x407ca0<_0xf1b5bc+_0x4cf6ea;){const _0x2147c0=Array['from'](_0x42919f['getAttributes']());_0x3cb651['fill'](_0x2147c0,_0x407ca0,_0x407ca0+_0x42919f['offsetSize']),_0x407ca0+=_0x42919f['offsetSize'],_0x42919f=_0x42919f['nextSibling'];}return _0x3cb651;}['_getPositionFromAnchorAndPath'](_0x36943d,_0x4a71ab){const _0x4af7db=[..._0x36943d['path']['slice'](0x0,-0x1),_0x36943d['offset']+_0x4a71ab[0x0],..._0x4a71ab['slice'](0x1)];return new _0x14e616['ModelPosition'](_0x36943d['root'],_0x4af7db);}['_makeModelFromTokens'](_0xa64680){const _0x1b82cf=[];let _0x3e7aed=null;for(const _0x2da1f9 of _0xa64680)if('element'!=_0x2da1f9['type']||_0x2da1f9['isStart']||_0x3e7aed!=_0x2da1f9['element']){if(!_0x3e7aed){if('text'==_0x2da1f9['type']){const _0x1d8376=_0x14e616['ModelPosition']['_createAt'](_0x2da1f9['parent'],_0x2da1f9['offset']),_0x522107=_0x14e616['ModelRange']['_createFromPositionAndShift'](_0x1d8376,_0x2da1f9['data']['length']),_0x1cee01=Array['from'](_0x522107['getItems']())['map'](_0x5a3aed=>new _0x14e616['ModelText'](_0x5a3aed['data'],_0x5a3aed['getAttributes']()));_0x1b82cf['push'](..._0x1cee01);}else{_0x3e7aed=_0x2da1f9['element'];const _0x3f5cc4=_0x2da1f9['element']['_clone'](!0x0);_0x3f5cc4['_removeAttribute'](_0x578078);for(const _0x2d0407 of this['_editor']['model']['createRangeIn'](_0x3f5cc4)['getItems']())_0x2d0407['is']('element')&&_0x2d0407['_removeAttribute'](_0x578078);_0x1b82cf['push'](_0x3f5cc4);}}}else _0x3e7aed=null;return _0x1b82cf;}};function _0x28f560(_0x2cdbd0,_0x6bf33e){return _0x2cdbd0['type']===_0x6bf33e['type']&&(_0x2cdbd0['limitId']===_0x6bf33e['limitId']&&('text'==_0x2cdbd0['type']?_0x2cdbd0['data']==_0x6bf33e['data']:function(_0x20edff,_0x4ecbe6){if(_0x20edff['isStart']!=_0x4ecbe6['isStart'])return!0x1;if(_0x20edff['isStart']&&_0x20edff['elementId']!=_0x4ecbe6['elementId'])return!0x1;if(_0x20edff['category']!=_0x4ecbe6['category'])return!0x1;if('block'==_0x20edff['category'])return!0x0;if('container'==_0x20edff['category']&&_0x20edff['elementId']!=_0x4ecbe6['elementId'])return!0x1;return _0x20edff['element']['name']==_0x4ecbe6['element']['name'];}(_0x2cdbd0,_0x6bf33e)));}function _0x490443(_0x588e75){return _0x170940({'name':_0x588e75['name'],...Object['fromEntries'](_0x588e75['getAttributes']())});}const _0x4e6024=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\x00\x00\x00\x00\x00\x00ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\x5cbfms\x7f\u0084\u008b\u0090\u0095\u0098¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp\u009d¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTǇǋǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\x00\x00\x00͔͂\x00Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\x00\x00ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\x00\x00ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\x00ц\x00ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\x00ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\x00\x00ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\x00\x00֣mallSquare;旼erySmallSquare;斪Ͱֺ\x00ֿ\x00\x00ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\x00ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\x00ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\x00ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\x00ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\x00ࣃbleBracket;柦nǔࣈ\x00࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻\x22䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\x00စbleBracket;柧nǔည\x00နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\x00\x00ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\x00ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀\u205f\u200aSpace;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\x00ጬጱ\x00\x00\x00\x00\x00ጸጽ፷ᎅ\x00᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\x00጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\x00ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\x00ᖰᖶᖿ\x00\x00\x00\x00ᗆᗛᗫᙟ᙭\x00ᚕ᚛ᚲᚹ\x00ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\x00\x00ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\x00\x00ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\x00ᠳƲᠯ\x00ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\x00᧨ᨑᨕᨲ\x00ᨷᩐ\x00\x00᪴\x00\x00᫁\x00\x00ᬡᬮ᭍᭒\x00᯽\x00ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\x00᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\x00\x00᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\x00ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\x00\x00᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\x00ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\x00\x00᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\x00\x00ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\x00\x00ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\x00\x00ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤĳạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\x00\x00ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\x00ᾞ\x00ᾡᾧ\x00\x00ῆῌ\x00ΐ\x00ῦῪ\u2000\x00\u2008⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ﬃɩᾹ\x00\x00᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\x00ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\x00⁐β•‥‧‪‬\x00‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\x00‶;慔;慖ʴ‾⁁\x00\x00⁃耻¾䂾;慗;慜5;慘ƶ⁌\x00⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\x00↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\x00⊪\x00⊸⋅⋎\x00⋕⋳\x00\x00⋸⌢⍧⍢⍿\x00⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\x00⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\x00⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\x00⒪\x00⒱\x00\x00\x00\x00\x00⒵Ⓔ\x00ⓆⓈⓍ\x00⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\x00⧣p肻\u00a0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\x00⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\x00\x00⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00ⴭ\x00ⴸⵈⵠⵥ⵲ⶄᬇ\x00\x00ⶍⶫ\x00ⷈⷎ\x00ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\x00\x00⵼\x00ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\x00⹽\x00⺀⺝\x00⺢⺹\x00\x00⻋ຜ\x00⼓\x00\x00⼫⾼\x00⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\x00\x00⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\x00㍺㎤\x00\x00㏬㏰\x00㐨㑈㑚㒭㒱㓊㓱\x00㘖\x00\x00㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\x00㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\x00\x00㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\x00㙾㛂\x00\x00\x00\x00\x00㛛㜃\x00㜉㝬\x00\x00\x00㞇ɲ㙖\x00\x00㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\x00㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\x00㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\x00\x00㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\x00\x00㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\x00㪋\x00㪐㪛\x00\x00㪝㪨㪫㪯\x00\x00㫃㫎\x00㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'['split']('')['map'](_0x244daa=>_0x244daa['charCodeAt'](0x0))),_0x140f62=new Uint16Array('Ȁaglq\x09\x15\x18\x1bɭ\x0f\x00\x00\x12p;䀦os;䀧t;䀾t;䀼uot;䀢'['split']('')['map'](_0x4321d1=>_0x4321d1['charCodeAt'](0x0)));var _0x2b5369;const _0x1114ec=new Map([[0x0,0xfffd],[0x80,0x20ac],[0x82,0x201a],[0x83,0x192],[0x84,0x201e],[0x85,0x2026],[0x86,0x2020],[0x87,0x2021],[0x88,0x2c6],[0x89,0x2030],[0x8a,0x160],[0x8b,0x2039],[0x8c,0x152],[0x8e,0x17d],[0x91,0x2018],[0x92,0x2019],[0x93,0x201c],[0x94,0x201d],[0x95,0x2022],[0x96,0x2013],[0x97,0x2014],[0x98,0x2dc],[0x99,0x2122],[0x9a,0x161],[0x9b,0x203a],[0x9c,0x153],[0x9e,0x17e],[0x9f,0x178]]),_0x5e158b=null!==(_0x2b5369=String['fromCodePoint'])&&void 0x0!==_0x2b5369?_0x2b5369:function(_0x49da40){let _0x4deaaf='';return _0x49da40>0xffff&&(_0x49da40-=0x10000,_0x4deaaf+=String['fromCharCode'](_0x49da40>>>0xa&0x3ff|0xd800),_0x49da40=0xdc00|0x3ff&_0x49da40),_0x4deaaf+=String['fromCharCode'](_0x49da40),_0x4deaaf;};var _0x34abf3;!function(_0x12d7b0){_0x12d7b0[_0x12d7b0['NUM']=0x23]='NUM',_0x12d7b0[_0x12d7b0['SEMI']=0x3b]='SEMI',_0x12d7b0[_0x12d7b0['EQUALS']=0x3d]='EQUALS',_0x12d7b0[_0x12d7b0['ZERO']=0x30]='ZERO',_0x12d7b0[_0x12d7b0['NINE']=0x39]='NINE',_0x12d7b0[_0x12d7b0['LOWER_A']=0x61]='LOWER_A',_0x12d7b0[_0x12d7b0['LOWER_F']=0x66]='LOWER_F',_0x12d7b0[_0x12d7b0['LOWER_X']=0x78]='LOWER_X',_0x12d7b0[_0x12d7b0['LOWER_Z']=0x7a]='LOWER_Z',_0x12d7b0[_0x12d7b0['UPPER_A']=0x41]='UPPER_A',_0x12d7b0[_0x12d7b0['UPPER_F']=0x46]='UPPER_F',_0x12d7b0[_0x12d7b0['UPPER_Z']=0x5a]='UPPER_Z';}(_0x34abf3||(_0x34abf3={}));var _0x1f7f5d,_0x1fd3b4,_0x1b6182;function _0x14f106(_0x2c2449){return _0x2c2449>=_0x34abf3['ZERO']&&_0x2c2449<=_0x34abf3['NINE'];}function _0x530aef(_0xf17b1f){return _0xf17b1f>=_0x34abf3['UPPER_A']&&_0xf17b1f<=_0x34abf3['UPPER_F']||_0xf17b1f>=_0x34abf3['LOWER_A']&&_0xf17b1f<=_0x34abf3['LOWER_F'];}function _0x50b2c7(_0x5859df){return _0x5859df===_0x34abf3['EQUALS']||function(_0x3732ab){return _0x3732ab>=_0x34abf3['UPPER_A']&&_0x3732ab<=_0x34abf3['UPPER_Z']||_0x3732ab>=_0x34abf3['LOWER_A']&&_0x3732ab<=_0x34abf3['LOWER_Z']||_0x14f106(_0x3732ab);}(_0x5859df);}!function(_0x28d52a){_0x28d52a[_0x28d52a['VALUE_LENGTH']=0xc000]='VALUE_LENGTH',_0x28d52a[_0x28d52a['BRANCH_LENGTH']=0x3f80]='BRANCH_LENGTH',_0x28d52a[_0x28d52a['JUMP_TABLE']=0x7f]='JUMP_TABLE';}(_0x1f7f5d||(_0x1f7f5d={})),function(_0x119364){_0x119364[_0x119364['EntityStart']=0x0]='EntityStart',_0x119364[_0x119364['NumericStart']=0x1]='NumericStart',_0x119364[_0x119364['NumericDecimal']=0x2]='NumericDecimal',_0x119364[_0x119364['NumericHex']=0x3]='NumericHex',_0x119364[_0x119364['NamedEntity']=0x4]='NamedEntity';}(_0x1fd3b4||(_0x1fd3b4={})),function(_0x124e4c){_0x124e4c[_0x124e4c['Legacy']=0x0]='Legacy',_0x124e4c[_0x124e4c['Strict']=0x1]='Strict',_0x124e4c[_0x124e4c['Attribute']=0x2]='Attribute';}(_0x1b6182||(_0x1b6182={}));var _0x884086,_0x5e8b78,_0x678f05,_0x104993=class{constructor(_0x38913f,_0x14542d,_0x5376b3){this['decodeTree']=_0x38913f,this['emitCodePoint']=_0x14542d,this['errors']=_0x5376b3,this['state']=_0x1fd3b4['EntityStart'],this['consumed']=0x1,this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['decodeMode']=_0x1b6182['Strict'];}['startEntity'](_0x3c0d86){this['decodeMode']=_0x3c0d86,this['state']=_0x1fd3b4['EntityStart'],this['result']=0x0,this['treeIndex']=0x0,this['excess']=0x1,this['consumed']=0x1;}['write'](_0x453a2e,_0x5ac026){switch(this['state']){case _0x1fd3b4['EntityStart']:return _0x453a2e['charCodeAt'](_0x5ac026)===_0x34abf3['NUM']?(this['state']=_0x1fd3b4['NumericStart'],this['consumed']+=0x1,this['stateNumericStart'](_0x453a2e,_0x5ac026+0x1)):(this['state']=_0x1fd3b4['NamedEntity'],this['stateNamedEntity'](_0x453a2e,_0x5ac026));case _0x1fd3b4['NumericStart']:return this['stateNumericStart'](_0x453a2e,_0x5ac026);case _0x1fd3b4['NumericDecimal']:return this['stateNumericDecimal'](_0x453a2e,_0x5ac026);case _0x1fd3b4['NumericHex']:return this['stateNumericHex'](_0x453a2e,_0x5ac026);case _0x1fd3b4['NamedEntity']:return this['stateNamedEntity'](_0x453a2e,_0x5ac026);}}['stateNumericStart'](_0x1f81b6,_0xb6d9fd){return _0xb6d9fd>=_0x1f81b6['length']?-0x1:(0x20|_0x1f81b6['charCodeAt'](_0xb6d9fd))===_0x34abf3['LOWER_X']?(this['state']=_0x1fd3b4['NumericHex'],this['consumed']+=0x1,this['stateNumericHex'](_0x1f81b6,_0xb6d9fd+0x1)):(this['state']=_0x1fd3b4['NumericDecimal'],this['stateNumericDecimal'](_0x1f81b6,_0xb6d9fd));}['addToNumericResult'](_0xe6a80c,_0x484116,_0x55b77d,_0x2112d4){if(_0x484116!==_0x55b77d){const _0x17b8c3=_0x55b77d-_0x484116;this['result']=this['result']*Math['pow'](_0x2112d4,_0x17b8c3)+Number['parseInt'](_0xe6a80c['substr'](_0x484116,_0x17b8c3),_0x2112d4),this['consumed']+=_0x17b8c3;}}['stateNumericHex'](_0x90afc3,_0x350f2f){const _0x40b78b=_0x350f2f;for(;_0x350f2f<_0x90afc3['length'];){const _0x10e454=_0x90afc3['charCodeAt'](_0x350f2f);if(!_0x14f106(_0x10e454)&&!_0x530aef(_0x10e454))return this['addToNumericResult'](_0x90afc3,_0x40b78b,_0x350f2f,0x10),this['emitNumericEntity'](_0x10e454,0x3);_0x350f2f+=0x1;}return this['addToNumericResult'](_0x90afc3,_0x40b78b,_0x350f2f,0x10),-0x1;}['stateNumericDecimal'](_0x54d528,_0x579b85){const _0x8d1782=_0x579b85;for(;_0x579b85<_0x54d528['length'];){const _0x681bdd=_0x54d528['charCodeAt'](_0x579b85);if(!_0x14f106(_0x681bdd))return this['addToNumericResult'](_0x54d528,_0x8d1782,_0x579b85,0xa),this['emitNumericEntity'](_0x681bdd,0x2);_0x579b85+=0x1;}return this['addToNumericResult'](_0x54d528,_0x8d1782,_0x579b85,0xa),-0x1;}['emitNumericEntity'](_0x51b399,_0xc32755){var _0x412ed9;if(this['consumed']<=_0xc32755)return null===(_0x412ed9=this['errors'])||void 0x0===_0x412ed9||_0x412ed9['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;if(_0x51b399===_0x34abf3['SEMI'])this['consumed']+=0x1;else{if(this['decodeMode']===_0x1b6182['Strict'])return 0x0;}return this['emitCodePoint'](function(_0x18218c){var _0x4b8c1a;return _0x18218c>=0xd800&&_0x18218c<=0xdfff||_0x18218c>0x10ffff?0xfffd:null!==(_0x4b8c1a=_0x1114ec['get'](_0x18218c))&&void 0x0!==_0x4b8c1a?_0x4b8c1a:_0x18218c;}(this['result']),this['consumed']),this['errors']&&(_0x51b399!==_0x34abf3['SEMI']&&this['errors']['missingSemicolonAfterCharacterReference'](),this['errors']['validateNumericCharacterReference'](this['result'])),this['consumed'];}['stateNamedEntity'](_0x4662f3,_0x302a80){const {decodeTree:_0x210bc4}=this;let _0x57e629=_0x210bc4[this['treeIndex']],_0x10849f=(_0x57e629&_0x1f7f5d['VALUE_LENGTH'])>>0xe;for(;_0x302a80<_0x4662f3['length'];_0x302a80++,this['excess']++){const _0xd17796=_0x4662f3['charCodeAt'](_0x302a80);if(this['treeIndex']=_0x5783b0(_0x210bc4,_0x57e629,this['treeIndex']+Math['max'](0x1,_0x10849f),_0xd17796),this['treeIndex']<0x0)return 0x0===this['result']||this['decodeMode']===_0x1b6182['Attribute']&&(0x0===_0x10849f||_0x50b2c7(_0xd17796))?0x0:this['emitNotTerminatedNamedEntity']();if(_0x57e629=_0x210bc4[this['treeIndex']],_0x10849f=(_0x57e629&_0x1f7f5d['VALUE_LENGTH'])>>0xe,0x0!==_0x10849f){if(_0xd17796===_0x34abf3['SEMI'])return this['emitNamedEntityData'](this['treeIndex'],_0x10849f,this['consumed']+this['excess']);this['decodeMode']!==_0x1b6182['Strict']&&(this['result']=this['treeIndex'],this['consumed']+=this['excess'],this['excess']=0x0);}}return-0x1;}['emitNotTerminatedNamedEntity'](){var _0x4bc00b;const {result:_0x3abe42,decodeTree:_0x5db1a0}=this,_0x284651=(_0x5db1a0[_0x3abe42]&_0x1f7f5d['VALUE_LENGTH'])>>0xe;return this['emitNamedEntityData'](_0x3abe42,_0x284651,this['consumed']),null===(_0x4bc00b=this['errors'])||void 0x0===_0x4bc00b||_0x4bc00b['missingSemicolonAfterCharacterReference'](),this['consumed'];}['emitNamedEntityData'](_0x27f28c,_0x165b84,_0xdb29b2){const {decodeTree:_0x5e6feb}=this;return this['emitCodePoint'](0x1===_0x165b84?_0x5e6feb[_0x27f28c]&~_0x1f7f5d['VALUE_LENGTH']:_0x5e6feb[_0x27f28c+0x1],_0xdb29b2),0x3===_0x165b84&&this['emitCodePoint'](_0x5e6feb[_0x27f28c+0x2],_0xdb29b2),_0xdb29b2;}['end'](){var _0xb2ed59;switch(this['state']){case _0x1fd3b4['NamedEntity']:return 0x0===this['result']||this['decodeMode']===_0x1b6182['Attribute']&&this['result']!==this['treeIndex']?0x0:this['emitNotTerminatedNamedEntity']();case _0x1fd3b4['NumericDecimal']:return this['emitNumericEntity'](0x0,0x2);case _0x1fd3b4['NumericHex']:return this['emitNumericEntity'](0x0,0x3);case _0x1fd3b4['NumericStart']:return null===(_0xb2ed59=this['errors'])||void 0x0===_0xb2ed59||_0xb2ed59['absenceOfDigitsInNumericCharacterReference'](this['consumed']),0x0;case _0x1fd3b4['EntityStart']:return 0x0;}}};function _0x5783b0(_0x5104cf,_0x514e2f,_0x5ae8b1,_0x2f3143){const _0x10e1a4=(_0x514e2f&_0x1f7f5d['BRANCH_LENGTH'])>>0x7,_0x2ae492=_0x514e2f&_0x1f7f5d['JUMP_TABLE'];if(0x0===_0x10e1a4)return 0x0!==_0x2ae492&&_0x2f3143===_0x2ae492?_0x5ae8b1:-0x1;if(_0x2ae492){const _0x5d3902=_0x2f3143-_0x2ae492;return _0x5d3902<0x0||_0x5d3902>=_0x10e1a4?-0x1:_0x5104cf[_0x5ae8b1+_0x5d3902]-0x1;}let _0x154599=_0x5ae8b1,_0x294d37=_0x154599+_0x10e1a4-0x1;for(;_0x154599<=_0x294d37;){const _0x54d2a0=_0x154599+_0x294d37>>>0x1,_0x1e63e8=_0x5104cf[_0x54d2a0];if(_0x1e63e8<_0x2f3143)_0x154599=_0x54d2a0+0x1;else{if(!(_0x1e63e8>_0x2f3143))return _0x5104cf[_0x54d2a0+_0x10e1a4];_0x294d37=_0x54d2a0-0x1;}}return-0x1;}function _0x14baf0(_0xc6cc5d){return _0xc6cc5d===_0x884086['Space']||_0xc6cc5d===_0x884086['NewLine']||_0xc6cc5d===_0x884086['Tab']||_0xc6cc5d===_0x884086['FormFeed']||_0xc6cc5d===_0x884086['CarriageReturn'];}function _0x552763(_0x4ff158){return _0x4ff158===_0x884086['Slash']||_0x4ff158===_0x884086['Gt']||_0x14baf0(_0x4ff158);}!function(_0x1d4003){_0x1d4003[_0x1d4003['Tab']=0x9]='Tab',_0x1d4003[_0x1d4003['NewLine']=0xa]='NewLine',_0x1d4003[_0x1d4003['FormFeed']=0xc]='FormFeed',_0x1d4003[_0x1d4003['CarriageReturn']=0xd]='CarriageReturn',_0x1d4003[_0x1d4003['Space']=0x20]='Space',_0x1d4003[_0x1d4003['ExclamationMark']=0x21]='ExclamationMark',_0x1d4003[_0x1d4003['Number']=0x23]='Number',_0x1d4003[_0x1d4003['Amp']=0x26]='Amp',_0x1d4003[_0x1d4003['SingleQuote']=0x27]='SingleQuote',_0x1d4003[_0x1d4003['DoubleQuote']=0x22]='DoubleQuote',_0x1d4003[_0x1d4003['Dash']=0x2d]='Dash',_0x1d4003[_0x1d4003['Slash']=0x2f]='Slash',_0x1d4003[_0x1d4003['Zero']=0x30]='Zero',_0x1d4003[_0x1d4003['Nine']=0x39]='Nine',_0x1d4003[_0x1d4003['Semi']=0x3b]='Semi',_0x1d4003[_0x1d4003['Lt']=0x3c]='Lt',_0x1d4003[_0x1d4003['Eq']=0x3d]='Eq',_0x1d4003[_0x1d4003['Gt']=0x3e]='Gt',_0x1d4003[_0x1d4003['Questionmark']=0x3f]='Questionmark',_0x1d4003[_0x1d4003['UpperA']=0x41]='UpperA',_0x1d4003[_0x1d4003['LowerA']=0x61]='LowerA',_0x1d4003[_0x1d4003['UpperF']=0x46]='UpperF',_0x1d4003[_0x1d4003['LowerF']=0x66]='LowerF',_0x1d4003[_0x1d4003['UpperZ']=0x5a]='UpperZ',_0x1d4003[_0x1d4003['LowerZ']=0x7a]='LowerZ',_0x1d4003[_0x1d4003['LowerX']=0x78]='LowerX',_0x1d4003[_0x1d4003['OpeningSquareBracket']=0x5b]='OpeningSquareBracket';}(_0x884086||(_0x884086={})),function(_0x36fe9d){_0x36fe9d[_0x36fe9d['Text']=0x1]='Text',_0x36fe9d[_0x36fe9d['BeforeTagName']=0x2]='BeforeTagName',_0x36fe9d[_0x36fe9d['InTagName']=0x3]='InTagName',_0x36fe9d[_0x36fe9d['InSelfClosingTag']=0x4]='InSelfClosingTag',_0x36fe9d[_0x36fe9d['BeforeClosingTagName']=0x5]='BeforeClosingTagName',_0x36fe9d[_0x36fe9d['InClosingTagName']=0x6]='InClosingTagName',_0x36fe9d[_0x36fe9d['AfterClosingTagName']=0x7]='AfterClosingTagName',_0x36fe9d[_0x36fe9d['BeforeAttributeName']=0x8]='BeforeAttributeName',_0x36fe9d[_0x36fe9d['InAttributeName']=0x9]='InAttributeName',_0x36fe9d[_0x36fe9d['AfterAttributeName']=0xa]='AfterAttributeName',_0x36fe9d[_0x36fe9d['BeforeAttributeValue']=0xb]='BeforeAttributeValue',_0x36fe9d[_0x36fe9d['InAttributeValueDq']=0xc]='InAttributeValueDq',_0x36fe9d[_0x36fe9d['InAttributeValueSq']=0xd]='InAttributeValueSq',_0x36fe9d[_0x36fe9d['InAttributeValueNq']=0xe]='InAttributeValueNq',_0x36fe9d[_0x36fe9d['BeforeDeclaration']=0xf]='BeforeDeclaration',_0x36fe9d[_0x36fe9d['InDeclaration']=0x10]='InDeclaration',_0x36fe9d[_0x36fe9d['InProcessingInstruction']=0x11]='InProcessingInstruction',_0x36fe9d[_0x36fe9d['BeforeComment']=0x12]='BeforeComment',_0x36fe9d[_0x36fe9d['CDATASequence']=0x13]='CDATASequence',_0x36fe9d[_0x36fe9d['InSpecialComment']=0x14]='InSpecialComment',_0x36fe9d[_0x36fe9d['InCommentLike']=0x15]='InCommentLike',_0x36fe9d[_0x36fe9d['BeforeSpecialS']=0x16]='BeforeSpecialS',_0x36fe9d[_0x36fe9d['BeforeSpecialT']=0x17]='BeforeSpecialT',_0x36fe9d[_0x36fe9d['SpecialStartSequence']=0x18]='SpecialStartSequence',_0x36fe9d[_0x36fe9d['InSpecialTag']=0x19]='InSpecialTag',_0x36fe9d[_0x36fe9d['InEntity']=0x1a]='InEntity';}(_0x5e8b78||(_0x5e8b78={})),function(_0x26d1ac){_0x26d1ac[_0x26d1ac['NoValue']=0x0]='NoValue',_0x26d1ac[_0x26d1ac['Unquoted']=0x1]='Unquoted',_0x26d1ac[_0x26d1ac['Single']=0x2]='Single',_0x26d1ac[_0x26d1ac['Double']=0x3]='Double';}(_0x678f05||(_0x678f05={}));const _0x15b92e={'Cdata':new Uint8Array([0x43,0x44,0x41,0x54,0x41,0x5b]),'CdataEnd':new Uint8Array([0x5d,0x5d,0x3e]),'CommentEnd':new Uint8Array([0x2d,0x2d,0x3e]),'ScriptEnd':new Uint8Array([0x3c,0x2f,0x73,0x63,0x72,0x69,0x70,0x74]),'StyleEnd':new Uint8Array([0x3c,0x2f,0x73,0x74,0x79,0x6c,0x65]),'TitleEnd':new Uint8Array([0x3c,0x2f,0x74,0x69,0x74,0x6c,0x65]),'TextareaEnd':new Uint8Array([0x3c,0x2f,0x74,0x65,0x78,0x74,0x61,0x72,0x65,0x61]),'XmpEnd':new Uint8Array([0x3c,0x2f,0x78,0x6d,0x70])};var _0x4d8e86=class{constructor({xmlMode:_0x2af383=!0x1,decodeEntities:_0x298d71=!0x0},_0x95de9){this['cbs']=_0x95de9,this['state']=_0x5e8b78['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['entityStart']=0x0,this['baseState']=_0x5e8b78['Text'],this['isSpecial']=!0x1,this['running']=!0x0,this['offset']=0x0,this['currentSequence']=void 0x0,this['sequenceIndex']=0x0,this['xmlMode']=_0x2af383,this['decodeEntities']=_0x298d71,this['entityDecoder']=new _0x104993(_0x2af383?_0x140f62:_0x4e6024,(_0x1f7ab0,_0x1ff4b9)=>this['emitCodePoint'](_0x1f7ab0,_0x1ff4b9));}['reset'](){this['state']=_0x5e8b78['Text'],this['buffer']='',this['sectionStart']=0x0,this['index']=0x0,this['baseState']=_0x5e8b78['Text'],this['currentSequence']=void 0x0,this['running']=!0x0,this['offset']=0x0;}['write'](_0x312a8a){this['offset']+=this['buffer']['length'],this['buffer']=_0x312a8a,this['parse']();}['end'](){this['running']&&this['finish']();}['pause'](){this['running']=!0x1;}['resume'](){this['running']=!0x0,this['index']<this['buffer']['length']+this['offset']&&this['parse']();}['stateText'](_0x13123d){_0x13123d===_0x884086['Lt']||!this['decodeEntities']&&this['fastForwardTo'](_0x884086['Lt'])?(this['index']>this['sectionStart']&&this['cbs']['ontext'](this['sectionStart'],this['index']),this['state']=_0x5e8b78['BeforeTagName'],this['sectionStart']=this['index']):this['decodeEntities']&&_0x13123d===_0x884086['Amp']&&this['startEntity']();}['stateSpecialStartSequence'](_0x3f887f){const _0x37d857=this['sequenceIndex']===this['currentSequence']['length'];if(_0x37d857?_0x552763(_0x3f887f):(0x20|_0x3f887f)===this['currentSequence'][this['sequenceIndex']]){if(!_0x37d857)return void this['sequenceIndex']++;}else this['isSpecial']=!0x1;this['sequenceIndex']=0x0,this['state']=_0x5e8b78['InTagName'],this['stateInTagName'](_0x3f887f);}['stateInSpecialTag'](_0x47624e){if(this['sequenceIndex']===this['currentSequence']['length']){if(_0x47624e===_0x884086['Gt']||_0x14baf0(_0x47624e)){const _0x4b79b5=this['index']-this['currentSequence']['length'];if(this['sectionStart']<_0x4b79b5){const _0x1a52d1=this['index'];this['index']=_0x4b79b5,this['cbs']['ontext'](this['sectionStart'],_0x4b79b5),this['index']=_0x1a52d1;}return this['isSpecial']=!0x1,this['sectionStart']=_0x4b79b5+0x2,void this['stateInClosingTagName'](_0x47624e);}this['sequenceIndex']=0x0;}(0x20|_0x47624e)===this['currentSequence'][this['sequenceIndex']]?this['sequenceIndex']+=0x1:0x0===this['sequenceIndex']?this['currentSequence']===_0x15b92e['TitleEnd']?this['decodeEntities']&&_0x47624e===_0x884086['Amp']&&this['startEntity']():this['fastForwardTo'](_0x884086['Lt'])&&(this['sequenceIndex']=0x1):this['sequenceIndex']=Number(_0x47624e===_0x884086['Lt']);}['stateCDATASequence'](_0xfff90d){_0xfff90d===_0x15b92e['Cdata'][this['sequenceIndex']]?++this['sequenceIndex']===_0x15b92e['Cdata']['length']&&(this['state']=_0x5e8b78['InCommentLike'],this['currentSequence']=_0x15b92e['CdataEnd'],this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1):(this['sequenceIndex']=0x0,this['state']=_0x5e8b78['InDeclaration'],this['stateInDeclaration'](_0xfff90d));}['fastForwardTo'](_0x1db9cd){for(;++this['index']<this['buffer']['length']+this['offset'];)if(this['buffer']['charCodeAt'](this['index']-this['offset'])===_0x1db9cd)return!0x0;return this['index']=this['buffer']['length']+this['offset']-0x1,!0x1;}['stateInCommentLike'](_0x10fc2f){_0x10fc2f===this['currentSequence'][this['sequenceIndex']]?++this['sequenceIndex']===this['currentSequence']['length']&&(this['currentSequence']===_0x15b92e['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],this['index'],0x2):this['cbs']['oncomment'](this['sectionStart'],this['index'],0x2),this['sequenceIndex']=0x0,this['sectionStart']=this['index']+0x1,this['state']=_0x5e8b78['Text']):0x0===this['sequenceIndex']?this['fastForwardTo'](this['currentSequence'][0x0])&&(this['sequenceIndex']=0x1):_0x10fc2f!==this['currentSequence'][this['sequenceIndex']-0x1]&&(this['sequenceIndex']=0x0);}['isTagStartChar'](_0x4f2095){return this['xmlMode']?!_0x552763(_0x4f2095):function(_0x1875df){return _0x1875df>=_0x884086['LowerA']&&_0x1875df<=_0x884086['LowerZ']||_0x1875df>=_0x884086['UpperA']&&_0x1875df<=_0x884086['UpperZ'];}(_0x4f2095);}['startSpecial'](_0x5c6bbc,_0x556a8f){this['isSpecial']=!0x0,this['currentSequence']=_0x5c6bbc,this['sequenceIndex']=_0x556a8f,this['state']=_0x5e8b78['SpecialStartSequence'];}['stateBeforeTagName'](_0x58a9f){if(_0x58a9f===_0x884086['ExclamationMark'])this['state']=_0x5e8b78['BeforeDeclaration'],this['sectionStart']=this['index']+0x1;else{if(_0x58a9f===_0x884086['Questionmark'])this['state']=_0x5e8b78['InProcessingInstruction'],this['sectionStart']=this['index']+0x1;else{if(this['isTagStartChar'](_0x58a9f)){const _0x3ad715=0x20|_0x58a9f;this['sectionStart']=this['index'],this['xmlMode']?this['state']=_0x5e8b78['InTagName']:_0x3ad715===_0x15b92e['ScriptEnd'][0x2]?this['state']=_0x5e8b78['BeforeSpecialS']:_0x3ad715===_0x15b92e['TitleEnd'][0x2]||_0x3ad715===_0x15b92e['XmpEnd'][0x2]?this['state']=_0x5e8b78['BeforeSpecialT']:this['state']=_0x5e8b78['InTagName'];}else _0x58a9f===_0x884086['Slash']?this['state']=_0x5e8b78['BeforeClosingTagName']:(this['state']=_0x5e8b78['Text'],this['stateText'](_0x58a9f));}}}['stateInTagName'](_0x55c53d){_0x552763(_0x55c53d)&&(this['cbs']['onopentagname'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=_0x5e8b78['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x55c53d));}['stateBeforeClosingTagName'](_0x2905b3){_0x14baf0(_0x2905b3)||(_0x2905b3===_0x884086['Gt']?this['state']=_0x5e8b78['Text']:(this['state']=this['isTagStartChar'](_0x2905b3)?_0x5e8b78['InClosingTagName']:_0x5e8b78['InSpecialComment'],this['sectionStart']=this['index']));}['stateInClosingTagName'](_0x4032a7){(_0x4032a7===_0x884086['Gt']||_0x14baf0(_0x4032a7))&&(this['cbs']['onclosetag'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['state']=_0x5e8b78['AfterClosingTagName'],this['stateAfterClosingTagName'](_0x4032a7));}['stateAfterClosingTagName'](_0x3520da){(_0x3520da===_0x884086['Gt']||this['fastForwardTo'](_0x884086['Gt']))&&(this['state']=_0x5e8b78['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeAttributeName'](_0x4ed0c2){_0x4ed0c2===_0x884086['Gt']?(this['cbs']['onopentagend'](this['index']),this['isSpecial']?(this['state']=_0x5e8b78['InSpecialTag'],this['sequenceIndex']=0x0):this['state']=_0x5e8b78['Text'],this['sectionStart']=this['index']+0x1):_0x4ed0c2===_0x884086['Slash']?this['state']=_0x5e8b78['InSelfClosingTag']:_0x14baf0(_0x4ed0c2)||(this['state']=_0x5e8b78['InAttributeName'],this['sectionStart']=this['index']);}['stateInSelfClosingTag'](_0x24e12c){_0x24e12c===_0x884086['Gt']?(this['cbs']['onselfclosingtag'](this['index']),this['state']=_0x5e8b78['Text'],this['sectionStart']=this['index']+0x1,this['isSpecial']=!0x1):_0x14baf0(_0x24e12c)||(this['state']=_0x5e8b78['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x24e12c));}['stateInAttributeName'](_0x5d1b55){(_0x5d1b55===_0x884086['Eq']||_0x552763(_0x5d1b55))&&(this['cbs']['onattribname'](this['sectionStart'],this['index']),this['sectionStart']=this['index'],this['state']=_0x5e8b78['AfterAttributeName'],this['stateAfterAttributeName'](_0x5d1b55));}['stateAfterAttributeName'](_0xf76d85){_0xf76d85===_0x884086['Eq']?this['state']=_0x5e8b78['BeforeAttributeValue']:_0xf76d85===_0x884086['Slash']||_0xf76d85===_0x884086['Gt']?(this['cbs']['onattribend'](_0x678f05['NoValue'],this['sectionStart']),this['sectionStart']=-0x1,this['state']=_0x5e8b78['BeforeAttributeName'],this['stateBeforeAttributeName'](_0xf76d85)):_0x14baf0(_0xf76d85)||(this['cbs']['onattribend'](_0x678f05['NoValue'],this['sectionStart']),this['state']=_0x5e8b78['InAttributeName'],this['sectionStart']=this['index']);}['stateBeforeAttributeValue'](_0x3f63f7){_0x3f63f7===_0x884086['DoubleQuote']?(this['state']=_0x5e8b78['InAttributeValueDq'],this['sectionStart']=this['index']+0x1):_0x3f63f7===_0x884086['SingleQuote']?(this['state']=_0x5e8b78['InAttributeValueSq'],this['sectionStart']=this['index']+0x1):_0x14baf0(_0x3f63f7)||(this['sectionStart']=this['index'],this['state']=_0x5e8b78['InAttributeValueNq'],this['stateInAttributeValueNoQuotes'](_0x3f63f7));}['handleInAttributeValue'](_0x5f2a90,_0x204e96){_0x5f2a90===_0x204e96||!this['decodeEntities']&&this['fastForwardTo'](_0x204e96)?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x204e96===_0x884086['DoubleQuote']?_0x678f05['Double']:_0x678f05['Single'],this['index']+0x1),this['state']=_0x5e8b78['BeforeAttributeName']):this['decodeEntities']&&_0x5f2a90===_0x884086['Amp']&&this['startEntity']();}['stateInAttributeValueDoubleQuotes'](_0x4e0b71){this['handleInAttributeValue'](_0x4e0b71,_0x884086['DoubleQuote']);}['stateInAttributeValueSingleQuotes'](_0x15524d){this['handleInAttributeValue'](_0x15524d,_0x884086['SingleQuote']);}['stateInAttributeValueNoQuotes'](_0x4a6c80){_0x14baf0(_0x4a6c80)||_0x4a6c80===_0x884086['Gt']?(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=-0x1,this['cbs']['onattribend'](_0x678f05['Unquoted'],this['index']),this['state']=_0x5e8b78['BeforeAttributeName'],this['stateBeforeAttributeName'](_0x4a6c80)):this['decodeEntities']&&_0x4a6c80===_0x884086['Amp']&&this['startEntity']();}['stateBeforeDeclaration'](_0xd4621c){_0xd4621c===_0x884086['OpeningSquareBracket']?(this['state']=_0x5e8b78['CDATASequence'],this['sequenceIndex']=0x0):this['state']=_0xd4621c===_0x884086['Dash']?_0x5e8b78['BeforeComment']:_0x5e8b78['InDeclaration'];}['stateInDeclaration'](_0x132d12){(_0x132d12===_0x884086['Gt']||this['fastForwardTo'](_0x884086['Gt']))&&(this['cbs']['ondeclaration'](this['sectionStart'],this['index']),this['state']=_0x5e8b78['Text'],this['sectionStart']=this['index']+0x1);}['stateInProcessingInstruction'](_0x50b0cf){(_0x50b0cf===_0x884086['Gt']||this['fastForwardTo'](_0x884086['Gt']))&&(this['cbs']['onprocessinginstruction'](this['sectionStart'],this['index']),this['state']=_0x5e8b78['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeComment'](_0x441713){_0x441713===_0x884086['Dash']?(this['state']=_0x5e8b78['InCommentLike'],this['currentSequence']=_0x15b92e['CommentEnd'],this['sequenceIndex']=0x2,this['sectionStart']=this['index']+0x1):this['state']=_0x5e8b78['InDeclaration'];}['stateInSpecialComment'](_0x2420e9){(_0x2420e9===_0x884086['Gt']||this['fastForwardTo'](_0x884086['Gt']))&&(this['cbs']['oncomment'](this['sectionStart'],this['index'],0x0),this['state']=_0x5e8b78['Text'],this['sectionStart']=this['index']+0x1);}['stateBeforeSpecialS'](_0x4dace2){const _0xf8a790=0x20|_0x4dace2;_0xf8a790===_0x15b92e['ScriptEnd'][0x3]?this['startSpecial'](_0x15b92e['ScriptEnd'],0x4):_0xf8a790===_0x15b92e['StyleEnd'][0x3]?this['startSpecial'](_0x15b92e['StyleEnd'],0x4):(this['state']=_0x5e8b78['InTagName'],this['stateInTagName'](_0x4dace2));}['stateBeforeSpecialT'](_0x554662){switch(0x20|_0x554662){case _0x15b92e['TitleEnd'][0x3]:this['startSpecial'](_0x15b92e['TitleEnd'],0x4);break;case _0x15b92e['TextareaEnd'][0x3]:this['startSpecial'](_0x15b92e['TextareaEnd'],0x4);break;case _0x15b92e['XmpEnd'][0x3]:this['startSpecial'](_0x15b92e['XmpEnd'],0x4);break;default:this['state']=_0x5e8b78['InTagName'],this['stateInTagName'](_0x554662);}}['startEntity'](){this['baseState']=this['state'],this['state']=_0x5e8b78['InEntity'],this['entityStart']=this['index'],this['entityDecoder']['startEntity'](this['xmlMode']?_0x1b6182['Strict']:this['baseState']===_0x5e8b78['Text']||this['baseState']===_0x5e8b78['InSpecialTag']?_0x1b6182['Legacy']:_0x1b6182['Attribute']);}['stateInEntity'](){const _0x4f3f34=this['entityDecoder']['write'](this['buffer'],this['index']-this['offset']);_0x4f3f34>=0x0?(this['state']=this['baseState'],0x0===_0x4f3f34&&(this['index']=this['entityStart'])):this['index']=this['offset']+this['buffer']['length']-0x1;}['cleanup'](){this['running']&&this['sectionStart']!==this['index']&&(this['state']===_0x5e8b78['Text']||this['state']===_0x5e8b78['InSpecialTag']&&0x0===this['sequenceIndex']?(this['cbs']['ontext'](this['sectionStart'],this['index']),this['sectionStart']=this['index']):this['state']!==_0x5e8b78['InAttributeValueDq']&&this['state']!==_0x5e8b78['InAttributeValueSq']&&this['state']!==_0x5e8b78['InAttributeValueNq']||(this['cbs']['onattribdata'](this['sectionStart'],this['index']),this['sectionStart']=this['index']));}['shouldContinue'](){return this['index']<this['buffer']['length']+this['offset']&&this['running'];}['parse'](){for(;this['shouldContinue']();){const _0x9a106a=this['buffer']['charCodeAt'](this['index']-this['offset']);switch(this['state']){case _0x5e8b78['Text']:this['stateText'](_0x9a106a);break;case _0x5e8b78['SpecialStartSequence']:this['stateSpecialStartSequence'](_0x9a106a);break;case _0x5e8b78['InSpecialTag']:this['stateInSpecialTag'](_0x9a106a);break;case _0x5e8b78['CDATASequence']:this['stateCDATASequence'](_0x9a106a);break;case _0x5e8b78['InAttributeValueDq']:this['stateInAttributeValueDoubleQuotes'](_0x9a106a);break;case _0x5e8b78['InAttributeName']:this['stateInAttributeName'](_0x9a106a);break;case _0x5e8b78['InCommentLike']:this['stateInCommentLike'](_0x9a106a);break;case _0x5e8b78['InSpecialComment']:this['stateInSpecialComment'](_0x9a106a);break;case _0x5e8b78['BeforeAttributeName']:this['stateBeforeAttributeName'](_0x9a106a);break;case _0x5e8b78['InTagName']:this['stateInTagName'](_0x9a106a);break;case _0x5e8b78['InClosingTagName']:this['stateInClosingTagName'](_0x9a106a);break;case _0x5e8b78['BeforeTagName']:this['stateBeforeTagName'](_0x9a106a);break;case _0x5e8b78['AfterAttributeName']:this['stateAfterAttributeName'](_0x9a106a);break;case _0x5e8b78['InAttributeValueSq']:this['stateInAttributeValueSingleQuotes'](_0x9a106a);break;case _0x5e8b78['BeforeAttributeValue']:this['stateBeforeAttributeValue'](_0x9a106a);break;case _0x5e8b78['BeforeClosingTagName']:this['stateBeforeClosingTagName'](_0x9a106a);break;case _0x5e8b78['AfterClosingTagName']:this['stateAfterClosingTagName'](_0x9a106a);break;case _0x5e8b78['BeforeSpecialS']:this['stateBeforeSpecialS'](_0x9a106a);break;case _0x5e8b78['BeforeSpecialT']:this['stateBeforeSpecialT'](_0x9a106a);break;case _0x5e8b78['InAttributeValueNq']:this['stateInAttributeValueNoQuotes'](_0x9a106a);break;case _0x5e8b78['InSelfClosingTag']:this['stateInSelfClosingTag'](_0x9a106a);break;case _0x5e8b78['InDeclaration']:this['stateInDeclaration'](_0x9a106a);break;case _0x5e8b78['BeforeDeclaration']:this['stateBeforeDeclaration'](_0x9a106a);break;case _0x5e8b78['BeforeComment']:this['stateBeforeComment'](_0x9a106a);break;case _0x5e8b78['InProcessingInstruction']:this['stateInProcessingInstruction'](_0x9a106a);break;case _0x5e8b78['InEntity']:this['stateInEntity']();}this['index']++;}this['cleanup']();}['finish'](){this['state']===_0x5e8b78['InEntity']&&(this['entityDecoder']['end'](),this['state']=this['baseState']),this['handleTrailingData'](),this['cbs']['onend']();}['handleTrailingData'](){const _0x4b528a=this['buffer']['length']+this['offset'];this['sectionStart']>=_0x4b528a||(this['state']===_0x5e8b78['InCommentLike']?this['currentSequence']===_0x15b92e['CdataEnd']?this['cbs']['oncdata'](this['sectionStart'],_0x4b528a,0x0):this['cbs']['oncomment'](this['sectionStart'],_0x4b528a,0x0):this['state']===_0x5e8b78['InTagName']||this['state']===_0x5e8b78['BeforeAttributeName']||this['state']===_0x5e8b78['BeforeAttributeValue']||this['state']===_0x5e8b78['AfterAttributeName']||this['state']===_0x5e8b78['InAttributeName']||this['state']===_0x5e8b78['InAttributeValueSq']||this['state']===_0x5e8b78['InAttributeValueDq']||this['state']===_0x5e8b78['InAttributeValueNq']||this['state']===_0x5e8b78['InClosingTagName']||this['cbs']['ontext'](this['sectionStart'],_0x4b528a));}['emitCodePoint'](_0xc32f87,_0x1a4e08){this['baseState']!==_0x5e8b78['Text']&&this['baseState']!==_0x5e8b78['InSpecialTag']?(this['sectionStart']<this['entityStart']&&this['cbs']['onattribdata'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x1a4e08,this['index']=this['sectionStart']-0x1,this['cbs']['onattribentity'](_0xc32f87)):(this['sectionStart']<this['entityStart']&&this['cbs']['ontext'](this['sectionStart'],this['entityStart']),this['sectionStart']=this['entityStart']+_0x1a4e08,this['index']=this['sectionStart']-0x1,this['cbs']['ontextentity'](_0xc32f87,this['sectionStart']));}};const _0x1ba05c=new Set(['input','option','optgroup','select','button','datalist','textarea']),_0x299706=new Set(['p']),_0x8b5a7f=new Set(['thead','tbody']),_0x4e44cd=new Set(['dd','dt']),_0x3c14c2=new Set(['rt','rp']),_0x579b48=new Map([['tr',new Set(['tr','th','td'])],['th',new Set(['th'])],['td',new Set(['thead','th','td'])],['body',new Set(['head','link','script'])],['li',new Set(['li'])],['p',_0x299706],['h1',_0x299706],['h2',_0x299706],['h3',_0x299706],['h4',_0x299706],['h5',_0x299706],['h6',_0x299706],['select',_0x1ba05c],['input',_0x1ba05c],['output',_0x1ba05c],['button',_0x1ba05c],['datalist',_0x1ba05c],['textarea',_0x1ba05c],['option',new Set(['option'])],['optgroup',new Set(['optgroup','option'])],['dd',_0x4e44cd],['dt',_0x4e44cd],['address',_0x299706],['article',_0x299706],['aside',_0x299706],['blockquote',_0x299706],['details',_0x299706],['div',_0x299706],['dl',_0x299706],['fieldset',_0x299706],['figcaption',_0x299706],['figure',_0x299706],['footer',_0x299706],['form',_0x299706],['header',_0x299706],['hr',_0x299706],['main',_0x299706],['nav',_0x299706],['ol',_0x299706],['pre',_0x299706],['section',_0x299706],['table',_0x299706],['ul',_0x299706],['rt',_0x3c14c2],['rp',_0x3c14c2],['tbody',_0x8b5a7f],['tfoot',_0x8b5a7f]]),_0xbc1623=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']),_0x568dda=new Set(['math','svg']),_0x301dee=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignobject','desc','title']),_0x1b7d5c=/\s|\//;var _0x5f4a3e,tc=class{constructor(_0x38eb03,_0x2a8c18={}){var _0x375cdd,_0x60fa5,_0x531db0,_0x397c06,_0x22973b,_0x28f52f;this['options']=_0x2a8c18,this['startIndex']=0x0,this['endIndex']=0x0,this['openTagStart']=0x0,this['tagname']='',this['attribname']='',this['attribvalue']='',this['attribs']=null,this['stack']=[],this['buffers']=[],this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1,this['cbs']=null!=_0x38eb03?_0x38eb03:{},this['htmlMode']=!this['options']['xmlMode'],this['lowerCaseTagNames']=null!==(_0x375cdd=_0x2a8c18['lowerCaseTags'])&&void 0x0!==_0x375cdd?_0x375cdd:this['htmlMode'],this['lowerCaseAttributeNames']=null!==(_0x60fa5=_0x2a8c18['lowerCaseAttributeNames'])&&void 0x0!==_0x60fa5?_0x60fa5:this['htmlMode'],this['recognizeSelfClosing']=null!==(_0x531db0=_0x2a8c18['recognizeSelfClosing'])&&void 0x0!==_0x531db0?_0x531db0:!this['htmlMode'],this['tokenizer']=new(null!==(_0x397c06=_0x2a8c18['Tokenizer'])&&void 0x0!==_0x397c06?_0x397c06:_0x4d8e86)(this['options'],this),this['foreignContext']=[!this['htmlMode']],null===(_0x28f52f=(_0x22973b=this['cbs'])['onparserinit'])||void 0x0===_0x28f52f||_0x28f52f['call'](_0x22973b,this);}['ontext'](_0x290742,_0x401205){var _0x2b5fef,_0x3abdb7;const _0x584223=this['getSlice'](_0x290742,_0x401205);this['endIndex']=_0x401205-0x1,null===(_0x3abdb7=(_0x2b5fef=this['cbs'])['ontext'])||void 0x0===_0x3abdb7||_0x3abdb7['call'](_0x2b5fef,_0x584223),this['startIndex']=_0x401205;}['ontextentity'](_0x21ad51,_0x4bff88){var _0x527d0d,_0x4e70bf;this['endIndex']=_0x4bff88-0x1,null===(_0x4e70bf=(_0x527d0d=this['cbs'])['ontext'])||void 0x0===_0x4e70bf||_0x4e70bf['call'](_0x527d0d,_0x5e158b(_0x21ad51)),this['startIndex']=_0x4bff88;}['isVoidElement'](_0x28f98b){return this['htmlMode']&&_0xbc1623['has'](_0x28f98b);}['onopentagname'](_0x4baac8,_0x1b57bf){this['endIndex']=_0x1b57bf;let _0x4500e9=this['getSlice'](_0x4baac8,_0x1b57bf);this['lowerCaseTagNames']&&(_0x4500e9=_0x4500e9['toLowerCase']()),this['emitOpenTag'](_0x4500e9);}['emitOpenTag'](_0x2f51f5){var _0x2f7427,_0x43566b,_0x38278b,_0x26b1e2;this['openTagStart']=this['startIndex'],this['tagname']=_0x2f51f5;const _0x560a38=this['htmlMode']&&_0x579b48['get'](_0x2f51f5);if(_0x560a38)for(;this['stack']['length']>0x0&&_0x560a38['has'](this['stack'][0x0]);){const _0xd6c6f=this['stack']['shift']();null===(_0x43566b=(_0x2f7427=this['cbs'])['onclosetag'])||void 0x0===_0x43566b||_0x43566b['call'](_0x2f7427,_0xd6c6f,!0x0);}this['isVoidElement'](_0x2f51f5)||(this['stack']['unshift'](_0x2f51f5),this['htmlMode']&&(_0x568dda['has'](_0x2f51f5)?this['foreignContext']['unshift'](!0x0):_0x301dee['has'](_0x2f51f5)&&this['foreignContext']['unshift'](!0x1))),null===(_0x26b1e2=(_0x38278b=this['cbs'])['onopentagname'])||void 0x0===_0x26b1e2||_0x26b1e2['call'](_0x38278b,_0x2f51f5),this['cbs']['onopentag']&&(this['attribs']={});}['endOpenTag'](_0x5af9de){var _0x1aea47,_0x2cc33a;this['startIndex']=this['openTagStart'],this['attribs']&&(null===(_0x2cc33a=(_0x1aea47=this['cbs'])['onopentag'])||void 0x0===_0x2cc33a||_0x2cc33a['call'](_0x1aea47,this['tagname'],this['attribs'],_0x5af9de),this['attribs']=null),this['cbs']['onclosetag']&&this['isVoidElement'](this['tagname'])&&this['cbs']['onclosetag'](this['tagname'],!0x0),this['tagname']='';}['onopentagend'](_0x30da17){this['endIndex']=_0x30da17,this['endOpenTag'](!0x1),this['startIndex']=_0x30da17+0x1;}['onclosetag'](_0x4de059,_0x489b73){var _0x487d5c,_0x39b16f,_0x15dbfd,_0x52164a,_0x2dd6ff,_0x1a009f,_0xde482d,_0x4cc58a;this['endIndex']=_0x489b73;let _0x537311=this['getSlice'](_0x4de059,_0x489b73);if(this['lowerCaseTagNames']&&(_0x537311=_0x537311['toLowerCase']()),this['htmlMode']&&(_0x568dda['has'](_0x537311)||_0x301dee['has'](_0x537311))&&this['foreignContext']['shift'](),this['isVoidElement'](_0x537311))this['htmlMode']&&'br'===_0x537311&&(null===(_0x52164a=(_0x15dbfd=this['cbs'])['onopentagname'])||void 0x0===_0x52164a||_0x52164a['call'](_0x15dbfd,'br'),null===(_0x1a009f=(_0x2dd6ff=this['cbs'])['onopentag'])||void 0x0===_0x1a009f||_0x1a009f['call'](_0x2dd6ff,'br',{},!0x0),null===(_0x4cc58a=(_0xde482d=this['cbs'])['onclosetag'])||void 0x0===_0x4cc58a||_0x4cc58a['call'](_0xde482d,'br',!0x1));else{const _0x4e2a7c=this['stack']['indexOf'](_0x537311);if(-0x1!==_0x4e2a7c)for(let _0x596a2a=0x0;_0x596a2a<=_0x4e2a7c;_0x596a2a++){const _0x2a697d=this['stack']['shift']();null===(_0x39b16f=(_0x487d5c=this['cbs'])['onclosetag'])||void 0x0===_0x39b16f||_0x39b16f['call'](_0x487d5c,_0x2a697d,_0x596a2a!==_0x4e2a7c);}else this['htmlMode']&&'p'===_0x537311&&(this['emitOpenTag']('p'),this['closeCurrentTag'](!0x0));}this['startIndex']=_0x489b73+0x1;}['onselfclosingtag'](_0x4a56c1){this['endIndex']=_0x4a56c1,this['recognizeSelfClosing']||this['foreignContext'][0x0]?(this['closeCurrentTag'](!0x1),this['startIndex']=_0x4a56c1+0x1):this['onopentagend'](_0x4a56c1);}['closeCurrentTag'](_0xc8148){var _0x9df52d,_0x274203;const _0xe1f634=this['tagname'];this['endOpenTag'](_0xc8148),this['stack'][0x0]===_0xe1f634&&(null===(_0x274203=(_0x9df52d=this['cbs'])['onclosetag'])||void 0x0===_0x274203||_0x274203['call'](_0x9df52d,_0xe1f634,!_0xc8148),this['stack']['shift']());}['onattribname'](_0x3e997f,_0x3eb725){this['startIndex']=_0x3e997f;const _0x5486e5=this['getSlice'](_0x3e997f,_0x3eb725);this['attribname']=this['lowerCaseAttributeNames']?_0x5486e5['toLowerCase']():_0x5486e5;}['onattribdata'](_0x26743b,_0x4b5cd0){this['attribvalue']+=this['getSlice'](_0x26743b,_0x4b5cd0);}['onattribentity'](_0x1155e3){this['attribvalue']+=_0x5e158b(_0x1155e3);}['onattribend'](_0x11b71c,_0x98034f){var _0x127c98,_0x3c9603;this['endIndex']=_0x98034f,null===(_0x3c9603=(_0x127c98=this['cbs'])['onattribute'])||void 0x0===_0x3c9603||_0x3c9603['call'](_0x127c98,this['attribname'],this['attribvalue'],_0x11b71c===_0x678f05['Double']?'\x22':_0x11b71c===_0x678f05['Single']?'\x27':_0x11b71c===_0x678f05['NoValue']?void 0x0:null),this['attribs']&&!Object['prototype']['hasOwnProperty']['call'](this['attribs'],this['attribname'])&&(this['attribs'][this['attribname']]=this['attribvalue']),this['attribvalue']='';}['getInstructionName'](_0xd5aa87){const _0x67b740=_0xd5aa87['search'](_0x1b7d5c);let _0x1b7f51=_0x67b740<0x0?_0xd5aa87:_0xd5aa87['substr'](0x0,_0x67b740);return this['lowerCaseTagNames']&&(_0x1b7f51=_0x1b7f51['toLowerCase']()),_0x1b7f51;}['ondeclaration'](_0x4d2ef7,_0x3db3f5){this['endIndex']=_0x3db3f5;const _0x37ecef=this['getSlice'](_0x4d2ef7,_0x3db3f5);if(this['cbs']['onprocessinginstruction']){const _0x1e31e9=this['getInstructionName'](_0x37ecef);this['cbs']['onprocessinginstruction']('!'+_0x1e31e9,'!'+_0x37ecef);}this['startIndex']=_0x3db3f5+0x1;}['onprocessinginstruction'](_0x4f4013,_0x47cda4){this['endIndex']=_0x47cda4;const _0x52650a=this['getSlice'](_0x4f4013,_0x47cda4);if(this['cbs']['onprocessinginstruction']){const _0x43663a=this['getInstructionName'](_0x52650a);this['cbs']['onprocessinginstruction']('?'+_0x43663a,'?'+_0x52650a);}this['startIndex']=_0x47cda4+0x1;}['oncomment'](_0x3fa157,_0x3b4793,_0x2bce33){var _0x3ecc96,_0x150a07,_0x24fc71,_0x3720f5;this['endIndex']=_0x3b4793,null===(_0x150a07=(_0x3ecc96=this['cbs'])['oncomment'])||void 0x0===_0x150a07||_0x150a07['call'](_0x3ecc96,this['getSlice'](_0x3fa157,_0x3b4793-_0x2bce33)),null===(_0x3720f5=(_0x24fc71=this['cbs'])['oncommentend'])||void 0x0===_0x3720f5||_0x3720f5['call'](_0x24fc71),this['startIndex']=_0x3b4793+0x1;}['oncdata'](_0x5b2d77,_0x28ced3,_0x5b479b){var _0x313a21,_0x27b5a5,_0x160db4,_0x1e633c,_0xfe3137,_0x3ff08a,_0x56b1b0,_0x5191ed,_0x509770,_0x477a15;this['endIndex']=_0x28ced3;const _0x908909=this['getSlice'](_0x5b2d77,_0x28ced3-_0x5b479b);!this['htmlMode']||this['options']['recognizeCDATA']?(null===(_0x27b5a5=(_0x313a21=this['cbs'])['oncdatastart'])||void 0x0===_0x27b5a5||_0x27b5a5['call'](_0x313a21),null===(_0x1e633c=(_0x160db4=this['cbs'])['ontext'])||void 0x0===_0x1e633c||_0x1e633c['call'](_0x160db4,_0x908909),null===(_0x3ff08a=(_0xfe3137=this['cbs'])['oncdataend'])||void 0x0===_0x3ff08a||_0x3ff08a['call'](_0xfe3137)):(null===(_0x5191ed=(_0x56b1b0=this['cbs'])['oncomment'])||void 0x0===_0x5191ed||_0x5191ed['call'](_0x56b1b0,'[CDATA['+_0x908909+']]'),null===(_0x477a15=(_0x509770=this['cbs'])['oncommentend'])||void 0x0===_0x477a15||_0x477a15['call'](_0x509770)),this['startIndex']=_0x28ced3+0x1;}['onend'](){var _0x5bc29c,_0x25c8bf;if(this['cbs']['onclosetag']){this['endIndex']=this['startIndex'];for(let _0x157d0a=0x0;_0x157d0a<this['stack']['length'];_0x157d0a++)this['cbs']['onclosetag'](this['stack'][_0x157d0a],!0x0);}null===(_0x25c8bf=(_0x5bc29c=this['cbs'])['onend'])||void 0x0===_0x25c8bf||_0x25c8bf['call'](_0x5bc29c);}['reset'](){var _0x243d46,_0x5e55ab,_0x4310ec,_0x2d1037;null===(_0x5e55ab=(_0x243d46=this['cbs'])['onreset'])||void 0x0===_0x5e55ab||_0x5e55ab['call'](_0x243d46),this['tokenizer']['reset'](),this['tagname']='',this['attribname']='',this['attribs']=null,this['stack']['length']=0x0,this['startIndex']=0x0,this['endIndex']=0x0,null===(_0x2d1037=(_0x4310ec=this['cbs'])['onparserinit'])||void 0x0===_0x2d1037||_0x2d1037['call'](_0x4310ec,this),this['buffers']['length']=0x0,this['foreignContext']['length']=0x0,this['foreignContext']['unshift'](!this['htmlMode']),this['bufferOffset']=0x0,this['writeIndex']=0x0,this['ended']=!0x1;}['parseComplete'](_0x39d272){this['reset'](),this['end'](_0x39d272);}['getSlice'](_0xfe549b,_0x43dacd){for(;_0xfe549b-this['bufferOffset']>=this['buffers'][0x0]['length'];)this['shiftBuffer']();let _0x2a9519=this['buffers'][0x0]['slice'](_0xfe549b-this['bufferOffset'],_0x43dacd-this['bufferOffset']);for(;_0x43dacd-this['bufferOffset']>this['buffers'][0x0]['length'];)this['shiftBuffer'](),_0x2a9519+=this['buffers'][0x0]['slice'](0x0,_0x43dacd-this['bufferOffset']);return _0x2a9519;}['shiftBuffer'](){this['bufferOffset']+=this['buffers'][0x0]['length'],this['writeIndex']--,this['buffers']['shift']();}['write'](_0x5bf874){var _0x5d306f,_0x36611f;this['ended']?null===(_0x36611f=(_0x5d306f=this['cbs'])['onerror'])||void 0x0===_0x36611f||_0x36611f['call'](_0x5d306f,new Error('.write()\x20after\x20done!')):(this['buffers']['push'](_0x5bf874),this['tokenizer']['running']&&(this['tokenizer']['write'](_0x5bf874),this['writeIndex']++));}['end'](_0x2fdd4a){var _0x35e49e,_0x4c1e82;this['ended']?null===(_0x4c1e82=(_0x35e49e=this['cbs'])['onerror'])||void 0x0===_0x4c1e82||_0x4c1e82['call'](_0x35e49e,new Error('.end()\x20after\x20done!')):(_0x2fdd4a&&this['write'](_0x2fdd4a),this['ended']=!0x0,this['tokenizer']['end']());}['pause'](){this['tokenizer']['pause']();}['resume'](){for(this['tokenizer']['resume']();this['tokenizer']['running']&&this['writeIndex']<this['buffers']['length'];)this['tokenizer']['write'](this['buffers'][this['writeIndex']++]);this['ended']&&this['tokenizer']['end']();}['parseChunk'](_0x1469bb){this['write'](_0x1469bb);}['done'](_0x30ce05){this['end'](_0x30ce05);}};!function(_0x3c8b83){_0x3c8b83['Root']='root',_0x3c8b83['Text']='text',_0x3c8b83['Directive']='directive',_0x3c8b83['Comment']='comment',_0x3c8b83['Script']='script',_0x3c8b83['Style']='style',_0x3c8b83['Tag']='tag',_0x3c8b83['CDATA']='cdata',_0x3c8b83['Doctype']='doctype';}(_0x5f4a3e||(_0x5f4a3e={}));const _0x505233=_0x5f4a3e['Root'],_0xa401b4=_0x5f4a3e['Text'],_0x3de9b1=_0x5f4a3e['Directive'],_0x58978d=_0x5f4a3e['Comment'],_0x182a00=_0x5f4a3e['Script'],_0x3be6a2=_0x5f4a3e['Style'],_0x84a0ac=_0x5f4a3e['Tag'],_0x573c3e=_0x5f4a3e['CDATA'],_0x4145d6=_0x5f4a3e['Doctype'];var _0x387001=class{constructor(){this['parent']=null,this['prev']=null,this['next']=null,this['startIndex']=null,this['endIndex']=null;}get['parentNode'](){return this['parent'];}set['parentNode'](_0x406adb){this['parent']=_0x406adb;}get['previousSibling'](){return this['prev'];}set['previousSibling'](_0x1839c1){this['prev']=_0x1839c1;}get['nextSibling'](){return this['next'];}set['nextSibling'](_0xc922e1){this['next']=_0xc922e1;}['cloneNode'](_0x180939=!0x1){return _0x425e77(this,_0x180939);}},_0x81cc1=class extends _0x387001{constructor(_0x574d7a){super(),this['data']=_0x574d7a;}get['nodeValue'](){return this['data'];}set['nodeValue'](_0x8c11fd){this['data']=_0x8c11fd;}},_0x66d3ae=class extends _0x81cc1{constructor(){super(...arguments),this['type']=_0x5f4a3e['Text'];}get['nodeType'](){return 0x3;}},_0x5159db=class extends _0x81cc1{constructor(){super(...arguments),this['type']=_0x5f4a3e['Comment'];}get['nodeType'](){return 0x8;}},_0x4d966c=class extends _0x81cc1{constructor(_0x33c9e0,_0x95a01a){super(_0x95a01a),this['name']=_0x33c9e0,this['type']=_0x5f4a3e['Directive'];}get['nodeType'](){return 0x1;}},_0x424b13=class extends _0x387001{constructor(_0x2e1100){super(),this['children']=_0x2e1100;}get['firstChild'](){var _0x9129dc;return null!==(_0x9129dc=this['children'][0x0])&&void 0x0!==_0x9129dc?_0x9129dc:null;}get['lastChild'](){return this['children']['length']>0x0?this['children'][this['children']['length']-0x1]:null;}get['childNodes'](){return this['children'];}set['childNodes'](_0x476567){this['children']=_0x476567;}},_0x1255bb=class extends _0x424b13{constructor(){super(...arguments),this['type']=_0x5f4a3e['CDATA'];}get['nodeType'](){return 0x4;}},_0x2a28d6=class extends _0x424b13{constructor(){super(...arguments),this['type']=_0x5f4a3e['Root'];}get['nodeType'](){return 0x9;}},_0x3df575=class extends _0x424b13{constructor(_0x2b9d3a,_0x21e66f,_0x257e7f=[],_0x4377ec='script'===_0x2b9d3a?_0x5f4a3e['Script']:'style'===_0x2b9d3a?_0x5f4a3e['Style']:_0x5f4a3e['Tag']){super(_0x257e7f),this['name']=_0x2b9d3a,this['attribs']=_0x21e66f,this['type']=_0x4377ec;}get['nodeType'](){return 0x1;}get['tagName'](){return this['name'];}set['tagName'](_0x86275d){this['name']=_0x86275d;}get['attributes'](){return Object['keys'](this['attribs'])['map'](_0x50b644=>{var _0x266cb5,_0x2b3a21;return{'name':_0x50b644,'value':this['attribs'][_0x50b644],'namespace':null===(_0x266cb5=this['x-attribsNamespace'])||void 0x0===_0x266cb5?void 0x0:_0x266cb5[_0x50b644],'prefix':null===(_0x2b3a21=this['x-attribsPrefix'])||void 0x0===_0x2b3a21?void 0x0:_0x2b3a21[_0x50b644]};});}};function _0x49789e(_0x546834){return(_0x3e5cde=_0x546834)['type']===_0x5f4a3e['Tag']||_0x3e5cde['type']===_0x5f4a3e['Script']||_0x3e5cde['type']===_0x5f4a3e['Style'];var _0x3e5cde;}function _0xea358(_0x13abd6){return _0x13abd6['type']===_0x5f4a3e['Text'];}function _0x276d1f(_0x435449){return _0x435449['type']===_0x5f4a3e['Comment'];}function _0x4ab318(_0x314706){return _0x314706['type']===_0x5f4a3e['Root'];}function _0x224113(_0x3d94aa){return Object['prototype']['hasOwnProperty']['call'](_0x3d94aa,'children');}function _0x425e77(_0x467042,_0x39c791=!0x1){let _0x3cd3af;if(_0xea358(_0x467042))_0x3cd3af=new _0x66d3ae(_0x467042['data']);else{if(_0x276d1f(_0x467042))_0x3cd3af=new _0x5159db(_0x467042['data']);else{if(_0x49789e(_0x467042)){const _0x5c005f=_0x39c791?_0x502712(_0x467042['children']):[],_0x45c9f8=new _0x3df575(_0x467042['name'],{..._0x467042['attribs']},_0x5c005f);_0x5c005f['forEach'](_0xa9d228=>_0xa9d228['parent']=_0x45c9f8),null!=_0x467042['namespace']&&(_0x45c9f8['namespace']=_0x467042['namespace']),_0x467042['x-attribsNamespace']&&(_0x45c9f8['x-attribsNamespace']={..._0x467042['x-attribsNamespace']}),_0x467042['x-attribsPrefix']&&(_0x45c9f8['x-attribsPrefix']={..._0x467042['x-attribsPrefix']}),_0x3cd3af=_0x45c9f8;}else{if(function(_0x44d0e8){return _0x44d0e8['type']===_0x5f4a3e['CDATA'];}(_0x467042)){const _0x366a17=_0x39c791?_0x502712(_0x467042['children']):[],_0x5c1990=new _0x1255bb(_0x366a17);_0x366a17['forEach'](_0x199084=>_0x199084['parent']=_0x5c1990),_0x3cd3af=_0x5c1990;}else{if(_0x4ab318(_0x467042)){const _0x23672c=_0x39c791?_0x502712(_0x467042['children']):[],_0x371d95=new _0x2a28d6(_0x23672c);_0x23672c['forEach'](_0x5445e0=>_0x5445e0['parent']=_0x371d95),_0x467042['x-mode']&&(_0x371d95['x-mode']=_0x467042['x-mode']),_0x3cd3af=_0x371d95;}else{if(!function(_0xf37f7d){return _0xf37f7d['type']===_0x5f4a3e['Directive'];}(_0x467042))throw new Error('Not\x20implemented\x20yet:\x20'+_0x467042['type']);{const _0x101271=new _0x4d966c(_0x467042['name'],_0x467042['data']);null!=_0x467042['x-name']&&(_0x101271['x-name']=_0x467042['x-name'],_0x101271['x-publicId']=_0x467042['x-publicId'],_0x101271['x-systemId']=_0x467042['x-systemId']),_0x3cd3af=_0x101271;}}}}}}return _0x3cd3af['startIndex']=_0x467042['startIndex'],_0x3cd3af['endIndex']=_0x467042['endIndex'],null!=_0x467042['sourceCodeLocation']&&(_0x3cd3af['sourceCodeLocation']=_0x467042['sourceCodeLocation']),_0x3cd3af;}function _0x502712(_0x1c0fd0){const _0xa4e242=_0x1c0fd0['map'](_0x8520a3=>_0x425e77(_0x8520a3,!0x0));for(let _0x4ec42b=0x1;_0x4ec42b<_0xa4e242['length'];_0x4ec42b++)_0xa4e242[_0x4ec42b]['prev']=_0xa4e242[_0x4ec42b-0x1],_0xa4e242[_0x4ec42b-0x1]['next']=_0xa4e242[_0x4ec42b];return _0xa4e242;}const _0x53217a={'withStartIndices':!0x1,'withEndIndices':!0x1,'xmlMode':!0x1};var _0x1ae001=class{constructor(_0x2cfa55,_0x11d7a2,_0x2d3758){this['dom']=[],this['root']=new _0x2a28d6(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null,'function'==typeof _0x11d7a2&&(_0x2d3758=_0x11d7a2,_0x11d7a2=_0x53217a),'object'==typeof _0x2cfa55&&(_0x11d7a2=_0x2cfa55,_0x2cfa55=void 0x0),this['callback']=null!=_0x2cfa55?_0x2cfa55:null,this['options']=null!=_0x11d7a2?_0x11d7a2:_0x53217a,this['elementCB']=null!=_0x2d3758?_0x2d3758:null;}['onparserinit'](_0x3be628){this['parser']=_0x3be628;}['onreset'](){this['dom']=[],this['root']=new _0x2a28d6(this['dom']),this['done']=!0x1,this['tagStack']=[this['root']],this['lastNode']=null,this['parser']=null;}['onend'](){this['done']||(this['done']=!0x0,this['parser']=null,this['handleCallback'](null));}['onerror'](_0x29a56e){this['handleCallback'](_0x29a56e);}['onclosetag'](){this['lastNode']=null;const _0x56583c=this['tagStack']['pop']();this['options']['withEndIndices']&&(_0x56583c['endIndex']=this['parser']['endIndex']),this['elementCB']&&this['elementCB'](_0x56583c);}['onopentag'](_0x8e2f54,_0x19497f){const _0x5f9dba=new _0x3df575(_0x8e2f54,_0x19497f,void 0x0,this['options']['xmlMode']?_0x5f4a3e['Tag']:void 0x0);this['addNode'](_0x5f9dba),this['tagStack']['push'](_0x5f9dba);}['ontext'](_0x4615de){const {lastNode:_0x195678}=this;if(_0x195678&&_0x195678['type']===_0x5f4a3e['Text'])_0x195678['data']+=_0x4615de,this['options']['withEndIndices']&&(_0x195678['endIndex']=this['parser']['endIndex']);else{const _0xd50b05=new _0x66d3ae(_0x4615de);this['addNode'](_0xd50b05),this['lastNode']=_0xd50b05;}}['oncomment'](_0x439a1d){if(this['lastNode']&&this['lastNode']['type']===_0x5f4a3e['Comment'])return void(this['lastNode']['data']+=_0x439a1d);const _0x5e147c=new _0x5159db(_0x439a1d);this['addNode'](_0x5e147c),this['lastNode']=_0x5e147c;}['oncommentend'](){this['lastNode']=null;}['oncdatastart'](){const _0x2f346c=new _0x66d3ae(''),_0x24863c=new _0x1255bb([_0x2f346c]);this['addNode'](_0x24863c),_0x2f346c['parent']=_0x24863c,this['lastNode']=_0x2f346c;}['oncdataend'](){this['lastNode']=null;}['onprocessinginstruction'](_0xf55ca1,_0x57669e){const _0x53c8c6=new _0x4d966c(_0xf55ca1,_0x57669e);this['addNode'](_0x53c8c6);}['handleCallback'](_0x384e00){if('function'==typeof this['callback'])this['callback'](_0x384e00,this['dom']);else{if(_0x384e00)throw _0x384e00;}}['addNode'](_0x5090d3){const _0x441014=this['tagStack'][this['tagStack']['length']-0x1],_0x2dd1ad=_0x441014['children'][_0x441014['children']['length']-0x1];this['options']['withStartIndices']&&(_0x5090d3['startIndex']=this['parser']['startIndex']),this['options']['withEndIndices']&&(_0x5090d3['endIndex']=this['parser']['endIndex']),_0x441014['children']['push'](_0x5090d3),_0x2dd1ad&&(_0x5090d3['prev']=_0x2dd1ad,_0x2dd1ad['next']=_0x5090d3),_0x5090d3['parent']=_0x441014,this['lastNode']=null;}};const _0x3574af=/["&'<>$\x80-\uFFFF]/g,_0x94a42b=new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0x27,'&apos;'],[0x3c,'&lt;'],[0x3e,'&gt;']]),_0x505091=null!=String['prototype']['codePointAt']?(_0x479e7c,_0x48df17)=>_0x479e7c['codePointAt'](_0x48df17):(_0x5900ea,_0x26341a)=>0xd800==(0xfc00&_0x5900ea['charCodeAt'](_0x26341a))?0x400*(_0x5900ea['charCodeAt'](_0x26341a)-0xd800)+_0x5900ea['charCodeAt'](_0x26341a+0x1)-0xdc00+0x10000:_0x5900ea['charCodeAt'](_0x26341a);function _0x98394a(_0x34f2d2){let _0x33b336,_0x5a9c14='',_0x480dc0=0x0;for(;null!==(_0x33b336=_0x3574af['exec'](_0x34f2d2));){const _0x3a4acb=_0x33b336['index'],_0x5269ad=_0x34f2d2['charCodeAt'](_0x3a4acb),_0x2b4f59=_0x94a42b['get'](_0x5269ad);void 0x0!==_0x2b4f59?(_0x5a9c14+=_0x34f2d2['substring'](_0x480dc0,_0x3a4acb)+_0x2b4f59,_0x480dc0=_0x3a4acb+0x1):(_0x5a9c14+=_0x34f2d2['substring'](_0x480dc0,_0x3a4acb)+'&#x'+_0x505091(_0x34f2d2,_0x3a4acb)['toString'](0x10)+';',_0x480dc0=_0x3574af['lastIndex']+=Number(0xd800==(0xfc00&_0x5269ad)));}return _0x5a9c14+_0x34f2d2['substr'](_0x480dc0);}function _0x1a9b9f(_0x4c8f5f,_0x1f0e60){return function(_0x172065){let _0x2f7cbe,_0xf5670d=0x0,_0x2f6c33='';for(;_0x2f7cbe=_0x4c8f5f['exec'](_0x172065);)_0xf5670d!==_0x2f7cbe['index']&&(_0x2f6c33+=_0x172065['substring'](_0xf5670d,_0x2f7cbe['index'])),_0x2f6c33+=_0x1f0e60['get'](_0x2f7cbe[0x0]['charCodeAt'](0x0)),_0xf5670d=_0x2f7cbe['index']+0x1;return _0x2f6c33+_0x172065['substring'](_0xf5670d);};}const _0x1004db=_0x1a9b9f(/["&\u00A0]/g,new Map([[0x22,'&quot;'],[0x26,'&amp;'],[0xa0,'&nbsp;']])),_0x268a55=_0x1a9b9f(/[&<>\u00A0]/g,new Map([[0x26,'&amp;'],[0x3c,'&lt;'],[0x3e,'&gt;'],[0xa0,'&nbsp;']])),_0x261d37=new Map(['altGlyph','altGlyphDef','altGlyphItem','animateColor','animateMotion','animateTransform','clipPath','feBlend','feColorMatrix','feComponentTransfer','feComposite','feConvolveMatrix','feDiffuseLighting','feDisplacementMap','feDistantLight','feDropShadow','feFlood','feFuncA','feFuncB','feFuncG','feFuncR','feGaussianBlur','feImage','feMerge','feMergeNode','feMorphology','feOffset','fePointLight','feSpecularLighting','feSpotLight','feTile','feTurbulence','foreignObject','glyphRef','linearGradient','radialGradient','textPath']['map'](_0x4c69e5=>[_0x4c69e5['toLowerCase'](),_0x4c69e5])),_0x26aff1=new Map(['definitionURL','attributeName','attributeType','baseFrequency','baseProfile','calcMode','clipPathUnits','diffuseConstant','edgeMode','filterUnits','glyphRef','gradientTransform','gradientUnits','kernelMatrix','kernelUnitLength','keyPoints','keySplines','keyTimes','lengthAdjust','limitingConeAngle','markerHeight','markerUnits','markerWidth','maskContentUnits','maskUnits','numOctaves','pathLength','patternContentUnits','patternTransform','patternUnits','pointsAtX','pointsAtY','pointsAtZ','preserveAlpha','preserveAspectRatio','primitiveUnits','refX','refY','repeatCount','repeatDur','requiredExtensions','requiredFeatures','specularConstant','specularExponent','spreadMethod','startOffset','stdDeviation','stitchTiles','surfaceScale','systemLanguage','tableValues','targetX','targetY','textLength','viewBox','viewTarget','xChannelSelector','yChannelSelector','zoomAndPan']['map'](_0x448195=>[_0x448195['toLowerCase'](),_0x448195])),_0xab4599=new Set(['style','script','xmp','iframe','noembed','noframes','plaintext','noscript']);function _0x1113ab(_0x291e5b){return _0x291e5b['replace'](/"/g,'&quot;');}const _0x4a5acf=new Set(['area','base','basefont','br','col','command','embed','frame','hr','img','input','isindex','keygen','link','meta','param','source','track','wbr']);function _0x1302b8(_0x5ea8ab,_0x14c580={}){const _0x3559f0='length'in _0x5ea8ab?_0x5ea8ab:[_0x5ea8ab];let _0x312bc4='';for(let _0x2fd998=0x0;_0x2fd998<_0x3559f0['length'];_0x2fd998++)_0x312bc4+=_0x2e30f0(_0x3559f0[_0x2fd998],_0x14c580);return _0x312bc4;}function _0x2e30f0(_0x353734,_0x2455e3){switch(_0x353734['type']){case _0x505233:return _0x1302b8(_0x353734['children'],_0x2455e3);case _0x4145d6:case _0x3de9b1:return'<'+_0x353734['data']+'>';case _0x58978d:return function(_0x2a0c40){return'<!--'+_0x2a0c40['data']+'-->';}(_0x353734);case _0x573c3e:return function(_0x12c9bb){return'<![CDATA['+_0x12c9bb['children'][0x0]['data']+']]>';}(_0x353734);case _0x182a00:case _0x3be6a2:case _0x84a0ac:return function(_0x248bca,_0x44839a){var _0x1b0e1e;'foreign'===_0x44839a['xmlMode']&&(_0x248bca['name']=null!==(_0x1b0e1e=_0x261d37['get'](_0x248bca['name']))&&void 0x0!==_0x1b0e1e?_0x1b0e1e:_0x248bca['name'],_0x248bca['parent']&&_0x4740f1['has'](_0x248bca['parent']['name'])&&(_0x44839a={..._0x44839a,'xmlMode':!0x1})),!_0x44839a['xmlMode']&&_0xd1b80e['has'](_0x248bca['name'])&&(_0x44839a={..._0x44839a,'xmlMode':'foreign'});let _0x5c429d='<'+_0x248bca['name'];const _0x4e8280=function(_0x49a2b6,_0x4da525){var _0x4ece5a;if(!_0x49a2b6)return;const _0x4d400b=!0x1===(null!==(_0x4ece5a=_0x4da525['encodeEntities'])&&void 0x0!==_0x4ece5a?_0x4ece5a:_0x4da525['decodeEntities'])?_0x1113ab:_0x4da525['xmlMode']||'utf8'!==_0x4da525['encodeEntities']?_0x98394a:_0x1004db;return Object['keys'](_0x49a2b6)['map'](_0x45186d=>{var _0x58e448,_0x58bb4d;const _0x4f42b6=null!==(_0x58e448=_0x49a2b6[_0x45186d])&&void 0x0!==_0x58e448?_0x58e448:'';return'foreign'===_0x4da525['xmlMode']&&(_0x45186d=null!==(_0x58bb4d=_0x26aff1['get'](_0x45186d))&&void 0x0!==_0x58bb4d?_0x58bb4d:_0x45186d),_0x4da525['emptyAttrs']||_0x4da525['xmlMode']||''!==_0x4f42b6?_0x45186d+'=\x22'+_0x4d400b(_0x4f42b6)+'\x22':_0x45186d;})['join']('\x20');}(_0x248bca['attribs'],_0x44839a);return _0x4e8280&&(_0x5c429d+='\x20'+_0x4e8280),0x0===_0x248bca['children']['length']&&(_0x44839a['xmlMode']?!0x1!==_0x44839a['selfClosingTags']:_0x44839a['selfClosingTags']&&_0x4a5acf['has'](_0x248bca['name']))?(_0x44839a['xmlMode']||(_0x5c429d+='\x20'),_0x5c429d+='/>'):(_0x5c429d+='>',_0x248bca['children']['length']>0x0&&(_0x5c429d+=_0x1302b8(_0x248bca['children'],_0x44839a)),!_0x44839a['xmlMode']&&_0x4a5acf['has'](_0x248bca['name'])||(_0x5c429d+='</'+_0x248bca['name']+'>')),_0x5c429d;}(_0x353734,_0x2455e3);case _0xa401b4:return function(_0x4a2e10,_0xfc0145){var _0x2d45fb;let _0x7c790f=_0x4a2e10['data']||'';return!0x1===(null!==(_0x2d45fb=_0xfc0145['encodeEntities'])&&void 0x0!==_0x2d45fb?_0x2d45fb:_0xfc0145['decodeEntities'])||!_0xfc0145['xmlMode']&&_0x4a2e10['parent']&&_0xab4599['has'](_0x4a2e10['parent']['name'])||(_0x7c790f=_0xfc0145['xmlMode']||'utf8'!==_0xfc0145['encodeEntities']?_0x98394a(_0x7c790f):_0x268a55(_0x7c790f)),_0x7c790f;}(_0x353734,_0x2455e3);}}const _0x4740f1=new Set(['mi','mo','mn','ms','mtext','annotation-xml','foreignObject','desc','title']),_0xd1b80e=new Set(['svg','math']);function _0x2fcf79(_0x25c759){return Array['isArray'](_0x25c759)?_0x25c759['map'](_0x2fcf79)['join'](''):_0x224113(_0x25c759)&&!_0x276d1f(_0x25c759)?_0x2fcf79(_0x25c759['children']):_0xea358(_0x25c759)?_0x25c759['data']:'';}function _0x515b51(_0x2406b7){return _0x2406b7['parent']||null;}function _0xa04271(_0x5eb03f){if(_0x5eb03f['prev']&&(_0x5eb03f['prev']['next']=_0x5eb03f['next']),_0x5eb03f['next']&&(_0x5eb03f['next']['prev']=_0x5eb03f['prev']),_0x5eb03f['parent']){const _0x86d9a9=_0x5eb03f['parent']['children'],_0x3e7eef=_0x86d9a9['lastIndexOf'](_0x5eb03f);_0x3e7eef>=0x0&&_0x86d9a9['splice'](_0x3e7eef,0x1);}_0x5eb03f['next']=null,_0x5eb03f['prev']=null,_0x5eb03f['parent']=null;}function _0x44ab55(_0x17727f,_0x42988e){const _0x41ad3b=_0x42988e['prev']=_0x17727f['prev'];_0x41ad3b&&(_0x41ad3b['next']=_0x42988e);const _0x38eb8d=_0x42988e['next']=_0x17727f['next'];_0x38eb8d&&(_0x38eb8d['prev']=_0x42988e);const _0x2d7b54=_0x42988e['parent']=_0x17727f['parent'];if(_0x2d7b54){const _0x5d41bc=_0x2d7b54['children'];_0x5d41bc[_0x5d41bc['lastIndexOf'](_0x17727f)]=_0x42988e,_0x17727f['parent']=null;}}function _0x254ddf(_0x2f507b,_0x4e1a84){if(_0xa04271(_0x4e1a84),_0x4e1a84['next']=null,_0x4e1a84['parent']=_0x2f507b,_0x2f507b['children']['push'](_0x4e1a84)>0x1){const _0x2982cc=_0x2f507b['children'][_0x2f507b['children']['length']-0x2];_0x2982cc['next']=_0x4e1a84,_0x4e1a84['prev']=_0x2982cc;}else _0x4e1a84['prev']=null;}function _0x1fddb5(_0x3a0c0c,_0x336135){_0xa04271(_0x336135);const {parent:_0x59910b}=_0x3a0c0c,_0x196cf4=_0x3a0c0c['next'];if(_0x336135['next']=_0x196cf4,_0x336135['prev']=_0x3a0c0c,_0x3a0c0c['next']=_0x336135,_0x336135['parent']=_0x59910b,_0x196cf4){if(_0x196cf4['prev']=_0x336135,_0x59910b){const _0x2a7b53=_0x59910b['children'];_0x2a7b53['splice'](_0x2a7b53['lastIndexOf'](_0x196cf4),0x0,_0x336135);}}else _0x59910b&&_0x59910b['children']['push'](_0x336135);}function _0x530bae(_0x2362e6,_0x35be26){if(_0xa04271(_0x35be26),_0x35be26['parent']=_0x2362e6,_0x35be26['prev']=null,0x1!==_0x2362e6['children']['unshift'](_0x35be26)){const _0x29d859=_0x2362e6['children'][0x1];_0x29d859['prev']=_0x35be26,_0x35be26['next']=_0x29d859;}else _0x35be26['next']=null;}function _0x419b97(_0x35bfb4,_0x3ec8ce){_0xa04271(_0x3ec8ce);const {parent:_0x2922e2}=_0x35bfb4;if(_0x2922e2){const _0x380f18=_0x2922e2['children'];_0x380f18['splice'](_0x380f18['indexOf'](_0x35bfb4),0x0,_0x3ec8ce);}_0x35bfb4['prev']&&(_0x35bfb4['prev']['next']=_0x3ec8ce),_0x3ec8ce['parent']=_0x2922e2,_0x3ec8ce['prev']=_0x35bfb4['prev'],_0x3ec8ce['next']=_0x35bfb4,_0x35bfb4['prev']=_0x3ec8ce;}function _0x53fd5e(_0x238460,_0x51f887,_0x517948=!0x0){const _0x285456=Array['isArray'](_0x51f887)?_0x51f887:[_0x51f887];for(let _0x127f16=0x0;_0x127f16<_0x285456['length'];_0x127f16++){const _0x13b8da=_0x285456[_0x127f16];if(_0x49789e(_0x13b8da)&&_0x238460(_0x13b8da))return _0x13b8da;if(_0x517948&&_0x224113(_0x13b8da)&&_0x13b8da['children']['length']>0x0){const _0x5c7bf6=_0x53fd5e(_0x238460,_0x13b8da['children'],!0x0);if(_0x5c7bf6)return _0x5c7bf6;}}return null;}function _0x2a9e84(_0x8df4fd,_0x534568){const _0x48da11=[],_0x2a9ede=[Array['isArray'](_0x534568)?_0x534568:[_0x534568]],_0x415196=[0x0];for(;;){if(_0x415196[0x0]>=_0x2a9ede[0x0]['length']){if(0x1===_0x2a9ede['length'])return _0x48da11;_0x2a9ede['shift'](),_0x415196['shift']();continue;}const _0x3a83cf=_0x2a9ede[0x0][_0x415196[0x0]++];_0x49789e(_0x3a83cf)&&_0x8df4fd(_0x3a83cf)&&_0x48da11['push'](_0x3a83cf),_0x224113(_0x3a83cf)&&_0x3a83cf['children']['length']>0x0&&(_0x415196['unshift'](0x0),_0x2a9ede['unshift'](_0x3a83cf['children']));}}function tl(_0x52018b,_0x1132d4){return function(_0x26a543,_0x55cd2d){const _0x9c308a=new _0x1ae001(void 0x0,_0x55cd2d);return new tc(_0x9c308a,_0x55cd2d)['end'](_0x26a543),_0x9c308a['root'];}(_0x52018b,_0x1132d4);}function _0x2149a1(_0x340446,_0x5be203){return _0x1302b8(_0x340446,_0x5be203);}function _0x26a4b1(_0x4d6e09,_0x38024e,_0xbc76c){const _0x2c611f=null!==_0x38024e?_0x10da1f=>_0x10da1f['attribs'][_0x4d6e09]===_0x38024e:_0x31585e=>Boolean(_0x31585e['attribs'][_0x4d6e09]);return _0x53fd5e(_0x4971e8=>_0x49789e(_0x4971e8)&&_0x2c611f(_0x4971e8),_0xbc76c);}function _0x30dc4f(_0x210007,_0x40f72b,_0x57feb8){const _0x53f648=null!==_0x40f72b?_0x1e9383=>_0x1e9383['attribs'][_0x210007]===_0x40f72b:_0x2c53c6=>Boolean(_0x2c53c6['attribs'][_0x210007]);return _0x2a9e84(_0x586da6=>_0x49789e(_0x586da6)&&_0x53f648(_0x586da6),_0x57feb8);}function _0x24dcc6(_0x4257f4){return _0x2a9e84(_0x4f49d4=>_0x49789e(_0x4f49d4)&&function(_0x517c7f){const _0x4c3539=_0x517c7f['toLowerCase']();return'script'===_0x4c3539||'style'===_0x4c3539||_0x4c3539['includes']('-');}(_0x4f49d4['name']),_0x4257f4);}function _0x2a0d60(_0xc0a2d0){return function(_0x10b607,_0x40c014,_0x36cfad,_0x578e79){const _0x303f75=[],_0x5089f9=[Array['isArray'](_0x40c014)?_0x40c014:[_0x40c014]],_0x3e915b=[0x0];for(;;){if(_0x3e915b[0x0]>=_0x5089f9[0x0]['length']){if(0x1===_0x3e915b['length'])return _0x303f75;_0x5089f9['shift'](),_0x3e915b['shift']();continue;}const _0x54c901=_0x5089f9[0x0][_0x3e915b[0x0]++];if(_0x10b607(_0x54c901)&&(_0x303f75['push'](_0x54c901),--_0x578e79<=0x0))return _0x303f75;_0x36cfad&&_0x224113(_0x54c901)&&_0x54c901['children']['length']>0x0&&(_0x3e915b['unshift'](0x0),_0x5089f9['unshift'](_0x54c901['children']));}}(_0x3a103d=>_0x276d1f(_0x3a103d),_0xc0a2d0,!0x0,0x1/0x0);}function _0x4747ee(_0x449548,_0x521c40){return _0x449548&&_0x49789e(_0x449548)?_0x449548['attribs'][_0x521c40]:null;}function _0x137b1d(_0x57ddb0,_0x4b55de,_0x8ed9e7){_0x49789e(_0x57ddb0)&&(null===_0x8ed9e7?delete _0x57ddb0['attribs'][_0x4b55de]:_0x57ddb0['attribs'][_0x4b55de]=_0x8ed9e7);}function _0x5b3de1(_0xd02ef4,_0x44b699,_0x58385c){const _0x3d9c38=_0x44b699['cloneNode'](!0x0);'beforebegin'===_0x58385c?_0x419b97(_0xd02ef4,_0x3d9c38):'afterbegin'===_0x58385c?_0x530bae(_0xd02ef4,_0x3d9c38):'beforeend'===_0x58385c?_0x254ddf(_0xd02ef4,_0x3d9c38):'afterend'===_0x58385c&&_0x1fddb5(_0xd02ef4,_0x3d9c38);}function _0x450ce0(_0x49cc0d){const _0x3c04ff=[];let _0x36bfb4=_0x49cc0d;for(;_0x36bfb4;)_0x36bfb4=_0x515b51(_0x36bfb4),_0x36bfb4&&_0x3c04ff['push'](_0x36bfb4);return _0x3c04ff;}function _0x2c8fbf(_0x338dc2){return _0x338dc2['replace'](/^\s+/gm,'')['replace'](/\s+$/gm,'')['replace'](/\n*/g,'')['replace'](/\s+/g,'\x20')['replace'](/>\s*</g,'><');}function _0x1648d6(_0x3a3d90){let _0x283512=0x0;for(;_0x3a3d90['parentNode'];)_0x3a3d90=_0x3a3d90['parentNode'],_0x283512++;return _0x283512;}function _0x917812(_0x2c91e0){const _0x23d59f=[];let _0x5d092a=_0x2c91e0['nextSibling'];for(;_0x5d092a;)_0x23d59f['push'](_0x5d092a),_0x5d092a=_0x5d092a['nextSibling'];_0x23d59f['forEach'](_0x2c11ae=>{_0xa04271(_0x2c11ae);});}const _0x2ca493=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x7ab1d1=class extends _0x2ca493{['_generateUid'];['_uidCounter']=0x0;['_touchedNodesState']={'newIds':[],'modifiedIds':[],'removedIds':[],'invalidIds':[],'lastTouchedId':null,'rescuedNewIds':new Set()};['_existingDataIds']=new Set();['_referencedExistingIds']=new Set();constructor(_0x5a6432){super(),this['_generateUid']=_0x5a6432||(()=>'e'+String(this['_uidCounter']++));}['merge'](_0x35a309,_0x380113,_0x8823ef){this['_uidCounter']=0x0;const _0x384f6c=_0x35a309['cloneNode'](!0x0);_0x5850e2(_0x380113,_0x384f6c);const _0x1f14ac=_0x384f6c['childNodes'],_0x253718=Array['from'](_0x1f14ac)['filter'](_0x3d25f7=>!(0x3===_0x3d25f7['nodeType']&&''===_0x2149a1(_0x3d25f7)['trim']())),_0x3f42d5=_0x253718['length'];this['_existingDataIds']=new Set(_0x30dc4f('data-id',null,_0x380113)['map'](_0x50fad3=>_0x4747ee(_0x50fad3,'data-id'))['filter'](_0x59d0c2=>!!_0x59d0c2));for(const _0x3afd66 of _0x253718)_0x3afd66&&_0x49789e(_0x3afd66)&&void 0x0===_0x3afd66['attribs']['data-id']&&_0x137b1d(_0x3afd66,'data-id','new-element');if(_0x30dc4f('data-id',null,_0x384f6c)['forEach'](_0x1d2b03=>{const _0x527a81=_0x4747ee(_0x1d2b03,'data-id');'new-element'===_0x527a81||this['_existingDataIds']['has'](_0x527a81)||_0x137b1d(_0x1d2b03,'data-id','new-element');}),0x0===_0x380113['childNodes']['length']){const _0x109263=[];return _0x30dc4f('data-id','new-element',_0x384f6c)['forEach'](_0x55ce82=>{const _0x3123d4=this['_generateUid']();_0x137b1d(_0x55ce82,'data-id',_0x3123d4),_0x109263['push'](_0x3123d4);}),this['_removeSpecialComments'](_0x384f6c),{'parsedContent':_0x384f6c,'newNodeIds':_0x109263,'modifiedNodeIds':[],'removedNodeIds':[]};}this['_touchedNodesState']['newIds']=[],this['_touchedNodesState']['modifiedIds']=[],this['_touchedNodesState']['removedIds']=[],this['_touchedNodesState']['invalidIds']=[],this['_touchedNodesState']['lastTouchedId']=null,this['_touchedNodesState']['rescuedNewIds']=new Set(),this['_referencedExistingIds']=new Set();let _0x12bf46=-0x1,_0x5e21c3=!0x1;for(let _0x4abf60=0x0;_0x4abf60<_0x3f42d5;_0x4abf60++){const _0x51bd0c=_0x253718[_0x4abf60],_0x2b59da=_0x253718[_0x4abf60+0x1];if(this['_isNewNode'](_0x51bd0c)){if(-0x1===_0x12bf46&&(_0x12bf46=_0x4abf60),this['_markWrappedElements'](_0x51bd0c),!this['_isNewNode'](_0x2b59da)){const [_0x5d891a,_0x819d6a]=this['_findReferenceNode'](_0x51bd0c,_0x5e21c3,_0x380113);if(_0x5d891a){const _0x245091=Array['from'](_0x253718)['slice'](_0x12bf46,_0x4abf60+0x1);this['_insertNodes'](_0x5d891a,_0x245091,_0x819d6a),_0x12bf46=-0x1;}}}else{if(this['_isExistingContentComment'](_0x51bd0c))_0x5e21c3=!0x0;else{if(this['_isExistingNode'](_0x51bd0c)){const _0x5b8813=_0x4747ee(_0x51bd0c,'data-id');if(_0x5b8813&&this['_existingDataIds']['has'](_0x5b8813)){this['_referencedExistingIds']['add'](_0x5b8813);const _0x293c47=_0x26a4b1('data-id',_0x5b8813,_0x380113);this['_replaceNode'](_0x293c47,_0x51bd0c);}}else{if(_0x1352ef(_0x51bd0c)){const _0x485419=_0x43c03a(_0x51bd0c);_0x26a4b1('data-id',_0x485419,_0x384f6c)||this['_touchedNodesState']['removedIds']['push'](_0x485419);}}}}}for(const _0x15acf6 of this['_touchedNodesState']['removedIds']){const _0xb76c73=_0x26a4b1('data-id',_0x15acf6,_0x380113);_0xb76c73&&(this['_rescueUnwrappedElements'](_0xb76c73),this['_removeNode'](_0xb76c73,_0x15acf6,_0x8823ef));}if(_0x30dc4f('data-id','new-element',_0x380113)['forEach'](_0x25c04d=>{const _0x5978cd=this['_getUid'](_0x25c04d);_0x137b1d(_0x25c04d,'data-id',_0x5978cd),this['_touchedNodesState']['newIds']['push'](_0x5978cd);}),this['_removeSpecialComments'](_0x380113),_0x8823ef&&_0x8823ef['cutAfterUnstable']){const _0x40b10d=this['_findLastConfirmationPoint'](_0x253718),_0x38877b=this['_getLastStableElement'](_0x380113,_0x40b10d);this['_markUnstableElements'](_0x380113,_0x38877b);}if(this['_processWrappedElements'](_0x380113,_0x8823ef),_0x8823ef&&_0x8823ef['cutAfterUnstable']&&this['_touchedNodesState']['lastTouchedId']){const _0x1ebe80=_0x30dc4f('data-id',this['_touchedNodesState']['lastTouchedId'],_0x380113);let _0x2b2865=_0x1ebe80[_0x1ebe80['length']-0x1];for(;_0x2b2865;)_0x917812(_0x2b2865),_0x2b2865=_0x2b2865['parentNode'];}return{'parsedContent':_0x380113,'newNodeIds':this['_touchedNodesState']['newIds'],'modifiedNodeIds':this['_touchedNodesState']['modifiedIds'],'removedNodeIds':this['_touchedNodesState']['removedIds']};}['_insertNodes'](_0x5debf9,_0x42953f,_0x58bb39){for(const _0x11f3bc of _0x42953f){const _0x1ff4f7=this['_getUid'](_0x11f3bc);_0x137b1d(_0x11f3bc,'data-id',_0x1ff4f7),this['_touchedNodesState']['newIds']['push'](_0x1ff4f7),this['_touchedNodesState']['lastTouchedId']=_0x1ff4f7;}const _0x47c1ad='afterbegin'===_0x58bb39||'afterend'===_0x58bb39?_0x42953f['reverse']():_0x42953f;for(const _0x375e2a of _0x47c1ad)_0x5b3de1(_0x5debf9,_0x375e2a,_0x58bb39);}['_replaceNode'](_0x281181,_0x1e3dfa){if(!_0x281181)return;if(_0x253951=_0x1e3dfa,_0x2c8fbf(_0x2149a1(_0x281181))===_0x2c8fbf(_0x2149a1(_0x253951)))return;var _0x253951;const _0x5a3bce=_0x4747ee(_0x281181,'data-id');this['_touchedNodesState']['modifiedIds']['push'](_0x5a3bce),this['_touchedNodesState']['lastTouchedId']=_0x5a3bce,_0x44ab55(_0x281181,_0x1e3dfa['cloneNode'](!0x0));}['_removeNode'](_0x466aa2,_0x5462d8,_0x2306ce){if(_0x2306ce&&_0x2306ce['replaceRemovedWith']){this['_touchedNodesState']['lastTouchedId']=_0x5462d8;const _0x45d070=_0x2306ce['replaceRemovedWith']['cloneNode'](!0x0);_0x137b1d(_0x45d070,'data-id',_0x5462d8),_0x137b1d(_0x45d070,'data-removed','true'),_0x44ab55(_0x466aa2,_0x45d070);}else _0xa04271(_0x466aa2);}['_findReferenceNode'](_0x2793c9,_0x4cadbb,_0x3ba08c){const _0x27ac6c=this['_findPrevElementWithDataId'](_0x2793c9,!0x1);if(_0x27ac6c){const _0x55a383=_0x43c03a(_0x27ac6c),_0x54cfa3=_0x26a4b1('data-id',_0x55a383,_0x3ba08c);if(_0x54cfa3)return[_0x54cfa3,'afterend'];this['_touchedNodesState']['invalidIds']['push'](_0x55a383);}const _0x17e320=this['_findNextElementWithDataId'](_0x2793c9,!0x1);if(_0x17e320){const _0x1a22a8=_0x43c03a(_0x17e320),_0x5c197f=_0x26a4b1('data-id',_0x1a22a8,_0x3ba08c);if(_0x5c197f)return[_0x5c197f,'beforebegin'];this['_touchedNodesState']['invalidIds']['push'](_0x1a22a8);}return _0x4cadbb?_0x2793c9['nextSibling']?this['_findFallbackReferenceNode'](_0x2793c9,_0x3ba08c):[_0x3ba08c['childNodes'][_0x3ba08c['childNodes']['length']-0x1],'afterend']:[_0x3ba08c['childNodes'][0x0],'beforebegin'];}['_findFallbackReferenceNode'](_0x49159f,_0x1c5255){const _0x39ed5b=[],_0x50ff27=this['_findPrevElementWithDataId'](_0x49159f,!0x0);if(_0x50ff27){const _0x1e6e44=_0x26a4b1('data-id',_0x43c03a(_0x50ff27),_0x1c5255);_0x1e6e44&&_0x39ed5b['push']([_0x1e6e44,'afterend']);}const _0x24562f=this['_findNextElementWithDataId'](_0x49159f,!0x0);if(_0x24562f){const _0x746bd3=_0x26a4b1('data-id',_0x43c03a(_0x24562f),_0x1c5255);_0x746bd3&&_0x39ed5b['push']([_0x746bd3,'beforebegin']);}return _0x39ed5b['length']>0x1?_0x1648d6(_0x39ed5b[0x0][0x0])<=_0x1648d6(_0x39ed5b[0x1][0x0])?_0x39ed5b[0x0]:_0x39ed5b[0x1]:0x1===_0x39ed5b['length']?_0x39ed5b[0x0]:[_0x1c5255['lastChild'],'afterend'];}['_findNextElementWithDataId'](_0x4bcb6c,_0x27d6ab){let _0x5aa1c1=_0x4bcb6c['nextSibling'],_0x400a63=null,_0x2362bd=!0x1;for(;_0x5aa1c1;){if(_0x276d1f(_0x5aa1c1)){if(_0x1352ef(_0x5aa1c1)&&(_0x400a63=_0x5aa1c1),this['_isExistingContentComment'](_0x5aa1c1)&&_0x27d6ab&&!_0x2362bd){_0x2362bd=!0x0,_0x5aa1c1=_0x5aa1c1['nextSibling'];continue;}break;}const _0x776112=_0x4747ee(_0x5aa1c1,'data-id');if(_0x776112&&'new-element'!==_0x776112&&this['_existingDataIds']['has'](_0x776112)){_0x400a63=_0x5aa1c1;break;}_0x5aa1c1=_0x5aa1c1['nextSibling'];}return _0x400a63;}['_findPrevElementWithDataId'](_0x12d515,_0x4ca5e8){let _0x4cf8c6=_0x12d515['previousSibling'],_0x4e1a0f=null,_0x320675=!0x1;for(;_0x4cf8c6;){if(_0x276d1f(_0x4cf8c6)){if(_0x1352ef(_0x4cf8c6)&&(_0x4e1a0f=_0x4cf8c6),this['_isExistingContentComment'](_0x4cf8c6)&&_0x4ca5e8&&!_0x320675){_0x320675=!0x0,_0x4cf8c6=_0x4cf8c6['previousSibling'];continue;}break;}const _0x343a64=_0x4747ee(_0x4cf8c6,'data-id');if(_0x343a64&&'new-element'!==_0x343a64&&this['_existingDataIds']['has'](_0x343a64)){_0x4e1a0f=_0x4cf8c6;break;}_0x4cf8c6=_0x4cf8c6['previousSibling'];}return _0x4e1a0f;}['_markWrappedElements'](_0x46c880){_0x49789e(_0x46c880)&&_0x30dc4f('data-id',null,_0x46c880)['forEach'](_0xfc17e5=>{this['_isExistingNode'](_0xfc17e5)&&(_0x137b1d(_0xfc17e5,'data-wrapped-id',_0x4747ee(_0xfc17e5,'data-id')),_0x137b1d(_0xfc17e5,'data-id',null));});}['_processWrappedElements'](_0x3a7663,_0x1f4797){_0x30dc4f('data-wrapped-id',null,_0x3a7663)['forEach'](_0x3527e6=>{const _0x272e4a=_0x4747ee(_0x3527e6,'data-wrapped-id');if(this['_hasUnstableParent'](_0x3527e6))return;const _0x210fa3=_0x26a4b1('data-id',_0x272e4a,_0x3a7663);_0x137b1d(_0x3527e6,'data-id',_0x272e4a),_0x210fa3&&(this['_removeNode'](_0x210fa3,_0x272e4a,_0x1f4797),this['_touchedNodesState']['removedIds']['push'](_0x272e4a),this['_touchedNodesState']['lastTouchedId']=_0x272e4a);});}['_hasUnstableParent'](_0x21b208){let _0xb42186=_0x21b208['parentNode'];for(;_0xb42186;){if(_0x4747ee(_0xb42186,'data-unstable'))return!0x0;_0xb42186=_0xb42186['parentNode'];}return!0x1;}['_rescueUnwrappedElements'](_0x54cf2e){const _0x12bb9a=new Set(this['_touchedNodesState']['removedIds']),_0x3e3a5e=new Set(this['_touchedNodesState']['newIds']);_0x30dc4f('data-id',null,_0x54cf2e)['forEach'](_0x5926ab=>{const _0x4f3ffe=_0x4747ee(_0x5926ab,'data-id'),_0x4ad75f=!!_0x4f3ffe&&this['_referencedExistingIds']['has'](_0x4f3ffe),_0x13faf8=!!_0x4f3ffe&&_0x3e3a5e['has'](_0x4f3ffe);if(!_0x4f3ffe||!_0x4ad75f&&!_0x13faf8)return;if(_0x12bb9a['has'](_0x4f3ffe))return;let _0x3ef9cf=_0x5926ab['parentNode'],_0x3f27c6=!0x1;for(;_0x3ef9cf;){if(_0x3ef9cf===_0x54cf2e){_0x3f27c6=!0x0;break;}const _0x58c76f=_0x4747ee(_0x3ef9cf,'data-id');if(_0x58c76f&&(this['_referencedExistingIds']['has'](_0x58c76f)||_0x3e3a5e['has'](_0x58c76f)))return;_0x3ef9cf=_0x3ef9cf['parentNode'];}if(_0x3f27c6){if(_0x419b97(_0x54cf2e,_0x5926ab),_0x4ad75f){const _0x4f7325=this['_generateUid'](),_0x5786bf=this['_touchedNodesState']['modifiedIds']['indexOf'](_0x4f3ffe);-0x1!==_0x5786bf&&this['_touchedNodesState']['modifiedIds']['splice'](_0x5786bf,0x1),_0x137b1d(_0x5926ab,'data-unwrapped-id',_0x4f3ffe),_0x137b1d(_0x5926ab,'data-id',_0x4f7325),this['_touchedNodesState']['newIds']['push'](_0x4f7325),this['_touchedNodesState']['rescuedNewIds']['add'](_0x4f7325),this['_touchedNodesState']['lastTouchedId']=_0x4f7325;}else this['_touchedNodesState']['rescuedNewIds']['add'](_0x4f3ffe),this['_touchedNodesState']['lastTouchedId']=_0x4f3ffe;}});}['_getUid'](_0x513f83){return this['_isExistingNode'](_0x513f83)?_0x4747ee(_0x513f83,'data-id'):this['_generateUid']();}['_removeSpecialComments'](_0x447907){_0x2a0d60(_0x447907)['filter'](_0x2a3b3e=>_0x1352ef(_0x2a3b3e)||this['_isExistingContentComment'](_0x2a3b3e))['forEach'](_0x5df781=>{_0xa04271(_0x5df781);});}['_findLastConfirmationPoint'](_0x3855e2){let _0x546ba9=null,_0xea8b7a=null,_0xddc94b=null,_0x2df1ac=null;const _0x195b93=_0x2dfdda=>{_0x2dfdda&&(_0x546ba9=_0x2dfdda),_0xddc94b=null,_0x2df1ac=null;};for(let _0xc58ebb=0x0;_0xc58ebb<_0x3855e2['length'];_0xc58ebb++){const _0x30f401=_0x3855e2[_0xc58ebb];if(this['_isExistingContentComment'](_0x30f401)){_0x195b93(_0xea8b7a);continue;}if(_0x49789e(_0x30f401)){const _0x160d1b=_0x4747ee(_0x30f401,'data-id'),_0x34a68a=_0xc58ebb===_0x3855e2['length']-0x1;if(_0x160d1b&&'new-element'!==_0x160d1b&&this['_touchedNodesState']['modifiedIds']['includes'](_0x160d1b)&&!_0x34a68a){_0x195b93(_0x160d1b),_0xea8b7a=_0x160d1b;continue;}}let _0x3cea87=null;const _0x574107=_0x43c03a(_0x30f401);if(_0x574107&&this['_touchedNodesState']['rescuedNewIds']['has'](_0x574107))_0xea8b7a=_0x574107;else{if(_0x574107&&this['_touchedNodesState']['newIds']['includes'](_0x574107))_0x3cea87='N';else{if(!_0x1352ef(_0x30f401))continue;_0x3cea87='R';}_0x3cea87===_0x2df1ac||null===_0x2df1ac?_0x2df1ac=_0x3cea87:null!==_0xddc94b?(_0x195b93(_0xea8b7a),_0x2df1ac=_0x3cea87):(_0xddc94b=_0x2df1ac,_0x2df1ac=_0x3cea87),_0xea8b7a=_0x574107;}}const _0x64ee5c=_0x3855e2[_0x3855e2['length']-0x1];return _0x64ee5c&&!_0x49789e(_0x64ee5c)&&!_0x1352ef(_0x64ee5c)&&_0xea8b7a&&_0x195b93(_0xea8b7a),_0x546ba9;}['_getLastStableElement'](_0x1bf6c7,_0x4f505a){if(!_0x4f505a)return null;const _0x2951ee=_0x26a4b1('data-id',_0x4f505a,_0x1bf6c7);if(!_0x2951ee)return null;const _0x36d30a=[_0x2951ee,..._0x450ce0(_0x2951ee)]['at'](-0x2);if(_0x36d30a===_0x2951ee)return _0x2951ee;let _0x32f0fb=_0x36d30a['previousSibling'];for(;_0x32f0fb&&!_0x49789e(_0x32f0fb);)_0x32f0fb=_0x32f0fb['previousSibling'];return _0x32f0fb;}['_markUnstableElements'](_0x3b9829,_0x35faa2){const _0x10808f=new Set([...this['_touchedNodesState']['newIds'],...this['_touchedNodesState']['modifiedIds'],...this['_touchedNodesState']['removedIds']]);let _0x5bff8c=_0x35faa2?_0x35faa2['nextSibling']:_0x3b9829['firstChild'];for(;_0x5bff8c;)_0x49789e(_0x5bff8c)&&(_0x10808f['has'](_0x4747ee(_0x5bff8c,'data-id'))||_0x30dc4f('data-id',null,_0x5bff8c)['some'](_0x377b5d=>_0x10808f['has'](_0x4747ee(_0x377b5d,'data-id'))))&&_0x137b1d(_0x5bff8c,'data-unstable','true'),_0x5bff8c=_0x5bff8c['nextSibling'];}['_isNewNode'](_0x2c41ac){return Boolean('new-element'===_0x4747ee(_0x2c41ac,'data-id'));}['_isExistingNode'](_0x1897e8){return Boolean((_0x4747ee(_0x1897e8,'data-id')||'')['length']>0x0&&'new-element'!==_0x4747ee(_0x1897e8,'data-id'));}['_isExistingContentComment'](_0x37e7d0){return Boolean(_0x276d1f(_0x37e7d0)&&_0x2149a1(_0x37e7d0)['match'](/\s*existing[\s*-](content|document)\s*/g));}};function _0x1352ef(_0x2f7360){return!!_0x2f7360&&Boolean(_0x276d1f(_0x2f7360)&&_0x2149a1(_0x2f7360)['match'](/removed[\s*-]data-id="[^"]+"/));}function _0x43c03a(_0x295bdc){if(!_0x295bdc)return null;if(_0x49789e(_0x295bdc))return _0x4747ee(_0x295bdc,'data-id')??null;if(_0x276d1f(_0x295bdc)){const _0x30f5f7=_0x2149a1(_0x295bdc)['match'](/removed[\s*-]data-id="([^"]+)"/);if(_0x30f5f7&&_0x30f5f7[0x1])return _0x30f5f7[0x1];}return null;}function _0x5850e2(_0x1ca495,_0x2921c3){const _0x5146df=new Map();for(const _0x21c42f of _0x24dcc6(_0x1ca495))_0x5146df['set'](_0x4747ee(_0x21c42f,'data-id'),_0x21c42f);const _0x33d232=new Set();for(const _0xf34c34 of _0x24dcc6(_0x2921c3)){const _0x475844=_0x4747ee(_0xf34c34,'data-id'),_0x442803=_0x475844?_0x5146df['get'](_0x475844):void 0x0;_0x442803?(_0x44ab55(_0xf34c34,_0x425e77(_0x442803,!0x0)),_0x33d232['add'](_0x475844)):_0xa04271(_0xf34c34);}for(const _0xef5941 of _0x2a0d60(_0x2921c3))_0x1352ef(_0xef5941)&&_0x5146df['has'](_0x43c03a(_0xef5941))&&_0xa04271(_0xef5941);const _0x34baa5=new Set(_0x30dc4f('data-id',null,_0x2921c3)['map'](_0x1471e2=>_0x4747ee(_0x1471e2,'data-id')));for(const [_0x25ad65,_0x4abc7d]of _0x5146df){if(_0x33d232['has'](_0x25ad65))continue;let _0x530658=_0x4abc7d['parent'],_0x7a2ccf=null;for(;_0x530658&&_0x49789e(_0x530658);){const _0xdc343b=_0x4747ee(_0x530658,'data-id');if(_0xdc343b&&_0x34baa5['has'](_0xdc343b)){_0x7a2ccf=_0xdc343b;break;}_0x530658=_0x530658['parent'];}if(!_0x7a2ccf)continue;const _0xa9ec65=_0x26a4b1('data-id',_0x7a2ccf,_0x2921c3);_0xa9ec65&&_0x254ddf(_0xa9ec65,_0x425e77(_0x4abc7d,!0x0));}}const _0xd39b8e='object'==typeof self?self:globalThis,_0x596dea=(_0x122a49,_0x3f4c0d)=>{switch(_0x122a49){case'Function':case'SharedWorker':case'Worker':case'eval':case'setInterval':case'setTimeout':throw new TypeError('unable\x20to\x20deserialize\x20'+_0x122a49);}return new _0xd39b8e[_0x122a49](_0x3f4c0d);},_0x424330=_0x49129b=>((_0x5df998,_0x4a5657)=>{const _0x3f9022=(_0xbf3c38,_0x549111)=>(_0x5df998['set'](_0x549111,_0xbf3c38),_0xbf3c38),_0x34e470=_0x2e853b=>{if(_0x5df998['has'](_0x2e853b))return _0x5df998['get'](_0x2e853b);const [_0x5799a1,_0x5258bb]=_0x4a5657[_0x2e853b];switch(_0x5799a1){case 0x0:case-0x1:return _0x3f9022(_0x5258bb,_0x2e853b);case 0x1:{const _0x43cb78=_0x3f9022([],_0x2e853b);for(const _0x2e0e12 of _0x5258bb)_0x43cb78['push'](_0x34e470(_0x2e0e12));return _0x43cb78;}case 0x2:{const _0x2f4891=_0x3f9022({},_0x2e853b);for(const [_0x4c79c8,_0x48195e]of _0x5258bb)_0x2f4891[_0x34e470(_0x4c79c8)]=_0x34e470(_0x48195e);return _0x2f4891;}case 0x3:return _0x3f9022(new Date(_0x5258bb),_0x2e853b);case 0x4:{const {source:_0x108cab,flags:_0x43299d}=_0x5258bb;return _0x3f9022(new RegExp(_0x108cab,_0x43299d),_0x2e853b);}case 0x5:{const _0x586776=_0x3f9022(new Map(),_0x2e853b);for(const [_0x54cc7a,_0x53edd4]of _0x5258bb)_0x586776['set'](_0x34e470(_0x54cc7a),_0x34e470(_0x53edd4));return _0x586776;}case 0x6:{const _0x2d55c7=_0x3f9022(new Set(),_0x2e853b);for(const _0x40b27d of _0x5258bb)_0x2d55c7['add'](_0x34e470(_0x40b27d));return _0x2d55c7;}case 0x7:{const {name:_0x36bcc4,message:_0x6c1475}=_0x5258bb;return _0x3f9022(_0x596dea(_0x36bcc4,_0x6c1475),_0x2e853b);}case 0x8:return _0x3f9022(BigInt(_0x5258bb),_0x2e853b);case'BigInt':return _0x3f9022(Object(BigInt(_0x5258bb)),_0x2e853b);case'ArrayBuffer':return _0x3f9022(new Uint8Array(_0x5258bb)['buffer'],_0x5258bb);case'DataView':{const {buffer:_0x5c5e87}=new Uint8Array(_0x5258bb);return _0x3f9022(new DataView(_0x5c5e87),_0x5258bb);}}return _0x3f9022(_0x596dea(_0x5799a1,_0x5258bb),_0x2e853b);};return _0x34e470;})(new Map(),_0x49129b)(0x0),_0x219bbe='',{toString:_0x118893}={},{keys:_0x5be07f}=Object,_0x54ece3=_0x3f3308=>{const _0x1eb5dc=typeof _0x3f3308;if('object'!==_0x1eb5dc||!_0x3f3308)return[0x0,_0x1eb5dc];const _0x383982=_0x118893['call'](_0x3f3308)['slice'](0x8,-0x1);switch(_0x383982){case'Array':return[0x1,_0x219bbe];case'Object':return[0x2,_0x219bbe];case'Date':return[0x3,_0x219bbe];case'RegExp':return[0x4,_0x219bbe];case'Map':return[0x5,_0x219bbe];case'Set':return[0x6,_0x219bbe];case'DataView':return[0x1,_0x383982];}return _0x383982['includes']('Array')?[0x1,_0x383982]:_0x383982['includes']('Error')?[0x7,_0x383982]:[0x2,_0x383982];},_0x3b8d66=([_0x3f73ca,_0x4c49c4])=>0x0===_0x3f73ca&&('function'===_0x4c49c4||'symbol'===_0x4c49c4),_0x4ce84f=(_0x155c03,{json:_0x1a7a2f,lossy:_0x318663}={})=>{const _0x307fee=[];return((_0x53bfdc,_0x2ba96f,_0x51d687,_0x16170e)=>{const _0x2e80be=(_0x85376a,_0x4755f5)=>{const _0x4579f9=_0x16170e['push'](_0x85376a)-0x1;return _0x51d687['set'](_0x4755f5,_0x4579f9),_0x4579f9;},_0x5ab73c=_0x3122c9=>{if(_0x51d687['has'](_0x3122c9))return _0x51d687['get'](_0x3122c9);let [_0x29eec6,_0x3a43d9]=_0x54ece3(_0x3122c9);switch(_0x29eec6){case 0x0:{let _0x2b9a98=_0x3122c9;switch(_0x3a43d9){case'bigint':_0x29eec6=0x8,_0x2b9a98=_0x3122c9['toString']();break;case'function':case'symbol':if(_0x53bfdc)throw new TypeError('unable\x20to\x20serialize\x20'+_0x3a43d9);_0x2b9a98=null;break;case'undefined':return _0x2e80be([-0x1],_0x3122c9);}return _0x2e80be([_0x29eec6,_0x2b9a98],_0x3122c9);}case 0x1:{if(_0x3a43d9){let _0x2fe034=_0x3122c9;return'DataView'===_0x3a43d9?_0x2fe034=new Uint8Array(_0x3122c9['buffer']):'ArrayBuffer'===_0x3a43d9&&(_0x2fe034=new Uint8Array(_0x3122c9)),_0x2e80be([_0x3a43d9,[..._0x2fe034]],_0x3122c9);}const _0x2d8fef=[],_0x18604f=_0x2e80be([_0x29eec6,_0x2d8fef],_0x3122c9);for(const _0x21bd31 of _0x3122c9)_0x2d8fef['push'](_0x5ab73c(_0x21bd31));return _0x18604f;}case 0x2:{if(_0x3a43d9)switch(_0x3a43d9){case'BigInt':return _0x2e80be([_0x3a43d9,_0x3122c9['toString']()],_0x3122c9);case'Boolean':case'Number':case'String':return _0x2e80be([_0x3a43d9,_0x3122c9['valueOf']()],_0x3122c9);}if(_0x2ba96f&&'toJSON'in _0x3122c9)return _0x5ab73c(_0x3122c9['toJSON']());const _0x502e4d=[],_0x5ca1fb=_0x2e80be([_0x29eec6,_0x502e4d],_0x3122c9);for(const _0x208a1e of _0x5be07f(_0x3122c9))!_0x53bfdc&&_0x3b8d66(_0x54ece3(_0x3122c9[_0x208a1e]))||_0x502e4d['push']([_0x5ab73c(_0x208a1e),_0x5ab73c(_0x3122c9[_0x208a1e])]);return _0x5ca1fb;}case 0x3:return _0x2e80be([_0x29eec6,_0x3122c9['toISOString']()],_0x3122c9);case 0x4:{const {source:_0x56364b,flags:_0x41082d}=_0x3122c9;return _0x2e80be([_0x29eec6,{'source':_0x56364b,'flags':_0x41082d}],_0x3122c9);}case 0x5:{const _0x57ca60=[],_0x5d475d=_0x2e80be([_0x29eec6,_0x57ca60],_0x3122c9);for(const [_0x53e3d9,_0x110daa]of _0x3122c9)(_0x53bfdc||!_0x3b8d66(_0x54ece3(_0x53e3d9))&&!_0x3b8d66(_0x54ece3(_0x110daa)))&&_0x57ca60['push']([_0x5ab73c(_0x53e3d9),_0x5ab73c(_0x110daa)]);return _0x5d475d;}case 0x6:{const _0x2dcc39=[],_0x4d9767=_0x2e80be([_0x29eec6,_0x2dcc39],_0x3122c9);for(const _0x188155 of _0x3122c9)!_0x53bfdc&&_0x3b8d66(_0x54ece3(_0x188155))||_0x2dcc39['push'](_0x5ab73c(_0x188155));return _0x4d9767;}}const {message:_0x18142b}=_0x3122c9;return _0x2e80be([_0x29eec6,{'name':_0x3a43d9,'message':_0x18142b}],_0x3122c9);};return _0x5ab73c;})(!(_0x1a7a2f||_0x318663),!!_0x1a7a2f,new Map(),_0x307fee)(_0x155c03),_0x307fee;};var _0x32cfbe='function'==typeof structuredClone?(_0x5c6aa1,_0x1a47e8)=>_0x1a47e8&&('json'in _0x1a47e8||'lossy'in _0x1a47e8)?_0x424330(_0x4ce84f(_0x5c6aa1,_0x1a47e8)):structuredClone(_0x5c6aa1):(_0x1c2cec,_0x161124)=>_0x424330(_0x4ce84f(_0x1c2cec,_0x161124));const _0x22cdcb=_0x5109fa('end'),_0x50d53f=_0x5109fa('start');function _0x5109fa(_0x63f57f){return function(_0x42b4fb){const _0x51d46d=_0x42b4fb&&_0x42b4fb['position']&&_0x42b4fb['position'][_0x63f57f]||{};if('number'==typeof _0x51d46d['line']&&_0x51d46d['line']>0x0&&'number'==typeof _0x51d46d['column']&&_0x51d46d['column']>0x0)return{'line':_0x51d46d['line'],'column':_0x51d46d['column'],'offset':'number'==typeof _0x51d46d['offset']&&_0x51d46d['offset']>-0x1?_0x51d46d['offset']:void 0x0};};}const _0x1ae694=['ariaDescribedBy','ariaLabel','ariaLabelledBy'],_0x4836ab={'ancestors':{'tbody':['table'],'td':['table'],'th':['table'],'thead':['table'],'tfoot':['table'],'tr':['table']},'attributes':{'a':[..._0x1ae694,'dataFootnoteBackref','dataFootnoteRef',['className','data-footnote-backref'],'href'],'blockquote':['cite'],'code':[['className',/^language-./]],'del':['cite'],'div':['itemScope','itemType'],'dl':[..._0x1ae694],'h2':[['className','sr-only']],'img':[..._0x1ae694,'longDesc','src'],'input':[['disabled',!0x0],['type','checkbox']],'ins':['cite'],'li':[['className','task-list-item']],'ol':[..._0x1ae694,['className','contains-task-list']],'q':['cite'],'section':['dataFootnotes',['className','footnotes']],'source':['srcSet'],'summary':[..._0x1ae694],'table':[..._0x1ae694],'ul':[..._0x1ae694,['className','contains-task-list']],'*':['abbr','accept','acceptCharset','accessKey','action','align','alt','axis','border','cellPadding','cellSpacing','char','charOff','charSet','checked','clear','colSpan','color','cols','compact','coords','dateTime','dir','encType','frame','hSpace','headers','height','hrefLang','htmlFor','id','isMap','itemProp','label','lang','maxLength','media','method','multiple','name','noHref','noShade','noWrap','open','prompt','readOnly','rev','rowSpan','rows','rules','scope','selected','shape','size','span','start','summary','tabIndex','title','useMap','vAlign','value','width']},'clobber':['ariaDescribedBy','ariaLabelledBy','id','name'],'clobberPrefix':'user-content-','protocols':{'cite':['http','https'],'href':['http','https','irc','ircs','mailto','xmpp'],'longDesc':['http','https'],'src':['http','https']},'required':{'input':{'disabled':!0x0,'type':'checkbox'}},'strip':['script'],'tagNames':['a','b','blockquote','br','code','dd','del','details','div','dl','dt','em','h1','h2','h3','h4','h5','h6','hr','i','img','input','ins','kbd','li','ol','p','picture','pre','q','rp','rt','ruby','s','samp','section','source','span','strike','strong','sub','summary','sup','table','tbody','td','tfoot','th','thead','tr','tt','ul','var']},_0x193ac9={}['hasOwnProperty'];function _0x59b6f3(_0x22d611,_0x38cd52){if(_0x38cd52&&'object'==typeof _0x38cd52){const _0x300666=_0x38cd52;switch('string'==typeof _0x300666['type']?_0x300666['type']:''){case'comment':return function(_0x2e463e,_0x12ff7c){if(_0x2e463e['schema']['allowComments']){const _0x44f418='string'==typeof _0x12ff7c['value']?_0x12ff7c['value']:'',_0xac96d2=_0x44f418['indexOf']('-->'),_0x1bb382={'type':'comment','value':_0xac96d2<0x0?_0x44f418:_0x44f418['slice'](0x0,_0xac96d2)};return _0x354933(_0x1bb382,_0x12ff7c),_0x1bb382;}}(_0x22d611,_0x300666);case'doctype':return function(_0x46ee4d,_0x5b4a6a){if(_0x46ee4d['schema']['allowDoctypes']){const _0x4682d3={'type':'doctype'};return _0x354933(_0x4682d3,_0x5b4a6a),_0x4682d3;}}(_0x22d611,_0x300666);case'element':return function(_0x36b297,_0x60897d){const _0x30ce86='string'==typeof _0x60897d['tagName']?_0x60897d['tagName']:'';_0x36b297['stack']['push'](_0x30ce86);const _0x22b036=_0x4dcabf(_0x36b297,_0x60897d['children']),_0x3e91ad=function(_0x203285,_0x320222){const _0x60034=_0x203285['stack'][_0x203285['stack']['length']-0x1],_0x119894=_0x203285['schema']['attributes'],_0x5d0569=_0x203285['schema']['required'],_0x356ff6=_0x119894&&_0x193ac9['call'](_0x119894,_0x60034)?_0x119894[_0x60034]:void 0x0,_0x24fa42=_0x119894&&_0x193ac9['call'](_0x119894,'*')?_0x119894['*']:void 0x0,_0x4360e5=_0x320222&&'object'==typeof _0x320222?_0x320222:{},_0x47dd9e={};let _0x3351c2;for(_0x3351c2 in _0x4360e5)if(_0x193ac9['call'](_0x4360e5,_0x3351c2)){const _0x578634=_0x4360e5[_0x3351c2];let _0x339091=_0x429b27(_0x203285,_0x2dd6bc(_0x356ff6,_0x3351c2),_0x3351c2,_0x578634);null==_0x339091&&(_0x339091=_0x429b27(_0x203285,_0x2dd6bc(_0x24fa42,_0x3351c2),_0x3351c2,_0x578634)),null!=_0x339091&&(_0x47dd9e[_0x3351c2]=_0x339091);}if(_0x5d0569&&_0x193ac9['call'](_0x5d0569,_0x60034)){const _0x34cfc8=_0x5d0569[_0x60034];for(_0x3351c2 in _0x34cfc8)_0x193ac9['call'](_0x34cfc8,_0x3351c2)&&!_0x193ac9['call'](_0x47dd9e,_0x3351c2)&&(_0x47dd9e[_0x3351c2]=_0x34cfc8[_0x3351c2]);}return _0x47dd9e;}(_0x36b297,_0x60897d['properties']);_0x36b297['stack']['pop']();let _0x427286=!0x1;if(_0x30ce86&&'*'!==_0x30ce86&&(!_0x36b297['schema']['tagNames']||_0x36b297['schema']['tagNames']['includes'](_0x30ce86))&&(_0x427286=!0x0,_0x36b297['schema']['ancestors']&&_0x193ac9['call'](_0x36b297['schema']['ancestors'],_0x30ce86))){const _0x3015eb=_0x36b297['schema']['ancestors'][_0x30ce86];let _0x48364d=-0x1;for(_0x427286=!0x1;++_0x48364d<_0x3015eb['length'];)_0x36b297['stack']['includes'](_0x3015eb[_0x48364d])&&(_0x427286=!0x0);}if(!_0x427286)return _0x36b297['schema']['strip']&&!_0x36b297['schema']['strip']['includes'](_0x30ce86)?_0x22b036:void 0x0;const _0x549b12={'type':'element','tagName':_0x30ce86,'properties':_0x3e91ad,'children':_0x22b036};return _0x354933(_0x549b12,_0x60897d),_0x549b12;}(_0x22d611,_0x300666);case'root':return function(_0x2ee362,_0x11acdd){const _0x5d2398={'type':'root','children':_0x4dcabf(_0x2ee362,_0x11acdd['children'])};return _0x354933(_0x5d2398,_0x11acdd),_0x5d2398;}(_0x22d611,_0x300666);case'text':return function(_0x1c6b39,_0x5e53b9){const _0x33e5fc={'type':'text','value':'string'==typeof _0x5e53b9['value']?_0x5e53b9['value']:''};return _0x354933(_0x33e5fc,_0x5e53b9),_0x33e5fc;}(0x0,_0x300666);}}}function _0x4dcabf(_0x22017f,_0x31b15b){const _0x3e28fa=[];if(Array['isArray'](_0x31b15b)){const _0x4b1029=_0x31b15b;let _0x943611=-0x1;for(;++_0x943611<_0x4b1029['length'];){const _0x237333=_0x59b6f3(_0x22017f,_0x4b1029[_0x943611]);_0x237333&&(Array['isArray'](_0x237333)?_0x3e28fa['push'](..._0x237333):_0x3e28fa['push'](_0x237333));}}return _0x3e28fa;}function _0x429b27(_0x15758c,_0x251782,_0x1b4889,_0x3119ae){return _0x251782?Array['isArray'](_0x3119ae)?function(_0xd694b7,_0x46e410,_0x498330,_0x5307be){let _0x468127=-0x1;const _0x1f7fb1=[];for(;++_0x468127<_0x5307be['length'];){const _0x365c91=_0x5b72aa(_0xd694b7,_0x46e410,_0x498330,_0x5307be[_0x468127]);'number'!=typeof _0x365c91&&'string'!=typeof _0x365c91||_0x1f7fb1['push'](_0x365c91);}return _0x1f7fb1;}(_0x15758c,_0x251782,_0x1b4889,_0x3119ae):_0x5b72aa(_0x15758c,_0x251782,_0x1b4889,_0x3119ae):void 0x0;}function _0x5b72aa(_0x570dc5,_0x3dd3e2,_0x4ed2b7,_0x44226e){if(('boolean'==typeof _0x44226e||'number'==typeof _0x44226e||'string'==typeof _0x44226e)&&function(_0x2af160,_0x32201e,_0x36e8b4){const _0x22f565=_0x2af160['schema']['protocols']&&_0x193ac9['call'](_0x2af160['schema']['protocols'],_0x32201e)?_0x2af160['schema']['protocols'][_0x32201e]:void 0x0;if(!_0x22f565||0x0===_0x22f565['length'])return!0x0;const _0x45048a=String(_0x36e8b4),_0x3f3b39=_0x45048a['indexOf'](':'),_0x5630e4=_0x45048a['indexOf']('?'),_0x4e0f2b=_0x45048a['indexOf']('#'),_0xe5c4dd=_0x45048a['indexOf']('/');if(_0x3f3b39<0x0||_0xe5c4dd>-0x1&&_0x3f3b39>_0xe5c4dd||_0x5630e4>-0x1&&_0x3f3b39>_0x5630e4||_0x4e0f2b>-0x1&&_0x3f3b39>_0x4e0f2b)return!0x0;let _0xfaa358=-0x1;for(;++_0xfaa358<_0x22f565['length'];){const _0x419f02=_0x22f565[_0xfaa358];if(_0x3f3b39===_0x419f02['length']&&_0x45048a['slice'](0x0,_0x419f02['length'])===_0x419f02)return!0x0;}return!0x1;}(_0x570dc5,_0x4ed2b7,_0x44226e)){if('object'==typeof _0x3dd3e2&&_0x3dd3e2['length']>0x1){let _0x46ef61=!0x1,_0x5a7063=0x0;for(;++_0x5a7063<_0x3dd3e2['length'];){const _0x215646=_0x3dd3e2[_0x5a7063];if(_0x215646&&'object'==typeof _0x215646&&'flags'in _0x215646){if(_0x215646['test'](String(_0x44226e))){_0x46ef61=!0x0;break;}}else{if(_0x215646===_0x44226e){_0x46ef61=!0x0;break;}}}if(!_0x46ef61)return;}return _0x570dc5['schema']['clobber']&&_0x570dc5['schema']['clobberPrefix']&&_0x570dc5['schema']['clobber']['includes'](_0x4ed2b7)?_0x570dc5['schema']['clobberPrefix']+_0x44226e:_0x44226e;}}function _0x354933(_0x2992f3,_0xf33b09){const _0x5d287a=function(_0x157269){const _0x1bd737=_0x50d53f(_0x157269),_0x15c274=_0x22cdcb(_0x157269);if(_0x1bd737&&_0x15c274)return{'start':_0x1bd737,'end':_0x15c274};}(_0xf33b09);_0xf33b09['data']&&(_0x2992f3['data']=_0x32cfbe(_0xf33b09['data'])),_0x5d287a&&(_0x2992f3['position']=_0x5d287a);}function _0x2dd6bc(_0x3f7fc6,_0x1c4c29){let _0x344c83,_0x4d7d5e=-0x1;if(_0x3f7fc6)for(;++_0x4d7d5e<_0x3f7fc6['length'];){const _0x2bc1f4=_0x3f7fc6[_0x4d7d5e],_0x31b338='string'==typeof _0x2bc1f4?_0x2bc1f4:_0x2bc1f4[0x0];if(_0x31b338===_0x1c4c29)return _0x2bc1f4;'data*'===_0x31b338&&(_0x344c83=_0x2bc1f4);}if(_0x1c4c29['length']>0x4&&'data'===_0x1c4c29['slice'](0x0,0x4)['toLowerCase']())return _0x344c83;}function _0x5c9e8a(_0x1bdb80){return function(_0x3a4ee7){return function(_0x517596,_0x3de7ea){let _0x558600={'type':'root','children':[]};const _0x17c9b6=_0x59b6f3({'schema':_0x3de7ea?{..._0x4836ab,..._0x3de7ea}:_0x4836ab,'stack':[]},_0x517596);return _0x17c9b6&&(Array['isArray'](_0x17c9b6)?0x1===_0x17c9b6['length']?_0x558600=_0x17c9b6[0x0]:_0x558600['children']=_0x17c9b6:_0x558600=_0x17c9b6),_0x558600;}(_0x3a4ee7,_0x1bdb80);};}const _0x635cfc=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x528ffd=class extends _0x635cfc{['_m2html'];constructor(){super();const _0x579eef=Object['entries'](_0x14e616['MarkdownGfmMdToHtmlDefaultPlugins']),_0x463db5=_0x579eef['findIndex'](([_0x3e71f0])=>'rehypeDomRaw'===_0x3e71f0);if(-0x1===_0x463db5)throw new _0x14e616['CKEditorError']('ai-response-parser-unable-to-set-up-parser');_0x579eef['splice'](_0x463db5+0x1,0x0,['rehypeSanitize',_0x5c9e8a]),this['_m2html']=new _0x14e616['MarkdownGfmMdToHtml']({'plugins':Object['fromEntries'](_0x579eef)});}['convertMarkdownToHTML'](_0x4046f6){const _0x5b3894=this['_m2html']['parse'](_0x4046f6);return this['parseAndNormalizeHTML'](_0x5b3894);}['parseAndNormalizeHTML'](_0x41c7b8){return this['_parseHTML'](_0x41c7b8);}['_parseHTML'](_0x5917f5){const _0x48b1f4=tl('<dummy>'+_0x5917f5['replace'](/<[^>]*?$/g,'')+'</dummy>');return _0x2ff064(_0x48b1f4),_0x48b1f4['children']=_0x48b1f4['children'][0x0]['children'],_0x48b1f4;}};function _0x2ff064(_0x513a00){for(const _0x35c79b of _0x513a00['children'])_0x49789e(_0x35c79b)?'pre'!==_0x35c79b['name']&&_0x2ff064(_0x35c79b):_0xea358(_0x35c79b)&&(_0x35c79b['data']=_0x35c79b['data']['replace'](/^\t+/gm,'\x20')['replace'](/\n*/g,'')['replace'](/[ \t\r\f\v]+/g,'\x20'));}function _0x55ce94({changeGroups:_0x204c87,documentContextContent:_0x22fc90,showDiff:_0x5751dd,trimUnchanged:_0x538897=!0x0}){return _0x204c87['map'](_0x4a364f=>{if(!_0x4a364f['editor']||'destroyed'===_0x4a364f['editor']['state'])return null;if(!(0x0,_0x14e616['rootAcceptsBlocks'])(_0x4a364f['editor'],_0x4a364f['rootName']))return{'type':_0x4a364f['changes'][0x0]['type'],'index':_0x4a364f['index'],'content':new _0x2a28d6([]),'hasChanges':!0x1};const _0x5291fa=new _0x2a28d6([]),_0x50af72=new _0x2a28d6([]),_0x20ae69=new Set();for(const _0x25cfd8 of _0x4a364f['changes'])'new'==_0x25cfd8['type']&&_0x30dc4f('data-id',null,_0x25cfd8['node'])['forEach'](_0x349925=>{_0x20ae69['add'](_0x4747ee(_0x349925,'data-id'));});for(const _0x286111 of _0x4a364f['changes'])if('removed'!=_0x286111['type']?_0x50af72['children']['push'](_0x286111['node']['cloneNode'](!0x0)):_0x5751dd||_0x20ae69['has'](_0x286111['id'])||_0x50af72['children']['push'](_0x286111['node']['cloneNode'](!0x0)),'new'!=_0x286111['type']&&(_0x5751dd||'removed'!=_0x286111['type'])){const _0x14916d=_0x53fd5e(_0x5c63bc=>_0x4747ee(_0x5c63bc,'data-id')==_0x286111['id'],_0x22fc90['get'](_0x4a364f['documentId']),!0x0);_0x14916d&&_0x5291fa['children']['push'](_0x14916d['cloneNode'](!0x0));}let _0x36fa15,_0x3e4ae9;try{({content:_0x36fa15,hasChanges:_0x3e4ae9}=_0x2abc66(_0x4a364f['editor'],_0x5291fa,_0x50af72,_0x5751dd,_0x538897));}catch{return{'type':_0x4a364f['changes'][0x0]['type'],'index':_0x4a364f['index'],'content':new _0x2a28d6([]),'hasChanges':!0x1};}return{'type':_0x4a364f['changes'][0x0]['type'],'index':_0x4a364f['index'],'content':_0x36fa15,'hasChanges':_0x3e4ae9};})['filter'](_0x4cdeb1=>null!==_0x4cdeb1);}function _0x2abc66(_0x4a2fb8,_0x1be57a,_0xb50cb1,_0xe14820,_0x36061b=!0x0){const _0x18650=_0x4a2fb8['plugins']['get']('DocumentCompare'),_0x1b3196=_0x2149a1(_0x1be57a),_0x394f31=_0x2149a1(_0xb50cb1),_0x34b6ef=_0x4a2fb8['data']['parse'](_0x1b3196,'$root'),_0xcb88ef=_0x4a2fb8['model']['createPositionAt'](_0x34b6ef,0x0),_0x1267bd=_0x18650['getDiff'](_0x1b3196,_0x394f31,{'anchor':_0xcb88ef,'markDeletions':_0xe14820,'targetEditor':_0x4a2fb8})['getOperations']();if(0x0==_0x1267bd['length'])return{'content':_0x1be57a['cloneNode'](!0x0),'hasChanges':!0x1};if(_0xe14820?function(_0x3576b0,_0x18c44c,_0x100f56){if(0x0==_0x3576b0['length'])return;const _0x20f614=_0x100f56['plugins']['get']('DocumentCompare'),_0x19b9f4=_0x100f56['plugins']['get']('SuggestionsConversion');_0x100f56['model']['change'](_0x5e4673=>{const _0x3c26e8=new Set();for(let _0x398f24=0x0;_0x398f24<_0x3576b0['length'];_0x398f24++){const _0x327a28=_0x3576b0[_0x398f24];if(_0x327a28['baseVersion']=null,_0x327a28['isDocumentOperation']=!0x1,_0x20f614['isMarkedRemoveOperation'](_0x327a28)){const _0x52cf06=_0x19d162(_0x327a28['newRange'],_0x100f56['model']),_0x167139='suggestion:deletion:'+(0x0,_0x14e616['uid'])()+':$aiSuggestion';_0x18c44c['markers']['set'](_0x167139,_0x52cf06);}else switch(_0x327a28['type']){case'rename':{if(_0x327a28['oldName']==_0x327a28['newName'])break;_0x5e4673['batch']['addOperation'](_0x327a28),_0x100f56['model']['applyOperation'](_0x327a28);const _0x54ae68='$elementName',_0x2c7865=_0x327a28['position'],_0x49eb68=_0x100f56['model']['createRange'](_0x2c7865,_0x100f56['model']['createPositionAt'](_0x2c7865['nodeAfter'],'end')),_0x3c9e8f='suggestion:attribute:'+_0x54ae68+':'+(0x0,_0x14e616['uid'])()+':$aiSuggestion';_0x18c44c['markers']['set'](_0x3c9e8f,_0x49eb68);break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{if(_0x327a28['oldValue']==_0x327a28['newValue'])break;_0x5e4673['batch']['addOperation'](_0x327a28),_0x100f56['model']['applyOperation'](_0x327a28);const _0x1533ba=_0x327a28['key'];if(!_0x19b9f4['isRegisteredAttribute'](_0x1533ba))break;const _0x518bac=_0x19d162(_0x327a28['range'],_0x100f56['model']),_0x42f713='suggestion:attribute:'+_0x1533ba+':'+(0x0,_0x14e616['uid'])()+':$aiSuggestion';_0x18c44c['markers']['set'](_0x42f713,_0x518bac);break;}case'insert':{if(_0x5e4673['batch']['addOperation'](_0x327a28),_0x100f56['model']['applyOperation'](_0x327a28),_0x4a03f9(_0x18c44c,_0x327a28),_0x3576b0[_0x398f24+0x1]&&'move'==_0x3576b0[_0x398f24+0x1]['type'])break;const _0x22bb3b=_0x327a28['position'],_0x2b31cc=_0x327a28['howMany'],_0x879d92=_0x19d162(_0x100f56['model']['createRange'](_0x22bb3b,_0x22bb3b['getShiftedBy'](_0x2b31cc)),_0x100f56['model']),_0x2a7ee0='suggestion:insertion:'+(0x0,_0x14e616['uid'])()+':$aiSuggestion';_0x18c44c['markers']['set'](_0x2a7ee0,_0x879d92);break;}case'split':{_0x5e4673['batch']['addOperation'](_0x327a28),_0x100f56['model']['applyOperation'](_0x327a28),_0x4a03f9(_0x18c44c,_0x327a28);const _0x4b491a=_0x327a28['splitPosition'],_0x56eb84=_0x327a28['moveTargetPosition'],_0x23805b=_0x100f56['model']['createRange'](_0x4b491a,_0x56eb84),_0x489181='suggestion:insertion:'+(0x0,_0x14e616['uid'])()+':$aiSuggestion';_0x18c44c['markers']['set'](_0x489181,_0x23805b);break;}case'move':{_0x5e4673['batch']['addOperation'](_0x327a28),_0x100f56['model']['applyOperation'](_0x327a28),_0x4a03f9(_0x18c44c,_0x327a28);const _0x455c9c=_0x327a28['getMovedRangeStart'](),_0x4a48c5=_0x327a28['howMany'];for(let _0x3acb0d=0x0;_0x3acb0d<_0x4a48c5;_0x3acb0d++){const _0x25ff1b=_0x455c9c['getShiftedBy'](_0x3acb0d)['nodeAfter'];_0x3c26e8['add'](_0x25ff1b);}break;}case'remove':{const _0x4d7ca7=_0x327a28['sourcePosition'],_0x1b0b36=_0x327a28['howMany'],_0x1ccdc1=new _0x14e616['_DetachOperation'](_0x4d7ca7,_0x1b0b36);_0x5e4673['batch']['addOperation'](_0x1ccdc1),_0x100f56['model']['applyOperation'](_0x1ccdc1),_0x4a03f9(_0x18c44c,_0x327a28);break;}}}for(const _0x2d3afe of _0x3c26e8){const _0x502eef=_0x100f56['model']['createRangeOn'](_0x2d3afe),_0x2ede09='suggestion:formatBlock:$fakeWrap:'+(0x0,_0x14e616['uid'])()+':$aiSuggestion';_0x18c44c['markers']['set'](_0x2ede09,_0x19d162(_0x502eef,_0x100f56['model']));}});}(_0x1267bd,_0x34b6ef,_0x4a2fb8):_0x4a2fb8['model']['change'](_0x3ad754=>{for(const _0x4e671a of _0x1267bd)if('remove'==_0x4e671a['type']){const _0x246741=_0x4e671a['sourcePosition'],_0x1896f4=_0x4e671a['howMany'],_0x29d888=new _0x14e616['_DetachOperation'](_0x246741,_0x1896f4);_0x3ad754['batch']['addOperation'](_0x29d888),_0x4a2fb8['model']['applyOperation'](_0x29d888),_0x4a03f9(_0x34b6ef,_0x4e671a);}else{if('marker'==_0x4e671a['type']){const _0x21a89b=_0x4e671a['name'],_0x2784a3=_0x4e671a['newRange'];null!==_0x2784a3?_0x34b6ef['markers']['set'](_0x21a89b,_0x2784a3):_0x34b6ef['markers']['delete'](_0x21a89b);}else _0x4e671a['baseVersion']=null,_0x4e671a['isDocumentOperation']=!0x1,_0x3ad754['batch']['addOperation'](_0x4e671a),_0x4a2fb8['model']['applyOperation'](_0x4e671a),_0x4a03f9(_0x34b6ef,_0x4e671a);}}),_0x36061b){const _0x2c6a97=_0x1a41d9(_0x4a2fb8,_0x1267bd,_0x34b6ef);_0xdb60d0(_0x4a2fb8['model'],_0x2c6a97),function(_0x37eb74,_0x354952){const _0x34ecef=_0x354952['getFirstRange']()['start'];let _0x254723=_0x354952['getFirstRange']()['end'];const _0x1ce5e8=_0x34ecef['root'];(_0x254723['textNode']||_0x254723['nodeAfter']&&_0x254723['nodeAfter']['is']('$text'))&&((0x0,_0x14e616['_insertIntoModelNodeList'])(_0x254723,'...'),_0x1bddbb(_0x1ce5e8,_0x254723,0x3),_0x254723=_0x254723['getShiftedBy'](0x3)),(_0x34ecef['textNode']||_0x34ecef['nodeBefore']&&_0x34ecef['nodeBefore']['is']('$text'))&&((0x0,_0x14e616['_insertIntoModelNodeList'])(_0x34ecef,'...'),_0x1bddbb(_0x1ce5e8,_0x34ecef,0x3),_0x34ecef['parent']==_0x254723['parent']&&(_0x254723=_0x254723['getShiftedBy'](0x3)));const _0x177cfa=_0x37eb74['createRange'](_0x37eb74['createPositionAt'](_0x1ce5e8,0x0),_0x34ecef),_0x2b4750=_0x37eb74['createRange'](_0x254723,_0x37eb74['createPositionAt'](_0x1ce5e8,'end')),_0x50db10=[..._0x177cfa['getMinimalFlatRanges'](),..._0x2b4750['getMinimalFlatRanges']()];_0x50db10['reverse']();for(const _0x55448f of _0x50db10)(0x0,_0x14e616['_removeFromModelNodeList'])(_0x55448f),_0x5274b6(_0x1ce5e8,_0x55448f);}(_0x4a2fb8['model'],_0x2c6a97);}return{'content':tl(_0x4a2fb8['data']['stringify'](_0x34b6ef,{'showSuggestionHighlights':!0x0})),'hasChanges':!0x0};}function _0x4a03f9(_0x37c58c,_0x104afc){for(const [_0x3cd4b9,_0x182767]of _0x37c58c['markers']){const _0x1938e2=_0x14e616['ModelRange']['_createFromRanges'](_0x182767['getTransformedByOperation'](_0x104afc));_0x1938e2['root']==_0x37c58c?_0x37c58c['markers']['set'](_0x3cd4b9,_0x1938e2):_0x37c58c['markers']['delete'](_0x3cd4b9);}}function _0x1a41d9(_0x162688,_0x55f552,_0x4b842f){const _0x11c46e=_0x162688['plugins']['get']('DocumentCompare');let _0x140cf3=_0x162688['model']['createPositionAt'](_0x4b842f,Number['POSITIVE_INFINITY']),_0x2bf5cd=_0x162688['model']['createPositionAt'](_0x4b842f,0x0);for(const _0x20f2e4 of _0x55f552){let _0x1fcf3e,_0xb8f77f;if(_0x11c46e['isMarkedRemoveOperation'](_0x20f2e4))_0x1fcf3e=_0x20f2e4['newRange']['start'],_0xb8f77f=_0x20f2e4['newRange']['end'];else switch(_0x140cf3=_0x20942b(_0x140cf3,_0x20f2e4),_0x2bf5cd=_0x20942b(_0x2bf5cd,_0x20f2e4),_0x20f2e4['type']){case'rename':_0x1fcf3e=_0x20f2e4['position'],_0xb8f77f=_0x1fcf3e['getShiftedBy'](0x1);break;case'addAttribute':case'removeAttribute':case'changeAttribute':_0x1fcf3e=_0x20f2e4['range']['start'],_0xb8f77f=_0x20f2e4['range']['end'];break;case'insert':_0x1fcf3e=_0x20f2e4['position'],_0xb8f77f=_0x1fcf3e['getShiftedBy'](_0x20f2e4['howMany']);break;case'split':_0x1fcf3e=_0x20f2e4['splitPosition'],_0xb8f77f=_0x20f2e4['moveTargetPosition'];break;case'merge':{const _0x1748ce=_0x20f2e4['targetPosition']['path']['slice'](0x0,-0x1);_0x1fcf3e=_0x162688['model']['createPositionFromPath'](_0x4b842f,_0x1748ce),_0xb8f77f=_0x1fcf3e['getShiftedBy'](0x1);break;}case'move':case'remove':{const _0x5d2d9a=_0x20f2e4['howMany'],_0x4d7c8f=_0x20f2e4['sourcePosition']['_getTransformedByInsertion'](_0x20f2e4['targetPosition'],_0x5d2d9a),_0x5372d5=_0x20f2e4['getMovedRangeStart']();'remove'==_0x20f2e4['type']?(_0x1fcf3e=_0x4d7c8f,_0xb8f77f=_0x4d7c8f):(_0x1fcf3e=_0x5372d5,_0xb8f77f=_0x5372d5['getShiftedBy'](_0x5d2d9a));break;}}_0x1fcf3e&&_0x1fcf3e['isBefore'](_0x140cf3)&&(_0x140cf3=_0x1fcf3e['clone'](),_0x140cf3['stickiness']='toNone'),_0xb8f77f&&_0xb8f77f['isAfter'](_0x2bf5cd)&&(_0x2bf5cd=_0xb8f77f['clone'](),_0x2bf5cd['stickiness']='toNone');}return _0x162688['model']['createSelection'](_0x162688['model']['createRange'](_0x140cf3,_0x2bf5cd));}function _0x20942b(_0x2c9c76,_0x18faef){return'move'!=_0x18faef['type']&&'remove'!=_0x18faef['type']||_0x18faef['sourceRange']['containsPosition'](_0x2c9c76)&&((_0x2c9c76=_0x18faef['sourcePosition']['clone']())['stickiness']='toNone'),_0x2c9c76['getTransformedByOperation'](_0x18faef);}function _0xdb60d0(_0x556be4,_0x47613d){_0x4cf0ce(_0x556be4,_0x47613d,'forward');const _0x497ab2=_0x47613d['getFirstRange']();_0x47613d['setTo']([]),_0x47613d['setTo'](_0x497ab2,{'backward':!0x0}),_0x4cf0ce(_0x556be4,_0x47613d,'backward');}function _0x4cf0ce(_0x2ac170,_0x36bef8,_0x3490b3){let _0x234ef6=0x14;for(;_0x234ef6;){_0x2ac170['modifySelection'](_0x36bef8,{'unit':'word','direction':_0x3490b3}),_0x234ef6--;const _0x10c0a6=_0x36bef8['focus']['forward'==_0x3490b3?'nodeBefore':'nodeAfter'];if(_0x10c0a6&&_0x10c0a6['is']('element')&&_0x2ac170['schema']['isBlock'](_0x10c0a6)&&_0x2ac170['schema']['isObject'](_0x10c0a6))break;}}function _0x5274b6(_0x59b1c0,_0x103ad7){for(const [_0x581647,_0x32182a]of _0x59b1c0['markers']){const _0x38ab62=_0x32182a['_getTransformedByDeletion'](_0x103ad7['start'],_0x103ad7['end']['offset']-_0x103ad7['start']['offset']);null!=_0x38ab62?_0x59b1c0['markers']['set'](_0x581647,_0x38ab62):_0x59b1c0['markers']['delete'](_0x581647);}}function _0x1bddbb(_0x4dddf3,_0x301bd1,_0x49b1dd){for(let [_0x10abd3,_0xca1bb0]of _0x4dddf3['markers'])_0xca1bb0=_0xca1bb0['_getTransformedByInsertion'](_0x301bd1,_0x49b1dd,!0x1)[0x0],_0x4dddf3['markers']['set'](_0x10abd3,_0xca1bb0);}const _0x5d8679=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['EmitterMixin'])();var th=class extends _0x5d8679{['_connector'];['_config'];['_locale'];['_modelList']=[];['_modelsRequest']=null;constructor({connector:_0x4dddca,config:_0x3a8fbe,locale:_0x58cbf8}){super(),this['_connector']=_0x4dddca,this['_config']=_0x3a8fbe,this['_locale']=_0x58cbf8;}get['_availableModels'](){return this['_config']?.['displayedModels'];}get['_defaultModelId'](){return this['_config']?.['defaultModelId'];}async['getAll'](){return this['_modelsRequest']||(this['_modelsRequest']=this['_retrieveModels']()),this['_modelsRequest'];}async['getAvailableModels'](){const _0x24503d=await this['getAll']();let _0xf179f4;return _0xf179f4=this['_availableModels']?this['_filterModels'](_0x24503d,this['_availableModels']):_0x24503d['filter'](_0x2a1ab4=>_0x2a1ab4['recommended']),_0xf179f4;}async['getModel'](_0x6f1020){const _0xd07eef=await this['getAll']();if(!_0xd07eef['length'])return null;if(_0x6f1020){const _0x3ed909=this['_getModelById'](_0xd07eef,_0x6f1020);if(_0x3ed909)return _0x3ed909;(0x0,_0x14e616['logWarning'])('ai-chat-model-id-unrecognized',{'modelId':_0x6f1020,'fallBackModelId':this['_defaultModelId']});}return this['getDefault']();}async['getDefault'](){const _0x11a41c=await this['getAvailableModels']();if(!_0x11a41c['length'])return null;if(this['_defaultModelId']){const _0x5cda0d=this['_getModelById'](_0x11a41c,this['_defaultModelId']);if(_0x5cda0d)return _0x5cda0d;(0x0,_0x14e616['logWarning'])('ai-chat-default-model-id-unrecognized',{'defaultModelId':this['_defaultModelId'],'fallBackModelId':_0x11a41c[0x0]['id']});}return _0x11a41c[0x0];}async['isAvailable'](_0x85a649){return(await this['getAvailableModels']())['some'](_0x37815a=>_0x37815a['name']===_0x85a649['name']&&_0x37815a['provider']===_0x85a649['provider']);}async['_retrieveModels'](){if(!this['_modelList']['length']){const _0x7ee5b2=this['_locale']['uiLanguage']||'en',_0x150a9f=await this['_connector']['getModels'](_0x7ee5b2)['list']();this['_modelList']=_0x150a9f['items']['map'](_0x4a1120=>_0x1553e1(_0x4a1120)?{..._0x4a1120,'name':_0x2723f0(this['_locale'],'AI_MODEL_NAME_AUTO')}:_0x4a1120);}return[...this['_modelList']];}['_filterModels'](_0x3797dd,_0x52c2d1){let _0x488b15;if(_0x52c2d1){_0x488b15=[];const _0x51ba6d=new Set(),_0x3f4f8f='string'==typeof _0x52c2d1?[_0x52c2d1['toLocaleLowerCase']()]:_0x52c2d1['map'](_0x3658e0=>_0x3658e0['toLocaleLowerCase']());for(const _0x4af692 of _0x3f4f8f)for(const _0x8f4805 of _0x3797dd)!_0x51ba6d['has'](_0x8f4805['id'])&&this['_isMatchingFilter'](_0x8f4805,_0x4af692)&&(_0x488b15['push'](_0x8f4805),_0x51ba6d['add'](_0x8f4805['id']));}else _0x488b15=_0x3797dd;return _0x488b15;}['_isMatchingFilter'](_0x31f101,_0x567eea){const _0x17812a=_0x31f101['id']['toLocaleLowerCase'](),_0x502375=_0x31f101['name']['toLocaleLowerCase'](),_0x1ee217=_0x31f101['provider']['toLocaleLowerCase']();return _0x17812a===_0x567eea||_0x502375===_0x567eea||_0x1553e1(_0x31f101)&&'auto'===_0x567eea||_0x1ee217===_0x567eea||_0x17812a['startsWith'](_0x567eea);}['_getModelById'](_0x3eaf67,_0x193a2e){return _0x3eaf67['find'](_0x3e11f5=>_0x1553e1(_0x3e11f5)&&'auto'===_0x193a2e?_0x3e11f5:_0x3e11f5['id']===_0x193a2e)||null;}};function _0x1553e1(_0x780a36){return _0x780a36['id']['startsWith']('agent');}function _0x3efdc2(_0x1a2b53,_0x2e069a){for(const _0x42a7dd of _0x1a2b53)'noop'!==_0x42a7dd['type']&&(_0x42a7dd['_aiSource']=_0x2e069a);}var _0x589540=class extends _0x14e616['ContextPlugin']{static get['pluginName'](){return'AIGateway';}static get['requires'](){return[_0x4abd7b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['getAvailableModels'](){return new th({'connector':this['context']['plugins']['get']('AIConnector'),'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']})['getAll']();}['apply'](_0x42a2f7,_0x209c83){if('completed'!==_0x42a2f7['status'])throw new _0x14e616['CKEditorError']('ai-gateway-apply-invalid-status',this,{'status':_0x42a2f7['status']});const _0x32e5ec=_0x42a2f7['editor'],{applyMethod:_0x506d29}=_0x209c83;if('suggest'===_0x506d29&&!_0x32e5ec['plugins']['has']('TrackChanges'))throw new _0x14e616['CKEditorError']('ai-no-track-changes',this);const _0xdc4da4='suggest'===_0x506d29,_0x349914=this['context']['plugins']['get'](_0x4abd7b),_0x450731=_0x32e5ec['model']['createPositionAt'](_0x32e5ec['model']['document']['getRoot'](),0x0),_0x3d6277=_0x349914['getDiff'](_0x42a2f7['contentRawOld'],_0x42a2f7['contentRawNew'],{'anchor':_0x450731,'markDeletions':_0xdc4da4,'targetEditor':_0x32e5ec}),_0x6f1563=_0x32e5ec['model']['document']['history']['getOperations'](_0x42a2f7['documentVersion']),_0x2df3f7={'document':_0x32e5ec['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1},_0x5e41ff=(0x0,_0x14e616['transformOperationSets'])(_0x3d6277['getOperations'](),_0x6f1563,_0x2df3f7)['operationsA'];_0x3efdc2(_0x5e41ff,_0x209c83['aiSource']??'api'),_0x32e5ec['model']['change'](_0x23cb6e=>{_0xdc4da4?_0x32e5ec['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x5e41ff):_0x349914['applyOperations'](_0x23cb6e,_0x5e41ff);});}['mergeChangesIntoContent'](_0x2535e1,_0x3261e2,_0x558539){const _0x3bc1b4=new _0x528ffd(),_0x5e7858=new _0x7ab1d1();let _0x4490da=_0x3bc1b4['parseAndNormalizeHTML'](_0x3261e2);for(const _0x30089d of _0x2535e1)try{const _0xc9a2db=_0x3bc1b4['parseAndNormalizeHTML'](_0x30089d['content']);_0x4490da=_0x5e7858['merge'](_0xc9a2db,_0x4490da,{'cutAfterUnstable':!0x1,'replaceRemovedWith':void 0x0})['parsedContent'];}catch(_0x3d5827){throw new _0x14e616['CKEditorError']('ai-gateway-merge-failed',this,{..._0x30089d},_0x3d5827);}return _0x2abc66(_0x558539,_0x3bc1b4['parseAndNormalizeHTML'](_0x3261e2),_0x4490da,!0x1,!0x1)['content'];}},_0x40ff74=class{['_editor'];['_rootName'];['_channelId'];['_sessionId'];['_documentVersion'];['_contentRawOld'];['_contentRawNew'];['_error'];['_isAborted']=!0x1;constructor(_0x56c40){this['_editor']=_0x56c40['editor'],this['_rootName']=_0x56c40['rootName'],this['_channelId']=_0x56c40['channelId'],this['_sessionId']=_0x56c40['sessionId'];}get['status'](){return this['_error']?'error':this['_isAborted']?'aborted':void 0x0!==this['_contentRawNew']?'completed':'initialized';}get['editor'](){return this['_editor'];}get['rootName'](){return this['_rootName'];}get['channelId'](){return this['_channelId'];}get['sessionId'](){return this['_sessionId'];}get['documentVersion'](){return this['_documentVersion'];}set['documentVersion'](_0x11bf50){this['_documentVersion']=_0x11bf50;}get['contentRawOld'](){return this['_contentRawOld'];}set['contentRawOld'](_0x4426f5){this['_contentRawOld']=_0x4426f5;}get['contentRawNew'](){return this['_contentRawNew'];}set['contentRawNew'](_0x2d0753){this['_contentRawNew']=_0x2d0753;}get['contentOld'](){return this['_dropDataIds'](this['_contentRawOld']||'');}get['contentNew'](){return this['_dropDataIds'](this['_contentRawNew']||'');}get['error'](){return this['_error'];}set['error'](_0x55ded8){this['_error']=_0x55ded8;}['abort'](){this['_isAborted']=!0x0;}['_dropDataIds'](_0x465f36){return _0x465f36['replace'](/ data-id="[a-z0-9]+"/g,'');}},_0x1eca25=class extends _0x40ff74{['_summary']='';get['summary'](){return this['_summary'];}set['summary'](_0x555a35){this['_summary']=_0x555a35;}},_0x477f5d=class extends _0x14e616['ContextPlugin']{static get['pluginName'](){return'AIDocumentProcessingGateway';}static get['requires'](){return[_0x626bfd,_0x11b915,_0x589540];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['getAvailableModels'](){return this['context']['plugins']['get']('AIGateway')['getAvailableModels']();}async['processDocument'](_0x5f5813,_0x3cdc7f){if(!_0x5f5813)throw new _0x14e616['CKEditorError']('ai-documentprocessinggateway-missing-prompt',this);const _0x42c000=await this['context']['plugins']['get'](_0x11b915)['getDocumentData']();if(!_0x42c000[0x0])throw new _0x14e616['CKEditorError']('ai-documentprocessinggateway-missing-document',this);const _0x55d626=new _0x1eca25({'editor':_0x42c000[0x0]['editor'],'rootName':_0x42c000[0x0]['rootName'],'channelId':this['context']['config']['get']('collaboration.channelId'),'sessionId':_0x42c000[0x0]['sessionId']});if(_0x55d626['contentRawOld']=_0x42c000[0x0]['content'],_0x55d626['documentVersion']=_0x42c000[0x0]['version'],_0x3cdc7f?.['signal']?.['aborted'])return _0x55d626['abort'](),_0x55d626;const _0x53bafc=this['context']['plugins']['get']('AIConnector')['processDocument']({'document':_0x55d626['contentRawOld'],'prompt':_0x5f5813,'model':_0x3cdc7f['model']});let _0x45368a;if(_0x3cdc7f?.['signal']){if(_0x3cdc7f['signal']['aborted'])return _0x53bafc['abortController']['abort'](),_0x55d626['abort'](),_0x55d626;const _0x38d41b=_0x3cdc7f['signal'],_0xcca329=()=>_0x53bafc['abortController']['abort']();_0x38d41b['addEventListener']('abort',_0xcca329),_0x45368a=()=>_0x38d41b['removeEventListener']('abort',_0xcca329);}try{const _0x4b9980=await _0x53bafc['getResult']();if(!(_0x4b9980&&_0x4b9980['document']&&_0x4b9980['document']['length']>0x0))throw new _0x14e616['CKEditorError']('ai-documentprocessinggateway-empty-reply',this);_0x55d626['contentRawNew']=_0x4b9980['document'],_0x55d626['summary']=_0x4b9980['summary']||'';}catch(_0x3a2ecd){_0x3a2ecd instanceof Error&&_0x3a2ecd['message']['includes']('ai-request-aborted')?_0x55d626['abort']():_0x55d626['error']=_0x3a2ecd instanceof _0x14e616['CKEditorError']?_0x3a2ecd:new _0x14e616['CKEditorError']('ai-documentprocessinggateway-run-failed',this,{},_0x3a2ecd);}finally{_0x45368a&&_0x45368a();}return _0x55d626;}['applyResult'](_0x174184,_0x2138d0){this['context']['plugins']['get']('AIGateway')['apply'](_0x174184,_0x2138d0);}};function _0x50e33e(_0xdb116d){return _0xdb116d instanceof Error&&('AbortError'===_0xdb116d['name']||('AICoreError'===_0xdb116d['name']?!0x0===_0xdb116d['isAbort']:_0xdb116d['message']['startsWith']('ai-request-aborted')));}var _0x1118f7=class extends Error{['code'];['severity'];['type'];['context'];['isAbort'];constructor(_0x1d1778){super(_0x1d1778['code'],_0x1d1778['cause']instanceof Error?{'cause':_0x1d1778['cause']}:void 0x0),this['name']='AICoreError',this['code']=_0x1d1778['code'],this['severity']=_0x1d1778['severity']??'error',this['type']=_0x1d1778['type']??'system',this['context']=_0x1d1778['context'],this['isAbort']=_0x1d1778['isAbort']??_0x50e33e(_0x1d1778['cause']);}},_0x47f55c=class extends _0x14e616['ContextPlugin']{static get['pluginName'](){return'AIErrorSink';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['createReporter'](_0x28eb50){return new _0x4ea4f9(this,_0x28eb50);}},_0x4ea4f9=class{['_sink'];['_component'];constructor(_0x1dc722,_0x28b525){this['_sink']=_0x1dc722,this['_component']=_0x28b525;}['logError'](_0x52757c,_0x28b2ea={}){this['_emit'](_0x52757c,_0x28b2ea),this['_defaultLog'](_0x52757c);}['reportError'](_0x3d1e99,_0x107264={}){this['_emit'](_0x3d1e99,_0x107264);}['_emit'](_0x49faba,_0x4aac63){_0x50e33e(_0x49faba)||this['_sink']['fire']('error',{'error':_0x49faba,'component':this['_component'],'context':_0x4aac63['context']});}['_defaultLog'](_0x3e79a3){if(!_0x50e33e(_0x3e79a3)){if(_0x3e79a3 instanceof _0x1118f7){if('user'===_0x3e79a3['type']||'network'===_0x3e79a3['type'])return;if('warning'===_0x3e79a3['severity'])return void console['warn'](this['_component'],_0x3e79a3);}console['error'](this['_component'],_0x3e79a3);}}};const _0x26434c='ck-ai-button-primary',_0x55009e='ck-ai-button-secondary',_0x2eb508='ck-ai-button-tertiary';function _0x1c0c90(_0x10e782,_0x12fd90){const _0x163d1b=new _0x14e616['ButtonView'](_0x10e782),_0x2a415f=_0x2723f0(_0x10e782,'AI_TABS_LABEL_MINIMIZE'),_0x58c90e=_0x2723f0(_0x10e782,'AI_TABS_LABEL_MAXIMIZE');return _0x163d1b['set']({'withText':!0x1,'icon':_0x14e616['IconMaximize'],'tooltip':!0x0,'class':'ck-ai-tabs__resize\x20'+_0x2eb508}),_0x163d1b['bind']('label')['to'](_0x12fd90,'isMaximized',_0x1db099=>_0x1db099?_0x2a415f:_0x58c90e),_0x163d1b['bind']('icon')['to'](_0x12fd90,'isMaximized',_0x20ced4=>_0x20ced4?_0x14e616['IconMinimize']:_0x14e616['IconMaximize']),_0x163d1b['bind']('isOn')['to'](_0x12fd90,'isMaximized'),_0x163d1b['on']('execute',()=>{_0x12fd90['fire']('resizeTabs');}),_0x163d1b;}function _0x318647(_0x198ab5){const _0x3a8683=new _0x14e616['BodyCollection'](_0x198ab5);return _0x3a8683['attachToDom'](),_0x3a8683['bodyCollectionContainer']['classList']['add']('ck-ai-body'),_0x3a8683;}const _0x4691e4=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x4fc1d9=class extends _0x4691e4{['id'];['interactionId'];['type'];['content']=new Map();['sources']=[];['parsedContent']=new Map();['parsedMergedContent']=new Map();['changeGroups']=[];['areActionsDisabled']=!0x1;['isFromHistory']=!0x1;['documentContextContent'];['_documentIdToSource']=new Map();['aiResponseParser'];['aiResponseApplier'];['locale'];['cachedSuggestionContentParts']={'withDiff':[],'withoutDiff':[]};constructor({type:_0x4ec905,isDone:_0x38a4e5=!0x1,isComplete:_0xe989a9,interactionId:_0xf95521,areActionsDisabled:_0x424486,isFromHistory:_0x2a8dd5=!0x1,documentContextContent:_0x3289a9,locale:_0x500d6f,id:_0x5974b6,channelsToEditors:_0x33fd1a}){super(),this['id']=_0x5974b6||(0x0,_0x14e616['uid'])(),this['interactionId']=_0xf95521,this['type']=_0x4ec905,this['areActionsDisabled']=!!_0x424486,this['isFromHistory']=_0x2a8dd5,this['locale']=_0x500d6f,this['aiResponseParser']=new _0x528ffd(),this['aiResponseApplier']=new _0x7ab1d1(),this['documentContextContent']=new Map(_0x3289a9?.['map'](_0x3b3ba1=>[_0x3b3ba1['id'],tl(_0x3b3ba1['content'])])||[]),this['_documentIdToSource']=new Map(_0x3289a9?.['map'](_0x541213=>[_0x541213['id'],{'editor':_0x33fd1a['get'](_0x541213['channelId']),'rootName':_0x541213['rootName']}])||[]),this['set']('isDone',_0x38a4e5),this['set']('isComplete',_0xe989a9??_0x38a4e5),'text'===this['type']&&this['content']['set']('text','');}['appendContent'](_0x273ddb,_0x1c26e0){const _0x4eb944='text'===this['type']?'text':_0x1c26e0;this['content']['has'](_0x4eb944)||this['content']['set'](_0x4eb944,''),this['content']['set'](_0x4eb944,this['content']['get'](_0x4eb944)+_0x273ddb),this['onContentChange'](_0x4eb944);}['done'](_0x4e9697=!0x0){this['isComplete']=_0x4e9697,this['isDone']||(this['set']('isDone',!0x0),this['onContentChange']());}['destroy'](){this['stopListening']();}['setChangeGroupState'](_0xb7d77a,_0x5efbaa){this['changeGroups'][_0xb7d77a]['state']=_0x5efbaa,this['fire']('replyChangeGroupStateUpdated',{'reply':this,'index':_0xb7d77a,'state':_0x5efbaa});}['getContentParts']({showDiff:_0x3d331a,groupIndex:_0x412427}){const _0x32259c=this['_getCachedContentParts'](_0x3d331a,_0x412427);if(_0x32259c)return _0x32259c;let _0x439a2d=[];if(void 0x0===_0x412427)_0x439a2d=this['changeGroups'];else{const _0x48425b=this['changeGroups']['find'](({index:_0x491417})=>_0x491417===_0x412427);if(!_0x48425b)throw new _0x14e616['CKEditorError']('ai-reply-get-content-parts-group-not-found',null,{'aiReply':this,'groupIndex':_0x412427});_0x439a2d=[_0x48425b];}const _0x48845d=_0x55ce94({'showDiff':_0x3d331a,'changeGroups':_0x439a2d,'documentContextContent':this['documentContextContent']});return this['_setCachedContentParts'](_0x3d331a,_0x48845d),_0x48845d;}['_getCachedContentParts'](_0x477ea9,_0x1e03a2){const _0x15bc76=_0x477ea9?'withDiff':'withoutDiff';if(!this['cachedSuggestionContentParts'][_0x15bc76]['length'])return null;const _0x3adab7=this['cachedSuggestionContentParts'][_0x15bc76];if(void 0x0===_0x1e03a2)return _0x3adab7['length']>0x0&&_0x3adab7['length']!==this['changeGroups']['length']?(this['_setCachedContentParts'](_0x477ea9,null),null):wt(_0x3adab7);{const _0x120157=_0x3adab7['find'](({index:_0x4c35cc})=>_0x4c35cc===_0x1e03a2);if(_0x120157)return[wt(_0x120157)];}return null;}['_setCachedContentParts'](_0x5d96f3,_0x3d70ab){const _0x1f3bde=_0x5d96f3?'withDiff':'withoutDiff';_0x3d70ab?_0x3d70ab['forEach'](_0x112d41=>{const _0x562a6c=this['cachedSuggestionContentParts'][_0x1f3bde],_0x6b826a=_0x562a6c['find'](({index:_0x5cc20f})=>_0x5cc20f===_0x112d41['index']);if(_0x6b826a){const _0x593b1b=_0x562a6c['indexOf'](_0x6b826a);_0x562a6c['splice'](_0x593b1b,0x1,_0x112d41);}else _0x562a6c['push'](_0x112d41);}):this['cachedSuggestionContentParts'][_0x1f3bde]['length']=0x0;}['onContentChange'](_0x1d8062){if('modification'===this['type']){if(_0x1d8062)this['parsedContent']['set'](_0x1d8062,this['aiResponseParser']['parseAndNormalizeHTML'](this['content']['get'](_0x1d8062)));else{for(const [_0x385d64,_0x6c7088]of this['content'])this['parsedContent']['set'](_0x385d64,this['aiResponseParser']['parseAndNormalizeHTML'](_0x6c7088));}const _0x1e5d51=this['changeGroups'];for(const _0xeb90cc of this['content']['keys']())this['updateChangeGroups'](_0xeb90cc);const _0x517761=this['_getDifferentChangeGroups'](_0x1e5d51,this['changeGroups']);(_0x517761['length']||this['isDone'])&&(this['fire']('replyContentUpdated',this,_0x517761),this['cachedSuggestionContentParts']['withDiff']['length']=this['cachedSuggestionContentParts']['withoutDiff']['length']=0x0);}else this['parsedContent']['set']('text',this['aiResponseParser']['convertMarkdownToHTML'](this['content']['get']('text'))),this['fire']('replyContentUpdated',this);}['_getDifferentChangeGroups'](_0x6620c2,_0x4ae0fc){const _0x314619=[];for(const _0x1073e1 of _0x4ae0fc){const _0x3079ad=_0x6620c2[_0x1073e1['index']];_0x3079ad?_0x3079ad['changes']['length']!==_0x1073e1['changes']['length']?_0x314619['push'](_0x1073e1):_0x3079ad['changes']['forEach']((_0x2896c5,_0x18a4b3)=>{const _0x97ff07=_0x1073e1['changes'][_0x18a4b3];_0x2896c5['id']!==_0x97ff07['id']&&_0x314619['push'](_0x1073e1);}):_0x314619['push'](_0x1073e1);}return _0x314619;}['updateChangeGroups'](_0x46f538){const _0x5f57ae=this['documentContextContent']['get'](_0x46f538),_0x4ed35f=this['parsedContent']['get'](_0x46f538);if(!_0x5f57ae||!_0x4ed35f)return;const _0x1f3bb1=new _0x3df575('p',{},[new _0x3df575('span',{'style':'color:\x20#808080;\x20font-style:\x20italic'},[new _0x66d3ae(_0x2723f0(this['locale'],'AI_SUGGESTION_CONTENT_PART_REMOVED'))])]),_0x1c69e0=this['aiResponseApplier']['merge'](_0x4ed35f,_0x5f57ae['cloneNode'](!0x0),{'cutAfterUnstable':!this['isDone']||!this['isComplete'],'replaceRemovedWith':_0x1f3bb1});this['parsedMergedContent']['set'](_0x46f538,_0x1c69e0['parsedContent']);let _0x80c25e=[];if(_0x2a9e84(_0x540db9=>{const _0x1fdbc0=_0x4747ee(_0x540db9,'data-id');if(!_0x1fdbc0||!_0x41c83f(_0x1fdbc0))return!0x1;const _0x546d43=[_0x540db9,..._0x450ce0(_0x540db9)]['at'](-0x2);if(_0x540db9!=_0x546d43){const _0x50c6bd=_0x4747ee(_0x546d43,'data-id');_0x41c83f(_0x50c6bd)||(_0x80c25e['push']({'node':_0x546d43,'id':_0x50c6bd,'type':'modified'}),_0x1c69e0['modifiedNodeIds']['push'](_0x50c6bd));}else _0x1c69e0['modifiedNodeIds']['includes'](_0x1fdbc0)?_0x80c25e['push']({'node':_0x540db9,'type':'modified','id':_0x1fdbc0}):_0x1c69e0['newNodeIds']['includes'](_0x1fdbc0)?_0x80c25e['push']({'node':_0x540db9,'type':'new','id':_0x1fdbc0,'anchorId':_0x4747ee(_0x540db9['previousSibling'],'data-id')}):_0x80c25e['push']({'node':_0x540db9,'type':'removed','id':_0x1fdbc0});return!0x0;},this['parsedMergedContent']['get'](_0x46f538)),_0x80c25e=_0x80c25e['filter'](({node:_0x1d2e1e})=>[..._0x450ce0(_0x1d2e1e),_0x1d2e1e]['every'](_0x558744=>!_0x4747ee(_0x558744,'data-unstable'))),this['changeGroups']=this['changeGroups']['filter'](_0x202a50=>_0x202a50['documentId']!==_0x46f538),0x0==_0x80c25e['length'])return;const _0x3f71d2=[[_0x80c25e[0x0]]];for(let _0xa59a74=0x1;_0xa59a74<_0x80c25e['length'];_0xa59a74++){const _0x17abe8=_0x3f71d2[_0x3f71d2['length']-0x1],_0x2a1a82=_0x17abe8[_0x17abe8['length']-0x1];_0x80c25e[_0xa59a74]['node']['previousSibling']==_0x2a1a82['node']&&'modified'!=_0x80c25e[_0xa59a74]['type']&&'modified'!=_0x2a1a82['type']?_0x17abe8['push'](_0x80c25e[_0xa59a74]):_0x3f71d2['push']([_0x80c25e[_0xa59a74]]);}for(const _0x2f7e6c of _0x3f71d2){const _0x212627=_0x2f7e6c[0x0],_0x177f9c=_0x2f7e6c[_0x2f7e6c['length']-0x1],_0x458c7d=_0x57b07f(_0x212627['node']['previousSibling']);_0x458c7d&&_0x2f7e6c['unshift'](_0x458c7d);const _0x22405b=_0x57b07f(_0x177f9c['node']['nextSibling']);_0x22405b&&_0x2f7e6c['push'](_0x22405b);}_0x30dc4f('data-wrapped-id',null,this['parsedMergedContent']['get'](_0x46f538))['forEach'](_0x37226b=>{_0x137b1d(_0x37226b,'data-wrapped-id',null);});const _0x37746f=new Map();_0x30dc4f('data-unwrapped-id',null,this['parsedMergedContent']['get'](_0x46f538))['forEach'](_0x456205=>{const _0x5added=_0x4747ee(_0x456205,'data-unwrapped-id'),_0x50b652=_0x4747ee(_0x456205,'data-id');_0x37746f['set'](_0x50b652,_0x5added),_0x137b1d(_0x456205,'data-id',_0x5added),_0x137b1d(_0x456205,'data-unwrapped-id',null);});for(const _0x35c112 of _0x80c25e){const _0x4e4da6=_0x37746f['get'](_0x35c112['id']);_0x4e4da6&&(_0x35c112['id']=_0x4e4da6);}this['changeGroups']['push'](..._0x3f71d2['map']((_0x29d144,_0x52aacb)=>({'changes':_0x29d144,'state':'pending','index':_0x52aacb,'editor':this['_documentIdToSource']['get'](_0x46f538)['editor'],'rootName':this['_documentIdToSource']['get'](_0x46f538)['rootName'],'documentId':_0x46f538})));const _0x5a40ca=Array['from'](this['documentContextContent']['keys']());function _0x41c83f(_0x3cc89a){return _0x1c69e0['modifiedNodeIds']['includes'](_0x3cc89a)||_0x1c69e0['newNodeIds']['includes'](_0x3cc89a)||_0x1c69e0['removedNodeIds']['includes'](_0x3cc89a);}function _0x57b07f(_0x146f4f){if(_0x146f4f&&_0x4747ee(_0x146f4f,'data-id')&&!_0x4747ee(_0x146f4f,'data-unstable')){const _0x407521=_0x4747ee(_0x146f4f,'data-id');if(!_0x41c83f(_0x407521))return{'node':_0x146f4f,'type':'context','id':_0x407521};}return null;}this['changeGroups']['sort']((_0x4c30d7,_0x3506f9)=>_0x5a40ca['indexOf'](_0x4c30d7['documentId'])-_0x5a40ca['indexOf'](_0x3506f9['documentId'])),this['changeGroups']['forEach']((_0x7ba815,_0x256dad)=>{_0x7ba815['index']=_0x256dad;});}};const _0x4237eb=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['EmitterMixin'])(),_0x34626d=['interactionCreated','interactionStarted','interactionStopped','interactionFinished','interactionDestroyed','replyCreated','replyContentUpdated','replyChangeGroupStateUpdated','setConversationTitle','webSearchStarted','webSearchFinished','reasoningStarted','reasoningFinished','toolDataReceived','error'];var _0x46edf2=class extends _0x4237eb{['id'];['replies']=[];['currentReply'];['messageId'];['actionCallId'];['currentRequest'];['connector'];['isStopped']=!0x1;['isDestroyed']=!0x1;['locale'];['_isReasoning']=!0x1;['_isWebSearching']=!0x1;['_channelsToEditors'];constructor({connector:_0x2f70b5,locale:_0x487f6f,channelsToEditors:_0x3444f}){super(),this['id']=(0x0,_0x14e616['uid'])(),this['connector']=_0x2f70b5,this['isStopped']=!0x0,this['locale']=_0x487f6f,this['_channelsToEditors']=_0x3444f||new Map();}async['start'](){await this['_run']();}async['resume'](_0x57b8bb){await this['_run'](_0x57b8bb);}async['_run'](_0x4bd42b){const _0x5acfe7=[];let _0x43b0b1,_0x3aa7ab,_0x1e135f,_0x478fef=!0x1;this['isStopped']=!0x1;try{this['currentRequest']=_0x4bd42b||await this['sendRequest'](),this['fire']('interactionStarted',this);const _0xb1af22=await this['currentRequest']['getStream']();for await(const _0x3b05b4 of _0xb1af22){if(this['isStopped'])return;if('error'==_0x3b05b4['event'])return void this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-interaction-error',this)});switch(_0x3b05b4['event']){case'message-metadata':this['messageId']=_0x3b05b4['data']['messageId'];break;case'action-metadata':this['actionCallId']=_0x3b05b4['data']['callId'];break;case'conversation-title':this['setConversationTitle'](_0x3b05b4['data']['conversationTitle'],!0x0);break;case'source':_0x5acfe7['push'](_0x3b05b4['data']['source']);break;case'web-search':this['_isWebSearching']||(this['_isWebSearching']=!0x0,this['fire']('webSearchStarted',this));break;case'reasoning':this['_isReasoning']||(this['_isReasoning']=!0x0,this['fire']('reasoningStarted',this));break;case'modification-delta':case'text-delta':this['resetReasoningState'](),this['resetWebSearchState'](),_0x43b0b1='modification-delta'==_0x3b05b4['event']?'modification':'text',_0x3aa7ab='modification-delta'==_0x3b05b4['event']?_0x3b05b4['data']['id']:void 0x0,this['currentReply']&&this['currentReply']['type']!=_0x43b0b1&&(this['currentReply']['done'](),this['currentReply']=void 0x0),this['currentReply']||(this['currentReply']=this['createReply']({'type':_0x43b0b1,'interactionId':this['id'],'id':_0x3aa7ab,'channelsToEditors':this['_channelsToEditors'],...'modification-delta'==_0x3b05b4['event']&&{'documentId':_0x3b05b4['data']['documentId']}}),'modification'==_0x43b0b1&&(this['currentReply']['sources']=_0x5acfe7['splice'](0x0))),this['currentReply']['appendContent'](_0x3b05b4['data']['textDelta'],_0x3b05b4['data']['documentId']);break;case'mcp-tool-result':_0x1e135f=JSON['parse'](_0x3b05b4['data']['result']),this['_handleToolResultData']({'toolName':_0x3b05b4['data']['toolName'],'data':_0x1e135f['data'],'attributes':_0x1e135f['attributes']});break;case'mcp-tool-notification':this['_handleToolNotificationData']({'toolName':_0x3b05b4['data']['toolName'],'data':_0x3b05b4['data']['data']});}}_0x478fef=!0x0;}finally{this['isStopped']||(this['currentReply']&&_0x5acfe7['length']>0x0&&(this['currentReply']['sources']=_0x5acfe7['splice'](0x0)),this['_finalizeInteraction'](_0x478fef),this['fire']('interactionFinished',this));}}['stop'](){this['isStopped']||(this['_finalizeInteraction'](),this['fire']('interactionStopped',this));}['getReply'](_0x238d61){return this['replies']['find'](_0x1c755f=>_0x1c755f['id']===_0x238d61);}['destroy'](){this['isDestroyed']||(this['stop'](),this['replies']['forEach'](_0x38a102=>_0x38a102['destroy']()),this['replies']=[],this['isDestroyed']=!0x0,this['fire']('interactionDestroyed',this),this['stopListening']());}['createReply'](_0x294f27){const _0x7b9e59=this['getDocumentContext'](),_0x1f8562=new _0x4fc1d9({'locale':this['locale'],'documentContextContent':_0x7b9e59?.['documents'],..._0x294f27});return this['replies']['push'](_0x1f8562),_0x1f8562['delegate'](..._0x34626d)['to'](this),this['fire']('replyCreated',_0x1f8562),_0x1f8562;}['setConversationTitle'](_0x12a2cc,_0x14dd81=!0x1){this['fire']('setConversationTitle',_0x12a2cc,_0x14dd81);}['resetWebSearchState'](){this['_isWebSearching']&&(this['_isWebSearching']=!0x1,this['fire']('webSearchFinished',this));}['resetReasoningState'](){this['_isReasoning']&&(this['_isReasoning']=!0x1,this['fire']('reasoningFinished',this));}['_handleToolResultData'](_0x4b6a64){this['fire']('toolDataReceived',{'type':'result','toolName':_0x4b6a64['toolName'],'data':structuredClone(_0x4b6a64['data']||{}),'attributes':structuredClone(_0x4b6a64['attributes']||{})},this);}['_handleToolNotificationData'](_0x360213){this['fire']('toolDataReceived',{'type':'notification','toolName':_0x360213['toolName'],'data':structuredClone(_0x360213['data'])},this);}['_finalizeInteraction'](_0x36b0bc=!0x1){this['isStopped']=!0x0,this['currentRequest']&&this['currentRequest']['abortController']['abort'](),this['currentReply']&&this['currentReply']['done'](_0x36b0bc),this['currentRequest']=this['currentReply']=void 0x0;}};const _0x455099=new Map([['usage-limits-exceeded','ai-usage-limits-exceeded'],['rate-limits-exceeded','ai-rate-limits-exceeded'],['invalid-content-type','ai-invalid-content-type'],['invalid-request-data','ai-chat-invalid-request'],['model-already-set','ai-chat-model-already-set'],['model-not-found','ai-chat-model-not-found'],['unsafe-content-detected','ai-chat-unsafe-content-detected'],['unsupported-content-type','ai-chat-unsupported-content-type'],['content-too-large','ai-chat-content-too-large'],['unsupported-file-type','ai-chat-context-unsupported-file-type'],['file-too-large','ai-chat-context-file-too-large'],['file-too-many-pages','ai-chat-context-file-too-many-pages'],['form-data-size-limits-exceeded','ai-chat-context-form-data-size-limits-exceeded']]),_0x406830=/* #__PURE__  -- @preserve */
/* #__PURE__  -- @preserve */
(0x0,_0x14e616['ObservableMixin'])(),_0xf82be0=['contextItemAdded','contextItemRemoved','contextItemLoadingEnded','contextSent','error','addContextOptionsChanged','sourceResourcesLoaded','resourceStateChanged','uploadProgressChanged'];var _0x3e1132=class AIChatContext extends _0x406830{['_connector'];['_config'];['_ownerId'];constructor({connector:_0xbac707,config:_0xdaa4dd,ownerId:_0x5b248f}){super(),this['_connector']=_0xbac707,this['_config']=_0xdaa4dd,this['_ownerId']=_0x5b248f;}['init'](){this['_pendingContextItems']=new Map(),this['_conversationContextItems']=new Map(),this['_ongoingUploads']=new Map(),this['_ongoingUploadOperations']=new Map(),this['_setAddContextOptionsDefaultState']();}['getPendingContextItems'](){return new Map(this['_pendingContextItems']);}async['populateFromMessage'](_0x1c723f,_0x2ff463){const _0x1cfae6=new Map(),{contextItem:_0xa381e9,hasUnmatched:_0x2d818d}=await this['_populateDocumentContextItem'](_0x1c723f,_0x2ff463);_0xa381e9&&_0x1cfae6['set'](_0xa381e9['id'],_0xa381e9);for(const _0x48bbb8 of _0x1c723f){if('document'===_0x48bbb8['type'])continue;const _0x26827a=await this['_createContextItemFromContent'](_0x48bbb8);this['_addToConversationContextItem'](_0x26827a),_0x1cfae6['set'](_0x26827a['id'],_0x26827a);}return{'contextItems':_0x1cfae6,'hasUnmatched':_0x2d818d};}async['_populateDocumentContextItem'](_0x9e17f2,_0x150d5f){const _0xb0e415=_0x9e17f2['filter'](_0x279abc=>'document'===_0x279abc['type']);if(0x0===_0xb0e415['length'])return{'hasUnmatched':!0x1};const _0x40e95f=_0xb0e415['map'](_0x377101=>_0x377101['id']),_0x186933=await this['_connector']['fetchDocuments'](this['_ownerId'],_0x40e95f)['getDocuments'](),_0x5d200e=new Map(_0x186933['map'](_0x541638=>[_0x541638['id'],_0x541638])),_0x5beb04=[];let _0x110590=!0x1;for(const _0x4e8c6a of _0xb0e415){const _0x349a3d=_0x5d200e['get'](_0x4e8c6a['id']);_0x349a3d&&(this['_matchDocumentToRoot'](_0x349a3d,_0x150d5f)||(_0x110590=!0x0),_0x5beb04['push']({'id':_0x349a3d['id'],'content':_0x349a3d['content'],'version':_0x349a3d['attributes']?.['version']??0x0,'sessionId':_0x349a3d['attributes']?.['sessionId']??null,'selection':[],'channelId':_0x349a3d['attributes']?.['channelId']??_0x150d5f[0x0]?.['config']['get']('collaboration.channelId')??'','rootName':_0x349a3d['attributes']?.['rootName']??_0x150d5f[0x0]?.['model']['document']['getRoots']()[0x0]['rootName']??''}));}const _0x21429c={'id':'current-document','uiId':'current-document','label':'Current\x20document','type':'document','hidden':this['_conversationContextItems']['has']('current-document'),'documents':_0x5beb04};return this['_addToConversationContextItem'](_0x21429c),this['toggleAddCurrentDocumentOptionVisibility'](),{'contextItem':_0x21429c,'hasUnmatched':_0x110590};}['_matchDocumentToRoot'](_0x32d4b7,_0x1e2c62){const _0x52bdf0=_0x32d4b7['attributes']?.['channelId'],_0x35cda4=_0x32d4b7['attributes']?.['rootName'];if(_0x52bdf0&&_0x35cda4){for(const _0x292e18 of _0x1e2c62)if(_0x292e18['config']['get']('collaboration.channelId')===_0x52bdf0){for(const _0x2a9896 of _0x292e18['model']['document']['getRoots']())if('$graveyard'!==_0x2a9896['rootName']&&_0x2a9896['rootName']===_0x35cda4)return{'editor':_0x292e18,'rootName':_0x2a9896['rootName']};}}}async['_createContextItemFromContent'](_0x3bf4b2){return'mcp-tool-context'===_0x3bf4b2['type']?{'id':_0x3bf4b2['id'],'uiId':_0x3bf4b2['id'],'label':_0x3bf4b2['data']?.['label']||_0x3bf4b2['id'],'type':'mcp-tool-context','mcpServerName':_0x3bf4b2['mcpServerName'],'toolName':_0x3bf4b2['toolName'],'data':_0x3bf4b2['data']||{}}:{'id':_0x3bf4b2['id'],'uiId':_0x3bf4b2['id'],'label':_0x3bf4b2['attributes']?.['label']||_0x3bf4b2['name']||_0x3bf4b2['url']||_0x3bf4b2['id'],'type':_0x3bf4b2['type'],..._0x3bf4b2?.['attributes']?.['resourceId']?{'resourceId':_0x3bf4b2['attributes']?.['resourceId']}:{}};}['getSentContextItems'](){return new Map(this['_conversationContextItems']);}['removeFromContext'](_0x4c3cff){this['_pendingContextItems']['get'](_0x4c3cff)?.['isReadOnly']||this['_removeContextItem'](_0x4c3cff);}['clearPendingContextItems'](){if(0x0===this['_pendingContextItems']['size'])return;for(const _0x7346a5 of this['_pendingContextItems']['values']())this['_removeContextItem'](_0x7346a5['uiId']);const _0x439186=this['_conversationContextItems']['get']('current-document')||this['_pendingContextItems']['get']('current-document');_0x439186&&this['_addContextItem']({..._0x439186,'isReadOnly':!0x0,'hidden':!0x0});}['addToConversationContext'](_0x313991){for(const _0x3e3028 of _0x313991['values']())this['_addToConversationContextItem'](_0x3e3028);this['clearPendingContextItems'](),this['fire']('contextSent',{'contextItems':Array['from'](this['getSentContextItems']()['values']())});}['isCurrentDocumentInContext'](){return this['_pendingContextItems']['has']('current-document');}['isSelectionInContext'](){return this['_pendingContextItems']['has']('selection');}['isCurrentDocumentInConversation'](){return this['_conversationContextItems']['has']('current-document');}static['mapContextItemsToRequestData'](_0x4b0374){return Array['from'](_0x4b0374['values']())['flatMap'](_0x446ce1=>this['_mapContextItemToRequestData'](_0x446ce1));}async['addFilesToContext'](_0x5170c,_0x138eb7,_0xa0301f='file'){const _0x4b0643='files-'+(0x0,_0x14e616['uid'])();this['_startUploadOperation'](_0x4b0643);try{await Promise['all'](_0x5170c['map'](async _0x409d5d=>{const _0x5e3ae5='file-'+(0x0,_0x14e616['uid'])(),_0x5e7a2f=Zt(_0x409d5d['name']),_0xfab0f5='file'===_0xa0301f&&_0x409d5d['type']['startsWith']('image/')?'image':_0xa0301f;try{this['_addContextItem']({'type':_0xfab0f5,'label':_0x138eb7?.['label']||_0x5e7a2f,'uiId':_0x5e3ae5,'resourceId':_0x138eb7?.['resourceId']},!0x0);const _0x1f1bdc=this['_connector']['uploadFile'](this['_ownerId'],_0x409d5d,_0x138eb7);this['_ongoingUploads']['set'](_0x5e3ae5,_0x1f1bdc['abortController']);const {id:_0x2b9727}=await _0x1f1bdc['getId']();this['_ongoingUploads']['delete'](_0x5e3ae5),this['_finishContextItemLoading']({'type':_0xfab0f5,'id':_0x2b9727,'label':_0x138eb7?.['label']||_0x5e7a2f,'uiId':_0x5e3ae5,'resourceId':_0x138eb7?.['resourceId']},!0x1);}catch(_0x204a5c){if(this['_ongoingUploads']['delete'](_0x5e3ae5),!_0x50e33e(_0x204a5c)){const _0x1d013a=new _0x1118f7({'code':_0x455099['get'](_0x204a5c['code'])||'ai-chat-file-upload-failed','cause':_0x204a5c,'context':{'fileName':_0x5e7a2f}});this['fire']('error',{'error':_0x1d013a});}this['_removeContextItem'](_0x5e3ae5);}}));}finally{this['_finishUploadOperation'](_0x4b0643);}}['addCurrentDocumentToContext'](_0x3284e1){if(this['isCurrentDocumentInContext']()||!this['_addContextOptionsState']['document']['enabled'])return;const _0x5f4d00={'type':'document','uiId':'current-document','label':_0x3284e1,'isReadOnly':this['_conversationContextItems']['has']('current-document'),'hidden':this['_conversationContextItems']['has']('current-document')};this['_addContextItem'](_0x5f4d00);}async['updateCurrentDocuments'](_0x314aef){const _0x1ff3df=this['_pendingContextItems']['get']('current-document');if(!_0x1ff3df||!_0x314aef['length']||_0x314aef['every'](_0x112b3b=>!_0x112b3b['content']))return;_0x314aef['length']>0x1&&_0x314aef['some'](_0x497051=>!_0x497051['description'])&&(0x0,_0x14e616['logWarning'])('ai-chat-documents-missing-description');try{const _0x4b4de2=await this['_connector']['uploadDocuments'](this['_ownerId'],_0x314aef)['getIds']();if(_0x4b4de2['length']!==_0x314aef['length']||_0x4b4de2['some'](_0x57d492=>!_0x57d492?.['id'])){const _0x17d35b=new _0x14e616['CKEditorError']('ai-chat-document-upload-reply-mismatch',null);return void this['fire']('error',{'error':_0x17d35b});}_0x1ff3df['documents']=_0x314aef['map']((_0x218400,_0x576e30)=>{return{'id':_0x4b4de2[_0x576e30]['id'],'content':_0x218400['content'],'version':_0x218400['version'],'sessionId':_0x218400['sessionId'],'selection':(_0x529e95=_0x218400['selections'],_0x529e95?_0x529e95['map'](_0x44f77e=>({'start':_0x44f77e['start'],'end':_0x44f77e['end']})):[]),'channelId':_0x218400['channelId'],'rootName':_0x218400['rootName']};var _0x529e95;});}catch(_0x57b6f4){const _0x1d5c69=new _0x1118f7({'code':'ai-chat-document-upload-failed','type':'network','cause':_0x57b6f4});this['fire']('error',{'error':_0x1d5c69});}}['addSelectionToContext'](_0x2b45f9){this['_addContextItem']({'type':'selection','label':_0x2b45f9,'uiId':'selection','content':_0x2b45f9});}['removeSelectionFromContext'](){this['_removeContextItem']('selection');}async['addUrlToContext'](_0x573771,_0x2e0779){const _0x3d28f1='url-'+(0x0,_0x14e616['uid'])();this['_startUploadOperation'](_0x3d28f1);const _0x21baa9='url-'+(0x0,_0x14e616['uid'])();try{this['_addContextItem']({'type':'web-resource','label':_0x2e0779?.['label']||_0x573771,'uiId':_0x21baa9,'resourceId':_0x2e0779?.['resourceId']},!0x0);const _0x2ec566=this['_connector']['uploadUrl'](this['_ownerId'],_0x573771,_0x2e0779);this['_ongoingUploads']['set'](_0x21baa9,_0x2ec566['abortController']);const {id:_0x120b4f}=await _0x2ec566['getId']();this['_ongoingUploads']['delete'](_0x21baa9),this['_finishContextItemLoading']({'type':'web-resource','id':_0x120b4f,'label':_0x2e0779?.['label']||_0x573771,'uiId':_0x21baa9,'resourceId':_0x2e0779?.['resourceId']},!0x1);}catch(_0x2f149a){this['_ongoingUploads']['delete'](_0x21baa9),_0x50e33e(_0x2f149a)||this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-url-upload-failed',this,{'url':_0x573771,'originalError':_0x2f149a}),'url':_0x573771}),this['_removeContextItem'](_0x21baa9);}finally{this['_finishUploadOperation'](_0x3d28f1);}}['addToolItemToContext'](_0x476fa9){_0x476fa9['id']=_0x476fa9['id']??(0x0,_0x14e616['uid'])()['substring'](0x0,0x15),this['_pendingContextItems']['set'](_0x476fa9['uiId'],_0x476fa9),this['fire']('contextItemAdded',{'contextItem':_0x476fa9,'isLoading':!0x1});}async['loadSourceResources'](_0x4169ab,_0x59c2c1,_0x26a718){const _0x3e2fb9=this['_addContextOptionsState']['sources']['find'](_0x550749=>_0x550749['id']===_0x4169ab);if(!_0x3e2fb9)return this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-source-not-found',this,{'sourceId':_0x4169ab}),'sourceId':_0x4169ab}),[];try{const _0x3052dc=(await _0x3e2fb9['getResources'](_0x59c2c1))['map'](_0x4bc25a=>{const _0x3a3bf0=this['_isResourceInContext'](_0x4bc25a['id']);return{..._0x4bc25a,'isInContext':_0x3a3bf0};});return _0x3e2fb9['resources']=_0x3052dc,this['fire']('sourceResourcesLoaded',{'sourceId':_0x4169ab,'source':_0x3e2fb9,'resources':_0x3052dc,'uid':_0x26a718}),_0x3052dc;}catch(_0x32bc43){return this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-source-resources-load-failed',this,{'sourceId':_0x4169ab,'originalError':_0x32bc43}),'sourceId':_0x4169ab,'sourceLabel':_0x3e2fb9['label']}),[];}}async['addResourceToContext'](_0x361d61,_0x3b8b3e){if(this['_isResourceInContext'](_0x3b8b3e['id']))return;let _0x488eca=_0x3b8b3e['data'];if(!_0x488eca&&_0x361d61['getData'])try{_0x488eca=await _0x361d61['getData'](_0x3b8b3e['id']);}catch(_0x424014){return void this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-resource-load-failed',this,{'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id'],'originalError':_0x424014}),'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id']});}if(_0x488eca)switch(_0x3b8b3e['type']){case'web-resource':if('string'!=typeof _0x488eca)return void this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id'],'expectedType':'string','actualType':typeof _0x488eca}),'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id']});await this['addUrlToContext'](_0x488eca,{'label':_0x3b8b3e['label'],'resourceId':_0x3b8b3e['id']});break;case'file':if(!(_0x488eca instanceof File))return void this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id'],'expectedType':'File','actualType':typeof _0x488eca}),'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id']});await this['addFilesToContext']([_0x488eca],{'label':_0x3b8b3e['label'],'resourceId':_0x3b8b3e['id']});break;case'text':if('object'!=typeof _0x488eca||!('content'in _0x488eca)||!('type'in _0x488eca))return void this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-context-invalid-data',this,{'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id'],'expectedType':'object\x20with\x20content\x20and\x20type\x20properties','actualType':typeof _0x488eca}),'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id']});_0x488eca=AIChatContext['_convertTextResourceToFile'](_0x488eca,_0x3b8b3e['label']),await this['addFilesToContext']([_0x488eca],{'label':_0x3b8b3e['label'],'resourceId':_0x3b8b3e['id']},'text');break;case'mcp-tool-context':break;default:this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-context-unsupported-type',this,{'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id'],'resourceType':_0x3b8b3e['type']}),'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id']});}else this['fire']('error',{'error':new _0x14e616['CKEditorError']('ai-chat-resource-no-data',this,{'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id']}),'resourceId':_0x3b8b3e['id'],'sourceId':_0x361d61['id']});}['toggleAddCurrentDocumentOptionVisibility'](_0x184804){if(void 0x0!==_0x184804)this['_addContextOptionsState']['document']['isHidden']=!_0x184804;else{const _0x13f817=this['isCurrentDocumentInContext']()||this['isCurrentDocumentInConversation']();this['_addContextOptionsState']['document']['isHidden']=_0x13f817;}this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}static['_convertTextResourceToFile'](_0x2702a3,_0x1aa30e){switch(_0x2702a3['type']){case'markdown':return new File([_0x2702a3['content']],_0x1aa30e,{'type':'text/markdown'});case'html':return new File([_0x2702a3['content']],_0x1aa30e,{'type':'text/html'});default:return new File([_0x2702a3['content']],_0x1aa30e,{'type':'text/plain'});}}static['_mapContextItemToRequestData'](_0xba85e4){switch(_0xba85e4['type']){case'file':case'image':case'text':return[{'type':'file','id':_0xba85e4['id']}];case'web-resource':return[{'type':'web-resource','id':_0xba85e4['id']}];case'document':return _0xba85e4['documents']?.['length']?_0xba85e4['documents']['map'](_0x120d04=>({'type':'document','id':_0x120d04['id'],..._0x120d04['selection']?.['length']&&{'selection':_0x120d04['selection']}})):[];case'mcp-tool-context':{const _0x4d68d4=_0xba85e4;return[{'type':'mcp-tool-context','mcpServerName':_0x4d68d4['mcpServerName'],'toolName':_0x4d68d4['toolName'],'data':{..._0x4d68d4['data'],'label':_0x4d68d4['label']||_0x4d68d4['data']?.['label']||_0x4d68d4['id']},'id':_0x4d68d4['id']}];}default:return[];}}['_addContextItem'](_0x2805f7,_0x55b79f=!0x1){if(this['_pendingContextItems']['set'](_0x2805f7['uiId'],_0x2805f7),_0x2805f7['hidden']||this['fire']('contextItemAdded',{'contextItem':_0x2805f7,'isLoading':_0x55b79f}),'current-document'===_0x2805f7['uiId']&&this['toggleAddCurrentDocumentOptionVisibility'](),_0x2805f7['resourceId']){const _0x183f57=this['_findSourceIdsByResourceId'](_0x2805f7['resourceId']);_0x183f57&&_0x183f57['forEach'](_0x4397e2=>{this['_updateResourceInContextState'](_0x4397e2,_0x2805f7['resourceId'],!0x0);});}}['_removeContextItem'](_0x58e1f3){const _0x3951a5=this['_pendingContextItems']['get'](_0x58e1f3),_0xfc707e=this['_ongoingUploads']['get'](_0x58e1f3);if(_0xfc707e&&(_0xfc707e['abort'](),this['_ongoingUploads']['delete'](_0x58e1f3)),_0x3951a5?.['resourceId']){const _0x5d9a12=this['_findSourceIdsByResourceId'](_0x3951a5['resourceId']);_0x5d9a12&&_0x5d9a12['forEach'](_0x446675=>{this['_updateResourceInContextState'](_0x446675,_0x3951a5['resourceId'],!0x1);});}this['_pendingContextItems']['delete'](_0x58e1f3),this['fire']('contextItemRemoved',{'uiId':_0x58e1f3,'type':_0x3951a5?.['type']}),'current-document'===_0x58e1f3&&this['toggleAddCurrentDocumentOptionVisibility']();}['_finishContextItemLoading'](_0x41901e,_0x3e7639){if(this['_pendingContextItems']['has'](_0x41901e['uiId'])&&(this['_pendingContextItems']['set'](_0x41901e['uiId'],_0x41901e),this['fire']('contextItemLoadingEnded',{'contextItem':_0x41901e,'isLoading':_0x3e7639}),_0x41901e['resourceId'])){const _0xb4c58=this['_findSourceIdsByResourceId'](_0x41901e['resourceId']);_0xb4c58&&_0xb4c58['forEach'](_0x1b7b29=>{this['_updateResourceInContextState'](_0x1b7b29,_0x41901e['resourceId'],!0x0);});}}['_addToConversationContextItem'](_0x52db92){this['_conversationContextItems']['set'](_0x52db92['uiId'],_0x52db92);}['_setAddContextOptionsDefaultState'](){this['_addContextOptionsState']={'document':{'enabled':!0x1!==this['_config']?.['document']?.['enabled'],'isHidden':!0x1},'urls':{'enabled':!0x1!==this['_config']?.['urls']?.['enabled']},'files':{'enabled':!0x1!==this['_config']?.['files']?.['enabled']},'sources':this['_getCustomSourcesInitialState'](),'customItems':this['_config']?.['customItems']?.['map'](_0x1aabbd=>({..._0x1aabbd,'enabled':!0x0}))??[]},this['fire']('addContextOptionsChanged',{'options':this['_addContextOptionsState']});}['_getCustomSourcesInitialState'](){return this['_config']?.['sources']?.['map'](_0x21653c=>({..._0x21653c,'resources':[]}))??[];}['_isResourceInContext'](_0x1e7a6b){for(const _0xdd1e91 of this['_pendingContextItems']['values']())if(_0xdd1e91['resourceId']===_0x1e7a6b)return!0x0;for(const _0x2798f8 of this['_conversationContextItems']['values']())if(_0x2798f8['resourceId']===_0x1e7a6b)return!0x0;return!0x1;}['_findSourceIdsByResourceId'](_0x5737a4){const _0x33ecaa=[];for(const _0x745dfe of this['_addContextOptionsState']['sources'])_0x745dfe['resources']['find'](_0x37e1fe=>_0x37e1fe['id']===_0x5737a4)&&_0x33ecaa['push'](_0x745dfe['id']);return 0x0===_0x33ecaa['length']?null:_0x33ecaa;}['_updateResourceInContextState'](_0x1e5af9,_0x2afc85,_0x4ee8f9){const _0x2e6314=this['_addContextOptionsState']['sources']['find'](_0x407194=>_0x407194['id']===_0x1e5af9);if(!_0x2e6314)return;const _0x4f66df=_0x2e6314['resources']['find'](_0x22c367=>_0x22c367['id']===_0x2afc85);_0x4f66df&&(_0x4f66df['isInContext']=_0x4ee8f9,this['fire']('resourceStateChanged',{'sourceId':_0x1e5af9,'resourceId':_0x2afc85,'isInContext':_0x4ee8f9}));}['_startUploadOperation'](_0x47dafd){this['_ongoingUploadOperations']['set'](_0x47dafd,!0x0),this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x0});}['_finishUploadOperation'](_0x2b9347){this['_ongoingUploadOperations']['delete'](_0x2b9347),0x0===this['_ongoingUploadOperations']['size']&&this['fire']('uploadProgressChanged',{'isUploadInProgress':!0x1});}};const _0x1441a7=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['EmitterMixin'])(),_0x55bc3e=['capabilitiesUpdated'];var _0x930070=class extends _0x1441a7{['_isWebSearchEnabled'];['_isReasoningEnabled'];constructor(){super(),this['_isWebSearchEnabled']=!0x1,this['_isReasoningEnabled']=!0x1;}['init'](){this['reset']();}['reset'](){this['setWebSearch'](!0x1),this['setReasoning'](!0x1);}['getCapabilitiesConfig'](){return{'isWebSearchEnabled':this['_isWebSearchEnabled'],'isReasoningEnabled':this['_isReasoningEnabled']};}static['getCapabilitiesRequestData'](_0x2a95a1){const _0x2df3a2={};return _0x2a95a1&&_0x2a95a1['isWebSearchEnabled']&&(_0x2df3a2['webSearch']={}),_0x2a95a1&&_0x2a95a1['isReasoningEnabled']&&(_0x2df3a2['reasoning']={}),_0x2df3a2;}['toggleWebSearch'](){this['setWebSearch'](!this['_isWebSearchEnabled']);}['toggleReasoning'](){this['setReasoning'](!this['_isReasoningEnabled']);}['setWebSearch'](_0x4fbb7b){_0x4fbb7b!==this['_isWebSearchEnabled']&&(this['_isWebSearchEnabled']=_0x4fbb7b,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}['setReasoning'](_0x53bc14){_0x53bc14!==this['_isReasoningEnabled']&&(this['_isReasoningEnabled']=_0x53bc14,this['fire']('capabilitiesUpdated',this['getCapabilitiesConfig']()));}},_0x3f0ec4=class extends _0x46edf2{['userMessage'];['conversationId'];['contextItems']=new Map();['capabilities'];['model'];['attributes'];constructor(_0x20a7d1){super(_0x20a7d1),this['conversationId']=_0x20a7d1['conversationId'],this['contextItems']=_0x20a7d1['contextItems'],this['capabilities']=_0x20a7d1['capabilities'],this['userMessage']=_0x20a7d1['userMessage'],this['model']=_0x20a7d1['model'],this['attributes']=_0x20a7d1['attributes'];}async['sendRequest'](){return this['connector']['queryAssistant']({'message':this['userMessage'],'conversationId':this['conversationId'],'parts':_0x3e1132['mapContextItemsToRequestData'](this['contextItems']),'capabilities':_0x930070['getCapabilitiesRequestData'](this['capabilities']),'model':this['model'],'attributes':this['attributes']});}['getDocumentContext'](){return this['contextItems']['get']('current-document');}};const _0x19451c=/* #__PURE__  -- @preserve */
/* #__PURE__  -- @preserve */
(0x0,_0x14e616['EmitterMixin'])();var _0x971a92=class extends _0x19451c{['id'];['isStarted']=!0x1;['isFromHistory'];['interactions']=[];['currentInteraction'];['selectedModel'];['connector'];['options'];['_channelsToEditors'];['_getSessionId'];constructor(_0x1434d0){super(),this['options']=_0x1434d0,this['connector']=_0x1434d0['connector'],this['chatModels']=_0x1434d0['chatModels'],this['id']=_0x1434d0['conversationId'],this['isFromHistory']=_0x1434d0['isFromHistory'],this['_channelsToEditors']=_0x1434d0['channelsToEditors'],this['_getSessionId']=_0x1434d0['getSessionId'];}async['init'](_0x12297c){try{this['chatContext']=new _0x3e1132({'connector':this['connector'],'config':_0x12297c,'ownerId':this['id']}),this['chatContext']['delegate'](..._0xf82be0)['to'](this),this['chatContext']['init'](),this['chatCapabilities']=new _0x930070(),this['chatCapabilities']['delegate'](..._0x55bc3e)['to'](this),this['chatCapabilities']['init']();const _0x3a8c4f=await this['chatModels']['getAvailableModels']();this['fire']('conversationInitialized',{'availableModels':_0x3a8c4f});const _0x1a63e6=await this['chatModels']['getModel'](this['options']['selectedModelId']);_0x1a63e6&&await this['setModel'](_0x1a63e6);}catch(_0x469275){const _0x41e97e=new _0x1118f7({'code':'ai-chat-conversation-init-failed','cause':_0x469275,'type':'network'});this['fire']('error',{'error':_0x41e97e});}}async['start'](){if(this['isStarted'])throw new _0x14e616['CKEditorError']('ai-chat-conversation-already-started',null,{'conversation':this});if(!this['selectedModel'])throw new _0x14e616['CKEditorError']('ai-chat-conversation-start-no-model-selected',null,{'conversation':this});try{const {id:_0x25570b}=await this['connector']['startConversation'](this['id'],this['options']['group'])['getConversation']();this['id']=_0x25570b,this['isStarted']=!0x0,this['fire']('conversationStarted',{'conversationId':this['id'],'selectedModel':this['selectedModel']});}catch(_0x5ad6bc){const _0x4c8d18=new _0x1118f7({'code':'ai-chat-conversation-start-failed','cause':_0x5ad6bc,'type':'network','context':{'conversationId':this['id']}});throw this['fire']('error',{'error':_0x4c8d18}),_0x4c8d18;}}async['load'](_0x4ba743){try{const _0x3ab8ee=await this['connector']['fetchConversation'](_0x4ba743)['getConversation'](),_0x5b2118=await this['connector']['fetchConversationMessages'](_0x4ba743)['getMessages'](),_0x13b010=_0x5b2118[0x0]['model'];this['isStarted']=!0x0,this['id']=_0x3ab8ee['id'],'title'in _0x3ab8ee?this['fire']('setConversationTitle',_0x3ab8ee['title'],!this['isFromHistory']):this['fire']('setConversationTitle','',!this['isFromHistory']);const _0x2717a3=(await this['chatModels']['getAll']())['find'](_0x27b494=>_0x27b494['id']['toLowerCase']()===_0x13b010['toLowerCase']());this['selectedModel']=_0x2717a3,this['fire']('modelSelected',{'selectedModel':_0x2717a3,'isDisabled':!0x0});const {streamingMessageId:_0x551ea5}=await this['_processMessagesToInteractions'](_0x5b2118,_0x13b010);return _0x551ea5&&this['currentInteraction']?this['_resumeStream'](_0x551ea5):this['currentInteraction']=void 0x0,this;}catch(_0x509a8f){const _0x368f92=new _0x1118f7({'code':'ai-chat-conversation-init-from-id-failed','cause':_0x509a8f,'type':'network','context':{'conversationId':_0x4ba743}});throw this['fire']('error',{'error':_0x368f92}),_0x368f92;}}async['_processMessagesToInteractions'](_0x2a65cb,_0x499c77){let _0x1ff96e,_0x1ffc6,_0x459d99=!0x1;for(const _0x524766 of _0x2a65cb)if('user'===_0x524766['role']){const {contextItems:_0x42a224,hasUnmatched:_0x82d4a1}=await this['_extractContextItems'](_0x524766);_0x459d99=_0x82d4a1;const _0x5aaa68={'isReasoningEnabled':Object['hasOwn'](_0x524766['capabilities'],'reasoning'),'isWebSearchEnabled':Object['hasOwn'](_0x524766['capabilities'],'webSearch')};_0x1ff96e=this['createInteraction']({'userMessage':_0x524766['prompt'],'contextItems':_0x42a224,'capabilities':_0x5aaa68,'modelId':_0x499c77,'attributes':_0x524766['attributes'],'channelsToEditors':this['_channelsToEditors']}),this['currentInteraction']=_0x1ff96e,_0x1ffc6=void 0x0,this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}else{if('assistant'===_0x524766['role']&&_0x1ff96e){if('streaming'===_0x524766['status']){_0x1ffc6=_0x524766['id'];continue;}if('error'===_0x524766['status'])continue;const _0x585521=[];for(const _0x416fbc of _0x524766['content'])switch(_0x416fbc['type']){case'text':case'modification':{const _0xd3e409=_0x1ff96e['getDocumentContext'](),_0x50cd7d=this['_hasSessionMismatch'](_0xd3e409)||_0x459d99;_0x1ff96e['currentReply']?.['type']!==_0x416fbc['type']&&(_0x1ff96e['currentReply']=_0x1ff96e['createReply']({'type':_0x416fbc['type'],'isDone':!0x0,'interactionId':_0x1ff96e['id'],'areActionsDisabled':_0x50cd7d,'isFromHistory':!0x0,'channelsToEditors':this['_channelsToEditors']}),_0x585521['length']>0x0&&(_0x1ff96e['currentReply']['sources']=_0x585521['splice'](0x0))),_0x1ff96e['currentReply']['appendContent'](_0x416fbc['content'],_0x416fbc['documentId']);break;}case'url':_0x585521['push'](_0x416fbc);break;case'mcp-tool-result':{const {data:_0x576248,attributes:_0x287fd2}=JSON['parse'](_0x416fbc['content']);_0x1ff96e['_handleToolResultData']({'toolName':_0x416fbc['toolName'],'data':_0x576248,'attributes':_0x287fd2});break;}}'cancelled'===_0x524766['status']&&this['fire']('error',{'interactionId':_0x1ff96e['id'],'error':new _0x14e616['CKEditorError']('ai-request-aborted',this)});}}return{'streamingMessageId':_0x1ffc6};}async['_resumeStream'](_0x1f0f42){if(this['currentInteraction'])try{const _0x5ce072=this['connector']['resumeStream'](this['id'],_0x1f0f42);await this['currentInteraction']['resume'](_0x5ce072);}catch(_0x1a8b4b){_0x1a8b4b instanceof _0x14e616['CKEditorError']&&this['fire']('error',{'interactionId':this['currentInteraction']?.['id'],'error':_0x1a8b4b});}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}async['_extractContextItems'](_0x4956e0){return _0x4956e0['content']?this['chatContext']['populateFromMessage'](_0x4956e0['content'],Array['from'](this['_channelsToEditors']['values']())):{'contextItems':new Map(),'hasUnmatched':!0x1};}async['handleUserInteraction']({userMessage:_0x506041,attributes:_0xdd38d8}){if(!this['isStarted'])throw new _0x14e616['CKEditorError']('ai-chat-handle-user-conversation-not-initialized',null,{'conversation':this});if(this['currentInteraction'])throw new _0x14e616['CKEditorError']('ai-chat-handle-user-interaction-already-in-progress',null,{'conversation':this});try{const _0x2a8dc6=new Map(this['getPendingContextItems']()),_0x385d66=this['chatCapabilities']['getCapabilitiesConfig'](),_0xd45d8=this['selectedModel']['id'];this['currentInteraction']=this['createInteraction']({'userMessage':_0x506041,'contextItems':_0x2a8dc6,'capabilities':_0x385d66,'modelId':_0xd45d8,'attributes':_0xdd38d8,'channelsToEditors':this['_channelsToEditors']}),await this['currentInteraction']['start'](),this['chatContext']['addToConversationContext'](this['currentInteraction']['contextItems']);}catch(_0xa49395){if(_0xa49395 instanceof _0x14e616['CKEditorError'])this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':_0xa49395});else{const _0x11ee8b=_0x455099['get'](_0xa49395['code'])||'ai-chat-handle-user-interaction-start-failed';this['fire']('error',{'interactionId':this['currentInteraction']?this['currentInteraction']['id']:void 0x0,'error':new _0x14e616['CKEditorError'](_0x11ee8b,null,{'error':_0xa49395})});}}finally{this['currentInteraction']?.['stop'](),this['currentInteraction']=void 0x0;}}['createInteraction']({userMessage:_0x5e8beb,contextItems:_0x478833,capabilities:_0x1a478e,modelId:_0x2e5dee,attributes:_0x213683,channelsToEditors:_0x3f65c4}){const _0x554c58=new _0x3f0ec4({'userMessage':_0x5e8beb,'contextItems':_0x478833,'capabilities':_0x1a478e,'conversationId':this['id'],'connector':this['connector'],'locale':this['options']['locale'],'model':_0x2e5dee,'attributes':_0x213683,'channelsToEditors':_0x3f65c4});return _0x554c58['delegate'](..._0x34626d)['to'](this),this['interactions']['push'](_0x554c58),this['fire']('interactionCreated',_0x554c58),_0x554c58;}['getInteraction'](_0x252546){return this['interactions']['find'](_0x4038d8=>_0x4038d8['id']===_0x252546);}['removeInteraction'](_0x537572){const _0x475d00=this['getInteraction'](_0x537572);_0x475d00&&(_0x475d00['destroy'](),this['interactions']['splice'](this['interactions']['indexOf'](_0x475d00),0x1));}get['lastInteraction'](){return this['interactions'][this['interactions']['length']-0x1];}['cancelLastInteractionStream'](){const _0x3e89e6=this['lastInteraction'];_0x3e89e6?.['conversationId']&&_0x3e89e6['messageId']&&this['connector']['cancelStream'](_0x3e89e6['conversationId'],_0x3e89e6['messageId'])['execute']()['catch'](()=>{});}['addCurrentDocumentToContext'](_0x48c88c){this['chatContext']['addCurrentDocumentToContext'](_0x48c88c);}async['updateCurrentDocumentsInContext'](_0x52967a){await this['chatContext']['updateCurrentDocuments'](_0x52967a);}['toggleAddCurrentDocumentOptionVisibility'](_0x55da3d){this['chatContext']['toggleAddCurrentDocumentOptionVisibility'](_0x55da3d);}['_hasSessionMismatch'](_0x1a5244){return!!_0x1a5244&&_0x1a5244['documents']['some'](_0x3326ee=>{const _0x1d3d5a=this['_channelsToEditors']['get'](_0x3326ee['channelId']);return!_0x1d3d5a||_0x3326ee['sessionId']!==this['_getSessionId'](_0x1d3d5a);});}['addSelectionToContext'](_0x18cd54){this['chatContext']['addSelectionToContext'](_0x18cd54);}['removeSelectionFromContext'](){this['chatContext']['removeSelectionFromContext']();}['addFilesToContext'](_0x4b165a){this['chatContext']['addFilesToContext'](_0x4b165a);}['addUrlToContext'](_0x5284d1){this['chatContext']['addUrlToContext'](_0x5284d1);}['addToolItemToContext'](_0x1909ff){this['chatContext']['addToolItemToContext'](_0x1909ff);}['addResourceToContext'](_0xc4777,_0x203338){this['chatContext']['addResourceToContext'](_0xc4777,_0x203338);}['loadSourceResources'](_0x1f769f,_0x8d2730,_0x280fea){return this['chatContext']['loadSourceResources'](_0x1f769f,_0x8d2730,_0x280fea);}['removeFromContext'](_0xa0633e){this['chatContext']['removeFromContext'](_0xa0633e);}['setWebSearch'](_0x2a05dd){this['chatCapabilities']['setWebSearch'](_0x2a05dd);}['toggleWebSearch'](){this['chatCapabilities']['toggleWebSearch']();}['setReasoning'](_0x458fe1){this['chatCapabilities']['setReasoning'](_0x458fe1);}['toggleReasoning'](){this['chatCapabilities']['toggleReasoning']();}['isCurrentDocumentInContext'](){return this['chatContext']['isCurrentDocumentInContext']();}['isCurrentDocumentInConversation'](){return this['chatContext']['isCurrentDocumentInConversation']();}['isSelectionInContext'](){return this['chatContext']['isSelectionInContext']();}['getPendingContextItems'](){return this['chatContext']['getPendingContextItems']();}async['setModel'](_0x27daec){_0x27daec?!0x1===await this['chatModels']['isAvailable'](_0x27daec)&&((0x0,_0x14e616['logWarning'])('ai-chat-conversation-set-model-not-available',{'conversation':this,'model':_0x27daec}),_0x27daec=(await this['chatModels']['getAvailableModels']())[0x0]):((0x0,_0x14e616['logWarning'])('ai-chat-conversation-set-model-null',{'conversation':this}),_0x27daec=(await this['chatModels']['getAvailableModels']())[0x0]),_0x27daec['id']!==this['selectedModel']?.['id']&&(this['selectedModel']=_0x27daec,this['chatCapabilities']['reset'](),this['fire']('modelSelected',{'selectedModel':_0x27daec}));}};function _0xfeaef8({documentSuggestions:_0x32b0ab,transform:_0xb70712,documentCompare:_0x503e8c,documentCompareOptions:_0x302dc7}){const _0x3fa41a=new Map();for(const [_0x3d81c8,{groups:_0x525041,documentContext:_0x3b5470,documentContent:_0x58522c,editor:_0x323c4a}]of _0x32b0ab){const _0x203465=_0x3b5470['content'],_0x454775=_0x3b5470['version'],_0x5ee8df=_0x58522c['cloneNode'](!0x0);for(const {changes:_0x5d4443}of _0x525041){const _0x1c2cbf=_0x5d4443['filter'](_0x1c650e=>'new'!=_0x1c650e['type'])['map'](_0x445e97=>_0x26a4b1('data-id',_0x445e97['id'],_0x5ee8df))['filter'](_0x5516c5=>null!==_0x5516c5),_0x553c2f=_0x5d4443['filter'](_0x42605f=>'removed'!=_0x42605f['type'])['map'](_0x4899b9=>_0x4899b9['node']['cloneNode'](!0x0));let _0xf2936e=null;if(_0x1c2cbf['length']){_0xf2936e=_0x1c2cbf[0x0]['previousSibling'];for(let _0x122dd9=0x0;_0x122dd9<_0x1c2cbf['length'];_0x122dd9++)_0xa04271(_0x1c2cbf[_0x122dd9]);}if(_0x553c2f['length']){_0xf2936e||(_0x5d4443[0x0]['anchorId']?_0xf2936e=_0x26a4b1('data-id',_0x5d4443[0x0]['anchorId'],_0x5ee8df):(_0xf2936e=_0x553c2f['shift'](),_0x530bae(_0x5ee8df,_0xf2936e)));for(let _0x48a53e=0x0;_0x48a53e<_0x553c2f['length'];_0x48a53e++)_0x1fddb5(_0xf2936e,_0x553c2f[_0x48a53e]),_0xf2936e=_0x553c2f[_0x48a53e];}}const _0x5dcd64=_0x2149a1(_0x5ee8df),_0x828d8f=_0x503e8c['getDiff'](_0x203465,_0x5dcd64,{'targetEditor':_0x323c4a,'anchor':_0x3b5470['rootName'],..._0x302dc7})['getOperations']();if(_0xb70712){const _0xba38c4=_0x323c4a['model']['document']['history']['getOperations'](_0x454775),_0x2c96e8={'document':_0x323c4a['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1};_0x3fa41a['set'](_0x3d81c8,(0x0,_0x14e616['transformOperationSets'])(_0x828d8f,_0xba38c4,_0x2c96e8)['operationsA']);}else _0x3fa41a['set'](_0x3d81c8,_0x828d8f);}return _0x3fa41a;}function _0x673bd({groups:_0x5767bb,documentContextContent:_0x4168a9,documents:_0x2d19cb}){const _0x1385cb=new Map();for(const _0x2c64ba of _0x5767bb){const {documentId:_0x46c775}=_0x2c64ba,_0x3940fc=_0x1385cb['get'](_0x46c775);if(_0x3940fc)_0x3940fc['groups']['push'](_0x2c64ba),_0x3940fc['indexes']['push'](_0x2c64ba['index']);else{const _0x1e080a=_0x2d19cb['find'](_0x57bdf7=>_0x57bdf7['id']===_0x46c775),_0x2fa336=_0x4168a9['get'](_0x46c775);if(!_0x1e080a||!_0x2fa336)continue;_0x1385cb['set'](_0x46c775,{'groups':[_0x2c64ba],'documentContext':_0x1e080a,'documentContent':_0x2fa336,'editor':_0x2c64ba['editor'],'indexes':[_0x2c64ba['index']]});}}return _0x1385cb;}function _0x9e4d38(_0x2898ea,_0x564faf){const _0x31ee70=_0x2898ea['files']['length']>0x0&&_0x2898ea['files']['every'](_0x202cfa=>_0x202cfa['type']['startsWith']('image/')),_0xdcb0c4=_0x2898ea['plainText']['trim']()['length']>0x0;if(_0x2898ea['files']['length']>0x0&&_0x564faf['filesEnabled']&&(!_0x31ee70||!_0xdcb0c4)){const _0x55b065=_0x2898ea['files']['filter'](_0x1d49a1=>_0x1d49a1['name']);return _0x55b065['length']>0x0?{'type':'file','files':_0x55b065}:null;}if(_0x564faf['urlsEnabled']){const _0x644deb=function(_0x3db421){const _0x3592d9=_0x3db421['trim']();if(/\s/['test'](_0x3592d9))return null;try{const _0x331e1e=new URL(_0x3592d9);return'http:'!==_0x331e1e['protocol']&&'https:'!==_0x331e1e['protocol']?null:_0x331e1e['toString']();}catch{return null;}}(_0x2898ea['plainText']);if(_0x644deb)return{'type':'url','url':_0x644deb};}const _0x59b5dc=_0x2898ea['forceTextAttachment']?0x1:_0x564faf['longTextThreshold']??0x1/0x0;if(_0x2898ea['plainText']['length']>=Math['max'](_0x59b5dc,0x1)&&_0x564faf['filesEnabled']){const _0x46bf47=_0x564faf['pastedTextLabel']+'.txt';return{'type':'text','files':[new File([_0x2898ea['plainText']],_0x46bf47,{'type':'text/plain'})]};}return null;}var _0x2aa9e1=class extends _0x14e616['ContextPlugin']{['activeConversation'];['_aiEditing'];['_aiConnector'];['_aiChatUi'];['_aiChatModels'];['_hasAIChatBalloon']=!0x1;['_activeBalloon'];['_reporter'];['_batchToChanges']=new Map();['_currentPreviewedChangeGroup']=null;['_bodyCollection'];['_channelsToEditors']=new Map();static get['requires'](){return[_0x626bfd,_0x47f55c,_0x4abd7b];}static get['pluginName'](){return'AIChatController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']('isConversationReady',!0x1),this['_bodyCollection']=_0x318647(this['context']['locale']),this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_aiChatUi']=this['context']['plugins']['get']('AIChatUI'),this['_aiEditing']=this['context']['plugins']['get']('AIEditing'),this['_reporter']=this['context']['plugins']['get'](_0x47f55c)['createReporter']('aichat'),this['_aiChatModels']=new th({'connector':this['_aiConnector'],'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']});const _0x2cd7d1=this['context']['plugins']['get']('AITabs');this['listenTo'](this['_aiChatUi'],'startConversation',()=>{this['_startConversationSafely']();}),this['listenTo'](this['_aiChatUi'],'sendUserMessage',(_0xa86b48,_0x1a2d3e)=>{this['_handleUIUserMessage']({'message':_0x1a2d3e});}),this['listenTo'](_0x2cd7d1['view'],'change:activeTab',(_0x2f3bf7,_0x17cebd,_0x479f48)=>{'chat'!==_0x479f48&&this['removeSelectionFromChatContext']();}),this['listenTo'](this['_aiChatUi'],'abortPromptStream',async()=>{await this['_stopLastInteraction'](),await this['_flushLastInteractionUI'](),this['removeSelectionFromChatContext'](),this['activeConversation']?.['cancelLastInteractionStream']();}),this['listenTo'](this['_aiChatUi'],'addDocumentToContext',()=>{this['addCurrentDocumentToChatContext']();}),this['listenTo'](this['_aiChatUi'],'addFileToContext',(_0x49f944,_0x54dbfe)=>{this['activeConversation']?.['addFilesToContext'](Array['from'](_0x54dbfe));}),this['listenTo'](this['_aiChatUi'],'addUrlToContext',(_0x1e4864,_0x346bfa)=>{this['activeConversation']?.['addUrlToContext'](_0x346bfa);}),this['listenTo'](this['_aiChatUi'],'promptInputPaste',(_0x356b04,_0x2b1daf)=>{const _0xa51464=this['activeConversation'];if(!_0xa51464)return;_0x2b1daf['hasDirectory']&&(_0x2b1daf['preventDefault'](),this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_FOLDER_NOT_SUPPORTED'),'id':'folder-error-'+(0x0,_0x14e616['uid'])()}));const _0x53d7a9=_0x9e4d38(_0x2b1daf,{'pastedTextLabel':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_PASTED_TEXT_NAME'),'longTextThreshold':this['context']['config']['get']('ai.chat.context.paste.textThreshold'),'filesEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.files.enabled'),'urlsEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.urls.enabled')});_0x53d7a9&&(_0x2b1daf['preventDefault'](),'url'===_0x53d7a9['type']?_0xa51464['addUrlToContext'](_0x53d7a9['url']):_0xa51464['chatContext']['addFilesToContext'](_0x53d7a9['files'],void 0x0,_0x53d7a9['type']));}),this['listenTo'](this['_aiChatUi'],'executeCustomItemCallback',(_0xedb454,_0x201edb)=>{_0x201edb['callback'](this['context']);}),this['listenTo'](this['_aiChatUi'],'addResourceToContext',(_0x42630b,_0x106ef9)=>{this['activeConversation']?.['addResourceToContext'](_0x106ef9['source'],_0x106ef9['resource']);}),this['listenTo'](this['_aiChatUi'],'removeContextItem',(_0x47b66a,_0x1cf386)=>{this['_removeFromContext'](_0x1cf386);}),this['listenTo'](this['_aiChatUi'],'loadSourceResources',(_0x3143a7,_0x38ea50)=>{this['activeConversation']?.['loadSourceResources'](_0x38ea50['sourceId'],_0x38ea50['query'],_0x38ea50['uid']);}),this['listenTo'](this['_aiChatUi'],'toggleWebSearch',()=>{this['_toggleWebSearch']();}),this['listenTo'](this['_aiChatUi'],'toggleReasoning',()=>{this['_toggleReasoning']();}),this['listenTo'](this['_aiChatUi'],'selectModel',(_0x579bdf,_0x496abb)=>{this['activeConversation']?.['setModel'](_0x496abb);}),this['listenTo'](this['_aiChatUi'],'like',(_0x495289,{replyId:_0x44fc14})=>{console['log']('Liked\x20response',_0x44fc14);}),this['listenTo'](this['_aiChatUi'],'dislike',(_0x1dac40,{replyId:_0x55246d})=>{console['log']('Disliked\x20response',_0x55246d);}),this['listenTo'](this['_aiChatUi'],'insertSuggestion',(_0x446dc5,_0x3e86fa)=>{this['_insertSuggestion'](_0x3e86fa);}),this['listenTo'](this['_aiChatUi'],'showChangeInText',(_0x33700a,{replyId:_0x317a16,partIndex:_0x1b2723})=>{this['_aiChatBalloonShowDiff']=this['_aiChatUi']['showDiff'],this['_openBalloonFor'](_0x317a16,_0x1b2723);}),this['listenTo'](this['_aiChatUi'],'mouseOverSuggestion',(_0x1ce76b,{replyId:_0x39e090,partIndex:_0x178624})=>{const _0x110ac9=this['_getDocumentRangeForReplyChanges'](_0x39e090,_0x178624);if(!_0x110ac9)return;const {reply:_0x54932f}=this['getInteractionAndReplyById'](_0x39e090);'$graveyard'!=_0x110ac9['range']['root']['rootName']&&this['_aiEditing']['showFakeVisualSelection']({'editor':_0x54932f['changeGroups'][_0x178624]['editor'],'ranges':[_0x110ac9['range']],'id':'change-area','priority':0xa});}),this['listenTo'](this['_aiChatUi'],'mouseLeaveSuggestion',()=>{this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['listenTo'](this['_aiChatUi'],'applySuggestion',(_0xabb099,_0x220ac6)=>{this['_aiEditing']['hideFakeVisualSelection']('change-area'),this['_applySuggestion'](_0x220ac6);}),this['listenTo'](this['_aiChatUi'],'toggleSuggestionDisplayMode',async(_0x38e88d,{replyId:_0x129fcf,showDiff:_0x197abf})=>{const {interaction:_0x1468d1,reply:_0x30cfb8}=this['getInteractionAndReplyById'](_0x129fcf),_0x23a62e=_0x30cfb8['getContentParts']({'showDiff':_0x197abf});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x1468d1['id']+':'+_0x30cfb8['id'],'parts':_0x23a62e});}),this['listenTo'](this['_aiChatUi'],'rejectSuggestion',(_0x5dfb69,{replyId:_0x5d4b1d,partIndex:_0x5d1f94})=>{this['_rejectSuggestion']({'replyId':_0x5d4b1d,'partIndex':_0x5d1f94}),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['set']('_aiChatBalloonShowDiff',!0x1),this['on']('interactionCreated',(_0x5f7ef2,_0x2747f3)=>{this['_aiChatUi']['addFeedItemUserMessage'](_0x2747f3);}),this['on']('replyCreated',(_0x42f8d9,_0x5b69bb)=>{this['_addFeedItemReply'](_0x5b69bb);});}['afterInit'](){this['context']instanceof _0x14e616['Editor']?this['_integrateEditor'](this['context']):this['listenTo'](this['context']['editors'],'add',(_0x3a66c9,_0x1ce1d1)=>{_0x1ce1d1['on']('ready',()=>{this['_integrateEditor'](_0x1ce1d1);});}),this['_initConversation']();}async['_initConversation'](){const _0x255abd=this['context']['config']['get']('ai.chat.initialConversation');let _0x2d18cd=_0x255abd;('lastCreated'!=_0x255abd||(_0x2d18cd=await this['_getLastCreatedConversationId'](),_0x2d18cd))&&('new'==_0x2d18cd?await this['_startConversationSafely']():await this['loadConversation'](_0x2d18cd));}async['destroy'](){return await this['_stopLastInteraction'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}async['loadConversation'](_0x5e51bd){this['_closeActiveBalloon'](),this['context']['plugins']['get'](_0xdf3353)['view']['activateTab']('chat'),this['_aiChatUi']['setFeedItemRenderingStrategy']('static'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x0),this['activeConversation']&&this['stopListening'](this['activeConversation']),await this['_stopLastInteraction']();try{this['_aiChatUi']['emptyConversationTitle'](),await this['_aiConnector']['fetchConversation'](_0x5e51bd)['getConversation'](),await this['_startConversationSafely']({'id':_0x5e51bd}),await this['activeConversation']['load'](_0x5e51bd),this['_aiChatUi']['enableControls'](),this['activeConversation']['isCurrentDocumentInConversation']()&&this['addCurrentDocumentToChatContext']();}catch(_0x43f086){this['_aiChatUi']['resetConversationTitle'](),this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':_0x5e51bd}),this['_reporter']['logError'](new _0x14e616['CKEditorError']('ai-chat-conversation-not-found',this,void 0x0,_0x43f086),{'context':{'operation':'load-conversation'}});}finally{this['_aiChatUi']['startAutoScroll']({'smooth':!0x1}),this['_aiChatUi']['setFeedItemRenderingStrategy']('streaming'),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1);}}['registerToolDataCallback'](_0x235806){let _0x1c0d24=null,_0x1895f5=null;this['on']('toolDataReceived',(_0x11b65b,_0x190662,_0x26b2f0)=>{_0x26b2f0['id']!==_0x1c0d24&&(_0x1c0d24=_0x26b2f0['id'],_0x1895f5=this['_getAIChatFeedAPI'](_0x26b2f0)),_0x235806(_0x190662,_0x1895f5);});}['addCurrentDocumentToChatContext'](){_0x5477c5(this['context'])['length']&&this['activeConversation']?.['addCurrentDocumentToContext'](_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'));}async['addSelectionToChatContext'](_0x1de7a8){const _0x2189a5=this['_aiEditing']['getSelectionText'](_0x1de7a8);this['activeConversation']?.['addSelectionToContext'](_0x2189a5),this['addCurrentDocumentToChatContext']();}['removeSelectionFromChatContext'](){this['activeConversation']?.['removeSelectionFromContext']();}['focusPromptInput'](){this['_aiChatUi']['focusPromptInput']();}async['startConversation'](_0xa4b02f){await this['_startConversationSafely']({'modelId':_0xa4b02f?.['modelId']});}async['sendMessage'](_0x186457){await this['_handleUIUserMessage'](_0x186457);}['getGroupId'](){const _0x5bd1af=this['context']['config']['get']('collaboration.channelId');if(!_0x5bd1af)throw new _0x14e616['CKEditorError']('ai-missing-channel-id',this);return _0x5bd1af;}['_handleRemovedConversation'](_0x45c957){this['activeConversation']['id']===_0x45c957&&this['_startConversationSafely']();}['_prepareDocumentSuggestions'](_0x2e570a){const {reply:_0x6d17f2,interaction:_0x4d3b32}=this['getInteractionAndReplyById'](_0x2e570a['replyId']),_0x101c83=void 0x0!==_0x2e570a['partIndex']?[_0x6d17f2['changeGroups'][_0x2e570a['partIndex']]]:_0x6d17f2['changeGroups']['filter'](_0x3c3651=>'pending'==_0x3c3651['state']);return _0x101c83['map'](_0x43beff=>_0x6d17f2['changeGroups']['indexOf'](_0x43beff))['forEach'](_0x4fe2f2=>{const _0x99686e=this['_getDocumentRangeForReplyChanges'](_0x2e570a['replyId'],_0x4fe2f2);_0x99686e&&'$graveyard'!=_0x99686e['range']['root']['rootName']?(_0x6d17f2['setChangeGroupState'](_0x4fe2f2,'accepted'),void 0x0!==_0x2e570a['partIndex']&&this['_scrollToSuggestionRange'](_0x99686e['range'],!0x1,_0x99686e['targetEditor'])):_0x6d17f2['setChangeGroupState'](_0x4fe2f2,'outdated');}),_0x673bd({'groups':_0x101c83['filter'](_0x5a2874=>'accepted'===_0x5a2874['state']),'documentContextContent':_0x6d17f2['documentContextContent'],'documents':_0x4d3b32['getDocumentContext']()?.['documents']??[]});}['_insertSuggestion'](_0x4a7c6e){const _0x51c510=this['context']['plugins']['get'](_0x4abd7b),{reply:_0x187bac,interaction:_0x2e082e}=this['getInteractionAndReplyById'](_0x4a7c6e['replyId']),_0x4ae1dd=this['_prepareDocumentSuggestions'](_0x4a7c6e),_0x21abf5=_0xfeaef8({'documentSuggestions':_0x4ae1dd,'transform':!0x0,'documentCompare':_0x51c510,'documentCompareOptions':{'markDeletions':!0x0}});for(const [_0x1e0a48,_0xaad315]of _0x21abf5){const {editor:_0x4310cd,indexes:_0x30540d}=_0x4ae1dd['get'](_0x1e0a48);if(!_0x4310cd['plugins']['has']('TrackChanges')){(0x0,_0x14e616['logWarning'])('ai-no-track-changes',{'editor':_0x4310cd});continue;}let _0x366c58;_0x3efdc2(_0xaad315,'chat'),_0x4310cd['model']['change'](_0x378d6e=>{_0x366c58=_0x378d6e['batch'],_0x4310cd['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0xaad315),this['_aiEditing']['hideFakeVisualSelection']('change-area');}),this['_batchToChanges']['set'](_0x366c58,{'interactionId':_0x2e082e['id'],'replyId':_0x187bac['id'],'indexes':_0x30540d});}this['_updateRatings'](_0x187bac);}['_applySuggestion'](_0x8df061){const _0x5207a9=this['context']['plugins']['get'](_0x4abd7b),{reply:_0x40d2a0,interaction:_0x3b9201}=this['getInteractionAndReplyById'](_0x8df061['replyId']),_0x47d579=this['_prepareDocumentSuggestions'](_0x8df061),_0x18db35=_0xfeaef8({'documentSuggestions':_0x47d579,'transform':!0x0,'documentCompare':_0x5207a9,'documentCompareOptions':{'markDeletions':!0x1}});for(const [_0x23076c,_0x266c67]of _0x18db35){const {editor:_0x5f4ad1,indexes:_0xa2760e}=_0x47d579['get'](_0x23076c);let _0x266fcd;_0x3efdc2(_0x266c67,'chat');try{_0x5f4ad1['model']['change'](_0x2754e2=>{_0x266fcd=_0x2754e2['batch'],_0x5207a9['applyOperations'](_0x2754e2,_0x266c67);}),this['_batchToChanges']['set'](_0x266fcd,{'interactionId':_0x3b9201['id'],'replyId':_0x40d2a0['id'],'indexes':_0xa2760e});}catch(_0x41a36f){throw this['_reporter']['logError'](new _0x1118f7({'code':'ai-applying-suggestion-failed','type':'runtime','cause':_0x41a36f})),_0x41a36f;}}this['_updateRatings'](_0x40d2a0);}['_rejectSuggestion'](_0x2f4334){const {reply:_0x3e1c51}=this['getInteractionAndReplyById'](_0x2f4334['replyId']);_0x3e1c51['setChangeGroupState'](_0x2f4334['partIndex'],'rejected');}['_openBalloonFor'](_0x5eeb10,_0x1e4d97){if(!this['_hasAIChatBalloon'])return;const {reply:_0x2d6c9f}=this['getInteractionAndReplyById'](_0x5eeb10),_0x201cf4=_0x2d6c9f['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(!_0x201cf4['length'])return;let _0xf58ecb,_0x383f45;if(void 0x0!==_0x1e4d97?(_0x383f45=_0x201cf4['find'](_0x217a4f=>_0x217a4f['index']==_0x1e4d97),_0xf58ecb=_0x383f45?.['index']):(_0x383f45=_0x201cf4[0x0],_0xf58ecb=_0x383f45['index']),!_0x383f45)return void _0x2d6c9f['setChangeGroupState'](_0x1e4d97??0x0,'outdated');if(this['_currentPreviewedChangeGroup']?.['replyId']==_0x5eeb10&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0xf58ecb)return;const _0x26c6d3=this['_getUserPresentableContentPartDocumentRange'](_0x5eeb10,_0x2d6c9f,_0x383f45),_0x5ae53b=_0x2d6c9f['changeGroups']['find'](_0x1a718c=>_0x1a718c['index']==_0xf58ecb)['editor'],_0x4a0513=_0x5ae53b['plugins']['get']('AIChatBalloon');if(this['_activeBalloon']&&this['_activeBalloon']!==_0x4a0513&&this['_activeBalloon']['close'](),!_0x26c6d3)return _0x4a0513['close'](),void(this['_activeBalloon']=void 0x0);this['_activeBalloon']=_0x4a0513,this['_currentPreviewedChangeGroup']={'replyId':_0x5eeb10,'partIndex':_0xf58ecb},this['_scrollToSuggestionRange'](_0x26c6d3,!0x0,_0x5ae53b);const _0xa4aa4e=this['_getPresentableSiblingContentPartIndex'](_0x5eeb10,_0xf58ecb,'next');_0x4a0513['clearContent'](),_0x4a0513['updateContent']({'part':_0x383f45,'renderingStrategy':'static'}),_0x4a0513['open']({'index':_0xf58ecb,'title':_0x2723f0(this['context']['locale'],'AI_BALLOON_HEADER_TITLE',(_0xf58ecb+0x1)['toString']()),'showRotator':null!==_0xa4aa4e,'ranges':[_0x26c6d3],'areActionsDisabled':_0x2d6c9f['areActionsDisabled'],'targetEditor':_0x5ae53b}),_0x4a0513['setState']('pending'),this['_aiChatUi']['scrollFeedToSuggestion'](_0x5eeb10,_0xf58ecb),this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x5eeb10,'index':_0xf58ecb,'isActive':!0x0});}['_closeActiveBalloon'](){this['_activeBalloon']?.['close'](),this['_activeBalloon']=void 0x0,this['_currentPreviewedChangeGroup']=null;}['_getPresentableSiblingContentPartIndex'](_0x481d03,_0x416295,_0x5db540){const {reply:_0x202b37}=this['getInteractionAndReplyById'](_0x481d03),_0x11eab8=_0x202b37['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff']});if(0x1==_0x11eab8['length'])return null;const _0x2d842a='next'==_0x5db540?0x1:-0x1;function _0x2c7e50(_0x39a101){const _0x32738d=(_0x39a101+_0x2d842a+_0x11eab8['length'])%_0x11eab8['length'];return{'siblingIndex':_0x32738d,'siblingPart':_0x11eab8[_0x32738d]};}const _0x236f67=_0x11eab8['findIndex'](_0x46813e=>_0x46813e['index']==_0x416295);let {siblingIndex:_0x3d4ca3,siblingPart:_0x120f52}=_0x2c7e50(_0x236f67);for(;!this['_getUserPresentableContentPartDocumentRange'](_0x481d03,_0x202b37,_0x120f52);)if({siblingIndex:_0x3d4ca3,siblingPart:_0x120f52}=_0x2c7e50(_0x3d4ca3),_0x3d4ca3===_0x236f67)return null;return _0x120f52['index'];}['_getUserPresentableContentPartDocumentRange'](_0x51ffce,_0x52c12b,_0x1d5531){const _0xe4db27=_0x52c12b['changeGroups'];if(!_0x1d5531['hasChanges'])return null;const _0x49a513=_0xe4db27['find'](_0x2a9d13=>_0x2a9d13['index']==_0x1d5531['index']);if('pending'!==_0x49a513?.['state'])return null;if(!_0x49a513?.['editor']||'destroyed'===_0x49a513['editor']['state'])return _0x52c12b['setChangeGroupState'](_0x1d5531['index'],'outdated'),null;const _0x144417=this['_getDocumentRangeForReplyChanges'](_0x51ffce,_0x1d5531['index']);if(!_0x144417)return _0x52c12b['setChangeGroupState'](_0x1d5531['index'],'outdated'),null;const {range:_0x3eeeeb,currentIndex:_0x5e37ab}=_0x144417;return'$graveyard'==_0x3eeeeb['root']['rootName']?(_0x52c12b['setChangeGroupState'](_0x5e37ab,'outdated'),null):_0x144417['range'];}['_getDocumentRangeForReplyChanges'](_0x4f592d,_0x27e328){const {reply:_0x504cb1,interaction:_0x35af0d}=this['getInteractionAndReplyById'](_0x4f592d),_0x595346=_0x504cb1['changeGroups']['filter'](_0x12eaae=>'pending'==_0x12eaae['state']),_0x5522c6=_0x595346['map'](_0x32c709=>_0x504cb1['changeGroups']['indexOf'](_0x32c709));void 0x0===_0x27e328&&(_0x27e328=_0x5522c6[0x0]);const _0x3f4051=_0x5522c6['indexOf'](_0x27e328);if(-0x1==_0x3f4051)return null;const _0x2e38f6=_0x595346[_0x3f4051],_0x4b68af=_0x2e38f6['editor'];if(!_0x4b68af||'destroyed'===_0x4b68af['state'])return null;if(!(0x0,_0x14e616['rootAcceptsBlocks'])(_0x4b68af,_0x2e38f6['rootName']))return null;const _0x352235=_0x504cb1['documentContextContent']['get'](_0x2e38f6['documentId']),_0x1d475b=new _0x2a28d6([]),_0x658cae=new _0x2a28d6([]);for(const _0x4e3491 of _0x2e38f6['changes'])if('removed'!=_0x4e3491['type']&&_0x658cae['children']['push'](_0x4e3491['node']['cloneNode'](!0x0)),'new'!=_0x4e3491['type']){const _0x4417e7=_0x53fd5e(_0x3ac376=>_0x4747ee(_0x3ac376,'data-id')==_0x4e3491['id'],_0x352235,!0x0);_0x1d475b['children']['push'](_0x4417e7['cloneNode'](!0x0));}if(0x0==_0x1d475b['children']['length']){if(_0x2e38f6['changes'][0x0]['anchorId']){const _0x2d2086=_0x26a4b1('data-id',_0x2e38f6['changes'][0x0]['anchorId'],_0x352235);_0x1d475b['children']['unshift'](_0x2d2086['cloneNode'](!0x0)),_0x658cae['children']['unshift'](_0x2d2086['cloneNode'](!0x0)),_0x2d2086['nextSibling']&&(_0x1d475b['children']['push'](_0x2d2086['nextSibling']['cloneNode'](!0x0)),_0x658cae['children']['push'](_0x2d2086['nextSibling']['cloneNode'](!0x0)));}else{const _0x519cc6=_0x352235['children'][0x0];if(!_0x519cc6)return null;_0x1d475b['children']['push'](_0x519cc6['cloneNode'](!0x0)),_0x658cae['children']['push'](_0x519cc6['cloneNode'](!0x0));}}const _0x23c458=_0x35af0d['getDocumentContext'](),_0x1be72b=_0x23c458['documents']['find'](_0x2132c4=>_0x2132c4['id']==_0x2e38f6['documentId'])['content'],_0x272a95=_0x4b68af['model']['document']['getRoot'](_0x2e38f6['rootName']),_0x526962=_0x4b68af['data']['parse'](_0x1be72b,_0x272a95),_0x24174c=_0x2149a1(_0x1d475b),_0x32f657=_0x4b68af['data']['parse'](_0x24174c,_0x272a95),_0x66bcad=_0x4b68af['data']['parse'](_0x24174c,_0x272a95),_0x1e4e24=_0x4b68af['model']['createPositionAt'](_0x32f657,0x0),_0x2dd569=_0x2149a1(_0x658cae),_0x2dab2a={'targetEditor':_0x4b68af,'anchor':_0x1e4e24,'markDeletions':!0x1};let _0x1db257;try{_0x1db257=_0x4b68af['plugins']['get'](_0x4abd7b)['getDiff'](_0x24174c,_0x2dd569,_0x2dab2a)['getOperations']();}catch(_0x43d5a4){return this['_reporter']['reportError'](new _0x1118f7({'code':'ai-chat-suggestion-diff-failed','type':'runtime','severity':'warning','cause':_0x43d5a4,'context':{'replyId':_0x4f592d,'partIndex':_0x27e328}})),null;}if(!_0x1db257['length'])return null;_0x4b68af['model']['change'](_0xca3d88=>{for(const _0x15a6a9 of _0x1db257)if('remove'==_0x15a6a9['type']){const _0x2894ad=_0x15a6a9['sourcePosition'],_0x3000d6=_0x15a6a9['howMany'],_0xc54efc=new _0x14e616['_DetachOperation'](_0x2894ad,_0x3000d6);_0xca3d88['batch']['addOperation'](_0xc54efc),_0x4b68af['model']['applyOperation'](_0xc54efc);}else'marker'!==_0x15a6a9['type']&&(_0x15a6a9['baseVersion']=null,_0x15a6a9['isDocumentOperation']=!0x1,_0xca3d88['batch']['addOperation'](_0x15a6a9),_0x4b68af['model']['applyOperation'](_0x15a6a9));});const _0x524d76=_0x1a41d9(_0x4b68af,_0x1db257,_0x32f657);_0xdb60d0(_0x4b68af['model'],_0x524d76);const _0xa8d0c7=_0x524d76['getFirstRange']()['start']['path']['slice'](),_0x10d3e9=_0x524d76['getFirstRange']()['end']['path']['slice'](),_0x375aa7=[];let _0x10659f=_0x32f657,_0x5af33c=_0x66bcad;for(let _0x589558=0x0;_0x589558<_0x10d3e9['length'];_0x589558++){const _0x38984f=_0x10659f['maxOffset']-_0x10d3e9[_0x589558];_0x375aa7[_0x589558]=_0x5af33c['maxOffset']-_0x38984f,_0x10659f=_0x10659f['getChildAtOffset'](_0x10d3e9[_0x589558]),_0x5af33c=_0x5af33c['getChildAtOffset'](_0x375aa7[_0x589558]);}const _0x529d77=_0x4b68af['model']['createRange'](_0x4b68af['model']['createPositionFromPath'](_0x66bcad,_0xa8d0c7),_0x4b68af['model']['createPositionFromPath'](_0x66bcad,_0x375aa7)),_0x25e916=_0x66bcad['getChild'](0x0)['getAttribute'](_0x578078),_0x22e031=Array['from'](_0x526962['getChildren']())['find'](_0x4df3ed=>_0x4df3ed['getAttribute'](_0x578078)==_0x25e916)['getPath'](),_0x4df3c8=_0x529d77['start']['path']['slice'](),_0x5328b6=_0x529d77['end']['path']['slice']();_0x4df3c8[0x0]=_0x22e031[0x0]+_0x4df3c8[0x0],_0x5328b6[0x0]=_0x22e031[0x0]+_0x5328b6[0x0];let _0xfb3f99=_0x4b68af['model']['createRange'](_0x4b68af['model']['createPositionFromPath'](_0x4b68af['model']['document']['getRoot'](_0x2e38f6['rootName']),_0x4df3c8),_0x4b68af['model']['createPositionFromPath'](_0x4b68af['model']['document']['getRoot'](_0x2e38f6['rootName']),_0x5328b6));const _0x49375c=_0x23c458['documents']['find'](_0x3d3c7f=>_0x3d3c7f['id']==_0x2e38f6['documentId'])['version'],_0x28b0b5=_0x4b68af['model']['document']['history']['getOperations'](_0x49375c);for(const _0x4f20a8 of _0x28b0b5)_0xfb3f99=_0x14e616['ModelRange']['_createFromRanges'](_0xfb3f99['getTransformedByOperation'](_0x4f20a8));return{'range':_0xfb3f99,'currentIndex':_0x27e328,'targetEditor':_0x4b68af};}['_integrateEditorBalloon'](_0x2dd115){if(!_0x2dd115['plugins']['has']('AIChatBalloon'))return;const _0x29fa04=_0x2dd115['plugins']['get']('AIChatBalloon');this['_hasAIChatBalloon']=!0x0,_0x29fa04['bind']('showDiff')['to'](this,'_aiChatBalloonShowDiff'),this['listenTo'](_0x29fa04,'toggleSuggestionDisplayMode',()=>{const {replyId:_0x32fbd5,partIndex:_0xfaf5b}=this['_currentPreviewedChangeGroup'];this['_aiChatBalloonShowDiff']=!this['_aiChatBalloonShowDiff'];const {reply:_0x4dd6b8}=this['getInteractionAndReplyById'](_0x32fbd5),_0x2db4ac=_0x4dd6b8['getContentParts']({'showDiff':this['_aiChatBalloonShowDiff'],'groupIndex':_0xfaf5b});_0x29fa04['updateContent']({'part':_0x2db4ac[0x0],'renderingStrategy':'static','keepErrors':!0x0});}),this['listenTo'](_0x29fa04,'applySuggestion',()=>{const {replyId:_0x50e0e9,partIndex:_0x31b6ab}=this['_currentPreviewedChangeGroup'];this['_applySuggestion']({'replyId':_0x50e0e9,'partIndex':_0x31b6ab}),_0x29fa04['setState']('accepted');}),this['listenTo'](_0x29fa04,'insertSuggestion',()=>{const {replyId:_0x5f50d7,partIndex:_0x613e4a}=this['_currentPreviewedChangeGroup'];this['_insertSuggestion']({'replyId':_0x5f50d7,'partIndex':_0x613e4a}),_0x29fa04['setState']('accepted');}),this['listenTo'](_0x29fa04,'rejectSuggestion',()=>{const {replyId:_0x2232e3,partIndex:_0x268f9b}=this['_currentPreviewedChangeGroup'];this['_rejectSuggestion']({'replyId':_0x2232e3,'partIndex':_0x268f9b}),_0x29fa04['setState']('rejected');}),this['listenTo'](_0x29fa04,'showNext',()=>{const {replyId:_0x7efd7c,partIndex:_0x18dc77}=this['_currentPreviewedChangeGroup'],_0x2b4ecc=this['_getPresentableSiblingContentPartIndex'](_0x7efd7c,_0x18dc77,'next');null!==_0x2b4ecc&&this['_openBalloonFor'](_0x7efd7c,_0x2b4ecc);}),this['listenTo'](_0x29fa04,'showPrevious',()=>{const {replyId:_0xfebf5a,partIndex:_0x5320d8}=this['_currentPreviewedChangeGroup'],_0x45708a=this['_getPresentableSiblingContentPartIndex'](_0xfebf5a,_0x5320d8,'previous');null!==_0x45708a&&this['_openBalloonFor'](_0xfebf5a,_0x45708a);}),this['listenTo'](_0x29fa04,'dialogClosed',(_0x1506fe,{id:_0x3a2851})=>{if('aiChatBalloon'!==_0x3a2851)return;const {replyId:_0x489e29,partIndex:_0x525fce}=this['_currentPreviewedChangeGroup'];this['_currentPreviewedChangeGroup']=null,this['_aiChatUi']['setFeedItemAIReplySuggestionPartActive']({'id':_0x489e29,'index':_0x525fce,'isActive':!0x1}),this['_activeBalloon']===_0x29fa04&&(this['_activeBalloon']=void 0x0);});}['_integrateEditor'](_0x51718f){if(this['_channelsToEditors']['set'](_0x51718f['config']['get']('collaboration.channelId'),_0x51718f),this['_integrateEditorBalloon'](_0x51718f),this['addCurrentDocumentToChatContext'](),_0x51718f['once']('destroy',()=>{this['_checkRemoveCurrentDocumentFromChatContext']();}),_0x51718f['plugins']['has']('Undo')){const _0x3ad522=_0x51718f['commands']['get']('undo'),_0x19a2d3=_0x51718f['commands']['get']('redo');this['listenTo'](_0x3ad522,'revert',(_0x31755f,_0x3e2030,_0x2c0c9e)=>{const _0x57fae3=this['_batchToChanges']['get'](_0x3e2030);if(!_0x57fae3)return;const _0x4d33e9=this['activeConversation']['getInteraction'](_0x57fae3['interactionId']),_0x458ef9=_0x4d33e9?.['getReply'](_0x57fae3['replyId']);this['_batchToChanges']['delete'](_0x3e2030),_0x4d33e9&&_0x458ef9&&(_0x57fae3['indexes']['forEach'](_0x4f8e32=>_0x458ef9['setChangeGroupState'](_0x4f8e32,'pending')),this['_batchToChanges']['set'](_0x2c0c9e,_0x57fae3));}),this['listenTo'](_0x19a2d3,'revert',(_0x4a8cb9,_0x598e8c,_0x14cbfa)=>{const _0x36a1b9=this['_batchToChanges']['get'](_0x598e8c);if(!_0x36a1b9)return;const _0xfe896c=this['activeConversation']['getInteraction'](_0x36a1b9['interactionId']),_0x52061a=_0xfe896c?.['getReply'](_0x36a1b9['replyId']);this['_batchToChanges']['delete'](_0x598e8c),_0xfe896c&&_0x52061a&&(_0x36a1b9['indexes']['forEach'](_0x5bbfe8=>_0x52061a['setChangeGroupState'](_0x5bbfe8,'accepted')),this['_batchToChanges']['set'](_0x14cbfa,_0x36a1b9));});}const _0x298468=_0x51718f['config']['get']('ai.chat.context');_0x298468['alwaysAddSelection']&&_0x298468['document']['enabled']&&this['listenTo'](_0x51718f['model']['document']['selection'],'change:range',(_0x5751c8,_0x209b45)=>{_0x209b45['directChange']&&'chat'===_0x51718f['plugins']['get']('AITabs')['view']['activeTab']&&(_0x51718f['model']['hasContent'](_0x51718f['model']['document']['selection'])?this['addSelectionToChatContext'](_0x51718f):this['removeSelectionFromChatContext']());});}async['_getLastCreatedConversationId'](){const _0x4cad95=this['_aiConnector']['fetchConversations'](this['getGroupId'](),{'limit':0x1,'sortBy':'createdAt'});try{const _0x129cf8=await _0x4cad95['getConversations']();return _0x129cf8['length']?_0x129cf8[0x0]['id']:'new';}catch(_0x30d7a4){return this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_UNABLE_TO_LOAD_CONVERSATION'),'id':(0x0,_0x14e616['uid'])()}),this['_reporter']['logError'](new _0x14e616['CKEditorError']('ai-chat-conversation-init-failed',this,{'error':_0x30d7a4})),this['_aiChatUi']['toggleLoadingSkeleton'](!0x1),this['_aiChatUi']['disableControls'](),null;}}async['_startConversationSafely'](_0x5874aa={}){this['set']('isConversationReady',!0x1);try{await this['_handleStartConversation'](_0x5874aa);}catch(_0x124344){this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x5874aa['id']||(0x0,_0x14e616['uid'])()}),this['_reporter']['logError'](_0x124344),this['activeConversation']=void 0x0,this['_aiChatUi']['disableControls']();}}async['_handleStartConversation']({id:_0x457150,modelId:_0x2caa58}={}){this['_closeActiveBalloon']();let _0x3df812=_0x2caa58;_0x3df812||(_0x457150||!this['activeConversation']?_0x3df812=this['context']['config']['get']('ai.models.defaultModelId'):this['_aiChatUi']['isModelAvailable']&&(_0x3df812=this['activeConversation']['selectedModel']['id'])),this['activeConversation']&&this['stopListening'](this['activeConversation']),await this['_stopLastInteraction']();const _0x5dc77a=this['getGroupId'](),_0x1e54d6=_0x457150||(0x0,_0x14e616['uid'])();let _0x1916c7;this['activeConversation']=new _0x971a92({'connector':this['_aiConnector'],'chatModels':this['_aiChatModels'],'selectedModelId':_0x3df812,'conversationId':_0x1e54d6,'group':_0x5dc77a,'locale':this['context']['locale'],'isFromHistory':!!_0x457150,'channelsToEditors':this['_channelsToEditors'],'getSessionId':_0x19c6d3=>this['_aiEditing']['getSessionId'](_0x19c6d3)}),this['activeConversation']['delegate']('toolDataReceived','interactionCreated','interactionStarted','replyCreated')['to'](this),this['listenTo'](this['activeConversation'],'conversationInitialized',(_0x446d5b,_0x12b8e0)=>{this['_aiChatUi']['createConversation'](_0x12b8e0),this['_aiChatUi']['resetMessageInput'](),this['_aiChatUi']['clearPendingContextUI'](),this['_aiChatUi']['clearConversationContextUI'](),_0x457150||(this['_aiChatUi']['resetConversationTitle'](),this['addCurrentDocumentToChatContext']());}),this['listenTo'](this['activeConversation'],'uploadProgressChanged',(_0x84a3a0,_0x20f1d7)=>{this['_aiChatUi']['setIsUploadInProgress'](_0x20f1d7['isUploadInProgress']);}),this['listenTo'](this['activeConversation'],'webSearchStarted',()=>{const _0x4c0ea5=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});this['_aiChatUi']['setLoadingMessage'](_0x4c0ea5);}),this['listenTo'](this['activeConversation'],'reasoningStarted',()=>{const _0x1a009a=this['_aiChatUi']['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});this['_aiChatUi']['setLoadingMessage'](_0x1a009a);}),this['listenTo'](this['activeConversation'],'webSearchFinished',(_0x40f9e8,_0x1d06f2)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x1d06f2,{'isWebSearchEnabled':!0x0,'isReasoningEnabled':!0x1});}),this['listenTo'](this['activeConversation'],'reasoningFinished',(_0x2c0ab4,_0x4e91c0)=>{this['_aiChatUi']['addFeedInteractionHeader'](_0x4e91c0,{'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x0});}),this['listenTo'](this['activeConversation'],'interactionStarted',()=>{this['_aiChatUi']['startInteraction']();}),this['listenTo'](this['activeConversation'],'interactionFinished',async()=>{this['_updateReplyContentThrottled']['flush'](),await this['_aiChatUi']['finishInteraction']();}),this['listenTo'](this['activeConversation'],'interactionDestroyed',(_0x28bfe7,_0x1d5913)=>{this['_aiChatUi']['removeFeedInteraction'](_0x1d5913['id']);}),this['listenTo'](this['activeConversation'],'setConversationTitle',(_0x203cc2,_0x1d7e83,_0x298d03)=>{this['_updateConversationTitle'](_0x1d7e83,_0x298d03);}),this['listenTo'](this['activeConversation'],'replyContentUpdated',async(_0x4f4edc,_0x247c1f)=>{void 0x0!==_0x1916c7&&_0x1916c7!==_0x247c1f['id']&&this['_updateReplyContentThrottled']['flush'](),_0x1916c7=_0x247c1f['id'],_0x247c1f['isFromHistory']?await this['_updateReplyContent']({'reply':_0x247c1f}):await this['_updateReplyContentThrottled']({'reply':_0x247c1f});}),this['listenTo'](this['activeConversation'],'replyChangeGroupStateUpdated',(_0x3be0f9,{reply:_0x4517a4,index:_0x2b43c6,state:_0x249256})=>{this['_aiChatUi']['updateFeedItemAIReplySuggestionPartState']({'id':_0x4517a4['id'],'index':_0x2b43c6,'state':_0x249256}),this['_currentPreviewedChangeGroup']?.['replyId']['includes'](_0x4517a4['id'])&&this['_currentPreviewedChangeGroup']?.['partIndex']==_0x2b43c6&&this['_activeBalloon']?.['setState'](_0x249256);}),this['listenTo'](this['activeConversation'],'contextItemAdded',(_0x30eaca,_0x56bb28)=>{if(this['_aiChatUi']['addContextItem'](_0x56bb28['contextItem'],_0x56bb28['isLoading']),'selection'===_0x56bb28['contextItem']['type']){const _0x11090e=_0x5128bd(this['context']),_0x5e060e=[..._0x11090e['model']['document']['selection']['getRanges']()];this['_aiEditing']['showFakeVisualSelection']({'editor':_0x11090e,'ranges':_0x5e060e,'id':'context','priority':0x1});}}),this['listenTo'](this['activeConversation'],'contextItemRemoved',(_0x4ac874,_0x3fd4ea)=>{this['_aiChatUi']['removeContextItem'](_0x3fd4ea['uiId']),'current-document'==_0x3fd4ea['uiId']&&this['removeSelectionFromChatContext'](),'selection'===_0x3fd4ea['type']&&this['_aiEditing']['hideFakeVisualSelection']('context');}),this['listenTo'](this['activeConversation'],'contextItemLoadingEnded',(_0x552c38,_0x13b02f)=>{this['_aiChatUi']['setContextItemLoading'](_0x13b02f['contextItem']['uiId'],_0x13b02f['isLoading']);}),this['listenTo'](this['activeConversation'],'contextSent',(_0x478d19,_0x3cab71)=>{this['_aiChatUi']['setConversationContext'](_0x3cab71['contextItems']);}),this['listenTo'](this['activeConversation'],'addContextOptionsChanged',(_0x272565,_0x5c7ac4)=>{this['_aiChatUi']['setAddContextOptions'](_0x5c7ac4['options']);}),this['listenTo'](this['activeConversation'],'sourceResourcesLoaded',(_0x5c1cde,_0x4e1ae8)=>{this['_aiChatUi']['populateSourceResourceBalloon'](_0x4e1ae8['sourceId'],_0x4e1ae8['source'],_0x4e1ae8['resources'],_0x4e1ae8['uid']);}),this['listenTo'](this['activeConversation'],'resourceStateChanged',(_0x35c47c,_0x3cc453)=>{this['_aiChatUi']['updateResourceState'](_0x3cc453['sourceId'],_0x3cc453['resourceId'],_0x3cc453['isInContext']);}),this['listenTo'](this['activeConversation'],'capabilitiesUpdated',(_0x7ab869,_0x6eb1b7)=>{this['_aiChatUi']['updateCapabilities'](_0x6eb1b7);}),this['listenTo'](this['activeConversation'],'modelSelected',async(_0x489851,_0x24a8c3)=>{try{const _0x44e96d=(await this['_aiChatModels']['getAll']())['find'](_0x35e010=>_0x35e010['id']===_0x24a8c3['selectedModel']?.['id'])||null;this['_aiChatUi']['setSelectedModel'](_0x44e96d,_0x24a8c3['isDisabled']);}catch(_0x160225){this['_reporter']['logError'](new _0x1118f7({'code':'ai-chat-models-unable-to-retrieve','type':'network','cause':_0x160225}),{'context':{'operation':'model-selected'}});}}),this['listenTo'](this['activeConversation'],'error',(_0x402dab,{error:_0x4f60b0,interactionId:_0x3c9834,fileName:_0x553540,url:_0x16004d,sourceId:_0x1233ac,sourceLabel:_0x123577})=>{const _0x38d7c6=_0x3c9834?_0x3c9834+':'+(0x0,_0x14e616['uid'])():(0x0,_0x14e616['uid'])();this['_reporter']['reportError'](_0x4f60b0),_0x4f60b0['message']['startsWith']('ai-request-aborted')?this['_aiChatUi']['addFeedItemStaticMessage']({'staticMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_ABORTED_MESSAGE'),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-conversation-init-failed')||_0x4f60b0['message']['startsWith']('ai-chat-conversation-start-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_UNABLE_TO_START_CONVERSATION'),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-file-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_FILE',_0x553540),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-url-upload-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_UPLOAD_URL',_0x16004d),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-context-invalid-data')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_INVALID_DATA'),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-context-unsupported-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_TYPE'),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-source-resources-load-failed')?(_0x1233ac&&this['_aiChatUi']['closeSourceResourceBalloon'](_0x1233ac),this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_UNABLE_TO_LOAD_RESOURCES',_0x123577||'source'),'id':_0x38d7c6})):_0x4f60b0['message']['startsWith']('ai-chat-resource-load-failed')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_RESOURCE_LOAD_FAILED'),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-invalid-request')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_INVALID_REQUEST'),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-context-unsupported-file-type')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_UNSUPPORTED_FILE_TYPE'),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-context-file-too-large')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_LARGE'),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-context-file-too-many-pages')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_FILE_TOO_MANY_PAGES'),'id':_0x38d7c6}):_0x4f60b0['message']['startsWith']('ai-chat-context-form-data-size-limits-exceeded')?this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_CONTEXT_FORM_DATA_SIZE_LIMITS_EXCEEDED'),'id':_0x38d7c6}):this['_aiChatUi']['addFeedItemError']({'errorMessage':_0x2723f0(this['context']['locale'],'AI_CHAT_GENERIC_ERROR'),'id':_0x38d7c6});}),await this['activeConversation']['init'](this['context']['config']['get']('ai.chat.context')),_0x457150||(await this['activeConversation']['start'](),this['_aiChatUi']['enableControls']()),this['set']('isConversationReady',!0x0);}async['_handleUIUserMessage']({message:_0xf7a649,attributes:_0x2fd7e3}){if(!this['activeConversation'])throw new _0x14e616['CKEditorError']('ai-chat-controller-no-active-conversation');if(this['activeConversation']['isCurrentDocumentInContext']()){const _0xf903ae=await this['_aiEditing']['getDocumentData']();await this['activeConversation']['updateCurrentDocumentsInContext'](_0xf903ae);}this['activeConversation']['id']&&this['activeConversation']['isStarted']&&await this['activeConversation']['handleUserInteraction']({'userMessage':_0xf7a649,'attributes':_0x2fd7e3});}['_removeFromContext'](_0x2bfee0){this['activeConversation']?.['removeFromContext'](_0x2bfee0);}['_toggleWebSearch'](){this['activeConversation']?.['toggleWebSearch']();}['_toggleReasoning'](){this['activeConversation']?.['toggleReasoning']();}['getInteractionAndReplyById'](_0x4879ca){const [_0x146a12,_0x4de7b2]=_0x4879ca['split'](':'),_0x448bad=this['activeConversation']['getInteraction'](_0x146a12);return{'interaction':_0x448bad,'reply':_0x448bad['getReply'](_0x4de7b2)};}['_scrollToSuggestionRange'](_0xa4868c,_0x562a97=!0x1,_0x2b7b8f){const _0x39daf0={'target':_0x2b7b8f['editing']['view']['domConverter']['viewRangeToDom'](_0x2b7b8f['editing']['mapper']['toViewRange'](_0xa4868c)),'viewportOffset':{'top':0x96,'left':0x0,'bottom':0x32,'right':0x0},'ancestorOffset':0x14,'alignToTop':_0x562a97};_0x562a97&&(_0x39daf0['alignToTop']=!0x0),(0x0,_0x14e616['scrollViewportToShowTarget'])(_0x39daf0);}['_updateConversationTitle'](_0x940701,_0x310d32=!0x1){this['_aiChatUi']['setConversationTitle'](_0x940701||_0x2723f0(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),_0x310d32);}['_addFeedItemReply'](_0x989378){'text'===_0x989378['type']?this['_aiChatUi']['addFeedItemAIReply'](_0x989378):this['_aiChatUi']['addFeedItemAISuggestion'](_0x989378);}async['_updateReplyContent']({reply:_0x5f54db,renderingStrategy:_0x5f5ef2}){const {id:_0x17cb9c,interactionId:_0x3e5b13,isDone:_0x4cc031,type:_0x1d77c8,parsedContent:_0x48055e}=_0x5f54db,_0x178965=_0x3e5b13+':'+_0x17cb9c;if('modification'===_0x1d77c8){const _0x274fa7=_0x5f54db['getContentParts']({'showDiff':this['_aiChatUi']['showDiff']});await this['_aiChatUi']['updateFeedItemAIReplySuggestionContent']({'id':_0x178965,'parts':_0x274fa7,'isDone':_0x4cc031,'skipLoadingEffects':_0x5f54db['isFromHistory']});}else'text'===_0x1d77c8&&await this['_aiChatUi']['updateFeedItemAIReplyContent']({'id':_0x178965,'parsedContent':_0x48055e['get']('text'),'renderingStrategy':_0x5f5ef2,'isDone':_0x4cc031});_0x4cc031&&_0x5f54db['sources']['length']>0x0&&this['_aiChatUi']['updateFeedItemAIReplySources'](_0x178965,_0x5f54db['sources']);}['_updateReplyContentThrottled']=_0x126ff9(this['_updateReplyContent']['bind'](this),0xc8);async['_stopLastInteraction'](){const _0x4a168c=this['activeConversation']?.['lastInteraction'];_0x4a168c&&(_0x4a168c['stop'](),this['_aiChatUi']['stopInteraction'](_0x4a168c)),this['_updateReplyContentThrottled']['cancel']();}async['_flushLastInteractionUI'](){const _0x2a3ea8=this['activeConversation']?.['lastInteraction'];if(_0x2a3ea8){for await(const _0x34f221 of _0x2a3ea8['replies'])this['_aiChatUi']['hasFeedItem'](_0x34f221['id'])||this['_addFeedItemReply'](_0x34f221),await this['_updateReplyContent']({'reply':_0x34f221,'renderingStrategy':'static'});}}['_updateRatings'](_0x3c1c47){const _0x104f17={'positiveCount':_0x3c1c47['changeGroups']['filter'](_0x288d65=>'accepted'===_0x288d65['state'])['length'],'totalCount':_0x3c1c47['changeGroups']['length'],'modificationId':_0x3c1c47['id']},_0x63e9df=this['activeConversation']['getInteraction'](_0x3c1c47['interactionId'])['messageId'];_0x63e9df&&this['_aiConnector']['upsertAIChatRating'](this['activeConversation']['id'],_0x63e9df,_0x104f17);}['_getAIChatFeedAPI'](_0x48d1b3){const _0x467ffc=this['_aiChatUi'],_0x21adde=()=>{_0x48d1b3['resetWebSearchState'](),_0x48d1b3['resetReasoningState'](),_0x467ffc['clearLoadingMessage']();},_0x100e57=()=>{_0x48d1b3['currentReply']&&(_0x48d1b3['currentReply']['done'](),_0x48d1b3['currentReply']=void 0x0);};return{'insertTextReply':(_0x46025f,_0x33134e)=>{_0x100e57(),_0x21adde();const _0xfbc55a=_0x48d1b3['currentReply']=_0x48d1b3['createReply']({'type':'text','interactionId':_0x48d1b3['id'],'id':_0x33134e||(0x0,_0x14e616['uid'])(),'channelsToEditors':this['_channelsToEditors']});return _0xfbc55a['appendContent'](_0x46025f),_0x100e57(),_0xfbc55a;},'insertCustomElement':async(_0x4156c2,_0x68c4c2)=>(_0x100e57(),_0x21adde(),_0x467ffc['addFeedItemCustomElement'](_0x4156c2,_0x68c4c2||(0x0,_0x14e616['uid'])())),'setLoadingMessage':_0x39bba1=>{_0x467ffc['setLoadingMessage'](_0x39bba1);},'clearLoadingMessage':()=>{_0x467ffc['clearLoadingMessage']();}};}['_checkRemoveCurrentDocumentFromChatContext'](){_0x5477c5(this['context'])['find'](_0x504a38=>'destroyed'!==_0x504a38['state'])||(this['activeConversation']?.['removeFromContext']('current-document'),this['activeConversation']?.['toggleAddCurrentDocumentOptionVisibility'](!0x1));}};const _0x51b445=['showChangeInText','insertSuggestion','applySuggestion','rejectSuggestion','mouseOverSuggestion','mouseLeaveSuggestion','toggleSuggestionDisplayMode','like','dislike'],_0x207821=[..._0x51b445,'startConversation','sendUserMessage','promptInputPaste','abortPromptStream','addDocumentToContext','addFileToContext','addUrlToContext','executeCustomItemCallback','addResourceToContext','removeContextItem','loadSourceResources','toggleWebSearch','toggleReasoning','selectModel'];var _0x27908a,_0x6e0029='undefined'==typeof document?void 0x0:document,_0x480840=!!_0x6e0029&&'content'in _0x6e0029['createElement']('template'),_0x3ce046=!!_0x6e0029&&_0x6e0029['createRange']&&'createContextualFragment'in _0x6e0029['createRange']();function _0x3999eb(_0x5d62de){return _0x5d62de=_0x5d62de['trim'](),_0x480840?function(_0x53f4c1){var _0x756fb0=_0x6e0029['createElement']('template');return _0x756fb0['innerHTML']=_0x53f4c1,_0x756fb0['content']['childNodes'][0x0];}(_0x5d62de):_0x3ce046?function(_0x1afce3){return _0x27908a||(_0x27908a=_0x6e0029['createRange']())['selectNode'](_0x6e0029['body']),_0x27908a['createContextualFragment'](_0x1afce3)['childNodes'][0x0];}(_0x5d62de):function(_0x5b5f6c){var _0x3b0819=_0x6e0029['createElement']('body');return _0x3b0819['innerHTML']=_0x5b5f6c,_0x3b0819['childNodes'][0x0];}(_0x5d62de);}function _0xa4beae(_0x1d5d74,_0x1a1717){var _0x456ea8,_0x27d75a,_0x314da0=_0x1d5d74['nodeName'],_0x21fe09=_0x1a1717['nodeName'];return _0x314da0===_0x21fe09||(_0x456ea8=_0x314da0['charCodeAt'](0x0),_0x27d75a=_0x21fe09['charCodeAt'](0x0),_0x456ea8<=0x5a&&_0x27d75a>=0x61?_0x314da0===_0x21fe09['toUpperCase']():_0x27d75a<=0x5a&&_0x456ea8>=0x61&&_0x21fe09===_0x314da0['toUpperCase']());}function _0x2f8b05(_0x1bef74,_0x56b2e6,_0x896232){_0x1bef74[_0x896232]!==_0x56b2e6[_0x896232]&&(_0x1bef74[_0x896232]=_0x56b2e6[_0x896232],_0x1bef74[_0x896232]?_0x1bef74['setAttribute'](_0x896232,''):_0x1bef74['removeAttribute'](_0x896232));}var _0xa2b009={'OPTION':function(_0x4c9004,_0x51dc05){var _0x3d8d8d=_0x4c9004['parentNode'];if(_0x3d8d8d){var _0x2b3650=_0x3d8d8d['nodeName']['toUpperCase']();'OPTGROUP'===_0x2b3650&&(_0x2b3650=(_0x3d8d8d=_0x3d8d8d['parentNode'])&&_0x3d8d8d['nodeName']['toUpperCase']()),'SELECT'!==_0x2b3650||_0x3d8d8d['hasAttribute']('multiple')||(_0x4c9004['hasAttribute']('selected')&&!_0x51dc05['selected']&&(_0x4c9004['setAttribute']('selected','selected'),_0x4c9004['removeAttribute']('selected')),_0x3d8d8d['selectedIndex']=-0x1);}_0x2f8b05(_0x4c9004,_0x51dc05,'selected');},'INPUT':function(_0x53ff9d,_0x3ba549){_0x2f8b05(_0x53ff9d,_0x3ba549,'checked'),_0x2f8b05(_0x53ff9d,_0x3ba549,'disabled'),_0x53ff9d['value']!==_0x3ba549['value']&&(_0x53ff9d['value']=_0x3ba549['value']),_0x3ba549['hasAttribute']('value')||_0x53ff9d['removeAttribute']('value');},'TEXTAREA':function(_0xe4fdf8,_0x4e9c6e){var _0x2c7513=_0x4e9c6e['value'];_0xe4fdf8['value']!==_0x2c7513&&(_0xe4fdf8['value']=_0x2c7513);var _0x4b221c=_0xe4fdf8['firstChild'];if(_0x4b221c){var _0x3c4e71=_0x4b221c['nodeValue'];if(_0x3c4e71==_0x2c7513||!_0x2c7513&&_0x3c4e71==_0xe4fdf8['placeholder'])return;_0x4b221c['nodeValue']=_0x2c7513;}},'SELECT':function(_0x3e6132,_0x366dc7){if(!_0x366dc7['hasAttribute']('multiple')){for(var _0x3c56e0,_0x5111a4,_0x24b419=-0x1,_0x480e73=0x0,_0x52c651=_0x3e6132['firstChild'];_0x52c651;)if('OPTGROUP'===(_0x5111a4=_0x52c651['nodeName']&&_0x52c651['nodeName']['toUpperCase']()))(_0x52c651=(_0x3c56e0=_0x52c651)['firstChild'])||(_0x52c651=_0x3c56e0['nextSibling'],_0x3c56e0=null);else{if('OPTION'===_0x5111a4){if(_0x52c651['hasAttribute']('selected')){_0x24b419=_0x480e73;break;}_0x480e73++;}!(_0x52c651=_0x52c651['nextSibling'])&&_0x3c56e0&&(_0x52c651=_0x3c56e0['nextSibling'],_0x3c56e0=null);}_0x3e6132['selectedIndex']=_0x24b419;}}};function _0x1d4d24(){}function _0x41d6d6(_0x5f1547){if(_0x5f1547)return _0x5f1547['getAttribute']&&_0x5f1547['getAttribute']('id')||_0x5f1547['id'];}var _0x250ee6=function(_0x537af0){return function(_0x9f8be1,_0x12274d,_0x1a5c47){if(_0x1a5c47||(_0x1a5c47={}),'string'==typeof _0x12274d){if('#document'===_0x9f8be1['nodeName']||'HTML'===_0x9f8be1['nodeName']||'BODY'===_0x9f8be1['nodeName']){var _0x2faafb=_0x12274d;(_0x12274d=_0x6e0029['createElement']('html'))['innerHTML']=_0x2faafb;}else _0x12274d=_0x3999eb(_0x12274d);}else 0xb===_0x12274d['nodeType']&&(_0x12274d=_0x12274d['firstElementChild']);var _0x20ebde=_0x1a5c47['getNodeKey']||_0x41d6d6,_0xd88e53=_0x1a5c47['onBeforeNodeAdded']||_0x1d4d24,_0x2b90dc=_0x1a5c47['onNodeAdded']||_0x1d4d24,_0x28fcd3=_0x1a5c47['onBeforeElUpdated']||_0x1d4d24,_0xb0f739=_0x1a5c47['onElUpdated']||_0x1d4d24,_0x2a5cd8=_0x1a5c47['onBeforeNodeDiscarded']||_0x1d4d24,_0xd03c28=_0x1a5c47['onNodeDiscarded']||_0x1d4d24,_0x10f9a8=_0x1a5c47['onBeforeElChildrenUpdated']||_0x1d4d24,_0x414d6c=_0x1a5c47['skipFromChildren']||_0x1d4d24,_0x399b73=_0x1a5c47['addChild']||function(_0x266ae5,_0x4c1396){return _0x266ae5['appendChild'](_0x4c1396);},_0x4d7141=!0x0===_0x1a5c47['childrenOnly'],_0x3baa72=Object['create'](null),_0x25e5dc=[];function _0x38c228(_0x5ba7dc){_0x25e5dc['push'](_0x5ba7dc);}function _0x34bfb2(_0x4accbf,_0x4e0106){if(0x1===_0x4accbf['nodeType'])for(var _0x1e13e2=_0x4accbf['firstChild'];_0x1e13e2;){var _0x422683=void 0x0;_0x4e0106&&(_0x422683=_0x20ebde(_0x1e13e2))?_0x38c228(_0x422683):(_0xd03c28(_0x1e13e2),_0x1e13e2['firstChild']&&_0x34bfb2(_0x1e13e2,_0x4e0106)),_0x1e13e2=_0x1e13e2['nextSibling'];}}function _0x125d4f(_0x2723ba,_0x342ec7,_0x468ff1){!0x1!==_0x2a5cd8(_0x2723ba)&&(_0x342ec7&&_0x342ec7['removeChild'](_0x2723ba),_0xd03c28(_0x2723ba),_0x34bfb2(_0x2723ba,_0x468ff1));}function _0x430bc3(_0x34d1ef){if(0x1===_0x34d1ef['nodeType']||0xb===_0x34d1ef['nodeType'])for(var _0x3051b9=_0x34d1ef['firstChild'];_0x3051b9;){var _0x55f88b=_0x20ebde(_0x3051b9);_0x55f88b&&(_0x3baa72[_0x55f88b]=_0x3051b9),_0x430bc3(_0x3051b9),_0x3051b9=_0x3051b9['nextSibling'];}}function _0x149bf9(_0x2ba378){_0x2b90dc(_0x2ba378);for(var _0x8d0601=_0x2ba378['firstChild'];_0x8d0601;){var _0x33b2ca=_0x8d0601['nextSibling'],_0x58c4f1=_0x20ebde(_0x8d0601);if(_0x58c4f1){var _0x2021e0=_0x3baa72[_0x58c4f1];_0x2021e0&&_0xa4beae(_0x8d0601,_0x2021e0)?(_0x8d0601['parentNode']['replaceChild'](_0x2021e0,_0x8d0601),_0x33e825(_0x2021e0,_0x8d0601)):_0x149bf9(_0x8d0601);}else _0x149bf9(_0x8d0601);_0x8d0601=_0x33b2ca;}}function _0x33e825(_0x110f69,_0x423abf,_0x4cc24c){var _0x204a99=_0x20ebde(_0x423abf);if(_0x204a99&&delete _0x3baa72[_0x204a99],!_0x4cc24c){var _0x35ddc5=_0x28fcd3(_0x110f69,_0x423abf);if(!0x1===_0x35ddc5)return;if(_0x35ddc5 instanceof HTMLElement&&_0x430bc3(_0x110f69=_0x35ddc5),_0x537af0(_0x110f69,_0x423abf),_0xb0f739(_0x110f69),!0x1===_0x10f9a8(_0x110f69,_0x423abf))return;}'TEXTAREA'!==_0x110f69['nodeName']?function(_0xf0146a,_0xeff50d){var _0x5684b7,_0x28e72d,_0xc10b5a,_0x508342,_0x2789d0,_0x22bca7=_0x414d6c(_0xf0146a,_0xeff50d),_0x393f7c=_0xeff50d['firstChild'],_0x3f1f09=_0xf0146a['firstChild'];t:for(;_0x393f7c;){for(_0x508342=_0x393f7c['nextSibling'],_0x5684b7=_0x20ebde(_0x393f7c);!_0x22bca7&&_0x3f1f09;){if(_0xc10b5a=_0x3f1f09['nextSibling'],_0x393f7c['isSameNode']&&_0x393f7c['isSameNode'](_0x3f1f09)){_0x393f7c=_0x508342,_0x3f1f09=_0xc10b5a;continue t;}_0x28e72d=_0x20ebde(_0x3f1f09);var _0x115f10=_0x3f1f09['nodeType'],_0x10f231=void 0x0;if(_0x115f10===_0x393f7c['nodeType']&&(0x1===_0x115f10?(_0x5684b7?_0x5684b7!==_0x28e72d&&((_0x2789d0=_0x3baa72[_0x5684b7])?_0xc10b5a===_0x2789d0?_0x10f231=!0x1:(_0xf0146a['insertBefore'](_0x2789d0,_0x3f1f09),_0x28e72d?_0x38c228(_0x28e72d):_0x125d4f(_0x3f1f09,_0xf0146a,!0x0),_0x28e72d=_0x20ebde(_0x3f1f09=_0x2789d0)):_0x10f231=!0x1):_0x28e72d&&(_0x10f231=!0x1),(_0x10f231=!0x1!==_0x10f231&&_0xa4beae(_0x3f1f09,_0x393f7c))&&_0x33e825(_0x3f1f09,_0x393f7c)):0x3!==_0x115f10&&0x8!=_0x115f10||(_0x10f231=!0x0,_0x3f1f09['nodeValue']!==_0x393f7c['nodeValue']&&(_0x3f1f09['nodeValue']=_0x393f7c['nodeValue']))),_0x10f231){_0x393f7c=_0x508342,_0x3f1f09=_0xc10b5a;continue t;}_0x28e72d?_0x38c228(_0x28e72d):_0x125d4f(_0x3f1f09,_0xf0146a,!0x0),_0x3f1f09=_0xc10b5a;}if(_0x5684b7&&(_0x2789d0=_0x3baa72[_0x5684b7])&&_0xa4beae(_0x2789d0,_0x393f7c))_0x22bca7||_0x399b73(_0xf0146a,_0x2789d0),_0x33e825(_0x2789d0,_0x393f7c);else{var _0x36de4b=_0xd88e53(_0x393f7c);!0x1!==_0x36de4b&&(_0x36de4b&&(_0x393f7c=_0x36de4b),_0x393f7c['actualize']&&(_0x393f7c=_0x393f7c['actualize'](_0xf0146a['ownerDocument']||_0x6e0029)),_0x399b73(_0xf0146a,_0x393f7c),_0x149bf9(_0x393f7c));}_0x393f7c=_0x508342,_0x3f1f09=_0xc10b5a;}!function(_0x1c93da,_0x5ca4e9,_0x29ec16){for(;_0x5ca4e9;){var _0x30feb7=_0x5ca4e9['nextSibling'];(_0x29ec16=_0x20ebde(_0x5ca4e9))?_0x38c228(_0x29ec16):_0x125d4f(_0x5ca4e9,_0x1c93da,!0x0),_0x5ca4e9=_0x30feb7;}}(_0xf0146a,_0x3f1f09,_0x28e72d);var _0x3515ac=_0xa2b009[_0xf0146a['nodeName']];_0x3515ac&&_0x3515ac(_0xf0146a,_0xeff50d);}(_0x110f69,_0x423abf):_0xa2b009['TEXTAREA'](_0x110f69,_0x423abf);}_0x430bc3(_0x9f8be1);var _0x2cd8de=_0x9f8be1,_0x52d041=_0x2cd8de['nodeType'],_0x1da949=_0x12274d['nodeType'];if(!_0x4d7141){if(0x1===_0x52d041)0x1===_0x1da949?_0xa4beae(_0x9f8be1,_0x12274d)||(_0xd03c28(_0x9f8be1),_0x2cd8de=function(_0x33da5c,_0x34a2b2){for(var _0x1a6b0b=_0x33da5c['firstChild'];_0x1a6b0b;){var _0x462ee1=_0x1a6b0b['nextSibling'];_0x34a2b2['appendChild'](_0x1a6b0b),_0x1a6b0b=_0x462ee1;}return _0x34a2b2;}(_0x9f8be1,function(_0x59ed11,_0x4730ad){return _0x4730ad&&'http://www.w3.org/1999/xhtml'!==_0x4730ad?_0x6e0029['createElementNS'](_0x4730ad,_0x59ed11):_0x6e0029['createElement'](_0x59ed11);}(_0x12274d['nodeName'],_0x12274d['namespaceURI']))):_0x2cd8de=_0x12274d;else{if(0x3===_0x52d041||0x8===_0x52d041){if(_0x1da949===_0x52d041)return _0x2cd8de['nodeValue']!==_0x12274d['nodeValue']&&(_0x2cd8de['nodeValue']=_0x12274d['nodeValue']),_0x2cd8de;_0x2cd8de=_0x12274d;}}}if(_0x2cd8de===_0x12274d)_0xd03c28(_0x9f8be1);else{if(_0x12274d['isSameNode']&&_0x12274d['isSameNode'](_0x2cd8de))return;if(_0x33e825(_0x2cd8de,_0x12274d,_0x4d7141),_0x25e5dc)for(var _0x12ffb9=0x0,_0x48b38c=_0x25e5dc['length'];_0x12ffb9<_0x48b38c;_0x12ffb9++){var _0xb0edc6=_0x3baa72[_0x25e5dc[_0x12ffb9]];_0xb0edc6&&_0x125d4f(_0xb0edc6,_0xb0edc6['parentNode'],!0x1);}}return!_0x4d7141&&_0x2cd8de!==_0x9f8be1&&_0x9f8be1['parentNode']&&(_0x2cd8de['actualize']&&(_0x2cd8de=_0x2cd8de['actualize'](_0x9f8be1['ownerDocument']||_0x6e0029)),_0x9f8be1['parentNode']['replaceChild'](_0x2cd8de,_0x9f8be1)),_0x2cd8de;};}(function(_0x15c0e1,_0x3fcf11){var _0xc9a1f0,_0x59f8e9,_0x54011d,_0x13ea4d,_0x1aa26e=_0x3fcf11['attributes'];if(0xb!==_0x3fcf11['nodeType']&&0xb!==_0x15c0e1['nodeType']){for(var _0x340fd4=_0x1aa26e['length']-0x1;_0x340fd4>=0x0;_0x340fd4--)_0x59f8e9=(_0xc9a1f0=_0x1aa26e[_0x340fd4])['name'],_0x54011d=_0xc9a1f0['namespaceURI'],_0x13ea4d=_0xc9a1f0['value'],_0x54011d?(_0x59f8e9=_0xc9a1f0['localName']||_0x59f8e9,_0x15c0e1['getAttributeNS'](_0x54011d,_0x59f8e9)!==_0x13ea4d&&('xmlns'===_0xc9a1f0['prefix']&&(_0x59f8e9=_0xc9a1f0['name']),_0x15c0e1['setAttributeNS'](_0x54011d,_0x59f8e9,_0x13ea4d))):_0x15c0e1['getAttribute'](_0x59f8e9)!==_0x13ea4d&&_0x15c0e1['setAttribute'](_0x59f8e9,_0x13ea4d);for(var _0x3a7fcc=_0x15c0e1['attributes'],_0x2d1437=_0x3a7fcc['length']-0x1;_0x2d1437>=0x0;_0x2d1437--)_0x59f8e9=(_0xc9a1f0=_0x3a7fcc[_0x2d1437])['name'],(_0x54011d=_0xc9a1f0['namespaceURI'])?(_0x59f8e9=_0xc9a1f0['localName']||_0x59f8e9,_0x3fcf11['hasAttributeNS'](_0x54011d,_0x59f8e9)||_0x15c0e1['removeAttributeNS'](_0x54011d,_0x59f8e9)):_0x3fcf11['hasAttribute'](_0x59f8e9)||_0x15c0e1['removeAttribute'](_0x59f8e9);}});function _0x3e2380(_0x45ae70){const _0x25da0e=new AbortController();return{'promise':new Promise((_0xf60709,_0x33e292)=>{const _0xcec0be=setTimeout(_0xf60709,_0x45ae70);_0x25da0e['signal']['addEventListener']('abort',()=>{clearTimeout(_0xcec0be),_0x33e292();});}),'abortController':_0x25da0e};}var _0x126d7f=class{['options'];['isStreaming']=!0x1;['document']=null;['nodesList']=[];['currentIndex']=0x0;['timeoutAbortController']=null;['lastUpdateTime']=0x0;constructor(_0x5714c7){this['options']={'delay':_0x5714c7?.['delay']??0xa,'textNodeStyle':_0x5714c7?.['textNodeStyle']??'animation:\x20ck-html-streamer-fade-in\x20.3s'};}async['stream']({document:_0x537e32,targetElement:_0xc49be4,abortSignal:_0x2daab6}){this['isStreaming']&&this['stop'](),_0x2daab6?.['addEventListener']('abort',this['stop']['bind'](this)),this['document']=_0x425e77(_0x537e32,!0x0),this['nodesList']=this['getParsedDocumentNodeList'](),this['isStreaming']=!0x0,this['currentIndex']>this['nodesList']['length']&&(this['currentIndex']=this['nodesList']['length']);for(let _0xf96135=0x0;_0xf96135<this['currentIndex'];_0xf96135++)this['nodesList'][_0xf96135]['shouldBeStreamed']=!0x0;do{const _0x4d434e=Date['now'](),_0x2dedf0=this['nodesList'][this['currentIndex']],_0x2bae1a=_0x4d434e-this['lastUpdateTime'];if(_0x2dedf0){_0x2dedf0['shouldBeStreamed']=!0x0;let _0x132e12=_0x2dedf0['parent'];for(;_0x132e12;)_0x132e12['shouldBeStreamed']=!0x0,_0x132e12=_0x132e12['parent'];}if(_0x2bae1a<this['options']['delay'])try{const {promise:_0x5d4e52,abortController:_0x72d516}=_0x3e2380(this['options']['delay']-_0x2bae1a);this['timeoutAbortController']=_0x72d516,await _0x5d4e52;}catch(_0x58862f){return;}_0x250ee6(_0xc49be4,'<'+_0xc49be4['tagName']+'>'+this['renderNode'](this['document'])+'</'+_0xc49be4['tagName']+'>',{'childrenOnly':!0x0}),this['currentIndex']++,this['lastUpdateTime']=Date['now']();}while(this['currentIndex']<this['nodesList']['length']);this['currentIndex']=this['nodesList']['length'],this['isStreaming']=!0x1;}['reset'](){this['isStreaming']=!0x1,this['document']=null,this['nodesList']=[],this['currentIndex']=0x0,this['timeoutAbortController']=null;}['cleanUpAnimations']({targetElement:_0x4d2305}){Array['from'](_0x4d2305['querySelectorAll']('span[data-ck-html-streamer-word-chunk]'))['reverse']()['forEach'](_0x43c056=>{_0x43c056['replaceWith'](_0x43c056['childNodes'][0x0]);});}['stop'](){this['isStreaming']=!0x1,this['timeoutAbortController']&&(this['timeoutAbortController']['abort'](),this['timeoutAbortController']=null);}['renderNode'](_0x43fddf){let _0x11fa73='';if(function(_0x18df84){return _0x4ab318(_0x18df84);}(_0x43fddf)){for(const _0x40b6ba of _0x43fddf['children'])_0x11fa73+=this['renderNode'](_0x40b6ba);}else{if(_0x56aabf(_0x43fddf)){if(!_0x43fddf['shouldBeStreamed'])return'';const _0x4ed5d9=_0x43fddf,_0x416f01=Object['entries'](_0x4ed5d9['attribs'])['map'](([_0x5d8e52,_0x30fb19])=>_0x5d8e52+'=\x22'+_0x30fb19+'\x22')['join']('\x20');_0x11fa73+='<'+_0x4ed5d9['tagName']+(_0x416f01?'\x20'+_0x416f01:'')+'>';for(const _0x7f027 of _0x224113(_0x2aad23=_0x4ed5d9)?_0x2aad23['children']:[])_0x11fa73+=this['renderNode'](_0x7f027);_0x11fa73+='</'+_0x4ed5d9['tagName']+'>';}else{if(!_0x138761(_0x43fddf))return'';if(!_0x43fddf['shouldBeStreamed'])return'';!function(_0x43d250){return!(!_0x43d250['parent']||!_0x56aabf(_0x43d250['parent']))&&(!!_0x51da3d['includes'](_0x43d250['parent']['tagName'])&&!_0x2fcf79(_0x43d250)['match'](/^\s*[<>]\s*$/));}(_0x43fddf)?_0x11fa73+=_0x1302b8(_0x43fddf):_0x11fa73+=_0x1302b8(new _0x3df575('span',{'data-ck-html-streamer-word-chunk':'','style':this['options']['textNodeStyle']},[_0x43fddf]));}}var _0x2aad23;return _0x11fa73;}['getParsedDocumentNodeList'](){const _0x18529b=[];return function(_0x58e49c,_0x1cb208){const _0x577c51=_0x22ac80=>{if(_0x1cb208(_0x22ac80),_0x22ac80 instanceof _0x424b13)for(let _0x25b2bb=0x0;_0x25b2bb<_0x22ac80['children']['length'];_0x25b2bb++){const _0x49aa8e=_0x22ac80['children'][_0x25b2bb];_0x577c51(_0x49aa8e);}};for(let _0x19fc9b=0x0;_0x19fc9b<_0x58e49c['children']['length'];_0x19fc9b++)_0x577c51(_0x58e49c['children'][_0x19fc9b]);}(this['document'],_0x21be9e=>{if(_0x138761(_0x21be9e)){const _0x52def2=this['splitTextNodeIntoWordNodes'](_0x21be9e);_0x52def2['length']&&_0x18529b['push'](..._0x52def2);}_0x21be9e['isWordSplitSource']||_0x21be9e['isWordSplitResult']||_0x18529b['push'](_0x21be9e);}),_0x18529b;}['splitTextNodeIntoWordNodes'](_0x5b31a1){if(_0x5b31a1['isWordSplitSource']||_0x5b31a1['isWordSplitResult'])return[];const _0xc69f61=_0x2fcf79(_0x5b31a1)['match'](/(?:\s*\S+\s*)/g),_0x293fe9=[];if(_0xc69f61&&_0xc69f61['length']>0x1){for(const _0x225a2b of _0xc69f61){const _0x48bbbf=new _0x66d3ae(_0x225a2b);_0x48bbbf['isWordSplitResult']=!0x0,_0x419b97(_0x5b31a1,_0x48bbbf),_0x293fe9['push'](_0x48bbbf);}_0x5b31a1['isWordSplitSource']=!0x0,_0xa04271(_0x5b31a1);}return _0x293fe9;}};const _0x51da3d=['p','li','td','th','span','h1','h2','h3','h4','h5','h6','b','strong','i','em','mark','del','ins','sup','sub','a','code','div'];function _0x138761(_0x254771){return _0xea358(_0x254771);}function _0x56aabf(_0x2c76f0){return _0x49789e(_0x2c76f0);}function _0x431911(_0x2b8a3e,_0x2e4f3d){_0x2b8a3e['cleanUpAnimations']({'targetElement':_0x2e4f3d}),_0x2e4f3d['querySelectorAll']('[data-id]')['forEach'](_0x12e746=>{_0x12e746['removeAttribute']('data-id');});}var tu=class extends _0x14e616['View']{['options'];['content']='';['htmlStreamer'];['children'];constructor(_0x5b2c84){super();const _0xe90493=this['bindTemplate'];this['set']('isDone',!0x1),this['set']('isVisible',!0x0),this['htmlStreamer']=new _0x126d7f(),this['options']=_0x5b2c84,this['children']=this['createCollection'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__item',_0xe90493['if']('isDone','ck-ai-chat__feed__item_done'),_0xe90493['if']('isVisible','ck-hidden',_0x480f37=>!_0x480f37),'ck-ai-chat__feed__text-item'],'data-cke-ai-id':this['options']['id']},'children':this['children']});}['markAsDone'](){_0x431911(this['htmlStreamer'],this['element']),this['isDone']=!0x0;}async['streamIntoElement'](_0x30a062,_0x44941e,_0x44bdb0){await this['htmlStreamer']['stream']({'document':_0x30a062,'targetElement':_0x44941e,'abortSignal':_0x44bdb0});}},_0x2f2fba=class extends _0x14e616['View']{['showChangesToggleView'];constructor(_0xd575ad,_0x532372){super(_0xd575ad),this['set']('isShowChangesToggleVisible',!0x0),this['showChangesToggleView']=new _0x2f1fe6(_0xd575ad),this['showChangesToggleView']['set']({'class':'ck-ai-suggestion__header__show-changes-toggle\x20ck-ai-chat-controls-button\x20'+_0x2eb508,'label':_0x2723f0(_0xd575ad,'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':!0x0}),this['showChangesToggleView']['isOn']=_0x532372['showDiff'],this['showChangesToggleView']['bind']('isVisible')['to'](this,'isShowChangesToggleVisible'),this['showChangesToggleView']['bind']('icon')['to'](this['showChangesToggleView'],'isOn',_0x5a8ba2=>_0x5a8ba2?_0x14e616['IconShowChangesOn']:_0x14e616['IconShowChangesOff']),this['showChangesToggleView']['on']('execute',()=>{this['showChangesToggleView']['isOn']=!this['showChangesToggleView']['isOn'],this['fire']('toggleShowChanges',{'isOn':this['showChangesToggleView']['isOn']});});const _0x5e6607=new _0x14e616['IconView']();_0x5e6607['content']=_0x14e616['IconDocument'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__header',!0x1===_0x532372['showHeader']?'ck-hidden':null]['filter'](Boolean)},'children':[_0x5e6607,{'tag':'span','children':[_0x2723f0(_0xd575ad,'AI_SUGGESTION_HEADER_TITLE')]},this['showChangesToggleView']]});}},_0x2f1fe6=class extends _0x14e616['ButtonView']{['render'](){super['render'](),this['children']['remove'](this['iconView']),this['children']['add'](this['iconView']);}};const _0x3083fd={'accepted':_0x14e616['IconBoxWithCheck'],'rejected':_0x14e616['IconBoxWithCross'],'outdated':_0x14e616['IconBoxWithCross']};var _0x835a97=class extends _0x14e616['View']{['stateIconView'];constructor(_0x1cf7fc){super(_0x1cf7fc);const _0x1534c7=this['bindTemplate'];this['set']('state','accepted'),this['set']('isVisible',!0x0),this['stateIconView']=new _0x596742(),this['stateIconView']['bind']('state')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__content-part-state',_0x1534c7['to']('state',_0x2f94de=>'ck-ai-suggestion__content-part-state_'+_0x2f94de),_0x1534c7['if']('isVisible','ck-hidden',_0xc4cfb0=>!_0xc4cfb0)]},'children':[{'tag':'span','attributes':{'class':['ck-ai-suggestion__content-part-state__label']},'children':[{'text':_0x1534c7['to']('state',_0x3a6e09=>{switch(_0x3a6e09){case'accepted':return _0x2723f0(_0x1cf7fc,'AI_SUGGESTION_CONTENT_PART_STATE_ACCEPTED');case'rejected':return _0x2723f0(_0x1cf7fc,'AI_SUGGESTION_CONTENT_PART_STATE_REJECTED');case'outdated':return _0x2723f0(_0x1cf7fc,'AI_SUGGESTION_CONTENT_PART_STATE_OUTDATED');}})}]},this['stateIconView']]});}['setState'](_0x573fea){this['state']=_0x573fea;}},_0x596742=class extends _0x14e616['IconView']{constructor(){super(),this['set']('state','accepted'),this['content']=_0x3083fd[this['state']],this['on']('change:state',()=>{this['content']=_0x3083fd[this['state']];});}},_0x3cc807=class extends _0x14e616['ToolbarView']{['_applyButton'];['_suggestButton'];constructor(_0x558d69,_0x365c7b,_0x828522){super(_0x558d69);const _0x595895=Boolean(_0x828522);this['set']('isEnabled',!_0x595895),this['set']('isVisible',!0x0),this['set']('isTrackChangesOn',!0x1),this['class']='ck-ai-suggestion-content-part-toolbar';const _0x3ae328=[];if(_0x595895){const _0x6a1a7a=new _0x14e616['ButtonView'](_0x558d69);_0x6a1a7a['set']({'label':_0x2723f0(_0x558d69,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x14e616['IconInfo']}),_0x6a1a7a['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}}),_0x3ae328['push'](_0x6a1a7a);}else{_0x365c7b['includes']('applySuggestion')&&(this['_applyButton']=new _0x14e616['ButtonView'](_0x558d69),this['_applyButton']['set']({'label':_0x2723f0(_0x558d69,'AI_SUGGESTION_CONTENT_PART_APPLY'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x14e616['IconBoxWithCheck']}),this['_applyButton']['bind']('isEnabled')['to'](this),this['_applyButton']['bind']('isVisible')['to'](this,'isTrackChangesOn',_0x15a402=>!_0x15a402),this['_applyButton']['on']('execute',()=>{this['fire']('applySuggestion');}),_0x3ae328['push'](this['_applyButton'])),_0x365c7b['includes']('insertSuggestion')&&(this['_suggestButton']=new _0x14e616['ButtonView'](_0x558d69),this['_suggestButton']['set']({'label':_0x2723f0(_0x558d69,'AI_SUGGESTION_CONTENT_PART_ADD_SUGGESTION'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x14e616['IconBoxWithMarker']}),this['_suggestButton']['bind']('isEnabled')['to'](this),this['_suggestButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),_0x3ae328['push'](this['_suggestButton']));const _0xde17e7=new _0x14e616['ButtonView'](_0x558d69);_0xde17e7['set']({'label':_0x2723f0(_0x558d69,'AI_SUGGESTION_CONTENT_PART_REJECT'),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x14e616['IconBoxWithCross']}),_0xde17e7['bind']('isEnabled')['to'](this),_0xde17e7['on']('execute',()=>{this['fire']('rejectSuggestion');}),_0x3ae328['push'](_0xde17e7);}this['items']['addMany'](_0x3ae328);const _0x3c35ec=this['bindTemplate'];this['extendTemplate']({'attributes':{'class':[_0x3c35ec['if']('isVisible','ck-hidden',_0x5acd3=>!_0x5acd3)]}});}['setButtonsVisibility']({showApplyButton:_0x22627f,showSuggestButton:_0x1cacf4}){this['_applyButton']&&(this['_applyButton']['isVisible']=_0x22627f),this['_suggestButton']&&(this['_suggestButton']['isVisible']=_0x1cacf4);}},_0x47e645=class extends _0x14e616['View']{['toolbarView'];['stateView'];['titleLabelView'];['children'];constructor(_0x26d2f8,{part:_0x5bbc05,uiIndex:_0x18bfc9,availableActions:_0x2c5167,areActionsDisabled:_0x5da2cf}){super(_0x26d2f8),this['set']('isEnabled',!0x0),this['set']('state','pending'),this['set']('isTrackChangesOn',!0x1),this['toolbarView']=new _0x3cc807(_0x26d2f8,_0x2c5167,_0x5da2cf),this['toolbarView']['on']('rejectSuggestion',()=>{this['fire']('rejectSuggestion',{'index':_0x5bbc05['index']});}),this['toolbarView']['on']('insertSuggestion',()=>{this['fire']('insertSuggestion',{'index':_0x5bbc05['index']});}),this['toolbarView']['on']('applySuggestion',()=>{this['fire']('applySuggestion',{'index':_0x5bbc05['index']});}),this['toolbarView']['bind']('isEnabled','isTrackChangesOn')['to'](this),this['stateView']=new _0x835a97(_0x26d2f8),this['titleLabelView']=new _0x2bea3b(_0x26d2f8,_0x18bfc9),this['children']=this['createCollection'](),this['children']['addMany']([this['titleLabelView'],this['toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-suggestion__body__content-part__title']},'children':this['children']}),this['on']('change:state',(_0x14705b,_0x478272,_0x48f79c,_0x480175)=>{'pending'===_0x480175?this['children']['remove'](this['toolbarView']):this['children']['remove'](this['stateView']),'pending'===_0x48f79c?this['children']['add'](this['toolbarView']):(this['stateView']['setState'](_0x48f79c),this['children']['add'](this['stateView']));});}},_0x2bea3b=class extends _0x14e616['View']{constructor(_0x142274,_0x4c7946){super(_0x142274),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__body__content-part__title__label']},'children':[_0x2723f0(_0x142274,'AI_SUGGESTION_CONTENT_PART_TITLE',_0x4c7946['toString']())]});}},_0x52e3d6=class extends _0x14e616['View']{['htmlStreamer'];constructor(_0x421527){super(_0x421527),this['htmlStreamer']=new _0x126d7f(),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai-suggestion-streamable-content']}});}async['update']({part:_0x54619c,renderingStrategy:_0x387c7b,abortSignal:_0x5aff39}){const _0x463ca8=_0x425e77(_0x54619c['content'],!0x0);for(const _0x236a4f of _0x24dcc6(_0x463ca8))_0xa04271(_0x236a4f);'streaming'===_0x387c7b?await this['htmlStreamer']['stream']({'document':_0x463ca8,'targetElement':this['element'],'abortSignal':_0x5aff39}):_0x250ee6(this['element'],'<'+this['element']['tagName']+'>'+_0x2149a1(_0x463ca8)+'</'+this['element']['tagName']+'>',{'childrenOnly':!0x0});}['clear'](){this['htmlStreamer']['reset'](),this['element']['innerHTML']='',this['element']['scrollTop']=0x0;}['cleanUpStreamingArtifacts'](){_0x431911(this['htmlStreamer'],this['element']);}},_0x49c90d=class extends _0x14e616['View']{['_children'];['_headerView'];['_streamableContentView'];constructor(_0xb28149,{part:_0x5c5d39,uiIndex:_0x1a01d7,areActionsDisabled:_0x15c4d1,availableActions:_0x910439}){super(_0xb28149);const _0x15c161=this['bindTemplate'];this['set']('state','pending'),this['set']('isDone',!0x1),this['set']('isVisible',!0x1),this['set']('isActive',!0x1),this['set']('isEnabled',!0x1),this['set']('isTrackChangesOn',!0x1);const _0x1ba789=()=>{this['isEnabled']=this['isDone']&&'pending'==this['state']&&!_0x15c4d1;};this['on']('change:state',_0x1ba789),this['on']('change:isDone',_0x1ba789),_0x1ba789(),this['_children']=this['createCollection'](),this['_headerView']=new _0x47e645(_0xb28149,{'part':_0x5c5d39,'uiIndex':_0x1a01d7,'availableActions':_0x910439,'areActionsDisabled':_0x15c4d1}),this['_headerView']['bind']('isEnabled','state','isTrackChangesOn')['to'](this),this['_headerView']['delegate'](..._0x51b445)['to'](this),this['_streamableContentView']=new _0x52e3d6(_0xb28149),this['_children']['addMany']([this['_headerView'],this['_streamableContentView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-part',_0x15c161['to']('state',_0xe9caa3=>'ck-ai-suggestion__body__content-part_'+_0xe9caa3),_0x15c161['if']('isEnabled','ck-ai-suggestion__body__content-part_enabled'),_0x15c161['if']('isActive','ck-ai-suggestion__body__content-part_active'),_0x15c161['if']('isVisible','ck-hidden',_0xa8f49e=>!_0xa8f49e)]},'children':this['_children'],'on':{'mouseenter':_0x15c161['to'](()=>{this['isEnabled']&&this['fire']('mouseOverSuggestion',{'index':_0x5c5d39['index']});}),'mouseleave':_0x15c161['to'](()=>{this['isEnabled']&&this['fire']('mouseLeaveSuggestion',{'index':_0x5c5d39['index']});}),'click':_0x15c161['to'](_0x34a12f=>{const _0x26fcaf=_0x34a12f['target'];this['isEnabled']&&!this['_headerView']['toolbarView']['element']['contains'](_0x26fcaf)&&this['fire']('showChangeInText',{'index':_0x5c5d39['index']});})}});}async['updateContent']({part:_0x3f64e3,showUnchangedParts:_0x6fa04d=!0x1,abortSignal:_0x5a1ab9}){this['partDefinition']=_0x3f64e3,this['isVisible']=this['partDefinition']['hasChanges']||_0x6fa04d,this['isVisible']&&await this['_streamableContentView']['update']({'part':_0x3f64e3,'renderingStrategy':'static','abortSignal':_0x5a1ab9});}['markAsDone'](){this['isDone']=!0x0;}},_0x4de9ea=class extends _0x14e616['View']{constructor(_0x340d82,_0x44b830){super(_0x340d82),this['set']('isVisible',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-skeleton',this['bindTemplate']['if']('isVisible','ck-hidden',_0x1ca986=>!_0x1ca986)]},'children':this['_createSkeletonItems'](_0x44b830)});}['_createSkeletonItems'](_0x238a78){const _0xeedf4b=['ck','ck-ai-skeleton__item'];return _0x238a78['map'](_0x27f10f=>{let _0x10cfef='';switch(_0x27f10f['attributes']['align']){case'right':_0x10cfef='margin-left:\x20auto;\x20margin-right:\x200;\x20text-align:\x20right;';break;case'center':_0x10cfef='margin-left:\x20auto;\x20margin-right:\x20auto;\x20text-align:\x20center;';break;case'left':_0x10cfef='margin-left:\x200;\x20margin-right:\x20auto;\x20text-align:\x20left;';}return{'tag':_0x27f10f['tag'],'attributes':{'class':[..._0xeedf4b,_0x27f10f['attributes']['class']?_0x27f10f['attributes']['class']:''],'style':'width:\x20'+_0x27f10f['attributes']['width']+';\x20height:\x20'+_0x27f10f['attributes']['height']+';'+_0x10cfef}};});}};const _0x54f06e={'aiSuggestionBody':[{'tag':'div','attributes':{'width':'50%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'85%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'75%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}}],'aiFeed':[{'tag':'div','attributes':{'width':'100%','height':'72px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}},{'tag':'div','attributes':{'width':'150px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'140px','align':'right'}},{'tag':'div','attributes':{'width':'250px','height':'40px','align':'right'}},{'tag':'div','attributes':{'width':'100%','height':'88px','align':'right'}}],'aiHistory':_0x29f09e(0x5,'100%','44px','right'),'aiChatResources':_0x29f09e(0x8,'100%','24px','right'),'aiReviewChecks':[{'tag':'div','attributes':{'width':'128px','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'100%','height':'24px','align':'left'}},{'tag':'div','attributes':{'width':'128px','height':'24px','align':'left'}}]};function _0x29f09e(_0x439ffa,_0x324602,_0xd6491e,_0x5037d6){return new Array(_0x439ffa)['fill'](null)['map'](()=>({'tag':'div','attributes':{'width':_0x324602,'height':_0xd6491e,'align':_0x5037d6}}));}const _0x7bfb78=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['EmitterMixin'])();var _0x168e72=class extends _0x7bfb78{['queue']=[];['isProcessing']=!0x1;['_abortController'];async['enqueue'](_0x2be13d){const _0x24fbac=this['createTask'](_0x2be13d);return this['queue']['push'](_0x24fbac),this['_processQueue'](),_0x24fbac['completePromise'];}['abort'](){this['isProcessing']&&(this['_abortController']['abort'](),this['_abortController']=void 0x0,this['queue']=[],this['fire']('_queueEmpty'),this['isProcessing']=!0x1);}get['queueEmptyPromise'](){return this['queue']['length']||this['isProcessing']?new Promise(_0x11c367=>{this['once']('_queueEmpty',()=>{_0x11c367();});}):Promise['resolve']();}async['_processQueue'](){if(!this['isProcessing']){this['_abortController']=new AbortController(),this['isProcessing']=!0x0;try{for(;this['queue']['length']&&this['isProcessing'];){const _0x2e7950=this['queue']['shift']();try{await _0x2e7950['callback'](this['_abortController']['signal']),_0x2e7950['resolve']();}catch(_0x316de8){_0x2e7950['reject'](_0x316de8);}}}finally{this['isProcessing']=!0x1,this['_abortController']=void 0x0;}this['fire']('_queueEmpty');}}['createTask'](_0x5cdab4){let _0x593172,_0x5ae21b;const _0x14b076=new Promise((_0xf513a,_0x469f06)=>{_0x593172=_0xf513a,_0x5ae21b=_0x469f06;});return{'callback':_0x5cdab4,'resolve':_0x593172,'reject':_0x5ae21b,'completePromise':_0x14b076};}},_0x3f087e=class extends tu{constructor(_0x2c2a83){super(_0x2c2a83),this['extendTemplate']({'attributes':{'class':['ck-ai-notification','warning'===_0x2c2a83['level']?'ck-ai-notification_warning':'ck-ai-notification_error']}});}['render'](){super['render'](),this['setContent'](this['options']['initialContent']),this['markAsDone']();}['setContent'](_0x229db4){this['element']['innerHTML']=_0x229db4;}};const _0x30d553=['applySuggestion','insertSuggestion'];var _0x25bf33=class extends _0x14e616['View']{['_applyChangesButton'];['_insertSuggestionsButton'];['children'];constructor(_0x316aff,_0x1c3323=[..._0x30d553],_0x1e8084){super(_0x316aff);const _0x859d02=this['bindTemplate'],_0xba17e2=Boolean(_0x1e8084);if(this['set']('isEnabled',!_0xba17e2),this['set']('isVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),_0xba17e2){const _0x336b93=new _0x14e616['ButtonView'](_0x316aff);_0x336b93['set']({'label':_0x2723f0(_0x316aff,'AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE'),'tooltip':!0x0,'withText':!0x1,'icon':_0x14e616['IconInfo']}),_0x336b93['extendTemplate']({'attributes':{'data-cke-tooltip-class':'ck-ai-suggestion-content-part-disabled-actions-tooltip'}});const _0x31b480=new _0x14e616['View'](_0x316aff);_0x31b480['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat__feed__suggestion__actions__info'},'children':[{'tag':'p','children':[_0x2723f0(_0x316aff,'AI_SUGGESTION_DISABLED_FEED_MESSAGE'),_0x336b93]}]}),this['children']['add'](_0x31b480);}else this['_applyChangesButton']=new _0x14e616['ButtonView'](_0x316aff),this['_applyChangesButton']['set']({'label':_0x2723f0(_0x316aff,'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),'withText':!0x0,'type':'button','isVisible':_0x1c3323['includes']('applySuggestion'),'class':_0x26434c}),this['_insertSuggestionsButton']=new _0x14e616['ButtonView'](_0x316aff),this['_insertSuggestionsButton']['set']({'label':_0x2723f0(_0x316aff,'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL'),'withText':!0x0,'type':'button','isVisible':_0x1c3323['includes']('insertSuggestion'),'class':_0x55009e}),this['_insertSuggestionsButton']['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_applyChangesButton']['on']('execute',()=>{this['fire']('applySuggestion');}),[this['_applyChangesButton'],this['_insertSuggestionsButton']]['forEach'](_0x489165=>{_0x489165['bind']('isEnabled')['to'](this);}),this['children']['addMany']([this['_applyChangesButton'],this['_insertSuggestionsButton']]);this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__ai-suggestion__actions',_0x859d02['if']('isVisible','ck-hidden',_0x55c359=>!_0x55c359)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_applyChangesButton']&&(this['_applyChangesButton']['isVisible']=!this['isTrackChangesOn']);});}['updateVisibility'](_0x2c5ffc){this['isVisible']=_0x2c5ffc;}['_switchButtonLabelsPlurality'](_0x5b0a56){this['_applyChangesButton']&&this['_insertSuggestionsButton']&&(_0x5b0a56?(this['_applyChangesButton']['label']=_0x2723f0(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'),this['_insertSuggestionsButton']['label']=_0x2723f0(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL')):(this['_applyChangesButton']['label']=_0x2723f0(this['locale'],'AI_CHAT_SUGGESTION_ACTION_APPLY'),this['_insertSuggestionsButton']['label']=_0x2723f0(this['locale'],'AI_CHAT_SUGGESTION_ACTION_SUGGEST')));}},_0x32539f=class extends _0x14e616['View']{['children'];['balloonPanelView'];['bodyCollection'];constructor(_0x22b637,_0x3e5b8f){super(_0x22b637),this['bodyCollection']=_0x3e5b8f,this['children']=this['createCollection'](),this['set']('isVisible',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources',this['bindTemplate']['if']('isVisible','ck-hidden',_0x5a7b6a=>!_0x5a7b6a)]},'children':this['children']});const _0x14fa67=new _0x14e616['View'](this['locale']),_0x39685e=new _0x14e616['IconView']();_0x39685e['content']=_0x14e616['IconWeb'],_0x14fa67['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-sources__header']},'children':[_0x39685e,{'tag':'span','children':[{'text':_0x2723f0(this['locale'],'AI_CHAT_SOURCES_HEADER')}]}]}),this['children']['add'](_0x14fa67),this['_setupBalloonPanel'](_0x22b637);}['addSource'](_0xf549ab){this['children']['add'](new _0x241bba(this['locale'],_0xf549ab,this['balloonPanelView']));}['_setupBalloonPanel'](_0x5d0998){this['balloonPanelView']=new _0x14e616['BalloonPanelView'](_0x5d0998),this['balloonPanelView']['extendTemplate']({'attributes':{'class':['ck-ai-web-source__tooltip-balloon']}}),this['bodyCollection']['add'](this['balloonPanelView']);}},_0x241bba=class extends _0x14e616['ButtonView']{['balloonPanelView'];['source'];constructor(_0x158b6b,_0x171571,_0x58d76d){super(_0x158b6b),this['source']=_0x171571,this['balloonPanelView']=_0x58d76d,this['set']({'label':_0x171571['title'],'class':['ck\x20ck-ai-web-source'],'withText':!0x0});const _0x2f766c=this['bindTemplate'];if(this['extendTemplate']({'on':{'click':_0x2f766c['to'](()=>{window['open'](_0x171571['url'],'_blank');}),'mouseenter':_0x2f766c['to'](()=>{this['_showTooltip']();}),'mouseleave':_0x2f766c['to'](()=>{this['_hideTooltip']();})}}),_0x171571['favicon']){const _0x55e9e0=new _0x14e616['View'](_0x158b6b);_0x55e9e0['setTemplate']({'tag':'img','attributes':{'src':_0x171571['favicon']||_0x14e616['IconWeb'],'alt':_0x171571['title'],'class':['ck-ai-web-source__image']}}),this['children']['add'](_0x55e9e0);}else this['set']('icon',_0x14e616['IconWeb']);}['_createTooltipContentView'](_0x20415a,_0x29481c){const _0x280129=new _0x14e616['View'](_0x20415a),_0x255474=[];let _0x1d97d4;_0x29481c?.['favicon']?(_0x1d97d4=new _0x14e616['View'](_0x20415a),_0x1d97d4['setTemplate']({'tag':'img','attributes':{'src':_0x29481c['favicon'],'alt':_0x29481c['title'],'class':['ck-ai-web-source__tooltip-image']}})):(_0x1d97d4=new _0x14e616['IconView'](),_0x1d97d4['content']=_0x14e616['IconWeb'],_0x1d97d4['extendTemplate']({'attributes':{'alt':_0x29481c['title'],'class':['ck-ai-web-source__tooltip-image']}})),_0x255474['push'](_0x1d97d4);const _0x216938=new _0x14e616['View'](_0x20415a);_0x216938['setTemplate']({'tag':'a','attributes':{'class':['ck-ai-web-source__tooltip-url'],'href':_0x29481c['url']},'children':[{'text':new URL(_0x29481c['url'])?.['hostname']}]}),_0x255474['push'](_0x216938);const _0x2eed16=new _0x14e616['View'](_0x20415a);_0x2eed16['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-web-source__tooltip-row']},'children':_0x255474});const _0x16a702=new _0x14e616['View'](_0x20415a);return _0x16a702['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-web-source__tooltip-row','ck-ai-web-source__tooltip-title']},'children':[{'text':_0x29481c['title']['length']>0x190?_0x29481c['title']['substring'](0x0,0x190)+'...':_0x29481c['title']}]}),_0x280129['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-web-source__tooltip']},'children':[_0x2eed16,_0x16a702]}),_0x280129;}['_showTooltip'](){this['_updateTooltipContent'](),this['balloonPanelView']['pin']({'target':this['element'],'positions':[_0x14e616['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x14e616['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x14e616['BalloonPanelView']['defaultPositions']['northArrowSouthEast']],'limiter':document['querySelector']('.ck-ai-chat')}),this['balloonPanelView']['show']();}['_hideTooltip'](){this['balloonPanelView']['hide']();}['_updateTooltipContent'](){this['balloonPanelView']['content']['get'](0x0)?.['destroy'](),this['balloonPanelView']['content']['clear']();const _0x441210=this['_createTooltipContentView'](this['locale'],this['source']);this['balloonPanelView']['content']['add'](_0x441210);}},_0x3dd813=class extends _0x14e616['View']{['_actionsView'];['_sourcesView'];['_children'];['_skeletonView'];['_showSkeletonDebounced']=_0x3a18ae(()=>{this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now']();},0x3e8);['_skeletonShownAt']=null;['_areActionsDisabled'];['_showUnchangedParts'];['_updateContentPartsPromiseQueue'];['_emptyPartsWarningView'];['_availableActions'];['_cachedContentParts']=[];constructor(_0x1ef181,_0x5ea813){super(_0x1ef181);const {areActionsDisabled:_0x506afb,showUnchangedParts:_0x21df53,availableActions:_0x2936be}=_0x5ea813;this['_areActionsDisabled']=_0x506afb,this['_showUnchangedParts']=_0x21df53,this['_availableActions']=_0x2936be,this['set']('hasPendingParts',!0x1),this['set']('isTrackChangesOn',!0x1),this['_children']=this['createCollection'](),this['_skeletonView']=new _0x4de9ea(_0x1ef181,_0x54f06e['aiSuggestionBody']),this['_skeletonView']['isVisible']=!0x0,this['_skeletonShownAt']=Date['now'](),this['_children']['add'](this['_skeletonView']),this['_updateContentPartsPromiseQueue']=new _0x168e72(),this['_emptyPartsWarningView']=new _0x3f087e({'id':'empty-parts-warning','initialContent':_0x2723f0(_0x1ef181,'AI_SUGGESTION_EMPTY_PART_WARNING'),'level':'warning'}),this['_emptyPartsWarningView']['isVisible']=!0x1,this['_actionsView']=new _0x25bf33(_0x1ef181,_0x5ea813['availableActions'],this['_areActionsDisabled']),this['_actionsView']['bind']('isTrackChangesOn')['to'](this),this['_sourcesView']=new _0x32539f(this['locale'],_0x5ea813['bodyCollection']),_0x5ea813['areActionsDisabled']?this['_actionsView']['isEnabled']=!0x1:this['_actionsView']['bind']('isEnabled')['to'](this,'hasPendingParts'),this['_actionsView']['delegate'](..._0x51b445)['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body']},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__body__content-parts']},'children':this['_children']},this['_emptyPartsWarningView'],this['_actionsView'],this['_sourcesView']]});}['destroy'](){this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),super['destroy']();}get['partsCount'](){return this['_contentPartViews']['length'];}get['_contentPartViews'](){return Array['from'](this['_children'])['filter'](_0x5e2e88=>_0x5e2e88 instanceof _0x49c90d);}async['updateContentParts']({parts:_0xf4c9aa,abortSignal:_0x577067,skipLoadingEffects:_0x13675e}){this['_cachedContentParts']['length']?_0xf4c9aa['forEach'](_0x15f7c7=>{const _0x404b0f=this['_cachedContentParts']['findIndex'](_0x32ac2d=>_0x32ac2d['index']==_0x15f7c7['index']);-0x1===_0x404b0f?this['_cachedContentParts']['push'](_0x15f7c7):this['_cachedContentParts'][_0x404b0f]=_0x15f7c7;}):this['_cachedContentParts']=_0xf4c9aa;const _0x4baac6=this['_showUnchangedParts']?_0xf4c9aa:_0xf4c9aa['filter'](_0x16057a=>_0x16057a['hasChanges']);this['_actionsView']['_switchButtonLabelsPlurality'](_0x4baac6['length']>0x1),_0x13675e&&(this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1);for(const _0xc72922 of _0x4baac6)this['_updateContentPartsPromiseQueue']['enqueue'](async _0x5588bc=>{let _0x287829=this['getPartView'](_0xc72922['index']);if(!_0x287829){if(_0x287829=new _0x49c90d(this['locale'],{'part':_0xc72922,'uiIndex':this['_contentPartViews']['length']+0x1,'areActionsDisabled':this['_areActionsDisabled'],'availableActions':this['_availableActions']}),_0x287829['delegate'](..._0x51b445)['to'](this),_0x287829['bind']('isTrackChangesOn')['to'](this),!_0x13675e&&(this['_showSkeletonDebounced']['cancel'](),await this['_awaitMinimumSkeletonDisplayTime'](_0x5588bc),_0x5588bc['aborted']))return;this['_skeletonView']['isVisible']=!0x1,this['_children']['add'](_0x287829,this['_children']['length']-0x1),this['hasPendingParts']=!0x0,_0x13675e||this['_showSkeletonDebounced']();}await _0x287829['updateContent']({'part':_0xc72922,'showUnchangedParts':this['_showUnchangedParts'],'abortSignal':_0x5588bc}),_0x287829['markAsDone']();});return _0x577067?.['addEventListener']('abort',()=>{this['_updateContentPartsPromiseQueue']['abort'](),this['_showSkeletonDebounced']['cancel'](),this['_skeletonView']['isVisible']=!0x1;}),this['_updateContentPartsPromiseQueue']['queueEmptyPromise'];}['updatePartState'](_0x1ae78a,_0x3cac41){const _0x31ff3c=this['getPartView'](_0x1ae78a);_0x31ff3c&&(_0x31ff3c['state']=_0x3cac41),this['hasPendingParts']='pending'==_0x3cac41||this['_contentPartViews']['some'](_0x4c6b22=>'pending'==_0x4c6b22['state']);}['setPartActive'](_0xdb768d,_0x5f16ab){if(!0x1===_0xdb768d){for(const _0x30d49d of this['_contentPartViews'])_0x30d49d['isActive']=!0x1;}else{const _0x207c91=this['getPartView'](_0xdb768d);_0x207c91&&(_0x207c91['isActive']=_0x5f16ab);}}['updateSources'](_0x4ee33f){_0x4ee33f['forEach'](_0x3d6b96=>this['_sourcesView']['addSource'](_0x3d6b96)),this['_sourcesView']['isVisible']=!0x0;}['getPartView'](_0x4a2a6c){return this['_contentPartViews']['find'](_0x13b542=>_0x13b542['partDefinition']['index']==_0x4a2a6c)??null;}['markAsDone'](){if(!this['_showUnchangedParts']){const _0x1c603d=!this['_cachedContentParts']['find'](({hasChanges:_0x383996})=>_0x383996),_0x472d32=!!this['_cachedContentParts']['find'](({hasChanges:_0x35ea47})=>!_0x35ea47);this['_emptyPartsWarningView']['isVisible']=0x0==this['_contentPartViews']['length']||_0x472d32,_0x1c603d?this['_emptyPartsWarningView']['setContent'](_0x2723f0(this['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')):this['_emptyPartsWarningView']['setContent'](_0x2723f0(this['locale'],'AI_SUGGESTION_EMPTY_PART_WARNING'));}this['_contentPartViews']['forEach'](_0x58f900=>_0x58f900['markAsDone']()),this['_skeletonView']['isVisible']=!0x1,this['_showSkeletonDebounced']['cancel'](),this['_actionsView']['updateVisibility'](this['hasNonEmptyParts']);}async['_awaitMinimumSkeletonDisplayTime'](_0x417bea){if(!this['_skeletonView']['isVisible']||null===this['_skeletonShownAt'])return;const _0x24a19a=0x3e8-(Date['now']()-this['_skeletonShownAt']);if(this['_skeletonShownAt']=null,_0x24a19a>0x0){const {promise:_0x3a3212,abortController:_0x36d114}=_0x3e2380(_0x24a19a);_0x417bea?.['addEventListener']('abort',()=>_0x36d114['abort']()),await _0x3a3212['catch'](()=>{});}}get['hasNonEmptyParts'](){return this['_contentPartViews']['filter'](_0xea9ecc=>_0xea9ecc['partDefinition']['hasChanges'])['length']>0x0;}},_0x5421d6=class extends _0x14e616['View']{['bodyView'];['children'];['headerView'];constructor(_0x18d6a4,_0x151717,_0x3490f6){super(_0x18d6a4);const {showDiff:_0x215991,areActionsDisabled:_0x666fe5,showUnchangedParts:_0x3fee37,availableActions:_0x595916}=_0x151717;this['set']('isTrackChangesOn',!0x1),this['set']('areChangesVisible',!0x1),this['children']=this['createCollection'](),this['headerView']=new _0x2f2fba(_0x18d6a4,{'showDiff':_0x215991}),this['headerView']['on']('toggleShowChanges',(_0x377b9f,_0x16f977)=>{this['areChangesVisible']=_0x16f977['isOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':_0x16f977['isOn']});}),this['children']['add'](this['headerView']),this['bodyView']=new _0x3dd813(_0x18d6a4,{'areActionsDisabled':_0x666fe5,'showUnchangedParts':!!_0x3fee37,'availableActions':_0x595916,'bodyCollection':_0x3490f6}),this['bodyView']['delegate'](..._0x51b445)['to'](this),this['bodyView']['bind']('isTrackChangesOn')['to'](this),this['children']['add'](this['bodyView']),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__container','ck-rounded-corners']},'children':this['children']});}async['updateContent'](_0x43a4d1){await this['bodyView']['updateContentParts'](_0x43a4d1);}['updateSources'](_0x2c98c4){this['bodyView']['updateSources'](_0x2c98c4);}['markAsDone'](){this['bodyView']['markAsDone'](),this['headerView']&&(this['headerView']['isShowChangesToggleVisible']=this['bodyView']['hasNonEmptyParts']);}},_0x691668=class extends tu{['containerView'];constructor(_0x32c444,_0x5dd478,_0x3036a5){super(_0x5dd478),this['set']('isTrackChangesOn',!0x1),this['containerView']=new _0x5421d6(_0x32c444,{'showDiff':_0x5dd478['showDiff'],'areActionsDisabled':_0x5dd478['areActionsDisabled'],'availableActions':_0x5dd478['availableActions']},_0x3036a5),this['containerView']['on']('toggleSuggestionDisplayMode',(_0x17742c,_0x2687ed)=>{this['fire']('toggleSuggestionDisplayMode',{'replyId':this['options']['id'],'showDiff':_0x2687ed['showDiff']});}),this['containerView']['bind']('isTrackChangesOn')['to'](this),this['containerView']['on']('like',()=>{this['fire']('like',{'replyId':this['options']['id']});}),this['containerView']['on']('dislike',()=>{this['fire']('dislike',{'replyId':this['options']['id']});}),this['containerView']['on']('showChangeInText',(_0x5b4c78,{index:_0x55c815})=>{this['fire']('showChangeInText',{'replyId':this['options']['id'],'partIndex':_0x55c815});}),this['containerView']['on']('applySuggestion',(_0x1b2b31,{index:_0x851a5e}={})=>{this['fire']('applySuggestion',{'replyId':this['options']['id'],'partIndex':_0x851a5e});}),this['containerView']['on']('insertSuggestion',(_0x57ee2a,{index:_0x31d5bf}={})=>{this['fire']('insertSuggestion',{'replyId':this['options']['id'],'partIndex':_0x31d5bf});}),this['containerView']['on']('rejectSuggestion',(_0x47ca78,{index:_0x2897cb})=>{this['fire']('rejectSuggestion',{'replyId':this['options']['id'],'partIndex':_0x2897cb});}),this['containerView']['on']('mouseOverSuggestion',(_0x307370,{index:_0x4ea00c})=>{this['fire']('mouseOverSuggestion',{'replyId':this['options']['id'],'partIndex':_0x4ea00c});}),this['containerView']['on']('mouseLeaveSuggestion',(_0x487774,{index:_0x508efc})=>{this['fire']('mouseLeaveSuggestion',{'replyId':this['options']['id'],'partIndex':_0x508efc});}),this['children']['addMany']([this['containerView']]),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-suggestion']}});}async['updateContent'](_0x5c78cc){await this['containerView']['updateContent'](_0x5c78cc);}['updatePartState'](_0x43eb71,_0x174fd3){this['containerView']['bodyView']['updatePartState'](_0x43eb71,_0x174fd3);}['setPartActive'](_0x2cd499,_0xec74b7){!0x1===_0x2cd499?this['containerView']['bodyView']['setPartActive'](!0x1):this['containerView']['bodyView']['setPartActive'](_0x2cd499,_0xec74b7);}['updateSources'](_0x466770){this['containerView']['updateSources'](_0x466770);}['getPartView'](_0xb01754){return this['containerView']['bodyView']['getPartView'](_0xb01754);}['markAsDone'](){super['markAsDone'](),this['containerView']['markAsDone']();}},_0x59b0e4=class extends tu{['replyContainer'];['_bodyCollection'];constructor(_0x405fd9,_0x47789a,_0x2f0c0b){super(_0x47789a),this['_bodyCollection']=_0x2f0c0b,this['locale']=_0x405fd9,this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__ai-reply']}}),this['replyContainer']=new _0x14e616['View'](),this['replyContainer']['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all-excluded','ck-ai-chat__feed__ai-reply-container','ck-ai-chat-content']}}),this['children']['add'](this['replyContainer']);}async['render'](){super['render'](),this['options']['initialContent']&&(await this['updateContent']({'parsedContent':tl(this['options']['initialContent']),'renderingStrategy':'static'}),this['markAsDone']());}async['updateContent']({parsedContent:_0xc9fb85,renderingStrategy:_0x3fd9b8,abortSignal:_0x3a386c}){'streaming'===_0x3fd9b8?await this['streamIntoElement'](_0xc9fb85,this['replyContainer']['element'],_0x3a386c):this['replyContainer']['element']['innerHTML']=_0x1302b8(_0xc9fb85);}['updateSources'](_0x4ccc8f){const _0x2b19fb=new _0x32539f(this['locale'],this['_bodyCollection']);_0x2b19fb['children']['addMany'](_0x4ccc8f['map'](_0x1d14f6=>new _0x241bba(this['locale'],_0x1d14f6,_0x2b19fb['balloonPanelView']))),_0x2b19fb['isVisible']=!0x0,this['children']['add'](_0x2b19fb);}},_0x31ea16=class extends _0x14e616['SpinnerView']{constructor(_0x5c07a0=void 0x0){super();const _0x2bba4a=_0x5c07a0?'ck-ai-spinner_'+_0x5c07a0:'';this['extendTemplate']({'tag':'span','attributes':{'class':['ck-ai-spinner',_0x2bba4a]}});}};const _0x60905a={'file':_0x14e616['IconFileUpload'],'image':_0x14e616['IconImage'],'document':_0x14e616['IconDocument'],'web-resource':_0x14e616['IconLink'],'text':_0x14e616['IconFileUpload'],'selection':_0x14e616['IconSelection'],'mcp-tool-context':_0x14e616['IconDocument']},_0x2fd0d5='ck-ai-chat-context-chip',_0x5acb87='ck-ai-chat-context-chip_wide',_0x3480d2='ck-ai-chat-context-chip_document',_0x5500fe='ck-ai-chat-context-chip__label',_0x371864='ck-ai-chat-context-chip__type-icon',_0x3ed164='ck-ai-chat-context-controls__chip-tooltip',_0x873fa5='n';var _0x38b753=class extends _0x14e616['ButtonView']{constructor(_0x52d642,_0x365fc0,_0x50062e,_0x2f639b,_0x399766=!0x1){super(_0x52d642),this['_isAnimationOnEnterEnabled']=_0x2f639b,this['_initializeProperties'](_0x365fc0,_0x50062e,_0x399766),this['_setupTemplate']();}['render'](){super['render'](),this['_isAnimationOnEnterEnabled']&&this['element']&&(this['element']['classList']['add']('ck-ai-chat-context-chip_new-chip'),this['_handleAnimationEndOnce'](this['element'],()=>{this['element']&&this['element']['classList']['remove']('ck-ai-chat-context-chip_new-chip');}));}['disableAnimationOnEnter'](){this['_isAnimationOnEnterEnabled']=!0x1,this['element']&&this['element']['classList']['remove']('ck-ai-chat-context-chip_new-chip');}['_initializeProperties'](_0x502699,_0x2e7797,_0x202569){this['set']('label',_0x502699['label']),this['set']('tooltip',!0x0),this['set']('itemType',_0x502699['type']),this['set']('id',_0x502699['uiId']),this['set']('readonly',_0x2e7797),this['set']('isLoading',_0x202569);}['_setupTemplate'](){const _0x4cd1d6=this['_createIconView'](),_0x478e54=this['_createRemoveButton'](),_0x1e72a7=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':this['_createTemplateAttributes'](_0x1e72a7),'children':this['_createTemplateChildren'](_0x4cd1d6,_0x478e54,_0x1e72a7)});}['_createTemplateAttributes'](_0x10a1c7){return{'class':[_0x2fd0d5,_0x10a1c7['if']('itemType',_0x3480d2,_0xc70450=>'document'==_0xc70450),_0x10a1c7['if']('itemType',_0x5acb87,_0x25159e=>'selection'==_0x25159e)],'data-cke-tooltip-text':_0x10a1c7['to']('label',_0x489fe4),'data-cke-tooltip-position':_0x873fa5,'data-cke-tooltip-class':_0x3ed164};}['_createTemplateChildren'](_0x2d08da,_0x5a8bbf,_0x26647e){const _0x219a48=this['_createLabelElement'](_0x26647e),_0x5eb784=this['_createLoaderIcon']();return this['readonly']?[_0x2d08da,_0x219a48]:[_0x2d08da,_0x5eb784,_0x219a48,_0x5a8bbf];}['_createLabelElement'](_0x1a34cb){return{'tag':'span','attributes':{'class':_0x5500fe},'children':[{'text':_0x1a34cb['to']('label')}]};}['_createRemoveButton'](){const _0x1c1e67=new _0x14e616['ButtonView'](this['locale']);return _0x1c1e67['set']({'label':_0x2723f0(this['locale'],'AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT'),'icon':_0x14e616['IconCancel']}),this['_setupRemoveButtonEvent'](_0x1c1e67),_0x1c1e67;}['_setupRemoveButtonEvent'](_0x36860d){_0x36860d['on']('execute',()=>{this['fire']('removeContextItemChip',this['id']);});}['_createIconView'](){const _0xe325b2=this['bindTemplate'],_0x595ff6=new _0x14e616['IconView']();return _0x595ff6['content']=_0x60905a[this['itemType']],_0x595ff6['extendTemplate']({'attributes':{'class':[_0x371864,_0xe325b2['if']('isLoading','ck-hidden',_0x5f26ff=>_0x5f26ff)]}}),_0x595ff6;}['_handleAnimationEndOnce'](_0x2febe2,_0x25060a){if(!_0x2febe2)return;const _0x31f4cc=()=>{_0x25060a(),_0x2febe2['removeEventListener']('animationend',_0x31f4cc),_0x2febe2['removeEventListener']('webkitAnimationEnd',_0x31f4cc);};_0x2febe2['addEventListener']('animationend',_0x31f4cc),_0x2febe2['addEventListener']('webkitAnimationEnd',_0x31f4cc);}['_createLoaderIcon'](){const _0x56a031=new _0x31ea16('small');return _0x56a031['bind']('isVisible')['to'](this,'isLoading',_0x19ca4e=>_0x19ca4e),_0x56a031;}};function _0x489fe4(_0x3c8118){if(!_0x3c8118)return _0x3c8118;if(_0x3c8118['length']<=0x78)return _0x3c8118;const _0xcb5e64=_0x3c8118['slice'](0x0,0x78),_0x4f88cc=_0xcb5e64['lastIndexOf']('\x20');return(_0x4f88cc>0x0?_0xcb5e64['slice'](0x0,_0x4f88cc):_0xcb5e64)+'…';}const _0x265986={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},_0x114b69='300px';var _0x1c0781=class{['_locale'];['_config'];['_visibleChips'];['_overflowChips'];['_showMoreButtonView']=null;['_showMoreBalloonPanelView']=null;['_containerElement']=null;['_bodyCollection'];['_parentView']=null;['_intersectionObserver']=null;['_pendingCalculation']=!0x1;constructor(_0x1b1ed7,_0x28fcc0,_0x10fb89,_0x44d9a4,_0x8b05d8){this['_locale']=_0x1b1ed7,this['_visibleChips']=_0x28fcc0,this['_config']={..._0x265986,..._0x10fb89,'cssClasses':{'controlsButton':'','calculationContainer':'ck-calculation-container',..._0x10fb89['cssClasses']}},this['_overflowChips']=new _0x14e616['Collection'](),this['_bodyCollection']=_0x44d9a4,this['_parentView']=_0x8b05d8||null;}['setContainerElement'](_0x25bea2){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_containerElement']=_0x25bea2,this['_setupVisibilityObserver']();}get['showMoreButtonView'](){return this['_showMoreButtonView'];}get['overflowChips'](){return this['_overflowChips'];}['reorganizeChips'](){requestAnimationFrame(()=>{this['_checkAndHandleOverflow']();});}['showBalloonPanel'](){this['_showMoreButtonView']&&this['_showMoreBalloonPanelView']&&(this['_updateBalloonContent'](),this['_showMoreButtonView']['isOn']=!0x0,this['_showMoreBalloonPanelView']['show'](),this['_showMoreBalloonPanelView']['pin']({'target':this['_showMoreButtonView']['element'],'limiter':document['querySelector']('.ck-ai-chat')}));}['hideBalloonPanel'](){this['_showMoreButtonView']&&this['_showMoreBalloonPanelView']&&(this['_showMoreButtonView']['isOn']=!0x1,this['_showMoreBalloonPanelView']['hide']());}['clear'](){this['_overflowChips']['clear'](),this['hideBalloonPanel'](),this['_updateShowMoreButtonVisibility'](),this['_showMoreButtonView']&&(this['_showMoreButtonView']['label']=''),this['_showMoreBalloonPanelView']&&this['_showMoreBalloonPanelView']['content']['clear']();}['destroy'](){this['_intersectionObserver']&&(this['_intersectionObserver']['disconnect'](),this['_intersectionObserver']=null),this['_showMoreButtonView']&&(this['_showMoreButtonView']['destroy'](),this['_showMoreButtonView']=null),this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['destroy'](),this['_showMoreBalloonPanelView']=null);}['_checkAndHandleOverflow'](){if(!this['_containerElement'])return;if(!this['_isContainerVisible']())return void(this['_pendingCalculation']=!0x0);this['_pendingCalculation']=!0x1;const _0x5aaba1=[...this['_visibleChips'],...this['_overflowChips']],_0x384fda=this['_createCalculationContainer'](),_0x2bbb46=this['_calculateOverflowInContainer'](_0x384fda,_0x5aaba1),_0x4e172d=_0x384fda['_ancestorsToRestore'];_0x4e172d&&this['_restoreAncestorVisibility'](_0x4e172d),_0x384fda['remove'](),this['_applyOverflowResults'](_0x5aaba1,_0x2bbb46);}['_createShowMoreButton'](){this['_showMoreButtonView']=this['_createShowMoreButtonView'](),this['_showMoreBalloonPanelView']=this['_createShowMoreBalloonPanelView'](),this['_showMoreButtonView']['render'](),this['_containerElement']['appendChild'](this['_showMoreButtonView']['element']),this['_showMoreButtonView']['on']('execute',()=>{this['_handleShowMoreButtonClick']();}),(0x0,_0x14e616['clickOutsideHandler'])({'emitter':this['_showMoreBalloonPanelView'],'contextElements':[this['_showMoreBalloonPanelView']['element'],this['_showMoreButtonView']['element']],'callback':()=>this['hideBalloonPanel'](),'activator':()=>this['_showMoreButtonView']['isOn']});}['_createShowMoreButtonView'](){const _0x39dcee=new _0x14e616['ButtonView'](this['_locale']);_0x39dcee['set']({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x16db71=[this['_config']['cssClasses']['showMoreButton']];return this['_config']['cssClasses']['controlsButton']&&_0x16db71['push'](this['_config']['cssClasses']['controlsButton']),_0x39dcee['extendTemplate']({'attributes':{'class':_0x16db71}}),_0x39dcee;}['_createShowMoreBalloonPanelView'](){const _0x32c113=new _0x14e616['BalloonPanelView'](this['_locale']);return _0x32c113['extendTemplate']({'attributes':{'class':this['_config']['cssClasses']['showMoreBalloon']}}),this['_bodyCollection']['add'](_0x32c113),_0x32c113;}['_updateBalloonContent'](){if(this['_showMoreBalloonPanelView']&&(this['_showMoreBalloonPanelView']['content']['clear'](),this['_overflowChips']['length']>0x0)){this['_overflowChips']['forEach'](_0x31d7e7=>{_0x31d7e7['disableAnimationOnEnter']();});const _0x1dc345=new _0x14e616['View'](this['_locale']);_0x1dc345['setTemplate']({'tag':'div','attributes':{'class':this['_config']['cssClasses']['overflowContainer']},'children':this['_overflowChips']}),this['_showMoreBalloonPanelView']['content']['add'](_0x1dc345);}}['_handleShowMoreButtonClick'](){this['_showMoreButtonView']['isOn']?this['hideBalloonPanel']():this['showBalloonPanel']();}['_updateShowMoreButtonVisibility'](){const _0x500439=this['_overflowChips']['length']>0x0;this['_showMoreButtonView']?.['element']&&(this['_showMoreButtonView']['element']['style']['display']=_0x500439?'':'none');}['_repinBalloonPanel'](){this['_showMoreButtonView']?.['isOn']&&this['_showMoreBalloonPanelView']?.['isVisible']&&this['_showMoreButtonView']['element']&&this['_showMoreBalloonPanelView']['pin']({'target':this['_showMoreButtonView']['element'],'limiter':document['querySelector']('.ck-ai-chat')});}['_findTargetContainer'](_0xda17e6){const _0x10c589=this['_containerElement']?.['tagName']['toLowerCase']()||'div',_0x1aceeb=this['_containerElement']?.['classList'];if(_0x1aceeb){const _0x26bea5=_0x1aceeb[0x0]||'',_0x178e23=_0xda17e6['querySelector']('.'+_0x26bea5),_0x1aa683=_0xda17e6['querySelector'](_0x10c589);return _0x178e23||_0x1aa683||_0xda17e6;}return _0xda17e6['querySelector'](_0x10c589)||_0xda17e6;}['_calculateContainerWidth'](){const _0x4491fc=this['_parentView']?.['element']||this['_containerElement'];if(!_0x4491fc)return _0x114b69;const _0x2c82df=window['getComputedStyle'](_0x4491fc)['width'];if('auto'===_0x2c82df||'0px'===_0x2c82df||!_0x2c82df){const _0x2a5c12=_0x4491fc['parentElement'];if(_0x2a5c12){const _0x189120=window['getComputedStyle'](_0x2a5c12);return'auto'!==_0x189120['width']?_0x189120['width']:_0x114b69;}return _0x114b69;}return _0x2c82df;}['_applyCalculationStyles'](_0x18f600,_0x241991){this['_config']['cssClasses']['calculationContainer']&&_0x18f600['classList']['add'](this['_config']['cssClasses']['calculationContainer']),_0x18f600['style']['width']=_0x241991,_0x18f600['style']['position']='absolute',_0x18f600['style']['top']='-9999px',_0x18f600['style']['left']='-9999px',_0x18f600['style']['opacity']='0',_0x18f600['style']['pointerEvents']='none',_0x18f600['style']['zIndex']='-1',_0x18f600['style']['visibility']='visible\x20!important',_0x18f600['style']['display']='block\x20!important',_0x18f600['style']['boxSizing']='border-box';}['_restoreAncestorVisibility'](_0x45d8ef){_0x45d8ef['forEach'](({element:_0x3a33cd,originalDisplay:_0xb9220b,originalVisibility:_0x58e841})=>{_0x3a33cd['style']['display']=_0xb9220b,_0x3a33cd['style']['visibility']=_0x58e841;});}['_makeAncestorsVisible'](_0xb38d8){const _0x187c5b=[];let _0x285e91=_0xb38d8;for(;_0x285e91&&_0x285e91!==document['body'];){const _0x1e23de=window['getComputedStyle'](_0x285e91);'none'!==_0x1e23de['display']&&'hidden'!==_0x1e23de['visibility']||(_0x187c5b['push']({'element':_0x285e91,'originalDisplay':_0x285e91['style']['display'],'originalVisibility':_0x285e91['style']['visibility']}),_0x285e91['style']['display']='block',_0x285e91['style']['visibility']='visible'),_0x285e91=_0x285e91['parentElement'];}return _0x187c5b;}['_createContainerElements'](){let _0x1fc147,_0x12e269;return this['_parentView']?.['element']?(_0x1fc147=this['_parentView']['element']['cloneNode'](!0x0),_0x12e269=this['_findTargetContainer'](_0x1fc147)):(_0x1fc147=document['createElement']('div'),_0x12e269=_0x1fc147),{'calculationContainer':_0x1fc147,'targetContainer':_0x12e269};}['_createCalculationContainer'](){const {calculationContainer:_0x527afc,targetContainer:_0x12a553}=this['_createContainerElements'](),_0x3d48ce=this['_calculateContainerWidth']();this['_applyCalculationStyles'](_0x527afc,_0x3d48ce);const _0x2f0386=(this['_parentView']?.['element']||this['_containerElement'])?.['parentElement'];_0x2f0386?_0x2f0386['appendChild'](_0x527afc):document['body']['appendChild'](_0x527afc),_0x527afc['_targetContainer']=_0x12a553;const _0x37f40a=this['_makeAncestorsVisible'](_0x2f0386||null);return _0x527afc['offsetWidth'],_0x527afc['_ancestorsToRestore']=_0x37f40a,_0x527afc;}['_calculateOverflowInContainer'](_0x5df2da,_0x17dc3e){const _0x445fb0=_0x5df2da['_targetContainer']||_0x5df2da,_0x487b5b=[],{rowCount:_0x5aae15}=this['_renderChipsAndCountRows'](_0x445fb0,_0x17dc3e);if(_0x5aae15<=this['_config']['maxVisibleRows'])return _0x487b5b;const _0x1f11ee=_0x17dc3e['slice']();for(;_0x1f11ee['length']>0x0;){if(this['_testButtonFit'](_0x5df2da,_0x445fb0,_0x1f11ee)){const _0x396c8d=_0x17dc3e['filter'](_0x5aa295=>!_0x1f11ee['includes'](_0x5aa295));_0x487b5b['push'](..._0x396c8d);break;}if(!_0x1f11ee['pop']())break;}return _0x487b5b;}['_renderChipsAndCountRows'](_0x1b8a5e,_0x30832c){_0x1b8a5e['innerHTML']='',_0x30832c['forEach'](_0x30fbb4=>{if(_0x30fbb4['element']){const _0x2dfa02=_0x30fbb4['element']['cloneNode'](!0x0);_0x1b8a5e['appendChild'](_0x2dfa02);}}),_0x1b8a5e['offsetWidth'];const _0x109086=_0x1b8a5e['children'],_0x247660=[];return Array['from'](_0x109086)['forEach'](_0x13f162=>{const _0x59098d=_0x13f162['getBoundingClientRect']()['top'];_0x247660['some'](_0x409235=>Math['abs'](_0x409235-_0x59098d)<this['_config']['rowDetectionTolerance'])||_0x247660['push'](_0x59098d);}),{'rowCount':_0x247660['length']};}['_createMockButton'](){const _0x4c6df1=document['createElement']('button');return _0x4c6df1['className']=this['_config']['cssClasses']['showMoreButton'],this['_config']['cssClasses']['controlsButton']&&_0x4c6df1['classList']['add'](this['_config']['cssClasses']['controlsButton']),_0x4c6df1['textContent']='+\x201',_0x4c6df1;}['_testButtonFit'](_0x13b08b,_0x435008,_0x541bd8){this['_renderChipsAndCountRows'](_0x435008,_0x541bd8);const _0xc17b85=this['_createMockButton']();_0x13b08b['appendChild'](_0xc17b85),_0x13b08b['offsetWidth'];const _0x1d94b6=[..._0x435008['children'],_0xc17b85],_0x2da457=[];_0x1d94b6['forEach'](_0x1dbccd=>{const _0x217189=_0x1dbccd['getBoundingClientRect']()['top'];_0x2da457['some'](_0x76c11=>Math['abs'](_0x76c11-_0x217189)<this['_config']['rowDetectionTolerance'])||_0x2da457['push'](_0x217189);});const _0x3d167d=_0x2da457['length'];return _0xc17b85['remove'](),_0x3d167d<=this['_config']['maxVisibleRows'];}['_distributeChips'](_0xe62dc6,_0x407b7f){this['_visibleChips']['clear'](),this['_overflowChips']['clear'](),_0xe62dc6['forEach'](_0x3d9541=>{_0x407b7f['includes'](_0x3d9541)?this['_overflowChips']['add'](_0x3d9541):this['_visibleChips']['add'](_0x3d9541);});}['_updateOverflowUI'](_0x239407){if(_0x239407>0x0&&!this['_showMoreButtonView']&&this['_createShowMoreButton'](),_0x239407>0x0&&this['_showMoreButtonView']){const _0x335c1d=''+this['_config']['showMoreLabelPrefix']+(_0x239407<0x63?_0x239407:'99');this['_showMoreButtonView']['label']=_0x335c1d;}this['_updateBalloonContent'](),this['_updateShowMoreButtonVisibility'](),this['_repinBalloonPanel']();}['_applyOverflowResults'](_0x511ade,_0x58ed4f){this['_distributeChips'](_0x511ade,_0x58ed4f),this['_updateOverflowUI'](_0x58ed4f['length']);}['_setupVisibilityObserver'](){this['_containerElement']&&'undefined'!=typeof IntersectionObserver&&(this['_intersectionObserver']=new IntersectionObserver(_0x36ca8c=>{_0x36ca8c[0x0]['isIntersecting']&&this['_pendingCalculation']&&requestAnimationFrame(()=>{this['_checkAndHandleOverflow']();});},{'threshold':0.01,'rootMargin':'50px'}),this['_intersectionObserver']['observe'](this['_containerElement']));}['_isContainerVisible'](){if(!this['_containerElement'])return!0x1;if(!this['_containerElement']['isConnected'])return!0x1;const _0x2e612f=this['_containerElement']['getBoundingClientRect']();if(0x0===_0x2e612f['width']||0x0===_0x2e612f['height'])return!0x1;const _0xf1039c=window['innerHeight']||document['documentElement']['clientHeight'],_0x18c31c=window['innerWidth']||document['documentElement']['clientWidth'];return _0x2e612f['bottom']>=-0xc8&&_0x2e612f['top']<=_0xf1039c+0xc8&&_0x2e612f['right']>=-0xc8&&_0x2e612f['left']<=_0x18c31c+0xc8;}};const _0x5bf0b3='ck-ai-chat__feed__context-chips',_0x3db832='ck-ai-chat-context-chips-wrapper',_0x4a60b6='ck-ai-chat-context-chips-wrapper-balloon',_0x118ebf='ck-ai-chat-controls-button',_0xe825c8='ck-ai-chat-controls_context_show-more-button',_0x253b07='ck-ai-chat-context-controls__show-more-balloon-panel';var _0x368107=class extends _0x14e616['View']{['_contextChips']=this['createCollection']();['_overflowManager'];['_bodyCollection'];constructor(_0x12c62b,_0xda4e62,_0x5e5d3b){super(_0x12c62b),this['_bodyCollection']=_0x5e5d3b,this['_createContextChips'](_0xda4e62);const _0x571ad4={'cssClasses':{'showMoreButton':_0xe825c8+'\x20'+_0x2eb508,'showMoreBalloon':_0x253b07,'overflowContainer':_0x4a60b6,'controlsButton':_0x118ebf}};this['_overflowManager']=new _0x1c0781(_0x12c62b,this['_contextChips'],_0x571ad4,this['_bodyCollection'],this),this['setTemplate']({'tag':'div','attributes':{'class':[_0x5bf0b3,'ck','ck-reset_all']},'children':[{'tag':'div','attributes':{'class':_0x3db832},'children':this['_contextChips']}]});}['render'](){super['render']();const _0x3f521b=this['element']['querySelector']('.'+_0x3db832);_0x3f521b&&(this['_overflowManager']['setContainerElement'](_0x3f521b),this['_overflowManager']['reorganizeChips']());}['destroy'](){super['destroy'](),this['_overflowManager']['destroy']();}['_createContextChips'](_0x3eba8d){for(const _0x1cb191 of _0x3eba8d){const _0x253d36=new _0x38b753(this['locale'],_0x1cb191,!0x0,!0x1);this['_contextChips']['add'](_0x253d36);}}},_0x3baed4=class extends tu{['_contextChipsView']=null;['_locale'];['_bodyCollection'];['_messageContentView'];constructor(_0xe58528,_0x330978,_0x38e433){super(_0x330978),this['_locale']=_0xe58528,this['_bodyCollection']=_0x38e433,this['_createContextChipsView'](),this['_createMessageContentView'](),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__user-message']}});}['_createContextChipsView'](){this['options']['contextItems']&&this['options']['contextItems']['length']>0x0&&(this['_contextChipsView']=new _0x368107(this['_locale'],this['options']['contextItems']['filter'](_0x1282e2=>!_0x1282e2['hidden']),this['_bodyCollection']),this['_contextChipsView']['extendTemplate']({'attributes':{'class':'ck-ai-chat__feed__context-chips'}}),this['children']['add'](this['_contextChipsView']));}['_createMessageContentView'](){this['_messageContentView']=new _0x14e616['View'](this['_locale']),this['_messageContentView']['setTemplate']({'tag':'div','attributes':{'class':['ck-reset_all-excluded','ck-ai-chat__feed__message-content','ck-ai-chat-content']}}),this['children']['add'](this['_messageContentView']);}['render'](){super['render'](),this['_messageContentView']['element']['innerHTML']=this['options']['initialContent'],this['markAsDone']();}},_0x4f04d0=class extends tu{['capabilities'];constructor(_0x23b657,_0x323b0f){super(_0x323b0f);const {isWebSearchEnabled:_0x3fa5e6,isReasoningEnabled:_0x1426a3}=_0x323b0f['capabilities'],_0x3a665a=[];let _0x20ee0f='';_0x3fa5e6&&_0x1426a3?(_0x20ee0f=_0x2723f0(_0x23b657,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING'),_0x3a665a['push'](_0x4021e4(_0x14e616['IconWeb'])),_0x3a665a['push'](_0x4021e4(_0x14e616['IconBulb']))):_0x3fa5e6?(_0x20ee0f=_0x2723f0(_0x23b657,'AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'),_0x3a665a['push'](_0x4021e4(_0x14e616['IconWeb']))):_0x1426a3&&(_0x20ee0f=_0x2723f0(_0x23b657,'AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'),_0x3a665a['push'](_0x4021e4(_0x14e616['IconBulb']))),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__interaction-header',_0x20ee0f?'':'ck-hidden']}});const _0x426fe9=new _0x14e616['View']();_0x426fe9['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__interaction-header__capabilities']},'children':[..._0x3a665a,{'tag':'span','attributes':{'class':['ck-ai-chat__feed__interaction-header__capabilities__text']},'children':[_0x20ee0f]}]}),this['children']['add'](_0x426fe9),this['capabilities']=_0x323b0f['capabilities'];}};function _0x4021e4(_0x1494a6){const _0x2d7af7=new _0x14e616['IconView']();return _0x2d7af7['content']=_0x1494a6,_0x2d7af7;}const _0x400c68=['wheel','touchstart','pointerdown','keydown'],_0x4613aa=['ArrowUp','ArrowDown','PageUp','PageDown','Home','End','\x20'];var _0x4908bd=class{['element'];['animationFrameId'];['isRunning'];['abortController'];['isUserPaused'];['scrollBehavior'];constructor(_0x3f6ede){this['element']=_0x3f6ede,this['animationFrameId']=null,this['isRunning']=!0x1,this['abortController']=new AbortController(),this['isUserPaused']=!0x1,this['scrollBehavior']='smooth';for(const _0x675c6d of _0x400c68){const _0x3e6f61='keydown'!==_0x675c6d;this['element']['addEventListener'](_0x675c6d,this['_onUserEvent']['bind'](this),{'passive':_0x3e6f61,'signal':this['abortController']['signal']});}}['start']({smooth:_0x5d372b=!0x0}={}){this['isRunning']||(this['isRunning']=!0x0,this['isUserPaused']=!0x1,this['scrollBehavior']=_0x5d372b?'smooth':'auto',this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}['stop'](){requestAnimationFrame(()=>{this['_stop']();});}['destroy'](){this['_stop'](),this['abortController']['abort']();}['_stop'](){null!==this['animationFrameId']&&(cancelAnimationFrame(this['animationFrameId']),this['animationFrameId']=null),this['isRunning']&&(this['isRunning']=!0x1),this['isUserPaused']=!0x1;}['_onUserEvent'](_0x1104a0){if(this['isRunning']){if('keydown'===_0x1104a0['type']){const _0x12ec24=_0x1104a0['key'];if(!_0x4613aa['includes'](_0x12ec24))return;}_0x1104a0 instanceof WheelEvent?_0x1104a0['deltaY']<0x0?this['isUserPaused']=!0x0:this['isUserPaused']=!this['_isAtBottom']():this['isUserPaused']=!0x0;}}['_isAtBottom'](){const {scrollTop:_0x4d2df1,scrollHeight:_0x2fece4,clientHeight:_0xd57918}=this['element'];return _0x2fece4-_0x4d2df1-_0xd57918<=0x5;}['_rafUpdate'](){this['isRunning']&&(this['isUserPaused']||this['element']['scrollTo']({'top':this['element']['scrollHeight'],'behavior':this['scrollBehavior']}),this['animationFrameId']=requestAnimationFrame(this['_rafUpdate']['bind'](this)));}},_0xf9f048=class extends tu{constructor(_0x1bfa17){super(_0x1bfa17),this['extendTemplate']({'attributes':{'class':['ck-ai-chat__feed__custom-element']}});}async['render'](){super['render'](),'string'==typeof this['options']['content']?this['element']['innerHTML']=this['options']['content']:this['element']['appendChild'](this['options']['content']);}},_0x57c5b8=class extends _0x14e616['View']{['children'];['scrollManager'];['_bodyCollection'];constructor(_0x123bc3,_0xb2bfe0){super(_0x123bc3),this['_bodyCollection']=_0xb2bfe0,this['set']('loadingMessage',''),this['set']('isLoadingSkeletonVisible',!0x1),this['set']('isTrackChangesOn',!0x1),this['children']=this['createCollection'](),this['children']['delegate'](..._0x207821)['to'](this),this['_setupTemplate']();}['render'](){super['render'](),this['scrollManager']=new _0x4908bd(this['element']);}['destroy'](){super['destroy'](),this['scrollManager']['destroy']();}['clear'](){this['children']['clear']();}['addItem'](_0x32e7bf,_0x335053){let _0x600e26;return'ai-reply'===_0x32e7bf?_0x600e26=new _0x59b0e4(this['locale'],_0x335053,this['_bodyCollection']):'ai-suggestion-reply'===_0x32e7bf?(_0x600e26=new _0x691668(this['locale'],_0x335053,this['_bodyCollection']),_0x600e26['bind']('isTrackChangesOn')['to'](this)):_0x600e26='user-message'===_0x32e7bf?new _0x3baed4(this['locale'],_0x335053,this['_bodyCollection']):'interaction-header'===_0x32e7bf?new _0x4f04d0(this['locale'],_0x335053):'custom-element'===_0x32e7bf?new _0xf9f048(_0x335053):new _0x3f087e(_0x335053),this['children']['add'](_0x600e26),_0x600e26;}async['updateReplyItem']({id:_0x453569,parsedContent:_0x3c4058,renderingStrategy:_0x2041be,abortSignal:_0x4ef065}){const _0x3b8912=this['getItemById'](_0x453569);if(!(_0x3b8912 instanceof _0x59b0e4))throw new _0x14e616['CKEditorError']('ai-chat-feed-view-item-not-a-reply-item',null,{'itemView':_0x3b8912,'id':_0x453569,'parsedContent':_0x3c4058});await _0x3b8912['updateContent']({'parsedContent':_0x3c4058,'renderingStrategy':_0x2041be,'abortSignal':_0x4ef065});}async['updateWebSources'](_0x4fa746,_0x54622a){const _0x1aaff8=this['getItemById'](_0x4fa746);if(_0x1aaff8 instanceof _0x691668)_0x1aaff8['updateSources'](_0x54622a);else{if(!(_0x1aaff8 instanceof _0x59b0e4))throw new _0x14e616['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-or-reply-item',null,{'itemView':_0x1aaff8,'id':_0x4fa746,'sources':_0x54622a});_0x1aaff8['updateSources'](_0x54622a);}}async['updateSuggestionItem']({id:_0x328fd3,parts:_0x17fb51,abortSignal:_0x153621,skipLoadingEffects:_0x48bab2}){const _0x44dfba=this['getItemById'](_0x328fd3);if(!(_0x44dfba instanceof _0x691668))throw new _0x14e616['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',null,{'itemView':_0x44dfba,'id':_0x328fd3,'parts':_0x17fb51});await _0x44dfba['updateContent']({'parts':_0x17fb51,'abortSignal':_0x153621,'skipLoadingEffects':_0x48bab2});}['updateSuggestionPartState']({id:_0x1eddb5,index:_0x213504,state:_0x3d908b}){const _0x14c55a=this['getItemById'](_0x1eddb5);if(!(_0x14c55a instanceof _0x691668))throw new _0x14e616['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x1eddb5});_0x14c55a['updatePartState'](_0x213504,_0x3d908b);}['setSuggestionPartActive']({id:_0x3c01fe,index:_0x195328,isActive:_0x259e97}){const _0x1a3c3f=this['getItemById'](_0x3c01fe);if(!(_0x1a3c3f instanceof _0x691668))throw new _0x14e616['CKEditorError']('ai-chat-feed-view-item-not-a-suggestion-item',this,{'id':_0x3c01fe});this['children']['filter'](_0x187758=>_0x187758 instanceof _0x691668)['forEach'](_0x2026a3=>{_0x2026a3['setPartActive'](!0x1);}),_0x1a3c3f['setPartActive'](_0x195328,_0x259e97);}['markItemAsDone'](_0x26fefb){this['getItemById'](_0x26fefb)['markAsDone']();}['getItemIds'](){return this['children']['map'](_0x299f5b=>_0x299f5b['options']['id']);}['removeItem'](_0x2cc185){this['children']['remove'](this['getItemById'](_0x2cc185));}['hasItem'](_0x285ceb){return!!this['children']['find'](_0xa3aa38=>_0xa3aa38['options']['id']['includes'](_0x285ceb));}['scrollToSuggestion'](_0x4d6417,_0x111c43){const _0x19fae8=this['getItemById'](_0x4d6417);if(!(_0x19fae8 instanceof _0x691668))return void(0x0,_0x14e616['logWarning'])('ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item',{'replyId':_0x4d6417,'partIndex':_0x111c43});const _0x574561=_0x19fae8['getPartView'](_0x111c43);_0x574561?(0x0,_0x14e616['scrollAncestorsToShowTarget'])(_0x574561['element'],0x14,this['element']['parentElement'],!0x0,!0x0):(0x0,_0x14e616['logWarning'])('ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found',{'replyId':_0x4d6417,'partIndex':_0x111c43});}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed']},'children':this['_createTemplateChildren']()});}['_createTemplateChildren'](){const _0x520891=this['_createSkeletonLoader']();return[this['_createFeedItems'](),_0x520891,this['_createFeedLoader']()];}['_createSkeletonLoader'](){const _0x411f14=new _0x4de9ea(this['locale'],_0x54f06e['aiFeed']);return _0x411f14['bind']('isVisible')['to'](this,'isLoadingSkeletonVisible'),_0x411f14;}['_createFeedItems'](){const _0x219f47=new _0x14e616['View'](this['locale']);return _0x219f47['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__feed__items',this['bindTemplate']['if']('isLoadingSkeletonVisible','ck-hidden')]},'children':this['children']}),_0x219f47;}['_createFeedLoader'](){const _0x15aaa7=new _0x14e616['View'](this['locale']);return _0x15aaa7['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat__loader',this['bindTemplate']['if']('loadingMessage','ck-hidden',_0x59203c=>!_0x59203c)]},'children':this['_createLoaderChildren']()}),_0x15aaa7;}['_createLoaderChildren'](){const _0xbdae5a=new _0x31ea16();return _0xbdae5a['isVisible']=!0x0,[_0xbdae5a,{'tag':'span','attributes':{'class':['ck','ck-ai-chat__loader-text']},'children':[{'text':this['bindTemplate']['to']('loadingMessage')}]}];}['getItemById'](_0x2c0dd1){const _0xbd5031=this['children']['find'](_0x3edaad=>_0x3edaad['options']['id']['includes'](_0x2c0dd1));if(!_0xbd5031)throw new _0x14e616['CKEditorError']('ai-chat-feed-view-item-not-found',this,{'id':_0x2c0dd1});return _0xbd5031;}['setLoadingMessage'](_0x457e4c){this['set']('loadingMessage',_0x457e4c);}['toggleLoadingSkeleton'](_0x280bb7){this['set']('isLoadingSkeletonVisible',_0x280bb7);}['startAutoScroll'](_0x5acbc9={}){this['scrollManager']['start'](_0x5acbc9);}['stopAutoScroll'](){this['scrollManager']['stop']();}},td=class extends _0x14e616['ListView']{['filter'](){let _0x21cdff=0x0;for(const _0x423982 of this['items'])_0x21cdff+=_0x423982['items']['length'];return{'resultsCount':_0x21cdff,'totalItemsCount':_0x21cdff};}};function _0x5ce0b7(_0x51bd8a){const _0x1ea1f8=[];let _0xc67a97=!0x1;for(const _0x5ef1f4 of Array['from'](_0x51bd8a['items'])){if('file'!==_0x5ef1f4['kind'])continue;if(_0x5ef1f4['webkitGetAsEntry']()?.['isDirectory']){_0xc67a97=!0x0;continue;}const _0x2e8b1b=_0x5ef1f4['getAsFile']();_0x2e8b1b&&_0x1ea1f8['push'](_0x2e8b1b);}return{'files':_0x1ea1f8,'hasDirectory':_0xc67a97};}const _0x31c60e='ck-ai-chat__prompt-input_highlighted';var _0x339f35=class AIChatPromptInputView extends _0x14e616['AutocompleteView']{['submitButtonView'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;['_addContextButtonView'];['_queryViewResizeObserver'];constructor(_0x5119cd,_0x1da81f){super(_0x5119cd,{'queryView':{'label':'','creator':_0x14e616['createLabeledTextarea'],'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new td(_0x5119cd),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this['set']('isEmpty',!0x0),this['set']('isUploadInProgress',!0x1),this['_addContextButtonView']=_0x1da81f,this['_queryViewResizeObserver']=null,this['queryView']['fieldView']['minRows']=AIChatPromptInputView['MIN_ROWS'],this['queryView']['fieldView']['maxRows']=AIChatPromptInputView['MAX_ROWS'],this['queryView']['fieldWrapperChildren']['add'](this['_addContextButtonView']),this['_setUpAddContextButtonPositioning'](),this['extendTemplate']({'attributes':{'class':['ck','ck-ai-chat__prompt-input']}}),this['submitButtonView']=this['_createSubmitButton'](),this['submitButtonView']['bind']('isEnabled')['to'](this,'isEmpty',this,'isUploadInProgress',(_0x1dd98e,_0x561a80)=>!_0x1dd98e&&!_0x561a80),this['focusableChildren']['add'](this['submitButtonView']);}['render'](){super['render'](),this['queryView']['fieldWrapperChildren']['add'](this['submitButtonView']),this['keystrokes']['set']('enter',(_0x3f065c,_0x39d59b)=>{this['isUploadInProgress']||this['isEmpty']||_0x3f065c['target']==this['queryView']['fieldView']['element']&&(this['submit'](),_0x39d59b());}),this['queryView']['fieldView']['on']('update',()=>{this['isEmpty']=''===this['queryView']['fieldView']['element']['value']?.['trim']();}),this['queryView']['fieldView']['element']['addEventListener']('paste',_0x2956ea=>this['_handlePaste'](_0x2956ea)),this['element']['addEventListener']('drop',_0x193f0c=>this['_handleDrop'](_0x193f0c));}['_handlePaste'](_0x83c6df){const _0x349c83=_0x83c6df['clipboardData'];if(!_0x349c83)return;const {files:_0x7d691b,hasDirectory:_0x1a07cb}=_0x5ce0b7(_0x349c83),_0x46ddaf={'files':_0x7d691b,'plainText':_0x349c83['getData']('text/plain'),'hasDirectory':_0x1a07cb,'forceTextAttachment':!0x1,'preventDefault':()=>_0x83c6df['preventDefault']()};this['fire']('promptInputPaste',_0x46ddaf);}['_handleDrop'](_0x35de53){const _0x446df3=_0x35de53['dataTransfer'];if(!_0x446df3)return;const _0xf6818b={'files':[],'plainText':_0x446df3['getData']('text/uri-list')||_0x446df3['getData']('text/plain'),'hasDirectory':!0x1,'forceTextAttachment':!0x1,'preventDefault':()=>_0x35de53['preventDefault']()};this['fire']('promptInputPaste',_0xf6818b);}['destroy'](){super['destroy'](),this['_queryViewResizeObserver']&&this['_queryViewResizeObserver']['destroy']();}['submit'](){const _0x586d34=this['queryView']['fieldView']['element']['value']?.['trim']();if(!_0x586d34)return this['queryView']['errorText']=_0x2723f0(this['locale'],'AI_CHAT_PROMPT_EMPTY_ERROR'),void(this['queryView']['fieldView']['hasError']=!0x0);this['queryView']['fieldView']['hasError']=!0x1;const _0xad94b4=Zt(_0x586d34);this['fire']('sendUserMessage',_0xad94b4),this['queryView']['fieldView']['reset']();}['setPlaceholderText'](_0x35303f){this['queryView']['fieldView']['set']('placeholder',_0x35303f);}['focus'](_0x1c4d26=!0x1){super['focus'](),_0x1c4d26&&(this['element']['classList']['contains'](_0x31c60e)||(this['element']['classList']['add'](_0x31c60e),setTimeout(()=>{this['element']['classList']['remove'](_0x31c60e);},0x320)));}['_createSubmitButton'](){const _0x22f777=new _0x14e616['ButtonView'](this['locale']);return _0x22f777['set']({'icon':_0x14e616['IconSubmit'],'label':_0x2723f0(this['locale'],'AI_CHAT_LABEL_SUBMIT'),'isVisible':!0x0,'tooltip':!0x0,'class':'ck-ai-chat__prompt-submit-button\x20'+_0x26434c,'isEnabled':!0x1}),_0x22f777['on']('execute',()=>{this['submit']();}),_0x22f777;}['setIsUploadInProgress'](_0x5931c4){this['isUploadInProgress']=_0x5931c4;}['_setUpAddContextButtonPositioning'](){const _0x20a349=this['locale'],_0x5d01c8=()=>{_0x14e616['global']['window']['requestAnimationFrame'](()=>{if((0x0,_0x14e616['isVisible'])(this['element'])){const _0x1269d2=new _0x14e616['Rect'](this['queryView']['fieldView']['element']),_0x3287d2=new _0x14e616['Rect'](this['_addContextButtonView']['element']),_0x2b01c8=_0x1269d2['width'],_0x228069='rtl'===_0x20a349['uiLanguageDirection']?'right':'left';_0x1269d2['excludeScrollbarsAndBorders']();const _0x18ba1a=_0x2b01c8-_0x1269d2['width']+0x1;this['_addContextButtonView']['element']['style'][_0x228069]='calc('+(_0x2b01c8-_0x3287d2['width']-_0x18ba1a)+'px\x20-\x20var(--ck-spacing-tiny))';}});};this['queryView']['fieldView']['on']('update',_0x5d01c8),this['on']('render',()=>{_0x5d01c8(),this['_queryViewResizeObserver']=new _0x14e616['ResizeObserver'](this['queryView']['fieldView']['element'],()=>{_0x5d01c8();});});}},_0x45e353=class extends _0x14e616['View']{constructor(_0x4435e0){super(_0x4435e0);const _0x54983e=new _0x14e616['IconView']();_0x54983e['content']=_0x14e616['IconFileUpload'],this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-controls__drop-overlay']},'children':[_0x54983e,{'tag':'span','attributes':{'class':['ck-ai-chat-controls__drop-overlay__label']},'children':[{'text':_0x2723f0(_0x4435e0,'AI_CHAT_DROP_ZONE_HINT')}]}]});}['attach'](_0x367f93){let _0xe9aff3=0x0;_0x367f93['addEventListener']('dragenter',_0x3c2d2c=>{_0x3c2d2c['dataTransfer']&&(_0xe9aff3++,0x1===_0xe9aff3&&this['fire']('dragEnter'),_0x367f93['classList']['add']('ck-ai-chat-controls_drag-over'));}),_0x367f93['addEventListener']('dragover',_0x4773a6=>{_0x4773a6['dataTransfer']&&_0x4773a6['preventDefault']();}),_0x367f93['addEventListener']('dragleave',()=>{--_0xe9aff3<=0x0&&(_0xe9aff3=0x0,_0x367f93['classList']['remove']('ck-ai-chat-controls_drag-over'));}),_0x367f93['addEventListener']('drop',_0xc7cd38=>{_0xc7cd38['preventDefault'](),_0xe9aff3=0x0,_0x367f93['classList']['remove']('ck-ai-chat-controls_drag-over'),this['_handleDrop'](_0xc7cd38);});}['_handleDrop'](_0x186b6d){const _0x13c84a=_0x186b6d['dataTransfer'];if(!_0x13c84a)return;const {files:_0x46a145,hasDirectory:_0x1ed5d0}=_0x5ce0b7(_0x13c84a),_0x576b20={'files':_0x46a145,'plainText':_0x13c84a['getData']('text/uri-list')||_0x13c84a['getData']('text/plain'),'hasDirectory':_0x1ed5d0,'forceTextAttachment':!0x0,'preventDefault':()=>{}};this['fire']('promptInputPaste',_0x576b20);}};const _0x3ba4b7='ck-ai-chat__prompt-capabilities',_0x676a03='ck-ai-chat-controls-button',_0x32e879='ck-ai-chat-controls-button--commands',_0x176586='ck-ai-chat-controls__model-selection',_0x8656f1='ck-ai-chat-controls__model-selection__item-name',_0x5dc511='ck-ai-chat-controls__model-selection__item-description',_0x268a4c='ck-ai-chat-controls__model-selection__item-capabilities',_0x470401='n';var _0x4d5ed6=class extends _0x14e616['View']{['_webSearchButton'];['_reasoningButton'];['_commandsButton'];['_modelSelectionDropdown'];['_modelSelectionDropdownItems'];['_modelNameView'];constructor(_0x5944f7){super(_0x5944f7),this['set']('webSearchActive',!0x1),this['set']('reasoningActive',!0x1),this['set']('modelDisplayMode','selector'),this['set']('modelSelectorEnabled',!0x0),this['set']('activeModelId',null),this['set']('activeModelName',null),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelNameView']=this['_createModelNameView'](),this['_webSearchButton']=this['_createWebSearchButton'](),this['_reasoningButton']=this['_createReasoningButton'](),this['_commandsButton']=this['_createCommandsButton'](),this['_modelSelectionDropdown']['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3ee1db=>'selector'===_0x3ee1db),this['_modelSelectionDropdown']['buttonView']['bind']('tooltip')['to'](this,'modelSelectorEnabled',_0x5602c7=>_0x5602c7?this['_modelSelectionDropdown']['buttonView']['label']:_0x2723f0(this['locale'],'AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP')),this['_modelSelectionDropdown']['bind']('isEnabled')['to'](this,'modelSelectorEnabled',_0x3fe3ac=>_0x3fe3ac),this['_webSearchButton']['bind']('isOn')['to'](this,'webSearchActive',_0x460f54=>_0x460f54),this['_webSearchButton']['bind']('tooltip')['to'](this,'webSearchActive',_0x235ca2=>_0x2723f0(this['locale'],_0x235ca2?'AI_CHAT_DISABLE_WEB_SEARCH':'AI_CHAT_ENABLE_WEB_SEARCH')),this['_reasoningButton']['bind']('isOn')['to'](this,'reasoningActive',_0xed54f3=>_0xed54f3),this['_reasoningButton']['bind']('tooltip')['to'](this,'reasoningActive',_0x58381e=>_0x2723f0(this['locale'],_0x58381e?'AI_CHAT_DISABLE_REASONING':'AI_CHAT_ENABLE_REASONING')),this['setTemplate']({'tag':'div','attributes':{'class':[_0x3ba4b7]},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],this['_webSearchButton'],this['_reasoningButton'],this['_commandsButton']]}),this['_modelSelectionDropdownItems']=new _0x14e616['Collection'](),(0x0,_0x14e616['addListToDropdown'])(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']);}['setModelList'](_0x569f2e,_0xc2b077){if(_0xc2b077)this['set']('modelDisplayMode','hidden');else{const _0x2e743f=0x1===_0x569f2e['length'];this['set']('modelDisplayMode',_0x2e743f?'name':'selector');}if(this['_modelSelectionDropdownItems']['clear'](),_0x569f2e?.['length'])for(const _0x5cb1fb of _0x569f2e){const _0x59c45b=new _0x14e616['UIModel']({'label':_0x5cb1fb['name'],'withText':!0x0,'role':'menuitemradio','id':_0x5cb1fb['id'],'model':_0x5cb1fb});_0x59c45b['bind']('isOn')['to'](this,'activeModelId',_0x76d5f3=>_0x76d5f3===_0x5cb1fb['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x59c45b,'labelView':new _0xa607a1(this['locale'],_0x5cb1fb)});}}['setWebSearch'](_0x2d8806){this['set']('webSearchActive',_0x2d8806);}['setReasoning'](_0x13a83d){this['set']('reasoningActive',_0x13a83d);}['setModel'](_0x403dfa){if(!_0x403dfa)return;this['activeModelId']=_0x403dfa['id'],this['activeModelName']=_0x403dfa['name']||_0x403dfa['id'],this['_modelSelectionDropdown']['buttonView']['set']('label',_0x403dfa['name']),this['_modelSelectionDropdown']['buttonView']['set']('tooltip',_0x403dfa['name']);const _0x603762=_0x403dfa['capabilities']['webSearch']?.['enabled']??!0x1;this['set']('webSearchActive',!0x1),this['_webSearchButton']['set']('isOn',!0x1),this['_webSearchButton']['set']('isEnabled',_0x603762),this['_webSearchButton']['set']('isVisible',_0x603762);const _0x157315=_0x403dfa['capabilities']['reasoning']?.['enabled']??!0x1;this['set']('reasoningActive',!0x1),this['_reasoningButton']['set']('isOn',!0x1),this['_reasoningButton']['set']('isEnabled',_0x157315),this['_reasoningButton']['set']('isVisible',_0x157315);}['enableModelSelector'](){this['set']('modelSelectorEnabled',!0x0);}['disableModelSelector'](_0x11e910){this['set']('modelSelectorEnabled',!0x1),_0x11e910&&this['set']('modelDisplayMode','hidden');}['_createWebSearchButton'](){const _0x2e190e=new _0x14e616['ButtonView']();return _0x2e190e['set']({'label':_0x2723f0(this['locale'],'AI_CHAT_SEARCH_WEB'),'icon':_0x14e616['IconWeb'],'class':_0x676a03+'\x20'+_0x2eb508,'isToggleable':!0x0,'tooltipPosition':_0x470401}),_0x2e190e['on']('execute',()=>{this['fire']('toggleWebSearch');}),_0x2e190e;}['_createReasoningButton'](){const _0x13d465=new _0x14e616['ButtonView']();return _0x13d465['set']({'label':_0x2723f0(this['locale'],'AI_CHAT_REASONING'),'icon':_0x14e616['IconBulb'],'class':_0x676a03+'\x20'+_0x2eb508,'isToggleable':!0x0,'tooltipPosition':_0x470401}),_0x13d465['on']('execute',()=>{this['fire']('toggleReasoning');}),_0x13d465;}['_createCommandsButton'](){const _0x2110e3=new _0x14e616['ButtonView']();return _0x2110e3['set']({'label':_0x2723f0(this['locale'],'AI_CHAT_COMMANDS'),'icon':_0x14e616['IconAI'],'withText':!0x0,'class':_0x676a03+'\x20'+_0x2eb508,'isToggleable':!0x0,'tooltip':_0x2723f0(this['locale'],'AI_CHAT_COMMANDS'),'tooltipPosition':_0x470401}),_0x2110e3['extendTemplate']({'attributes':{'class':[_0x32e879]}}),_0x2110e3['on']('execute',()=>{console['log']('Commands\x20are\x20not\x20implemented\x20yet.'),alert('Commands\x20are\x20not\x20implemented\x20yet.');}),_0x2110e3;}['_createModelSelectionDropdown'](){const _0x446fd2=(0x0,_0x14e616['createDropdown'])(this['locale']);return _0x446fd2['set']({'panelPosition':'ne','class':[_0x176586]}),_0x446fd2['buttonView']['set']({'label':_0x2723f0(this['locale'],'AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP'),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':_0x470401,'class':_0x2eb508}),this['listenTo'](_0x446fd2,'execute',_0x359dc7=>{this['fire']('selectModel',_0x359dc7['source']['model']);}),_0x446fd2;}['_createModelNameView'](){const _0x36bf3d=new _0x3204b4(this['locale']);return _0x36bf3d['bind']('text')['to'](this,'activeModelName',_0x3c1426=>_0x3c1426??''),_0x36bf3d['bind']('isVisible')['to'](this,'modelDisplayMode',_0x28b199=>'name'===_0x28b199),_0x36bf3d;}},_0xa607a1=class extends _0x14e616['ButtonLabelView']{constructor(_0x2ee709,_0x59cbf6){super();const _0x3bf9c7=this['bindTemplate'],_0x1473ae=this['createCollection']();this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x3bf9c7['to']('style'),'id':_0x3bf9c7['to']('id')},'children':[{'tag':'div','attributes':{'class':[_0x8656f1]},'children':[{'text':_0x3bf9c7['to']('text')}]},{'tag':'div','attributes':{'class':[_0x5dc511]},'children':[{'tag':'span','children':[{'text':_0x59cbf6['description']}]}]},{'tag':'div','attributes':{'class':[_0x268a4c]},'children':_0x1473ae}]}),_0x1473ae['addMany'](this['_getCapabilityParts'](_0x2ee709,_0x14e616['IconWeb'],'AI_CHAT_SEARCH_WEB',_0x59cbf6['capabilities']['webSearch']?.['enabled']??!0x1)),_0x1473ae['addMany'](this['_getCapabilityParts'](_0x2ee709,_0x14e616['IconBulb'],'AI_CHAT_REASONING',_0x59cbf6['capabilities']['reasoning']?.['enabled']??!0x1));}['_getCapabilityParts'](_0x3ab92d,_0x2bc5e8,_0x499906,_0x1dec41){const _0x2354e5=new _0x14e616['IconView']();_0x2354e5['content']=_0x2bc5e8;const _0x16b895=new _0x14e616['View'](_0x3ab92d);_0x16b895['setTemplate']({'tag':'span','children':[{'text':_0x2723f0(_0x3ab92d,_0x499906)+':\x20'}]});const _0x35d134=new _0x14e616['View'](_0x3ab92d);return _0x35d134['setTemplate']({'tag':'span','children':[{'text':_0x2723f0(_0x3ab92d,_0x1dec41?'AI_CHAT_CAPABILITIES_YES':'AI_CHAT_CAPABILITIES_NO')}]}),[_0x2354e5,_0x16b895,_0x35d134];}},_0x3204b4=class extends _0x14e616['View']{constructor(_0x5ea05a){super(_0x5ea05a),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x4f021f=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-chat-controls__model-name',_0x4f021f['if']('isVisible','ck-hidden',_0x3f6f90=>!_0x3f6f90)]},'children':[{'text':_0x4f021f['to']('text')}]});}};const _0x3a6012='ck-ai-chat-context-controls__url-form',_0xdd7fdd='ck-ai-chat-context-controls__url-input-section';var _0x538406=class extends _0x14e616['View']{['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['urlInputField'];['backButton'];['confirmButton'];constructor(_0x3d2f48){super(_0x3d2f48),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['backButton']=this['_createBackButton'](),this['urlInputField']=this['_createUrlInputField'](),this['confirmButton']=this['_createConfirmButton'](),this['_focusables']=this['createCollection']([this['backButton'],this['urlInputField'],this['confirmButton']]),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['set']('withBackButton',!0x0),this['_setupTemplate'](),this['_setupEventHandlers'](),this['_setupKeystrokes']();}['render'](){super['render'](),this['_focusables']['forEach'](_0x307876=>{this['focusTracker']['add'](_0x307876['element']),this['keystrokes']['listenTo'](_0x307876['element']);}),(0x0,_0x14e616['submitHandler'])({'view':this}),this['focus']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['focus'](){this['urlInputField']['focus']();}['getValue'](){return this['urlInputField']['fieldView']['element']?.['value']?.['trim']()||'';}['clear'](){this['urlInputField']['fieldView']['element']['value']='',this['urlInputField']['errorText']=null,this['confirmButton']['isEnabled']=!0x1;}['setError'](_0xf9f6cf){this['urlInputField']['errorText']=_0xf9f6cf,this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}['clearError'](){this['urlInputField']['errorText']=null,this['_updateConfirmButtonState']();}['_createBackButton'](){const _0x1244c7=new _0x14e616['ButtonView'](this['locale']);return _0x1244c7['set']({'icon':_0x14e616['IconPreviousArrow'],'tooltip':_0x2723f0(this['locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':['ck-button-icon\x20ck-button-back']}),this['on']('change:withBackButton',(_0x2cc6b6,_0x4455c5,_0x50f82d)=>{_0x1244c7['set']({'class':['ck-button-icon\x20ck-button-back'+(_0x50f82d?'':'\x20ck-hidden')]});}),_0x1244c7;}['_createUrlInputField'](){const _0x38cf36=new _0x14e616['LabeledFieldView'](this['locale'],_0x14e616['createLabeledInputText']);return _0x38cf36['set']({'label':_0x2723f0(this['locale'],'AI_CHAT_CONTEXT_URL_LABEL'),'class':'ck-labeled-field-view_empty'}),_0x38cf36['fieldView']['set']({'placeholder':_0x2723f0(this['locale'],'AI_CHAT_CONTEXT_URL_PLACEHOLDER')}),_0x38cf36;}['_createConfirmButton'](){const _0x36cc1f=new _0x14e616['ButtonView'](this['locale']);return _0x36cc1f['set']({'icon':_0x14e616['IconCheck'],'tooltip':_0x2723f0(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'tooltipPosition':'n','class':'ck-button-icon','type':'submit','isEnabled':!0x1}),_0x36cc1f;}['_setupTemplate'](){const _0x2a46d8=new _0x14e616['FormHeaderView'](this['locale'],{'label':_0x2723f0(this['locale'],'AI_CHAT_CONTEXT_URL_ADD_URL'),'class':'ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url'});_0x2a46d8['children']['add'](this['backButton'],0x0),this['setTemplate']({'tag':'form','attributes':{'class':_0x3a6012,'tabindex':'-1'},'children':[_0x2a46d8,{'tag':'div','attributes':{'class':_0xdd7fdd},'children':[this['urlInputField'],this['confirmButton']]}]});}['_setupEventHandlers'](){this['backButton']['on']('execute',()=>{this['clear'](),this['fire']('cancel');}),this['urlInputField']['fieldView']['on']('input',()=>{this['clearError'](),this['_updateConfirmButtonState'](),this['fire']('refreshBalloon');}),this['on']('submit',_0x334c10=>{_0x334c10['stop'](),this['_handleSubmit']();});}['_setupKeystrokes'](){this['keystrokes']['set']('esc',(_0x31204a,_0xae0abf)=>{this['clear'](),this['fire']('cancel'),_0xae0abf();});}['_handleSubmit'](){const _0x21c6b7=this['getValue']()['trim']();_0x21c6b7?this['_isValidUrl'](_0x21c6b7)?(this['clearError'](),this['fire']('submitUrl',_0x21c6b7)):this['setError'](_0x2723f0(this['locale'],'AI_CHAT_CONTEXT_URL_INVALID_ERROR')):this['setError'](_0x2723f0(this['locale'],'AI_CHAT_CONTEXT_URL_EMPTY_ERROR'));}['_updateConfirmButtonState'](){const _0x50fa95=this['getValue']()['trim'](),_0x255bb3=!!this['urlInputField']['errorText'];this['confirmButton']['isEnabled']=_0x50fa95['length']>0x0&&!_0x255bb3;}['_isValidUrl'](_0x5d28af){try{return!!new URL(_0x5d28af);}catch{return!0x1;}}};const _0x4fd6cb='ck-ai-chat-resources__item',_0x24c07a='ck-ai-chat-resources__item--in-context',_0x49e078='ck-ai-chat-resources__item-title',_0x31877b='ck-ai-chat-resources__item__icon';var _0x1e407b=class extends _0x14e616['ListItemView']{['resource'];['_titleView'];['_iconView'];constructor(_0xae794a,_0x32251d){super(_0xae794a),this['resource']=_0x32251d,this['set']('isInContext',!!_0x32251d['isInContext']),this['_titleView']=this['_createTitleView'](),this['_iconView']=this['_createIconView'](),this['_setupTemplate']();}['render'](){super['render']();}['getResourceIcon'](_0x31800b){if(_0x31800b['isInContext'])return _0x14e616['IconCheck'];switch(_0x31800b['type']){case'document':return _0x14e616['IconDocument'];case'web-resource':return _0x14e616['IconLink'];case'file':case'text':return _0x14e616['IconFileUpload'];default:return _0x14e616['IconDocumentOutline'];}}['highlightText'](_0x58fef6){if(!_0x58fef6||''===_0x58fef6['trim']())return void this['_titleView']['highlightText'](null);const _0x37fc81=new RegExp(Gt(_0x58fef6),'gi');this['_titleView']['highlightText'](_0x37fc81);}['updateResourceState'](_0x32d99c){this['resource']['isInContext']=_0x32d99c,this['isInContext']=_0x32d99c,this['_updateIcon']();}['_createTitleView'](){const _0x5b2a06=new _0x14e616['HighlightedTextView']();return _0x5b2a06['text']=this['resource']['label'],_0x5b2a06['extendTemplate']({'tag':'span','attributes':{'class':[_0x49e078]}}),_0x5b2a06;}['_createIconView'](){const _0x4d544a=new _0x14e616['IconView']();return _0x4d544a['content']=this['getResourceIcon'](this['resource']),_0x4d544a;}['_setupTemplate'](){const _0x3c710f=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':[_0x4fd6cb,_0x3c710f['if']('isVisible','ck-hidden',_0x159a07=>!_0x159a07),_0x3c710f['if']('isInContext',_0x24c07a)]},'children':[{'tag':'div','attributes':{'class':[_0x31877b]},'children':[this['_iconView']]},this['_titleView']],'on':{'click':_0x3c710f['to']('execute')}});}['_updateIcon'](){this['_iconView']['content']=this['getResourceIcon'](this['resource']);}};const _0x51dd2e='ck-ai-chat-resources__list';var _0x1922a3=class extends _0x14e616['ListView']{['_source'];constructor(_0x263f90,_0x120c96){super(_0x263f90),this['_source']=_0x120c96,this['extendTemplate']({'attributes':{'class':[_0x51dd2e]}});}['setResources'](_0x5e0e88,_0x24274a){this['items']['clear']();let _0xd0686=_0x5e0e88;if(this['_source']['useDefaultFiltering']&&_0x24274a&&''!==_0x24274a['trim']()){const _0x383ed5=new RegExp(_0x24274a['replace'](/[.*+?^${}()|[\]\\]/g,'\x5c$&'),'gi');_0xd0686=_0x5e0e88['filter'](_0x4e775e=>_0x383ed5['test'](_0x4e775e['label']));}for(const _0x5d6cf7 of _0xd0686){const _0x232ac6=new _0x1e407b(this['locale'],_0x5d6cf7);_0x232ac6['on']('execute',()=>{this['_handleResourceSelection'](this['_source'],_0x5d6cf7);}),this['items']['add'](_0x232ac6);}this['_source']['useDefaultFiltering']&&this['highlightText'](_0x24274a);}['highlightText'](_0x152ffb){this['_source']['useDefaultFiltering']&&this['items']['forEach'](_0x42a2a7=>{_0x42a2a7['highlightText'](_0x152ffb);});}['updateResourceState'](_0xe315f6,_0x2298a9){for(const _0x178841 of this['items']){const _0x5a99b3=_0x178841;_0x5a99b3['resource']['id']===_0xe315f6&&_0x5a99b3['updateResourceState'](_0x2298a9);}}['_handleResourceSelection'](_0x152796,_0x3b1e32){this['fire']('addResourceToContext',{'source':_0x152796,'resource':_0x3b1e32});}},_0x3c9952=class extends _0x14e616['LabeledFieldView']{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x1648db){const t=_0x1648db['t'],_0x2356b2={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x14e616['createLabeledInputText'],'label':_0x2723f0(_0x1648db,'AI_CHAT_SEARCH_RESOURCES')};super(_0x1648db,_0x2356b2['creator']),this['label']=_0x2356b2['label'],this['_viewConfig']=_0x2356b2,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x1648db,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x46adcb){this['fire']('search',_0x46adcb);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x14e616['IconView'](),this['iconView']['content']=_0x14e616['IconLoupe'],this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x4a6797,t){this['resetButtonView']=new _0x14e616['ButtonView'](_0x4a6797),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x14e616['IconCancel'],'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x13e9cb=>!_0x13e9cb),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}},_0x114f7b=class extends _0x14e616['View']{['_searchView'];['_searchSection'];['_searchInputVisibleFrom'];['_resourcesListView'];['_skeletonLoader'];['_source'];['children'];['_latestLoadResourcesUid']=null;constructor(_0x3b123b,_0x4176fc){super(_0x3b123b),this['_source']=_0x4176fc['source'],this['_searchInputVisibleFrom']=_0x4176fc['searchInputVisibleFrom']??0x7,this['set']('isLoading',!0x0),this['_searchView']=this['_createSearchView'](),this['_searchSection']=this['_createSearchSection'](),this['_resourcesListView']=this['_createResourcesListView'](),this['_skeletonLoader']=this['_createSkeletonView'](),this['children']=new _0x14e616['ViewCollection']([this['_skeletonLoader'],this['_resourcesListView']]),this['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-chat-resources'},'children':this['children']});}['_createSearchView'](){return new _0x3c9952(this['locale']);}['_createSearchSection'](){const _0xdce585=new _0x14e616['View'](this['locale']);return _0xdce585['setTemplate']({'tag':'div','attributes':{'class':'ck\x20ck-search'},'children':[this['_searchView']]}),this['_searchView']['on']('search',(_0x49bd6a,_0x564eb4)=>{this['loadResources'](_0x564eb4),this['_source']['useDefaultFiltering']&&this['_resourcesListView']['highlightText'](_0x564eb4);}),_0xdce585;}['_createResourcesListView'](){const _0x10a3da=new _0x1922a3(this['locale'],this['_source']);return _0x10a3da['delegate']('addResourceToContext')['to'](this),_0x10a3da['extendTemplate']({'attributes':{'class':this['bindTemplate']['if']('isLoading','ck-hidden')}}),_0x10a3da;}['_createSkeletonView'](){const _0x1235d1=new _0x4de9ea(this['locale'],_0x54f06e['aiChatResources']);return _0x1235d1['bind']('isVisible')['to'](this,'isLoading'),_0x1235d1;}['render'](){super['render'](),this['loadResources']('');}['loadResources'](_0x4ba1a2){const _0x24e28f=(0x0,_0x14e616['uid'])();this['_latestLoadResourcesUid']=_0x24e28f,this['fire']('loadSourceResources',{'sourceId':this['_source']['id'],'query':_0x4ba1a2,'uid':_0x24e28f}),this['isLoading']=!0x0;}['setResources'](_0xdd6709,_0x568cc4){if(_0x568cc4&&_0x568cc4!==this['_latestLoadResourcesUid'])return;const _0x19e690=this['_source']['useDefaultFiltering']?this['_searchView']['getQuery']():'';this['_resourcesListView']['setResources'](_0xdd6709,_0x19e690),_0xdd6709['length']>=this['_searchInputVisibleFrom']&&!this['children']['has'](this['_searchSection'])&&this['children']['add'](this['_searchSection'],0x0),requestAnimationFrame(()=>{this['isLoading']=!0x1;});}['updateResourceState'](_0x2c5190,_0x4bb363){this['_resourcesListView']['updateResourceState'](_0x2c5190,_0x4bb363);}};const _0x25636f='ck-ai-chat-context-controls__source-balloon-panel',_0xc95c3='ck-button-icon\x20ck-button-back',_0x2cd129='ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source';var _0x45e5e2=class{['_sourceResourceBalloons']=new Map();['_bodyCollection'];['_locale'];['_config'];constructor(_0x47fa77,_0x8156dd,_0x138b8e){this['_locale']=_0x47fa77,this['_bodyCollection']=_0x8156dd,this['_config']=_0x138b8e;}['showSourceResourcesBalloon']({source:_0x55244d,withBackButton:_0x18048a}){let _0x30a174=this['_sourceResourceBalloons']['get'](_0x55244d['id']);_0x30a174||(_0x30a174=this['_createSourceResourceBalloonPanel'](),this['_sourceResourceBalloons']['set'](_0x55244d['id'],_0x30a174),this['_setupSingleResourceBalloonClickOutsideHandler'](_0x30a174)),this['_addSourceResourceContent']({'balloonPanel':_0x30a174,'source':_0x55244d,'withBackButton':_0x18048a}),_0x30a174['show']();const _0x374271=this['_config']['getTargetElement']();_0x374271&&_0x30a174['pin']({'target':_0x374271,'limiter':this['_config']['getLimiterElement']()});}['populateSourceResourceBalloon'](_0x1d6e02,_0x5276b4,_0x505595){const _0x551b35=this['_sourceResourceBalloons']['get'](_0x1d6e02);if(!_0x551b35)return;const _0x2b1271=this['_getResourcesViewFromBalloon'](_0x551b35);_0x2b1271&&(_0x2b1271['setResources'](_0x5276b4,_0x505595),_0x2b1271['once']('change:isLoading',()=>{_0x551b35['pin']({'target':this['_config']['getTargetElement'](),'limiter':this['_config']['getLimiterElement']()});}));}['closeSourceResourceBalloon'](_0x3b924b){const _0xab793c=this['_sourceResourceBalloons']['get'](_0x3b924b);_0xab793c&&requestAnimationFrame(()=>{_0xab793c['hide'](),this['_sourceResourceBalloons']['delete'](_0x3b924b),this['_config']['onBalloonClosed']();});}['closeAll'](){for(const _0x2aba65 of Array['from'](this['_sourceResourceBalloons']['keys']()))this['closeSourceResourceBalloon'](_0x2aba65);}['isAnyResourceBalloonVisible'](){for(const _0x498fbf of this['_sourceResourceBalloons']['values']())if(_0x498fbf['isVisible'])return!0x0;return!0x1;}['updateResourceState'](_0xf87f0,_0x1c1a17,_0x32eb2d){const _0x41aa22=this['_sourceResourceBalloons']['get'](_0xf87f0);if(!_0x41aa22||!_0x41aa22['isVisible'])return;const _0x5e7d99=this['_config']['getTargetElement']();if(!_0x5e7d99)return;_0x41aa22['pin']({'target':_0x5e7d99,'limiter':this['_config']['getLimiterElement']()});const _0x4dcddb=this['_getResourcesViewFromBalloon'](_0x41aa22);_0x4dcddb&&_0x4dcddb['updateResourceState'](_0x1c1a17,_0x32eb2d);}['destroy'](){for(const _0x13e195 of this['_sourceResourceBalloons']['values']())_0x13e195['destroy']();this['_sourceResourceBalloons']['clear']();}['_createSourceResourceBalloonPanel'](){const _0x3e3e34=new _0x14e616['BalloonPanelView'](this['_locale']);return _0x3e3e34['extendTemplate']({'attributes':{'class':_0x25636f}}),this['_bodyCollection']['add'](_0x3e3e34),_0x3e3e34;}['_addSourceResourceContent']({balloonPanel:_0x1dd2a3,source:_0x1dc4d5,withBackButton:_0x1ec50d}){_0x1dd2a3['content']['clear']();const _0x507f90=this['_createBalloonHeader']({'balloonPanel':_0x1dd2a3,'source':_0x1dc4d5,'withBackButton':_0x1ec50d});_0x1dd2a3['content']['add'](_0x507f90);const _0x57fe42=this['_createBalloonResourcesView'](_0x1dc4d5);_0x1dd2a3['content']['add'](_0x57fe42);}['_createBalloonHeader']({balloonPanel:_0xe413c3,source:_0x29eb6f,withBackButton:_0x2c120e}){const _0x1afed5=new _0x14e616['FormHeaderView'](this['_locale'],{'label':_0x29eb6f['label'],'class':_0x2cd129});return _0x2c120e&&_0x1afed5['children']['add'](this['_createBackButton'](_0xe413c3),0x0),_0x1afed5;}['_createBackButton'](_0x55517c){const _0x145079=new _0x14e616['ButtonView'](this['_locale']);return _0x145079['set']({'icon':_0x14e616['IconPreviousArrow'],'tooltip':_0x2723f0(this['_locale'],'AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT'),'tooltipPosition':'n','class':_0xc95c3}),_0x145079['on']('execute',()=>{_0x55517c['hide'](),this['_config']['onBackToContext']();}),_0x145079;}['_createBalloonResourcesView'](_0x2064dd){const _0x105821=new _0x114f7b(this['_locale'],{'source':_0x2064dd,'searchInputVisibleFrom':this['_config']['searchInputVisibleFrom']});return _0x105821['on']('loadSourceResources',(_0x336382,_0x30ae34)=>{this['_config']['onLoadSourceResources'](_0x30ae34);}),_0x105821['on']('addResourceToContext',(_0x49d785,_0xf3389b)=>{this['_config']['onResourceSelected'](_0xf3389b['source'],_0xf3389b['resource']),this['closeSourceResourceBalloon'](_0x2064dd['id']);}),_0x105821;}['_getResourcesViewFromBalloon'](_0x157b66){const _0x536b9b=_0x157b66['content']['get'](0x1);return _0x536b9b instanceof _0x114f7b?_0x536b9b:null;}['_setupSingleResourceBalloonClickOutsideHandler'](_0x5ee85e){(0x0,_0x14e616['clickOutsideHandler'])({'emitter':_0x5ee85e,'contextElements':[_0x5ee85e['element']],'callback':()=>{_0x5ee85e['hide'](),this['_config']['onBalloonClosed']();},'activator':()=>_0x5ee85e['isVisible']});}};const _0x53a319=['addDocumentToContext','addFileToContext','addUrlToContext','addResourceToContext','removeContextItem','loadSourceResources','executeCustomItemCallback'],_0x257fcc='ck-ai-chat-context-controls',_0x3276d8='ck-ai-chat-context-controls__pending-contexts',_0x3cfb20='ck-ai-chat-context-controls__add-context-balloon-panel',_0x27eb93='ck-ai-chat-context-controls__add-context-button',_0x1f5fe2='ck-ai-chat-context-controls__url-balloon-panel',_0x2d532f='ck-ai-chat-context-controls__balloon-button',_0x97d6a8='ck-ai-chat-context-controls__balloon-button-source',_0x5aebbb='ck-ai-chat-controls-button',_0x49f617='ck-ai-chat-context-chips-wrapper-balloon',_0x5cea61='ck-ai-chat-controls_context_show-more-button',_0x339057='ck-ai-chat-context-controls__show-more-balloon-panel',_0x2b75e2='ck-ai-chat',_0x1825ad=[_0x14e616['BalloonPanelView']['defaultPositions']['northArrowSouthWest'],_0x14e616['BalloonPanelView']['defaultPositions']['northArrowSouth'],_0x14e616['BalloonPanelView']['defaultPositions']['northArrowSouthEast'],_0x14e616['BalloonPanelView']['defaultPositions']['southArrowNorthWest'],_0x14e616['BalloonPanelView']['defaultPositions']['southArrowNorth'],_0x14e616['BalloonPanelView']['defaultPositions']['southArrowNorthEast']];var _0x15c171=class extends _0x14e616['View']{['addContextButtonView'];['_currentContextsChips']=this['createCollection']();['_conversationContextsChips']=this['createCollection']();['_overflowManager'];['_addContextBalloonPanelView'];['_urlBalloonPanelView'];['_urlInputView'];['_resourcesBalloonView'];['_addContextBalloonConfig'];['_hasExactlyOneSource']=!0x1;['bodyCollection'];constructor(_0x3b2442,_0x454e5c){super(_0x3b2442),this['bodyCollection']=_0x454e5c['bodyCollection'],this['_currentContextsChips']=this['createCollection'](),this['_conversationContextsChips']=this['createCollection'](),this['addContextButtonView']=this['_createAddContextButtonView'](_0x3b2442),this['_addContextBalloonPanelView']=this['_createAddContextBalloonPanelView'](_0x3b2442),this['_urlBalloonPanelView']=this['_createUrlBalloonPanelView'](_0x3b2442),this['_resourcesBalloonView']=this['_createResourcesBalloonView'](_0x3b2442,_0x454e5c);const _0x14ab84={'cssClasses':{'showMoreButton':_0x5cea61+'\x20'+_0x2eb508,'showMoreBalloon':_0x339057,'overflowContainer':_0x49f617,'controlsButton':_0x5aebbb}};this['_overflowManager']=new _0x1c0781(_0x3b2442,this['_currentContextsChips'],_0x14ab84,this['bodyCollection'],this),this['_addContextBalloonConfig']={'buttonView':this['addContextButtonView'],'balloonView':this['_addContextBalloonPanelView'],'hideMethod':this['hideAddContextBalloonPanel']['bind'](this),'showMethod':this['showAddContextBalloonPanel']['bind'](this)},this['_setupTemplate'](),this['_bindEventHandlers']();}['render'](){super['render'](),this['_setupAllBalloonClickOutsideHandlers'](),this['_overflowManager']['setContainerElement'](this['element']),this['_overflowManager']['reorganizeChips']();}['destroy'](){super['destroy'](),this['_overflowManager']['destroy'](),this['_resourcesBalloonView']['destroy']();}['addContextItem'](_0x5c5504,_0x1b6ff9){const _0x117d48=this['_createContextButton'](_0x5c5504,'current',!0x0,_0x1b6ff9);this['_addContextToCollection'](_0x117d48,this['_currentContextsChips']),this['_overflowManager']['reorganizeChips']();}['removeContextItem'](_0x44c613){this['_removeContextFromCollection'](_0x44c613,this['_currentContextsChips']),this['_removeContextFromCollection'](_0x44c613,this['_overflowManager']['overflowChips']),this['_overflowManager']['reorganizeChips']();}['setContextItemLoading'](_0x191b8f,_0x34e21f){let _0x3565a8=this['_currentContextsChips']['find'](_0x34e16e=>_0x34e16e['id']===_0x191b8f);_0x3565a8||(_0x3565a8=this['_overflowManager']['overflowChips']['find'](_0x51237d=>_0x51237d['id']===_0x191b8f)),_0x3565a8&&(_0x3565a8['isLoading']=_0x34e21f);}['setConversationContext'](_0x37eea1){this['_conversationContextsChips']['clear']();for(const _0xba34e7 of _0x37eea1){const _0x29acf2=this['_createContextButton'](_0xba34e7,'conversation',!0x1,!0x1);this['_addContextToCollection'](_0x29acf2,this['_conversationContextsChips']);}}['clearCurrentContextItems'](){this['_currentContextsChips']['clear'](),this['_overflowManager']['clear']();}['clearConversationContextItems'](){this['_conversationContextsChips']['clear']();}['updateResourceState'](_0xd35568,_0x51bab9,_0x2f5191){this['_resourcesBalloonView']['updateResourceState'](_0xd35568,_0x51bab9,_0x2f5191);}['hideAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x1);}['showAddContextBalloonPanel'](){this['_toggleAddContextBalloon'](!0x0);}['hideUrlBalloonPanel'](){this['_urlBalloonPanelView']['hide'](),this['addContextButtonView']['isOn']=!0x1,this['_urlInputView']&&this['_urlInputView']['clear']();}['showUrlBalloonPanel'](){this['_urlBalloonPanelView']['show'](),this['addContextButtonView']['isOn']=!0x0;}['hideAllBalloons'](){this['hideAddContextBalloonPanel'](),this['hideUrlBalloonPanel'](),this['_resourcesBalloonView']['closeAll']();}['_showSourceResourcesBalloon']({source:_0x1d289c,withBackButton:_0x3ffcef}){this['_resourcesBalloonView']['showSourceResourcesBalloon']({'source':_0x1d289c,'withBackButton':_0x3ffcef}),this['addContextButtonView']['isOn']=!0x0;}['populateSourceResourceBalloon'](_0x59a719,_0x1e5795,_0x34362a,_0x50680d){this['_resourcesBalloonView']['populateSourceResourceBalloon'](_0x59a719,_0x34362a,_0x50680d);}['closeSourceResourceBalloon'](_0x26de91){this['_resourcesBalloonView']['closeSourceResourceBalloon'](_0x26de91),this['addContextButtonView']['isOn']=!0x1;}['setAddContextOptions'](_0x195b52){this['_setBalloonPanelContent'](this['_addContextBalloonPanelView'],this['locale'],_0x195b52),this['_setAddContextButtonEnabled'](_0x195b52);}['_setAddContextButtonEnabled'](_0x23a781){const _0x4fffba=!_0x23a781['document']['isHidden']&&_0x23a781['document']['enabled'],_0x10f3d2=_0x23a781['urls']['enabled'],_0x1a6f7e=_0x23a781['files']['enabled'],_0x28f628=_0x23a781['sources']['length']>0x0,_0x223961=_0x23a781['customItems']&&_0x23a781['customItems']['length']>0x0;this['addContextButtonView']['isEnabled']=_0x4fffba||_0x10f3d2||_0x1a6f7e||_0x28f628||_0x223961;}['_setupTemplate'](){this['setTemplate']({'tag':'div','attributes':{'class':[_0x257fcc,'ck-reset_all-excluded']},'children':[{'tag':'div','attributes':{'class':_0x3276d8},'children':this['_currentContextsChips']}]});}['_bindEventHandlers'](){this['addContextButtonView']['on']('execute',()=>{this['_handleAddContextButtonClick']();});}['_createAddContextButtonView'](_0x435e43){const _0x3b33b1=new _0x14e616['ButtonView'](_0x435e43);return _0x3b33b1['set']({'label':_0x2723f0(_0x435e43,'AI_CHAT_CONTEXT_ADD_CONTEXT'),'class':_0x5aebbb+'\x20'+_0x27eb93+'\x20'+_0x2eb508,'icon':_0x14e616['IconPaperClip'],'isToggleable':!0x0,'tooltip':!0x0,'tooltipPosition':'sw'}),_0x3b33b1;}['_createAddContextBalloonPanelView'](_0xf5fadb){return this['_createBaseBalloonPanel'](_0xf5fadb,_0x3cfb20);}['_createUrlBalloonPanelView'](_0x48e7d2){const _0x26b315=this['_createBaseBalloonPanel'](_0x48e7d2,_0x1f5fe2);return this['_addUrlContent'](_0x26b315,_0x48e7d2),_0x26b315;}['_createResourcesBalloonView'](_0x572550,_0x288222){const _0x5e076c={'searchInputVisibleFrom':_0x288222['searchInputVisibleFrom'],'onBackToContext':()=>{this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x1825ad});},'onResourceSelected':(_0x1e80f2,_0x52f892)=>{this['fire']('addResourceToContext',{'source':_0x1e80f2,'resource':_0x52f892});},'onLoadSourceResources':_0x5c31f7=>{this['fire']('loadSourceResources',_0x5c31f7);},'onBalloonClosed':()=>{this['addContextButtonView']['isOn']=!0x1;},'getLimiterElement':()=>this['_getLimiterElement'](),'getTargetElement':()=>this['addContextButtonView']['element']};return new _0x45e5e2(_0x572550,_0x288222['bodyCollection'],_0x5e076c);}['_getLimiterElement'](){return this['element']?.['closest']('.'+_0x2b75e2)||document['body'];}['_createBaseBalloonPanel'](_0x4292ba,_0x586a51){const _0x496451=new _0x14e616['BalloonPanelView'](_0x4292ba);return _0x496451['extendTemplate']({'attributes':{'class':_0x586a51}}),this['bodyCollection']['add'](_0x496451),_0x496451;}['_setBalloonPanelContent'](_0x31a374,_0x237cfa,_0x306664){if(_0x31a374['content']['clear'](),!_0x306664['document']['isHidden']&&_0x306664['document']['enabled']){const _0x43755f=this['_createBalloonButton'](_0x237cfa,{'label':_0x2723f0(_0x237cfa,'AI_CHAT_CONTEXT_CURRENT_DOCUMENT'),'icon':_0x14e616['IconDocument']});_0x43755f['on']('execute',()=>{this['fire']('addDocumentToContext'),this['hideAddContextBalloonPanel']();}),_0x31a374['content']['add'](_0x43755f);}if(_0x306664['urls']['enabled']){const _0x5c6ce0=this['_createBalloonButton'](_0x237cfa,{'label':_0x2723f0(_0x237cfa,'AI_CHAT_CONTEXT_URL_LABEL'),'icon':_0x14e616['IconLink']});_0x5c6ce0['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['showUrlBalloonPanel'](),this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x1825ad}),this['_urlInputView']['focus']();}),_0x31a374['content']['add'](_0x5c6ce0);}if(_0x306664['files']['enabled']){const _0x3c60c1=new _0x14e616['FileDialogButtonView'](_0x237cfa);_0x3c60c1['set']({'label':_0x2723f0(_0x237cfa,'AI_CHAT_CONTEXT_FILE_LABEL'),'icon':_0x14e616['IconBrowseFiles'],'withText':!0x0,'tooltip':!0x0,'class':_0x2d532f,'allowMultipleFiles':!0x0}),_0x3c60c1['on']('execute',()=>{this['hideAddContextBalloonPanel']();}),_0x3c60c1['on']('done',(_0x2ba41f,_0x5d48fb)=>{this['fire']('addFileToContext',_0x5d48fb);}),_0x3c60c1['tooltip']=!0x0,_0x31a374['content']['add'](_0x3c60c1);}for(const _0x502858 of _0x306664['sources']){const _0x2b3dc6=this['_createBalloonButton'](_0x237cfa,{'label':_0x502858['label'],'icon':_0x502858['icon']||_0x14e616['IconDocumentOutline'],'type':'source'});_0x31a374['content']['add'](_0x2b3dc6),_0x2b3dc6['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['_showSourceResourcesBalloon']({'source':_0x502858,'withBackButton':!this['_hasExactlyOneSource']});});}for(const _0x3dbf74 of _0x306664['customItems']||[]){const _0x4f25ca=this['_createBalloonButton'](_0x237cfa,{'label':_0x3dbf74['label'],'icon':_0x3dbf74['icon']||_0x14e616['IconDocumentOutline'],'type':'customItem'});_0x31a374['content']['add'](_0x4f25ca),_0x4f25ca['on']('execute',()=>{this['hideAddContextBalloonPanel'](),this['fire']('executeCustomItemCallback',_0x3dbf74);});}this['_hasExactlyOneSource']=0x1===_0x31a374['content']['length'],this['_urlInputView']['withBackButton']=!this['_hasExactlyOneSource'];}['_addUrlContent'](_0x24001e,_0x523cdf){this['_urlInputView']=new _0x538406(_0x523cdf),this['_urlInputView']['on']('submitUrl',(_0x32e089,_0x25ccf0)=>{this['_handleUrlSubmit'](_0x25ccf0);}),this['_urlInputView']['on']('cancel',()=>{this['hideUrlBalloonPanel'](),this['_hasExactlyOneSource']||(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x1825ad}));}),this['_urlInputView']['on']('refreshBalloon',()=>{this['_urlBalloonPanelView']['isVisible']&&this['_urlBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x1825ad});}),_0x24001e['content']['add'](this['_urlInputView']);}['_createBalloonButton'](_0x12a967,_0x2b0cd1){const _0x2dfb74='source'===_0x2b0cd1['type']?new _0x1aa472(_0x12a967):new _0x14e616['ButtonView'](_0x12a967);return _0x2dfb74['set']({'label':_0x2b0cd1['label'],'icon':_0x2b0cd1['icon'],'withText':!0x0,'tooltip':!0x0,'tooltipPosition':'sw','class':_0x2d532f}),_0x2dfb74;}['_setupAllBalloonClickOutsideHandlers'](){this['_setupAddContextBalloonClickOutsideHandler'](),this['_setupUrlBalloonClickOutsideHandler']();}['_setupUrlBalloonClickOutsideHandler'](){(0x0,_0x14e616['clickOutsideHandler'])({'emitter':this['_urlBalloonPanelView'],'contextElements':[this['_urlBalloonPanelView']['element']],'callback':()=>{this['hideUrlBalloonPanel']();},'activator':()=>this['_urlBalloonPanelView']['isVisible']});}['_toggleAddContextBalloon'](_0x5a2d8b){const _0x4353e3=this['_addContextBalloonConfig'];_0x4353e3['buttonView']['isOn']=_0x5a2d8b,_0x5a2d8b?_0x4353e3['balloonView']['show']():_0x4353e3['balloonView']['hide']();}['_setupAddContextBalloonClickOutsideHandler'](){const {balloonView:_0x1244b2,buttonView:_0x43882b,hideMethod:_0x31d225}=this['_addContextBalloonConfig'];(0x0,_0x14e616['clickOutsideHandler'])({'emitter':_0x1244b2,'contextElements':[_0x1244b2['element'],_0x43882b['element']],'callback':()=>{_0x31d225();},'activator':()=>_0x43882b['isOn']&&!this['_urlBalloonPanelView']['isVisible']&&!this['_resourcesBalloonView']['isAnyResourceBalloonVisible']()});}['_createContextButton'](_0x5743db,_0x6f925d,_0x44a9b3=!0x1,_0x262905=!0x1){const _0x5bb803='conversation'===_0x6f925d||!0x0===_0x5743db['isReadOnly'],_0x36a196=new _0x38b753(this['locale'],_0x5743db,_0x5bb803,_0x44a9b3,_0x262905);return _0x5bb803||_0x36a196['on']('removeContextItemChip',()=>{this['fire']('removeContextItem',_0x36a196['id']);}),_0x36a196;}['_addContextToCollection'](_0xaaf635,_0x3268c9){_0x3268c9['add'](_0xaaf635,0x0);}['_removeContextFromCollection'](_0x52b9fa,_0x41fc6a){const _0x245a9b=_0x41fc6a['find'](_0x3fe21a=>_0x3fe21a['id']===_0x52b9fa);_0x245a9b&&_0x41fc6a['remove'](_0x245a9b);}['_handleAddContextButtonClick'](){this['addContextButtonView']['isOn']?this['hideAddContextBalloonPanel']():(this['showAddContextBalloonPanel'](),this['_addContextBalloonPanelView']['pin']({'target':this['addContextButtonView']['element'],'limiter':this['_getLimiterElement'](),'positions':_0x1825ad}),this['_hasExactlyOneSource']&&this['_addContextBalloonPanelView']['content']['get'](0x0)?.['fire']('execute'));}['_handleUrlSubmit'](_0x2995c7){this['_urlInputView']['clear'](),this['hideUrlBalloonPanel'](),this['fire']('addUrlToContext',_0x2995c7);}},_0x1aa472=class extends _0x14e616['ButtonView']{['arrowView'];constructor(_0x2b691c){super(_0x2b691c),this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':[_0x97d6a8]}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x459175=new _0x14e616['IconView']();return _0x459175['content']=_0x14e616['IconDropdownArrow'],_0x459175['extendTemplate']({'attributes':{'class':_0x97d6a8+'__arrow'}}),_0x459175;}},_0x3c3a5c=class extends _0x14e616['View']{['_cancelButtonView'];['_loaderView'];constructor(_0x4183db){super(_0x4183db),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_loaderView']=this['_createLoaderView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-loader-wrapper','ck-reset_all']},'children':[this['_loaderView'],this['_cancelButtonView']]});}['_createCancelButtonView'](){const _0x37bd88=new _0x14e616['ButtonView'](this['locale']);return _0x37bd88['set']({'label':_0x2723f0(this['locale'],'AI_CHAT_STOP_GENERATING'),'withText':!0x0,'class':_0x55009e+'\x20ck-ai-button-stop-generating','icon':_0x14e616['IconStop']}),_0x37bd88['on']('execute',()=>{this['fire']('abortPromptStream');}),_0x37bd88;}['_createLoaderView'](){const _0x1d6732=new _0x14e616['View'](this['locale']);return _0x1d6732['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}},{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}},{'tag':'div','attributes':{'class':['ck-ai-chat-controls-loader-icon-dot']}}]},{'text':_0x2723f0(this['locale'],'AI_CHAT_IS_WRITING')}]}),_0x1d6732;}},_0x5546e5=class extends _0x14e616['View']{['_contextPanelView'];['_promptInputView'];['_dropZoneView'];['_promptCapabilitiesView'];['_loaderView'];['_modelUnavailableMessageView'];['_shouldRestorePromptInputFocus'];['_filesEnabled'];constructor(_0x53906d,_0xa88ff0){super(_0x53906d),this['_filesEnabled']=_0xa88ff0['filesEnabled'],this['_contextPanelView']=this['_createContextPanelView'](_0x53906d,{'bodyCollection':_0xa88ff0['bodyCollection'],'searchInputVisibleFrom':_0xa88ff0['contextResourcesSearchInputVisibleFrom']}),this['_promptInputView']=this['_createPromptInputView'](_0x53906d),this['_promptCapabilitiesView']=this['_createPromptCapabilitiesView'](_0x53906d),this['_loaderView']=this['_createLoaderView'](_0x53906d),this['_modelUnavailableMessageView']=this['_createModelUnavailableMessageView'](_0x53906d),this['_dropZoneView']=new _0x45e353(_0x53906d),this['_shouldRestorePromptInputFocus']=!0x1,this['_promptInputView']['delegate']('sendUserMessage','promptInputPaste')['to'](this),this['_dropZoneView']['delegate']('promptInputPaste')['to'](this),this['_dropZoneView']['on']('dragEnter',()=>this['_contextPanelView']['hideAllBalloons']()),this['_loaderView']['delegate']('abortPromptStream')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleWebSearch')['to'](this),this['_promptCapabilitiesView']['delegate']('toggleReasoning')['to'](this),this['_promptCapabilitiesView']['delegate']('selectModel')['to'](this),this['_contextPanelView']['delegate'](..._0x53a319)['to'](this),this['set']('isModelAvailable',!0x0),this['set']('isDisabled',!0x1);const _0x13adc0=this['bindTemplate'];this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-ai-chat-controls',_0x13adc0['if']('isDisabled','ck-ai-chat-controls-disabled')]},'children':[{'tag':'div','attributes':{'class':[_0x13adc0['if']('isLoading','ck-hidden',_0x73dd2e=>_0x73dd2e||!this['isModelAvailable']),_0x13adc0['if']('isModelAvailable','ck-hidden',_0x343e85=>!_0x343e85||this['isLoading'])]},'children':[this['_contextPanelView'],this['_promptInputView'],this['_promptCapabilitiesView']]},{'tag':'div','attributes':{'class':[_0x13adc0['if']('isLoading','ck-hidden',_0x565123=>!_0x565123)]},'children':[this['_loaderView']]},{'tag':'div','attributes':{'class':[_0x13adc0['if']('isModelAvailable','ck-hidden',_0x9dbe2=>_0x9dbe2)]},'children':[this['_modelUnavailableMessageView']]},this['_dropZoneView']]}),(0x0,_0x14e616['clickOutsideHandler'])({'emitter':this['_promptInputView'],'activator':()=>this['isLoading'],'contextElements':()=>[this['element']],'callback':()=>{this['_shouldRestorePromptInputFocus']=!0x1;}}),this['on']('change:isLoading',this['_handlePromptInputFocus'],{'priority':'low'});}['render'](){super['render'](),this['_filesEnabled']&&this['_dropZoneView']['attach'](this['element']);}['_createContextPanelView'](_0x5bb6b2,_0x18d104){return new _0x15c171(_0x5bb6b2,_0x18d104);}['_createPromptInputView'](_0x178bd8){return new _0x339f35(_0x178bd8,this['_contextPanelView']['addContextButtonView']);}['_createPromptCapabilitiesView'](_0x36653d){return new _0x4d5ed6(_0x36653d);}['_createLoaderView'](_0x281e1d){return new _0x3c3a5c(_0x281e1d);}['_createModelUnavailableMessageView'](_0x54fca4){const _0x8de47=new _0x5670df(_0x54fca4);return _0x8de47['delegate']('startConversation')['to'](this),_0x8de47;}['_handlePromptInputFocus'](_0x186d70,_0x3ded52,_0x5371c3){_0x5371c3?this['_shouldRestorePromptInputFocus']=!0x0:this['_shouldRestorePromptInputFocus']&&this['_promptInputView']['focus']();}['addContextItem'](_0x442689,_0x54b292){this['_contextPanelView']['addContextItem'](_0x442689,_0x54b292);}['removeContextItem'](_0xaf8901){this['_contextPanelView']['removeContextItem'](_0xaf8901);}['setContextItemLoading'](_0x1199bc,_0x1dbdf4){this['_contextPanelView']['setContextItemLoading'](_0x1199bc,_0x1dbdf4);}['setIsUploadInProgress'](_0x5a3851){this['_promptInputView']['setIsUploadInProgress'](_0x5a3851);}['setConversationContext'](_0x1fdad8){this['_contextPanelView']['setConversationContext'](_0x1fdad8);}['clearPendingContextUI'](){this['_contextPanelView']['clearCurrentContextItems']();}['clearConversationContextUI'](){this['_contextPanelView']['clearConversationContextItems']();}['updateResourceState'](_0x9a41f8,_0x4a0403,_0x294d1a){this['_contextPanelView']['updateResourceState'](_0x9a41f8,_0x4a0403,_0x294d1a);}['setWebSearch'](_0x3ae0a7){this['_promptCapabilitiesView']['setWebSearch'](_0x3ae0a7);}['setReasoning'](_0x2744ba){this['_promptCapabilitiesView']['setReasoning'](_0x2744ba);}['resetMessageInput'](){this['_promptInputView']['reset']();}['setAddContextOptions'](_0x3e80bd){this['_contextPanelView']['setAddContextOptions'](_0x3e80bd);}['setInputPlaceholder'](_0x112397){this['_promptInputView']['setPlaceholderText'](_0x112397);}['setModelList'](_0x4fbed1,_0x163668){this['_promptCapabilitiesView']['setModelList'](_0x4fbed1,_0x163668);}['setModel'](_0x3f2acb){_0x3f2acb?(this['isModelAvailable']=!0x0,this['_promptCapabilitiesView']['setModel'](_0x3f2acb)):this['isModelAvailable']=!0x1;}['enableModelSelector'](){this['_promptCapabilitiesView']['enableModelSelector']();}['disableModelSelector'](_0x58a1e8){this['_promptCapabilitiesView']['disableModelSelector'](_0x58a1e8);}['populateSourceResourceBalloon'](_0x2db469,_0x8cea94,_0xf12d84,_0x1bdd46){this['_contextPanelView']['populateSourceResourceBalloon'](_0x2db469,_0x8cea94,_0xf12d84,_0x1bdd46);}['closeSourceResourceBalloon'](_0x5848c4){this['_contextPanelView']['closeSourceResourceBalloon'](_0x5848c4);}['focusPromptInput'](_0x1ab0bb=!0x1){this['_promptInputView']['focus'](_0x1ab0bb);}['setPromptInputValue'](_0x14e6ac){this['_promptInputView']['queryView']['fieldView']['reset'](),this['_promptInputView']['queryView']['fieldView']['value']=_0x14e6ac;}},_0x5670df=class extends _0x14e616['View']{constructor(_0x2609da){super(_0x2609da);const _0x57a8c4=new _0x14e616['ButtonView'](_0x2609da);_0x57a8c4['set']({'label':_0x2723f0(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_BUTTON'),'withText':!0x0,'class':['ck-ai-chat-controls__start-new-chat-button'],'tooltip':''}),_0x57a8c4['delegate']('execute')['to'](this,'startConversation'),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-controls-model-unavailable-message']},'children':[{'tag':'p','children':[{'text':_0x2723f0(this['locale'],'AI_CHAT_MODEL_UNAVAILABLE_MESSAGE_TEXT')+'\x20'},_0x57a8c4]}]});}},_0x2da371=class extends _0x14e616['FormHeaderView']{['resizeButton'];constructor(_0x34b738,_0x5f2d57){super(_0x34b738,{'label':_0x5f2d57['label'],'class':'ck-ai-header\x20'+_0x5f2d57['class'],'icon':_0x5f2d57['icon']}),this['set']('isMaximized',!0x1),_0x5f2d57['content']&&this['children']['add'](_0x5f2d57['content']),_0x5f2d57['showResizeButton']&&(this['resizeButton']=_0x1c0c90(_0x34b738,this),this['children']['add'](this['resizeButton']));}},_0x233ba7=class extends _0x14e616['View']{constructor(_0x4269c7){super(_0x4269c7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-disclaimer__content']},'children':[{'text':_0x2723f0(_0x4269c7,'AI_DISCLAIMER_TEXT')}]}]});}};function _0x1bffa6(_0x348aba,_0x154ed1){const _0x48576c=new _0x14e616['ButtonView'](_0x348aba);return _0x48576c['set']({'label':_0x2723f0(_0x348aba,'AI_CHAT_LABEL_NEW_CHAT'),'withText':!0x0,'icon':_0x14e616['IconPlus'],'class':'ck-ai-chat__start-conversation\x20'+_0x55009e}),_0x48576c['on']('execute',()=>{_0x154ed1['fire']('startConversation');}),_0x48576c;}var tf=class extends _0x14e616['View']{['chatHeader'];['chatFeed'];['chatControls'];['chatDisclaimer'];['_bodyCollection'];constructor(_0x5603c7,_0x785092){super(_0x5603c7),this['_bodyCollection']=_0x318647(_0x5603c7);const _0x49cd39=_0x1bffa6(_0x5603c7,this);this['chatHeader']=new _0x2da371(_0x5603c7,{'label':_0x2723f0(_0x5603c7,'AI_CHAT_HEADING'),'icon':_0x14e616['IconAIChat'],'class':'ck-ai-header_chat','content':_0x49cd39,'showResizeButton':_0x785092['showResizeButton']}),this['chatHeader']['delegate']('resizeTabs')['to'](this),this['chatFeed']=new _0x57c5b8(_0x5603c7,this['_bodyCollection']),this['chatFeed']['delegate'](..._0x207821)['to'](this),this['chatControls']=new _0x5546e5(_0x5603c7,{'bodyCollection':this['_bodyCollection'],'contextResourcesSearchInputVisibleFrom':_0x785092['contextResourcesSearchInputVisibleFrom'],'filesEnabled':_0x785092['filesEnabled']}),this['chatControls']['delegate'](..._0x207821)['to'](this),this['chatDisclaimer']=new _0x233ba7(_0x5603c7),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat','ck-rounded-corners'],'dir':_0x5603c7['uiLanguageDirection']},'children':[this['chatHeader'],this['chatFeed'],this['chatControls'],this['chatDisclaimer']]});}['populateSourceResourceBalloon'](_0x232f31,_0x521fd1,_0x4e0e30,_0x42a498){this['chatControls']['populateSourceResourceBalloon'](_0x232f31,_0x521fd1,_0x4e0e30,_0x42a498);}['closeSourceResourceBalloon'](_0xf72147){this['chatControls']['closeSourceResourceBalloon'](_0xf72147);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}},_0x906cd4=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[_0xdf3353];}['_view'];static get['pluginName'](){return'AIChatUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['feedItemRenderingStrategy']='streaming';['showDiff']=!0x0;['_promiseQueue'];['_interactionPromiseResolver'];['_titleAnimationInterval']=void 0x0;['_isTrackChangesCommandValueBound']=!0x1;constructor(_0x1ea00c){super(_0x1ea00c);const _0x1bc371=this['context']['plugins']['get']('AITabs');this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x168e72(),this['_view']=new tf(this['context']['locale'],{'showResizeButton':_0x1bc371['showResizeButton'],'contextResourcesSearchInputVisibleFrom':this['context']['config']['get']('ai.chat.context.searchInputVisibleFrom'),'filesEnabled':!0x1!==this['context']['config']['get']('ai.chat.context.files.enabled')}),this['_view']['delegate']('resizeTabs')['to'](_0x1bc371),this['_view']['delegate'](..._0x207821)['to'](this),this['_view']['on']('toggleSuggestionDisplayMode',(_0x5f4acd,{showDiff:_0x321758})=>{this['showDiff']=_0x321758;}),this['disableControls'](),_0x1bc371['view']['addTab']({'id':'chat','buttonLabel':_0x2723f0(this['context']['locale'],'AI_CHAT_HEADING'),'buttonIcon':_0x14e616['IconAIChat'],'order':0x0,'content':this['_view']}),this['_view']['chatHeader']['bind']('isMaximized')['to'](_0x1bc371['view'],'isMaximized',_0x17a083=>_0x17a083),this['_view']['chatControls']['bind']('isLoading')['to'](this,'isBusy',_0x641c18=>_0x641c18),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']()),this['bind']('isModelAvailable')['to'](this['_view']['chatControls'],'isModelAvailable');}['destroy'](){super['destroy'](),this['_titleAnimationInterval']&&clearInterval(this['_titleAnimationInterval']);}['createConversation'](_0x3fe13c){const _0x41e91c=this['context']['config']['get']('ai.chat.welcomeMessage')??_0x2723f0(this['context']['locale'],'AI_CHAT_WELCOME_MESSAGE');this['_view']['chatFeed']['clear'](),this['_view']['chatControls']['enableModelSelector'](),this['_view']['chatControls']['setModelList'](_0x3fe13c['availableModels'],!this['context']['config']['get']('ai.models.showModelSelector')),this['addFeedItemStaticMessage']({'id':'conversation-start','staticMessage':_0x41e91c}),this['fire']('conversationCreated');}async['addFeedItemStaticMessage']({id:_0x353488,staticMessage:_0x53dc93}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x353488,'initialContent':'<p>'+_0x53dc93+'</p>'});});}async['addFeedItemUserMessage'](_0x4fabe5){const _0x596444=_0x4fabe5['attributes']?.['displayedPrompt']||_0x4fabe5['userMessage'];return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('user-message',{'contextItems':Array['from'](_0x4fabe5['contextItems']['values']()),'initialContent':'<p>'+_0x596444+'</p>','id':_0x4fabe5['id']});});}async['addFeedItemError']({errorMessage:_0xe14502,id:_0x53132d}){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('error-message',{'initialContent':'<p>'+_0xe14502+'</p>','id':_0x53132d});});}async['addFeedItemAIReply'](_0x15aa85){return this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-reply',{'id':_0x15aa85['interactionId']+':'+_0x15aa85['id']}),this['clearLoadingMessage']();});}async['addFeedItemAISuggestion'](_0x4d20ba){const _0x363153=_0x5477c5(this['context']),_0x3e9c1e=_0x363153['map'](_0x193488=>_0x193488['config']['get']('ai.availableReplyActions')||[..._0x30d553]);let _0x301de7=_0x3e9c1e['reduce']((_0x397ebe,_0x171015)=>_0x397ebe['filter'](_0x4dc7a7=>_0x171015['includes'](_0x4dc7a7)),_0x3e9c1e[0x0]||[..._0x30d553]);const _0x2c3f9f=_0x363153['every'](_0x412cf2=>_0x412cf2['plugins']['has']('TrackChanges')),_0x185256=_0x363153['map'](_0x3cdaab=>_0x3cdaab['commands']['get']('trackChanges'));return _0x2c3f9f?this['_isTrackChangesCommandValueBound']||(this['_isTrackChangesCommandValueBound']=!0x0,this['_view']['chatFeed']['bind']('isTrackChangesOn')['toMany'](_0x185256,'value',(..._0x1c6456)=>_0x1c6456['some'](_0x4a2a1b=>_0x4a2a1b))):_0x301de7=_0x301de7['filter'](_0x40e15f=>'insertSuggestion'!=_0x40e15f),this['_promiseQueue']['enqueue'](async()=>{this['_view']['chatFeed']['addItem']('ai-suggestion-reply',{'id':_0x4d20ba['interactionId']+':'+_0x4d20ba['id'],'areActionsDisabled':_0x4d20ba['areActionsDisabled'],'showDiff':this['showDiff'],'availableActions':_0x301de7}),this['clearLoadingMessage']();});}async['addFeedInteractionHeader'](_0x1a573d,_0x5ac385){return this['_promiseQueue']['enqueue'](async()=>{const _0x42e2fe=this['_view']['chatFeed']['children']['last'];if(_0x42e2fe instanceof _0x4f04d0)return this['_view']['chatFeed']['children']['remove'](_0x42e2fe),void this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x1a573d['id'],'capabilities':{'isWebSearchEnabled':_0x42e2fe['capabilities']['isWebSearchEnabled']||_0x5ac385['isWebSearchEnabled'],'isReasoningEnabled':_0x42e2fe['capabilities']['isReasoningEnabled']||_0x5ac385['isReasoningEnabled']}});this['_view']['chatFeed']['addItem']('interaction-header',{'id':_0x1a573d['id'],'capabilities':_0x5ac385});});}async['addFeedItemCustomElement'](_0x573932,_0x268221){let _0x48fe5c;return await this['_promiseQueue']['enqueue'](async()=>{_0x48fe5c=this['_view']['chatFeed']['addItem']('custom-element',{'content':_0x573932,'id':_0x268221});}),_0x48fe5c;}['removeFeedItem'](_0xcd8f6a){this['_view']['chatFeed']['removeItem'](_0xcd8f6a);}['hasFeedItem'](_0x58f313){return this['_view']['chatFeed']['hasItem'](_0x58f313);}['updateFeedInteractionHeader'](_0x4c9f5d){const _0x3e8497=this['_view']['chatFeed']['children']['find'](_0x1de921=>_0x1de921['options']['id']==_0x4c9f5d['id']&&_0x1de921 instanceof _0x4f04d0);_0x3e8497&&_0x3e8497['set']('isVisible',_0x4c9f5d['isVisible']);}async['updateFeedItemAIReplyContent'](_0x529139){const _0x1673e2=_0x529139['renderingStrategy']||this['feedItemRenderingStrategy'];return this['_promiseQueue']['enqueue'](async _0x243202=>{await this['_view']['chatFeed']['updateReplyItem']({..._0x529139,'abortSignal':_0x243202,'renderingStrategy':_0x1673e2}),_0x529139['isDone']&&this['markFeedItemAsDone'](_0x529139['id']);});}['updateFeedItemAIReplySources'](_0x23509a,_0x4e29b1){this['_view']['chatFeed']['updateWebSources'](_0x23509a,_0x4e29b1);}async['updateFeedItemAIReplySuggestionContent'](_0xa33977){return this['_promiseQueue']['enqueue'](async _0x45fba6=>{await this['_view']['chatFeed']['updateSuggestionItem']({..._0xa33977,'abortSignal':_0x45fba6}),_0xa33977['isDone']&&this['markFeedItemAsDone'](_0xa33977['id']);});}['updateFeedItemAIReplySuggestionPartState'](_0x7f9bf6){this['_view']['chatFeed']['updateSuggestionPartState'](_0x7f9bf6);}['setFeedItemAIReplySuggestionPartActive'](_0x37c373){this['_view']['chatFeed']['setSuggestionPartActive'](_0x37c373);}['markFeedItemAsDone'](_0x5173c3){this['_view']['chatFeed']['markItemAsDone'](_0x5173c3);}['removeFeedInteraction'](_0x54dd55){this['_view']['chatFeed']['getItemIds']()['filter'](_0x55329a=>_0x55329a['startsWith'](_0x54dd55))['forEach'](_0x5d0526=>this['_view']['chatFeed']['removeItem'](_0x5d0526));}['startInteraction'](){const _0x4443a1=this['prepareLoadingMessage']({'isWebSearchEnabled':!0x1,'isReasoningEnabled':!0x1});this['setLoadingMessage'](_0x4443a1),this['_view']['chatControls']['disableModelSelector'](!this['context']['config']['get']('ai.models.showModelSelector')),this['isBusy']=!0x0,this['_view']['chatFeed']['startAutoScroll']();}['stopInteraction'](_0x301b85){this['_promiseQueue']['abort'](),this['_view']['chatFeed']['getItemIds']()['filter'](_0x395614=>_0x395614['startsWith'](_0x301b85['id']))['forEach'](_0x52def8=>this['markFeedItemAsDone'](_0x52def8)),this['isBusy']=!0x1,this['clearLoadingMessage'](),this['_view']['chatFeed']['stopAutoScroll']();}async['finishInteraction'](){return this['_promiseQueue']['queueEmptyPromise']['then'](()=>{this['isBusy']=!0x1,this['clearLoadingMessage'](),this['_view']['chatFeed']['stopAutoScroll']();});}['addContextItem'](_0x3e1d6f,_0x2babd7){this['_view']['chatControls']['addContextItem'](_0x3e1d6f,_0x2babd7);}['removeContextItem'](_0x13778e){this['_view']['chatControls']['removeContextItem'](_0x13778e);}['setContextItemLoading'](_0x64733b,_0x25db97){this['_view']['chatControls']['setContextItemLoading'](_0x64733b,_0x25db97);}['setIsUploadInProgress'](_0x5df434){this['_view']['chatControls']['setIsUploadInProgress'](_0x5df434);}['setConversationContext'](_0x567d5f){this['_view']['chatControls']['setConversationContext'](_0x567d5f);}['clearPendingContextUI'](){this['_view']['chatControls']['clearPendingContextUI']();}['clearConversationContextUI'](){this['_view']['chatControls']['clearConversationContextUI']();}['updateResourceState'](_0x5e4243,_0x152199,_0x261058){this['_view']['chatControls']['updateResourceState'](_0x5e4243,_0x152199,_0x261058);}['resetMessageInput'](){this['_view']['chatControls']['resetMessageInput'](),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder']());}['setAddContextOptions'](_0x4a2c47){this['_view']['chatControls']['setAddContextOptions'](_0x4a2c47);}['updateCapabilities'](_0x498fc6){this['_view']['chatControls']['setWebSearch'](_0x498fc6['isWebSearchEnabled']),this['_view']['chatControls']['setReasoning'](_0x498fc6['isReasoningEnabled']),this['_view']['chatControls']['setInputPlaceholder'](this['_getInputPlaceholder'](_0x498fc6));}['setSelectedModel'](_0x3aa3f5,_0x551aa1){this['_view']['chatControls']['setModel'](_0x3aa3f5),_0x551aa1&&this['_view']['chatControls']['disableModelSelector'](!0x1);}['setFeedItemRenderingStrategy'](_0x1045a4){this['feedItemRenderingStrategy']=_0x1045a4;}['toggleLoadingSkeleton'](_0x3d618b){this['_view']['chatFeed']['toggleLoadingSkeleton'](_0x3d618b);}['resetConversationTitle'](){this['setConversationTitle'](_0x2723f0(this['context']['locale'],'AI_CHAT_HEADING'));}['emptyConversationTitle'](){this['setConversationTitle']('');}['setConversationTitle'](_0x5adb07,_0x1b10f3=!0x1){if(clearInterval(this['_titleAnimationInterval']),_0x1b10f3&&!(0x0,_0x14e616['_isMotionReduced'])()&&_0x5adb07['length'])return this['_view']['chatHeader']['label']='',void this['_animateConversationTitle'](_0x5adb07);this['_view']['chatHeader']['label']=_0x5adb07;}['setLoadingMessage'](_0x467f82){this['_view']['chatFeed']['setLoadingMessage'](_0x467f82);}['clearLoadingMessage'](){this['_view']['chatFeed']['setLoadingMessage']('');}['_animateConversationTitle'](_0x1de2dd){let _0x21467b=0x0;this['_titleAnimationInterval']=setInterval(()=>{this['_view']['chatHeader']['label']=this['_view']['chatHeader']['label']+_0x1de2dd[_0x21467b],_0x21467b++,_0x21467b===_0x1de2dd['length']&&clearInterval(this['_titleAnimationInterval']);},0x1e);}['prepareLoadingMessage'](_0x2a6809){return _0x2a6809['isWebSearchEnabled']&&_0x2a6809['isReasoningEnabled']?_0x2723f0(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH_REASONING'):_0x2a6809['isWebSearchEnabled']?_0x2723f0(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_WEBSEARCH'):_0x2a6809['isReasoningEnabled']?_0x2723f0(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REASONING'):_0x2723f0(this['context']['locale'],'AI_CHAT_FEED_LOADING_MESSAGE_REGULAR');}['_getInputPlaceholder'](_0x4f861e){return _0x4f861e?_0x4f861e['isWebSearchEnabled']&&_0x4f861e['isReasoningEnabled']?_0x2723f0(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH_REASONING'):_0x4f861e['isWebSearchEnabled']?_0x2723f0(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_WEBSEARCH'):_0x4f861e['isReasoningEnabled']?_0x2723f0(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REASONING'):_0x2723f0(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR'):_0x2723f0(this['context']['locale'],'AI_CHAT_PROMPT_INPUT_PLACEHOLDER_REGULAR');}['populateSourceResourceBalloon'](_0x1b6c21,_0x29e356,_0x376839,_0x21d298){this['_view']['populateSourceResourceBalloon'](_0x1b6c21,_0x29e356,_0x376839,_0x21d298);}['closeSourceResourceBalloon'](_0x133d5e){this['_view']['closeSourceResourceBalloon'](_0x133d5e);}['setPromptInputValue'](_0x34b6c6){this['_view']['chatControls']['setPromptInputValue'](_0x34b6c6);}['focusPromptInput'](_0x111500=!0x1){this['_view']['chatControls']['focusPromptInput'](_0x111500);}['scrollFeedToSuggestion'](_0x16f368,_0x3679ff){this['_view']['chatFeed']['scrollToSuggestion'](_0x16f368,_0x3679ff);}['startAutoScroll'](_0x13277f={}){this['_view']['chatFeed']['startAutoScroll'](_0x13277f);}['disableControls'](){this['_view']['chatControls']['isDisabled']=!0x0;}['enableControls'](){this['_view']['chatControls']['isDisabled']=!0x1;}},_0x3eac92=class extends _0x14e616['ListView']{['sections'];constructor(_0x86f4e8,_0x25d00d){super(_0x86f4e8),this['sections']=_0x25d00d,this['items']['addMany'](this['sections']),this['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__sections']}});}['filter'](_0x283afa){let _0x41c1fd=0x0,_0x5291b3=0x0;for(const _0x390874 of this['sections']){const {resultsCount:_0x258a08,totalItemsCount:_0x2691af}=_0x390874['filter'](_0x283afa);_0x41c1fd+=_0x258a08,_0x5291b3+=_0x2691af;}return{'resultsCount':_0x41c1fd,'totalItemsCount':_0x5291b3};}},_0x489290=class extends _0x14e616['ListItemView']{['title'];['itemsViews'];['_itemsListView'];constructor(_0x9d4e16,{title:_0x2b5017,items:_0x55ec1a}){super(_0x9d4e16);const _0x194fe5=this['bindTemplate'];this['set']('isVisible',!0x0),this['title']=_0x2b5017,this['itemsViews']=_0x55ec1a;const _0x1d1a43=new _0x14e616['View'](_0x9d4e16);_0x1d1a43['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__section-title']},'children':[this['title']]}),this['_itemsListView']=new _0x14e616['ListView'](_0x9d4e16),this['_itemsListView']['items']['addMany'](this['itemsViews']),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__section',_0x194fe5['if']('isVisible','ck-hidden',_0x3f787b=>!_0x3f787b)]},'children':[_0x1d1a43,this['_itemsListView']]});}['filter'](_0x129c0b){const _0x3c2ad2=this['itemsViews']['length'];let _0x941978=0x0;for(const _0x10a671 of this['itemsViews'])_0x129c0b?(_0x10a671['isVisible']=!!_0x10a671['isMatching'](_0x129c0b),_0x10a671['highlightText'](_0x129c0b)):(_0x10a671['isVisible']=!0x0,_0x10a671['highlightText'](null)),_0x10a671['isVisible']&&_0x941978++;return this['isVisible']=_0x941978>0x0,{'resultsCount':_0x941978,'totalItemsCount':_0x3c2ad2};}['getItem'](_0x5ec0ce){return this['itemsViews']['find'](_0x354941=>_0x354941['id']===_0x5ec0ce);}['removeItem'](_0x4a2bb4){const _0x986c8c=this['itemsViews']['indexOf'](_0x4a2bb4);-0x1!==_0x986c8c&&(this['itemsViews']['splice'](_0x986c8c,0x1),this['_itemsListView']['items']['remove'](_0x4a2bb4));}};const _0x3d5dbd=/* #__PURE__ -- @preserve */
_0x5ce719(_0x14e616['ListItemView']);var _0x34f2e2=class AIChatHistoryListItemView extends _0x3d5dbd{['id'];static ['LOADING_LABELS']={'remove':'AI_CHAT_HISTORY_LOADING_REMOVING','rename':'AI_CHAT_HISTORY_LOADING_RENAMING','pin':'AI_CHAT_HISTORY_LOADING_PINNING','unpin':'AI_CHAT_HISTORY_LOADING_UNPINNING'};['actions'];['mainContent'];['_titleView'];constructor(_0x2c6013,_0x293587){super(_0x2c6013);const _0x1cc35e=this['bindTemplate'];this['set']('isEdit',!0x1),this['set']('isVisible',!0x0),this['set']('pinned',!!_0x293587['pinned']),this['set']('loadingState',null),this['set']('title',_0x293587['title']),this['id']=_0x293587['id'];const {createdAt:_0x75b0a3,active:_0x36db78=!0x1}=_0x293587;this['_titleView']=new _0x14e616['HighlightedTextView'](),this['_titleView']['bind']('text')['to'](this,'title'),this['_titleView']['extendTemplate']({'attributes':{'class':['ck-ai-chat-history__item-title']}});const _0x8b661c=this['_createCheckView'](),_0x38297e=this['_createPinButtonView'](_0x2c6013),_0x2f23ef=this['_createMenuDropdownView'](),_0x525f1d=this['_createEditInputView'](_0x2c6013),_0x3db903=this['_createAcceptEditButtonView'](_0x2c6013,_0x525f1d),_0x51e829=this['_createCancelEditButtonView'](_0x2c6013);this['actions']=this['createCollection'](),this['mainContent']=this['createCollection'](),this['mainContent']['add'](this['_titleView']),this['actions']['add'](_0x38297e),this['actions']['add'](_0x2f23ef),this['on']('change:isEdit',(_0x799b48,_0x2af56f,_0x2bd79f)=>{this['actions']['clear'](),this['mainContent']['clear'](),_0x2bd79f?(this['actions']['add'](_0x3db903),this['actions']['add'](_0x51e829),this['mainContent']['add'](_0x525f1d),_0x525f1d['element']['value']=this['title']||'',_0x525f1d['element']['focus']()):(this['actions']['add'](_0x38297e),this['actions']['add'](_0x2f23ef),this['mainContent']['add'](this['_titleView']));}),this['setTemplate']({'tag':'li','attributes':{'class':['ck-ai-chat-history__item',_0x36db78?'ck-ai-chat-history__item--active':'',_0x1cc35e['if']('isVisible','ck-hidden',_0x169189=>!_0x169189),_0x1cc35e['if']('isEdit','ck-ai-chat-history__item--edit')],'role':'listitem'},'children':[{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-check-container']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-check',_0x1cc35e['if']('loadingState','ck-hidden',_0x2cdc63=>!!_0x2cdc63)]},'children':_0x36db78?[_0x8b661c]:[]},{'tag':'div','attributes':{'class':['ck-ai-loader',_0x1cc35e['if']('loadingState','ck-hidden',_0x227a1f=>!_0x227a1f)]},'children':[this['_createSpinnerView']()]}]},{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-row']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-content']},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-title-container',_0x1cc35e['if']('loadingState','ck-hidden',_0x2a45c1=>!!_0x2a45c1)]},'children':this['mainContent']},{'tag':'div','attributes':{'class':['ck-ai-loader__text',_0x1cc35e['if']('loadingState','ck-hidden',_0x54fe35=>!_0x54fe35)]},'children':[{'text':_0x1cc35e['to']('loadingState',_0xce19a7=>_0xce19a7?_0x2723f0(this['locale'],AIChatHistoryListItemView['LOADING_LABELS'][_0xce19a7]):'')}]}]},{'tag':'span','attributes':{'class':['ck-ai-chat-history__item-date']},'children':[_0x75b0a3]}]},{'tag':'div','attributes':{'class':['ck-ai-chat-history__item-actions']},'children':this['actions']}]}]}),this['on']('click',()=>{this['isEdit']||this['fire']('selectConversation',{'id':this['id']});});}['updateTitle'](_0x5ac42a){this['set']('title',_0x5ac42a);}['updateLoadingState'](_0x40dbca,_0x159054){this['set']('loadingState',_0x159054?_0x40dbca:null);}['_createCheckView'](){const _0x1ddf67=new _0x14e616['IconView']();return _0x1ddf67['set']({'content':_0x14e616['IconCheck']}),_0x1ddf67;}['_createPinButtonView'](_0x493a75){const _0x31b8da=new _0x14e616['ButtonView'](_0x493a75);return _0x31b8da['set']({'label':_0x2723f0(_0x493a75,'AI_CHAT_HISTORY_PIN_BUTTON'),'icon':_0x14e616['IconPin'],'withText':!0x1,'tooltip':!0x0}),_0x31b8da['bind']('isOn')['to'](this,'pinned'),_0x31b8da['on']('execute',()=>{const _0x20019e=!this['pinned'];this['fire']('setConversationPinned',{'id':this['id'],'pinned':_0x20019e});}),_0x31b8da;}['_createMenuDropdownView'](){const _0x32e020=(0x0,_0x14e616['createDropdown'])(this['locale']),_0x516ab3=_0x32e020['panelView']['children'];_0x32e020['buttonView']['set']({'label':_0x2723f0(this['locale'],'AI_CHAT_HISTORY_SHOW_MORE_ITEMS'),'icon':_0x14e616['IconThreeHorizontalDots']}),_0x32e020['panelPosition']='sw';const _0x1af3ef=new _0x14e616['ButtonView'](this['locale']);_0x1af3ef['label']=_0x2723f0(this['locale'],'AI_CHAT_HISTORY_EDIT_NAME'),_0x1af3ef['withText']=!0x0,_0x1af3ef['on']('execute',()=>{this['isEdit']=!0x0;});const _0x4f3ada=new _0x14e616['ButtonView'](this['locale']);_0x4f3ada['label']=_0x2723f0(this['locale'],'AI_CHAT_HISTORY_REMOVE'),_0x4f3ada['withText']=!0x0,_0x4f3ada['on']('execute',()=>{this['showConfirm'](_0x2723f0(this['locale'],'AI_CHAT_HISTORY_REMOVE_CONFIRM'),this['element'])['then'](()=>{this['fire']('removeConversation',{'id':this['id']});});});const _0xc4c02=new _0x14e616['ListView'](this['locale']),_0x513d31=new _0x14e616['ListItemView'](this['locale']);_0x513d31['children']['add'](_0x1af3ef);const _0xe97b47=new _0x14e616['ListItemView'](this['locale']);return _0xe97b47['children']['add'](_0x4f3ada),_0xc4c02['items']['addMany']([_0x513d31,_0xe97b47]),_0x516ab3['add'](_0xc4c02),_0x32e020;}['_createEditInputView'](_0x20cd0c){const _0x42e025=new _0x14e616['InputTextView'](_0x20cd0c),_0x1ddefb=_0x42e025['bindTemplate'];return _0x42e025['extendTemplate']({'on':{'keydown':_0x1ddefb['to'](_0x4449ea=>{'Enter'==_0x4449ea['key']&&this['_commitEditInputValue'](_0x42e025);})}}),_0x42e025;}['_createAcceptEditButtonView'](_0x4ceb29,_0x233253){const _0xd222b=new _0x14e616['ButtonView'](_0x4ceb29);return _0xd222b['set']({'icon':_0x14e616['IconCheck'],'withText':!0x1,'tooltip':_0x2723f0(_0x4ceb29,'AI_CHAT_HISTORY_ACCEPT')}),_0xd222b['extendTemplate']({'attributes':{'class':['ck-confirm-view-submit']}}),_0xd222b['on']('execute',()=>{this['_commitEditInputValue'](_0x233253);}),_0xd222b;}['_commitEditInputValue'](_0x52f586){const _0x1fc9bc=_0x52f586['element']['value']||'';this['isEdit']=!0x1,this['fire']('editConversationTitle',{'id':this['id'],'title':_0x1fc9bc});}['_createCancelEditButtonView'](_0x4cb1be){const _0x3c783b=new _0x14e616['ButtonView'](_0x4cb1be);return _0x3c783b['set']({'icon':_0x14e616['IconCancel'],'withText':!0x1,'tooltip':_0x2723f0(_0x4cb1be,'AI_CHAT_HISTORY_CANCEL')}),_0x3c783b['extendTemplate']({'attributes':{'class':['ck-confirm-view-cancel']}}),_0x3c783b['on']('execute',()=>{this['isEdit']=!0x1,this['fire']('edit:cancel');}),_0x3c783b;}['_createSpinnerView'](){const _0x25fbd3=new _0x31ea16('tiny');return _0x25fbd3['isVisible']=!0x0,_0x25fbd3;}['isMatching'](_0x10b99d){return'string'==typeof this['title']&&this['title']['match'](_0x10b99d)?{'title':!0x0}:null;}['highlightText'](_0x1ee1f3){this['_titleView']['highlightText'](_0x1ee1f3);}},_0x3ac8db=class extends _0x14e616['View']{['headerView'];['searchView'];['mainErrorView'];['skeletonView'];['emptyView'];['sectionsView'];constructor(_0x1444d2,_0x3b6fb5){super(_0x1444d2),this['set']('hasItems',!0x1),this['set']('isLoading',!0x0),this['set']('errorMessage',''),this['set']('isSearchViewVisible',!0x1),this['set']('isEmptyViewVisible',!0x1),this['set']('isMainErrorViewVisible',!0x1);const _0x59a142=_0x1bffa6(_0x1444d2,this);this['headerView']=new _0x2da371(_0x1444d2,{'label':_0x2723f0(_0x1444d2,'AI_CHAT_HISTORY_HEADING'),'icon':_0x14e616['IconAIHistory'],'class':'ck-ai-header_history','content':_0x59a142,'showResizeButton':_0x3b6fb5}),this['headerView']['delegate']('resizeTabs')['to'](this),this['sectionsView']=new _0x3eac92(_0x1444d2,[]),this['sectionsView']['delegate'](..._0x1cba2b)['to'](this),this['mainErrorView']=this['_createErrorView'](),this['skeletonView']=this['_createSkeletonView'](),this['emptyView']=this['_createEmptyStateView'](),this['searchView']=this['_createSearchView'](),this['mainErrorView']['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isMainErrorViewVisible','ck-hidden',_0x289669=>!_0x289669)]}}),this['on']('change:isLoading',()=>this['_updateViewVisibility']()),this['on']('change:hasItems',()=>this['_updateViewVisibility']()),this['on']('change:errorMessage',()=>this['_updateViewVisibility']()),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-chat-history','ck-rounded-corners'],'dir':'ltr'},'children':[this['headerView'],{'tag':'div','attributes':{'class':['ck-ai-chat-history__content']},'children':[this['skeletonView'],this['mainErrorView'],this['emptyView'],this['searchView']]}]});}['_updateViewVisibility'](){this['isSearchViewVisible']=!this['isLoading']&&this['hasItems'],this['isEmptyViewVisible']=!this['isLoading']&&!this['hasItems']&&!this['errorMessage'],this['isMainErrorViewVisible']=!this['isSearchViewVisible']&&!!this['errorMessage'];}['_createSearchView'](){const _0x2631a6=new _0x14e616['SearchTextView'](this['locale'],{'filteredView':this['sectionsView'],'queryView':{'label':_0x2723f0(this['locale'],'AI_CHAT_HISTORY_SEARCH_LABEL')},'infoView':{'text':{'notFound':{'primary':_0x455a57=>_0x2723f0(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_PRIMARY',_0x455a57),'secondary':_0x2723f0(this['locale'],'AI_CHAT_HISTORY_SEARCH_NOT_FOUND_SECONDARY')}}}}),_0x4dda65=this['_createErrorView']();return _0x4dda65['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('errorMessage','ck-hidden',_0x56f947=>!_0x56f947)]}}),_0x2631a6['on']('render',()=>{_0x2631a6['children']['add'](_0x4dda65,0x1);}),_0x2631a6['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isSearchViewVisible','ck-hidden',_0x561366=>!_0x561366)]}}),_0x2631a6;}['_createSkeletonView'](){const _0x2b72e4=new _0x4de9ea(this['locale'],_0x54f06e['aiHistory']);return _0x2b72e4['bind']('isVisible')['to'](this,'isLoading'),_0x2b72e4;}['_createErrorView'](){const _0x347981=new _0x14e616['View'](this['locale']),_0x41b9f3=new _0x14e616['ButtonView'](this['locale']);_0x41b9f3['set']({'withText':!0x1,'icon':_0x14e616['IconCancel'],'class':'ck-ai-notification_error__dismiss-button'}),_0x41b9f3['bind']('isVisible')['to'](this,'hasItems',_0x3e9d7a=>!!_0x3e9d7a),_0x41b9f3['on']('execute',()=>{this['errorMessage']='';});const _0x2092c9=this['bindTemplate'];return _0x347981['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error']},'children':[{'tag':'p','children':[{'text':_0x2092c9['to']('errorMessage')}]},_0x41b9f3]}),_0x347981;}['_createEmptyStateView'](){const _0x49b358=new _0x14e616['View'](this['locale']);return _0x49b358['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-history__empty',this['bindTemplate']['if']('isEmptyViewVisible','ck-hidden',_0x49b8bd=>!_0x49b8bd)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-chat-history__empty-message']},'children':[_0x2723f0(this['locale'],'AI_CHAT_HISTORY_EMPTY_MESSAGE')]}]}),_0x49b358;}['_createListItemViews'](_0x4b3871,_0x3d546d){const _0x588fee=[];for(const _0x59425a of _0x4b3871){const _0x2684d0=new _0x34f2e2(_0x3d546d,_0x59425a);_0x2684d0['delegate'](..._0x1cba2b)['to'](this),_0x588fee['push'](_0x2684d0);}return _0x588fee;}['updateHistoryItemsWithCategories'](_0x5267d0){const _0x5ef3e2=this['locale']||'en',_0x2a641d=[];for(const _0x3f8540 of _0x5267d0){const _0x267580=this['_createListItemViews'](_0x3f8540['items'],_0x5ef3e2);_0x2a641d['push'](new _0x489290(_0x5ef3e2,{'title':_0x3f8540['title'],'items':_0x267580}));}this['sectionsView']['sections']=_0x2a641d,this['sectionsView']['items']['clear'](),this['sectionsView']['items']['addMany'](_0x2a641d),this['hasItems']=_0x5267d0['some'](_0x33ca38=>_0x33ca38['items']['length']>0x0),this['_refreshSearch']();}['removeHistoryItem'](_0x1c8018){for(const _0xd93cd8 of this['sectionsView']['sections']){const _0x542855=_0xd93cd8['getItem'](_0x1c8018);if(_0x542855){if(_0xd93cd8['removeItem'](_0x542855),0x0===_0xd93cd8['itemsViews']['length']){const _0x51ba81=this['sectionsView']['sections']['indexOf'](_0xd93cd8);-0x1!==_0x51ba81&&(this['sectionsView']['sections']['splice'](_0x51ba81,0x1),this['sectionsView']['items']['remove'](_0xd93cd8));}this['hasItems']=this['sectionsView']['sections']['length']>0x0,this['_refreshSearch']();break;}}}['updateItemTitle'](_0x2aecb7,_0x4d4a4b){for(const _0x277d27 of this['sectionsView']['sections']){const _0xd39af4=_0x277d27['getItem'](_0x2aecb7);if(_0xd39af4){_0xd39af4['updateTitle'](_0x4d4a4b);break;}}}['updateItemLoadingState'](_0x42114b,_0x28a151,_0x1db3f1){for(const _0x433abe of this['sectionsView']['sections']){const _0x1d1fce=_0x433abe['getItem'](_0x42114b);if(_0x1d1fce){_0x1d1fce['updateLoadingState'](_0x28a151,_0x1db3f1);break;}}}['_refreshSearch'](){if(this['hasItems']){const _0x2ffc7e=this['searchView']['queryView']['fieldView']?.['element']?.['value']||'';this['searchView']['search'](_0x2ffc7e);}}};const _0x1cba2b=['showConversationHistory','removeConversation','editConversationTitle','setConversationPinned','selectConversation','startConversation'];var _0x2d7152=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[_0xdf3353];}['_historyView'];static get['pluginName'](){return'AIChatHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1b479a){super(_0x1b479a);const _0x332012=this['context']['plugins']['get']('AITabs');this['_historyView']=new _0x3ac8db(this['context']['locale'],_0x332012['showResizeButton']),this['_historyView']['delegate']('resizeTabs')['to'](_0x332012),this['_historyView']['delegate'](..._0x1cba2b)['to'](this),this['_historyView']['headerView']['bind']('isMaximized')['to'](_0x332012['view'],'isMaximized',_0x39adc7=>_0x39adc7),_0x332012['view']['addTab']({'id':'history','buttonLabel':_0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_HEADING'),'buttonIcon':_0x14e616['IconAIHistory'],'order':0x0,'content':this['_historyView']});}['removeHistoryItem'](_0x4a124f){this['_historyView']['removeHistoryItem'](_0x4a124f);}['updateItems'](_0x1d020d){this['_historyView']['updateHistoryItemsWithCategories'](_0x1d020d);}['updateItemTitle'](_0x42e01c,_0x460c34){this['_historyView']['updateItemTitle'](_0x42e01c,_0x460c34);}['updateItemLoadingState'](_0x2ae457,_0xcfab,_0x33b1c8){this['_historyView']['updateItemLoadingState'](_0x2ae457,_0xcfab,_0x33b1c8);}['setLoadingSkeleton'](_0x2a6aaf){this['_historyView']['isLoading']=_0x2a6aaf;}['showError'](_0x4322b2){this['_historyView']['errorMessage']=_0x4322b2;}['hideError'](){this['_historyView']['errorMessage']='';}};const _0x3085a3=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x37ee13=class extends _0x3085a3{['id'];['createdAt'];constructor({id:_0x16802c,title:_0x13c787,createdAt:_0x4cd8fe,updatedAt:_0x5bf932,pinned:_0x5aaa76}){super(),this['id']=_0x16802c,this['createdAt']=new Date(_0x4cd8fe),this['set']('title',_0x13c787),this['set']('updatedAt',_0x5bf932?new Date(_0x5bf932):null),this['set']('pinned',_0x5aaa76||!0x1);}['updateTitle'](_0x499379){this['set']('title',_0x499379),this['updatedAt']=new Date();}['updatePinned'](_0x2bc675){this['set']('pinned',_0x2bc675),this['updatedAt']=new Date();}};const _0x33f795=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['EmitterMixin'])();var _0x337c35=class extends _0x33f795{['items']=[];['connector'];['group'];constructor({connector:_0x510d8e,group:_0xf6c67e}){super(),this['connector']=_0x510d8e,this['group']=_0xf6c67e;}async['init'](){try{const _0x42715e=await this['connector']['fetchConversations'](this['group'])['getConversations']();this['loadItems'](_0x42715e);}catch(_0x3fcc21){this['fire']('error',{'error':_0x3fcc21,'operation':'init'});}}['addItem'](_0x2c53af){this['items']['push'](_0x2c53af);}async['removeItem'](_0x458948){const _0x5d76fa=this['items']['findIndex'](_0x4ad4df=>_0x4ad4df['id']===_0x458948);if(-0x1===_0x5d76fa)return!0x1;try{return await this['connector']['deleteConversation'](_0x458948)['execute'](),this['items']['splice'](_0x5d76fa,0x1),this['fire']('itemRemoved',{'itemId':_0x458948}),!0x0;}catch(_0x4f2f03){return this['fire']('error',{'error':_0x4f2f03,'operation':'removeItem','itemId':_0x458948}),!0x1;}}['getItem'](_0x427d65){return this['items']['find'](_0x34574c=>_0x34574c['id']===_0x427d65);}async['updateItemTitle'](_0x2f2d17,_0x4533c1){const _0x4c7459=this['getItem'](_0x2f2d17);if(!_0x4c7459)return!0x1;try{return await this['connector']['updateConversation'](_0x2f2d17,{'title':_0x4533c1})['getResult'](),_0x4c7459['updateTitle'](_0x4533c1),this['fire']('itemUpdated',{'itemId':_0x2f2d17,'updates':{'title':_0x4533c1}}),!0x0;}catch(_0x212faa){return this['fire']('error',{'error':_0x212faa,'operation':'updateItemTitle','itemId':_0x2f2d17}),!0x1;}}async['updateItemPinned'](_0xde88b5,_0x2bbfa9){const _0x274fcb=this['getItem'](_0xde88b5);if(!_0x274fcb)return!0x1;try{return await this['connector']['updateConversation'](_0xde88b5,{'pinned':_0x2bbfa9})['getResult'](),_0x274fcb['updatePinned'](_0x2bbfa9),this['fire']('itemUpdated',{'itemId':_0xde88b5,'updates':{'pinned':_0x2bbfa9}}),!0x0;}catch(_0x29ea8b){return this['fire']('error',{'error':_0x29ea8b,'operation':'updateItemPinned','itemId':_0xde88b5}),!0x1;}}['loadItems'](_0x3b03d8){try{this['items']=[],_0x3b03d8['map'](_0x4a3e91=>{this['addItem'](new _0x37ee13(_0x4a3e91));}),this['fire']('itemsLoaded',{'items':[...this['items']]});}catch(_0x538497){this['fire']('error',{'error':_0x538497,'operation':'loadItems'});}}['getItems'](_0x477b4b={}){const _0x4fe333=void 0x0!==_0x477b4b['pinned']&&_0x477b4b['pinned'],_0x52bc2c=_0x477b4b['from']?new Date(_0x477b4b['from']['getFullYear'](),_0x477b4b['from']['getMonth'](),_0x477b4b['from']['getDate']()):null,_0x3dccc2=_0x477b4b['to']?new Date(_0x477b4b['to']['getFullYear'](),_0x477b4b['to']['getMonth'](),_0x477b4b['to']['getDate']()):null;return this['items']['filter'](_0x4ee479=>{if(_0x4ee479['pinned']!==_0x4fe333)return!0x1;if(_0x3dccc2){const _0xa18f94=new Date(_0x4ee479['createdAt']['getFullYear'](),_0x4ee479['createdAt']['getMonth'](),_0x4ee479['createdAt']['getDate']());return _0x52bc2c?_0x52bc2c['getTime']()===_0x3dccc2['getTime']()?_0xa18f94['getTime']()===_0x52bc2c['getTime']():_0xa18f94<_0x3dccc2&&_0xa18f94>=_0x52bc2c:_0xa18f94<_0x3dccc2;}return!0x0;});}},_0x496394=class extends _0x14e616['ContextPlugin']{['_aiConnector'];['_reporter'];['_aiChatHistoryUi'];['_aiChatController'];static get['requires'](){return[_0x626bfd,_0x47f55c,_0x2aa9e1,_0x2d7152,_0xdf3353];}static get['pluginName'](){return'AIChatHistoryController';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiConnector']=this['context']['plugins']['get'](_0x626bfd),this['_aiChatHistoryUi']=this['context']['plugins']['get'](_0x2d7152),this['_aiChatController']=this['context']['plugins']['get'](_0x2aa9e1),this['_reporter']=this['context']['plugins']['get'](_0x47f55c)['createReporter']('aichathistory');const _0x49cd05=this['context']['plugins']['get'](_0xdf3353);try{const _0x31d4a8=this['_aiChatController']['getGroupId']();this['history']=new _0x337c35({'connector':this['_aiConnector'],'group':_0x31d4a8}),this['listenTo'](this['_aiChatHistoryUi'],'removeConversation',(_0x3f7ab1,_0x42e79d)=>{this['_setItemLoading'](_0x42e79d['id'],'remove'),this['_handleRemove'](_0x42e79d['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'editConversationTitle',(_0x3edcc8,_0x177a72)=>{this['_setItemLoading'](_0x177a72['id'],'rename'),this['_handleEditTitle'](_0x177a72['id'],_0x177a72['title']);}),this['listenTo'](this['history'],'itemUpdated',(_0x2124bf,_0x556417)=>{void 0x0!==_0x556417['updates']['title']&&this['_aiChatHistoryUi']['updateItemTitle'](_0x556417['itemId'],_0x556417['updates']['title']),void 0x0!==_0x556417['updates']['pinned']&&this['_updateHistoryItemsUI'](),this['_clearItemLoading'](_0x556417['itemId']);}),this['listenTo'](this['history'],'itemRemoved',(_0x387e82,_0x4408a2)=>{this['_aiChatController']['_handleRemovedConversation'](_0x4408a2['itemId']),this['_aiChatHistoryUi']['removeHistoryItem'](_0x4408a2['itemId']),this['_clearItemLoading'](_0x4408a2['itemId']);}),this['listenTo'](this['history'],'itemsLoaded',()=>{this['_updateHistoryItemsUI']();}),this['listenTo'](this['history'],'error',(_0x2fb669,_0x17838b)=>{this['_handleHistoryErrorUI'](_0x17838b['error'],_0x17838b['operation'],_0x17838b['itemId']);}),this['listenTo'](this['_aiChatHistoryUi'],'selectConversation',(_0x5d4bef,_0x4dd35a)=>{this['_handleSelectConversation'](_0x4dd35a['id']);}),this['listenTo'](this['_aiChatHistoryUi'],'setConversationPinned',(_0x5dc22a,_0x5d2c3e)=>{const _0x47c57c=_0x5d2c3e['pinned']?'pin':'unpin';this['_setItemLoading'](_0x5d2c3e['id'],_0x47c57c),this['_handleTogglePin'](_0x5d2c3e['id'],_0x5d2c3e['pinned']);}),this['listenTo'](this['_aiChatHistoryUi'],'startConversation',()=>{this['_aiChatController']['startConversation'](),_0x49cd05['view']['activateTab']('chat');}),this['listenTo'](this['_aiChatController'],'change:activeConversation',()=>{this['_updateHistoryItemsUI']();}),_0x49cd05['view']['on']('activateTab:history',()=>{this['_showConversationHistory']();});}catch(_0x48b5ab){this['_handleHistoryErrorUI'](_0x48b5ab,'init');}}async['_handleEditTitle'](_0x1429a7,_0x408e9e){await this['history']['updateItemTitle'](_0x1429a7,_0x408e9e);}async['_handleTogglePin'](_0x5efca4,_0x2e65d7){await this['history']['updateItemPinned'](_0x5efca4,_0x2e65d7);}async['_handleRemove'](_0x4a3f98){await this['history']['removeItem'](_0x4a3f98);}async['_handleSelectConversation'](_0x336599){await this['_aiChatController']['loadConversation'](_0x336599);}async['_showConversationHistory'](){this['_aiChatHistoryUi']['showError'](''),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x0),await this['history']['init'](),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_updateHistoryItemsUI'](){const _0x511dac=this['_aiChatController']['activeConversation']?.['id'],_0x4304dc=this['_getCategorizedItems']()['map'](_0x38e351=>({'title':_0x38e351['title'],'items':_0x38e351['items']['map'](_0x460198=>({'id':_0x460198['id'],'title':_0x460198['title']||_0x2723f0(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION'),'createdAt':new Date(_0x460198['createdAt'])['toLocaleDateString'](),'active':_0x460198['id']===_0x511dac,'pinned':_0x460198['pinned']}))}));this['_aiChatHistoryUi']['updateItems'](_0x4304dc);}['_setItemLoading'](_0x578179,_0x1a7ff4){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x578179,_0x1a7ff4,!0x0);}['_clearItemLoading'](_0x188d50){this['_aiChatHistoryUi']['updateItemLoadingState'](_0x188d50,null,!0x1);}['_handleHistoryErrorUI'](_0x16b9cf,_0xb6205d,_0x212dbb){const _0x2470fd=this['_generateErrorMessage'](_0xb6205d,_0x212dbb);this['_aiChatHistoryUi']['showError'](_0x2470fd),this['_reporter']['reportError'](_0x16b9cf,{'context':{'operation':_0xb6205d}}),_0x212dbb&&this['_clearItemLoading'](_0x212dbb),this['_aiChatHistoryUi']['setLoadingSkeleton'](!0x1);}['_generateErrorMessage'](_0x55810a,_0x117c73){const _0x24d2bf=_0x117c73?this['history']['getItem'](_0x117c73):null,_0x2f3672=_0x24d2bf?.['title']||_0x2723f0(this['context']['locale'],'AI_CHAT_UNTITLED_CONVERSATION');switch(_0x55810a){case'updateItemTitle':return _0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_TITLE',_0x2f3672);case'updateItemPinned':{const _0x23d580=_0x2723f0(this['context']['locale'],_0x24d2bf?.['pinned']?'AI_CHAT_HISTORY_UNPIN_ACTION':'AI_CHAT_HISTORY_PIN_ACTION');return _0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_UPDATE_PINNED',[_0x23d580,_0x2f3672]);}case'removeItem':return _0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_REMOVE_ITEM',_0x2f3672);case'init':case'loadItems':return _0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_LOAD_ITEMS');default:return _0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_ERROR_GENERIC');}}['_getCategorizedItems'](){const _0x426f13=new Date(),_0x54edf0=new Date(_0x426f13['getFullYear'](),_0x426f13['getMonth'](),_0x426f13['getDate']()),_0x51fb20=new Date(_0x54edf0);_0x51fb20['setDate'](_0x51fb20['getDate']()-0x1);const _0x180fe6=new Date(_0x54edf0);_0x180fe6['setDate'](_0x180fe6['getDate']()-0xe);const _0x346e71=this['history']['getItems']({'pinned':!0x0}),_0x205dc0=this['history']['getItems']({'from':_0x54edf0,'to':_0x54edf0}),_0x4fa956=this['history']['getItems']({'from':_0x51fb20,'to':_0x51fb20}),_0x161d5e=this['history']['getItems']({'from':_0x180fe6,'to':_0x51fb20}),_0x424502=this['history']['getItems']({'to':_0x180fe6}),_0x58becb=[];return _0x346e71['length']>0x0&&_0x58becb['push']({'title':_0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_PINNED'),'items':_0x346e71}),_0x205dc0['length']>0x0&&_0x58becb['push']({'title':_0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_TODAY'),'items':_0x205dc0}),_0x4fa956['length']>0x0&&_0x58becb['push']({'title':_0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_YESTERDAY'),'items':_0x4fa956}),_0x161d5e['length']>0x0&&_0x58becb['push']({'title':_0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LAST_14_DAYS'),'items':_0x161d5e}),_0x424502['length']>0x0&&_0x58becb['push']({'title':_0x2723f0(this['context']['locale'],'AI_CHAT_HISTORY_CATEGORY_LATER'),'items':_0x424502}),_0x58becb;}},_0x427693=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[_0x496394,_0x2d7152];}static get['pluginName'](){return'AIChatHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x5e3ccd=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[_0x2aa9e1,_0x11b915,_0x906cd4,_0x427693,_0x477f5d];}static get['pluginName'](){return'AIChat';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5d429e){super(_0x5d429e),this['context']['config']['define']('ai.chat.context',{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[],'alwaysAddSelection':!0x1,'paste':{'textThreshold':0x5dc}}),this['context']['config']['define']('ai.chat.initialConversation','new');}},_0x75f514=class extends _0x14e616['ButtonView']{['id'];constructor(_0x4ece79,_0x4bb30){super(_0x4ece79);const {id:_0x32cd79,type:_0x10bf81,icon:_0x2ea0ae}=_0x4bb30;this['id']=_0x32cd79,this['set']({'label':_0x4bb30['label'],'withText':!0x0,'class':'ck-ai-chat-shortcut'}),this['extendTemplate']({'attributes':{'data-cke-ai-shortcut-id':_0x4bb30['id']}}),_0x2ea0ae?this['icon']=_0x2ea0ae:'chat'===_0x10bf81?this['icon']=_0x14e616['IconAIChat']:'review'===_0x10bf81?this['icon']=_0x14e616['IconAIReview']:'translate'===_0x10bf81&&(this['icon']=_0x14e616['IconAITranslate']);}},_0xf922db=class extends _0x14e616['View']{['listView'];constructor(_0x196e8d,_0x53cb17){super(_0x196e8d),this['set']('isEnabled',!0x0);const _0x3e8b87=_0x53cb17['map'](_0xa5b813=>{const _0x1a5f41=new _0x14e616['ListItemView'](this['locale']),_0x2b185c=new _0x75f514(this['locale'],_0xa5b813);return _0x2b185c['bind']('isEnabled')['to'](this),_0x1a5f41['children']['add'](_0x2b185c),_0x2b185c['delegate']('execute')['to'](this),_0x1a5f41;});this['listView']=new _0x14e616['ListView'](this['locale']),this['listView']['items']['addMany'](_0x3e8b87),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-shortcuts']},'children':[this['listView']]});}};const _0x1f307c='chat-shortcuts';var _0x2c96dc=class extends _0x14e616['ContextPlugin']{['_shortcuts'];['_shortcutsView'];['_aiChatUI'];['_listenedConversation'];static get['requires'](){return[_0x906cd4];}static get['pluginName'](){return'AIChatShortcuts';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_aiChatUI']=this['context']['plugins']['get'](_0x906cd4),this['_shortcuts']=this['context']['config']['get']('ai.chat.shortcuts')??[];const _0x4e5d74=this['context']['plugins']['get']('AIChatController');this['_shortcuts']['length']&&(this['_validateShortcuts'](),this['_aiChatUI']['on']('conversationCreated',()=>{const _0x4121f4=_0x4e5d74['activeConversation'];_0x4121f4['isFromHistory']||this['_injectShortcuts'](_0x4121f4);}),this['listenTo'](_0x4e5d74,'interactionStarted',()=>{this['_removeShortcuts']();}));}['_validateShortcuts'](){const _0x17a7f9=['chat','review','translate'];this['_shortcuts']['forEach'](_0x10bf41=>{let _0x817c06=!0x0;if(_0x10bf41['id']&&_0x10bf41['label']&&_0x17a7f9['includes'](_0x10bf41['type'])?'chat'===_0x10bf41['type']&&(_0x817c06='string'==typeof _0x10bf41['prompt']):_0x817c06=!0x1,!_0x817c06)throw new _0x14e616['CKEditorError']('ai-chat-shortcuts-invalid-config',this['context'],{'shortcut':_0x10bf41});});}['_injectShortcuts'](_0x215595){this['_removeShortcuts'](),this['_shortcutsView']=new _0xf922db(this['context']['locale'],this['_shortcuts']),this['_shortcutsView']['render'](),this['_aiChatUI']['addFeedItemCustomElement'](this['_shortcutsView']['element'],_0x1f307c),this['_shortcutsView']['on']('execute',_0x1630ee=>{const _0x24030d=_0x1630ee['source']['id'];this['_executeShortcut'](_0x24030d);}),this['_listenedConversation']=_0x215595,this['listenTo'](_0x215595,'uploadProgressChanged',(_0x174287,_0x5116bf)=>{this['_shortcutsView']['isEnabled']=!_0x5116bf['isUploadInProgress'];});}['_removeShortcuts'](){const _0x53d2f5=this['context']['plugins']['get'](_0x906cd4);_0x53d2f5['hasFeedItem'](_0x1f307c)&&_0x53d2f5['removeFeedItem'](_0x1f307c),this['_listenedConversation']&&(this['stopListening'](this['_listenedConversation'],'uploadProgressChanged'),this['_listenedConversation']=void 0x0),this['_shortcutsView']?.['destroy']();}['_executeShortcut'](_0x1f4f28){const _0x2620b7=this['_shortcuts']['find'](_0x5e2913=>_0x5e2913['id']===_0x1f4f28),_0x1f981e=_0x2620b7['type'];'chat'===_0x1f981e?this['_runChatShortcut'](_0x2620b7):'review'===_0x1f981e?_0x2620b7['commandId']?this['_runReviewShortcut'](_0x2620b7):this['_switchTab']('reviewMode'):'translate'===_0x1f981e&&(_0x2620b7['language']?this['_runTranslateShortcut'](_0x2620b7):this['_switchTab']('translate'));}['_switchTab'](_0x2b66a5){if(!this['context']['plugins']['has']('AITabs'))throw new _0x14e616['CKEditorError']('ai-chat-shortcuts-ai-tabs-not-found',this['context'],{'tabName':_0x2b66a5});this['context']['plugins']['get']('AITabs')['view']['activateTab'](_0x2b66a5);}async['_runChatShortcut']({prompt:_0x42db68,draftMode:_0x1c520e,useWebSearch:_0x2e5eeb=!0x1,useReasoning:_0x460190=!0x1,model:_0x1e3e74}){const _0x3e94ad=this['context']['plugins']['get']('AIChatController'),_0x87b201=_0x3e94ad['activeConversation'];let _0x5d970f;_0x5d970f=_0x1e3e74?await _0x87b201['chatModels']['getModel'](_0x1e3e74):await _0x87b201['chatModels']['getDefault'](),_0x5d970f&&await _0x87b201['setModel'](_0x5d970f),_0x87b201['setWebSearch'](_0x2e5eeb),_0x87b201['setReasoning'](_0x460190),_0x3e94ad['addCurrentDocumentToChatContext'](),_0x1c520e?(this['_aiChatUI']['setPromptInputValue'](_0x42db68),this['_aiChatUI']['focusPromptInput'](!0x0)):_0x3e94ad['sendMessage']({'message':_0x42db68});}['_runReviewShortcut']({commandId:_0x3e6108,model:_0x4c2b83,prompt:_0x48b369,params:_0x32b770}){if(!this['context']['plugins']['has']('AIReviewModeUI'))throw new _0x14e616['CKEditorError']('ai-chat-shortcuts-review-mode-not-found',this['context']);this['_switchTab']('reviewMode');const _0x484dde={'id':_0x3e6108,'isCustom':'custom'===_0x3e6108};_0x4c2b83&&_0x48b369&&(_0x484dde['args']={'model':_0x4c2b83,'prompt':_0x48b369}),_0x32b770&&(_0x484dde['params']=_0x32b770),this['context']['plugins']['get']('AIReviewModeUI')['fire']('runReviewCheck',_0x484dde);}['_runTranslateShortcut']({language:_0x4af8ae}){if(!this['context']['plugins']['has']('AITranslateUI'))throw new _0x14e616['CKEditorError']('ai-chat-shortcuts-translate-not-found',this['context']);this['_switchTab']('translate'),this['context']['plugins']['get']('AITranslateUI')['fire']('runReviewCheck',{'id':_0x4af8ae,'args':{'language':_0x4af8ae}});}},_0x4851df=class extends _0x14e616['Command']{constructor(_0x238112){super(_0x238112);const _0x14c7e3=_0x238112['plugins']['get']('AITabs')['view'];this['bind']('value')['to'](_0x14c7e3,'isVisible'),this['isEnabled']=!0x0;}['execute'](){const _0x5a20df=this['editor']['plugins']['get']('AITabs')['view'];_0x5a20df['isVisible']=!_0x5a20df['isVisible'];}},_0x1634e8=class extends _0x14e616['Plugin']{static get['requires'](){return[_0xdf3353];}static get['pluginName'](){return'AIToggleButtonUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3a596e=this['editor'];_0x3a596e['commands']['add']('toggleAi',new _0x4851df(_0x3a596e)),_0x3a596e['ui']['componentFactory']['add']('toggleAi',()=>{const _0x30e2db=this['_createAIUIButton'](_0x14e616['ButtonView']);return _0x30e2db['set']({'tooltip':!0x0,'class':'ck-ai-toggle-button'}),_0x30e2db;}),_0x3a596e['ui']['componentFactory']['add']('menuBar:toggleAi',()=>{const _0x4ae5a8=this['_createAIUIButton'](_0x14e616['MenuBarMenuListItemButtonView']);return _0x4ae5a8['set']({'role':'menuitemcheckbox'}),_0x4ae5a8;});}['_createAIUIButton'](_0x4d4fdf){const _0x93d716=this['editor'],_0x474fcc=_0x93d716['commands']['get']('toggleAi'),_0x4a3d93=new _0x4d4fdf(_0x93d716['locale']);return _0x4a3d93['set']({'label':_0x2723f0(_0x93d716['locale'],'AI_TOGGLE_BUTTON_LABEL'),'icon':_0x14e616['IconAIAskAI'],'isToggleable':!0x0}),_0x4a3d93['bind']('isEnabled')['to'](_0x474fcc),_0x4a3d93['bind']('isOn')['to'](_0x474fcc,'value',_0x4c9f31=>!!_0x4c9f31),this['listenTo'](_0x4a3d93,'execute',()=>{_0x474fcc['execute']();}),_0x4a3d93;}};const _0x442444=['applySuggestion','insertSuggestion','showNext','showPrevious'];var _0x7e1516=class extends _0x14e616['View']{['_errorView'];constructor(_0x2aeb1d){super(_0x2aeb1d),this['set']('_errorMessage',''),this['set']('_isErrorVisible',!0x1);}['showBlockingError'](_0x7a2ca9){this['showError'](_0x7a2ca9);}['showError'](_0x4f885f){this['_errorView']||(this['_errorView']=this['_createErrorView']()),this['_errorMessage']=_0x4f885f,this['_isErrorVisible']=!0x0;}['hideError'](){this['_isErrorVisible']=!0x1;}['_createErrorView'](){const _0x2e83e5=new _0x14e616['View'](this['locale']),_0x5b9e72=new _0x14e616['View'](this['locale']);return _0x5b9e72['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__error-text']},'children':[{'text':this['bindTemplate']['to']('_errorMessage')}]}),_0x2e83e5['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__error','ck-ai-balloon-error',this['bindTemplate']['if']('_isErrorVisible','ck-hidden',_0x2bd51c=>!_0x2bd51c)]},'children':[_0x5b9e72]}),_0x2e83e5;}};const _0x3f9f7b=0xa;var _0x2e776b=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[_0x11b915];}static get['pluginName'](){return'AIBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['isOpen']=!0x1;['_currentConfig'];['_editor'];['_isUpdatingMarkers']=!0x1;['open'](_0x12a644){const {id:_0x55304c}=this['_currentConfig']??{};this['_currentConfig']=_0x12a644,this['_editor']=_0x12a644['targetEditor'];const {id:_0x83fc99}=this['_currentConfig'];this['isOpen']&&_0x55304c===_0x83fc99?this['_updateDialog']():this['_showDialog']();}['close'](){const _0x1d2e32=this['_editor'];if(!_0x1d2e32)return;const _0x1c1f3c=_0x1d2e32['plugins']['get']('Dialog');_0x1c1f3c['isOpen']&&this['_currentConfig']&&_0x1c1f3c['id']===this['_currentConfig']['id']&&_0x1c1f3c['hide']();}['_updateDialog'](){const _0x479015=this['_editor']['plugins']['get']('Dialog'),{icon:_0x1be437,title:_0x545287}=this['_currentConfig'];_0x479015['view']?.['headerView']&&(_0x479015['view']['headerView']['label']=_0x545287,_0x479015['view']['headerView']['iconView']&&_0x1be437&&(_0x479015['view']['headerView']['iconView']['content']=_0x1be437)),this['_isUpdatingMarkers']=!0x0,this['_showFakeVisualSelection'](),this['_isUpdatingMarkers']=!0x1,_0x479015['view']?.['updatePosition']();}['_showFakeVisualSelection'](){this['context']['plugins']['get'](_0x11b915)['showFakeVisualSelection']({'editor':this['_editor'],'ranges':this['_currentConfig']['ranges'],'id':'balloon','priority':0x64}),window['getSelection']()?.['removeAllRanges']();}['_hideFakeVisualSelection'](){this['context']['plugins']['get'](_0x11b915)['hideFakeVisualSelection']('balloon');}['_showDialog'](){const _0x432384=this['_editor']['plugins']['get']('Dialog'),{id:_0x18e54a,title:_0x10ce5b,icon:_0x14d4b7,class:_0x994f00,mainView:_0x38bc5f}=this['_currentConfig'];_0x38bc5f['delegate'](..._0x442444)['to'](this),_0x432384['show']({'title':_0x10ce5b,'icon':_0x14d4b7,'hasCloseButton':!0x0,'id':_0x18e54a,'position':this['_calculateDialogPosition']['bind'](this),'getRootName':this['_getCurrentDomRootName']['bind'](this),'className':'ck-ai-balloon\x20'+(_0x994f00||''),'content':_0x38bc5f,'onShow':_0x137143=>{this['_showFakeVisualSelection'](),this['_setupFakeVisualSelectionMarkerRemovalListener'](),_0x137143['view']?.['updatePosition']();const _0x1c06d5=this['_getSelectionElements']();_0x1c06d5&&_0x1c06d5[0x0]&&(0x0,_0x14e616['scrollViewportToShowTarget'])({'target':_0x1c06d5[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),this['isOpen']=!0x0,_0x137143['once']('hide',()=>{this['fire']('beforeDialogClosed',{'id':_0x18e54a});},{'priority':'high'});},'onHide':()=>{this['_hideFakeVisualSelection'](),this['_cleanupFakeVisualSelectionMarkerRemovalListener'](),this['fire']('dialogClosed',{'id':_0x18e54a}),this['isOpen']=!0x1;}});}['_calculateDialogPosition'](_0x55a1ae,_0x4274a1,_0x44e6df){const _0x3f8a0d=_0x4274a1||_0x44e6df;if(!_0x3f8a0d)return null;const _0x52dec5=this['_getSelectionElements']();if(!_0x52dec5||0x0===_0x52dec5['length'])return{'left':Math['round'](_0x3f8a0d['left']+_0x3f8a0d['width']/0x2-_0x55a1ae['width']/0x2),'top':Math['round'](_0x3f8a0d['top']+_0x3f8a0d['height']/0x2-_0x55a1ae['height']/0x2)};const _0x5532a2=Math['round'](_0x3f8a0d['left']+_0x3f8a0d['width']/0x2-_0x55a1ae['width']/0x2),_0x3f5f74=_0x52dec5['map'](_0x4a7cda=>new _0x14e616['Rect'](_0x4a7cda)),_0x24bdb8=_0x55a1ae['height'];return{'left':_0x5532a2,'top':this['_calculateOptimalTopPosition'](_0x3f5f74,_0x24bdb8,_0x3f8a0d)};}['_calculateOptimalTopPosition'](_0x4dc59d,_0x441114,_0x119a27){const _0x7598d0=new _0x14e616['Rect'](_0x14e616['global']['window']),_0x322b2a=_0x4dc59d['map'](_0x7bacda=>_0x7bacda['getVisible']())['filter'](_0x156426=>_0x156426),_0x43d6b5=_0x14e616['Rect']['getBoundingRect'](_0x322b2a);if(!_0x43d6b5)return Math['round'](_0x119a27['top']+_0x119a27['height']/0x2);const _0x5de3e1=_0x7598d0['getIntersection'](_0x43d6b5);if(!_0x5de3e1)return Math['round'](_0x119a27['top']+_0x119a27['height']/0x2);const _0x2cb113=_0x119a27['getVisible'](),_0x5cbea6=_0x2cb113&&_0x43d6b5['height']>_0x2cb113['height'],_0x4125fc=_0x5de3e1['top'],_0x2818f1=_0x5de3e1['bottom'];if(_0x5cbea6){const _0x1c0e75=_0x7598d0['top']+_0x7598d0['height']/0x2-_0x441114/0x2,_0x423e46=_0x4125fc-_0x3f9f7b-_0x7598d0['top'],_0x58ea7e=_0x7598d0['bottom']-_0x2818f1-_0x3f9f7b;return _0x423e46>=_0x441114?Math['max'](_0x3f9f7b,_0x4125fc-_0x441114-_0x3f9f7b):_0x58ea7e>=_0x441114?_0x2818f1+_0x3f9f7b:Math['max'](_0x3f9f7b,_0x1c0e75);}const _0x5cff6e=_0x4125fc-_0x441114,_0x58baae=_0x7598d0['bottom']-_0x2818f1-_0x3f9f7b,_0x43aa24=_0x4125fc-_0x3f9f7b-_0x7598d0['top'];let _0x1b0004;return _0x1b0004=_0x58baae>=_0x441114?_0x2818f1+_0x3f9f7b:_0x43aa24>=_0x441114?_0x5cff6e-_0x3f9f7b:_0x4125fc+_0x43d6b5['height']/0x2-_0x441114/0x2,_0x1b0004;}['_setupFakeVisualSelectionMarkerRemovalListener'](){const _0x411295=this['_editor'];this['listenTo'](_0x411295['model']['document'],'change',()=>{if(!this['_isUpdatingMarkers']){for(const {name:_0xd1f1a0,data:{newRange:_0x3b12eb}}of _0x411295['model']['document']['differ']['getChangedMarkers']())if(_0xd1f1a0['startsWith']('ai-selection:')&&(_0x3b12eb&&(_0x3b12eb['start']['isEqual'](_0x3b12eb['end'])||'$graveyard'==_0x3b12eb['root']['rootName'])||null==_0x3b12eb)){const _0x271c85=_0x2723f0(this['context']['locale'],'AI_BALLOON_SELECTION_REMOVED_ERROR');this['_currentConfig']['mainView']['showBlockingError'](_0x271c85),this['fire']('selectionRemoved');}}});}['_cleanupFakeVisualSelectionMarkerRemovalListener'](){const _0x209a4a=this['_editor'];this['_currentConfig']['mainView']['hideError'](),this['stopListening'](_0x209a4a['model']['document']);}['_getSelectionElements'](){const _0x16365a=this['_editor'];return _0x20fdc7(_0x16365a['editing'],[..._0x16365a['model']['markers']['getMarkersGroup']('ai-selection'),..._0x16365a['model']['markers']['getMarkersGroup']('ai-balloon-selection')]);}['_getCurrentDomRootName'](){const _0x3a43cc=this['_currentConfig']?.['ranges']?.[0x0]?.['root'];return _0x3a43cc&&_0x3a43cc['rootName']?_0x3a43cc['rootName']:null;}},_0x391e19=class extends _0x14e616['ToolbarView']{['copyButton'];['likeButton'];['dislikeButton'];['showChangesButton'];['_config'];constructor(_0x5b5bd2,_0x18b2e9={}){super(_0x5b5bd2),this['set']('isEnabled',!0x0),this['set']('isShowChangesOn',!0x1),this['_config']={'showCopy':!0x1,'showLike':!0x1,'showDislike':!0x1,..._0x18b2e9};const _0x161713=!(this['_config']['showCopy']||this['_config']['showChanges']||this['_config']['showLike']||this['_config']['showDislike']||this['_config']['customView']?.['length']);this['class']=_0x161713?'ck-ai-mini-toolbar\x20ck-hidden':'ck-ai-mini-toolbar',this['_config']['showCopy']&&(this['_setupCopyButton'](),this['items']['add'](this['copyButton'])),this['_config']['showChanges']&&(this['_setupShowChangesButton'](),this['items']['add'](this['showChangesButton'])),this['_setupRatingButtons'](),this['_config']['showLike']&&this['items']['add'](this['likeButton']),this['_config']['showDislike']&&this['items']['add'](this['dislikeButton']),this['_config']['customView']&&this['items']['addMany'](this['_config']['customView']);}['toggleShowChangesEnabled'](_0x3e8707){this['showChangesButton']['isEnabled']=_0x3e8707;}['_setupRatingButtons'](){this['likeButton']=new _0x14e616['ButtonView'](this['locale']),this['likeButton']['set']({'icon':_0x14e616['IconThumbUp'],'label':_0x2723f0(this['locale'],'AI_MINI_TOOLBAR_LIKE'),'class':_0x2eb508,'tooltip':!0x0}),this['likeButton']['bind']('isEnabled')['to'](this),this['likeButton']['on']('execute',()=>{this['fire']('like');}),this['dislikeButton']=new _0x14e616['ButtonView'](this['locale']),this['dislikeButton']['set']({'icon':_0x14e616['IconThumbDown'],'label':_0x2723f0(this['locale'],'AI_MINI_TOOLBAR_DISLIKE'),'class':_0x2eb508,'tooltip':!0x0}),this['dislikeButton']['bind']('isEnabled')['to'](this),this['dislikeButton']['on']('execute',()=>{this['fire']('dislike');});}['_setupCopyButton'](){this['copyButton']=new _0x14e616['ButtonView'](this['locale']),this['copyButton']['set']({'icon':_0x14e616['IconCopy'],'label':_0x2723f0(this['locale'],'AI_MINI_TOOLBAR_COPY'),'class':'ck-ai-mini-toolbar-copy-button\x20'+_0x2eb508,'tooltip':!0x0}),this['copyButton']['bind']('isEnabled')['to'](this);const _0x502f84=new _0x14e616['IconView']();_0x502f84['set']({'content':_0x14e616['IconCheck']}),_0x502f84['extendTemplate']({'attributes':{'class':['ck-ai-mini-toolbar-copy-button__check-mark']}}),this['copyButton']['on']('execute',()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20ck-ai-mini-toolbar-copy-button_copied\x20'+_0x2eb508,setTimeout(()=>{this['copyButton']['class']='ck-ai-mini-toolbar-copy-button\x20'+_0x2eb508;},0x7d0);}),this['copyButton']['children']['add'](_0x502f84);}['_setupShowChangesButton'](){this['showChangesButton']=new _0x14e616['ButtonView'](this['locale']),this['showChangesButton']['set']({'icon':_0x14e616['IconShowChangesOff'],'label':_0x2723f0(this['locale'],'AI_SUGGESTION_BUTTON_SHOW_CHANGES'),'withText':'full'==this['_config']['showChanges'],'tooltip':'full'!=this['_config']['showChanges'],'class':_0x2eb508}),this['showChangesButton']['bind']('isOn')['to'](this,'isShowChangesOn'),this['showChangesButton']['bind']('isEnabled')['to'](this),this['showChangesButton']['bind']('icon')['to'](this,'isShowChangesOn',_0xe47106=>_0xe47106?_0x14e616['IconShowChangesOn']:_0x14e616['IconShowChangesOff']),this['showChangesButton']['on']('execute',()=>{this['fire']('toggleShowChanges');});}},_0x30ecf9=class extends _0x7e1516{['children'];['nextButtonView'];['previousButtonView'];['focusCycler'];['_focusables'];['_focusTracker'];['_keystrokes'];['_config'];['_streamableContentView'];['_toolbarContainerView'];['_partToolbarView'];['_stateView'];['_miniToolbarView'];constructor(_0x2202b8,_0x18e4d4){super(_0x2202b8);const _0x4b3f92=this['bindTemplate'];this['set']('showDiff',!0x1),this['set']('_state','pending'),this['_focusTracker']=new _0x14e616['FocusTracker'](),this['_keystrokes']=new _0x14e616['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_config']=_0x18e4d4,this['nextButtonView']=this['_createNextButtonView'](),this['previousButtonView']=this['_createPreviousButtonView'](),this['_streamableContentView']=new _0x52e3d6(_0x2202b8),this['_partToolbarView']=new _0x3cc807(_0x2202b8,_0x18e4d4['availableActions']),this['_partToolbarView']['delegate']('applySuggestion','insertSuggestion','rejectSuggestion')['to'](this),this['_togglePartToolbarButtonsVisibility'](_0x18e4d4),this['_stateView']=new _0x835a97(_0x2202b8),this['_stateView']['isVisible']=!0x1,this['_miniToolbarView']=new _0x391e19(_0x2202b8,{'showChanges':'full'}),this['_miniToolbarView']['bind']('isShowChangesOn')['to'](this,'showDiff'),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['fire']('toggleSuggestionDisplayMode');}),this['_toolbarContainerView']=new _0x392bc1(_0x2202b8,[this['_partToolbarView'],this['_stateView'],this['_miniToolbarView']]),this['children']=this['createCollection']([this['_streamableContentView'],this['_toolbarContainerView']]),this['on']('change:_state',(_0x1041e4,_0x2e99f1,_0xdcf766,_0x36a30f)=>{let _0x164288,_0x206a28;'pending'===_0x36a30f?(_0x164288=this['_partToolbarView'],_0x206a28=this['_stateView']):(_0x164288=this['_stateView'],_0x206a28=this['_partToolbarView']),this['_stateView']['setState'](_0xdcf766),_0x164288['isVisible']=!0x1,_0x206a28['isVisible']=!0x0;}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-chat-balloon-main',_0x4b3f92['to']('_state',_0x6e2ce6=>'ck-ai-chat-balloon-main_state_'+_0x6e2ce6)]},'children':this['children']}),this['on']('change:isTrackChangesOn',()=>{this['_togglePartToolbarButtonsVisibility'](_0x18e4d4);});}['render'](){super['render'](),this['nextButtonView']['render'](),this['previousButtonView']['render'](),this['_focusTracker']['add'](this['element']),this['_focusTracker']['add'](this['nextButtonView']),this['_focusTracker']['add'](this['previousButtonView']),this['_focusTracker']['add'](this['_miniToolbarView']),this['_focusTracker']['add'](this['_partToolbarView']),this['_keystrokes']['listenTo'](this['element']),this['_keystrokes']['listenTo'](this['nextButtonView']['element']),this['_keystrokes']['listenTo'](this['previousButtonView']['element']),this['_focusables']['addMany']([this['nextButtonView'],this['previousButtonView'],this['_partToolbarView'],this['_miniToolbarView']]);}['destroy'](){super['destroy'](),this['previousButtonView']['destroy'](),this['nextButtonView']['destroy']();}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}async['updateContent'](_0x14548f){_0x14548f?.['keepErrors']||this['hideError'](),await this['_streamableContentView']['update'](_0x14548f);}['clearContent'](){this['_streamableContentView']['clear']();}['setState'](_0x4e4d3a){this['_state']=_0x4e4d3a;}['showError'](_0x4992c3){super['showError'](_0x4992c3),this['children']['has'](this['_errorView'])||this['children']['add'](this['_errorView'],0x0);}['hideError'](){this['_isErrorVisible']&&(super['hideError'](),this['togglePartToolbarEnabled'](!0x0));}['showBlockingError'](_0x51a3dc){super['showBlockingError'](_0x51a3dc),this['togglePartToolbarEnabled'](!0x1);}['toggleRotatorButtonsVisibility'](_0x2a8900){this['nextButtonView']['isVisible']=this['previousButtonView']['isVisible']=_0x2a8900;}['togglePartToolbarEnabled'](_0x16d495){this['_partToolbarView']['isEnabled']=_0x16d495;}['_togglePartToolbarButtonsVisibility']({showApplyButton:_0x5b3211,showSuggestButton:_0x1d244a}){_0x5b3211=_0x5b3211&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x1d244a=_0x1d244a&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_partToolbarView']['setButtonsVisibility']({'showApplyButton':_0x5b3211,'showSuggestButton':_0x1d244a});}['_createNextButtonView'](){const _0x22c945=new _0x14e616['ButtonView'](this['locale']);return _0x22c945['set']({'icon':_0x14e616['IconChevronDown'],'label':_0x2723f0(this['locale'],'AI_BALLOON_NEXT_LABEL'),'isVisible':!0x0}),_0x22c945['on']('execute',()=>{this['fire']('showNext');}),_0x22c945;}['_createPreviousButtonView'](){const _0x18309f=new _0x14e616['ButtonView'](this['locale']);return _0x18309f['set']({'icon':_0x14e616['IconChevronUp'],'label':_0x2723f0(this['locale'],'AI_BALLOON_PREVIOUS_LABEL'),'isVisible':!0x0}),_0x18309f['on']('execute',()=>{this['fire']('showPrevious');}),_0x18309f;}},_0x392bc1=class extends _0x14e616['View']{constructor(_0x32890a,_0x1a9e34){super(_0x32890a),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-chat-balloon__toolbar-container']},'children':_0x1a9e34});}},_0x4d281d=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x14e616['Dialog'],_0x2e776b];}static get['pluginName'](){return'AIChatBalloon';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_chatBalloonView'];constructor(_0x2d27c5){super(_0x2d27c5),this['set']('showDiff',!0x1);}['open'](_0x5e03e3){const _0x15d636=this['editor'];this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),_0x15d636['plugins']['get']('AIBalloon')['open']({..._0x5e03e3,'id':'aiChatBalloon','class':'ck-ai-chat-balloon','mainView':this['_chatBalloonView']}),this['_toggleRotatorButtonsInDialogHeader'](_0x5e03e3['showRotator']),this['_chatBalloonView']['togglePartToolbarEnabled'](!_0x5e03e3['areActionsDisabled']),this['_restoreDefaultViewFocus']();}['close'](){this['editor']['plugins']['get']('AIBalloon')['close']();}['updateContent'](_0x366b90){return this['_chatBalloonView']||(this['_chatBalloonView']=this['_createChatBalloonView']()),this['_chatBalloonView']['updateContent'](_0x366b90);}['clearContent'](){this['_chatBalloonView']&&this['_chatBalloonView']['clearContent']();}['setState'](_0x34cd4d){this['_chatBalloonView']&&this['_chatBalloonView']['setState'](_0x34cd4d);}['_createChatBalloonView'](){const _0x3705d3=this['editor'],_0x383dad=_0x3705d3['plugins']['get']('AIBalloon'),_0x249bc3=_0x3705d3['commands']['get']('trackChanges');let _0x40588e=_0x3705d3['config']['get']('ai.availableReplyActions')||[..._0x30d553];_0x3705d3['plugins']['has']('TrackChanges')||(_0x40588e=_0x40588e['filter'](_0x466e72=>'insertSuggestion'!=_0x466e72));const _0x26e327=new _0x30ecf9(_0x3705d3['locale'],{'availableActions':_0x40588e,'showApplyButton':!0x0,'showSuggestButton':!!_0x249bc3});return _0x26e327['bind']('showDiff')['to'](this),_0x26e327['delegate'](..._0x51b445)['to'](this),_0x26e327['delegate']('showPrevious','showNext')['to'](this),_0x383dad['delegate']('dialogClosed')['to'](this),_0x26e327['on']('applySuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x26e327['on']('insertSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x26e327['on']('rejectSuggestion',this['_restoreDefaultViewFocus']['bind'](this)),_0x249bc3&&_0x26e327['bind']('isTrackChangesOn')['to'](_0x249bc3,'value'),_0x26e327['render'](),_0x26e327;}['_toggleRotatorButtonsInDialogHeader'](_0x93ff91){const _0x43c98b=this['editor'],_0x48c00d=_0x43c98b['plugins']['get']('Dialog')['view']['headerView']['children'];this['_chatBalloonView']['toggleRotatorButtonsVisibility'](_0x93ff91),_0x48c00d['has'](this['_chatBalloonView']['previousButtonView'])||(_0x48c00d['addMany']([this['_chatBalloonView']['previousButtonView'],this['_chatBalloonView']['nextButtonView']],0x0),_0x43c98b['plugins']['get']('AIBalloon')['once']('beforeDialogClosed',()=>{_0x48c00d['remove'](this['_chatBalloonView']['previousButtonView']),_0x48c00d['remove'](this['_chatBalloonView']['nextButtonView']);}));}['_restoreDefaultViewFocus'](){this['_chatBalloonView']['focus']();}},_0x176f6a=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x1634e8,_0x4d281d,_0x44c64b];}static get['pluginName'](){return'AIEditorIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x3d9828(_0x5ce968){const {editor:_0x4f0388,action:_0x3b2d85,withText:_0x1e24ac=!0x1,withIcon:_0x98ab32=!0x0,isInDropdown:_0x3e3569=!0x0,shouldPreventFocus:_0x9c87d0=!0x1,actionButtons:_0x4a7c6c}=_0x5ce968;return()=>{const _0x308c91=_0x4f0388['locale'],_0x1f9c80=new _0x14e616['ButtonView'](_0x308c91),_0xa40bfe=_0x1f9c80['bindTemplate'];_0x3e3569&&_0x1f9c80['extendTemplate']({'on':{'mouseenter':_0xa40bfe['to'](()=>{_0x9c87d0&&_0x9c87d0()||_0x1f9c80['focus']();})}}),_0x4a7c6c['push']({'buttonView':_0x1f9c80,'action':_0x3b2d85});const _0xaf5c3c=_0x3b2d85['icon']??_0x3b2d85['parent']?.['icon'];return _0x1f9c80['set']({'label':_0x3b2d85['label'],'withText':_0x1e24ac,'role':'menuitem','icon':_0x98ab32?_0xaf5c3c??_0x14e616['IconAIQuickActions']:void 0x0,'tooltip':!_0x1e24ac,'class':'ck-ai-quick-actions-button','isEnabled':_0x3b2d85['isEnabled']}),_0x1f9c80['on']('execute',()=>{_0x4f0388['editing']['view']['focus'](),_0x4f0388['commands']['execute']('aiQuickAction',_0x3b2d85);}),_0x1f9c80;};}var _0x1b3a93=class extends _0x14e616['ListItemButtonView']{['arrowView'];constructor(_0x21f57d,_0x485f22){super(_0x21f57d,_0x485f22);const _0x2d13d6=this['bindTemplate'];this['set']({'withText':!0x0,'role':'menuitem'}),this['arrowView']=this['_createArrowView'](),this['extendTemplate']({'attributes':{'class':['ck-dropdown-menu-list__nested-menu__button'],'aria-haspopup':!0x0,'aria-expanded':this['bindTemplate']['to']('isOn',_0x579216=>String(_0x579216)),'data-cke-tooltip-disabled':_0x2d13d6['to']('isOn')},'on':{'mouseenter':_0x2d13d6['to']('mouseenter')}});}['render'](){super['render'](),this['children']['add'](this['arrowView']);}['_createArrowView'](){const _0x8ac250=new _0x14e616['IconView']();return _0x8ac250['content']=_0x14e616['IconDropdownArrow'],_0x8ac250['extendTemplate']({'attributes':{'class':'ck-dropdown-menu-list__nested-menu__button__arrow'}}),_0x8ac250;}},_0x29e709=class extends _0x14e616['ListView']{['_allListItems'];['_allSearchableItems'];constructor(_0x2bb1dd,_0x5cf955,_0x4c7843){super(_0x2bb1dd),this['_allListItems']=_0x5cf955,this['_allSearchableItems']=_0x4c7843;}['filter'](_0x198c2f){if(!_0x198c2f)return this['items']['clear'](),this['items']['addMany'](this['_allListItems']),this['_clearHighlight'](),{'resultsCount':this['_allListItems']['length'],'totalItemsCount':this['_allListItems']['length']};const _0x1d9947=_0x198c2f['source']['toLowerCase']()['trim'](),_0x57e3a6=this['_allSearchableItems']['filter'](_0x4b9ade=>(_0x4b9ade['groupLabel']?_0x4b9ade['label']+'\x20('+_0x4b9ade['groupLabel']+')':_0x4b9ade['label'])['toLowerCase']()['includes'](_0x1d9947));return this['items']['clear'](),this['items']['addMany'](_0x57e3a6['sort']((_0x26bb4d,_0x301269)=>{const _0x44b8ab=_0x26bb4d['groupLabel'],_0x5ec990=_0x301269['groupLabel'];return _0x44b8ab||_0x5ec990?_0x44b8ab?0x1:-0x1:0x0;})['map'](_0x14d658=>_0x14d658['item'])),this['_highlightQuery'](_0x1d9947,_0x57e3a6),{'resultsCount':_0x57e3a6['length'],'totalItemsCount':this['_allSearchableItems']['length']};}['_highlightQuery'](_0xf20838,_0x482abc){if(!_0xf20838)return;const _0x10a839=new RegExp(Gt(_0xf20838),'gi');_0x482abc['forEach'](_0x57c849=>{_0x57c849['highlightViews']&&_0x57c849['highlightViews']['forEach'](_0xf4c19b=>{'function'==typeof _0xf4c19b['highlightText']&&_0xf4c19b['highlightText'](_0x10a839);});});}['_clearHighlight'](){this['_allSearchableItems']['forEach'](_0xe4dff2=>{_0xe4dff2['highlightViews']&&_0xe4dff2['highlightViews']['forEach'](_0x8c7a53=>{'function'==typeof _0x8c7a53['highlightText']&&_0x8c7a53['highlightText'](null);});});}};const _0x2779dd='menu',_0x56988d='menuitem';var _0x3a7c18=class extends _0x14e616['View']{['_bodyCollection'];['optionsListView'];['_searchTextView']=null;['_allSearchableItems']=[];['children'];['focusTracker'];['keystrokes'];['_focusables'];['focusCycler'];['_openNestedPanels']=new Set();['_hasSearch'];['_actionButtons'];constructor(_0x1bb4f3,_0x1f336c,_0x4f8856,_0x34b5c3,_0x32efc0=!0x1,_0x212262=[]){const _0x37aead=_0x1bb4f3['locale'];super(_0x37aead),this['_bodyCollection']=_0x34b5c3,this['_hasSearch']=_0x32efc0,this['_actionButtons']=_0x212262;const _0x1d4fe2=this['_createListItems'](_0x1bb4f3,_0x1f336c,_0x4f8856);this['optionsListView']=new _0x29e709(_0x37aead,_0x1d4fe2,this['_allSearchableItems']),this['optionsListView']['role']=_0x2779dd,this['optionsListView']['items']['addMany'](_0x1d4fe2),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),_0x32efc0&&(this['_searchTextView']=this['_createSearchTextView']()),this['_focusables']=_0x1d4fe2,this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes']}),_0x32efc0&&this['_searchTextView']&&this['focusCycler']['chain'](this['_searchTextView']['focusCycler']);const _0xf51a70=_0x32efc0&&this['_searchTextView']?[this['_searchTextView']]:[this['optionsListView']];this['children']=new _0x14e616['ViewCollection'](_0xf51a70),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions','ck-rounded-corners'],'dir':_0x37aead['uiLanguageDirection']},'children':this['children']});}['_createSearchTextView'](){return new _0x14e616['SearchTextView'](this['locale'],{'filteredView':this['optionsListView'],'queryView':{'label':_0x2723f0(this['locale'],'AI_QUICK_ACTIONS_SEARCH')},'class':'ck-ai-quick-actions-search','infoView':{'text':{'notFound':{'primary':_0x2723f0(this['locale'],'AI_QUICK_ACTIONS_SEARCH_NOT_FOUND')}}}});}['_isSearchFocused'](){if(!this['_hasSearch']||!this['_searchTextView']||!this['_searchTextView']['queryView']['fieldView']['element'])return!0x1;const _0x13be72=this['_searchTextView']['queryView']['fieldView']['element']['ownerDocument']?.['activeElement'];return this['_searchTextView']['queryView']['fieldView']['element']['contains'](_0x13be72);}['_createListItems'](_0x1d3fda,_0x25e1c3,_0x48bc26){const _0x23d993=new _0x14e616['ViewCollection']();return _0x25e1c3['forEach'](_0x212f38=>{if('actions'in _0x212f38){const {listItem:_0x1076ff}=this['_createActionGroupButton'](_0x1d3fda,_0x212f38,_0x48bc26);_0x23d993['add'](_0x1076ff),_0x212f38['actions']['forEach'](_0x4005fe=>{const {listItem:_0x420737,highlightViews:_0x33bbaf}=this['_createSearchResultActionButton'](_0x1d3fda,_0x4005fe,_0x212f38['label'],_0x212f38['icon']);this['_allSearchableItems']['push']({'item':_0x420737,'label':_0x4005fe['label'],'groupLabel':_0x212f38['label'],'highlightViews':_0x33bbaf});});}else{const {listItem:_0x52621d}=this['_createActionButton'](_0x1d3fda,_0x212f38);_0x23d993['add'](_0x52621d);const _0x2fd08b=_0x52621d['children']['first'];if(_0x2fd08b){const {listItem:_0x3d51fe,highlightViews:_0xd33049}=this['_createSearchResultActionButton'](_0x1d3fda,_0x212f38);this['_allSearchableItems']['push']({'item':_0x3d51fe,'label':_0x2fd08b['label']||'','highlightViews':_0xd33049});}}}),_0x23d993;}['_createActionButton'](_0x2f2970,_0x526e2d,_0x225149,_0x2be2d5){const _0x5e62fc=new _0x14e616['ListItemView'](this['locale']);if(_0x225149&&_0x2be2d5){const _0x5a520a=new _0x14e616['ButtonView'](this['locale']),_0x1c07f8=_0x5a520a['bindTemplate'],_0x12b7b7=new _0x14e616['HighlightedTextView']();_0x12b7b7['text']=_0x526e2d['label'];const _0x27c117=new _0x14e616['HighlightedTextView']();_0x27c117['text']=_0x225149;const _0x56990d=new _0x14e616['IconView']();_0x56990d['content']=_0x2be2d5,_0x56990d['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x3a7d54=new _0x14e616['View'](this['locale']);_0x3a7d54['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__open-paren'},'children':[{'text':'\x20('}]});const _0x38114a=new _0x14e616['View'](this['locale']);return _0x38114a['setTemplate']({'tag':'span','attributes':{'class':'ck-ai-quick-actions-button_with-group__close-paren'},'children':[{'text':')'}]}),_0x5a520a['set']({'label':_0x526e2d['label']+'\x20('+_0x225149+')','withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-button_with-group','tooltip':!0x1,'isEnabled':_0x526e2d['isEnabled']}),_0x5a520a['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-button_with-group',_0x1c07f8['if']('isEnabled','ck-disabled',_0x2c8489=>!_0x2c8489)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0x12b7b7,_0x3a7d54,_0x56990d,_0x27c117,_0x38114a],'on':{'mouseenter':_0x1c07f8['to'](()=>{this['_isSearchFocused']()||_0x5a520a['focus']();}),'click':_0x1c07f8['to'](()=>{_0x5a520a['fire']('execute');})}}),_0x5a520a['on']('execute',()=>{_0x5a520a['isEnabled']&&(_0x2f2970['editing']['view']['focus'](),_0x2f2970['commands']['execute']('aiQuickAction',_0x526e2d));}),_0x5e62fc['children']['add'](_0x5a520a),this['_actionButtons']['push']({'buttonView':_0x5a520a,'action':_0x526e2d}),{'listItem':_0x5e62fc,'highlightViews':[_0x12b7b7,_0x27c117]};}{const _0x31c06b=new _0x14e616['ButtonLabelWithHighlightView'](),_0x32459f=new _0x14e616['ButtonView'](this['locale'],_0x31c06b),_0x356301=_0x32459f['bindTemplate'],_0x4df3f9=_0x526e2d['icon']??_0x526e2d['parent']?.['icon'],_0x115918=void 0x0!==_0x526e2d['icon'];return _0x32459f['set']({'label':_0x526e2d['label'],'withText':!0x0,'role':'menuitem','icon':_0x115918?_0x4df3f9??_0x14e616['IconAIQuickActions']:void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button','isEnabled':_0x526e2d['isEnabled']}),_0x32459f['extendTemplate']({'on':{'mouseenter':_0x356301['to'](()=>{this['_isSearchFocused']()||_0x32459f['focus']();})}}),_0x32459f['on']('execute',()=>{_0x2f2970['editing']['view']['focus'](),_0x2f2970['commands']['execute']('aiQuickAction',_0x526e2d);}),_0x5e62fc['children']['add'](_0x32459f),this['_actionButtons']['push']({'buttonView':_0x32459f,'action':_0x526e2d}),{'listItem':_0x5e62fc,'highlightViews':[_0x31c06b]};}}['_createSearchResultActionButton'](_0x1748f7,_0x3854e5,_0x51699a,_0x326d91){return _0x51699a&&_0x326d91?this['_createSearchResultGroupedActionButton'](_0x1748f7,_0x3854e5,_0x51699a,_0x326d91):this['_createSearchResultIndividualActionButton'](_0x1748f7,_0x3854e5);}['_createSearchResultGroupedActionButton'](_0x27e084,_0x58fecc,_0x455c44,_0x4fdf82){const _0x87af6e=new _0x14e616['ListItemView'](this['locale']),_0x29a59f=new _0x14e616['ButtonView'](this['locale']),_0x210591=_0x29a59f['bindTemplate'],{view:_0x376e68,highlightView:_0x3bd847}=this['_createSearchResultGroupRow'](_0x455c44,_0x4fdf82),{view:_0x557952,highlightView:_0x5173a0}=this['_createSearchResultActionRow'](_0x58fecc['label']),_0xb41765=this['_createSearchResultContentView'](_0x376e68,_0x557952);return _0x29a59f['set']({'label':_0x58fecc['label'],'withText':!0x0,'role':'menuitem','class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button\x20ck-ai-quick-actions-search-result-button_with-group','tooltip':!0x1,'isEnabled':_0x58fecc['isEnabled']}),_0x29a59f['setTemplate']({'tag':'button','attributes':{'class':['ck','ck-button','ck-button_with-text','ck-ai-quick-actions-button','ck-ai-quick-actions-search-result-button','ck-ai-quick-actions-search-result-button_with-group',_0x210591['if']('isEnabled','ck-disabled',_0x42ba87=>!_0x42ba87)],'type':'button','role':'menuitem','tabindex':'-1'},'children':[_0xb41765],'on':{'mouseenter':_0x210591['to'](()=>{this['_isSearchFocused']()||_0x29a59f['focus']();}),'click':_0x210591['to'](()=>{this['_handleSearchResultButtonClick'](_0x29a59f);})}}),this['_setupActionButtonExecution'](_0x29a59f,_0x27e084,_0x58fecc),_0x87af6e['children']['add'](_0x29a59f),this['_actionButtons']['push']({'buttonView':_0x29a59f,'action':_0x58fecc}),{'listItem':_0x87af6e,'highlightViews':[_0x3bd847,_0x5173a0]};}['_createSearchResultIndividualActionButton'](_0x3d36e2,_0x3a3d75){const _0x5c2298=new _0x14e616['ListItemView'](this['locale']),_0xc3ad9f=new _0x14e616['ButtonLabelWithHighlightView'](),_0x537439=new _0x14e616['ButtonView'](this['locale'],_0xc3ad9f),_0x6e5076=_0x537439['bindTemplate'];return _0x537439['set']({'label':_0x3a3d75['label'],'withText':!0x0,'role':'menuitem','icon':void 0x0,'tooltip':!0x1,'class':'ck-ai-quick-actions-button\x20ck-ai-quick-actions-search-result-button','isEnabled':_0x3a3d75['isEnabled']}),_0x537439['extendTemplate']({'on':{'mouseenter':_0x6e5076['to'](()=>{this['_isSearchFocused']()||_0x537439['focus']();})}}),this['_setupActionButtonExecution'](_0x537439,_0x3d36e2,_0x3a3d75),_0x5c2298['children']['add'](_0x537439),this['_actionButtons']['push']({'buttonView':_0x537439,'action':_0x3a3d75}),{'listItem':_0x5c2298,'highlightViews':[_0xc3ad9f]};}['_createSearchResultGroupRow'](_0x440a55,_0x595657){const _0x7234a=new _0x14e616['View'](this['locale']),_0x108b74=new _0x14e616['IconView']();_0x108b74['content']=_0x595657,_0x108b74['extendTemplate']({'attributes':{'class':'ck-ai-quick-actions-button__group-icon'}});const _0x161b38=new _0x14e616['HighlightedTextView']();return _0x161b38['text']=_0x440a55,_0x7234a['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__group-row'},'children':[_0x108b74,_0x161b38]}),{'view':_0x7234a,'highlightView':_0x161b38};}['_createSearchResultActionRow'](_0x2ab2c8){const _0x35ceca=new _0x14e616['View'](this['locale']),_0x1370ce=new _0x14e616['HighlightedTextView']();return _0x1370ce['text']=_0x2ab2c8,_0x35ceca['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__action-row'},'children':[_0x1370ce]}),{'view':_0x35ceca,'highlightView':_0x1370ce};}['_createSearchResultContentView'](_0x365a32,_0x567f08){const _0x4e764f=new _0x14e616['View'](this['locale']);return _0x4e764f['setTemplate']({'tag':'div','attributes':{'class':'ck-ai-quick-actions-search-result__content'},'children':[_0x365a32,_0x567f08]}),_0x4e764f;}['_setupActionButtonExecution'](_0x1a789f,_0x135f47,_0x104c6c){_0x1a789f['on']('execute',()=>{_0x1a789f['isEnabled']&&(_0x135f47['editing']['view']['focus'](),_0x135f47['commands']['execute']('aiQuickAction',_0x104c6c));});}['_createActionGroupButton'](_0xc11b1f,_0x53d623,_0x319162){const _0x2d3412=new _0x14e616['ListItemView'](this['locale']),_0x2f2926=new _0x14e616['ButtonLabelWithHighlightView'](),_0x146d11=new _0x1b3a93(this['locale'],_0x2f2926),_0x52799c=_0x146d11['bindTemplate'],_0x5d5ea7=this['_getPanelKeystroke'](_0x319162),_0x3a286a=this['_createGroupActionsList'](_0xc11b1f,_0x53d623['actions'],_0x319162);_0x146d11['set']({'label':_0x53d623['label'],'withText':!0x0,'role':_0x56988d,'icon':_0x53d623['icon']??_0x14e616['IconAIQuickActions'],'isEnabled':_0x53d623['actions']['some'](_0x2fa97d=>_0x2fa97d['isEnabled'])}),_0x146d11['extendTemplate']({'on':{'mouseenter':_0x52799c['to'](()=>{this['_isSearchFocused']()||_0x146d11['focus']();})}});const _0x14e525=new _0x14e616['BalloonPanelView'](this['locale']);return _0x14e525['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-panel','ck-dropdown-menu__nested-menu__panel']},'on':{'keydown':_0x52799c['to'](_0x47e346=>{this['_handlePanelKeydown'](_0x47e346,_0x5d5ea7,_0x146d11,_0x14e525);})}}),_0x146d11['bind']('isOn')['to'](_0x14e525,'isVisible'),this['_bodyCollection']['add'](_0x14e525),_0x14e525['content']['add'](_0x3a286a),this['_setupGroupMenuBehavior'](_0x146d11,_0x14e525),_0x2d3412['children']['add'](_0x146d11),this['_actionButtons']['push']({'buttonView':_0x146d11,'action':_0x53d623}),{'listItem':_0x2d3412,'highlightView':_0x2f2926};}['_createGroupActionsList'](_0xadf576,_0x3981cf,_0x5a01b3){const _0x303de9=new _0x14e616['ListView'](this['locale']);return _0x303de9['extendTemplate']({'attributes':{'class':['ck','ck-reset_all','ck-ai-quick-actions-group-list','ck-dropdown-menu-list']}}),_0x3981cf['forEach'](_0x2c2b07=>{const _0x168e11=new _0x14e616['ListItemView'](this['locale']),_0x303687=_0x3d9828({'editor':_0xadf576,'action':_0x2c2b07,'withText':!0x0,'withIcon':!0x1,'isInDropdown':!0x0,'shouldPreventFocus':()=>this['_isSearchFocused'](),'actionButtons':this['_actionButtons']})();_0x168e11['children']['add'](_0x303687),_0x5a01b3['focusTracker']['add'](_0x303687),_0x303de9['items']['add'](_0x168e11);}),_0x303de9;}['_setupGroupMenuBehavior'](_0x2ae859,_0x4c192a){const _0x160265=_0x2ae859['bindTemplate'],_0x179b7c=this['_getButtonKeystroke'](_0x2ae859);_0x2ae859['extendTemplate']({'attributes':{'class':['ck-ai-quick-actions-group-button']},'on':{'mouseenter':_0x160265['to'](()=>{this['_showNestedPanel'](_0x4c192a,_0x2ae859);}),'mouseleave':_0x160265['to'](_0x736865=>{const _0x1babf8=_0x736865['relatedTarget'];this['_isMovingToNestedMenu'](_0x1babf8,_0x4c192a)||this['_hideNestedPanel'](_0x4c192a);}),'keydown':_0x160265['to'](_0x4612ea=>{_0x4612ea['key']==_0x179b7c&&(this['_showNestedPanel'](_0x4c192a,_0x2ae859),_0x4c192a['content']['get'](0x0)['focus']());})}}),_0x4c192a['on']('render',()=>{_0x4c192a['element']?.['addEventListener']('mouseleave',_0x171b64=>{const _0x519a22=_0x171b64['relatedTarget'];_0x2ae859['element']?.['contains'](_0x519a22)||this['_isMovingToNestedMenu'](_0x519a22,_0x4c192a)||this['_hideNestedPanel'](_0x4c192a);});});}['_showNestedPanel'](_0x409f77,_0x437ccd){this['_openNestedPanels']['forEach'](_0x2497b5=>{_0x2497b5!==_0x409f77&&_0x2497b5['isVisible']&&_0x2497b5['hide']();}),_0x409f77['show'](),_0x409f77['pin']({'positions':[_0x14e616['DropdownMenuPanelPositioningFunctions']['eastSouth']],'target':_0x437ccd['element'],'fitInViewport':!0x0}),this['_openNestedPanels']['add'](_0x409f77);}['_hideNestedPanel'](_0x32b93d){_0x32b93d['hide'](),this['_openNestedPanels']['delete'](_0x32b93d);}['_hideAllNestedPanels'](){this['_openNestedPanels']['forEach'](_0x5de3cc=>_0x5de3cc['hide']()),this['_openNestedPanels']['clear']();}['_isMovingToNestedMenu'](_0x5ef330,_0x39b8f2){if(!_0x5ef330)return!0x1;if(_0x39b8f2['element']?.['contains'](_0x5ef330))return!0x0;const _0x55d8fe=_0x5ef330;return _0x55d8fe['closest']&&(null!==_0x55d8fe['closest']('.ck-ai-quick-actions-group-panel')||null!==_0x55d8fe['closest']('.ck-ai-quick-actions-group-list')||null!==_0x55d8fe['closest']('.ck-ai-quick-actions-group-button'));}['resetSearch'](){this['_searchTextView']&&this['_searchTextView']['reset']();}['destroy'](){this['_hideAllNestedPanels'](),this['_bodyCollection']['detachFromDom'](),super['destroy']();}['focus'](){this['_searchTextView']?this['_searchTextView']['focus']():this['optionsListView']['focus']();}['_getPanelKeystroke'](_0x516f28){return'rtl'===_0x516f28['locale']['uiLanguageDirection']?'ArrowRight':'ArrowLeft';}['_getButtonKeystroke'](_0x39ccb7){return'rtl'===_0x39ccb7['locale']['uiLanguageDirection']?'ArrowLeft':'ArrowRight';}['_handlePanelKeydown'](_0x827b7b,_0x3c1ac8,_0x56c6c4,_0x56b2e3){_0x827b7b['key']==_0x3c1ac8&&(_0x56c6c4['focus'](),this['_hideNestedPanel'](_0x56b2e3));}['_handleSearchResultButtonClick'](_0x129a33){_0x129a33['fire']('execute');}};function _0x1253f8(_0x1421d3){const {editor:_0x205f44,content:_0x42e788,buttonDefinition:_0x23b84d,bodyCollection:_0x5ad541,hasSearch:_0x1e4a21=!0x1,actionButtons:_0x19267e}=_0x1421d3;return()=>{const _0x175b0e=_0x205f44['locale'],_0x16c3e2=_0x205f44['commands']['get']('aiQuickAction'),_0x45afb2=(0x0,_0x14e616['createDropdown'])(_0x175b0e);_0x45afb2['bind']('isEnabled')['to'](_0x16c3e2),_0x45afb2['buttonView']['set']({'icon':_0x23b84d['icon']??_0x14e616['IconAIQuickActions'],'label':_0x23b84d['label'],'tooltip':!0x0}),_0x45afb2['set']({'class':'ck-ai-quick-actions-dropdown'});const _0x29efeb=new _0x3a7c18(_0x205f44,_0x42e788,_0x45afb2,_0x5ad541,_0x1e4a21,_0x19267e);return _0x45afb2['panelView']['children']['add'](_0x29efeb),_0x1e4a21&&_0x45afb2['on']('change:isOpen',(_0x3407f1,_0x2817ae,_0x50851c)=>{if(_0x50851c){if(_0x205f44['plugins']['has']('AIEditing')){const _0xf24c26=_0x205f44['plugins']['get'](_0x11b915),_0x56f8c8=_0x205f44['model']['document']['selection'],_0x1bdfd0=Array['from'](_0x56f8c8['getRanges']());_0x1bdfd0['length']>0x0&&_0xf24c26['showFakeVisualSelection']({'editor':_0x205f44,'ranges':_0x1bdfd0,'id':'quick-action','priority':0x14});}}else _0x205f44['plugins']['has']('AIEditing')&&_0x205f44['plugins']['get'](_0x11b915)['hideFakeVisualSelection']('quick-action'),_0x29efeb['resetSearch']();}),_0x45afb2;};}const _0x394173='<task>Explain\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x20plain,\x20simple\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).-\x20Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20explanation,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant,\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_0x170bfc='<task>Summarize\x20the\x20selected\x20part\x20of\x20the\x20document\x20in\x202–4\x20clear\x20sentences,\x20capturing\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20summary,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_0x4e3ad1='<task>Extract\x20and\x20present\x20the\x20key\x20points\x20from\x20the\x20selected\x20part\x20of\x20the\x20document\x20as\x20a\x20concise\x20bulleted\x20list.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><output>For\x20this\x20response:\x20reply\x20with\x20only\x20the\x20text\x20key\x20points\x20list,\x20nothing\x20else.</output><scope>These\x20instructions\x20apply\x20to\x20this\x20response\x20only.\x20In\x20follow-up\x20messages,\x20respond\x20normally\x20as\x20a\x20helpful\x20assistant\x20that\x20can\x20make\x20document\x20modifications\x20with\x20no\x20restrictions.</scope>',_0x183ad6=/* #__PURE__ -- @preserve */
((()=>({'chat':'AIChat','action':'AIActions'}))());var _0xdce7b3=class AIQuickActionsUI extends _0x14e616['Plugin']{['_actionButtons']=[];['_menuBarGroupViews']=[];['_reporter'];static get['requires'](){return[_0x14e616['BalloonToolbar'],_0x626bfd,_0x47f55c];}static get['pluginName'](){return'AIQuickActionsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_reporter']=this['editor']['plugins']['get'](_0x47f55c)['createReporter']('aiquickactions');const _0x4c9229=this['_getDefaultAndCustomActions']();this['_prepareQuickActionsDefinition'](_0x4c9229),this['_initializeQuickActionsComponentsAndCommands'](),this['_initActionTypeQuickActions'](),this['_initChatTypeQuickActions']();}static['getDefaultQuickActions'](_0x1435ce){return function(_0x3a8809){const _0x2edd7a=new Intl['DisplayNames'](['en'],{'type':'language'})['of'](_0x3a8809['uiLanguage'])||'English';return[{'id':'ask-ai','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_ASK_AI'),'type':'chat','icon':_0x14e616['IconAIChatCommands']},{'id':'chat-commands','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_CHAT_COMMANDS'),'icon':_0x14e616['IconAIChatCommands'],'actions':[{'id':'explain','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_EXPLAIN'),'displayedPrompt':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_EXPLAIN'),'prompt':_0x394173['replace']('%0',_0x2edd7a),'type':'chat'},{'id':'summarize','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_SUMMARIZE'),'displayedPrompt':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_SUMMARIZE'),'prompt':_0x170bfc['replace']('%0',_0x2edd7a),'type':'chat'},{'id':'highlight-key-points','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'displayedPrompt':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS'),'prompt':_0x4e3ad1['replace']('%0',_0x2edd7a),'type':'chat'}]},{'id':'improve-writing','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_IMPROVE_WRITING'),'type':'action','icon':_0x14e616['IconAIImproveWriting']},{'id':'continue','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_CONTINUE_WRITING'),'type':'action','icon':_0x14e616['IconAIContinueWriting']},{'id':'fix-grammar','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING'),'type':'action','icon':_0x14e616['IconAIGrammarCheck']},{'id':'adjust-length','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_ADJUST_LENGTH'),'icon':_0x14e616['IconAIAdjustLength'],'actions':[{'id':'make-shorter','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_MAKE_SHORTER'),'type':'action'},{'id':'make-longer','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_MAKE_LONGER'),'type':'action'}]},{'id':'change-tone','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_CHANGE_TONE'),'icon':_0x14e616['IconAIChangeTone'],'actions':[{'id':'make-tone-casual','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_MORE_CASUAL'),'type':'action'},{'id':'make-tone-direct','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_MORE_DIRECT'),'type':'action'},{'id':'make-tone-friendly','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_MORE_FRIENDLY'),'type':'action'},{'id':'make-tone-confident','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_MORE_CONFIDENT'),'type':'action'},{'id':'make-tone-professional','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_MORE_PROFESSIONAL'),'type':'action'}]},{'id':'translate','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE'),'icon':_0x14e616['IconAITranslate'],'actions':[{'id':'translate-to-english','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH'),'type':'action','actionName':'translate','args':{'language':'english'}},{'id':'translate-to-chinese','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_CHINESE'),'type':'action','actionName':'translate','args':{'language':'chinese'}},{'id':'translate-to-spanish','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_SPANISH'),'type':'action','actionName':'translate','args':{'language':'spanish'}},{'id':'translate-to-german','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_GERMAN'),'type':'action','actionName':'translate','args':{'language':'german'}},{'id':'translate-to-french','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_FRENCH'),'type':'action','actionName':'translate','args':{'language':'french'}},{'id':'translate-to-japanese','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE'),'type':'action','actionName':'translate','args':{'language':'japanese'}},{'id':'translate-to-portuguese','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE'),'type':'action','actionName':'translate','args':{'language':'portuguese'}},{'id':'translate-to-korean','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_KOREAN'),'type':'action','actionName':'translate','args':{'language':'korean'}},{'id':'translate-to-italian','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN'),'type':'action','actionName':'translate','args':{'language':'italian'}},{'id':'translate-to-russian','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN'),'type':'action','actionName':'translate','args':{'language':'russian'}}]},{'id':'other','label':_0x2723f0(_0x3a8809,'AI_QUICK_ACTIONS_OTHER'),'icon':_0x14e616['IconAIOther'],'actions':[]}];}(_0x1435ce);}['_getDefaultAndCustomActions'](){const _0x3e4df3=AIQuickActionsUI['getDefaultQuickActions'](this['editor']['locale']),_0x511c6f=(this['editor']['config']['get']('ai.quickActions.extraCommands')||[])['map'](_0x5768e5=>({..._0x5768e5,'type':'chat'===_0x5768e5['type']?'chat':'action','icon':void 0x0}));return _0x3e4df3['find'](_0x4f5f31=>'other'===_0x4f5f31['id'])['actions']['push'](..._0x511c6f),_0x3e4df3;}async['_initActionTypeQuickActions'](){try{const _0x1734ab=new th({'connector':this['editor']['plugins']['get']('AIConnector'),'config':this['editor']['config']['get']('ai.models'),'locale':this['editor']['locale']}),_0x5eae8b=await _0x1734ab['getAll'](),_0x596d6a=(await _0x1734ab['getDefault']())?.['id'];this['_assignDefaultModelToCustomActions'](_0x596d6a),this['_enableButtonsByType']('action',_0x46b652=>!!_0x5eae8b['find'](_0x41c03d=>_0x41c03d['id']===_0x46b652['model'])||void 0x0===_0x46b652['model']);}catch(_0x307216){const _0x5b43cc=new _0x14e616['CKEditorError']('ai-quick-actions-models-unable-to-retrieve',this,{'error':_0x307216});this['_reporter']['logError'](_0x5b43cc);}}['_initChatTypeQuickActions'](){if(!this['editor']['plugins']['has']('AIChatController'))return;const _0x26fa48=this['editor']['plugins']['get']('AIChatController');this['listenTo'](_0x26fa48,'change:isConversationReady',(_0x52585c,_0xb0bf6f,_0x43266f)=>{_0x43266f&&this['_enableButtonsByType']('chat',()=>!0x0);}),_0x26fa48['isConversationReady']&&this['_enableButtonsByType']('chat',()=>!0x0);}['_enableButtonsByType'](_0x2520f6,_0xb2acd3){this['_quickActionsDefinition']['forEach'](_0x19d4be=>{'actions'in _0x19d4be?_0x19d4be['actions']['forEach'](_0x5c5f56=>{_0x5c5f56['type']===_0x2520f6&&(_0x5c5f56['isEnabled']=_0xb2acd3(_0x5c5f56));}):_0x19d4be['type']===_0x2520f6&&(_0x19d4be['isEnabled']=_0xb2acd3(_0x19d4be));}),this['_actionButtons']['forEach'](_0x379fed=>{if(_0xcefd23(_0x379fed['action']))return;if(_0x379fed['action']['type']!==_0x2520f6)return;const _0x30bd18=_0xb2acd3(_0x379fed['action']);if(_0x379fed['action']['isEnabled']=_0x30bd18,_0x379fed['buttonView']['isEnabled']=_0x30bd18,!_0x30bd18&&_0x379fed['action']['model']){const _0x5c86f8=new _0x14e616['CKEditorError']('ai-quick-actions-unavailable-model',this,{'actionId':_0x379fed['action']['id'],'modelId':_0x379fed['action']['model']});this['_reporter']['logError'](_0x5c86f8);}}),this['_actionButtons']['filter'](_0x204d18=>_0xcefd23(_0x204d18['action']))['forEach'](_0x3aa435=>{_0x3aa435['buttonView']['isEnabled']=_0x3aa435['action']['actions']['some'](_0x4b9988=>_0x4b9988['isEnabled']);}),this['_menuBarGroupViews']['forEach'](({view:_0x4e6771,group:_0x5bd188})=>{_0x4e6771['isEnabled']=_0x5bd188['actions']['some'](_0x55aa8a=>_0x55aa8a['isEnabled']);});}['_assignDefaultModelToCustomActions'](_0x34677a){this['_actionButtons']['forEach'](_0x4b6743=>{_0xcefd23(_0x4b6743['action'])||'action'===_0x4b6743['action']['type']&&(_0x4b6743['action']['model']||(_0x4b6743['action']['model']=_0x34677a));});}['_initializeQuickActionsComponentsAndCommands'](){const _0x61441b=new _0x14e616['BodyCollection'](this['editor']['locale']);_0x61441b['attachToDom'](),this['_initializeQuickActionsDropdown'](_0x61441b),this['_initializeQuickActionsMenuBar'](),this['_initializeQuickActionsComponents'](_0x61441b);}['_initializeQuickActionsDropdown'](_0x286931){const _0x14b93e=this['editor']['config']['get']('ai.quickActions.isSearchEnabled')??!0x0;this['editor']['ui']['componentFactory']['add']('aiQuickActions',_0x1253f8({'editor':this['editor'],'content':this['_quickActionsDefinition'],'buttonDefinition':{'icon':_0x14e616['IconAIQuickActions'],'label':_0x2723f0(this['editor']['locale'],'AI_QUICK_ACTIONS_HEADING')},'bodyCollection':_0x286931,'hasSearch':_0x14b93e,'actionButtons':this['_actionButtons']}));}['_prepareQuickActionsDefinition'](_0x571961){this['_quickActionsDefinition']=_0x571961['map'](_0x10f699=>{if('actions'in _0x10f699){const _0x50a364=_0x10f699;return{..._0x50a364,'actions':_0x50a364['actions']['map'](_0x55f803=>{const {actions:_0x1aee56,..._0x3f9831}=_0x50a364;return{..._0x55f803,'isEnabled':!0x1,'parent':_0x3f9831};})['filter'](_0x185122=>this['_shouldIncludeAction'](_0x185122))};}return{..._0x10f699,'isEnabled':!0x1};})['filter'](_0x56b6b8=>'actions'in _0x56b6b8?_0x56b6b8['actions']['length']>0x0:this['_shouldIncludeAction'](_0x56b6b8));}['_shouldIncludeAction'](_0x139f60){const _0x412dd1=this['editor']['config']['get']('ai.quickActions.removeCommands')||[];return this['editor']['plugins']['has'](_0x183ad6[_0x139f60['type']])&&!_0x412dd1['includes'](_0x139f60['id'])&&!('chat'===_0x139f60['type']&&!0x1===this['editor']['config']['get']('ai.chat.context.document.enabled'));}['_initializeQuickActionsComponents'](_0x3d0bf1){this['_quickActionsDefinition']['forEach'](_0x34bcfd=>{if('actions'in _0x34bcfd){const _0x456c2a=_0x1253f8({'editor':this['editor'],'content':_0x34bcfd['actions'],'buttonDefinition':_0x34bcfd,'bodyCollection':_0x3d0bf1,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x34bcfd['id'],_0x456c2a),_0x34bcfd['actions']['forEach'](_0x189cdb=>{const _0x49c61d=_0x3d9828({'editor':this['editor'],'action':_0x189cdb,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x189cdb['id'],_0x49c61d);});}else{const _0x16e469=_0x3d9828({'editor':this['editor'],'action':_0x34bcfd,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1,'actionButtons':this['_actionButtons']});this['editor']['ui']['componentFactory']['add'](_0x34bcfd['id'],_0x16e469);}});}['_initializeQuickActionsMenuBar'](){this['editor']['ui']['componentFactory']['add']('menuBar:aiQuickActions',_0x11411e=>{const _0x7efd2=this['editor']['commands']['get']('aiQuickAction'),_0x112e20=new _0x14e616['MenuBarMenuView'](_0x11411e),_0x1e478f=_0x2723f0(_0x11411e,'AI_QUICK_ACTIONS_HEADING');_0x112e20['buttonView']['set']({'label':_0x1e478f,'icon':_0x14e616['IconAIQuickActions']});const _0xceb82c=new _0x14e616['MenuBarMenuListView'](_0x11411e);return _0xceb82c['set']({'ariaLabel':_0x1e478f,'role':'menu'}),this['_quickActionsDefinition']['forEach'](_0x497d2f=>{if('actions'in _0x497d2f){const _0x2a0f8f=_0x497d2f,_0x3bb290=new _0x14e616['MenuBarMenuListItemView'](_0x11411e,_0x112e20),_0x4aba8c=new _0x14e616['MenuBarMenuView'](_0x11411e),_0x5b1f44=new _0x14e616['MenuBarMenuListView'](_0x11411e);_0x4aba8c['buttonView']['set']({'label':_0x2a0f8f['label'],'icon':_0x2a0f8f['icon']}),_0x2a0f8f['actions']['forEach'](_0x2fd7ac=>{const _0xcb8b5=new _0x14e616['MenuBarMenuListItemView'](_0x11411e,_0x4aba8c),_0x5f57d9=new _0x14e616['MenuBarMenuListItemButtonView'](_0x11411e);_0x5f57d9['set']({'label':_0x2fd7ac['label'],'icon':_0x2fd7ac['icon'],'role':'menuitem','isEnabled':_0x2fd7ac['isEnabled']}),_0x5f57d9['on']('execute',()=>{this['_executeQuickAction'](_0x2fd7ac);}),this['_actionButtons']['push']({'buttonView':_0x5f57d9,'action':_0x2fd7ac}),_0x5f57d9['delegate']('execute')['to'](_0x4aba8c),_0xcb8b5['children']['add'](_0x5f57d9),_0x5b1f44['items']['add'](_0xcb8b5);}),_0x4aba8c['isEnabled']=_0x2a0f8f['actions']['some'](_0x2981b0=>_0x2981b0['isEnabled']),this['_menuBarGroupViews']['push']({'view':_0x4aba8c,'group':_0x2a0f8f}),_0x4aba8c['panelView']['children']['add'](_0x5b1f44),_0x3bb290['children']['add'](_0x4aba8c),_0xceb82c['items']['add'](_0x3bb290);}else{const _0x19b485=_0x497d2f,_0x1b217d=new _0x14e616['MenuBarMenuListItemView'](_0x11411e,_0x112e20),_0x2a1661=new _0x14e616['MenuBarMenuListItemButtonView'](_0x11411e);_0x2a1661['set']({'label':_0x19b485['label'],'icon':_0x19b485['icon'],'role':'menuitem','isEnabled':_0x19b485['isEnabled']}),this['_actionButtons']['push']({'buttonView':_0x2a1661,'action':_0x19b485}),_0x2a1661['on']('execute',()=>{this['_executeQuickAction'](_0x19b485);}),_0x2a1661['delegate']('execute')['to'](_0x112e20),_0x1b217d['children']['add'](_0x2a1661),_0xceb82c['items']['add'](_0x1b217d);}}),Object['values'](_0x183ad6)['some'](_0x591371=>this['editor']['plugins']['has'](_0x591371))?_0x112e20['bind']('isEnabled')['to'](_0x7efd2):_0x112e20['set']({'isEnabled':!0x1}),_0x112e20['panelView']['children']['add'](_0xceb82c),_0x112e20;});}['_executeQuickAction'](_0x5dd629){const _0x55f0dd=this['editor'];_0x55f0dd['editing']['view']['focus'](),_0x55f0dd['commands']['execute']('aiQuickAction',_0x5dd629);const _0x2b89a6=_0x55f0dd['ui']['view']['menuBarView'];_0x2b89a6&&_0x2b89a6['close']&&_0x2b89a6['close']();}};function _0xcefd23(_0x159a65){return'actions'in _0x159a65;}function _0x4ba24b(_0x3a3caf,_0x3c3e8f){const _0x419e33=_0x3a3caf['plugins']['get']('AITabs')['view'];_0x419e33['isVisible']=!0x0,_0x419e33['activateTab'](_0x3c3e8f);}var _0x4e8274=class extends _0x14e616['Command']{['execute'](_0x56327a){switch(this['_expandSelectionIfCollapsed'](),_0x56327a['type']){case'chat':if(!this['editor']['plugins']['has']('AIChat')){const _0xdab736=_0x2723f0(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat');throw new _0x14e616['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0xdab736});}this['_handleAIChatAction'](_0x56327a);break;case'action':if(!this['editor']['plugins']['has']('AIActions')){const _0x2259db=_0x2723f0(this['editor']['locale'],'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIActions');throw new _0x14e616['CKEditorError']('ai-quick-actions-plugin-not-found',this['editor'],{'errorMessage':_0x2259db});}this['_handleAIActionsAction'](_0x56327a);}}async['_handleAIChatAction'](_0x1294a5){const _0xb220fd=this['editor']['plugins']['get']('AIChatController');if(_0x4ba24b(this['editor'],'chat'),'ask-ai'===_0x1294a5['id'])_0xb220fd['removeSelectionFromChatContext'](),_0xb220fd['addSelectionToChatContext'](this['editor']),_0xb220fd['focusPromptInput']();else await _0xb220fd['startConversation']({'modelId':_0x1294a5['model']}),_0xb220fd['removeSelectionFromChatContext'](),_0xb220fd['addSelectionToChatContext'](this['editor']),_0xb220fd['focusPromptInput'](),await _0xb220fd['sendMessage']({'message':_0x1294a5['prompt']||_0x1294a5['displayedPrompt']||_0x1294a5['label'],'attributes':{'quickActionData':{'id':_0x1294a5['id']},'displayedPrompt':_0x1294a5['displayedPrompt']}});}['_expandSelectionIfCollapsed'](){const _0x540eba=this['editor'],_0x2ccc0f=_0x540eba['model']['document']['selection'];if(!_0x2ccc0f['isCollapsed'])return;const _0x593464=(0x0,_0x14e616['first'])(_0x2ccc0f['getSelectedBlocks']())||_0x540eba['model']['schema']['getLimitElement'](_0x2ccc0f);_0x540eba['model']['change'](_0x53d382=>{_0x53d382['setSelection'](_0x593464,'in');});}['_handleAIActionsActionLabel'](_0xb00fd1){return _0xb00fd1['parent']?.['label']&&'other'!==_0xb00fd1['parent']?.['id']?_0xb00fd1['parent']['label']+':\x20'+_0xb00fd1['label']:_0xb00fd1['label'];}async['_handleAIActionsAction'](_0x249d9f){const _0x245980=this['editor']['plugins']['get']('AIActions'),_0x1a0b92=_0x249d9f['prompt']?{'userMessage':_0x249d9f['prompt'],'model':_0x249d9f['model']}:{'actionName':_0x249d9f['actionName']||_0x249d9f['id'],'args':_0x249d9f['args']},_0x14cc77=this['_handleAIActionsActionLabel'](_0x249d9f);await _0x245980['executeAction'](_0x1a0b92,_0x14cc77,_0x249d9f['icon']);}},_0x523b18=class extends _0x14e616['Plugin']{static get['pluginName'](){return'AIQuickActionsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x22b485=this['editor'],_0x2109a0=new _0x4e8274(this['editor']);if(_0x22b485['commands']['add']('aiQuickAction',_0x2109a0),_0x22b485['plugins']['has']('AIChat')){const _0x465eee=this['editor']['plugins']['get']('AIChatController');_0x22b485['model']['document']['selection']['on']('change:range',(_0x11b308,_0x54f036)=>{_0x54f036['directChange']&&_0x465eee['removeSelectionFromChatContext']();});}}},_0xee4156=class extends _0x4fc1d9{['appendContent'](_0x96673b,_0x249478='text'){'modification'===this['type']&&'text'===_0x249478&&(_0x249478=this['documentContextContent']['keys']()['next']()['value']),super['appendContent'](_0x96673b,_0x249478);}['updateChangeGroups'](_0x2daee0){const _0x41ab49=this['parsedContent']['get'](_0x2daee0)['cloneNode'](!0x0);if(this['parsedMergedContent']['set'](_0x2daee0,_0x41ab49),this['changeGroups']=[],0x0==_0x41ab49['childNodes']['length'])return;_0x5850e2(this['documentContextContent']['get'](_0x2daee0),this['parsedMergedContent']['get'](_0x2daee0));const _0x325930=_0x3d2865(this['documentContextContent']['get'](_0x2daee0)['children']['map'](_0x3eb8ba=>({'node':_0x3eb8ba,'id':_0x4747ee(_0x3eb8ba,'data-id')})),_0x41ab49['children']['map'](_0xd5b3d8=>({'node':_0xd5b3d8,'id':_0x4747ee(_0xd5b3d8,'data-id')||(0x0,_0x14e616['uid'])()})),{'comparator':(_0xd84960,_0x4cef5b)=>_0xd84960['id']==_0x4cef5b['id'],'oneChangePerToken':!0x0});if(!this['isDone']||!this['isComplete']){for(;_0x325930['length']&&_0x325930[_0x325930['length']-0x1]['removed'];)_0x325930['pop']();}const _0x51481e=_0x325930['map'](_0x429432=>{const _0x19d7b6=_0x429432['added']?'new':_0x429432['removed']?'removed':'modified';return{'node':_0x429432['value'][0x0]['node'],'type':_0x19d7b6,'id':_0x429432['value'][0x0]['id']};}),_0x15db60=this['_documentIdToSource']['get'](_0x2daee0);this['changeGroups']['push']({'changes':_0x51481e,'state':'pending','index':this['changeGroups']['length'],'editor':_0x15db60['editor'],'rootName':_0x15db60['rootName'],'documentId':_0x2daee0});}['_getDifferentChangeGroups'](_0x1c8a16,_0x368532){return _0x368532;}},_0x1f38b0=class extends _0x46edf2{['content'];['version'];['editor'];['rootName'];['actionName'];['args'];['userMessage'];['model'];['hasError']=!0x1;['stoppedExplicitly']=!0x1;constructor(_0x506536){super(_0x506536),this['content']=_0x506536['content'],this['version']=_0x506536['version'],this['editor']=_0x506536['editor'],this['rootName']=_0x506536['rootName'],this['actionName']=_0x506536['actionName'],this['args']=_0x506536['args'],this['userMessage']=_0x506536['userMessage'],this['model']=_0x506536['model'],this['on']('interactionStopped',()=>{this['stoppedExplicitly']=!0x0;});}async['sendRequest'](){return this['actionName']?this['connector']['executeAction']({'content':this['content'],'actionName':this['actionName'],'args':this['args']}):this['connector']['executeCustomAction']({'content':this['content'],'message':this['userMessage'],'model':this['model'],'outputFormat':'html'});}['getDocumentContext'](){return{'type':'document','documents':[{'id':this['id'],'content':this['content'],'version':this['version'],'rootName':this['rootName'],'sessionId':(0x0,_0x14e616['uid'])(),'channelId':this['editor']['config']['get']('collaboration.channelId')}],'label':'Current\x20document','uiId':'current-document'};}['createReply'](_0x355ff2){const _0x577dda=this['editor']['config']['get']('collaboration.channelId'),_0x5bac12=new _0xee4156({..._0x355ff2,'locale':this['locale'],'documentContextContent':[{'id':this['id'],'content':this['content'],'channelId':_0x577dda,'rootName':this['rootName']}],'channelsToEditors':new Map([[_0x577dda,this['editor']]])});return this['replies']['push'](_0x5bac12),_0x5bac12['delegate'](..._0x34626d)['to'](this),this['fire']('replyCreated',_0x5bac12),_0x5bac12;}},_0x3298db=class extends _0x14e616['ToolbarView']{constructor(_0x512eef,_0x50684c=!0x0,_0x3f5b50=!0x0){super(_0x512eef),this['set']('isEnabled',!0x1),_0x50684c&&(this['applyButton']=this['_createButton'](_0x2723f0(_0x512eef,'AI_BALLOON_APPLY_BUTTON'),_0x26434c),this['applyButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['applyButton'])),_0x3f5b50&&(this['suggestButton']=this['_createButton'](_0x2723f0(_0x512eef,'AI_BALLOON_SUGGEST_BUTTON'),_0x50684c?_0x55009e:_0x26434c),this['suggestButton']['bind']('isEnabled')['to'](this),this['items']['add'](this['suggestButton'])),this['setButtonsVisibility']({'showApplyButton':_0x50684c,'showSuggestButton':_0x3f5b50}),this['extendTemplate']({'attributes':{'class':['ck-ai-balloon__toolbar']}});}['setButtonsVisibility']({showApplyButton:_0x271b31,showSuggestButton:_0x2e9381}){this['applyButton']&&(this['applyButton']['isVisible']=_0x271b31),this['suggestButton']&&(this['suggestButton']['isVisible']=_0x2e9381);}['_createButton'](_0x5c724,_0x5c6734){const _0x1b2b65=new _0x14e616['ButtonView'](this['locale']);return _0x1b2b65['set']({'label':_0x5c724,'class':_0x5c6734,'isVisible':!0x0,'withText':!0x0}),_0x1b2b65;}},_0xb39c9d=class extends _0x14e616['View']{constructor(_0x1a4712){super(_0x1a4712),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-balloon__disclaimer']},'children':[{'tag':'p','attributes':{'class':['ck','ck-ai-balloon__disclaimer-content']},'children':[{'text':_0x2723f0(_0x1a4712,'AI_DISCLAIMER_TEXT')}]}]});}},_0x2c583e=class extends _0x14e616['View']{constructor(_0x67f847){super(_0x67f847),this['set']('isVisible',!0x0);const _0x3af289=new _0x31ea16('small');_0x3af289['isVisible']=!0x0;const _0x20c2e4=new _0x14e616['View'](this['locale']);_0x20c2e4['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai-suggestion__loader-text']},'children':[_0x2723f0(this['locale'],'AI_CHAT_IS_WRITING')]}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai-suggestion__loader',this['bindTemplate']['if']('isVisible','ck-hidden',_0x221f3a=>!_0x221f3a)]},'children':[_0x3af289,_0x20c2e4]});}},_0x6e0440=class extends _0x7e1516{['focusCycler'];['_config'];['_contentWrapper'];['_streamableContentView'];['_toolbarView'];['_miniToolbarView'];['_loaderView'];['_disclaimerView'];['_focusTracker'];['_keystrokes'];['_dialogContent'];['_focusables'];['_scrollManager'];['_miniToolbarResizeObserver'];['_navigationPreviousButton'];['_navigationNextButton'];['_navigationTryAgainButton'];['_navigationCounter'];constructor(_0x1f3e98,_0x33d641){super(_0x1f3e98),this['set']('isBusy',!0x1),this['set']('isTrackChangesOn',!0x1),this['set']('_isLoading',!0x1),this['set']('_hasError',!0x1),this['_config']=_0x33d641,this['_focusTracker']=new _0x14e616['FocusTracker'](),this['_keystrokes']=new _0x14e616['KeystrokeHandler'](),this['_focusables']=this['createCollection'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['_focusTracker'],'keystrokeHandler':this['_keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['_dialogContent']=new _0x14e616['ViewCollection'](),this['_addContentWrapper'](_0x33d641),this['_addDisclaimerView'](),this['_addToolbar'](_0x33d641),this['_focusables']['clear'](),this['_focusables']['addMany']([this['_toolbarView']]),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-main']},'children':this['_dialogContent']}),this['on']('change:isTrackChangesOn',()=>{this['_toggleToolbarButtonsVisibility'](_0x33d641);}),this['on']('render',()=>{this['_setupMiniToolbarPositioning']();});}['render'](){super['render']();for(const _0x116135 of this['_focusables'])this['_focusTracker']['add'](_0x116135['element']);this['_keystrokes']['listenTo'](this['element']),this['_initializeScrollManager']();}['destroy'](){super['destroy'](),this['_scrollManager']&&this['_scrollManager']['destroy'](),this['_miniToolbarResizeObserver']&&this['_miniToolbarResizeObserver']['destroy']();}['focus'](_0x3e7f86){-0x1===_0x3e7f86?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['setIsLoading'](_0x1efc46){this['_isLoading']=_0x1efc46;}['setErrorState'](){this['_hasError']=!0x0,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x1);}['clearErrorState'](){this['_hasError']=!0x1,this['_miniToolbarView']['toggleShowChangesEnabled'](!0x0);}['showError'](_0x156cda){super['showError'](_0x156cda),this['_dialogContent']['has'](this['_errorView'])||this['_dialogContent']['add'](this['_errorView'],0x0);}['hideError'](){super['hideError'](),this['clearErrorState']();}['showBlockingError'](_0x1f9a7a){super['showBlockingError'](_0x1f9a7a),this['setErrorState']();}['addMiniToolbarItem'](_0x5a7bd3){this['_miniToolbarView']['items']['has'](_0x5a7bd3)||this['_miniToolbarView']['items']['add'](_0x5a7bd3);}['removeMiniToolbarItem'](_0x5687de){this['_miniToolbarView']['items']['has'](_0x5687de)&&this['_miniToolbarView']['items']['remove'](_0x5687de);}['showLoader'](){this['_loaderView']&&(this['_isLoading']=!0x0);}['hideLoader'](){this['_loaderView']&&(this['_isLoading']=!0x1);}['_toggleToolbarButtonsVisibility']({showApplyButton:_0x51ab5e,showSuggestButton:_0x5d2e15}){_0x51ab5e=_0x51ab5e&&!this['isTrackChangesOn']&&this['_config']['availableActions']['includes']('applySuggestion'),_0x5d2e15=_0x5d2e15&&this['_config']['availableActions']['includes']('insertSuggestion'),this['_toolbarView']['setButtonsVisibility']({'showApplyButton':_0x51ab5e,'showSuggestButton':_0x5d2e15});}async['updateContent'](_0x5227c1){await this['_streamableContentView']['update'](_0x5227c1);}['finalizeContent'](){this['_streamableContentView']['cleanUpStreamingArtifacts']();}['clearContent'](){this['_streamableContentView']['clear']();}['_addContentWrapper'](_0x4faa9b){this['_contentWrapper']=new _0x14e616['View'](this['locale']),this['_contentWrapper']['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content',this['bindTemplate']['if']('_isErrorVisible','ck-hidden')]},'children':[{'tag':'div','attributes':{'class':['ck-ai-actions-balloon-content-wrapper']},'children':[this['_createLoaderView'](),this['_createStreamableContentView']()]},this['_createMiniToolbar'](_0x4faa9b['miniToolbarConfig'])]}),this['_dialogContent']['add'](this['_contentWrapper']);}['_addDisclaimerView'](){this['_disclaimerView']=new _0xb39c9d(this['locale']),this['_dialogContent']['add'](this['_disclaimerView']);}['_addToolbar']({showApplyButton:_0x38dfa1,showSuggestButton:_0x2e2a05}){this['_toolbarView']=new _0x3298db(this['locale'],_0x38dfa1,_0x2e2a05),this['_toolbarView']['applyButton']?.['on']('execute',()=>{this['fire']('applySuggestion');}),this['_toolbarView']['suggestButton']?.['on']('execute',()=>{this['fire']('insertSuggestion');}),this['_toolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',this,'_hasError',(_0x257c54,_0x3dd643,_0x591bdf)=>!(_0x257c54||_0x3dd643||_0x591bdf)),this['_toggleToolbarButtonsVisibility']({'showApplyButton':_0x38dfa1,'showSuggestButton':_0x2e2a05}),this['_dialogContent']['add'](this['_toolbarView']);}['_createMiniToolbar'](_0x3a00b3){return this['_miniToolbarView']=new _0x391e19(this['locale'],_0x3a00b3),this['_miniToolbarView']['delegate'](..._0x51b445)['to'](this),this['_miniToolbarView']['on']('toggleShowChanges',()=>{this['_miniToolbarView']['isShowChangesOn']=!this['_miniToolbarView']['isShowChangesOn'],this['fire']('toggleSuggestionDisplayMode',{'showDiff':this['_miniToolbarView']['isShowChangesOn']});}),this['_miniToolbarView']['bind']('isEnabled')['to'](this,'isBusy',this,'_isLoading',(_0x527bcf,_0x5c3f9c)=>!(_0x527bcf||_0x5c3f9c)),this['_miniToolbarView'];}['_createLoaderView'](){return this['_loaderView']=new _0x2c583e(this['locale']),this['_loaderView']['bind']('isVisible')['to'](this,'_isLoading'),this['_loaderView'];}['_createStreamableContentView'](){return this['_streamableContentView']=new _0x52e3d6(this['locale']),this['_streamableContentView'];}['_setupMiniToolbarButtons'](){const _0x1e0998=new _0x14e616['ButtonView'](this['locale']),_0x4fdb00=new _0x14e616['ButtonView'](this['locale']),_0x5c21a9=new tm(this['locale']),_0x2adb2c=new _0x14e616['ButtonView'](this['locale']);_0x1e0998['set']({'icon':_0x14e616['IconRefresh'],'label':_0x2723f0(this['locale'],'AI_ACTIONS_TRY_AGAIN'),'tooltip':!0x0,'class':'ck-ai-custom-action-button\x20'+_0x2eb508}),_0x4fdb00['set']({'icon':_0x14e616['IconPreviousArrow'],'tooltip':_0x2723f0(this['locale'],'AI_ACTIONS_PREVIOUS_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-previous-button\x20'+_0x2eb508}),_0x2adb2c['set']({'icon':_0x14e616['IconNextArrow'],'tooltip':_0x2723f0(this['locale'],'AI_ACTIONS_NEXT_INTERACTION'),'class':'ck-ai-navigation-button\x20ck-ai-next-button\x20'+_0x2eb508}),_0x1e0998['bind']('isEnabled')['to'](this,'isBusy',_0x1520b5=>!_0x1520b5),_0x1e0998['on']('execute',()=>{this['fire']('tryAgain');}),_0x4fdb00['bind']('isEnabled')['to'](this,'isBusy',_0x311e6f=>!_0x311e6f),_0x4fdb00['on']('execute',()=>{this['fire']('showPrevious');}),_0x2adb2c['bind']('isEnabled')['to'](this,'isBusy',_0x6cb263=>!_0x6cb263),_0x2adb2c['on']('execute',()=>{this['fire']('showNext');}),this['_navigationPreviousButton']=_0x4fdb00,this['_navigationCounter']=_0x5c21a9,this['_navigationNextButton']=_0x2adb2c,this['_navigationTryAgainButton']=_0x1e0998;}['updateMiniToolbarButtons'](_0x54333e,_0x40648e){this['_navigationPreviousButton']||this['_setupMiniToolbarButtons']();const _0x3ff76a=_0x54333e>0x1;if(this['addMiniToolbarItem'](this['_navigationTryAgainButton']),_0x3ff76a){this['addMiniToolbarItem'](this['_navigationPreviousButton']),this['addMiniToolbarItem'](this['_navigationCounter']),this['addMiniToolbarItem'](this['_navigationNextButton']);const _0x423635=_0x54333e-_0x40648e;this['_navigationCounter']['setInteractionCount'](_0x423635+'/'+_0x54333e),this['_navigationPreviousButton']['isEnabled']=_0x40648e<_0x54333e-0x1,this['_navigationNextButton']['isEnabled']=_0x40648e>0x0;}else this['removeMiniToolbarItem'](this['_navigationPreviousButton']),this['removeMiniToolbarItem'](this['_navigationCounter']),this['removeMiniToolbarItem'](this['_navigationNextButton']);}['disableMiniToolbarButtons'](){this['_navigationTryAgainButton']['isEnabled']=!0x1,this['_navigationPreviousButton']['isEnabled']=!0x1,this['_navigationNextButton']['isEnabled']=!0x1;}['startAutoScroll'](){this['_initializeScrollManager'](),this['_scrollManager']&&this['_scrollManager']['start']();}['stopAutoScroll'](){this['_scrollManager']&&this['_scrollManager']['stop']();}['toggleIsLoading'](_0x2780df){this['_isLoading']=_0x2780df;}['resetShowChangesButton'](){this['_miniToolbarView']['isShowChangesOn']=!0x1;}['_setupMiniToolbarPositioning'](){const _0x5df53e=this['_streamableContentView']['element'],_0x850191=this['_miniToolbarView']['element'],_0x544ba1=()=>{_0x14e616['global']['window']['requestAnimationFrame'](()=>{const _0x491e7f=_0x5df53e['offsetWidth']-_0x5df53e['clientWidth'];_0x850191['style']['right']='calc('+_0x491e7f+'px\x20+\x20var(--ck-spacing-large))';});};_0x544ba1(),this['_miniToolbarResizeObserver']=new _0x14e616['ResizeObserver'](_0x5df53e,()=>{_0x544ba1();});}['_initializeScrollManager'](){const _0x3934dd=this['_getScrollableElement']();_0x3934dd&&!this['_scrollManager']&&(this['_scrollManager']=new _0x4908bd(_0x3934dd));}['_getScrollableElement'](){return this['_streamableContentView']['element'];}},tm=class extends _0x14e616['View']{constructor(_0x10cc7e){super(_0x10cc7e);const _0xf724f8=this['bindTemplate'];this['set']('interactionCount','1/1'),this['setTemplate']({'tag':'span','attributes':{'class':['ck-ai-interaction-counter']},'children':[{'text':_0xf724f8['to']('interactionCount')}]});}['setInteractionCount'](_0x594e33){this['set']('interactionCount',_0x594e33);}},_0x3f39c5=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x626bfd,_0x47f55c,_0x14e616['Dialog'],_0x11b915,_0x2e776b,_0x4abd7b];}static get['pluginName'](){return'AIActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_aiConnector'];['_interactions']=[];['_currentInteractionIndex']=0x0;['_interactionParams'];['_balloonShowDiff']=!0x1;['_promiseQueue'];get['_interaction'](){return this['_interactions'][this['_interactions']['length']-0x1];}['_actionsBalloonView'];['_reporter'];constructor(_0x18dcfe){super(_0x18dcfe),this['_aiConnector']=this['editor']['plugins']['get']('AIConnector'),this['_reporter']=this['editor']['plugins']['get'](_0x47f55c)['createReporter']('aiactions'),this['set']('isBusy',!0x1),this['_promiseQueue']=new _0x168e72();}['stopInteraction'](){this['_stopInteraction']();}async['executeAction'](_0x51b090,_0x472b0a,_0xee3542){if(this['_stopInteraction'](),this['editor']['plugins']['has']('TableSelection')&&this['editor']['plugins']['get']('TableSelection')['getSelectedTableCells']()){const {modelFragment:_0x176d84,anchorData:_0x30ceff,root:_0x48bd1b}=this['_getExecuteDataInTable']();return this['_executeAction'](_0x51b090,_0x176d84,_0x30ceff,_0x48bd1b,_0x472b0a,_0xee3542);}const {modelFragment:_0x5ac5ce,anchorData:_0x3bef87,root:_0x1530eb}=this['_getExecuteDataRegular']();return this['_executeAction'](_0x51b090,_0x5ac5ce,_0x3bef87,_0x1530eb,_0x472b0a,_0xee3542);}async['destroy'](){return this['_stopInteraction'](),super['destroy']();}['_createActionsBalloonView'](){const _0x2f3908=this['editor']['plugins']['has']('TrackChanges');let _0x370aef=this['editor']['config']['get']('ai.availableReplyActions')||[..._0x30d553];_0x2f3908||(_0x370aef=_0x370aef['filter'](_0x464711=>'insertSuggestion'!=_0x464711));const _0x1aaf17=this['editor']['commands']['get']('trackChanges'),_0x465ad9=new _0x6e0440(this['editor']['locale'],{'showApplyButton':!0x0,'showSuggestButton':_0x2f3908,'miniToolbarConfig':{'showChanges':'icon'},'availableActions':_0x370aef});return _0x465ad9['bind']('isBusy')['to'](this),_0x1aaf17&&_0x465ad9['bind']('isTrackChangesOn')['to'](_0x1aaf17,'value'),_0x465ad9['on']('tryAgain',()=>{this['_refreshInteraction']();}),_0x465ad9['on']('showPrevious',()=>{this['_navigateToPrevious']();}),_0x465ad9['on']('showNext',()=>{this['_navigateToNext']();}),_0x465ad9;}['_normalizeSelectionStart'](){const _0x512acc=this['editor']['model'],_0x3d2fd9=_0x512acc['document']['selection'],_0x1a4842=_0x3d2fd9['getFirstRange']();if(!_0x1a4842||_0x1a4842['isCollapsed'])return;const _0x3f61c0=(0x0,_0x14e616['first'])(_0x3d2fd9['getSelectedBlocks']());if(!_0x3f61c0)return;const _0x97e811=_0x512acc['createPositionAt'](_0x3f61c0,0x0);_0x97e811['isAfter'](_0x1a4842['start'])&&_0x512acc['change'](_0x455896=>{_0x455896['setSelection'](_0x455896['createRange'](_0x97e811,_0x1a4842['end']));});}['_getExecuteDataRegular'](){const _0x1125a7=this['editor']['model']['document']['selection'],_0x350f9d=_0x1125a7['getFirstRange']()['start']['root'];if(_0x1125a7['isCollapsed']){const _0x6247e2=(0x0,_0x14e616['first'])(_0x1125a7['getSelectedBlocks']())||this['editor']['model']['schema']['getLimitElement'](_0x1125a7);this['editor']['model']['change'](_0x17a406=>{_0x17a406['setSelection'](_0x6247e2,'in');});}this['_normalizeSelectionStart']();const _0x55757e=_0x1125a7['getFirstRange'](),_0x405bae=this['_wrapWithCommonAncestors'](this['editor']['model']['getSelectedContent'](_0x1125a7),_0x55757e['start'],_0x55757e['end']);this['_copyMarkersToFragment'](_0x405bae,_0x1125a7,{'isTableSelection':!0x1});const _0x2718f9=_0x1125a7['getFirstRange']()['start'],_0x4434b7=new Map();let _0x5b7136=_0x405bae;for(let _0x1abbfc=0x0;_0x1abbfc<_0x2718f9['path']['length'];_0x1abbfc++)_0x4434b7['set'](_0x5b7136,_0x2718f9['path'][_0x1abbfc]),_0x5b7136=_0x5b7136['getChild'](0x0);return{'modelFragment':_0x405bae,'anchorData':_0x4434b7,'root':_0x350f9d};}['_getExecuteDataInTable'](){const _0x38893f=this['editor']['model']['document']['selection'],_0x38a730=this['editor']['plugins']['get']('TableSelection'),_0x227a11=_0x38893f['getFirstRange']()['start']['root'],_0x3498a9=_0x38a730['getSelectionAsFragment'](),_0x903dbb=_0x38893f['getFirstRange']()['start']['parent']['parent'],_0x10537a=this['editor']['model']['createRange'](this['editor']['model']['createPositionBefore'](_0x903dbb),this['editor']['model']['createPositionAfter'](_0x903dbb)),_0x284172=this['_wrapWithCommonAncestors'](_0x3498a9,_0x10537a['start'],_0x10537a['end']);this['_copyMarkersToFragment'](_0x284172,_0x38893f,{'isTableSelection':!0x0});const _0x5d4e5a=_0x38893f['getFirstRange']()['start'],_0x21ff3d=new Map();let _0x4bb401=_0x284172;for(let _0x5991ab=0x0;_0x5991ab<_0x5d4e5a['path']['length'];_0x5991ab++)if(_0x21ff3d['set'](_0x4bb401,_0x5d4e5a['path'][_0x5991ab]),_0x5991ab<_0x5d4e5a['path']['length']-0x1)_0x4bb401=_0x4bb401['getChild'](0x0);else{let _0x3587ef=_0x4bb401['nextSibling'];for(;_0x3587ef;)_0x21ff3d['set'](_0x3587ef,_0x5d4e5a['path'][_0x5991ab]),_0x3587ef=_0x3587ef['nextSibling'];}return{'modelFragment':_0x284172,'anchorData':_0x21ff3d,'root':_0x227a11};}async['_executeAction'](_0x21c91c,_0x17f3bb,_0x184433,_0x216d68,_0x3332e2,_0x56ecc){const _0x1d13f7=this['editor']['plugins']['get'](_0x11b915),_0x127139=this['editor']['plugins']['get'](_0x2e776b),_0x3f4ab5=this['editor']['model']['document']['selection'],_0x1d3734=await _0x1d13f7['modelToDataWithIds'](_0x17f3bb,this['editor']),_0x283ce6=this['editor']['model']['document']['version'],_0x5cca1=[..._0x3f4ab5['getRanges']()];return this['_actionsBalloonView']||(this['_actionsBalloonView']=this['_createActionsBalloonView']()),this['_clearInteractionHistory'](),this['_clearErrorState'](),this['_balloonShowDiff']=!0x1,this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['clearContent'](),_0x127139['open']({'targetEditor':this['editor'],'index':0x3e8*Math['random']()%0x3e8,'title':_0x3332e2,'icon':_0x56ecc||_0x14e616['IconAIQuickActions'],'mainView':this['_actionsBalloonView'],'class':'ck-ai-actions-balloon','ranges':_0x5cca1,'id':'aiActionsBalloon'}),this['_setLoadingState'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x127139),this['_interactionParams']={'action':_0x21c91c,'content':_0x1d3734,'version':_0x283ce6,'aiBalloon':_0x127139,'modelFragment':_0x17f3bb,'anchorData':_0x184433,'root':_0x216d68},this['_setupApplyListeners'](),this['listenTo'](_0x127139,'selectionRemoved',()=>{this['_stopInteraction'](),this['_actionsBalloonView']['disableMiniToolbarButtons']();}),this['listenTo'](_0x127139,'dialogClosed',(_0x528b34,{id:_0x2d7aa2})=>{if('aiActionsBalloon'===_0x2d7aa2){for(const _0x293cc2 of this['_interactions']){if(0x0===_0x293cc2['replies']['length']||_0x293cc2['stoppedExplicitly'])continue;const _0x2c831a=_0x293cc2['replies'][_0x293cc2['replies']['length']-0x1],_0x139ba6=_0x2c831a['changeGroups'][0x0];_0x139ba6&&'pending'===_0x139ba6['state']&&_0x2c831a['setChangeGroupState'](0x0,'rejected');}this['_stopInteraction'](),this['_clearInteractionHistory'](),this['stopListening'](this['_actionsBalloonView']),this['stopListening'](_0x127139);}}),this['_createInteraction'](_0x1d3734,_0x283ce6,_0x127139,_0x21c91c);}['_setupApplyListeners'](){if(!this['_interactionParams'])return;const {modelFragment:_0x45ae5a,anchorData:_0x49a3e2,root:_0x126091}=this['_interactionParams'];this['listenTo'](this['_actionsBalloonView'],'applySuggestion',()=>{this['_applyChanges'](_0x45ae5a,_0x49a3e2,_0x126091,!0x1);}),this['listenTo'](this['_actionsBalloonView'],'insertSuggestion',()=>{this['_applyChanges'](_0x45ae5a,_0x49a3e2,_0x126091,!0x0);});}['_wrapWithCommonAncestors'](_0x131c04,_0x5c4c30,_0x33af86){const _0x343a9e=this['editor']['model']['createRange'](_0x5c4c30,_0x33af86)['getCommonAncestor'](),_0x5b321d=_0x343a9e['is']('documentFragment')?[]:_0x343a9e['getAncestors']({'includeSelf':!0x0})['slice'](0x1);if(_0x5b321d['length']){const _0x1e1d1a=_0x5b321d['map'](_0x29c85c=>_0x29c85c['_clone'](!0x1));for(let _0x330f85=0x1;_0x330f85<_0x1e1d1a['length'];_0x330f85++)_0x1e1d1a[_0x330f85-0x1]['_appendChild'](_0x1e1d1a[_0x330f85]);return _0x1e1d1a[_0x1e1d1a['length']-0x1]['_appendChild'](_0x131c04),new _0x14e616['ModelDocumentFragment'](_0x1e1d1a[0x0]);}return _0x131c04;}['_copyMarkersToFragment'](_0x2ae677,_0x1669e9,_0x540a8a={'isTableSelection':!0x1}){const _0x2f3c70=this['editor']['model'],_0x50602e=Array['from'](_0x1669e9['getRanges']()),_0x5be7fa=_0x1669e9['getFirstRange']()['start'];for(const _0x56964e of _0x2f3c70['markers']){if(_0x56964e['name']['startsWith']('ai-selection')||!_0x56964e['affectsData'])continue;const _0x2dbc40=_0x56964e['getRange']();if(!_0x50602e['some'](_0x3b02dd=>_0x3b02dd['containsRange'](_0x2dbc40,!0x0)))continue;const _0x3457e8=this['_regularCalculateMarkerPath'](_0x2dbc40['start'],_0x5be7fa,_0x540a8a['isTableSelection']),_0x1a25fe=this['_regularCalculateMarkerPath'](_0x2dbc40['end'],_0x5be7fa,_0x540a8a['isTableSelection']),_0x107c12=_0x2f3c70['createPositionFromPath'](_0x2ae677,_0x3457e8),_0x500a06=_0x2f3c70['createPositionFromPath'](_0x2ae677,_0x1a25fe);if(!_0x107c12['isEqual'](_0x500a06)){const _0x38af27=_0x2f3c70['createRange'](_0x107c12,_0x500a06);_0x2ae677['markers']['set'](_0x56964e['name'],_0x38af27);}}}['_regularCalculateMarkerPath'](_0x405c8b,_0xeb29fa,_0x2b71a1=!0x1){const _0x1e8ddd=[..._0x405c8b['path']['slice']()];for(let _0x9fdfab=0x0;_0x9fdfab<Math['max'](_0xeb29fa['path']['length'],_0x405c8b['path']['length']);_0x9fdfab++){const _0x457e04=_0xeb29fa['path'][_0x9fdfab]||0x0,_0x3dcce4=(_0x405c8b['path'][_0x9fdfab]||0x0)-_0x457e04;if(_0x1e8ddd[_0x9fdfab]=_0x3dcce4,0x0!==_0x3dcce4&&!_0x2b71a1)break;}return _0x1e8ddd;}async['_createInteraction'](_0x1ac601,_0x1de990,_0x279990,_0x4caff5){const _0x661281=this['editor'],_0x223270=_0x661281['model']['document']['selection']['getFirstRange']()['start']['root'];if(!(0x0,_0x14e616['rootAcceptsBlocks'])(_0x661281,_0x223270['rootName']))return this['_actionsBalloonView']['showBlockingError'](_0x2723f0(this['editor']['locale'],'AI_SUGGESTION_NO_PARTS_WARNING')),Promise['resolve']();this['_interactionParams']||(this['_interactionParams']={'action':_0x4caff5,'content':_0x1ac601,'version':_0x1de990,'aiBalloon':_0x279990,'modelFragment':this['editor']['model']['getSelectedContent'](this['editor']['model']['document']['selection']),'anchorData':new Map(),'root':_0x223270});const _0xcafb17=new _0x1f38b0({'connector':this['_aiConnector'],'locale':_0x661281['locale'],'content':_0x1ac601,'version':_0x1de990,'editor':_0x661281,'rootName':_0x223270['rootName'],..._0x4caff5});this['_interactions']['push'](_0xcafb17);const _0x100d7b=(_0x55ef98,_0x1b488d=!0x1,_0x2b5fa9='streaming')=>{const {isDone:_0xe7c33d}=_0x55ef98;return this['_promiseQueue']['enqueue'](async _0x860d3d=>{try{const _0x3bd926=_0x55ce94({'changeGroups':_0x55ef98['changeGroups'],'documentContextContent':_0x55ef98['documentContextContent'],'showDiff':_0x1b488d,'trimUnchanged':!0x1});_0x3bd926['length']&&await this['_actionsBalloonView']['updateContent']({'part':_0x3bd926[0x0],'renderingStrategy':_0x2b5fa9,'abortSignal':_0x860d3d}),_0xe7c33d&&this['_actionsBalloonView']['finalizeContent']();}catch(_0x43d2df){if(_0x50e33e(_0x43d2df))return;throw _0x43d2df;}});};_0xcafb17['on']('replyCreated',(_0x3624ea,_0x577618)=>{this['_actionsBalloonView']['hideLoader'](),this['_actionsBalloonView']['startAutoScroll'](),_0x100d7b(_0x577618)['catch'](_0xa41ec1=>{this['_reporter']['logError'](_0xa41ec1,{'context':{'operation':'reply-create'}}),this['_setErrorState'](_0xcafb17,_0xa41ec1);});}),_0xcafb17['on']('replyContentUpdated',(_0x114899,_0x1ecab2)=>{_0x100d7b(_0x1ecab2)['catch'](_0x162aaa=>{this['_reporter']['logError'](_0x162aaa,{'context':{'operation':'reply-update'}}),this['_setErrorState'](_0xcafb17,_0x162aaa);});}),_0xcafb17['on']('interactionFinished',async()=>{try{await this['_clearLoadingState'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),await this['_promiseQueue']['queueEmptyPromise'];}catch(_0x36443d){this['_reporter']['logError'](_0x36443d,{'context':{'operation':'interaction-finish'}}),this['_setErrorState'](_0xcafb17,_0x36443d);}finally{this['_actionsBalloonView']['stopAutoScroll']();}}),this['listenTo'](this['_actionsBalloonView'],'toggleSuggestionDisplayMode',async(_0x4e90bd,{showDiff:_0x163ffe})=>{try{this['_balloonShowDiff']=_0x163ffe;const _0x331a65=this['_interaction']['replies'][this['_interaction']['replies']['length']-0x1];_0x331a65&&await _0x100d7b(_0x331a65,_0x163ffe,'static');}catch(_0x56d8c7){this['_reporter']['logError'](_0x56d8c7,{'context':{'operation':'toggle-suggestion-display'}}),this['_setErrorState'](_0xcafb17,_0x56d8c7);}}),_0xcafb17['on']('replyChangeGroupStateUpdated',()=>{const _0x4380e2={'positiveCount':_0xcafb17['replies']['reduce']((_0x493c6f,_0x3437eb)=>_0x493c6f+_0x3437eb['changeGroups']['filter'](_0x53f8a9=>'accepted'===_0x53f8a9['state'])['length'],0x0),'totalCount':_0xcafb17['replies']['reduce']((_0x4b8de3,_0x1e5f90)=>_0x4b8de3+_0x1e5f90['changeGroups']['length'],0x0)},_0x2c7f69=_0xcafb17['actionCallId'],_0x462d14=_0xcafb17['actionName'];_0x462d14?this['_aiConnector']['upsertAIActionRating'](_0x462d14,_0x2c7f69,_0x4380e2):this['_aiConnector']['upsertCustomAIActionRating'](_0x2c7f69,_0x4380e2);}),this['_setLoadingState']();try{const _0x3526ea=await _0xcafb17['start']();return this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),_0x3526ea;}catch(_0xeb87d0){_0x50e33e(_0xeb87d0)||this['_actionsBalloonView']['hideLoader'](),this['_reporter']['logError'](_0xeb87d0,{'context':{'operation':'create-interaction'}}),this['_setErrorState'](_0xcafb17,_0xeb87d0);}}['_applyChanges'](_0xec385f,_0x1e5dfe,_0x1f1312,_0x2561db){const _0x585822=this['editor'];if(_0x2561db&&!_0x585822['plugins']['has']('TrackChanges'))throw new _0x14e616['CKEditorError']('ai-no-track-changes',null);const _0x630684=this['editor']['plugins']['get'](_0x4abd7b),_0x40f053=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x40f053||!_0x40f053['replies']['length'])return;const _0x1608f8=_0x40f053['replies'][_0x40f053['replies']['length']-0x1];_0x1608f8['setChangeGroupState'](0x0,'accepted');const _0x184cd9=_0xfeaef8({'documentSuggestions':_0x673bd({'groups':[_0x1608f8['changeGroups'][0x0]],'documentContextContent':_0x1608f8['documentContextContent'],'documents':_0x40f053['getDocumentContext']()['documents']}),'transform':!0x1,'documentCompare':_0x630684,'documentCompareOptions':{'anchor':_0x585822['model']['createPositionAt'](_0xec385f,0x0),'markDeletions':_0x2561db}})['values']()['next']()['value']??[],_0x873b0=this['_filterOperationsOutsideRange'](_0x184cd9,_0x1e5dfe);for(const _0x359be3 of _0x873b0)this['_anchorOperation'](_0x1e5dfe,_0x359be3,_0x1f1312);const _0x1e5059=_0x40f053['getDocumentContext']()['documents'][0x0]['version'],_0x294e96=(0x0,_0x14e616['transformOperationSets'])(_0x873b0,_0x585822['model']['document']['history']['getOperations'](_0x1e5059),{'document':_0x585822['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1})['operationsA'];_0x3efdc2(_0x294e96,'quickActions');try{_0x585822['model']['change'](_0x47a530=>{_0x47a530['setSelection'](_0x585822['model']['document']['selection']['focus']),_0x2561db?_0x585822['plugins']['get']('TrackChangesEditing')['_applyOperationsAsSuggestions'](_0x294e96):_0x630684['applyOperations'](_0x47a530,_0x294e96);});}catch(_0x33c4a1){throw this['_reporter']['logError'](new _0x1118f7({'code':'ai-applying-suggestion-failed','type':'runtime','cause':_0x33c4a1})),_0x33c4a1;}this['editor']['plugins']['get']('AIBalloon')['close']();}['_filterOperationsOutsideRange'](_0x139a4b,_0x3ec783){return _0x139a4b['filter'](_0x4abef0=>{if('rename'==_0x4abef0['type']){const _0x27c8f7=_0x4abef0['position']['nodeAfter'];return!_0x3ec783['has'](_0x27c8f7);}if(_0x4abef0['type']['indexOf']('Attribute')>-0x1){const _0x53667b=_0x4abef0['range']['start']['nodeAfter'];return!_0x3ec783['has'](_0x53667b);}return!0x0;});}['_anchorOperation'](_0x17ae0a,_0x135bbb,_0x5cc6a5){const _0xe8f85f=_0x135bbb['clone']();for(const _0x1fdfbc in _0x135bbb){const _0x20fedf=_0x135bbb[_0x1fdfbc];_0x20fedf instanceof _0x14e616['ModelRange']?_0x135bbb[_0x1fdfbc]=new _0x14e616['ModelRange'](_0x3a48c7(_0x20fedf['start']),_0x3a48c7(_0x20fedf['end'])):_0x20fedf instanceof _0x14e616['ModelPosition']&&(_0x135bbb[_0x1fdfbc]=_0x3a48c7(_0x20fedf));}if(['insert','move','remove','reinsert','split','merge']['includes'](_0xe8f85f['type'])){if(_0xe8f85f['isDocumentOperation']=!0x1,_0xe8f85f['baseVersion']=null,'remove'==_0xe8f85f['type']){const _0x11ba30=_0xe8f85f['sourcePosition'],_0x43b0f7=_0xe8f85f['howMany'];new _0x14e616['_DetachOperation'](_0x11ba30,_0x43b0f7)['_execute']();}else _0xe8f85f['_execute']();}function _0x3a48c7(_0x5395c8){if('$graveyard'==_0x5395c8['root']['rootName'])return _0x5395c8;const _0x11edef=[];let _0x228d12=_0x5395c8['root'];for(let _0x3754f4=0x0;_0x3754f4<_0x5395c8['path']['length'];_0x3754f4++){const _0x3e578e=_0x17ae0a['get'](_0x228d12)||0x0;_0x11edef[_0x3754f4]=_0x5395c8['path'][_0x3754f4]+_0x3e578e,_0x228d12=_0x228d12['getChildAtOffset'](_0x5395c8['path'][_0x3754f4]);}return new _0x14e616['ModelPosition'](_0x5cc6a5,_0x11edef,_0x5395c8['stickiness']);}}['_refreshInteraction'](){if(!this['_interactionParams'])return;this['_interactions']['length']>0x0&&this['_stopInteraction'](),this['_currentInteractionIndex']=0x0,this['_balloonShowDiff']=!0x1;const {action:_0x4db76d,content:_0x2b6a7c,version:_0x55da9a,aiBalloon:_0x5f7a2c}=this['_interactionParams'];this['_clearErrorState'](),this['_actionsBalloonView']['clearContent'](),this['_actionsBalloonView']['showLoader'](),this['_actionsBalloonView']['resetShowChangesButton'](),this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']),this['stopListening'](this['_actionsBalloonView']),this['_setupApplyListeners'](),this['_createInteraction'](_0x2b6a7c,_0x55da9a,_0x5f7a2c,_0x4db76d)['catch'](_0x465fc7=>{this['_reporter']['logError'](_0x465fc7,{'context':{'operation':'refresh-interaction'}});});}['_clearInteractionHistory'](){this['_interactions']=[],this['_interactionParams']=void 0x0,this['_currentInteractionIndex']=0x0,this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_stopInteraction'](){this['_interaction']&&this['_interaction']['stop'](),this['_promiseQueue']['abort'](),this['isBusy']=!0x1,this['_interactionParams']&&this['_actionsBalloonView']['stopAutoScroll']();}['_navigateToPrevious'](){const _0x4c7d09=this['_interactions']['length'];this['_currentInteractionIndex']<_0x4c7d09-0x1&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']+0x1);}['_navigateToNext'](){this['_currentInteractionIndex']>0x0&&this['_displayInteractionAtIndex'](this['_currentInteractionIndex']-0x1);}async['_displayInteractionAtIndex'](_0x43c8b9){if(!this['_interactionParams'])return;this['_currentInteractionIndex']=_0x43c8b9;const _0x324adc=this['_interactions'][this['_interactions']['length']-0x1-this['_currentInteractionIndex']];if(!_0x324adc)return;if(_0x324adc['hasError'])return this['_setErrorState'](_0x324adc),void this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);if(!_0x324adc['replies']['length'])return;this['_actionsBalloonView']['hideError'](),this['_interactionParams']&&this['_clearErrorState']();const _0x324b3a=_0x324adc['replies'][_0x324adc['replies']['length']-0x1];if(_0x324b3a)try{const _0x1b74f5=_0x55ce94({'changeGroups':_0x324b3a['changeGroups'],'documentContextContent':_0x324b3a['documentContextContent'],'showDiff':this['_balloonShowDiff'],'trimUnchanged':!0x1});await new Promise(_0x2cddee=>setTimeout(_0x2cddee,0x32)),await this['_actionsBalloonView']['updateContent']({'part':_0x1b74f5[0x0],'renderingStrategy':'static','abortSignal':new AbortController()['signal']});}catch(_0x3947c3){this['_reporter']['logError'](_0x3947c3,{'context':{'operation':'navigation-update'}});}this['_actionsBalloonView']['updateMiniToolbarButtons'](this['_interactions']['length'],this['_currentInteractionIndex']);}['_setLoadingState'](){this['_actionsBalloonView']['setIsLoading'](!0x0),this['isBusy']=!0x0;}async['_setErrorState'](_0x385111,_0x34fc22){if(void 0x0!==_0x34fc22&&_0x50e33e(_0x34fc22))return;const _0x51d0d3=_0x2723f0(this['editor']['locale'],'AI_ACTIONS_GENERIC_ERROR');this['_actionsBalloonView']['showError'](_0x51d0d3),_0x385111['hasError']=!0x0,await this['_promiseQueue']['queueEmptyPromise'],this['_actionsBalloonView']['setErrorState'](),this['_actionsBalloonView']['toggleIsLoading'](!0x0);}['_clearErrorState'](){this['_actionsBalloonView']['hideError'](),this['_actionsBalloonView']['toggleIsLoading'](!0x1);}async['_clearLoadingState'](){await this['_promiseQueue']['queueEmptyPromise'],this['isBusy']=!0x1,this['_actionsBalloonView']['setIsLoading'](!0x1);}},_0x36f1a3=class extends _0x14e616['Plugin']{static get['requires'](){return[_0xdce7b3,_0x523b18,_0x3f39c5];}static get['pluginName'](){return'AIQuickActions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x130658){super(_0x130658),_0x130658['config']['define']('ai.quickActions',{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}},_0x55f28b=class extends _0x14e616['View']{['resultResponseView'];['acceptButtonView'];['dismissButtonView'];['infoButtonView'];['outdatedButtonView'];constructor(_0x5a0435,_0x584b2d){super(_0x5a0435),this['id']=_0x584b2d,this['set']('status','pending'),this['set']('changeId',_0x584b2d),this['resultResponseView']=this['_createResultResponseView'](),this['acceptButtonView']=this['_createAcceptButtonView'](),this['dismissButtonView']=this['_createDismissButtonView'](),this['infoButtonView']=this['_createInfoButtonView'](),this['outdatedButtonView']=this['_createOutdatedButtonView'](),this['set']('isInfoToggleOn',!0x1),this['set']('isActive',!0x1),this['set']('showDiff',!0x0),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-result',this['bindTemplate']['if']('isActive','ck-ai_review__check-run-result_active')]},'on':{'click':this['bindTemplate']['to']('click'),'mouseover':this['bindTemplate']['to']('mouseover'),'mouseout':this['bindTemplate']['to']('mouseout')},'children':[this['resultResponseView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-footer']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-run-result-action-buttons']},'children':[this['acceptButtonView'],this['dismissButtonView'],this['outdatedButtonView']]},this['infoButtonView']]}]}),this['on']('click',(_0x5e3e1f,_0x42ca89)=>{_0x42ca89&&_0x42ca89['target']&&'A'===_0x42ca89['target']['tagName']&&_0x42ca89['preventDefault'](),this['fire']('activateChange',{'id':_0x584b2d,'source':this,'uiInteraction':'click'});}),this['on']('mouseover',()=>{this['fire']('activateChange',{'id':_0x584b2d,'source':this,'uiInteraction':'hover'});}),this['on']('mouseout',()=>{this['fire']('deactivateChange',{'origin':'panel','id':_0x584b2d,'source':this});});}['setItemAsActive'](){this['isActive']=!0x0;}['setItemAsInactive'](){this['isActive']=!0x1;}['_createResultResponseView'](){const _0x50ab41=new _0x14e616['View'](this['locale']);return _0x50ab41['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-content','ck-reset_all-excluded','ck-ai_review__check-run-result-response',this['bindTemplate']['if']('showDiff','ck-hidden',_0x57bff5=>!_0x57bff5)]}}),_0x50ab41;}['_createAcceptButtonView'](){const _0x46d1b9=new _0x14e616['ButtonView'](this['locale']);return _0x46d1b9['set']({'label':_0x2723f0(this['locale'],'AI_REVIEW_MODE_ACCEPT_CHANGE'),'withText':!0x0}),_0x46d1b9['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x194fb=>{this['fire']('acceptChange',{'id':this['changeId']}),_0x194fb['stopPropagation']();})},'attributes':{'class':[this['bindTemplate']['if']('status','ck-hidden',_0x187cb4=>'pending'!==_0x187cb4&&'accepted'!==_0x187cb4),this['bindTemplate']['if']('status',_0x55009e,_0x122f52=>'pending'===_0x122f52),this['bindTemplate']['if']('status',_0x2eb508,_0x58aa13=>'pending'!==_0x58aa13),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x4b2e66=>'accepted'===_0x4b2e66)]}}),this['on']('change:status',(_0x298a07,_0x23fd99,_0x3ea8f4)=>{_0x46d1b9['isEnabled']='pending'===_0x3ea8f4,'accepted'===_0x3ea8f4&&(_0x46d1b9['label']=_0x2723f0(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_ACCEPTED'),_0x46d1b9['icon']=_0x14e616['IconCheck']);}),_0x46d1b9;}['_createDismissButtonView'](){const _0x25a04c=new _0x14e616['ButtonView'](this['locale']);return _0x25a04c['set']({'label':_0x2723f0(this['locale'],'AI_REVIEW_MODE_DISMISS_CHANGE'),'withText':!0x0}),_0x25a04c['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x2d9c2f=>{this['fire']('dismissChange',{'id':this['changeId']}),_0x2d9c2f['stopPropagation']();})},'attributes':{'class':[_0x2eb508,this['bindTemplate']['if']('status','ck-hidden',_0x316a40=>'pending'!==_0x316a40&&'rejected'!==_0x316a40),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-dismiss-button',_0x45f3dc=>'pending'===_0x45f3dc),this['bindTemplate']['if']('status','ck-ai_review__check-run-result-status-button',_0x19fe38=>'rejected'===_0x19fe38)]}}),this['on']('change:status',(_0x52ee0f,_0xa37957,_0x70c17b)=>{_0x25a04c['isEnabled']='pending'===_0x70c17b,'rejected'===_0x70c17b&&(_0x25a04c['label']=_0x2723f0(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_REJECTED'),_0x25a04c['icon']=_0x14e616['IconCancel']);}),_0x25a04c;}['_createInfoButtonView'](){const _0x518bc7=new _0x14e616['ButtonView'](this['locale']);return _0x518bc7['set']({'label':_0x2723f0(this['locale'],'AI_REVIEW_MODE_LEARN_MORE'),'icon':_0x14e616['IconInfo'],'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox','class':_0x2eb508+'\x20ck-ai_review__check-run-result-info-button\x20ck-hidden'}),_0x518bc7['bind']('isOn')['to'](this,'isInfoToggleOn',_0x4c15a9=>_0x4c15a9),_0x518bc7['on']('execute',()=>{this['isInfoToggleOn']=!this['isInfoToggleOn'];}),_0x518bc7;}['_createOutdatedButtonView'](){const _0x45ba43=new _0x14e616['ButtonView'](this['locale']);return _0x45ba43['set']({'label':_0x2723f0(this['locale'],'AI_REVIEW_MODE_CHECK_STATUS_OUTDATED'),'icon':_0x14e616['IconOutdated'],'withText':!0x0,'isEnabled':!0x1}),_0x45ba43['extendTemplate']({'attributes':{'class':[_0x2eb508,'ck-ai_review__check-run-result-status-button',this['bindTemplate']['if']('status','ck-hidden',_0x6771dd=>'outdated'!==_0x6771dd)],'disabled':'disabled'}}),_0x45ba43;}},_0x5a2e09=class extends _0x14e616['BalloonPanelView']{['resultItemView'];['_pinnedRectIndex']=void 0x0;['_pinnedTargetElement']=void 0x0;['_pinnedTargetChangeId']=void 0x0;constructor(_0x4532c2,_0xda5c6e){super(_0x4532c2),this['set']({'isVisible':!0x1,'position':'arrow_se','class':null,'top':0x0,'left':0x0}),this['extendTemplate']({'tag':'div','attributes':{'class':['ck-reset'],'tabindex':'-1'}}),this['set']('isDiffActive',!0x1),this['content']['add'](this['_createContentView']()),_0xda5c6e['add'](this);}['render'](){super['render'](),this['_setupClickOutsideHandler']();}['updateContent'](_0x323930){this['resultItemView']['changeId']=_0x323930['id'],this['resultItemView']['resultResponseView']['element']['innerHTML']=_0x323930['contentDiffed'];}['showBalloon'](_0x3cf245,_0x21e95f,_0x2d6dd2,_0x31e5bf,_0x564d16,_0x3b4e18){const _0x2f5c1a=_0x21e95f();if(!_0x2f5c1a)return;this['updateContent'](_0x3cf245),this['show']();const _0x12ea00=Array['from'](_0x2f5c1a['getClientRects']())['reverse'](),_0x219c98=this['_getPointedRectIndexFromEvent'](_0x2d6dd2,_0x12ea00),_0x2b7cea=_0x12ea00[_0x219c98??0x0];'click'===_0x31e5bf?(this['isDiffActive']=!0x0,this['pin']({'target':()=>this['_getBestRectPositionOnClick'](_0x21e95f(),_0x219c98,_0x3cf245['id'],_0x564d16,_0x3b4e18)||_0x2b7cea})):'hover'===_0x31e5bf&&(this['isDiffActive']=!0x1,this['pin']({'target':()=>this['_getBestRectPositionOnHover'](_0x21e95f(),_0x219c98,_0x3cf245['id'])||_0x2b7cea}));}['hideBalloon'](){this['hide'](),this['unpin'](),this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetElement']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}['hideDiffInBalloon'](){this['resultItemView']['showDiff']=!0x1;}['showDiffInBalloon'](){this['resultItemView']['showDiff']=!0x0;}['deactivateChange'](){this['fire']('deactivateChange',{'origin':'balloon'});}['_setupClickOutsideHandler'](){(0x0,_0x14e616['clickOutsideHandler'])({'emitter':this,'activator':()=>this['isVisible'],'contextElements':()=>{const _0x27fe32=[this['element']];return this['_pinnedTargetElement']&&_0x27fe32['push'](this['_pinnedTargetElement']),_0x27fe32;},'callback':()=>{this['hide'](),this['unpin'](),this['deactivateChange'](),this['_pinnedTargetElement']=void 0x0,this['_pinnedRectIndex']=void 0x0,this['_pinnedTargetChangeId']=void 0x0;}});}['_createContentView'](){const _0x5ef36e=new _0x14e616['View']();return this['resultItemView']=new _0x55f28b(this['locale'],''),this['resultItemView']['resultResponseView']['extendTemplate']({'attributes':{'class':['ck-content']}}),this['resultItemView']['delegate']('acceptChange','dismissChange')['to'](this),_0x5ef36e['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-ai_review-balloon-panel-suggestion',this['bindTemplate']['if']('isDiffActive','ck-ai_review-balloon-panel-suggestion_diff-active')]},'children':[{'tag':'p','attributes':{'class':['ck-ai_review__suggestion-text']},'children':[this['resultItemView']]}]}),_0x5ef36e;}['_getBestRectPositionOnClick'](_0x18b2b7,_0x3d7f8c,_0x29ad2f,_0x35fb7a,_0x51ecf8){if(!_0x18b2b7)return null;const _0x466d72=this['position']['replace']('arrow_',''),_0x14d56c=Array['from'](_0x18b2b7['getClientRects']());let _0x2d0e0e,_0x5578d0=_0x14d56c['reverse']();return void 0x0!==_0x3d7f8c&&this['_isPinnedRectVisible'](_0x5578d0[_0x3d7f8c],_0x35fb7a,_0x51ecf8)?(_0x2d0e0e=_0x5578d0[_0x3d7f8c],this['_pinnedRectIndex']=_0x3d7f8c):this['_isPinnedRectVisible'](_0x5578d0[0x0],_0x35fb7a,_0x51ecf8)&&void 0x0===_0x3d7f8c?_0x2d0e0e=_0x5578d0[0x0]:(_0x5578d0='s'==_0x466d72[0x0]?[..._0x14d56c]['reverse']():_0x14d56c,_0x5578d0['forEach'](_0x279a57=>{this['_isPinnedRectVisible'](_0x279a57,_0x35fb7a,_0x51ecf8)&&(_0x2d0e0e=_0x279a57);})),this['_pinnedTargetChangeId']=_0x29ad2f,this['_pinnedTargetElement']=_0x18b2b7,_0x2d0e0e||_0x18b2b7['getBoundingClientRect']();}['_getBestRectPositionOnHover'](_0xac746c,_0x36694f,_0x5daa3a){if(!_0xac746c)return null;const _0x369934=Array['from'](_0xac746c['getClientRects']())['reverse']();return void 0x0===this['_pinnedRectIndex']&&void 0x0!==_0x36694f&&this['_pinnedTargetChangeId']!==_0x5daa3a?(this['_pinnedRectIndex']=_0x36694f,this['_pinnedTargetElement']=_0xac746c,this['_pinnedTargetChangeId']=_0x5daa3a,_0x369934[_0x36694f]):void 0x0!==this['_pinnedRectIndex']&&this['_pinnedTargetChangeId']===_0x5daa3a?_0xac746c!==this['_pinnedTargetElement']?Array['from'](this['_pinnedTargetElement']['getClientRects']())['reverse']()[this['_pinnedRectIndex']]:_0x369934[this['_pinnedRectIndex']]:void 0x0!==_0x36694f&&this['_pinnedTargetChangeId']!==_0x5daa3a?(this['_pinnedRectIndex']=_0x36694f,this['_pinnedTargetElement']=_0xac746c,this['_pinnedTargetChangeId']=_0x5daa3a,_0x369934[_0x36694f]):_0xac746c['getBoundingClientRect']();}['_getPointedRectIndexFromEvent'](_0x7355bf,_0x200054){if(_0x7355bf)for(let _0x27d1a7=0x0;_0x27d1a7<_0x200054['length'];_0x27d1a7++){const _0x4aad79=_0x200054[_0x27d1a7];if(_0x7355bf['clientX']>=_0x4aad79['left']-0x3&&_0x7355bf['clientX']<=_0x4aad79['right']+0x3&&_0x7355bf['clientY']>=_0x4aad79['top']-0x3&&_0x7355bf['clientY']<=_0x4aad79['bottom']+0x3)return _0x27d1a7;}}['_isPinnedRectVisible'](_0x14bd6e,_0x23b636,_0x22ba80){const _0x3f8100=new _0x14e616['Rect'](_0x14bd6e),_0x5b90cc=_0x23b636||document['documentElement'],_0x1d079f=_0x3f8100['getIntersection']((0x0,_0x14e616['getConstrainedViewportRect'])(_0x22ba80)),_0x11dbe9=new _0x14e616['Rect'](_0x5b90cc)['getIntersection'](_0x3f8100);return!!(_0x1d079f&&_0x11dbe9&&_0x3f8100['width']>0x0);}};const _0xf4d740=['getReviewCheckList','runReviewCheck','abortReviewStream','toggleDiff','acceptAllChanges','leaveReviewCoreResultList','activateChange','deactivateChange','acceptChange','dismissChange','learnMore','finishReview','retryReview'];var _0x50ea72=class extends _0x14e616['ContextPlugin']{['_mainView'];['_balloonSuggestionView'];['_bodyCollection'];static get['requires'](){return[_0xdf3353];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x119f05){super(_0x119f05),this['_bodyCollection']=_0x318647(this['context']['locale']),this['_mainView']=this['createMainView'](),this['_mainView']['delegate'](..._0xf4d740)['to'](this),this['_balloonSuggestionView']=new _0x5a2e09(this['context']['locale'],this['_bodyCollection']),this['_balloonSuggestionView']['delegate']('acceptChange','dismissChange','deactivateChange')['to'](this);}['init'](){const _0x381d9c=this['context']['plugins']['get']('AITabs');this['registerTab'](_0x381d9c);}['destroy'](){this['_bodyCollection']['detachFromDom'](),super['destroy']();}['setAvailableChecks'](_0x5bde52){if(!this['_mainView']['reviewCheckListView']['hasChecks']()){const _0x437eed=!this['context']['config']['get']('ai.models.showModelSelector');this['_mainView']['reviewCheckListView']['setChecks'](_0x5bde52,_0x437eed);}this['_mainView']['showReviewCheckListView']();}['showReviewCheckList'](){this['fire']('getReviewCheckList');}['showCheckRunResults'](_0x2b1d5f){_0x2b1d5f&&('error-general'!==_0x2b1d5f['status']?'error-chunk'!==_0x2b1d5f['status']?this['_mainView']['showReviewCheckResultsView']():this['showChunkErrorView']():this['showGeneralResultsErrorView']());}['showCheckRunResult'](_0x4ddfb0){this['_mainView']['addCheckRunResult'](_0x4ddfb0);}['showGeneralResultsErrorView'](){this['_mainView']['showGeneralResultsErrorView']();}['showGeneralReviewCoreErrorView'](_0x28d8d9){this['_mainView']['showGeneralReviewCoreErrorView'](_0x28d8d9??_0x2723f0(this['context']['locale'],'AI_REVIEW_INITIALIZATION_ERROR_MESSAGE'));}['showChunkErrorView'](){this['_mainView']['showChunkErrorView']();}['setCheckResultTitle'](_0x356047,_0x3cc466){this['_mainView']['reviewCheckResultsView']['setTitle'](_0x356047,_0x3cc466);}['setActiveStateInResults'](_0x26de48){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x17e855=>{_0x17e855['id']===_0x26de48&&_0x17e855['setItemAsActive']();});}['resetActiveStateInResults'](){this['_mainView']['reviewCheckResultsView']['getResults']()['forEach'](_0x543378=>_0x543378['setItemAsInactive']());}['updateChangeState'](_0x372edd,_0x30a8d2){'accepted'===_0x30a8d2||'rejected'===_0x30a8d2||'outdated'===_0x30a8d2?this['_mainView']['reviewCheckResultsView']['hideResult'](_0x372edd,_0x30a8d2):this['_mainView']['reviewCheckResultsView']['showResult'](_0x372edd,_0x30a8d2);}['showReviewCompletedView'](){this['_mainView']['showReviewCompletedView']();}['showActionsWhenResultIsReady'](){this['_mainView']['showActionsWhenResultIsReady']();}['showNoChangesView'](){this['_mainView']['showNoChangesView']();}['hideActionsWhenResultIsReady'](){this['_mainView']['hideActionsWhenResultIsReady']();}['showChangeBalloon'](_0x28b763,_0x182c3e,_0x5a8a25,_0x4b72f3,_0x597245,_0x34e754){this['_balloonSuggestionView']['showBalloon'](_0x28b763,_0x182c3e,_0x5a8a25,_0x4b72f3,_0x597245,_0x34e754);}['hideChangeBalloon'](){this['_balloonSuggestionView']['hideBalloon']();}['hideDiffInBalloon'](){this['_balloonSuggestionView']['hideDiffInBalloon']();}['showDiffInBalloon'](){this['_balloonSuggestionView']['showDiffInBalloon']();}['getChangeElement'](_0x353893){const _0x460971=this['_mainView']['reviewCheckResultsView']['getResults']()['find'](_0x41549e=>_0x41549e['id']===_0x353893);return _0x460971?_0x460971['element']:null;}['deactivateChange'](){this['_balloonSuggestionView']['deactivateChange']();}},_0x1059d6=class extends _0x14e616['View']{constructor(_0xdd59a3){super(_0xdd59a3),this['set']('isVisible',!0x1),this['set']('errorMessage','');const _0x41006d=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__general-error-container',_0x41006d['if']('isVisible','ck-hidden',_0x4b93bf=>!_0x4b93bf)]},'children':[{'tag':'p','attributes':{'class':'ck\x20ck-ai-notification\x20ck-ai-notification_error'},'children':[{'text':_0x41006d['to']('errorMessage')}]}]});}},_0x3ea90c=class extends _0x14e616['View']{['reviewCoreHeader'];['generalErrorView'];['reviewCheckListView'];['reviewCheckResultsView'];['reviewCompletedView'];constructor(_0x121c38,_0x1845d0){super(_0x121c38),this['reviewCoreHeader']=_0x1845d0['header'],this['generalErrorView']=new _0x1059d6(_0x121c38),this['reviewCheckListView']=_0x1845d0['list'],this['reviewCheckListView']['delegate'](..._0xf4d740)['to'](this),this['reviewCheckResultsView']=_0x1845d0['results'],this['reviewCheckResultsView']['delegate'](..._0xf4d740)['to'](this),this['reviewCompletedView']=_0x1845d0['completed'],this['reviewCompletedView']['delegate']('finishReview')['to'](this),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isLoading',!0x1),this['reviewCheckResultsView']['set']('isResultReady',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai-review','ck-rounded-corners'],'dir':'ltr'},'children':[this['reviewCoreHeader'],this['generalErrorView'],this['reviewCheckListView'],this['reviewCheckResultsView'],this['reviewCompletedView']]});}['showReviewCheckListView'](){this['reviewCheckListView']['resetAllParameterizedChecks'](),this['reviewCheckListView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x1);}['showReviewCheckResultsView'](){this['hideActionsWhenResultIsReady'](),this['reviewCheckResultsView']['resetErrorState'](),this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCheckResultsView']['clearResults'](),this['reviewCheckResultsView']['set']('isLoading',!0x0),this['reviewCheckResultsView']['set']('isCompleted',!0x1);}['addCheckRunResult'](_0x9634bb){this['reviewCheckResultsView']['addResult'](_0x9634bb),this['reviewCheckResultsView']['set']('isLoading',!0x1);}['showReviewCompletedView'](){this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isCompleted',!0x0),this['reviewCheckListView']['set']('isVisible',!0x1);}['showActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']?(this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x0),this['reviewCompletedView']['set']('isVisible',!0x1)):this['reviewCheckResultsView']['isResultReady']=!0x0;}['showNoChangesView'](){this['reviewCheckListView']['set']('isVisible',!0x1),this['reviewCheckResultsView']['set']('isVisible',!0x1),this['reviewCompletedView']['set']('isVisible',!0x0);}['hideActionsWhenResultIsReady'](){this['reviewCheckResultsView']['isResultReady']=!0x1;}['showGeneralReviewCoreErrorView'](_0x342219){this['generalErrorView']['set']('isVisible',!0x0),this['generalErrorView']['errorMessage']=_0x342219;}['showGeneralResultsErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showGeneralErrorMessage']();}['showChunkErrorView'](){this['reviewCheckResultsView']['set']('isLoading',!0x1),this['showActionsWhenResultIsReady'](),this['reviewCheckResultsView']['showChunkErrorMessage']();}},_0x2fa64a=class extends _0x14e616['ButtonView']{constructor(_0x5b516f,_0xbb5017){super(_0xbb5017),this['set']({'label':_0x5b516f,'withText':!0x0,'class':_0x26434c}),this['on']('execute',()=>{this['fire']('finishReview');});}},_0x2be86b=class extends _0x14e616['ListItemView']{['_resultViews'];['_resultsHeader'];['_resultsBody'];['reviewDisclaimer'];['_cancelButtonView'];['_acceptAllButtonView'];['_exitReviewButtonView'];['_toggleDiffButtonView'];['_errorMessageView'];['_finishReviewButtonView'];['_contents'];constructor(_0x323388,_0x5b86d2){super(_0x323388),this['_contents']=_0x5b86d2,this['_resultViews']=new _0x14e616['ViewCollection'](),this['_cancelButtonView']=this['_createCancelButtonView'](),this['_acceptAllButtonView']=this['_createAcceptAllButtonView'](),this['_exitReviewButtonView']=this['_createExitReviewButtonView'](),this['_toggleDiffButtonView']=this['_createToggleDiffButtonView'](),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](),this['_resultsHeader']=this['_createResultHeaderView'](),this['_resultsBody']=this['_createResultsBodyView'](),this['_errorMessageView']=this['_createErrorView'](),this['reviewDisclaimer']=new _0x233ba7(_0x323388),this['set']('isLoading',!0x1),this['set']('isToggleDiffOn',!0x1),this['set']('isResultReady',!0x1),this['set']('headerTitle',''),this['set']('headerSubtitle',''),this['set']('isError',!0x1),this['set']('showErrorMessage',!0x1),this['set']('errorType','general'),this['set']('isCompleted',!0x1);const _0x34e4b5=this['_createCombinedSkeletonLoader'](),_0x4fb1a8=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run',_0x4fb1a8['if']('isLoading','ck-ai_review__check-run_loading',_0x53c776=>_0x53c776),_0x4fb1a8['if']('isResultReady','ck-ai_review__check-run_ready',_0x2271cf=>_0x2271cf),_0x4fb1a8['if']('isVisible','ck-hidden',_0x210662=>!_0x210662)]},'children':[this['_resultsHeader'],this['_errorMessageView'],this['_resultsBody'],_0x34e4b5,this['reviewDisclaimer']]});}['clearResults'](){this['_resultViews']['clear'](),this['_resultsBody']['element']&&(this['_resultsBody']['element']['scrollTop']=0x0);}['getResults'](){return this['_resultViews'];}['addResult'](_0x2d847b){const _0x264347=new _0x55f28b(this['locale'],_0x2d847b['id']);_0x264347['delegate']('acceptChange','dismissChange','activateChange','deactivateChange')['to'](this),this['_resultViews']['add'](_0x264347),_0x264347['resultResponseView']['element']['innerHTML']=_0x2d847b['contentDiffed'];}['hideResult'](_0xc1b7e6,_0x3fa863){if('pending'===_0x3fa863)return;const _0x11e517=this['_resultViews']['find'](_0x352ee2=>_0x352ee2['id']===_0xc1b7e6);_0x11e517&&(_0x11e517['status']=_0x3fa863,_0x11e517['element']?.['classList']['add']('ck-ai_review__check-run-result_grayout'));}['showResult'](_0x412a68,_0x192304){if('pending'!==_0x192304)return;const _0x4bd747=this['_resultViews']['find'](_0x4b8b19=>_0x4b8b19['id']===_0x412a68);_0x4bd747&&(_0x4bd747['status']=_0x192304,_0x4bd747['element']?.['classList']['remove']('ck-ai_review__check-run-result_grayout'));}['setTitle'](_0x30faa9,_0x4d0d83){this['headerTitle']=_0x30faa9,this['headerSubtitle']=_0x4d0d83||'';}['showChunkErrorMessage'](){this['errorType']='chunk',this['showErrorMessage']=!0x0;}['showGeneralErrorMessage'](){this['isError']=!0x0,this['errorType']='general',this['showErrorMessage']=!0x0;}['resetErrorState'](){this['isError']=!0x1,this['errorType']='general',this['showErrorMessage']=!0x1;}['_createSkeletonLoader'](){return new _0x4de9ea(this['locale'],_0x54f06e['aiReviewChecks']);}['_createCombinedSkeletonLoader'](){const _0x258693=new _0x14e616['View'](this['locale']),_0x3e6b38=[];for(let _0x5c4f98=0x0;_0x5c4f98<0x10;_0x5c4f98++){const _0x2c46ed=this['_createSkeletonLoader']();_0x2c46ed['extendTemplate']({'attributes':{'class':['ck-ai_review__check-run-skeleton-item']}}),_0x3e6b38['push'](_0x2c46ed);}return _0x258693['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-skeleton-container',this['bindTemplate']['if']('isLoading','ck-hidden',_0x54ea90=>!_0x54ea90)]},'children':_0x3e6b38}),_0x258693;}['_createResultsBodyView'](){const _0x294c2c=new _0x14e616['View'](this['locale']);return _0x294c2c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-container','ck-reset_all-excluded',this['bindTemplate']['if']('isLoading','ck-hidden',_0x1b1516=>_0x1b1516)]},'children':this['_resultViews']}),_0x294c2c;}['_createErrorView'](){const _0x4fea69=new _0x14e616['View'](this['locale']),_0x4d165a=new _0x14e616['ButtonView'](this['locale']),t=this['locale']['t'];return _0x4fea69['delegate']('retryReview')['to'](this),_0x4d165a['set']({'label':t('Try\x20again'),'withText':!0x0,'class':_0x55009e+'\x20ck-ai_review__check-run-error-retry-button'}),_0x4d165a['on']('execute',()=>{this['fire']('retryReview');}),_0x4fea69['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-error-container',this['bindTemplate']['if']('showErrorMessage','ck-hidden',_0x1062a6=>!_0x1062a6),this['bindTemplate']['if']('errorType','ck-ai_review__check-run-error-container_border-bottom',_0x41f018=>'chunk'===_0x41f018)]},'children':[{'tag':'div','attributes':{'class':['ck','ck-ai-notification','ck-ai-notification_error','ck-ai-notification__full-width','ck-ai_review__check-run-error-message',this['bindTemplate']['if']('errorType','ck-ai-notification_warning',_0x42e9d0=>'chunk'===_0x42e9d0)]},'children':[{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x3ef5a2=>'general'!==_0x3ef5a2)]},'children':[{'text':this['_contents']['generalErrorText']}]},{'tag':'p','attributes':{'class':['ck-ai-notification__content',this['bindTemplate']['if']('errorType','ck-hidden',_0x47cab2=>'chunk'!==_0x47cab2)]},'children':[{'text':_0x2723f0(this['locale'],'AI_REVIEW_MODE_CHUNK_ERROR_MESSAGE')}]}]},_0x4d165a]}),_0x4fea69;}['_createCancelButtonView'](){const _0x84bccc=new _0x14e616['ButtonView'](this['locale']);return _0x84bccc['set']({'label':_0x2723f0(this['locale'],'AI_REVIEW_MODE_STOP_GENERATING'),'withText':!0x0,'class':[_0x55009e+'\x20ck-ai-button-stop-generating'],'icon':_0x14e616['IconStop']}),_0x84bccc['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isResultReady','ck-hidden',_0xef67f4=>_0xef67f4),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x3bd19a=>_0x3bd19a)]}}),_0x84bccc['on']('execute',()=>{this['fire']('abortReviewStream');}),_0x84bccc;}['_createToggleDiffButtonView'](){const _0x4a36a2=new _0x14e616['ButtonView'](this['locale']);_0x4a36a2['set']({'tooltip':!0x0,'isToggleable':!0x0,'role':'menuitemcheckbox'}),_0x4a36a2['bind']('isEnabled')['to'](this,'isError',_0x4ee818=>!_0x4ee818),_0x4a36a2['extendTemplate']({'attributes':{'class':[_0x55009e,'ck-ai_review__check-run-toggle-diff-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x5e6d7e=>!_0x5e6d7e),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4d04b1=>_0x4d04b1)]}});const _0x891f08=_0x2723f0(this['locale'],'AI_REVIEW_MODE_HIDE_CHANGES'),_0x35982e=_0x2723f0(this['locale'],'AI_REVIEW_MODE_SHOW_CHANGES');return _0x4a36a2['bind']('isOn')['to'](this,'isToggleDiffOn',_0x1f7777=>_0x1f7777),_0x4a36a2['bind']('icon')['to'](this,'isToggleDiffOn',_0x3bbba2=>_0x3bbba2?_0x14e616['IconEye']:_0x14e616['IconEyeCrossedOut']),_0x4a36a2['bind']('label')['to'](this,'isToggleDiffOn',_0x1be328=>_0x1be328?_0x891f08:_0x35982e),_0x4a36a2['on']('execute',()=>{this['isToggleDiffOn']=!this['isToggleDiffOn'],this['fire']('toggleDiff',{'on':this['isToggleDiffOn']});}),_0x4a36a2;}['_createAcceptAllButtonView'](){const _0x21285a=new _0x14e616['ButtonView'](this['locale']);return _0x21285a['set']({'label':_0x2723f0(this['locale'],'AI_REVIEW_MODE_ACCEPT_ALL'),'withText':!0x0}),_0x21285a['bind']('isEnabled')['to'](this,'isError',_0x3a0df1=>!_0x3a0df1),_0x21285a['extendTemplate']({'attributes':{'class':[_0x26434c,'ck-ai_review__check-run-accept-all-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x438899=>!_0x438899),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x21f44f=>_0x21f44f)]}}),_0x21285a['on']('execute',()=>{this['fire']('acceptAllChanges');}),_0x21285a;}['_createExitReviewButtonView'](){const _0x195342=new _0x14e616['ButtonView'](this['locale']);return _0x195342['set']({'label':_0x2723f0(this['locale'],'AI_REVIEW_MODE_EXIT_REVIEW'),'withText':!0x0}),_0x195342['extendTemplate']({'attributes':{'class':[_0x2eb508,'ck-ai_review__check-run-exit-button',this['bindTemplate']['if']('isResultReady','ck-hidden',_0x1dced2=>!_0x1dced2),this['bindTemplate']['if']('isCompleted','ck-hidden',_0x4528fa=>_0x4528fa)]}}),_0x195342['on']('execute',()=>{this['fire']('leaveReviewCoreResultList');}),_0x195342;}['_createResultHeaderView'](){const _0xb9071=new _0x14e616['View'](this['locale']),_0x490391=this['_createTitleView']();return _0xb9071['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header',this['bindTemplate']['if']('isCompleted','ck-ai_review__review-completed-header',_0x238b33=>_0x238b33)]},'children':[_0x490391,{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x199507=>!_0x199507)],'title':_0x2723f0(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')},'children':[{'text':_0x2723f0(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE')}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-buttons']},'children':[this['_cancelButtonView'],this['_acceptAllButtonView'],this['_exitReviewButtonView'],this['_toggleDiffButtonView'],this['_finishReviewButtonView']]}]}),_0xb9071;}['_createTitleView'](){const _0x18509b=new _0x14e616['View'](this['locale']),_0x4a34ef=new _0x31ea16();return _0x4a34ef['bind']('isVisible')['to'](this,'isResultReady',_0x158239=>!_0x158239),_0x18509b['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-wrapper',this['bindTemplate']['if']('isCompleted','ck-hidden',_0x590668=>_0x590668)]},'children':[_0x4a34ef,{'tag':'div','attributes':{'class':['ck-ai_review__check-run-results-header-title-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-title']},'children':[{'text':this['bindTemplate']['to']('headerTitle')}]},{'tag':'span','attributes':{'class':['ck-ai_review__check-run-results-header-subtitle']},'children':[{'text':this['bindTemplate']['to']('headerSubtitle')}]}]}]}),_0x18509b;}['_createFinishReviewButtonView'](){const _0x3cc388=new _0x2fa64a(_0x2723f0(this['locale'],'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL'),this['locale']);return _0x3cc388['extendTemplate']({'attributes':{'class':[this['bindTemplate']['if']('isCompleted','ck-hidden',_0x559d55=>!_0x559d55)]}}),_0x3cc388['delegate']('finishReview')['to'](this),_0x3cc388;}},_0x1e254f=class extends _0x14e616['ListItemView']{['_resultsHeader'];['_finishReviewButtonView'];constructor(_0x29c1c8,_0x1b1fa0){super(_0x29c1c8),this['_finishReviewButtonView']=this['_createFinishReviewButtonView'](_0x1b1fa0['buttonText']),this['_resultsHeader']=this['_createResultHeaderView'](_0x1b1fa0['headerText']);const _0x181404=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed',_0x181404['if']('isVisible','ck-hidden',_0x70d096=>!_0x70d096)]},'children':[this['_resultsHeader'],{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-content']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-content-icon']},'children':[{'text':'👍'}]},{'tag':'p','attributes':{'class':['ck-ai_review__review-completed-content-text']},'children':[{'text':_0x1b1fa0['emptyResultsText']}]}]}]});}['_createFinishReviewButtonView'](_0xf44c6b){const _0x367db9=new _0x2fa64a(_0xf44c6b,this['locale']);return _0x367db9['delegate']('finishReview')['to'](this),_0x367db9;}['_createResultHeaderView'](_0x22d8c0){const _0x4f074c=new _0x14e616['View'](this['locale']);return _0x4f074c['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__review-completed-header-title'],'title':_0x22d8c0},'children':[{'text':_0x22d8c0}]},{'tag':'div','attributes':{'class':['ck-ai_review__review-completed-header-buttons']},'children':[this['_finishReviewButtonView']]}]}),_0x4f074c;}},_0x559a94=class extends _0x14e616['View']{['_dropdownView'];['_defaultValue'];['_defaultLabel'];constructor(_0x85b45e,_0x152702){super(_0x85b45e),this['_defaultValue']=_0x152702['default']||(_0x152702['data']['length']>0x0?_0x152702['data'][0x0]['id']:''),this['_defaultLabel']=_0x152702['data']['find'](_0x499a3a=>_0x499a3a['id']===this['_defaultValue'])?.['label']||'',this['set']('formValue',''),this['_dropdownView']=(0x0,_0x14e616['createDropdown'])(this['locale']);const _0x4c8dfa=this['_prepareListOptions'](_0x152702['data']);(0x0,_0x14e616['addListToDropdown'])(this['_dropdownView'],_0x4c8dfa,{'role':'menu','ariaLabel':_0x152702['label']}),this['_dropdownView']['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0}),this['_dropdownView']['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4a59b0=>{_0x4a59b0['stopPropagation']();})}}),this['listenTo'](this['_dropdownView'],'execute',_0x375145=>{this['formValue']=_0x375145['source']['model']['id'],this['_dropdownView']['buttonView']['label']=_0x375145['source']['model']['label'];}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-ai_review__check-list-item-parameterized-form-element','ck-ai_review__check-list-item-parameterized-form-element_dropdown']},'children':[this['_dropdownView']]});}['resetToDefault'](){this['formValue']=this['_defaultValue'],this['_dropdownView']['buttonView']['label']=this['_defaultLabel'];}['_prepareListOptions'](_0x253119=[]){const _0x3b4a51=new _0x14e616['Collection']();this['resetToDefault']();for(const _0x44e4f2 of _0x253119){const _0x265d77=new _0x14e616['UIModel']({'label':_0x44e4f2['label'],'withText':!0x0,'role':'menuitemradio','id':_0x44e4f2['id'],'model':_0x44e4f2});_0x265d77['bind']('isOn')['to'](this,'formValue',_0x2c504b=>_0x2c504b===_0x265d77['id']);const _0x4100be={'type':'button','model':_0x265d77};_0x3b4a51['add'](_0x4100be);}return _0x3b4a51;}},_0x54644b=class extends _0x14e616['ListItemView']{['_formItem']=null;constructor(_0x59a558,_0x4a889e,_0xe2c0d2){if(super(_0x59a558),this['argsKey']=_0x4a889e?.['argsKey'],'dropdown'===_0x4a889e['formType'])this['_formItem']=new _0x559a94(this['locale'],_0x4a889e);this['set']('value',''),this['bind']('value')['to'](this['_formItem'],'formValue');const _0x1b0e5b=new _0x14e616['FormRowView'](this['locale'],{'children':[this['_formItem']],'class':[_0xe2c0d2?'ck-form__row_with-submit':'']});_0xe2c0d2&&_0x1b0e5b['children']['add'](_0xe2c0d2),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-ai_review__form-item','ck-reset_all']},'children':[_0x1b0e5b]});}['resetToDefault'](){this['_formItem']['resetToDefault']();}},_0x261066=class AIReviewCorePromptInputView extends _0x14e616['TextareaView']{['keystrokes'];static ['MIN_ROWS']=0x1;static ['MAX_ROWS']=0xc;constructor(_0x48dd62){super(_0x48dd62),this['set']('isEmpty',!0x0),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['minRows']=AIReviewCorePromptInputView['MIN_ROWS'],this['maxRows']=AIReviewCorePromptInputView['MAX_ROWS'],this['extendTemplate']({'attributes':{'id':'ai-review-prompt-input','class':['ck','ck-review__prompt-input']}});}['render'](){super['render'](),this['on']('update',()=>{this['isEmpty']=''===this['element']['value']?.['trim']();}),this['keystrokes']['listenTo'](this['element']);}},_0xe51962=class extends _0x14e616['View']{['focusTracker']=new _0x14e616['FocusTracker']();['keystrokes']=new _0x14e616['KeystrokeHandler']();['focusCycler'];['_focusables']=new _0x14e616['ViewCollection']();['submitButtonView'];['cancelButtonView'];['promptInputView'];['actionsFooterView'];['_modelSelectionDropdown'];['_modelNameView'];['_modelSelectionDropdownItems'];['_check'];['_defaultValue'];['_defaultLabel'];constructor(_0x295b75,_0x2537e8,_0x5b5716=!0x1){super(_0x295b75),this['_check']=_0x2537e8,this['set']('prompt',''),this['set']('modelId',''),this['set']('modelDisplayMode','selector'),this['set']('activeModelName',null),this['_defaultValue']=_0x2537e8['defaultModel']?_0x2537e8['defaultModel']['id']:'',this['_defaultLabel']=_0x2537e8['defaultModel']?_0x2537e8['defaultModel']['name']:'',this['submitButtonView']=this['_createSubmitButtonView'](),this['cancelButtonView']=this['_createCancelButtonView'](),(this['promptInputView']=new _0x14e616['LabeledFieldView'](this['locale'],()=>new _0x261066(_0x295b75)),this['promptInputView']['fieldView']['bind']('value')['to'](this,'prompt'),this['promptInputView']['fieldView']['on']('input',()=>{this['prompt']=this['promptInputView']['fieldView']['element']['value'];}),this['_modelSelectionDropdown']=this['_createModelSelectionDropdown'](),this['_modelSelectionDropdownItems']=new _0x14e616['Collection'](),this['_modelNameView']=this['_createModelNameView'](),this['_setModelList'](_0x5b5716),(0x0,_0x14e616['addListToDropdown'])(this['_modelSelectionDropdown'],this['_modelSelectionDropdownItems']),this['actionsFooterView']=this['_createActionsFooterView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions']},'children':[new _0x14e616['FormRowView'](this['locale'],{'children':[this['promptInputView']]}),new _0x14e616['FormRowView'](this['locale'],{'children':[this['actionsFooterView']]})]}),this['promptInputView']['fieldView']['keystrokes']['set']('Enter',(_0x9555c1,_0x3958d1)=>{this['_isValid']()?(this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0}),_0x3958d1()):_0x3958d1();}),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['_focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}));}['render'](){super['render'](),[this['promptInputView'],this['_modelSelectionDropdown'],this['cancelButtonView'],this['submitButtonView']]['forEach'](_0x40b237=>{this['_focusables']['add'](_0x40b237),this['focusTracker']['add'](_0x40b237['element']);}),this['keystrokes']['listenTo'](this['element']);}get['modelDefaultValue'](){return this['_defaultValue'];}get['modelDefaultLabel'](){return this['_defaultLabel'];}['resetToDefault'](){this['prompt']='',this['modelId']=this['modelDefaultValue'],this['_modelSelectionDropdown']['buttonView']['label']=this['modelDefaultLabel'],this['resetFormValidationStatus']();}['resetFormValidationStatus'](){this['promptInputView']['errorText']='';}['_isValid'](){this['resetFormValidationStatus']();for(const _0x1d67ca of this['_getFormValidators']()){const _0x7bb715=_0x1d67ca();if(_0x7bb715)return this['promptInputView']['errorText']=_0x7bb715,!0x1;}return!0x0;}['_getFormValidators'](){return[()=>{if(0x0===this['promptInputView']['fieldView']['value']?.['trim']()['length'])return _0x2723f0(this['locale'],'AI_REVIEW_MODE_PROMPT_EMPTY_ERROR');}];}['_createSubmitButtonView'](){const _0x23806f=new _0x14e616['ButtonView'](this['locale']),t=this['locale']['t'];return _0x23806f['set']({'label':t('Submit'),'withText':!0x0,'class':_0x26434c}),_0x23806f['on']('execute',()=>{this['_isValid']()&&this['fire']('runReviewCheck',{'id':'custom','args':{'prompt':this['prompt'],'model':this['modelId']},'isCustom':!0x0});}),_0x23806f;}['_createCancelButtonView'](){const _0x5462a7=new _0x14e616['ButtonView'](this['locale']),t=this['locale']['t'];return _0x5462a7['set']({'label':t('Cancel'),'withText':!0x0,'class':_0x2eb508}),_0x5462a7['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x19998b=>{_0x19998b['stopPropagation']();})}}),_0x5462a7['on']('execute',()=>{this['resetToDefault'](),this['fire']('closeCustomCheck');}),_0x5462a7;}['_setModelList'](_0x3891eb){this['_modelSelectionDropdownItems']['clear']();const _0x2c1bd8=this['_check']['models'];if(_0x3891eb)this['set']('modelDisplayMode','hidden');else{const _0x212086=0x1===_0x2c1bd8['length'];this['set']('modelDisplayMode',_0x212086?'name':'selector');}if(this['resetToDefault'](),_0x2c1bd8?.['length']){0x1===_0x2c1bd8['length']&&this['set']('activeModelName',_0x2c1bd8[0x0]['name']||_0x2c1bd8[0x0]['id']);for(const _0x4b8a66 of _0x2c1bd8){const _0x4fa3a0=new _0x14e616['UIModel']({'label':_0x4b8a66['name'],'withText':!0x0,'role':'menuitemradio','id':_0x4b8a66['id'],'model':_0x4b8a66});_0x4fa3a0['bind']('isOn')['to'](this,'modelId',_0x26a14e=>_0x26a14e===_0x4b8a66['id']),this['_modelSelectionDropdownItems']['add']({'type':'button','model':_0x4fa3a0,'labelView':new _0x1c0f41(this['locale'],_0x4b8a66)});}}}['_createModelSelectionDropdown'](){const _0x2287a9=(0x0,_0x14e616['createDropdown'])(this['locale']);return _0x2287a9['set']({'panelPosition':'se','class':'ck-ai_review__check-list-item-model-dropdown'}),_0x2287a9['buttonView']['set']({'label':this['_defaultLabel'],'withText':!0x0,'tooltip':!0x0,'class':_0x2eb508}),_0x2287a9['buttonView']['bind']('isVisible')['to'](this,'modelDisplayMode',_0x3d8379=>'selector'===_0x3d8379),this['listenTo'](_0x2287a9,'execute',_0x52ceae=>{this['modelId']=_0x52ceae['source']['model']['id'],_0x2287a9['buttonView']['label']=_0x52ceae['source']['label'];}),_0x2287a9;}['_createModelNameView'](){const _0x1d1e6e=new _0x5b070a(this['locale']);return _0x1d1e6e['bind']('text')['to'](this,'activeModelName',_0x5512de=>_0x5512de??''),_0x1d1e6e['bind']('isVisible')['to'](this,'modelDisplayMode',_0x332c6e=>'name'===_0x332c6e),_0x1d1e6e;}['_createActionsFooterView'](){const _0x5f12e4=new _0x14e616['View'](this['locale']);return _0x5f12e4['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-custom-actions-footer']},'children':[this['_modelSelectionDropdown'],this['_modelNameView'],{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-custom-actions-buttons']},'children':[this['cancelButtonView'],this['submitButtonView']]}]}),_0x5f12e4;}},_0x5b070a=class extends _0x14e616['View']{constructor(_0x34a8fa){super(_0x34a8fa),this['set']('text',void 0x0),this['set']('isVisible',!0x0);const _0x454bec=this['bindTemplate'];this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-ai_review__check-list-item-model-name',_0x454bec['if']('isVisible','ck-hidden',_0x566ad6=>!_0x566ad6)]},'children':[{'text':_0x454bec['to']('text')}]});}},_0x1c0f41=class extends _0x14e616['ButtonLabelView']{constructor(_0x1233ef,_0x37ff47){super();const _0x22ce31=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-button__label'],'style':_0x22ce31['to']('style'),'id':_0x22ce31['to']('id')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-name']},'children':[{'tag':'span','children':[{'text':_0x22ce31['to']('text')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-model-dropdown-description']},'children':[{'tag':'span','children':[_0x37ff47['description']||'']}]}]});}},_0x1b7146=class extends _0x14e616['ListItemView']{['_formItemsCollection']=new _0x14e616['ViewCollection']();['_customCheckView']=null;['_hideModels']=!0x1;constructor(_0x48cee2,_0x37a7a1,_0x9dd500,_0x41b97b=!0x1){super(_0x48cee2),this['_hideModels']=_0x41b97b,this['set']('isParametrizedViewOpen',!0x1),this['set']('isListItemRendered',!0x1),this['set']('isItemParametrized',_0x37a7a1['isParameterized']);const _0x13ff41=this['_createIconView']();this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item',this['bindTemplate']['if']('isParametrizedViewOpen','ck-ai_review__check-list-item_selected',_0xa6f9ca=>_0xa6f9ca),this['bindTemplate']['if']('isListItemRendered','ck-ai_review__check-list-item_rendered',_0x1fda61=>_0x1fda61)],'style':{'--ck-ai-review-check-list-item-index':_0x9dd500}},'on':{'click':this['bindTemplate']['to']('click')},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-main-content']},'children':[{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-title']},'children':[{'tag':'span','attributes':{'class':['ck-ai_review__check-list-item-title-text']},'children':[{'text':_0x37a7a1['title']}]},_0x13ff41]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-description']},'children':_0x37a7a1['description']?[{'text':_0x37a7a1['description']}]:[]}]}]},..._0x37a7a1['isParameterized']?[this['_createParameterizedView'](_0x37a7a1)]:[],...'custom'===_0x37a7a1['id']?[this['_createCustomView'](_0x37a7a1,this['_hideModels'])]:[]]}),this['on']('click',()=>{_0x37a7a1['isParameterized']?this['isParametrizedViewOpen']=!0x0:this['fire']('runReviewCheck',{'id':_0x37a7a1['id'],'args':_0x37a7a1['useArgs']?_0x37a7a1['args']:void 0x0});}),requestAnimationFrame(()=>{this['isListItemRendered']=!0x0;});}['render'](){super['render'](),this['isItemParametrized']&&(0x0,_0x14e616['clickOutsideHandler'])({'emitter':this,'activator':()=>!0x0===this['isParametrizedViewOpen'],'contextElements':[this['element']],'callback':()=>{this['isParametrizedViewOpen']=!0x1;}});}['resetToDefault'](){this['isParametrizedViewOpen']=!0x1,this['_formItemsCollection']['forEach'](_0x29936f=>{_0x29936f['resetToDefault']();}),this['_customCheckView']&&this['_customCheckView']['resetToDefault']();}['_createIconView'](){const _0x1a664b=new _0x14e616['IconView']();return _0x1a664b['content']=_0x14e616['IconChevronRight'],_0x1a664b['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-title-icon']}}),_0x1a664b;}['_createParameterizedView'](_0x2460ec){const _0x46d863=new _0x14e616['View'](),_0x327cbb=this['_createFormView'](_0x2460ec);return _0x46d863['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x4af0c1=>!_0x4af0c1)]},'children':[_0x327cbb]}),_0x46d863;}['_createFormView'](_0x574ead){const _0x414219=new _0x14e616['View'](),_0x18b26d=Array['isArray'](_0x574ead['options'])?_0x574ead['options']:[],_0x86db11=new _0x14e616['ButtonView'](this['locale']),t=this['locale']['t'];_0x86db11['set']({'label':t('Submit'),'withText':!0x0,'class':_0x26434c}),_0x86db11['extendTemplate']({'on':{'click':this['bindTemplate']['to'](_0x4dbf63=>{_0x4dbf63['stopPropagation']();})}}),_0x86db11['on']('execute',()=>{const _0x2ede9f=[],_0x4512b1={};this['_formItemsCollection']['forEach'](_0x4c54a0=>{_0x2ede9f['push'](_0x4c54a0['value']),_0x574ead['useArgs']&&_0x574ead['options']&&(_0x4512b1[_0x4c54a0['argsKey']]=_0x4c54a0['value']);}),this['fire']('runReviewCheck',{'id':_0x574ead['id'],'params':_0x2ede9f['length']?_0x2ede9f:void 0x0,'args':Object['keys'](_0x4512b1)['length']?_0x4512b1:void 0x0});});const _0x468707=_0x18b26d['length'];return _0x18b26d['forEach']((_0xe836b5,_0x4816c8)=>{const _0x3e6ce3=_0x4816c8===_0x468707-0x1;this['_formItemsCollection']['add'](new _0x54644b(this['locale'],_0xe836b5,_0x3e6ce3?_0x86db11:null));}),_0x414219['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list-item-parameterized-form']},'children':this['_formItemsCollection']}),_0x414219;}['_createCustomView'](_0x468855,_0xd20b22=!0x1){return this['_customCheckView']=new _0xe51962(this['locale'],_0x468855,_0xd20b22),this['_customCheckView']['extendTemplate']({'attributes':{'class':['ck-ai_review__check-list-item-parameterized','ck-ai_review__check-list-item-parameterized_custom',this['bindTemplate']['if']('isParametrizedViewOpen','ck-hidden',_0x51b1ec=>!_0x51b1ec)]}}),this['_customCheckView']['delegate']('runReviewCheck')['to'](this),this['listenTo'](this['_customCheckView'],'closeCustomCheck',()=>{this['isParametrizedViewOpen']=!0x1;}),this['on']('change:isParametrizedViewOpen',(_0x3f795a,_0x1ab304,_0x28b3cf)=>{_0x28b3cf||this['_customCheckView']['resetFormValidationStatus']();}),this['_customCheckView'];}},_0x3a10ff=class extends _0x14e616['ListItemView']{['_checkViews'];constructor(_0x3a344d){super(_0x3a344d),this['_checkViews']=new _0x14e616['ViewCollection'](),this['_setupTemplate']();}['setChecks'](_0x53c5cd,_0x514cb1=!0x1){this['_checkViews']['clear']();for(const [_0xb244ed,_0x2ed431]of _0x53c5cd['entries']()){const _0x6b0547=new _0x1b7146(this['locale'],_0x2ed431,_0xb244ed,_0x514cb1);_0x6b0547['delegate']('runReviewCheck')['to'](this),this['_checkViews']['add'](_0x6b0547);}}['hasChecks'](){return this['_checkViews']['length']>0x0;}['resetAllParameterizedChecks'](){for(const _0xdf61e0 of this['_checkViews'])_0xdf61e0 instanceof _0x1b7146&&_0xdf61e0['resetToDefault']();}['_setupTemplate'](){const _0x1f1511=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x1f1511['if']('isVisible','ck-hidden',_0x2a924f=>!_0x2a924f)]},'children':this['_checkViews']});}},_0x3d74e4=class extends _0x50ea72{static get['pluginName'](){return'AIReviewModeUI';}['createMainView'](){const _0x405158=this['context']['plugins']['get']('AITabs'),_0x511077=this['context']['locale'],_0x2872fe=new _0x2da371(_0x511077,{'label':_0x2723f0(_0x511077,'AI_REVIEW_MODE'),'icon':_0x14e616['IconAIReview'],'class':'ck-ai-header_review','showResizeButton':_0x405158['showResizeButton']});return _0x2872fe['delegate']('resizeTabs')['to'](_0x405158),_0x2872fe['bind']('isMaximized')['to'](_0x405158['view'],'isMaximized',_0x3bf320=>_0x3bf320),new _0x3ea90c(this['context']['locale'],{'header':_0x2872fe,'list':new _0x3a10ff(_0x511077),'results':new _0x2be86b(_0x511077,{'generalErrorText':_0x2723f0(_0x511077,'AI_REVIEW_MODE_GENERAL_ERROR_MESSAGE')}),'completed':new _0x1e254f(_0x511077,{'headerText':_0x2723f0(_0x511077,'AI_REVIEW_MODE_FINISH_REVIEW_HEADER_TITLE'),'emptyResultsText':_0x2723f0(_0x511077,'AI_REVIEW_MODE_EMPTY_RESULTS_TEXT'),'buttonText':_0x2723f0(_0x511077,'AI_REVIEW_MODE_FINISH_REVIEW_BUTTON_LABEL')})});}['registerTab'](){const _0x20a51f=this['context']['plugins']['get']('AITabs');_0x20a51f['view']['on']('activateTab',(_0x5dd58e,{newTab:_0x344a1a,oldTab:_0xdac6dd})=>{'reviewMode'===_0x344a1a?this['fire']('getReviewCheckList'):'reviewMode'===_0xdac6dd&&this['fire']('leaveReview');}),_0x20a51f['view']['addTab']({'id':'reviewMode','buttonLabel':_0x2723f0(this['context']['locale'],'AI_REVIEW_MODE'),'buttonIcon':_0x14e616['IconAIReview'],'order':0x0,'content':this['_mainView']});}};const _0x32a482='review-',_0x22f888=['softBreak'],_0x293beb=['htmlScript','htmlStyle','htmlCustomElement'];var _0x3274ca=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[_0x4abd7b,_0x11b915];}static get['pluginName'](){return'AIReviewCoreEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_markers']=new Map();['_activeMarkers']=new Set();['_domEmitter'];['_eventEmitter'];['_reviewEditingAttachedEditors']=new WeakSet();['_boundEditables']=new WeakMap();constructor(_0x3d90ae){super(_0x3d90ae),this['_domEmitter']=new((0x0,_0x14e616['DomEmitterMixin'])())(),this['_eventEmitter']=new((0x0,_0x14e616['EmitterMixin'])())();}get['emitter'](){return this['_eventEmitter'];}['afterInit'](){const _0x180b6b=_0x5e11a3=>this['_scheduleAttachReviewEditingToEditor'](_0x5e11a3);if(this['_registerGlobalBalloonBlurHandler'](),this['context']instanceof _0x14e616['Editor'])return void _0x180b6b(this['context']);const _0x520e13=this['context'];for(const _0x40160b of _0x520e13['editors'])_0x180b6b(_0x40160b);this['listenTo'](_0x520e13['editors'],'add',(_0x4ccd47,_0x3eb508)=>{_0x180b6b(_0x3eb508);}),this['listenTo'](_0x520e13['editors'],'remove',(_0x45e0ca,_0x5a8bfe)=>{for(const [_0x293393,_0x509598]of this['_markers'])_0x509598['editor']===_0x5a8bfe&&(this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x293393,'changeId':_0x509598['groupId']}),this['_markers']['delete'](_0x293393));});}['_scheduleAttachReviewEditingToEditor'](_0x41dbcf){const _0x3515dc=()=>{'destroyed'!==_0x41dbcf['state']&&_0x41dbcf['conversion']&&this['_attachReviewEditingToEditor'](_0x41dbcf);};if('ready'===_0x41dbcf['state'])return void _0x3515dc();const _0x440d60=()=>{this['stopListening'](_0x41dbcf,'ready',_0x440d60),_0x3515dc();};this['listenTo'](_0x41dbcf,'ready',_0x440d60);}['_attachReviewEditingToEditor'](_0x434820){this['_reviewEditingAttachedEditors']['has'](_0x434820)||(_0x434820['conversion']['for']('editingDowncast')['markerToElement']({'model':_0x32a482+'insert','view':(_0x4b1b7f,{writer:_0x1100bb})=>{const _0x4bdee3=this['_markers']['get'](_0x4b1b7f['markerName']),_0xc49c34={'class':'ck-ai_review-marker_add'+(this['_activeMarkers']['has'](_0x4bdee3?.['id']||'')?'\x20ck-ai_review__change_active':''),'data-marker-id':_0x4b1b7f['markerName']};return _0x1100bb['createUIElement']('span',_0xc49c34,function(_0x98af8e){const _0x2eb94b=this['toDomElement'](_0x98af8e);return _0x2eb94b['innerHTML']=_0x4bdee3?.['content']?.['asString']||'',_0x2eb94b;});}}),_0x434820['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x32a482+'remove-only','view':_0x228955=>{const _0x5d65a4=this['_markers']['get'](_0x228955['markerName']),_0x2af134=['ck-ai_review-marker_strikethrough'];return this['_activeMarkers']['has'](_0x5d65a4?.['id']||'')&&_0x2af134['push']('ck-ai_review__change_active'),{'classes':_0x2af134,'attributes':{'data-marker-id':_0x228955['markerName']}};}}),_0x434820['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x32a482+'remove-context','view':_0x4023b3=>{const _0x238d69=this['_markers']['get'](_0x4023b3['markerName']),_0x261792=['ck-ai_review-marker_underline'];return this['_activeMarkers']['has'](_0x238d69?.['id']||'')&&_0x261792['push']('ck-ai_review__change_active'),{'classes':_0x261792,'attributes':{'data-marker-id':_0x4023b3['markerName']}};}}),_0x434820['conversion']['for']('editingDowncast')['markerToHighlight']({'model':_0x32a482+'remove-text','view':_0x202c39=>{const _0x100879=this['_markers']['get'](_0x202c39['markerName']),_0x1298bf=['ck-ai_review-marker_hide'];return this['_activeMarkers']['has'](_0x100879?.['id']||'')&&_0x1298bf['push']('ck-ai_review__change_active'),{'classes':_0x1298bf,'attributes':{'data-marker-id':_0x202c39['markerName']}};}}),_0x434820['conversion']['for']('dataDowncast')['markerToElement']({'model':_0x32a482+'suggestion-context','view':(_0x4aeefe,{writer:_0x4c5522})=>_0x4c5522['createRawElement']('span',{'class':'ck-ai_review-marker_context-'+(_0x4aeefe['isOpening']?'start':'end')})}),_0x434820['conversion']['for']('downcast')['attributeToAttribute']({'model':_0x578078,'view':_0x2a08d8}),this['_updateMouseMarkerInteractionListeners'](_0x434820),this['listenTo'](_0x434820,'addRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x434820),{'priority':'lowest'}),this['listenTo'](_0x434820,'detachRoot',()=>this['_updateMouseMarkerInteractionListeners'](_0x434820),{'priority':'lowest'}),_0x434820['model']['document']['registerPostFixer'](_0x55d221=>this['_validateMarkers'](_0x434820,_0x55d221)),_0x434820['model']['document']['on']('change',()=>this['_handleMarkerChanges'](_0x434820)),this['_reviewEditingAttachedEditors']['add'](_0x434820));}['_updateMouseMarkerInteractionListeners'](_0x3e6381){let _0x28f36f=this['_boundEditables']['get'](_0x3e6381);_0x28f36f||(_0x28f36f=new Map(),this['_boundEditables']['set'](_0x3e6381,_0x28f36f));const _0x273974=new Set(_0x3e6381['ui']['getEditableElementsNames']());for(const _0x45a0d4 of _0x273974){if(_0x28f36f['has'](_0x45a0d4))continue;const _0x6e67be=_0x3e6381['ui']['getEditableElement'](_0x45a0d4);_0x28f36f['set'](_0x45a0d4,_0x6e67be),this['_attachMouseMarkerInteractionListeners'](_0x6e67be);}for(const [_0x4bb32f,_0xe8dd07]of _0x28f36f)_0x273974['has'](_0x4bb32f)||(_0x28f36f['delete'](_0x4bb32f),this['_domEmitter']['stopListening'](_0xe8dd07));}['_attachMouseMarkerInteractionListeners'](_0x5de705){this['_domEmitter']['listenTo'](_0x5de705,'mouseup',(_0x4f8ea1,_0x31b194)=>{const _0x2fea11=_0x31b194['target'],_0x4a3ec7=this['_findMarkerElement'](_0x2fea11);if(!_0x4a3ec7)return;const _0x6714a6=_0x4a3ec7['getAttribute']('data-marker-id'),_0x4ddaf4=_0x6714a6['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerClicked',{'markerId':_0x6714a6,'changeId':_0x4ddaf4,'markerElement':()=>this['_findMarkerElementById'](_0x6714a6),'domEvent':_0x31b194});},{'usePassive':!0x0,'priority':'highest'}),this['_domEmitter']['listenTo'](_0x5de705,'mouseover',(_0x113e44,_0x368ebc)=>{const _0x253a1a=_0x368ebc['target'],_0x311844=_0x368ebc['relatedTarget'];let _0x1a6089=this['_findMarkerElement'](_0x253a1a);if(!_0x1a6089&&_0x311844&&(_0x1a6089=this['_findMarkerElement'](_0x311844)),!_0x1a6089)return;const _0x54c5e6=_0x1a6089['getAttribute']('data-marker-id'),_0x224099=_0x54c5e6['split'](':')['pop']()?.['split']('_')[0x0];this['_eventEmitter']['fire']('changeMarkerHovered',{'changeId':_0x224099,'markerElement':()=>this['_findMarkerElementById'](_0x54c5e6),'domEvent':_0x368ebc});});}['_registerGlobalBalloonBlurHandler'](){this['_domEmitter']['listenTo'](document,'mouseover',_0x3a18ae((_0x113584,_0x25f489)=>{const _0xeef0e9=_0x25f489['target'];this['_findMarkerElement'](_0xeef0e9)||_0xeef0e9['closest']('.ck-reset.ck-ai_review-balloon-panel-suggestion')||this['_eventEmitter']['fire']('changeMarkerBlurred');},0xc8));}['getDocumentData'](){const _0x273391=this['context']['plugins']['get']('AIEditing'),_0xb104ee=_0x5477c5(this['context']);if(!_0xb104ee['length'])throw new _0x14e616['CKEditorError']('ai-get-editor-from-context-no-editor',this);const _0x4eb883=new Set(),_0x2b524b=[],_0xbc3ec=new Map();for(const _0x334b42 of _0xb104ee)for(const _0xed87dd of _0x334b42['model']['document']['getRoots']()){if('$graveyard'===_0xed87dd['rootName'])continue;const _0x4efdf6=this['_buildDocumentDataSliceForRoot'](_0x334b42,_0xed87dd,_0x273391,_0x4eb883);_0x2b524b['push'](_0x4efdf6['content']);for(const [_0xa7e02,_0x5b0163]of _0x4efdf6['elements'])_0xbc3ec['set'](_0xa7e02,_0x5b0163);}return{'elements':_0xbc3ec,'content':_0x2b524b['join']('')};}['_buildDocumentDataSliceForRoot'](_0x28527c,_0x1899c7,_0x5c121c,_0x1de0d5){const _0x231114=_0x28527c['model'],_0x502806=new _0x14e616['ModelDocumentFragment']();for(const _0x18f881 of _0x1899c7['getChildren']())_0x502806['_appendChild'](_0x18f881['_clone'](!0x0));for(const _0x4a9166 of _0x231114['markers']){const _0x2aa390=_0x4a9166['getRange']();_0x2aa390&&_0x2aa390['root']['rootName']===_0x1899c7['rootName']&&_0x502806['markers']['set'](_0x4a9166['name'],this['_changeRangeOwnerDocument'](_0x2aa390['clone'](),_0x502806));}const _0x88630d=new Map(),_0x2d7af1=_0x231114['document']['version'],_0x452fdc=new _0x14e616['ModelTreeWalker']({'ignoreElementEnd':!0x0,'startPosition':_0x231114['createPositionAt'](_0x502806,0x0)});for(const {item:_0x463cd5}of _0x452fdc){if(_0x463cd5['is']('element')&&_0x463cd5['name']&&_0x293beb['includes'](_0x463cd5['name'])){const _0x308866=this['_upsertDataId'](_0x463cd5,()=>_0x5c121c['_nextDataId'](_0x1de0d5));_0x1de0d5['add'](_0x308866);}if(!_0x463cd5['is']('$textProxy'))continue;const _0x4c4406=_0x463cd5['parent'];if(!_0x4c4406||!_0x4c4406['is']('element'))continue;const _0x4c20b5=this['_upsertDataId'](_0x4c4406,()=>_0x5c121c['_nextDataId'](_0x1de0d5));_0x1de0d5['add'](_0x4c20b5);for(const _0x58d0fe of _0x4c4406['getChildren']())_0x58d0fe['is']('element')&&(_0x58d0fe['name']&&_0x22f888['includes'](_0x58d0fe['name'])||_0x1de0d5['add'](this['_upsertDataId'](_0x58d0fe,()=>_0x5c121c['_nextDataId'](_0x1de0d5))));let _0x5764a0=_0x4c4406;for(;_0x5764a0['parent']&&!_0x5764a0['parent']['is']('documentFragment');)_0x5764a0=_0x5764a0['parent'],_0x5764a0['hasAttribute']('$elementId')&&_0x5764a0['_removeAttribute'](_0x578078);_0x88630d['set'](_0x4c20b5,{'editor':_0x28527c,'rootName':_0x1899c7['rootName'],'path':_0x4c4406['getPath'](),'documentVersion':_0x2d7af1,'getContent':this['_createGetContentUsingDataIdFn'](_0x5764a0['_clone'](!0x0),_0x4c20b5,_0x28527c['data'])}),_0x452fdc['jumpTo'](_0x231114['createPositionAfter'](_0x4c4406));}return{'content':_0x28527c['data']['processor']['toData'](_0x28527c['data']['toView'](_0x502806)),'elements':_0x88630d};}['diffContent'](_0x1421c6,_0x4b967a,_0x1f80bc,_0x5a6858=!0x1){const {contentInitial:_0x19e397,contentNew:_0x4314e7}=this['_neutralizeChangesOnUnsupportedElements'](_0x4b967a,_0x1f80bc),_0x27baf3=[],_0x49c6f3=_0x1421c6['data']['parse'](_0x4314e7,'$documentFragment'),_0x481671=_0x1421c6['data']['parse'](_0x19e397,'$documentFragment'),_0x2e3904=_0x1421c6['model']['createPositionAt'](_0x481671,0x0);if(this['_haveSingleTopLevelElement'](_0x49c6f3)){if(!this['_hasSameTopLevelElement'](_0x481671,_0x49c6f3))return _0x27baf3;}else{const _0x10794a=_0x1421c6['model']['schema'];if(!this['_haveOnlyInlineContent'](_0x481671,_0x10794a)||!this['_haveOnlyInlineContent'](_0x49c6f3,_0x10794a))return _0x27baf3;}const _0x3d67b5=this['context']['plugins']['get']('DocumentCompare')['getDiff'](_0x19e397,_0x4314e7,{'targetEditor':_0x1421c6,'anchor':_0x2e3904,'markDeletions':!0x0})['getOperations']()['filter'](_0x475d31=>'insert'===_0x475d31['type']||'marker'===_0x475d31['type']&&_0x475d31['name']['startsWith']('$markedRemove')),_0x4e11c0=this['_groupAdjacentOperations'](_0x3d67b5),_0x43f61b=[];if(_0x5a6858){if(_0x4e11c0['length']){const _0x2eda20=_0x4e11c0[0x0]['operations'][0x0],_0x2aa5db='insert'===_0x2eda20['type']?_0x2eda20['position']:_0x2eda20['newRange']['start'],_0x48137d=this['_getPositionLimitingRange'](_0x2aa5db,_0x1421c6,'inside'),_0x5baa45=_0x48137d?_0x49c6f3['getChild'](0x0)['getChildren']():_0x49c6f3['getChildren'](),_0x5dd5f2=_0x48137d||_0x1421c6['model']['createRangeIn'](_0x481671),_0x33e741=[new _0x14e616['MarkerOperation']('$markedRemove:synthetic'+(0x0,_0x14e616['uid'])(),null,_0x5dd5f2,_0x1421c6['model']['document']['model']['markers'],!0x0,_0x1421c6['model']['document']['version']+0x1),new _0x14e616['InsertOperation'](_0x5dd5f2['end'],_0x5baa45,_0x1421c6['model']['document']['version']+0x2)];_0x43f61b['push']({'operations':_0x33e741,'operationsIsolated':_0x33e741,'groupOffset':0x0});}}else _0x43f61b['push'](..._0x4e11c0);let _0x2b352a=0x0;return _0x1421c6['model']['change'](_0x493067=>{for(let _0x3fffed=0x0;_0x3fffed<_0x43f61b['length'];_0x3fffed++){const _0x151f40=_0x43f61b[_0x3fffed],_0x75caee=_0x493067['createDocumentFragment']();for(const _0x11ef01 of _0x481671['getChildren']())_0x493067['append'](_0x11ef01['_clone'](!0x0),_0x75caee);for(const _0x4b7357 of _0x151f40['operationsIsolated'])if('insert'===_0x4b7357['type']){const _0x319a15=_0x4b7357;_0x319a15['baseVersion']=null,_0x319a15['isDocumentOperation']=!0x1,this['_changeOperationOwnerDocument'](_0x319a15,_0x75caee),_0x493067['batch']['addOperation'](_0x4b7357),_0x1421c6['model']['applyOperation'](_0x4b7357);const _0x342102='suggestion:insertion:id:authorId:'+_0x2b352a++,_0xbb22a6=_0x1421c6['model']['createRange'](_0x319a15['position'],_0x319a15['position']['getShiftedBy'](_0x319a15['howMany']));_0x75caee['markers']['set'](_0x342102,_0xbb22a6);}else{if('marker'===_0x4b7357['type']&&_0x4b7357['name']['startsWith']('$markedRemove')){const _0x121aec=_0x4b7357,_0x239dcd='suggestion:deletion:id:authorId:'+_0x2b352a++;this['_changeOperationOwnerDocument'](_0x121aec,_0x75caee),_0x75caee['markers']['set'](_0x239dcd,_0x121aec['newRange']);}}if(_0x5a6858)_0x27baf3['push']({..._0x151f40,'context':this['_createGetContentFn'](_0x481671,_0x1421c6['data']),'content':this['_createGetContentFn'](_0x481671,_0x1421c6['data'])});else{const _0x32ef93=this['_getChangeContext'](this['_changePositionOwnerDocument'](this['_getOperationStart'](_0x151f40['operationsIsolated'][0x0]),_0x75caee),this['_changePositionOwnerDocument'](this['_getOperationEnd'](_0x151f40['operationsIsolated'][_0x151f40['operationsIsolated']['length']-0x1]),_0x75caee),_0x1421c6);_0x75caee['markers']['set'](_0x32a482+'suggestion-context',new _0x14e616['ModelRange'](_0x32ef93['start'],_0x32ef93['end'])),_0x27baf3['push']({..._0x151f40,'context':this['_createGetContextFn'](_0x75caee,_0x1421c6['data'],{'ellipsisBefore':_0x32ef93['hasContentBefore'],'ellipsisAfter':_0x32ef93['hasContentAfter']}),'content':this['_createGetContentFn'](_0x75caee,_0x1421c6['data'])});}}}),_0x27baf3;}['markChangePositionInEditorContent'](_0x1a79ff,_0x1a0321){if(!_0x1a79ff['length'])return;const _0x17879a=_0x1a79ff[0x0]['parent']['id'],_0x3eb81a=_0x1a0321['elements']['get'](_0x17879a);if(!_0x3eb81a)return void console['warn']('No\x20element\x20found\x20for\x20ID:\x20'+_0x17879a);const _0xaeefd2=_0x3eb81a['path'],_0x43e8a6=_0x3eb81a['editor'],_0x3598f5=_0x43e8a6['model']['document']['getRoot'](_0x3eb81a['rootName']);if(!_0x3598f5)return void console['warn']('No\x20model\x20root\x20found\x20for\x20name:\x20'+_0x3eb81a['rootName']);const _0x12c2ce=_0x43e8a6['model']['document']['history']['getOperations'](_0x3eb81a['documentVersion']),_0x263952=[];for(const _0x1420b4 of _0x1a79ff){const _0x1df93b=_0x1420b4['operationsIsolated']['map'](_0x28c048=>this['_translateOperationToEditorContent'](_0x28c048,_0xaeefd2,_0x3598f5));if(!_0x1df93b||!_0x1df93b['length'])continue;const _0x5ccfa7=_0x1df93b['every'](_0x2dd479=>'marker'===_0x2dd479['type']&&_0x2dd479['name']['startsWith']('$markedRemove')),_0x3cc02e=(0x0,_0x14e616['transformOperationSets'])(_0x1df93b,_0x12c2ce,{'document':_0x43e8a6['model']['document'],'useRelations':!0x1,'padWithNoOps':!0x1})['operationsA'];for(const _0x375843 of _0x3cc02e)if('insert'===_0x375843['type']){const _0x3c83a4=_0x375843,_0xb7fb3a=_0x3c83a4['nodes'];_0x43e8a6['model']['change'](_0x44f9a5=>{const _0x2fa293=_0x44f9a5['createDocumentFragment']();for(const _0x29a936 of _0xb7fb3a)_0x44f9a5['append'](_0x29a936['_clone'](!0x0),_0x2fa293);_0x263952['push']({'start':_0x3c83a4['position'],'end':_0x3c83a4['position'],'type':'insert','groupId':_0x1420b4['id'],'content':{'asString':this['_createGetContentFn'](_0x2fa293,_0x43e8a6['data'])(),'asFragment':_0x2fa293}});});}else{if('marker'===_0x375843['type']&&_0x375843['name']['startsWith']('$markedRemove')){const _0x22e16f=_0x375843;let _0x2ca25c='remove-text';if(_0x5ccfa7){const _0x55693b=this['_findAdjacentContextDistance'](_0x22e16f['newRange']['start'],'backward',_0x43e8a6['model']['schema']),_0x5a4656=this['_findAdjacentContextDistance'](_0x22e16f['newRange']['end'],'forward',_0x43e8a6['model']['schema']);if(_0x55693b||_0x5a4656){const _0x411c99=_0x22e16f['newRange']['start']['getShiftedBy'](-_0x55693b),_0x50a996=_0x22e16f['newRange']['end']['getShiftedBy'](_0x5a4656);_0x263952['push']({'start':_0x411c99,'end':_0x50a996,'groupId':_0x1420b4['id'],'type':'remove-context'});}else _0x2ca25c='remove-only';}_0x263952['push']({'start':_0x22e16f['newRange']['start'],'end':_0x22e16f['newRange']['end'],'groupId':_0x1420b4['id'],'type':_0x2ca25c});}}}this['_insertMarkers'](_0x263952,_0x43e8a6);}['clearAllMarkers'](){const _0x115a31=new Map();for(const _0x2e0528 of this['_markers']['keys']()){const _0x3e88dd=this['_markers']['get'](_0x2e0528);_0x3e88dd?.['editor']&&(_0x115a31['has'](_0x3e88dd['editor'])||_0x115a31['set'](_0x3e88dd['editor'],[]),_0x115a31['get'](_0x3e88dd['editor'])['push'](_0x2e0528));}for(const [_0x5ec24b,_0x59dc1f]of _0x115a31)_0x5ec24b['model']['change'](_0x39c914=>{for(const _0x38e450 of _0x59dc1f)_0x5ec24b['model']['markers']['get'](_0x38e450)&&_0x39c914['removeMarker'](_0x38e450);});this['_markers']['clear'](),this['_activeMarkers']['clear']();}['switchToReadOnly'](){for(const _0x5c532d of _0x5477c5(this['context']))_0x5c532d['enableReadOnlyMode']('ai-review');}['switchToEdit'](){for(const _0x195d82 of _0x5477c5(this['context']))_0x195d82['disableReadOnlyMode']('ai-review');}['applyChange'](_0x257ad,_0x583dfd=null){const _0x253624=_0x257ad['map'](_0x2957e6=>this['_getMarkersDataForGroup'](_0x2957e6))['flat'](),_0x56aed8=new Map();for(const _0x4c2fe6 of _0x253624)_0x56aed8['has'](_0x4c2fe6['editor'])||_0x56aed8['set'](_0x4c2fe6['editor'],[]),_0x56aed8['get'](_0x4c2fe6['editor'])['push'](_0x4c2fe6);for(const [_0x375270,_0x199aa4]of _0x56aed8){const _0x1438e1=_0x375270['model'],_0x304e4=_0x375270['plugins']['has']('TrackChangesEditing')?_0x375270['plugins']['get']('TrackChangesEditing'):null,_0x4ad180=_0x583dfd&&_0x304e4?new Set(_0x304e4['getSuggestions']()['map'](_0x12ffff=>_0x12ffff['id'])):null;_0x1438e1['change'](_0x543920=>{const _0x4d9461=_0x543920['batch']['operations']['length'];for(const _0x5ce328 of _0x199aa4){const _0xd0e7c0=_0x375270['model']['markers']['get'](_0x5ce328['id']);if(_0xd0e7c0){if('insert'===_0x5ce328['type']){if(!_0x5ce328['content'])continue;_0x1438e1['insertContent'](_0x5ce328['content']['asFragment']||null,_0xd0e7c0['getRange']()['start']);}else'remove-text'!==_0x5ce328['type']&&'remove-only'!==_0x5ce328['type']||_0x1438e1['deleteContent'](_0x1438e1['createSelection'](_0xd0e7c0['getRange']()));_0x543920['removeMarker'](_0x5ce328['id']),this['_markers']['delete'](_0x5ce328['id']);}}if(_0x583dfd&&(_0x3efdc2(_0x543920['batch']['operations']['slice'](_0x4d9461),_0x583dfd),_0x304e4)){for(const _0x22d2bc of _0x304e4['getSuggestions']())_0x4ad180['has'](_0x22d2bc['id'])||_0x22d2bc['setAttribute']('@ai',{'type':_0x583dfd});}});}}['rejectChange'](_0x345001){const _0x5d786d=this['_getMarkersDataForGroup'](_0x345001),_0x575989=new Map();for(const _0x4099a5 of _0x5d786d)_0x575989['has'](_0x4099a5['editor'])||_0x575989['set'](_0x4099a5['editor'],[]),_0x575989['get'](_0x4099a5['editor'])['push'](_0x4099a5);for(const [_0x394305,_0x1a4ce9]of _0x575989)_0x394305['model']['change'](_0x19b4b4=>{for(const _0x3385b6 of _0x1a4ce9)_0x19b4b4['removeMarker'](_0x3385b6['id']),this['_markers']['delete'](_0x3385b6['id']);});}['getEditor'](){return _0x5128bd(this['context']);}['getEditors'](){return _0x5477c5(this['context']);}['getEditorForChange'](_0x31970a){return this['_getMarkersDataForGroup'](_0x31970a)[0x0]?.['editor'];}['getMarkerElementForChange'](_0x118b18){const _0xe115a2=Array['from'](this['_markers']['values']())['filter'](_0x40aafe=>_0x40aafe['groupId']===_0x118b18);if(!_0xe115a2['length'])return null;const _0x4226e9=0x1===_0xe115a2['length']?_0xe115a2[0x0]:this['_sortMarkers'](_0xe115a2)[0x0],_0x213a1c=_0x4226e9['editor']['model']['markers']['get'](_0x4226e9['id']);return _0x213a1c?{'modelRange':_0x213a1c['getRange'](),'getElement':()=>this['_findMarkerElementById'](_0x4226e9['id'])}:null;}['getContentElementForChange'](_0x4a8195){const _0x1870c2=Array['from'](this['_markers']['values']())['filter'](_0x17cb03=>_0x17cb03['groupId']===_0x4a8195);if(!_0x1870c2['length'])return null;const _0x234657=0x1===_0x1870c2['length']?_0x1870c2[0x0]:this['_sortMarkers'](_0x1870c2)[0x0],_0x4f133e=_0x234657['editor'],_0x35401a=_0x4f133e['model']['markers']['get'](_0x234657['id']);if(!_0x35401a)return null;const _0x462bb1=_0x35401a['getRange'](),_0x153ff8=_0x4f133e['editing']['view']['getDomRoot'](_0x462bb1['root']['rootName'])||_0x4f133e['editing']['view']['getDomRoot']();if(!_0x153ff8||!_0x462bb1)return null;let _0x1b448a=_0x462bb1['start']['parent'];for(;_0x1b448a['parent']&&!_0x1b448a['parent']['is']('rootElement');)_0x1b448a=_0x1b448a['parent'];if(!_0x1b448a||!_0x1b448a['name'])return null;const _0x5cc7e9=_0x153ff8['querySelector']('[data-marker-id=\x22'+_0x234657['id']+'\x22]');if(!_0x5cc7e9)return null;let _0x2f5dd4=null;_0x4f133e['model']['change'](_0x40d6dd=>{_0x2f5dd4=_0x40d6dd['createDocumentFragment'](),_0x40d6dd['append'](_0x1b448a['_clone'](!0x0),_0x2f5dd4);});const _0x198dfb=_0x4f133e['data']['toView'](_0x2f5dd4)['getChild'](0x0);return _0x5cc7e9['closest'](_0x198dfb['name']);}['reactivateMarkers'](_0x2f3a28){const _0x3a7fed=this['_getMarkersDataForGroup'](_0x2f3a28);if(!_0x3a7fed['length'])return;const _0x231b53=Array['from'](this['_activeMarkers'])['sort'](),_0x2857f6=Array['from'](new Set(_0x3a7fed['map'](_0x4ee64e=>_0x4ee64e['id'])))['sort']();_0x231b53['join']('|')!==_0x2857f6['join']('|')&&(this['setAllMarkersAsInactive'](),this['setMarkersInElementAsActive'](_0x2f3a28));}['setMarkersInElementAsActive'](_0x557b8a){const _0x316926=this['_getMarkersDataForGroup'](_0x557b8a);if(!_0x316926['length'])return;const _0x13b8d9=_0x316926[0x0]['editor'],_0x7cddc1=new Set(_0x316926['map'](_0x4fc720=>_0x4fc720['id'])),_0x368f36=Array['from'](_0x7cddc1['values']())['map'](_0x4a8429=>_0x13b8d9['model']['markers']['get'](_0x4a8429))['filter'](_0x4dc1e0=>!!_0x4dc1e0);_0x7cddc1['forEach'](_0x4b3e7f=>{this['_activeMarkers']['add'](_0x4b3e7f);}),_0x13b8d9['model']['change'](()=>{_0x368f36['forEach'](_0xd7e8b9=>{_0x13b8d9['editing']['reconvertMarker'](_0xd7e8b9);});});}['setAllMarkersAsInactive'](){const _0x2062c8=Array['from'](this['_activeMarkers']);if(!_0x2062c8['length'])return;this['_activeMarkers']['clear']();const _0x522481=new Map();for(const _0x456c33 of _0x2062c8){const _0x52ec20=this['_markers']['get'](_0x456c33);if(!_0x52ec20)continue;const _0x1c2235=_0x52ec20['editor'],_0x51ae5=_0x1c2235['model']['markers']['get'](_0x456c33);_0x51ae5&&(_0x522481['has'](_0x1c2235)||_0x522481['set'](_0x1c2235,[]),_0x522481['get'](_0x1c2235)['push'](_0x51ae5));}for(const [_0x2db4d4,_0x32e0f4]of _0x522481)_0x2db4d4['model']['change'](()=>{_0x32e0f4['forEach'](_0x4454a1=>{_0x2db4d4['editing']['reconvertMarker'](_0x4454a1);});});}['_getPositionLimitingRange'](_0x1846df,_0x520f02,_0x459009='outside'){if(!_0x1846df)return null;let _0x47a087=_0x1846df['parent'];for(;_0x47a087&&_0x47a087['parent']&&!_0x47a087['parent']['is']('rootElement')&&!_0x520f02['model']['schema']['isLimit'](_0x47a087)&&!_0x520f02['model']['schema']['isBlock'](_0x47a087);)_0x47a087=_0x47a087['parent'];if(!_0x47a087||!_0x47a087['name']||_0x47a087['is']('rootElement'))return null;let _0x31af96=null;return _0x520f02['model']['change'](_0x76d675=>{_0x31af96='inside'===_0x459009?_0x76d675['createRangeIn'](_0x47a087):_0x76d675['createRangeOn'](_0x47a087);}),_0x31af96;}['_validateMarkers'](_0x5746c4,_0x437701){const _0x4eb2a0=Array['from'](this['_markers']['keys']()),_0x103780=new Map();for(const _0xffcc2e of _0x4eb2a0){const _0x18c2b3=_0x5746c4['model']['markers']['get'](_0xffcc2e);if(!_0x18c2b3)continue;const _0xaae3d5=_0x18c2b3['getStart']()['root']['rootName']+':'+_0x18c2b3['getStart']()['path'][0x0];_0x103780['has'](_0xaae3d5)||_0x103780['set'](_0xaae3d5,[]),_0x103780['get'](_0xaae3d5)['push'](_0x18c2b3);}const _0x1c64f4=new Set();for(const _0x5c43d0 of _0x5746c4['model']['document']['differ']['getChanges']()){let _0x1ecd27='',_0x1b4415=null;if('insert'===_0x5c43d0['type'])_0x1b4415=new _0x14e616['ModelRange'](_0x5c43d0['position'],_0x5c43d0['position']['getShiftedBy'](_0x5c43d0['length'])),_0x1ecd27=_0x5c43d0['position']['root']['rootName']+':'+_0x5c43d0['position']['path'][0x0];else{if('remove'!==_0x5c43d0['type'])continue;_0x1b4415=new _0x14e616['ModelRange'](_0x5c43d0['position']),_0x1ecd27=_0x5c43d0['position']['root']['rootName']+':'+_0x5c43d0['position']['path'][0x0];}const _0x6bf2b5=_0x103780['get'](_0x1ecd27)||[];if(_0x6bf2b5['length']){for(const _0x9fbc1e of _0x6bf2b5)if(_0x1b4415['root']['rootName']===_0x9fbc1e['getRange']()['root']['rootName']&&('insert'!==_0x5c43d0['type']||!_0x1b4415['containsRange'](_0x9fbc1e['getRange']()))&&(_0x1b4415['isIntersecting'](_0x9fbc1e['getRange']())||_0x1b4415['start']['isTouching'](_0x9fbc1e['getRange']()['end'])||_0x1b4415['end']['isTouching'](_0x9fbc1e['getRange']()['start']))){const _0x330ea5=this['_parseMarkerName'](_0x9fbc1e['name']);Array['from'](this['_markers']['values']())['filter'](_0x2559a1=>_0x2559a1['groupId']===_0x330ea5['groupId'])['forEach'](_0x52ec1d=>_0x1c64f4['add'](_0x52ec1d['id']));}}}if(_0x1c64f4['size']){for(const _0x280621 of _0x1c64f4)_0x437701['removeMarker'](_0x280621);return!0x0;}return!0x1;}['_handleMarkerChanges'](_0x236511){for(const {name:_0x22c608,data:_0x13f396}of _0x236511['model']['document']['differ']['getChangedMarkers']()){if(!_0x22c608['startsWith'](_0x32a482))continue;const _0x3f4ea9=_0x13f396['oldRange'],_0x38ed47=_0x13f396['newRange'],_0x22b12f=_0x3f4ea9&&'$graveyard'===_0x3f4ea9['root']['rootName'],_0x941135=_0x38ed47&&'$graveyard'===_0x38ed47['root']['rootName'];if(_0x22b12f&&_0x941135)continue;const _0x46e7e1=this['_parseMarkerName'](_0x22c608);this['_markers']['get'](_0x22c608)&&(_0x941135||!_0x38ed47?this['_eventEmitter']['fire']('changeMarkerRemoved',{'markerId':_0x22c608,'changeId':_0x46e7e1['groupId']}):_0x22b12f&&_0x38ed47&&this['_eventEmitter']['fire']('changeMarkerRestored',{'markerId':_0x22c608,'changeId':_0x46e7e1['groupId']}));}}['_parseMarkerName'](_0x4b636e){const _0x45ea83=_0x4b636e['split'](':'),_0x1ae08b=(_0x45ea83[0x1]||'')['split']('_');return{'prefix':_0x45ea83[0x0],'groupId':_0x1ae08b[0x0],'suffix':_0x1ae08b[0x1]};}['_translateOperationToEditorContent'](_0x1bab43,_0x3cb00d,_0x2b695a){if('insert'===_0x1bab43['type']){const _0x2b4f5d=_0x1bab43;return new _0x14e616['InsertOperation'](this['_changePosition'](_0x3cb00d['concat'](_0x2b4f5d['position']['offset']),_0x2b695a),_0x2b4f5d['nodes'],_0x2b4f5d['baseVersion']);}if('marker'===_0x1bab43['type']&&_0x1bab43['name']['startsWith']('$markedRemove')){const _0x515506=_0x1bab43;return new _0x14e616['MarkerOperation'](_0x515506['name'],_0x515506['oldRange'],this['_changeRange'](_0x515506['newRange'],_0x3cb00d['concat'](_0x515506['newRange']['start']['offset']),_0x3cb00d['concat'](_0x515506['newRange']['end']['offset']),_0x2b695a),_0x515506['_markers'],_0x515506['affectsData'],_0x515506['baseVersion']);}return _0x1bab43;}['_groupAdjacentOperations'](_0x52f9e9){if(!_0x52f9e9['length'])return[];const _0x2c27af=[];let _0x1829a3=0x0,_0x575e43=0x0,_0x48c3ef=[];for(let _0x5c0c2b=0x0;_0x5c0c2b<=_0x52f9e9['length'];_0x5c0c2b++){const _0xfa7f9e=_0x52f9e9[_0x5c0c2b],_0x197d51=_0x52f9e9[_0x5c0c2b-0x1];!_0xfa7f9e||_0x197d51&&!this['_getOperationEnd'](_0x197d51)['isTouching'](this['_getOperationStart'](_0xfa7f9e))?(_0x2c27af['push']({'operations':_0x48c3ef,'operationsIsolated':_0x48c3ef['map'](_0x174c41=>this['_shiftOperation'](_0x174c41['clone'](),-_0x575e43)),'groupOffset':_0x1829a3}),_0x48c3ef=_0xfa7f9e?[_0xfa7f9e]:[],_0x575e43+=_0x1829a3,_0x1829a3=0x0):_0x48c3ef['push'](_0xfa7f9e),_0xfa7f9e&&'insert'===_0xfa7f9e['type']&&(_0x1829a3+=_0xfa7f9e['howMany']);}return _0x2c27af;}['_findAdjacentContextDistance'](_0x460418,_0x4af41d,_0x173a9e,_0x2ed291=0x1){const _0x50f890=new _0x14e616['ModelTreeWalker']({'startPosition':_0x460418,'direction':_0x4af41d});let _0x21a840=0x0;for(let _0x4d3a53=0x0;_0x4d3a53<_0x2ed291;_0x4d3a53++){let _0x5a8efa=0x0,_0x3820e9=!0x1,_0x4814b7='forward'===_0x4af41d?/^\W*\w+/:/\w+\W*$/;for(const {item:_0xacad5d}of _0x50f890)if(_0xacad5d['is']('$textProxy')){const _0x6998a2=_0x4814b7['exec'](_0xacad5d['data']);if(_0x6998a2&&_0x6998a2['length']){if(_0x5a8efa+='forward'===_0x4af41d?_0x6998a2['index']+_0x6998a2[0x0]['length']:_0xacad5d['data']['length']-_0x6998a2['index'],_0x6998a2[0x0]['length']!==_0xacad5d['data']['length'])break;_0x3820e9=!0x0,_0x4814b7='forward'===_0x4af41d?/^\w+/:/\w+$/;}else{if(_0x3820e9)break;_0x5a8efa+=_0xacad5d['offsetSize'];}}else{if(_0xacad5d['is']('element')){_0x173a9e['isInline'](_0xacad5d)&&!_0x3820e9&&(_0x5a8efa+=0x1);break;}}_0x21a840+=_0x5a8efa,_0x50f890['jumpTo'](_0x460418['getShiftedBy']('forward'===_0x4af41d?_0x21a840:-_0x21a840));}return _0x21a840;}['_getChangeContext'](_0x4ea4aa,_0x6d6f9b,_0x1f0535){const _0x30d689=_0x1f0535['model']['schema'],_0x404234=this['_findAdjacentContextDistance'](_0x4ea4aa,'backward',_0x30d689,0x6),_0x5e617d=this['_findAdjacentContextDistance'](_0x6d6f9b,'forward',_0x30d689,0x6),_0x3e4144=_0x4ea4aa['getShiftedBy'](-_0x404234),_0x3a822e=_0x6d6f9b['getShiftedBy'](_0x5e617d);return{'start':_0x3e4144,'end':_0x3a822e,'hasContentBefore':!_0x3e4144['isAtStart'],'hasContentAfter':!_0x3a822e['isAtEnd']};}['_insertMarkers'](_0x1e705e,_0x2f9dc0){const _0x30b502=this['context']['plugins']['get']('AIEditing'),_0x1eee22=new Set();_0x2f9dc0['model']['change'](_0xa84feb=>{for(const _0x561f1f of _0x1e705e){const _0x2f4beb=''+_0x32a482+_0x561f1f['type']+':'+_0x561f1f['groupId']+'_'+_0x30b502['_nextDataId'](_0x1eee22);this['_markers']['set'](_0x2f4beb,{'id':_0x2f4beb,'groupId':_0x561f1f['groupId'],'type':_0x561f1f['type'],'content':_0x561f1f['content'],'editor':_0x2f9dc0}),_0xa84feb['addMarker'](_0x2f4beb,{'usingOperation':!0x1,'affectsData':!0x1,'range':_0xa84feb['createRange'](_0x561f1f['start'],_0x561f1f['end'])});}});}['_createGetContextFn'](_0x5860e1,_0x4d6b09,_0x364b85){let _0x5b658a='';return()=>{if(!_0x5b658a){const _0x4c4bbf=_0x4d6b09['toView'](_0x5860e1,{'showSuggestionHighlights':!0x0});let _0x3eaf0b=_0x4c4bbf['getChild'](0x0);if(_0x3eaf0b['is']('containerElement')||(_0x3eaf0b=_0x4c4bbf),!_0x3eaf0b)return'';let _0x2aa102=!0x1;const _0x1c5879=[];for(const _0x369a3f of _0x3eaf0b['getChildren']())_0x369a3f['is']('element','span')&&_0x369a3f['hasClass']('ck-ai_review-marker_context-end')&&(_0x2aa102=!0x1),_0x2aa102&&_0x1c5879['push'](_0x369a3f),_0x369a3f['is']('element','span')&&_0x369a3f['hasClass']('ck-ai_review-marker_context-start')&&(_0x2aa102=!0x0);_0x3eaf0b['_removeChildren'](0x0,_0x3eaf0b['childCount']),_0x364b85?.['ellipsisBefore']&&_0x3eaf0b['_appendChild']('…'),_0x3eaf0b['_appendChild'](_0x1c5879),_0x364b85?.['ellipsisAfter']&&_0x3eaf0b['_appendChild']('…');const _0x3f68b7=_0x4d6b09['htmlProcessor']['domConverter']['viewToDom'](_0x4c4bbf),_0x5e6480=_0x4d6b09['htmlProcessor']['htmlWriter']['getHtml'](_0x3f68b7);_0x5b658a=this['_removeUnsupportedElements'](_0x5e6480);}return _0x5b658a;};}['_createGetContentFn'](_0x506f48,_0xfa3c69){let _0x3875df='';return()=>(_0x3875df||(_0x3875df=this['_removeUnsupportedElements'](_0xfa3c69['stringify'](_0x506f48,{'showSuggestionHighlights':!0x0}))),_0x3875df);}['_createGetContentUsingDataIdFn'](_0x37ac44,_0x829d1a,_0x23e173){let _0x9c2f46='';return()=>{if(!_0x9c2f46){const _0x4f14d4=_0x23e173['toView'](new _0x14e616['ModelDocumentFragment'](_0x37ac44));_0x9c2f46=_0x23e173['htmlProcessor']['domConverter']['viewToDom'](_0x4f14d4)['querySelector']('[data-id=\x22'+_0x829d1a+'\x22]')?.['outerHTML']||'';}return _0x9c2f46;};}['_removeUnsupportedElements'](_0x1467b3){if(!_0x1467b3)return'';const _0x3a5191=tl(_0x1467b3,{'decodeEntities':!0x1}),_0x187445=_0x24dcc6(_0x3a5191);if(!_0x187445['length'])return _0x1467b3;for(const _0x10110d of _0x187445)_0xa04271(_0x10110d);return _0x2149a1(_0x3a5191,{'encodeEntities':!0x1});}['_neutralizeChangesOnUnsupportedElements'](_0x318e9b,_0x2579fb){const _0x4e7b00=tl(_0x318e9b,{'decodeEntities':!0x1}),_0x21b813=tl(_0x2579fb,{'decodeEntities':!0x1}),_0x2734c3=_0x24dcc6(_0x4e7b00),_0x59ab17=_0x24dcc6(_0x21b813);if(!_0x2734c3['length']&&!_0x59ab17['length'])return{'contentInitial':_0x318e9b,'contentNew':_0x2579fb};const _0x136605=new Map();for(const _0x428ad4 of _0x2734c3)_0x136605['set'](_0x4747ee(_0x428ad4,'data-id'),_0x428ad4);for(const _0x2dad2e of _0x59ab17){const _0x37d62a=_0x4747ee(_0x2dad2e,'data-id'),_0xeb751d=_0x37d62a?_0x136605['get'](_0x37d62a):void 0x0;_0xeb751d?_0x44ab55(_0x2dad2e,_0x425e77(_0xeb751d,!0x0)):_0xa04271(_0x2dad2e);}return{'contentInitial':_0x2149a1(_0x4e7b00,{'encodeEntities':!0x1}),'contentNew':_0x2149a1(_0x21b813,{'encodeEntities':!0x1})};}['_findMarkerElement'](_0x4b4cb2,_0x401703=0x5){let _0x3dd3b3=_0x4b4cb2,_0x1245dc=null;for(let _0x354e84=0x0;_0x354e84<_0x401703&&_0x3dd3b3;_0x354e84++)if(_0x3dd3b3['className']){if((''+_0x3dd3b3['className'])['includes']('ck-ai_review-marker_')){if(!_0x3dd3b3['getAttribute']('data-marker-id'))break;_0x1245dc=_0x3dd3b3;break;}_0x3dd3b3=_0x3dd3b3['parentElement'];}else _0x3dd3b3=_0x3dd3b3['parentElement'];return _0x1245dc;}['_findMarkerElementById'](_0x45e350){const _0xb8284b=this['_markers']['get'](_0x45e350);if(!_0xb8284b)return null;const _0x4f91d4=_0xb8284b['editor']['model']['markers']['get'](_0x45e350);return _0x4f91d4?_0x113d66(_0xb8284b['editor']['editing'],_0x4f91d4):null;}['_getMarkersDataForGroup'](_0x25e0a0){return Array['from'](this['_markers']['values']())['filter'](_0x37cee0=>_0x37cee0['groupId']===_0x25e0a0);}['_getOperationStart'](_0x41dc2c){return'insert'===_0x41dc2c['type']?_0x41dc2c['position']:_0x41dc2c['newRange']['start'];}['_getOperationEnd'](_0x1b00b0,_0x5ad384=!0x1){return'insert'===_0x1b00b0['type']?_0x5ad384?_0x1b00b0['position']:_0x1b00b0['position']['getShiftedBy'](_0x1b00b0['howMany']):_0x1b00b0['newRange']['end'];}['_shiftOperation'](_0x3b1a89,_0x56beac){return'insert'===_0x3b1a89['type']?_0x3b1a89['position']=_0x3b1a89['position']['getShiftedBy'](_0x56beac):'marker'===_0x3b1a89['type']&&_0x3b1a89['newRange']&&(_0x3b1a89['newRange']=new _0x14e616['ModelRange'](_0x3b1a89['newRange']['start']['getShiftedBy'](_0x56beac),_0x3b1a89['newRange']['end']['getShiftedBy'](_0x56beac))),_0x3b1a89;}['_changeOperationOwnerDocument'](_0x5c6ebe,_0x5a2ead){'insert'===_0x5c6ebe['type']?_0x5c6ebe['position']=this['_changePositionOwnerDocument'](_0x5c6ebe['position'],_0x5a2ead):'marker'===_0x5c6ebe['type']&&_0x5c6ebe['newRange']&&(_0x5c6ebe['newRange']=this['_changeRangeOwnerDocument'](_0x5c6ebe['newRange'],_0x5a2ead));}['_changePositionOwnerDocument'](_0x338c3e,_0x13a293){return new _0x14e616['ModelPosition'](_0x13a293,_0x338c3e['path']);}['_changeRangeOwnerDocument'](_0x2b283a,_0x417382){return new _0x14e616['ModelRange'](this['_changePositionOwnerDocument'](_0x2b283a['start'],_0x417382),this['_changePositionOwnerDocument'](_0x2b283a['end'],_0x417382));}['_changePosition'](_0x3e8c2f,_0x249d81){return new _0x14e616['ModelPosition'](_0x249d81,[..._0x3e8c2f]);}['_changeRange'](_0x412fbe,_0x4d542d,_0x93dec,_0x167f1c){return new _0x14e616['ModelRange'](this['_changePosition'](_0x4d542d,_0x167f1c),this['_changePosition'](_0x93dec,_0x167f1c));}['_sortMarkers'](_0x410348){const _0x17a861=_0x1b1361=>{switch(_0x1b1361){case'insert':return 0x0;case'remove-context':return 0x1;case'remove-only':return 0x2;case'remove-text':return 0x3;}};return _0x410348['sort']((_0x247a16,_0x395ecd)=>_0x17a861(_0x247a16['type'])-_0x17a861(_0x395ecd['type']));}['_hasSameTopLevelElement'](_0xaa3b0,_0x1685dd){const _0x507ee6=_0xaa3b0['getChild'](0x0),_0x47a982=_0x1685dd['getChild'](0x0);return!(!_0x507ee6||!_0x47a982)&&((!_0x507ee6['is']('element')||!_0x47a982['is']('element')||_0x507ee6['name']===_0x47a982['name'])&&!(_0x507ee6['is']('element')&&!_0x47a982['is']('element')||!_0x507ee6['is']('element')&&_0x47a982['is']('element')));}['_haveSingleTopLevelElement'](_0x8b0b04){return 0x1===_0x8b0b04['childCount'];}['_haveOnlyInlineContent'](_0x565df2,_0x3418fd){for(const _0x4cf7af of _0x565df2['getChildren']())if(_0x4cf7af['is']('element')&&!_0x3418fd['isInline'](_0x4cf7af))return!0x1;return!0x0;}['_upsertDataId'](_0x51d3f6,_0x406cd4){let _0x422048=_0x51d3f6['getAttribute'](_0x578078);return _0x422048||(_0x422048=_0x406cd4(),_0x51d3f6['_setAttribute'](_0x578078,_0x422048)),_0x422048;}};const _0x3d7531=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['EmitterMixin'])();var _0x5531bb=class extends _0x3d7531{['id'];['contentNew'];['contentInitial'];['documentVersion'];constructor({id:_0x1d26e0,contentNew:_0x43c81f,contentInitial:_0x2e4f96,documentVersion:_0x576773}){super(),this['id']=_0x1d26e0,this['contentNew']=_0x43c81f,this['contentInitial']=_0x2e4f96,this['documentVersion']=_0x576773;}};const _0x3001ab=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x4b7073=class extends _0x3001ab{['id'];['parent'];['_data'];['_editorOperations']=[];constructor(_0x1c88dc,_0x4827ff,_0x4969e4){super(),this['id']=_0x1c88dc,this['parent']=_0x4969e4,this['_data']=_0x4827ff,this['set']('isActivated',!0x1),this['set']('isRated',!0x1),this['set']('status','pending'),this['on']('change:status',()=>{'pending'!==this['status']&&this['isActivated']&&(this['isActivated']=!0x1);});}get['contentDiffed'](){return this['_data']['context']();}get['operations'](){return this['_data']['operations']['slice']();}get['operationsIsolated'](){return this['_data']['operationsIsolated']['slice']();}};const _0x36174a=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x20678e=class extends _0x36174a{['id']=(0x0,_0x14e616['uid'])();['callId'];['_results']=new Map();['_changes']=[];['_sourceCheck'];['_documentData'];['_aiConnector'];['_reviewParams'];['_reviewArgs'];['_activeRequest']=null;['_currentError'];['_wasAborted']=!0x1;constructor(_0x25539f,_0x8f49c7,_0x543aeb,_0x116f35,_0xf6a488){super(),this['_sourceCheck']=_0x8f49c7,this['_documentData']=_0x25539f,this['_aiConnector']=_0x543aeb,this['_reviewParams']=_0x116f35,this['_reviewArgs']=_0xf6a488,this['on']('change:status',(_0x298fb3,_0x35a06b,_0x41e440)=>{'aborted'==_0x41e440&&(this['_wasAborted']=!0x0),this['fire']('reviewCheckRunUpdated',{'status':_0x41e440,'run':this,'error':this['_currentError']});}),this['set']('status','initialized');}get['documentData'](){return this['_documentData'];}get['processedResultsCount'](){return this['_results']['size'];}get['title'](){return this['_sourceCheck']['title'];}get['subTitle'](){return'';}get['reviewName'](){return this['_sourceCheck']['id'];}get['hasModifications'](){return!this['_changes']['every'](_0x5a9523=>'pending'===_0x5a9523['status']);}get['currentError'](){return this['_currentError'];}get['results'](){return Array['from'](this['_results']['values']());}['updateDocumentData'](_0x335391){this['_documentData']=_0x335391;}async['start'](){this['status']='loading',this['_currentError']=void 0x0;try{this['_activeRequest']=this['_createApiRequest']();const _0x1fc52a=await this['_activeRequest']['getStream']();this['status']='data';for await(const _0x2f8e40 of _0x1fc52a)'unmodified'!==_0x2f8e40['data']['operation']&&('error'!==_0x2f8e40['data']['operation']?'review-metadata'!==_0x2f8e40['event']?this['_addReviewCheckResult'](_0x2f8e40['data']['dataId'],_0x2f8e40['data']['textDelta']):this['callId']=_0x2f8e40['data']['callId']:this['status']='error-chunk');'error-chunk'!==this['status']&&(0x0===this['_results']['size']||0x0===this['_changes']['length']?this['status']='unmodified':this['status']='ready');}catch(_0x13a50f){this['_currentError']=_0x13a50f,_0x50e33e(_0x13a50f)?this['status']='aborted':this['status']='error-general';}finally{this['_activeRequest']=null;}}async['restart'](){this['_results']['clear'](),this['_changes']['length']=0x0,this['_currentError']=void 0x0,await this['start']();}['addResultChanges'](_0x27fcfd,_0x385bf8){const _0x5f1aed=this['_results']['get'](_0x27fcfd);if(!_0x5f1aed)return;if(0x0===_0x385bf8['length'])return;const _0x3b8828=[];_0x385bf8['forEach']((_0x32f7b5,_0x52bb48)=>{const _0x4fde24=new _0x4b7073(_0x5f1aed['id']+'-'+_0x52bb48,_0x32f7b5,_0x5f1aed);_0x4fde24['on']('change:status',()=>{this['fire']('reviewCheckResultChangeStatusUpdated',{'change':_0x4fde24,'status':_0x4fde24['status']});}),_0x4fde24['on']('change:isActivated',()=>{_0x4fde24['isActivated']?this['fire']('reviewCheckResultActivated',{'change':_0x4fde24}):this['fire']('reviewCheckResultDeactivated',{'change':_0x4fde24});}),this['_changes']['push'](_0x4fde24),_0x3b8828['push'](_0x4fde24);}),this['fire']('reviewCheckResultReady',{'changes':_0x3b8828,'result':_0x5f1aed,'source':this});}['abort'](){this['_activeRequest']&&(this['_activeRequest']['abortController']['abort'](),this['_activeRequest']=null,this['status']='aborted');}['isChangeActive'](_0xce2fc6){const _0x12cf3f=this['_changes']['find'](_0x34b86a=>_0x34b86a['id']===_0xce2fc6);return!(!_0x12cf3f||'pending'!==_0x12cf3f['status']);}['isAnyChangeActivated'](){return this['_changes']['some'](_0x306826=>!0x0===_0x306826['isActivated']);}['getActiveChanges'](){return this['_changes']['filter'](_0xcf3ba8=>'pending'===_0xcf3ba8['status']);}['getChangeById'](_0x73ce7b){return this['_changes']['find'](_0xd6499=>_0xd6499['id']===_0x73ce7b);}['markAllChangesAsAccepted'](){for(const _0x2da93b of this['_changes'])'pending'===_0x2da93b['status']&&(_0x2da93b['status']='accepted');this['_checkIfFinished']();}['markChangeAsAccepted'](_0x535bee){const _0x12b375=this['_changes']['find'](_0x4ca406=>_0x4ca406['id']===_0x535bee);_0x12b375&&'pending'===_0x12b375['status']&&(_0x12b375['status']='accepted'),this['_checkIfFinished']();}['markChangeAsRejected'](_0x281746){const _0x3d7a90=this['_changes']['find'](_0x5f44c0=>_0x5f44c0['id']===_0x281746);_0x3d7a90&&'pending'===_0x3d7a90['status']&&(_0x3d7a90['status']='rejected'),this['_checkIfFinished']();}['markChangeAsOutdated'](_0x250905){const _0x13d193=this['_changes']['find'](_0x39c855=>_0x39c855['id']===_0x250905);_0x13d193&&'pending'===_0x13d193['status']&&(_0x13d193['status']='outdated'),this['_checkIfFinished']();}['markChangeAsPending'](_0x19b7bf){const _0x1f82d0=this['_changes']['find'](_0xc3365c=>_0xc3365c['id']===_0x19b7bf);_0x1f82d0&&'outdated'===_0x1f82d0['status']&&(_0x1f82d0['status']='pending'),this['_checkIfFinished']();}['activateChange'](_0x43a82f){this['_changes']['filter'](_0x280502=>_0x280502['isActivated']&&_0x280502['id']!==_0x43a82f)['forEach'](_0x4eddc6=>{_0x4eddc6['isActivated']=!0x1;});const _0x57a642=this['_changes']['find'](_0x1e4c07=>_0x1e4c07['id']===_0x43a82f);_0x57a642&&'pending'===_0x57a642['status']&&(_0x57a642['isActivated']=!0x0);}['deactivateChange'](){this['_changes']['filter'](_0x2414b4=>_0x2414b4['isActivated'])['forEach'](_0x5dc9b3=>{_0x5dc9b3['isActivated']=!0x1;});}['forceReadyState'](){this['status']='ready';}async['sendRating'](_0x93018c){if('initialized'===this['status']||'loading'===this['status']||'data'===this['status']||this['_wasAborted'])return;if(!this['callId']||0x0===this['_changes']['length'])return;let _0xc14f96;if(_0x93018c){const _0x289fcc=this['_changes']['find'](_0x2a8bcb=>_0x2a8bcb['id']===_0x93018c);if(_0x289fcc&&_0x289fcc['isRated'])return;_0x289fcc&&(_0xc14f96=_0x289fcc['parent']['id'],_0x289fcc['isRated']=!0x0);}const _0x3bba51={'positiveCount':this['_changes']['filter'](_0x5f14e2=>'accepted'===_0x5f14e2['status'])['length'],'totalCount':this['_changes']['length']};this['_sendRatingRequest'](_0x3bba51,this['callId'],_0xc14f96);}['_addReviewCheckResult'](_0x1d0ee2,_0xdd706e){const _0x303857=this['_documentData']['elements']['get'](_0x1d0ee2);if(!_0x303857)return;const _0x330f0b=_0x303857['getContent']();if(_0x330f0b===_0xdd706e)return;const _0x5850b7=new _0x5531bb({'id':_0x1d0ee2,'contentInitial':_0x330f0b,'contentNew':_0xdd706e,'documentVersion':_0x303857['documentVersion']});this['_results']['set'](_0x5850b7['id'],_0x5850b7),this['fire']('reviewCheckResultAdded',{'result':_0x5850b7,'source':this,'editor':_0x303857['editor']});}['_checkIfFinished'](){'finished'===this['status']&&this['_changes']['filter'](_0x19c74b=>'pending'===_0x19c74b['status'])['length']>0x0&&(this['status']='ready'),'ready'===this['status']&&0x0===this['_changes']['filter'](_0x234c6b=>'pending'===_0x234c6b['status'])['length']&&(this['status']='finished');}},_0x20987a=class extends _0x20678e{get['subTitle'](){if(!this['_reviewParams']||0x0===this['_reviewParams']['length'])return'';const _0x423268=[];if(this['_reviewParams']['length']>0x0&&this['_sourceCheck']['options'])for(let _0x179a9e=0x0;_0x179a9e<this['_reviewParams']['length'];_0x179a9e++){if(!this['_reviewParams'][_0x179a9e]||!this['_sourceCheck']['options'][_0x179a9e])continue;const _0x5c485d=this['_sourceCheck']['options'][_0x179a9e]['data']?.['find'](_0x384577=>_0x384577['id']===this['_reviewParams'][_0x179a9e]);_0x5c485d&&_0x423268['push'](_0x5c485d['label']);}return _0x423268['join'](',\x20');}get['reviewName'](){return this['_composeReviewName']();}['_createApiRequest'](){return this['_aiConnector']['callSystemReview']({'reviewName':this['_composeReviewName'](),'content':this['_documentData']['content'],'args':this['_reviewArgs']});}['_sendRatingRequest'](_0x5d0b50,_0xf9d76e,_0x3baada){return this['_aiConnector']['upsertAIReviewRating'](this['reviewName'],_0xf9d76e,_0x5d0b50,_0x3baada);}['_composeReviewName'](){return!this['_reviewParams']||0x0===this['_reviewParams']['length']||this['_sourceCheck']['useArgs']?this['_sourceCheck']['apiId']:[this['_sourceCheck']['apiId'],...this['_reviewParams']]['join']('-');}},_0x20d3ce=class extends _0x14e616['ContextPlugin']{['_aiConnector'];['_aiReviewCoreUi'];['_aiReviewCoreEditing'];['_availableReviewChecks'];['_reporter'];['_currentReviewCheckRun'];['_changeActivationSource']=null;static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_initRequiredPlugins'](),this['_initAvailableReviewChecks'](),this['_initUIListeners']();}async['_initAvailableReviewChecks'](){this['_availableReviewChecks']=await this['_getReviewChecks'](),this['_aiReviewCoreUi']['setAvailableChecks'](this['_availableReviewChecks']);}['_initUIListeners'](){this['listenTo'](this['_aiReviewCoreUi'],'getReviewCheckList',()=>{this['_availableReviewChecks']&&this['_aiReviewCoreUi']['setAvailableChecks'](this['_availableReviewChecks']);}),this['listenTo'](this['_aiReviewCoreUi'],'runReviewCheck',(_0x55ba7e,_0x7643ad)=>this['runCheck'](_0x7643ad)),this['listenTo'](this['_aiReviewCoreUi'],'leaveReview',()=>{this['_onReviewRunLeave']();}),this['listenTo'](this['_aiReviewCoreUi'],'leaveReviewCoreResultList',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'abortReviewStream',()=>this['abort']()),this['listenTo'](this['_aiReviewCoreUi'],'finishReview',()=>{this['_onReviewRunLeave'](!0x0);}),this['listenTo'](this['_aiReviewCoreUi'],'acceptAllChanges',()=>{if(!this['_currentReviewCheckRun'])return;const _0x22ec82=this['_currentReviewCheckRun']['getActiveChanges']();if(!_0x22ec82['length'])return;this['_aiReviewCoreEditing']['applyChange'](_0x22ec82['map'](_0x8aa375=>_0x8aa375['id']),this['_aiSource']);const _0xbdeab=this['_currentReviewCheckRun'];_0xbdeab['markAllChangesAsAccepted'](),_0xbdeab['sendRating']();}),this['listenTo'](this['_aiReviewCoreUi'],'acceptChange',(_0x4de9fa,_0x1cac81)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x1cac81['id'])&&(this['_aiReviewCoreEditing']['applyChange']([_0x1cac81['id']],this['_aiSource']),this['_currentReviewCheckRun']['markChangeAsAccepted'](_0x1cac81['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x1cac81['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'dismissChange',(_0x1164d4,_0x4a480f)=>{this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['isChangeActive'](_0x4a480f['id'])&&(this['_aiReviewCoreEditing']['rejectChange'](_0x4a480f['id']),this['_currentReviewCheckRun']['markChangeAsRejected'](_0x4a480f['id']),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_currentReviewCheckRun']['sendRating'](_0x4a480f['id']));}),this['listenTo'](this['_aiReviewCoreUi'],'retryReview',async()=>{this['_currentReviewCheckRun']&&(this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_currentReviewCheckRun']['updateDocumentData'](this['_aiReviewCoreEditing']['getDocumentData']()),await this['_currentReviewCheckRun']['restart']());}),this['listenTo'](this['_aiReviewCoreUi'],'activateChange',(_0x1630e2,_0x2f8460)=>{this['_onActivateChange'](_0x2f8460);}),this['listenTo'](this['_aiReviewCoreUi'],'deactivateChange',(_0x2bb019,_0x4449ad)=>{this['_onDeactivateChange'](_0x4449ad);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerClicked',(_0x45a7d4,_0x51412b)=>{this['_onChangeMarkerClicked'](_0x45a7d4,_0x51412b);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerHovered',(_0x1c2674,_0x3daaea)=>{this['_onChangeMarkerHovered'](_0x1c2674,_0x3daaea);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerBlurred',()=>{this['_onChangeMarkerBlurred']();}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRemoved',(_0x6074c6,_0x2b6529)=>{this['_onChangeMarkerRemoved'](_0x6074c6,_0x2b6529);}),this['listenTo'](this['_aiReviewCoreEditing']['emitter'],'changeMarkerRestored',(_0x538fac,_0x29669f)=>{this['_onChangeMarkerRestored'](_0x538fac,_0x29669f);});}async['runCheck'](_0x212d7e){if(!this['_availableReviewChecks'])return;const _0x31eb38=this['_availableReviewChecks']['find'](_0x22971c=>_0x22971c['id']===_0x212d7e['id']);if(_0x31eb38){this['_onReviewCheckRun'](_0x212d7e),this['_aiReviewCoreEditing']['switchToReadOnly'](),this['_currentReviewCheckRun']=this['_createReviewCheckRun'](_0x212d7e,_0x31eb38),this['_aiReviewCoreUi']['setCheckResultTitle'](this['_currentReviewCheckRun']['title'],this['_currentReviewCheckRun']['subTitle']),this['_currentReviewCheckRun']['on']('reviewCheckRunUpdated',(_0x499791,_0x336e57)=>{switch(_0x336e57['status']){case'data':case'loading':this['_aiReviewCoreUi']['showCheckRunResults'](_0x336e57);break;case'finished':this['_onCheckRunFinished']();break;case'ready':this['_aiReviewCoreUi']['showActionsWhenResultIsReady']();break;case'unmodified':this['_aiReviewCoreUi']['showNoChangesView']();break;case'error-general':this['_aiReviewCoreUi']['showGeneralResultsErrorView'](),this['_logError'](new _0x14e616['CKEditorError']('ai-review-mode-check-run-general-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'error-chunk':this['_aiReviewCoreUi']['showChunkErrorView'](),this['_logError'](new _0x14e616['CKEditorError']('ai-review-mode-check-run-chunk-error',this,void 0x0,this['_currentReviewCheckRun']?.['currentError']));break;case'aborted':this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['processedResultsCount']>0x0?setTimeout(()=>{this['_currentReviewCheckRun']?.['forceReadyState']();},0x0):this['_onReviewRunLeave'](!0x0);}'ready'!==_0x336e57['status']&&'error-chunk'!==_0x336e57['status']&&'error-general'!==_0x336e57['status']||this['_currentReviewCheckRun']?.['sendRating']();}),this['_currentReviewCheckRun']['on']('reviewCheckResultAdded',(_0x2d9337,_0xfda899)=>{if(!this['_currentReviewCheckRun'])throw new _0x14e616['CKEditorError']('ai-review-mode-no-current-check-run',this);const _0x1e83d8=this['_diffContent'](_0xfda899['editor'],_0xfda899['result']['contentInitial'],_0xfda899['result']['contentNew']);_0xfda899['source']['addResultChanges'](_0xfda899['result']['id'],_0x1e83d8);}),this['_currentReviewCheckRun']['on']('reviewCheckResultReady',(_0x37ba6b,_0x2da701)=>{for(const _0x45ab24 of _0x2da701['changes'])this['_aiReviewCoreUi']['showCheckRunResult'](_0x45ab24);this['_markChangePositionInEditorContent'](_0x2da701['changes'],_0x2da701['source']['documentData']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultChangeStatusUpdated',(_0x46b9a0,_0x4f41f0)=>{this['_aiReviewCoreUi']['updateChangeState'](_0x4f41f0['change']['id'],_0x4f41f0['status']);}),this['_currentReviewCheckRun']['on']('reviewCheckResultActivated',(_0x25758a,_0x4f5752)=>{this['_onReviewCheckResultActivated'](_0x4f5752);}),this['_currentReviewCheckRun']['on']('reviewCheckResultDeactivated',()=>{this['_onReviewCheckResultDeactivated']();});try{await this['_currentReviewCheckRun']['start']();}catch(_0x482cce){if(_0x50e33e(_0x482cce))return;_0x482cce instanceof _0x14e616['CKEditorError']?this['_logError'](_0x482cce):this['_logError'](new _0x14e616['CKEditorError']('ai-review-mode-check-run-failed',this,void 0x0,_0x482cce));}}else this['_logError'](new _0x14e616['CKEditorError']('ai-review-mode-source-check-not-found',this,{'checkId':_0x212d7e['id']}));}['abort'](){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['abort']();}['getAvailableChecks'](){return(this['_availableReviewChecks']??[])['slice']();}['getCurrentCheckRun'](){return this['_currentReviewCheckRun'];}['_createReviewCheckRun'](_0x5b1864,_0x3917a2){return new _0x20987a(this['_aiReviewCoreEditing']['getDocumentData'](),_0x3917a2,this['_aiConnector'],_0x5b1864['params'],_0x5b1864['args']);}['_onChangeMarkerRemoved'](_0x1a9e4b,_0x98707a){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsOutdated'](_0x98707a['changeId']);}['_onChangeMarkerRestored'](_0x4d7c05,_0x49c13e){this['_currentReviewCheckRun']&&this['_currentReviewCheckRun']['markChangeAsPending'](_0x49c13e['changeId']);}['_onCheckRunFinished'](){this['_aiReviewCoreUi']['showReviewCompletedView']();}['_initRequiredPlugins'](){this['_aiConnector']=this['context']['plugins']['get']('AIConnector'),this['_reporter']=this['context']['plugins']['get'](_0x47f55c)['createReporter']('aireview');}['_onReviewRunLeave'](_0x58c48e=!0x1){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['hasModifications']||this['_currentReviewCheckRun']['sendRating'](),this['_currentReviewCheckRun']['stopListening'](),this['_currentReviewCheckRun']['abort'](),this['_currentReviewCheckRun']=void 0x0),_0x58c48e&&this['_aiReviewCoreUi']['showReviewCheckList'](),this['_aiReviewCoreEditing']['clearAllMarkers'](),this['_aiReviewCoreEditing']['switchToEdit'](),this['_changeActivationSource']=null;for(const _0x25119b of this['_aiReviewCoreEditing']['getEditors']())_0x25119b['editing']['view']['change'](_0xa3424=>{for(const _0x3d3f39 of _0x25119b['editing']['view']['document']['getRoots']())_0xa3424['removeClass']('ck-ai_review-diff',_0x3d3f39),_0xa3424['removeClass']('ck-ai_review-highlights',_0x3d3f39),_0xa3424['removeClass']('ck-ai-translate-mode-content',_0x3d3f39);});}['_logError'](_0x319367){this['_reporter']['logError'](_0x319367),'ai-review-mode-models-unable-to-retrieve'===function(_0x367f66){return _0x367f66 instanceof _0x1118f7?_0x367f66['code']:_0x367f66 instanceof Error?_0x367f66['message']['match'](/^\S+/)?.[0x0]:void 0x0;}(_0x319367)?this['_aiReviewCoreUi']['showGeneralReviewCoreErrorView']():this['_aiReviewCoreUi']['showGeneralResultsErrorView']();}['_scrollToChange'](_0x15f071){if('content'===this['_changeActivationSource']){const _0x5edc73=this['_aiReviewCoreUi']['getChangeElement'](_0x15f071);_0x5edc73&&(0x0,_0x14e616['scrollAncestorsToShowTarget'])(_0x5edc73['closest']('.ck-ai_review__check-run-result')||_0x5edc73);}else{if('panel'===this['_changeActivationSource']){const _0x4b2a8f=this['_getChangeContentElement'](_0x15f071);if(!_0x4b2a8f)return;(0x0,_0x14e616['scrollViewportToShowTarget'])({'target':_0x4b2a8f,'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0});}}}},_0x165587=class extends _0x20678e{['_prompt'];['_model'];constructor(_0x3c87d9,_0x412d38,_0x4b0990,_0x4b418b,_0x28f84c){super(_0x4b0990,_0x4b418b,_0x28f84c),this['_prompt']=_0x3c87d9,this['_model']=_0x412d38;}get['subTitle'](){return this['_prompt'];}['_createApiRequest'](){return this['_aiConnector']['callCustomReview']({'content':this['_documentData']['content'],'prompt':this['_prompt'],'model':this['_model']});}['_sendRatingRequest'](_0x5a3d23,_0x4ba597,_0x5e0f40){return this['_aiConnector']['upsertCustomAIReviewRating'](_0x4ba597,_0x5a3d23,_0x5e0f40);}},_0x110244=class{['id'];['commandId'];['title'];['description'];['isParameterized'];['useArgs'];['options'];['args'];get['apiId'](){return this['commandId'];}constructor(_0xc36729){this['id']=_0xc36729['id'],this['commandId']=_0xc36729['commandId'],this['title']=_0xc36729['title'],this['description']=_0xc36729['description'],this['isParameterized']=_0xc36729['isParameterized'],this['useArgs']=_0xc36729['useArgs'],this['options']=_0xc36729['options'],this['args']=_0xc36729['args'];}},_0x1aa37e=class extends _0x110244{['isExtra']=!0x0;['prompt'];['model'];['_defaultModel']=null;constructor(_0x51e98e,_0x1cc67f,_0x487194){super(_0x51e98e),this['prompt']=_0x51e98e['prompt'],this['model']=_0x51e98e['model'],this['model']?this['_defaultModel']=_0x1cc67f['find'](_0xa9dbdc=>_0xa9dbdc['id']===this['model'])||null:this['_defaultModel']=_0x487194;}get['defaultModel'](){return this['_defaultModel'];}},_0x145450=class extends _0x165587{get['subTitle'](){return'';}set['prompt'](_0x25bf9b){this['_prompt']=_0x25bf9b;}set['model'](_0x11aab7){this['_model']=_0x11aab7;}},_0x510b44=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[_0x626bfd,_0x47f55c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_cache'];['_reporter'];['init'](){this['_reporter']=this['context']['plugins']['get'](_0x47f55c)['createReporter']('aireview');}['getChecksList'](){return this['_cache']||(this['_cache']=this['_loadChecksList']()),this['_cache'];}};const _0x264351=[{'id':'custom','commandId':'custom','title':'Custom\x20command','description':'Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','isParameterized':!0x0},{'id':'correctness','commandId':'correctness','title':'Correctness','description':'Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','isParameterized':!0x1},{'id':'clarity','commandId':'clarity','title':'Clarity','description':'Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'readability','commandId':'readability','title':'Readability','description':'Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','isParameterized':!0x1},{'id':'length','commandId':'make','title':'Adjust\x20length','description':'Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20length','default':'longer','data':[{'label':'Longer','id':'longer'},{'label':'Shorter','id':'shorter'}]}]},{'id':'tone','commandId':'make-tone','title':'Adjust\x20tone\x20and\x20style','description':'Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','isParameterized':!0x0,'options':[{'formType':'dropdown','label':'Adjust\x20tone\x20and\x20style','default':'casual','data':[{'label':'Casual','id':'casual'},{'label':'Direct','id':'direct'},{'label':'Friendly','id':'friendly'},{'label':'Confident','id':'confident'},{'label':'Professional','id':'professional'}]}]}],_0x120516=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x4c3ca8=class extends _0x120516{['_checks']=[];['setupChecks'](_0xea4740){this['_checks']=_0xea4740['map'](_0x4344ae=>new _0x110244(_0x4344ae));}get['checks'](){return this['_checks']['slice']();}['getCheckById'](_0x112bd9){return this['checks']['find'](_0x133f9b=>_0x133f9b['id']===_0x112bd9);}['removeCheckById'](_0x2c2822){this['_checks']=this['_checks']['filter'](_0x1d136a=>_0x1d136a['id']!==_0x2c2822);}},_0x2f435e=class extends _0x110244{['_models']=[];['_defaultModel']=null;constructor(_0x48c317,_0x4bebd8,_0x30cf9e){super(_0x48c317),this['_models']=_0x4bebd8,this['_defaultModel']=_0x30cf9e;}get['models'](){return this['_models']['slice']();}get['defaultModel'](){return this['_defaultModel'];}},_0x5be42a=class extends _0x4c3ca8{['_allModels']=[];['_recommendedModels']=[];['_defaultModel']=null;constructor(_0x1fbfd4,_0x1c91ea,_0x2b1160){super(),this['_allModels']=_0x1fbfd4,this['_recommendedModels']=_0x1c91ea,this['_defaultModel']=_0x2b1160;}get['allModels'](){return this['_allModels']['slice']();}['setupChecks'](_0x2f20c4){this['_checks']=_0x2f20c4['map'](_0x4298ac=>!0x0===_0x4298ac['isExtra']?new _0x1aa37e(_0x4298ac,this['_allModels'],this['_defaultModel']):'custom'===_0x4298ac['id']?new _0x2f435e(_0x4298ac,this['_recommendedModels'],this['_defaultModel']):new _0x110244(_0x4298ac));}},_0x418aaf=class extends _0x510b44{static get['pluginName'](){return'AIReviewModeCheckRegistry';}['_modelsLoadError']=null;constructor(_0x5e6ec9){super(_0x5e6ec9),this['context']['config']['define']('ai.review.extraCommands',[]);}get['modelsLoadError'](){return this['_modelsLoadError'];}['getExtraChecks'](){return this['context']['config']['get']('ai.review.extraCommands')['map'](_0x26bbe3=>({'id':_0x26bbe3['id'],'commandId':_0x26bbe3['id'],'title':_0x26bbe3['label'],'description':_0x26bbe3['description'],'isParameterized':!0x1,'isExtra':!0x0,'prompt':_0x26bbe3['prompt'],'model':_0x26bbe3['model']}));}async['_loadChecksList'](){const _0x5de4bf=[..._0x264351,...this['getExtraChecks']()]['map'](_0xecf33a=>_0xecf33a['isExtra']?_0xecf33a:this['_translateReviewCheck'](_0xecf33a)),_0x943bbb=await this['_getModels'](),_0x392db2=new _0x5be42a(_0x943bbb['all'],_0x943bbb['recommended'],_0x943bbb['default']);return _0x392db2['setupChecks'](_0x5de4bf),_0x392db2;}async['_getModels'](){const _0x5a5582=this['context']['plugins']['get']('AIConnector');try{const _0xef9d67=new th({'connector':_0x5a5582,'config':this['context']['config']['get']('ai.models'),'locale':this['context']['locale']}),_0x322cb1={'all':await _0xef9d67['getAll'](),'recommended':await _0xef9d67['getAvailableModels'](),'default':await _0xef9d67['getDefault']()};return this['_modelsLoadError']=null,_0x322cb1;}catch(_0xc93bb1){return this['_modelsLoadError']=new _0x14e616['CKEditorError']('ai-review-mode-models-unable-to-retrieve',this,void 0x0,_0xc93bb1),this['_reporter']['logError'](this['_modelsLoadError'],{'context':{'operation':'load-review-models'}}),{'all':[],'recommended':[],'default':null};}}['_translateReviewCheck'](_0x295b6f){const _0x4be18b='AI_REVIEW_CHECK_'+_0x295b6f['commandId']['toUpperCase']()['replaceAll']('-','_'),_0x56d574={..._0x295b6f,'title':this['_translate'](_0x4be18b+'_TITLE',_0x295b6f['title']),'description':this['_translate'](_0x4be18b+'_DESCRIPTION',_0x295b6f['description'])};return _0x295b6f['options']&&(_0x56d574['options']=_0x295b6f['options']['map'](_0x54ca61=>({..._0x54ca61,'label':this['_translate'](_0x4be18b+'_OPTIONS_LABEL',_0x54ca61['label']||''),'data':_0x54ca61['data']?_0x54ca61['data']['map'](_0x2a70fa=>({..._0x2a70fa,'label':this['_translate'](_0x4be18b+'_OPTIONS_DATA_'+_0x2a70fa['id']['toUpperCase'](),_0x2a70fa['label'])})):void 0x0}))),_0x56d574;}['_translate'](_0x5bae6f,_0x109218){const _0x55b51e=_0x2723f0(this['context']['locale'],_0x5bae6f);return _0x55b51e===_0x5bae6f?_0x109218:_0x55b51e;}},_0x539909=class extends _0x20d3ce{static get['pluginName'](){return'AIReviewModeController';}static get['requires'](){return[_0x47f55c,_0x418aaf];}get['_aiSource'](){return'review';}['_isDiffOn']=!0x1;['_usesAvailableCommandsConfig'];constructor(_0x1f291a){super(_0x1f291a),this['_usesAvailableCommandsConfig']=Boolean(this['context']['config']['get']('ai.review.availableCommands')),this['context']['config']['define']('ai.review.availableCommands',_0x264351['map'](_0x246891=>_0x246891['id']));}['init'](){super['init'](),this['listenTo'](this['_aiReviewCoreUi'],'toggleDiff',(_0xc8590a,_0x58fffe)=>{this['_isDiffOn']=_0x58fffe['on'],this['_onDiffChange'](this['_isDiffOn']);});}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AIReviewModeUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x2072c3,_0x4914df){if(_0x2072c3['isCustom'])return new _0x165587(_0x2072c3['args']['prompt'],_0x2072c3['args']['model'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x4914df,this['_aiConnector']);if(_0x4914df['isExtra']){const _0x4691bf=_0x4914df;return new _0x145450(_0x2072c3['args']?.['prompt']??_0x4691bf['prompt'],_0x2072c3['args']?.['model']??_0x4691bf['defaultModel']['id'],this['_aiReviewCoreEditing']['getDocumentData'](),_0x4914df,this['_aiConnector']);}return new _0x20987a(this['_aiReviewCoreEditing']['getDocumentData'](),_0x4914df,this['_aiConnector'],_0x2072c3['params'],_0x2072c3['args']);}['_onReviewCheckResultActivated'](_0x4b866b){this['_aiReviewCoreUi']['setActiveStateInResults'](_0x4b866b['change']['id']),this['_scrollToChange'](_0x4b866b['change']['id']);const _0x538f80=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x4b866b['change']['id']);if(!_0x538f80)return;const _0x345b34=this['_aiReviewCoreEditing']['getEditorForChange'](_0x4b866b['change']['id'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x4b866b['change'],()=>_0x538f80['getElement'](),void 0x0,'click',this['_getBalloonDomRoot'](_0x345b34,_0x538f80['modelRange']['root']['rootName']),_0x345b34?.['ui']?.['viewportOffset']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0x4b866b['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreUi']['resetActiveStateInResults'](),this['_aiReviewCoreUi']['hideChangeBalloon'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']();}['_onActivateChange'](_0x5370c2){this['_currentReviewCheckRun']&&'click'===_0x5370c2['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x5370c2['id']));}['_onDeactivateChange'](_0x164999){this['_currentReviewCheckRun']&&'balloon'===_0x164999['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x483cdf,_0x6be05f){if(!this['_currentReviewCheckRun'])return;this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x6be05f['changeId']);const _0x2ce37b=this['_currentReviewCheckRun']['getChangeById'](_0x6be05f['changeId']);if(!_0x2ce37b)return;const _0x2a91ee=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x6be05f['changeId']),_0xede73f=this['_aiReviewCoreEditing']['getEditorForChange'](_0x6be05f['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x2ce37b,_0x6be05f['markerElement'],_0x6be05f['domEvent'],'click',this['_getBalloonDomRoot'](_0xede73f,_0x2a91ee?.['modelRange']['root']['rootName']),_0xede73f?.['ui']?.['viewportOffset']);}['_onChangeMarkerHovered'](_0x37f6f0,_0x3c4122){if(!this['_currentReviewCheckRun'])return;if(this['_currentReviewCheckRun']['isAnyChangeActivated']())return;const _0x1c3a32=this['_currentReviewCheckRun']['getChangeById'](_0x3c4122['changeId']);if(!_0x1c3a32)return;const _0x5a25d8=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x3c4122['changeId']),_0x173664=this['_aiReviewCoreEditing']['getEditorForChange'](_0x3c4122['changeId'])??this['_aiReviewCoreEditing']['getEditor']();this['_aiReviewCoreUi']['showChangeBalloon'](_0x1c3a32,_0x3c4122['markerElement'],_0x3c4122['domEvent'],'hover',this['_getBalloonDomRoot'](_0x173664,_0x5a25d8?.['modelRange']['root']['rootName']),_0x173664?.['ui']?.['viewportOffset']);}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&(this['_currentReviewCheckRun']['isAnyChangeActivated']()||this['_aiReviewCoreUi']['hideChangeBalloon']());}['_getChangeContentElement'](_0x343d90){const _0x2bf49c=this['_aiReviewCoreEditing']['getMarkerElementForChange'](_0x343d90);return _0x2bf49c?_0x2bf49c['getElement']():null;}['_markChangePositionInEditorContent'](_0x45a1b6,_0x3eee09){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x45a1b6,_0x3eee09);}['_diffContent'](_0x31b5b8,_0x5fd207,_0x1c48f4){return this['_aiReviewCoreEditing']['diffContent'](_0x31b5b8,_0x5fd207,_0x1c48f4,!0x1);}['_onReviewCheckRun'](){this['_onDiffChange'](this['_isDiffOn']);}['_onDiffChange'](_0x139c7f){_0x139c7f?this['_aiReviewCoreUi']['hideDiffInBalloon']():this['_aiReviewCoreUi']['showDiffInBalloon']();for(const _0x4dbe9b of this['_aiReviewCoreEditing']['getEditors']())_0x4dbe9b['editing']['view']['change'](_0x111a6c=>{for(const _0x1e4e92 of _0x4dbe9b['editing']['view']['document']['getRoots']()){for(const _0x1fae93 of _0x1e4e92['getClassNames']())_0x1fae93['startsWith']('ck-ai_review-')&&_0x111a6c['removeClass'](_0x1fae93,_0x1e4e92);_0x111a6c['addClass'](_0x139c7f?'ck-ai_review-diff':'ck-ai_review-highlights',_0x1e4e92);}});}['_getBalloonDomRoot'](_0x3f3593,_0x346bb3){const _0x57fab6=_0x3f3593['editing']['view'];if(_0x346bb3){const _0x484538=_0x57fab6['getDomRoot'](_0x346bb3);if(_0x484538)return _0x484538;}return _0x57fab6['getDomRoot']()??void 0x0;}async['_getReviewChecks'](){const _0x7988e9=this['context']['plugins']['get']('AIReviewModeCheckRegistry'),_0x593bf4=await _0x7988e9['getChecksList']();_0x7988e9['modelsLoadError']&&this['_logError'](_0x7988e9['modelsLoadError']);let _0x4a49a5=_0x593bf4['checks'];const _0x676bb0=this['context']['config']['get']('ai.review.availableCommands');return this['_logWarningForNonExistentChecks'](_0x676bb0,_0x4a49a5),this['_usesAvailableCommandsConfig']&&(_0x4a49a5=_0x676bb0['map'](_0xa0821=>_0x4a49a5['find'](_0x3374cf=>_0x3374cf['id']===_0xa0821))['filter'](_0x209643=>!!_0x209643)),this['_filterChecksWithMissingModel'](_0x4a49a5);}['_logWarningForNonExistentChecks'](_0x2625dd,_0xe7de06){const _0x1472d5=_0x2625dd['filter'](_0x41ecb3=>!_0xe7de06['some'](_0x2fa6d0=>_0x2fa6d0['id']===_0x41ecb3));_0x1472d5['length']&&this['_reporter']['logError'](new _0x1118f7({'code':'ai-review-mode-non-existent-commands-used','severity':'warning','context':{'commandIds':_0x1472d5['join'](',\x20')}}));}['_filterChecksWithMissingModel'](_0x5e4b98){const _0x3938e7=[];return _0x5e4b98['forEach'](_0xfaadcd=>{(_0xfaadcd instanceof _0x1aa37e&&!_0xfaadcd['defaultModel']||_0xfaadcd instanceof _0x2f435e&&!_0xfaadcd['models']['length'])&&_0x3938e7['push'](_0xfaadcd['id']);}),_0x3938e7['length']&&_0x3938e7['forEach'](_0x141b9c=>{_0x5e4b98=_0x5e4b98['filter'](_0x1f2483=>_0x1f2483['id']!==_0x141b9c),this['_reporter']['logError'](new _0x1118f7({'code':'ai-review-mode-command-unavailable-due-to-missing-model','context':{'commandId':_0x141b9c}}));}),_0x5e4b98;}};function _0x217b4b(_0x409dbd,_0x5a43cc,_0x3ce26,_0x1af60){return _0x409dbd instanceof _0x14e616['CKEditorError']?_0x409dbd:new _0x14e616['CKEditorError'](_0x5a43cc,_0x3ce26,_0x1af60,_0x409dbd);}var _0x4e4256=class extends _0x40ff74{['_affectedBlocks']=[];get['affectedBlocks'](){return this['_affectedBlocks']['slice']();}set['affectedBlocks'](_0x4b7edb){this['_affectedBlocks']=_0x4b7edb;}},_0x13156a=class extends _0x14e616['ContextPlugin']{static get['pluginName'](){return'AIReviewGateway';}static get['requires'](){return[_0x3274ca,_0x418aaf,_0x626bfd,_0x11b915,_0x589540];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['getAllCommands'](){return(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['map'](_0x4b4932=>{const _0x513444={'id':_0x4b4932['id'],'title':_0x4b4932['title'],'description':_0x4b4932['description']};return'custom'!==_0x4b4932['id']&&_0x4b4932['options']?.['length']&&(_0x513444['parameters']=_0x4b4932['options'][0x0]['data']['map'](_0x7afee6=>({..._0x7afee6}))),_0x513444;});}async['getAvailableModels'](){return this['context']['plugins']['get']('AIGateway')['getAvailableModels']();}async['runReview'](_0x1ce699,_0x44cf88){return await this['_runReviewCheck'](_0x1ce699,()=>this['_createReviewCheckRun'](_0x1ce699,_0x44cf88?.['parameterId']),_0x44cf88?.['signal']);}async['runCustomReview'](_0x3bff06,_0xc96cb0){return await this['_runReviewCheck']('custom',()=>this['_createCustomReviewCheckRun']('custom',_0x3bff06,_0xc96cb0?.['model']),_0xc96cb0?.['signal']);}['applyReview'](_0x5f1def,_0x215ddc){this['context']['plugins']['get']('AIGateway')['apply'](_0x5f1def,{'applyMethod':_0x215ddc,'aiSource':'review'});}async['_runReviewCheck'](_0x1e977e,_0x219ae3,_0x4662e3){const _0x40b5ab=_0x5128bd(this['context']),_0x1cfbf4=new _0x4e4256({'editor':_0x40b5ab,'rootName':_0x40b5ab['model']['document']['getRootNames']()[0x0],'channelId':this['context']['config']['get']('collaboration.channelId'),'sessionId':_0x40b5ab['plugins']['get']('AIEditing')['getSessionId'](_0x40b5ab)});let _0x453a75,_0x512e66;if(_0x4662e3){if(_0x4662e3['aborted'])return _0x1cfbf4['abort'](),_0x1cfbf4;const _0x465ed7=()=>{_0x1cfbf4['error']||(_0x1cfbf4['abort'](),_0x453a75&&_0x453a75['abort']());};_0x4662e3['addEventListener']('abort',_0x465ed7),_0x512e66=()=>_0x4662e3['removeEventListener']('abort',_0x465ed7);}try{_0x453a75=await _0x219ae3(),_0x1cfbf4['contentRawOld']=_0x453a75['documentData']['content'],_0x1cfbf4['documentVersion']=Array['from'](_0x453a75['documentData']['elements'])['find'](([,_0x26d67b])=>_0x26d67b['rootName']===_0x1cfbf4['rootName'])?.[0x1]['documentVersion']??0x1,_0x453a75['on']('reviewCheckRunUpdated',(_0x33b813,_0x8c3dad)=>{'aborted'===_0x8c3dad['status']?_0x1cfbf4['abort']():'error-general'!==_0x8c3dad['status']&&'error-chunk'!==_0x8c3dad['status']||(_0x1cfbf4['error']=_0x217b4b(_0x8c3dad['error'],'ai-reviewgateway-review-command-run-failed',this,{'checkId':_0x1e977e}));}),'aborted'!==_0x1cfbf4['status']&&await _0x453a75['start']();}catch(_0x18a4d4){_0x1cfbf4['error']=_0x217b4b(_0x18a4d4,'ai-reviewgateway-review-command-run-failed',this,{'checkId':_0x1e977e});}finally{_0x512e66&&_0x512e66();}if(!_0x453a75||'aborted'===_0x1cfbf4['status']||'error'===_0x1cfbf4['status'])return _0x1cfbf4;_0x1cfbf4['affectedBlocks']=_0x453a75['results']['map'](_0x1b195e=>({'id':_0x1b195e['id'],'content':_0x1b195e['contentNew']}));try{_0x1cfbf4['contentRawNew']=_0x2149a1(this['context']['plugins']['get']('AIGateway')['mergeChangesIntoContent'](_0x1cfbf4['affectedBlocks'],_0x1cfbf4['contentRawOld'],_0x1cfbf4['editor']));}catch(_0x2c9387){_0x1cfbf4['error']=_0x217b4b(_0x2c9387,'ai-reviewgateway-review-command-run-failed',this,{'checkId':_0x1e977e});}return _0x1cfbf4;}async['_createReviewCheckRun'](_0x525c0c,_0x4a6606){const _0x333041=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x2405c1=>_0x2405c1['id']===_0x525c0c);if(!_0x333041)throw new _0x14e616['CKEditorError']('ai-reviewgateway-unknown-command',this,{'checkId':_0x525c0c});if(_0x333041 instanceof _0x2f435e)throw new _0x14e616['CKEditorError']('ai-reviewgateway-not-a-system-command',this,{'checkId':_0x525c0c});const _0x5bd0e6=this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0xf04412=this['context']['plugins']['get']('AIConnector');if(_0x333041 instanceof _0x1aa37e){if(!_0x333041['defaultModel']?.['id'])throw new _0x14e616['CKEditorError']('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x525c0c});return new _0x145450(_0x333041['prompt'],_0x333041['defaultModel']['id'],_0x5bd0e6,_0x333041,_0xf04412);}return new _0x20987a(_0x5bd0e6,_0x333041,_0xf04412,_0x4a6606?[_0x4a6606]:void 0x0);}async['_createCustomReviewCheckRun'](_0x29baf5,_0xe548a,_0x4db0cd){const _0x3b860f=(await this['context']['plugins']['get']('AIReviewModeCheckRegistry')['getChecksList']())['checks']['find'](_0x3a1f97=>_0x3a1f97['id']===_0x29baf5);if(!_0x3b860f)throw new _0x14e616['CKEditorError']('ai-reviewgateway-unknown-command',this,{'checkId':_0x29baf5});if(!(_0x3b860f instanceof _0x2f435e))throw new _0x14e616['CKEditorError']('ai-reviewgateway-not-a-custom-command',this,{'checkId':_0x29baf5});const _0x2e6bc7=_0x4db0cd??_0x3b860f['defaultModel']?.['id'];if(!_0xe548a)throw new _0x14e616['CKEditorError']('ai-reviewgateway-missing-custom-command-prompt',this,{'checkId':_0x29baf5});if(!_0x2e6bc7)throw new _0x14e616['CKEditorError']('ai-reviewgateway-missing-custom-command-model',this,{'checkId':_0x29baf5});return new _0x165587(_0xe548a,_0x2e6bc7,this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0x3b860f,this['context']['plugins']['get']('AIConnector'));}},_0x3c8227=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[_0x539909,_0x3d74e4,_0x3274ca,_0x13156a];}static get['pluginName'](){return'AIReviewMode';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['startReview'](_0x424f19,_0xcd8c58){if(this['assertStartReviewPreconditions'](_0x424f19)instanceof _0x2f435e)throw new _0x14e616['CKEditorError']('ai-reviewmode-not-a-system-command',this,{'commandId':_0x424f19});_0x4ba24b(this['context'],'reviewMode'),await this['context']['plugins']['get']('AIReviewModeController')['runCheck']({'id':_0x424f19,'params':_0xcd8c58?.['parameterId']?[_0xcd8c58['parameterId']]:void 0x0});}async['startCustomReview'](_0x42d368,_0x21ba34){if(!_0x42d368)throw new _0x14e616['CKEditorError']('ai-reviewmode-missing-custom-command-prompt',this);const _0x5debc2=_0x264351['find'](_0x4147bd=>'custom'===_0x4147bd['commandId'])['id'],_0xd9eac=this['assertStartReviewPreconditions'](_0x5debc2),_0x2748f1=_0x21ba34?.['model']??_0xd9eac['defaultModel']?.['id'];if(!_0x2748f1)throw new _0x14e616['CKEditorError']('ai-reviewmode-missing-custom-command-model',this);_0x4ba24b(this['context'],'reviewMode'),await this['context']['plugins']['get']('AIReviewModeController')['runCheck']({'id':_0x5debc2,'isCustom':!0x0,'args':{'prompt':_0x42d368,'model':_0x2748f1}});}['getAvailableCommands'](){return this['context']['plugins']['get']('AIReviewModeController')['getAvailableChecks']()['map'](_0x10621d=>{const _0x184bda={'id':_0x10621d['id'],'title':_0x10621d['title'],'description':_0x10621d['description']};return'custom'!==_0x10621d['id']&&_0x10621d['options']?.['length']&&(_0x184bda['parameters']=_0x10621d['options'][0x0]['data']['map'](_0x5798b7=>({..._0x5798b7}))),_0x184bda;});}['assertStartReviewPreconditions'](_0x24d79d){const _0x17be8b=this['context']['plugins']['get']('AIReviewModeController');if(_0x17be8b['getCurrentCheckRun']())throw new _0x14e616['CKEditorError']('ai-reviewmode-review-already-running',this);const _0x3f15a0=_0x17be8b['getAvailableChecks']()['find'](_0x537a69=>_0x537a69['id']===_0x24d79d);if(!_0x3f15a0)throw new _0x14e616['CKEditorError']('ai-reviewmode-unknown-command',this,{'commandId':_0x24d79d});return _0x3f15a0;}},_0x5b64e6=class extends _0x20987a{['_title'];constructor(_0x5aafb5,_0x5ac273,_0x357600,_0x355659,_0x17e9d5,_0x21760f){super(_0x5aafb5,_0x5ac273,_0x357600,_0x17e9d5,_0x21760f),this['_title']=_0x355659;}get['title'](){return this['_title'];}get['subTitle'](){return this['_sourceCheck']['title'];}},_0x21ec69=class extends _0x110244{get['apiId'](){return'translate';}},_0x48673c=class extends _0x4c3ca8{['setupChecks'](_0x159705){this['_checks']=_0x159705['map'](_0x54da40=>new _0x21ec69(_0x54da40));}};const _0x42ca7b=[{'label':'English','id':'english'},{'label':'Spanish','id':'spanish'},{'label':'French','id':'french'},{'label':'German','id':'german'},{'label':'Chinese\x20(Simplified)','id':'chinese'},{'label':'Japanese','id':'japanese'},{'label':'Russian','id':'russian'},{'label':'Portuguese','id':'portuguese'},{'label':'Korean','id':'korean'},{'label':'Italian','id':'italian'}];var _0x4bde8a=class extends _0x510b44{static get['pluginName'](){return'AITranslateCheckRegistry';}constructor(_0x38be3d){super(_0x38be3d),this['context']['config']['define']('ai.translate.languages',_0x42ca7b);}async['_loadChecksList'](){const _0x5ab8a7=[],_0x1285a1=this['context']['config']['get']('ai.translate.languages')||[];for(const _0x4dfa9a of _0x1285a1)_0x5ab8a7['push']({'title':_0x4dfa9a['label'],'id':_0x4dfa9a['id'],'commandId':_0x4dfa9a['id'],'description':'','isParameterized':!0x1,'useArgs':!0x0,'args':{'language':_0x4dfa9a['id']}});const _0x2a55a8=new _0x48673c();return _0x2a55a8['setupChecks'](this['_translateChecks'](_0x5ab8a7)),_0x2a55a8;}['_translateChecks'](_0x5ecdf4){const _0x53f056=this['context']['locale'];return _0x5ecdf4['map'](_0x4879f1=>{const _0x34faeb='AI_REVIEW_CHECK_TRANSLATE_OPTIONS_DATA_'+_0x4879f1['title']['toUpperCase']()['replaceAll']('-','_'),_0x1ffbb0=_0x2723f0(_0x53f056,_0x34faeb);return{..._0x4879f1,'title':_0x1ffbb0===_0x34faeb?_0x4879f1['title']:_0x1ffbb0};});}},tp=class extends _0x20d3ce{static get['pluginName'](){return'AITranslateController';}static get['requires'](){return[_0x47f55c,_0x4bde8a];}get['_aiSource'](){return'translate';}['_onCheckRunFinished'](){this['_onReviewRunLeave'](!0x0);}['_initRequiredPlugins'](){super['_initRequiredPlugins'](),this['_aiReviewCoreUi']=this['context']['plugins']['get']('AITranslateUI'),this['_aiReviewCoreEditing']=this['context']['plugins']['get']('AIReviewCoreEditing');}['_createReviewCheckRun'](_0x380796,_0x4f21c4){return new _0x5b64e6(this['_aiReviewCoreEditing']['getDocumentData'](),_0x4f21c4,this['_aiConnector'],_0x2723f0(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),_0x380796['params'],_0x380796['args']);}['_onReviewCheckResultActivated'](_0xe0c09f){this['_aiReviewCoreUi']['setActiveStateInResults'](_0xe0c09f['change']['id']),this['_aiReviewCoreEditing']['setMarkersInElementAsActive'](_0xe0c09f['change']['id']);}['_onReviewCheckResultDeactivated'](){this['_aiReviewCoreEditing']['setAllMarkersAsInactive'](),this['_aiReviewCoreUi']['resetActiveStateInResults']();}['_onActivateChange'](_0x33b615){this['_currentReviewCheckRun']&&('hover'===_0x33b615['uiInteraction']&&(this['_changeActivationSource']='panel',this['_currentReviewCheckRun']['activateChange'](_0x33b615['id'])),'click'===_0x33b615['uiInteraction']&&this['_scrollToChange'](_0x33b615['id']));}['_onDeactivateChange'](_0xd0b06){this['_currentReviewCheckRun']&&'panel'===_0xd0b06['origin']&&this['_currentReviewCheckRun']['deactivateChange']();}['_onChangeMarkerClicked'](_0x45cbc7,_0x1d26b3){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x1d26b3['changeId']),this['_scrollToChange'](_0x1d26b3['changeId']));}['_onChangeMarkerHovered'](_0x3e932b,_0x318938){this['_currentReviewCheckRun']&&(this['_changeActivationSource']='content',this['_currentReviewCheckRun']['activateChange'](_0x318938['changeId']),this['_aiReviewCoreEditing']['reactivateMarkers'](_0x318938['changeId']));}['_onChangeMarkerBlurred'](){this['_currentReviewCheckRun']&&'content'===this['_changeActivationSource']&&(this['_currentReviewCheckRun']['deactivateChange'](),this['_aiReviewCoreEditing']['setAllMarkersAsInactive']());}['_getChangeContentElement'](_0x1ca01d){return this['_aiReviewCoreEditing']['getContentElementForChange'](_0x1ca01d);}['_markChangePositionInEditorContent'](_0x4e71ea,_0x4f6e43){this['_aiReviewCoreEditing']['markChangePositionInEditorContent'](_0x4e71ea,_0x4f6e43);}['_diffContent'](_0x5b2420,_0x43f0c6,_0x295d63){return this['_aiReviewCoreEditing']['diffContent'](_0x5b2420,_0x43f0c6,_0x295d63,!0x0);}['_onReviewCheckRun'](){for(const _0x376158 of this['_aiReviewCoreEditing']['getEditors']())_0x376158['editing']['view']['change'](_0x4329a6=>{for(const _0x3be386 of _0x376158['editing']['view']['document']['getRoots']())_0x4329a6['addClass']('ck-ai-translate-mode-content',_0x3be386);});}async['_getReviewChecks'](){return(await this['context']['plugins']['get']('AITranslateCheckRegistry')['getChecksList']())['checks'];}},_0x591aaa=class extends _0x2be86b{constructor(_0x5e3238,_0x22eb78){super(_0x5e3238,_0x22eb78),this['on']('set:isLoading',(_0x2d51b8,_0x5a2a0e,_0x2fd30f)=>{_0x2fd30f&&(this['headerTitle']=_0x2723f0(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_LOADING_TITLE'));}),this['on']('set:isResultReady',(_0x4c2771,_0x2c1354,_0xb95d1e)=>{_0xb95d1e&&(this['headerTitle']=_0x2723f0(this['locale'],'AI_TRANSLATE_CHECK_RESULTS_READY_TITLE'));});}['_createAcceptAllButtonView'](){const _0x291ad4=super['_createAcceptAllButtonView']();return _0x291ad4['set']('label',_0x2723f0(this['locale'],'AI_TRANSLATE_ACCEPT_ALL')),_0x291ad4;}['_createExitReviewButtonView'](){const _0x387346=super['_createExitReviewButtonView']();return _0x387346['set']('label',_0x2723f0(this['locale'],'AI_CHAT_HISTORY_CANCEL')),_0x387346;}},_0xfab7d5=class extends _0x3a10ff{['_setupTemplate'](){const _0x559817=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-ai-translate__check-list-wrapper',_0x559817['if']('isVisible','ck-hidden',_0xe61ea9=>!_0xe61ea9)]},'children':[{'tag':'div','attributes':{'class':['ck-ai-translate__check-list-header']},'children':[{'tag':'h2','children':[{'text':_0x2723f0(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_TITLE')}]},{'tag':'p','children':[{'text':_0x2723f0(this['locale'],'AI_TRANSLATE_CHECK_LIST_HEADER_DESCRIPTION')}]}]},{'tag':'div','attributes':{'class':['ck-ai_review__check-list',_0x559817['if']('isVisible','ck-hidden',_0x42de4d=>!_0x42de4d)]},'children':this['_checkViews']}]});}},_0x1b4fb4=class extends _0x50ea72{static get['pluginName'](){return'AITranslateUI';}['createMainView'](){const _0x2db139=this['context']['plugins']['get']('AITabs'),_0x5ef6cc=this['context']['locale'],_0x27dc59=new _0x2da371(_0x5ef6cc,{'label':_0x2723f0(_0x5ef6cc,'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'icon':_0x14e616['IconAITranslate'],'class':'ck-ai-header_review-translate','showResizeButton':_0x2db139['showResizeButton']});_0x27dc59['delegate']('resizeTabs')['to'](_0x2db139),_0x27dc59['bind']('isMaximized')['to'](_0x2db139['view'],'isMaximized',_0x2c3a5a=>_0x2c3a5a);const _0x11f0cb=new _0x3ea90c(_0x5ef6cc,{'header':_0x27dc59,'list':new _0xfab7d5(_0x5ef6cc),'results':new _0x591aaa(_0x5ef6cc,{'generalErrorText':_0x2723f0(_0x5ef6cc,'AI_TRANSLATE_GENERAL_ERROR_MESSAGE')}),'completed':new _0x1e254f(_0x5ef6cc,{'headerText':_0x2723f0(_0x5ef6cc,'AI_TRANSLATE_FINISH_HEADER_TITLE'),'emptyResultsText':_0x2723f0(_0x5ef6cc,'AI_TRANSLATE_EMPTY_RESULTS_TEXT'),'buttonText':_0x2723f0(_0x5ef6cc,'AI_TRANSLATE_FINISH_BUTTON_LABEL')})});return _0x11f0cb['extendTemplate']({'attributes':{'class':'ck-ai-translate-mode'}}),_0x11f0cb;}['registerTab'](){const _0x1e732a=this['context']['plugins']['get']('AITabs');_0x1e732a['view']['on']('activateTab',(_0x5beafb,{newTab:_0xdc73cc,oldTab:_0x2f9466})=>{'translate'===_0xdc73cc?this['fire']('getReviewCheckList'):'translate'===_0x2f9466&&this['fire']('leaveReview');}),_0x1e732a['view']['addTab']({'id':'translate','buttonLabel':_0x2723f0(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),'buttonIcon':_0x14e616['IconAITranslate'],'order':0x0,'content':this['_mainView']});}},_0x3cf3fc=class extends _0x40ff74{['_affectedBlocks']=[];get['affectedBlocks'](){return this['_affectedBlocks'];}set['affectedBlocks'](_0x68127){this['_affectedBlocks']=_0x68127;}},_0x27a0b2=class extends _0x14e616['ContextPlugin']{static get['pluginName'](){return'AITranslateGateway';}static get['requires'](){return[_0x3274ca,_0x626bfd,_0x11b915,_0x589540];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['runTranslate'](_0x543722,_0x16c3e3){return await this['_runTranslateCheck'](_0x543722,()=>this['_createTranslateCheckRun'](_0x543722),_0x16c3e3?.['signal']);}['applyTranslate'](_0x1f1d4f,_0x16c95a){this['context']['plugins']['get']('AIGateway')['apply'](_0x1f1d4f,_0x16c95a);}async['_runTranslateCheck'](_0x5ba85d,_0x3ebbbb,_0x4dcec8){const _0x1838a8=_0x5128bd(this['context']),_0x1e3ee8=new _0x3cf3fc({'editor':_0x1838a8,'rootName':_0x1838a8['model']['document']['getRootNames']()[0x0],'channelId':this['context']['config']['get']('collaboration.channelId'),'sessionId':_0x1838a8['plugins']['get']('AIEditing')['getSessionId'](_0x1838a8)});let _0x24dbcb,_0x3369c0;if(_0x4dcec8){if(_0x4dcec8['aborted'])return _0x1e3ee8['abort'](),_0x1e3ee8;const _0x4c277b=()=>{_0x1e3ee8['error']||(_0x1e3ee8['abort'](),_0x24dbcb&&_0x24dbcb['abort']());};_0x4dcec8['addEventListener']('abort',_0x4c277b),_0x3369c0=()=>_0x4dcec8['removeEventListener']('abort',_0x4c277b);}try{_0x24dbcb=await _0x3ebbbb(),_0x1e3ee8['contentRawOld']=_0x24dbcb['documentData']['content'],_0x1e3ee8['documentVersion']=Array['from'](_0x24dbcb['documentData']['elements'])['find'](([,_0x1923f8])=>_0x1923f8['rootName']===_0x1e3ee8['rootName'])?.[0x1]['documentVersion']??0x1,_0x24dbcb['on']('reviewCheckRunUpdated',(_0x145864,_0x23266e)=>{'aborted'===_0x23266e['status']?_0x1e3ee8['abort']():'error-general'!==_0x23266e['status']&&'error-chunk'!==_0x23266e['status']||(_0x1e3ee8['error']=_0x217b4b(_0x23266e['error'],'ai-translategateway-translation-run-failed',this,{'language':_0x5ba85d}));}),'aborted'!==_0x1e3ee8['status']&&await _0x24dbcb['start']();}catch(_0x49faca){_0x1e3ee8['error']=_0x217b4b(_0x49faca,'ai-translategateway-translation-run-failed',this,{'language':_0x5ba85d});}finally{_0x3369c0&&_0x3369c0();}if(!_0x24dbcb||'aborted'===_0x1e3ee8['status']||'error'===_0x1e3ee8['status'])return _0x1e3ee8;_0x1e3ee8['affectedBlocks']=_0x24dbcb['results']['map'](_0x29f663=>({'id':_0x29f663['id'],'content':_0x29f663['contentNew']}));try{_0x1e3ee8['contentRawNew']=_0x2149a1(this['context']['plugins']['get']('AIGateway')['mergeChangesIntoContent'](_0x1e3ee8['affectedBlocks'],_0x1e3ee8['contentRawOld'],_0x1e3ee8['editor']));}catch(_0x3020b7){_0x1e3ee8['error']=_0x217b4b(_0x3020b7,'ai-translategateway-translation-run-failed',this,{'language':_0x5ba85d});}return _0x1e3ee8;}async['_createTranslateCheckRun'](_0x2edc5a){const _0x5f5949=this['context']['plugins']['get']('AIReviewCoreEditing')['getDocumentData'](),_0x29b86c=this['context']['plugins']['get']('AIConnector');return new _0x5b64e6(_0x5f5949,new _0x21ec69({'id':_0x2edc5a,'commandId':_0x2edc5a,'title':_0x2edc5a,'description':'','isParameterized':!0x1}),_0x29b86c,_0x2723f0(this['context']['locale'],'AI_REVIEW_CHECK_TRANSLATE_TITLE'),void 0x0,{'language':_0x2edc5a});}},_0xdba5b0=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[tp,_0x1b4fb4,_0x3274ca,_0x27a0b2];}static get['pluginName'](){return'AITranslate';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['startTranslate'](_0x5c23b6){const _0x3f97c0=this['assertStartTranslatePreconditions'](_0x5c23b6);_0x4ba24b(this['context'],'translate'),await this['context']['plugins']['get']('AITranslateController')['runCheck']({'id':_0x3f97c0['id'],'args':_0x3f97c0['useArgs']?_0x3f97c0['args']:void 0x0});}['getAvailableLanguages'](){return this['context']['plugins']['get']('AITranslateController')['getAvailableChecks']()['map'](_0xe375ac=>({'id':_0xe375ac['id'],'label':_0xe375ac['title']}));}['assertStartTranslatePreconditions'](_0x50d081){const _0x41bd13=this['context']['plugins']['get']('AITranslateController');if(_0x41bd13['getCurrentCheckRun']())throw new _0x14e616['CKEditorError']('ai-translate-translation-already-running',this);const _0x2bf6a3=_0x41bd13['getAvailableChecks']()['find'](_0x18ff9d=>_0x18ff9d['id']===_0x50d081);if(!_0x2bf6a3)throw new _0x14e616['CKEditorError']('ai-translate-unknown-language',this,{'languageId':_0x50d081});return _0x2bf6a3;}},_0x45960b=class extends _0x14e616['Command']{['_transformCallback'];constructor(_0x5a0c39,_0x54c73c){super(_0x5a0c39),this['_transformCallback']=_0x54c73c;}['execute'](){const _0x29d5d1=this['editor']['model'],_0x49ce24=Array['from'](this['_getAffectedRanges']()),_0x18b234=Array['from'](_0x29d5d1['document']['selection']['getRanges']());_0x29d5d1['change'](_0x11c6ed=>{for(const _0x19b579 of _0x49ce24)this['_modifyContent'](_0x19b579,_0x11c6ed);_0x11c6ed['setSelection'](_0x18b234);});}['refresh'](){for(const _0x235c1b of this['_getAffectedRanges']())for(const _0x19b3bf of _0x235c1b)if(_0x19b3bf['item']['is']('$textProxy'))return void(this['isEnabled']=!0x0);this['isEnabled']=!0x1;}['_getAffectedRanges'](){const _0x4134b2=this['editor']['model'],_0x3a4ad8=_0x4134b2['document']['selection'];if(_0x3a4ad8['isCollapsed']){const _0x14b54a=this['_findAncestorTextBlock'](_0x3a4ad8['getFirstPosition']()['parent']);return _0x14b54a?[_0x4134b2['createRangeIn'](_0x14b54a)]:[];}return _0x3a4ad8['getRanges']();}['_modifyContent'](_0x4d82ea,_0x210205){for(const _0x4966ee of this['_getElementsAllowingText'](_0x4d82ea)){const _0x29072b=this['_getElementTextContent'](_0x4966ee),_0x603ca9=this['_transformCallback'](_0x29072b);for(const _0xe2feeb of this['_getTextNodesRangeLimited'](_0x4966ee,_0x4d82ea))this['_replaceTextNodeData'](_0xe2feeb,_0x603ca9,_0x210205);}}['_findAncestorTextBlock'](_0x3e0a11){const _0x2150bc=this['editor']['model']['schema'];if(_0x3e0a11['is']('element')&&_0x2150bc['checkChild'](_0x3e0a11,'$text'))return _0x3e0a11;const _0x1f10fa=_0x3e0a11['parent'];return!_0x1f10fa||_0x2150bc['isLimit'](_0x3e0a11)?null:this['_findAncestorTextBlock'](_0x1f10fa);}*['_getElementsAllowingText'](_0xf72a1a){const _0x353718=new Set();for(const {item:_0x3d1021}of _0xf72a1a['getWalker']()){const _0x23ec64=this['_findAncestorTextBlock'](_0x3d1021);_0x23ec64&&!_0x353718['has'](_0x23ec64)&&(_0x353718['add'](_0x23ec64),yield _0x23ec64);}}['_getElementTextContent'](_0x4a2e09){return Array['from'](_0x4a2e09['getChildren']())['reduce']((_0x553a36,_0x2ff074)=>_0x553a36+(_0x2ff074['is']('$text')?_0x2ff074['data']:'\x20'),'');}*['_getTextNodesRangeLimited'](_0x49e368,_0x5b68eb){const _0x5bc03e=_0x5b68eb['getIntersection'](this['editor']['model']['createRangeIn'](_0x49e368));if(_0x5bc03e){for(const _0x5ec12d of _0x5bc03e['getItems']())_0x5ec12d['is']('$textProxy')&&_0x5ec12d['parent']==_0x49e368&&(yield _0x5ec12d);}}['_replaceTextNodeData'](_0x3c5a7c,_0x183f34,_0x452776){const _0x486fe8=_0x183f34['substring'](_0x3c5a7c['startOffset'],_0x3c5a7c['endOffset']);if(_0x486fe8===_0x3c5a7c['data'])return;const _0x5c2c39=_0x3c5a7c['getAttributes']();this['editor']['model']['insertContent'](_0x452776['createText'](_0x486fe8,_0x5c2c39),_0x452776['createSelection'](_0x452776['createRangeOn'](_0x3c5a7c)));}};function _0x48af10(_0x198c63,_0x2d05be,..._0xb7d50c){const t=_0x198c63['t'];switch(_0x2d05be){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',..._0xb7d50c);default:return _0x2d05be;}}var _0x2c47eb=class extends _0x14e616['Plugin']{['_currentCommandIndex']=0x0;static get['pluginName'](){return'CaseChangeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x24889a=this['editor'],_0x4a5776=_0x24889a['locale']['contentLanguage'],_0x4366a6=function(_0x3a9fcf=[]){return'function'==typeof _0x3a9fcf?_0x3a9fcf:(_0x43a8f2,{wordIndex:_0x3b6fa2})=>_0x3b6fa2>0x0&&_0x3a9fcf['includes'](_0x43a8f2);}(_0x24889a['config']['get']('caseChange.titleCase.excludeWords')),_0x18b70b={'changeCaseUpper':new _0x45960b(_0x24889a,_0x18e779=>_0x18e779['toLocaleUpperCase'](_0x4a5776)),'changeCaseLower':new _0x45960b(_0x24889a,_0x2d2bcb=>_0x2d2bcb['toLocaleLowerCase'](_0x4a5776)),'changeCaseTitle':new _0x45960b(_0x24889a,_0x58121a=>function(_0x180817,_0x2b3d3b,_0x10461d){return function(_0x3369b2,_0x507447){let _0x402ffa='',_0x72d477=0x0,_0x2b8c1c=0x0;for(const _0x185fd5 of _0x3369b2['matchAll'](/ +/g)){const _0x3e53be=_0x185fd5['index'],_0xfd48e3=_0x3369b2['substring'](_0x72d477,_0x3e53be);_0xfd48e3['length']&&(_0x402ffa+=_0x507447(_0xfd48e3,_0x72d477,_0x2b8c1c++)),_0x402ffa+=_0x185fd5[0x0],_0x72d477=_0x3e53be+_0x185fd5[0x0]['length'];}const _0x255ead=_0x3369b2['substring'](_0x72d477);return _0x255ead['length']&&(_0x402ffa+=_0x507447(_0x255ead,_0x72d477,_0x2b8c1c)),_0x402ffa;}(_0x180817,(_0x498445,_0x18aa6a,_0x1c78ef)=>{const _0xff031c=_0x498445['toLocaleLowerCase'](_0x10461d);return _0x2b3d3b(_0xff031c,{'charOffset':_0x18aa6a,'wordIndex':_0x1c78ef,'blockText':_0x180817})?_0xff031c:_0xff031c['replace'](/(?:^|[^\p{L}\d'])\p{L}/gu,_0x415454=>_0x415454['toLocaleUpperCase'](_0x10461d));});}(_0x58121a,_0x4366a6,_0x4a5776))};for(const [_0x2211de,_0x18c9c7]of Object['entries'](_0x18b70b))_0x24889a['commands']['add'](_0x2211de,_0x18c9c7),_0x18c9c7['on']('execute',()=>{this['_announceCaseChangeOperation'](_0x2211de);});this['listenTo'](_0x24889a['editing']['view']['document'],'selectionChange',()=>{this['_currentCommandIndex']=0x0;}),_0x24889a['keystrokes']['set']('shift+f3',(_0x3ee96e,_0x3dc9dd)=>{const _0x43907c=_0x4b2c1e(this['editor']['locale']),_0x380ebc=_0x43907c[this['_currentCommandIndex']%_0x43907c['length']]['commandName'];_0x24889a['execute'](_0x380ebc),this['_currentCommandIndex']++,_0x3dc9dd();});}['afterInit'](){!async function(_0x219d26){const _0x4fc25e='EMDS3dsLoJY0nbe9cmlCrXyaZ8zpPqN6jxThf7gwBi2KFOVUWRAG14HQIkut5v',_0x5c6cf1=0x78fc0,_0x10c14d=window['Date']['now'](),_0x13f3e6=_0x219d26['editor'],_0x2acd66=new window['Promise'](_0x23e65b=>{_0x13f3e6['once']('ready',_0x23e65b);}),_0x5d3218={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x18d792=_0x13f3e6['config']['get']('licenseKey');async function _0x242a19(){let _0x3613d3,_0x5c1102=null,_0x35e9e6=null;try{return'GPL'==_0x18d792?'NotAllowed':(_0x3613d3=_0x55d31c(),_0x3613d3?(_0x3613d3['usageEndpoint']&&(_0x35e9e6=_0x3f7218(_0x3613d3['usageEndpoint'],_0x3613d3['jti'])),await _0x2477e9()?_0x2682db()?_0x3c9050()?'Expired':_0x4d2519()?('evaluation'==_0x3613d3['licenseType']&&(_0x5c1102=_0x120b7a('EvaluationLimit')),await _0x51bd72()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3c9050(){const _0x217e64=['evaluation','trial']['includes'](_0x3613d3['licenseType'])?_0x10c14d/0x3e8:0xe10*_0x5c6cf1;return _0x3613d3['exp']<_0x217e64;}function _0x2682db(){const _0x4c428f=_0x3613d3['features'];return!!_0x4c428f&&(!!_0x4c428f['includes']('*')||(!!_0x4c428f['includes']('CC')||!!_0x4c428f['includes']('PP')));}function _0x4d2519(){const _0x761886=_0x3613d3['licensedHosts'];if(!_0x761886||0x0==_0x761886['length'])return!0x0;const {hostname:_0x520525}=new URL(window['location']['href']);if(_0x761886['includes'](_0x520525))return!0x0;const _0x404c13=_0x520525['split']('.');return _0x761886['filter'](_0x1db70c=>_0x1db70c['includes']('*'))['map'](_0x1be7e1=>_0x1be7e1['split']('.'))['filter'](_0x356fc6=>_0x356fc6['length']<=_0x404c13['length'])['map'](_0x4aaf93=>Array(_0x404c13['length']-_0x4aaf93['length'])['fill']('*'===_0x4aaf93[0x0]?'*':'')['concat'](_0x4aaf93))['some'](_0x592f73=>_0x404c13['every']((_0x2d0e21,_0x26b847)=>_0x592f73[_0x26b847]===_0x2d0e21||'*'===_0x592f73[_0x26b847]));}function _0x51bd72(){return _0x5c1102&&_0x35e9e6?new window['Promise']((_0x43bb0c,_0x3b0e0c)=>{_0x5c1102['then'](_0x43bb0c,_0x3b0e0c),_0x35e9e6['then'](_0x29a903=>{'Valid'!=_0x29a903&&_0x43bb0c(_0x29a903);},_0x3b0e0c);}):_0x5c1102||_0x35e9e6||'Valid';}}function _0x3f7218(_0x5c76ff,_0x50cf74){return new window['Promise'](_0x38bbdb=>{if(_0x4a724b())return _0x38bbdb('Valid');_0x58cfab(),_0x13f3e6['decorate']('_sendUsageRequest');let _0x3476cb=!0x1;const _0x302c73=(0x0,_0x14e616['uid'])();function _0x80a7b(_0x1eb8e0){return!!_0x1eb8e0&&('object'==typeof _0x1eb8e0||'function'==typeof _0x1eb8e0)&&'function'==typeof _0x1eb8e0['then']&&'function'==typeof _0x1eb8e0['catch'];}function _0x158f14(_0x5ba6c9){_0x4c8aba(_0x5ba6c9)['then'](_0x537d97=>_0x537d97&&'ok'==_0x537d97['status']?_0x165eed(_0x5c9a54(_0x302c73+_0x50cf74))!=_0x537d97['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x5dd1e9=>(_0x3b73cd(),_0x5dd1e9),()=>{const _0x567bae=_0x5be45b();return null==_0x567bae?(_0x3b73cd(),'Valid'):_0x10c14d-_0x567bae>0x240c8400?'UsageLimit':'Valid';})['then'](_0x38bbdb)['catch'](()=>{_0x38bbdb('UsageLimit');});const _0x41da58=0x36ee80;function _0x3b73cd(){const _0x3c5a83='llct-'+_0x165eed(_0x5c9a54(_0x5c76ff)),_0x1e8883=_0xf3e83a(_0x165eed(window['Math']['ceil'](_0x10c14d/_0x41da58)));window['localStorage']['setItem'](_0x3c5a83,_0x1e8883);}function _0x5be45b(){const _0x13bb5e='llct-'+_0x165eed(_0x5c9a54(_0x5c76ff)),_0xe5f6df=window['localStorage']['getItem'](_0x13bb5e);return _0xe5f6df?window['parseInt'](_0xf3e83a(_0xe5f6df),0x10)*_0x41da58:null;}function _0x4c8aba(_0x160c0d){return new window['Promise']((_0x573857,_0x571604)=>{_0x160c0d['then'](_0x573857,_0x571604),window['setTimeout'](_0x571604,0x1d4c0);});}}_0x13f3e6['on']('_sendUsageRequest',(_0x1a74c9,_0xf0846)=>{if(_0xf0846[0x0]!=_0x5c76ff)return _0x38bbdb('UsageLimit');_0xf0846[0x1]={..._0xf0846[0x1],'requestId':_0x302c73};},{'priority':'high'}),_0x13f3e6['on']('_sendUsageRequest',_0x10b06a=>{_0x80a7b(_0x10b06a['return'])&&(_0x3476cb=!0x0,_0x158f14(_0x10b06a['return']));},{'priority':'low'}),_0x2acd66['then'](()=>{_0x3476cb||_0x38bbdb('UsageLimit');});});function _0x4a724b(){return'auto'==_0x13f3e6['editing']['view']['_overlayModeHint'];}function _0x58cfab(){_0x13f3e6['editing']['view']['_overlayModeHint']='auto';}}function _0x120b7a(_0x23f82c){const _0x28a11c=[new window['Promise'](_0x520dd1=>setTimeout(_0x520dd1,0x93ecc)),_0x2acd66['then'](()=>new window['Promise'](_0x42bb15=>{let _0x5b6df0=0x0;_0x13f3e6['model']['on']('applyOperation',(_0x329223,_0x240865)=>{_0x240865[0x0]['isDocumentOperation']&&_0x5b6df0++,0x5e8==_0x5b6df0&&(_0x42bb15(),_0x329223['off']());});}))];return window['Promise']['race'](_0x28a11c)['then'](()=>_0x23f82c);}async function _0x1af0fd(){await _0x2acd66,_0x13f3e6['model']['change']=_0x550ac2,_0x13f3e6['model']['enqueueChange']=_0x550ac2,_0x13f3e6['enableReadOnlyMode']('model');}function _0x5a2f2b(_0x489f8e){const _0x56b2e2=_0x4128b0();_0x13f3e6[_0x56b2e2]='caseChangeLicenseKey'+_0x489f8e,'Valid'!=_0x489f8e&&_0x1af0fd();}function _0x4128b0(){const _0x204320=window['String'](window['performance']['now']())['replace']('.','');let _0x5e90ec='E';for(let _0x56dd58=0x0;_0x56dd58<_0x204320['length'];_0x56dd58+=0x2){let _0x57ce0e=window['parseInt'](_0x204320['substring'](_0x56dd58,_0x56dd58+0x2));_0x57ce0e>=0x3e&&(_0x57ce0e-=0x3e),_0x5e90ec+=_0x4fc25e[_0x57ce0e];}return _0x5e90ec;}function _0x55d31c(){const _0x5d9c58=_0x18d792['split']('.');if(0x3!=_0x5d9c58['length'])return null;return _0x51b74f(_0x5d9c58[0x1]);function _0x51b74f(_0x473e10){const _0x22bef3=_0x12bd2a(_0x473e10);return _0x22bef3&&_0x135641()?_0x22bef3:null;function _0x135641(){const _0x3246aa=_0x22bef3['jti'],_0x5bda68=window['parseInt'](_0x3246aa['substring'](_0x3246aa['length']-0x8),0x10),_0x5219db={..._0x22bef3,'jti':_0x3246aa['substring'](0x0,_0x3246aa['length']-0x8)};return delete _0x5219db['vc'],_0x5c9a54(_0x5219db)==_0x5bda68;}}}async function _0x2477e9(){let _0x5ab3c5=!0x0;try{const [_0x1da512,_0x2aad15,_0x1eed69]=_0x18d792['split']('.');return _0x31d8ef(_0x1da512),await _0x4e26f7(_0x1da512,_0x2aad15,_0x1eed69),_0x5ab3c5;}catch{return!0x1;}function _0x31d8ef(_0x8a1091){const _0x4b9bac=_0x12bd2a(_0x8a1091);_0x4b9bac&&'ES256'==_0x4b9bac['alg']||(_0x5ab3c5=!0x1);}async function _0x4e26f7(_0x1ab66a,_0x557d34,_0x4946eb){const _0x249b3d=window['Uint8Array']['from'](_0xe17d51(_0x4946eb),_0x271063=>_0x271063['charCodeAt'](0x0)),_0x1069de=new window['TextEncoder']()['encode'](_0x1ab66a+'.'+_0x557d34),_0x2c48de=window['crypto']['subtle'];if(!_0x2c48de)return;const _0x290877=await _0x2c48de['importKey']('jwk',_0x5d3218,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2c48de['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x290877,_0x249b3d,_0x1069de)||(_0x5ab3c5=!0x1);}}function _0x12bd2a(_0x27668c){return _0x27668c['startsWith']('ey')?JSON['parse'](_0xe17d51(_0x27668c)):null;}function _0xe17d51(_0x1f8101){return window['atob'](_0x1f8101['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5c9a54(_0x523834){let _0x2ab022=0x1505;function _0x42b7a6(_0x12bb65){for(let _0x2e07fe=0x0;_0x2e07fe<_0x12bb65['length'];_0x2e07fe++){const _0x328935=_0x12bb65['charCodeAt'](_0x2e07fe);_0x2ab022=(_0x2ab022<<0x5)+_0x2ab022+_0x328935,_0x2ab022&=_0x2ab022;}}function _0x3a8158(_0xac541a){Array['isArray'](_0xac541a)?_0xac541a['forEach'](_0x3a8158):_0xac541a&&'object'==typeof _0xac541a?Object['entries'](_0xac541a)['sort']()['forEach'](([_0x805238,_0x2c0b92])=>{_0x42b7a6(_0x805238),_0x3a8158(_0x2c0b92);}):_0x42b7a6(window['String'](_0xac541a));}return _0x3a8158(_0x523834),_0x2ab022>>>0x0;}function _0x165eed(_0x203ff4){return _0x203ff4['toString'](0x10)['padStart'](0x8,'0');}function _0xf3e83a(_0x57581b){return _0x57581b['split']('')['reverse']()['join']('');}function _0x550ac2(){}_0x5a2f2b(await _0x242a19());}(this);}['_announceCaseChangeOperation'](_0x2f9791){const {ui:_0x3e1c9c,locale:_0x64dcdf}=this['editor'],_0x4ebc06=_0x4b2c1e(_0x64dcdf)['find'](_0xf676b1=>_0xf676b1['commandName']===_0x2f9791)['label']['toLowerCase']();_0x3e1c9c['ariaLiveAnnouncer']['announce'](_0x48af10(_0x64dcdf,'Changed\x20case\x20to\x20%0',_0x4ebc06));}};function _0x4b2c1e(_0x3e9fb9){return[{'label':_0x48af10(_0x3e9fb9,'UPPERCASE'),'commandName':'changeCaseUpper'},{'label':_0x48af10(_0x3e9fb9,'lowercase'),'commandName':'changeCaseLower'},{'label':_0x48af10(_0x3e9fb9,'Title\x20Case'),'commandName':'changeCaseTitle'}];}var _0x299843=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CaseChangeUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0xc94fd2=this['editor'];this['_registerComponents'](),_0xc94fd2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x48af10(_0xc94fd2['locale'],'Change\x20text\x20case'),'keystroke':'Shift+f3','mayRequireFn':!0x0}]}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x32d4c6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc499b7;for(const _0x5065e6 in _0x32d4c6){const _0x2dcb4b=_0x5065e6,_0x2d4134=_0x32d4c6[_0x2dcb4b];if('caseChangeLicenseKeyValid'==_0x2d4134||'caseChangeLicenseKeyInvalid'==_0x2d4134||'caseChangeLicenseKeyExpired'==_0x2d4134||'caseChangeLicenseKeyDomainLimit'==_0x2d4134||'caseChangeLicenseKeyNotAllowed'==_0x2d4134||'caseChangeLicenseKeyEvaluationLimit'==_0x2d4134||'caseChangeLicenseKeyUsageLimit'==_0x2d4134){delete _0x32d4c6[_0x2dcb4b],_0xc499b7=_0x2d4134,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'caseChangeLicenseKeyInvalid'==_0xc499b7&&_0x32d4c6['_showLicenseError']('invalid'),'caseChangeLicenseKeyExpired'==_0xc499b7&&_0x32d4c6['_showLicenseError']('expired'),'caseChangeLicenseKeyDomainLimit'==_0xc499b7&&_0x32d4c6['_showLicenseError']('domainLimit'),'caseChangeLicenseKeyNotAllowed'==_0xc499b7&&_0x32d4c6['_showLicenseError']('featureNotAllowed','CaseChange'),'caseChangeLicenseKeyEvaluationLimit'==_0xc499b7&&_0x32d4c6['_showLicenseError']('evaluationLimit'),'caseChangeLicenseKeyUsageLimit'==_0xc499b7&&_0x32d4c6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_registerComponents'](){const _0x1b2dbe=this['editor'],{itemDefinitions:_0x165166,commands:_0x2d4455}=this['_getListItemDefinitionsAndCommands']();_0x1b2dbe['ui']['componentFactory']['add']('caseChange',()=>this['_createDropdownView'](_0x165166,_0x2d4455)),_0x1b2dbe['ui']['componentFactory']['add']('menuBar:caseChange',()=>this['_createMenuBarMenuView'](_0x165166,_0x2d4455));}['_createMenuBarMenuView'](_0x4513ac,_0x51364b){const _0x432604=this['editor'],_0x3b79df=_0x432604['locale'],_0x440c56=new _0x14e616['MenuBarMenuView'](_0x3b79df),_0x17b419=new _0x14e616['MenuBarMenuListView'](_0x3b79df);_0x17b419['set']({'ariaLabel':_0x48af10(_0x3b79df,'Case\x20change'),'role':'menu'}),this['_setButtonProperties'](_0x440c56['buttonView']),_0x440c56['bind']('isEnabled')['toMany'](_0x51364b,'isEnabled',(..._0x3c1fea)=>_0x3c1fea['some'](_0x46351a=>_0x46351a));for(const _0x32980b of _0x4513ac){const _0x1ea77f=new _0x14e616['MenuBarMenuListItemView'](_0x3b79df,_0x440c56),_0x34a382=new _0x14e616['MenuBarMenuListItemButtonView'](_0x3b79df);_0x34a382['delegate']('execute')['to'](_0x440c56),_0x34a382['bind'](...Object['keys'](_0x32980b['model']))['to'](_0x32980b['model']),_0x34a382['on']('execute',()=>{_0x432604['execute'](_0x32980b['model']['commandName']),_0x432604['editing']['view']['focus']();}),_0x1ea77f['children']['add'](_0x34a382),_0x17b419['items']['add'](_0x1ea77f);}return _0x440c56['panelView']['children']['add'](_0x17b419),_0x440c56;}['_createDropdownView'](_0x33d831,_0x593f62){const _0x1b2351=this['editor'],_0x2030a4=(0x0,_0x14e616['createDropdown'])(_0x1b2351['locale']);return this['_setButtonProperties'](_0x2030a4['buttonView']),_0x2030a4['buttonView']['set']({'tooltip':!0x0}),_0x2030a4['extendTemplate']({'attributes':{'class':['ck-case-change-dropdown']}}),(0x0,_0x14e616['addListToDropdown'])(_0x2030a4,_0x33d831,{'ariaLabel':_0x48af10(_0x1b2351['locale'],'Case\x20change'),'role':'menu'}),_0x2030a4['bind']('isEnabled')['toMany'](_0x593f62,'isEnabled',(..._0xbdf943)=>_0xbdf943['some'](_0x2b5596=>_0x2b5596)),this['listenTo'](_0x2030a4,'execute',_0x1d032f=>{_0x1b2351['execute'](_0x1d032f['source']['commandName']),_0x1b2351['editing']['view']['focus']();}),_0x2030a4;}['_setButtonProperties'](_0x540f22){const _0x2563af=this['editor'];_0x540f22['set']({'label':_0x48af10(_0x2563af['locale'],'Case\x20change'),'icon':_0x14e616['IconCaseChange'],'keystroke':'Shift+F3'});}['_getListItemDefinitionsAndCommands'](){const _0x229b91=new _0x14e616['Collection'](),_0x46aae7=[];for(const _0x428908 of _0x4b2c1e(this['editor']['locale'])){const _0x410a36=this['editor']['commands']['get'](_0x428908['commandName']),_0x55f6ae=new _0x14e616['UIModel']({'commandName':_0x428908['commandName'],'label':_0x428908['label'],'role':'menuitemradio','withText':!0x0});_0x55f6ae['bind']('isEnabled')['to'](_0x410a36,'isEnabled'),_0x229b91['add']({'type':'button','model':_0x55f6ae}),_0x46aae7['push'](_0x410a36);}return{'itemDefinitions':_0x229b91,'commands':_0x46aae7};}},_0x1140ec=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x2c47eb,_0x299843];}static get['pluginName'](){return'CaseChange';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0xf3a85c=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x1acd74=class extends _0xf3a85c{['model'];['view'];constructor(_0x499cd1,_0x5b2901){super(),this['model']=_0x499cd1,this['model']['_isAttached']=!0x0,this['view']=_0x5b2901,this['listenTo'](_0x5b2901,'submitCommentThread',()=>this['submit']()),this['listenTo'](_0x5b2901,'removeCommentThread',()=>this['remove']()),this['listenTo'](_0x5b2901,'resolveCommentThread',()=>this['resolve']()),this['listenTo'](_0x5b2901,'reopenCommentThread',()=>this['reopen']()),this['listenTo'](_0x5b2901,'addComment',(_0xb1b23c,_0x5e8a7b)=>this['addComment'](_0x5e8a7b)),this['listenTo'](_0x5b2901,'updateComment',(_0x5b9935,_0xd70d7,_0x14e599)=>this['updateComment'](_0xd70d7,_0x14e599)),this['listenTo'](_0x5b2901,'removeComment',(_0x2d0e6f,_0x487998)=>this['removeComment'](_0x487998));}['submit'](){this['model']['submit']();}['remove'](){this['model']['remove']();}['resolve'](){this['model']['isResolved']||this['model']['resolve']();}['reopen'](){this['model']['isResolved']&&this['model']['reopen']();}['addComment'](_0x1304ff){this['model']['addComment']({'content':_0x1304ff,'authorId':this['view']['_localUser']['id']});}['updateComment'](_0x508e3f,_0x341a5a){this['model']['getComment'](_0x508e3f)['update']({'content':_0x341a5a});}['removeComment'](_0x375766){this['model']['getComment'](_0x375766)['remove']();}['destroy'](){this['stopListening'](),this['model']['_isAttached']=!0x1;}};function _0x2412ce(_0x542622,_0xd2f561,_0xd0e411){const t=_0x542622['t'];switch(_0xd2f561){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'},_0xd0e411);case'COMMENT_THREAD_LABEL':return t({'string':'Comment\x20thread\x20by\x20%1.\x20%0\x20reply.','plural':'Comment\x20thread\x20by\x20%1.\x20%0\x20replies.','id':'COMMENT_THREAD_LABEL'},_0xd0e411);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'},_0xd0e411);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'},_0xd0e411);case'NUMBER_OF_COMMENTS':return t({'string':'%0\x20Comment','plural':'%0\x20Comments','id':'NUMBER_OF_COMMENTS'},_0xd0e411);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'},_0xd0e411);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'},_0xd0e411);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'},_0xd0e411);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'';}}var _0x34969b=class extends _0x14e616['EditorUIView']{['main'];['editable'];constructor(_0x3a675e,_0x4b19c5){super(_0x3a675e);const _0x18dff7=(0x0,_0x14e616['uid'])();this['main']=this['createCollection'](),this['editable']=new _0x14e616['InlineEditableUIView'](_0x3a675e,_0x4b19c5,void 0x0,{'label':()=>_0x2412ce(_0x3a675e,'Comment\x20editor')}),this['setTemplate']({'tag':'div','attributes':{'class':['ck-reset','ck-editor','ck-rounded-corners','ck-comment__input'],'dir':_0x3a675e['uiLanguageDirection'],'lang':_0x3a675e['uiLanguage'],'aria-labelledby':'cke-editor__aria-label_'+_0x18dff7},'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']();}},_0x4b42ba=class extends _0x14e616['EditorUI']{['view'];constructor(_0x17258d){super(_0x17258d),this['view']=new _0x34969b(_0x17258d['locale'],_0x17258d['editing']['view']);}get['element'](){return this['view']['element'];}['init'](){const _0x46073a=this['editor']['editing']['view'],_0x57776a=this['view']['editable'];_0x57776a['name']=_0x46073a['document']['getRoot']()['rootName'],this['view']['render']();const _0x4457f8=_0x57776a['element'];this['setEditableElement'](_0x57776a['name'],_0x4457f8),this['view']['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x46073a['attachDomRoot'](_0x4457f8),this['fire']('ready');}['destroy'](){super['destroy'](),this['view']['destroy']();}};const _0x4f29eb=[_0x14e616['Clipboard'],_0x14e616['Enter'],_0x14e616['ShiftEnter'],_0x14e616['SelectAll'],_0x14e616['Typing'],_0x14e616['Undo'],_0x14e616['Paragraph']],_0x4af12c=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])(_0x14e616['Editor']);var _0x13bd6b=class CommentEditor extends _0x4af12c{static ['defaultPlugins']=/* #__PURE__ -- @preserve */
((()=>_0x4f29eb)());constructor(_0x53886d={}){(_0x53886d=Object['assign']({},_0x53886d))['plugins']||(_0x53886d['plugins']=CommentEditor['defaultPlugins']),super(_0x53886d),this['ui']=new _0x4b42ba(this),this['set']('placeholder',''),this['model']['document']['on']('change',()=>this['_updatePlaceholder'](),{'priority':'low'}),this['on']('change:placeholder',()=>this['_updatePlaceholder']()),this['model']['document']['createRoot'](),this['editing']['view']['_overlayModeHint']='auto',this['_sendUsageRequest']=()=>window['Promise']['resolve']({'status':'ok'});}['create'](){const _0x2f36ac=this['config']['get']('initialData')||'';return this['initPlugins']()['then'](()=>this['ui']['init']())['then'](()=>this['data']['init'](_0x2f36ac))['then'](()=>this['fire']('ready'));}['destroy'](){return super['destroy']()['then'](()=>this['ui']['destroy']());}['focus'](){this['model']['change'](_0x59100f=>{const _0x41936c=this['model']['document']['getRoot'](),_0x4e9a43=_0x41936c&&_0x41936c['getChild'](_0x41936c['childCount']-0x1);_0x59100f['setSelection'](_0x4e9a43,'end'),this['editing']['view']['focus']();});}['_updatePlaceholder'](){const _0x57f2d8=this['editing']['view'],_0x3ce386=_0x57f2d8['document']['getRoot'](),_0x40fed6=_0x3ce386['getChild'](0x0);_0x3ce386['childCount']>0x1||!_0x40fed6||'p'!=_0x40fed6['name']?this['placeholderElement']&&this['placeholderElement']['placeholder']&&((0x0,_0x14e616['disableViewPlaceholder'])(_0x57f2d8,this['placeholderElement']),this['placeholderElement']=void 0x0):(this['placeholder']&&(_0x40fed6['placeholder']=this['placeholder']),(0x0,_0x14e616['enableViewPlaceholder'])({'view':_0x57f2d8,'element':_0x40fed6,'keepOnFocus':!0x0}),this['placeholderElement']=_0x40fed6);}},_0x5c9205=class extends _0x14e616['View']{['keystrokes'];['focusTracker'];['focusables'];['focusCycler'];['submitButtonView'];['cancelButtonView'];['_editorConfig'];constructor(_0x454beb,_0x423b4c={}){super(_0x454beb),this['editor']=null,this['_editorConfig']=_0x423b4c,this['set']('value',_0x423b4c['initialData']||''),this['set']('disabledSubmit',!0x1),this['set']('showButtons',!0x0),this['set']('placeholder',_0x2412ce(_0x454beb,'Reply...')),this['set']('submitLabel',_0x2412ce(_0x454beb,'Reply')),this['submitButtonView']=this['_createSubmitButton'](),this['cancelButtonView']=this['_createCancelButton'](),this['focusables']=this['createCollection']([this['submitButtonView'],this['cancelButtonView']]),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['focusTracker']=new _0x14e616['FocusTracker'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x87ffbd=>!_0x87ffbd['defaultPrevented']},'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',(_0x3b9ce0,_0x1d2fab)=>{this['cancelButtonView']['fire']('execute'),_0x1d2fab();}),this['keystrokes']['set']('Ctrl+Enter',(_0x2933d5,_0x1828ee)=>{this['submitButtonView']['isEnabled']&&(this['submitButtonView']['fire']('execute'),_0x1828ee());}),this['on']('submit',(_0x1d0dc6,_0x5349af)=>{_0x5349af['length']>0xfde8?(alert(_0x2412ce(_0x454beb,'TOO_LONG_COMMENT_ALERT',[_0x5349af['length'],0xfde8])),_0x1d0dc6['stop']()):this['editor']['setData']('');},{'priority':'high'});}['render'](){super['render'](),this['_setupKeyboardNavigation']();}['createEditor'](){return this['editor']||(this['editor']=new _0x13bd6b(this['_editorConfig']),this['_editorCreationPromise']=this['editor']['create']()['then'](()=>{if(this['_isDestroyed'])return;const _0x437faf=this['editor'];this['element']['insertBefore'](_0x437faf['ui']['element'],this['element']['firstChild']),_0x437faf['model']['document']['on']('change',()=>this['value']=_0x437faf['getData']()),_0x437faf['bind']('placeholder')['to'](this),this['focusables']['add'](_0x437faf['ui']['view'],0x0),this['fire']('editorReady',this['editor']);})),this['_editorCreationPromise'];}['focus'](_0x1dfdcf){-0x1===_0x1dfdcf?(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:_0x4f1fa4}=this,_0x21034f=new _0x14e616['ButtonView'](_0x4f1fa4);return _0x21034f['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--submit']}}),_0x21034f['withText']=!0x0,_0x21034f['bind']('label')['to'](this,'submitLabel'),_0x21034f['on']('execute',()=>{this['fire']('submit',this['value']);}),_0x21034f['bind']('isEnabled')['to'](this,'value',this,'disabledSubmit',(_0x171bd5,_0x537a26)=>!_0x537a26&&!!_0x171bd5['trim']()),_0x21034f;}['_createCancelButton'](){const {locale:_0x4dcb1e}=this,_0x5e3715=new _0x14e616['ButtonView'](_0x4dcb1e);return _0x5e3715['extendTemplate']({'attributes':{'class':['ck-comment__input-actions--cancel']}}),_0x5e3715['label']=_0x2412ce(_0x4dcb1e,'Cancel'),_0x5e3715['withText']=!0x0,_0x5e3715['on']('execute',()=>{this['editor']['setData'](''),this['fire']('cancel');}),_0x5e3715;}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']),this['focusables']['forEach'](_0x4b9695=>{this['focusTracker']['add'](_0x4b9695['element']);}),this['focusables']['on']('change',(_0x269f15,_0x362876)=>{for(const _0x1a41ac of Array['from'](_0x362876['added'])['reverse']())this['focusTracker']['add'](_0x1a41ac['element']);});}},_0x344396=class extends _0x14e616['View']{constructor(_0x2c1885,_0x20a269,_0x3554ca){super(_0x2c1885),this['commentInputView']=new _0x5c9205(_0x2c1885,_0x3554ca),this['focusCycler']=this['commentInputView']['focusCycler'],this['commentInputView']['bind']('showButtons')['to'](this['commentInputView']['focusTracker'],'isFocused',this['commentInputView'],'value',(_0x219d55,_0x3445b4)=>_0x219d55||!!_0x3445b4),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 _0x1a027b(_0x2c1885,_0x20a269),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'](_0x433377){this['commentInputView']['focus'](_0x433377);}['_focusOnNonInteractiveMouseDown'](){this['listenTo'](this['element'],'mousedown',(_0x1609d4,_0xce6836)=>{const {submitButtonView:_0x6ded34,cancelButtonView:_0xc7890d,editor:_0x54c6ac}=this['commentInputView'];[_0x6ded34['element'],_0xc7890d['element'],_0x54c6ac?_0x54c6ac['editing']['view']['getDomRoot']():null]['filter'](_0x30d6e3=>_0x30d6e3)['some'](_0xcc1cf1=>_0xcc1cf1['contains'](_0xce6836['target']))||(this['focus'](),_0xce6836['preventDefault']());});}},_0x5997c1=class extends _0x14e616['View']{constructor(_0x377494){super(_0x377494);const _0x20c883=this['bindTemplate'];this['set']('count',void 0x0),this['setTemplate']({'tag':'li','attributes':{'class':'ck-thread__comment-count'},'children':[{'text':_0x20c883['to']('count',_0x56a0cb=>_0x2412ce(_0x377494,'NUMBER_OF_COMMENTS',_0x56a0cb))}]});}},_0x139d13=class extends _0x14e616['View']{['commentViews'];['resolvedCommentView'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];['_collapsedCommentsView'];constructor(_0x8a2d4d,_0x595061,_0x20ccaf){super(_0x8a2d4d);const _0x4cadee=this['bindTemplate'];this['set']('hasDirtyComment',!0x1),this['set']('length',_0x595061['comments']['length']),this['set']('isActive',!0x1),this['_model']=_0x595061,this['_config']=_0x20ccaf,this['commentViews']=this['createCollection'](),this['visibleViews']=this['createCollection'](),this['resolvedCommentView']=null,this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['commentViews'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x1d56c2=>this['commentViews']['map'](_0xd09c89=>_0xd09c89['element'])['includes'](_0x1d56c2['target'])},'actions':{'focusPrevious':'arrowup','focusNext':'arrowdown'}}),this['_collapsedCommentsView']=new _0x5997c1(_0x8a2d4d),this['_collapsedCommentsView']['bind']('count')['to'](this,'length',_0x43ab02=>_0x43ab02-this['_config']['maxCommentsWhenCollapsed']);for(const _0x3b4937 of _0x595061['comments'])this['_handleNewCommentModel'](_0x3b4937);this['_handleInfoComment'](),this['listenTo'](_0x595061['comments'],'add',(_0x10da85,_0x5ac62d)=>{const _0x47fec0=this['_calculatePosition'](_0x5ac62d);this['length']++,this['_handleNewCommentModel'](_0x5ac62d,_0x47fec0),this['refreshVisibleViews']();}),this['listenTo'](_0x595061['comments'],'remove',(_0x7d1c33,_0x2cdaf2)=>{this['length']--,this['_handleRemoveCommentModel'](_0x2cdaf2),this['refreshVisibleViews']();}),this['listenTo'](_0x595061,'commentUpdated',()=>this['refreshVisibleViews']()),this['listenTo'](_0x595061,'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',_0x4cadee['if']('length','ck-hidden',_0x207897=>!_0x207897)],'aria-label':_0x2412ce(_0x8a2d4d,'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'](_0x42eeb7){-0x1===_0x42eeb7?this['focusCycler']['focusLast']():this['focusCycler']['focusFirst']();}['destroy'](){this['_collapsedCommentsView']['destroy']();for(const _0x559132 of this['commentViews'])_0x559132['destroy']();super['destroy']();}['refreshVisibleViews'](){this['_shouldCollapse']?this['_rearrangeCollapse']():this['_rearrangeExpand']();}['_handleNewCommentModel'](_0xca9300,_0x3da1bb){const _0x7cafb5=new this['_config']['CommentView'](this['locale'],_0xca9300,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig']});_0x7cafb5['viewUid']=_0xca9300['id'],_0x7cafb5['delegate']('removeComment')['to'](this),_0x7cafb5['delegate']('updateComment')['to'](this),_0x7cafb5['delegate']('resolveCommentThread')['to'](this),_0x7cafb5['delegate']('editorReady')['to'](this),_0x7cafb5['delegate']('editorDestroyed')['to'](this),this['listenTo'](_0x7cafb5,'change:isEditMode',()=>this['_updateHasDirtyComment']()),this['commentViews']['add'](_0x7cafb5,_0x3da1bb);}['_calculatePosition'](_0x43a91d){const _0x3bab94=this['_model']['_findOptimalIndex'](_0x43a91d);return this['resolvedCommentView']?this['resolvedCommentView']['authoredAt']>_0x43a91d['authoredAt']?_0x3bab94-0x1:_0x3bab94:_0x3bab94-0x1;}['_handleInfoComment'](){if(this['_model']['resolvedBy']&&this['_model']['resolvedAt']){const _0x2acd60={'id':'resolved','author':this['_model']['resolvedBy'],'authoredAt':this['_model']['resolvedAt'],'content':_0x2412ce(this['locale'],'Marked\x20as\x20resolved'),'attributes':{}};this['resolvedCommentView']=new this['_config']['CommentView'](this['locale'],_0x2acd60,{'maxCommentCharsWhenCollapsed':this['_config']['maxCommentCharsWhenCollapsed'],'formatDateTime':this['_config']['formatDateTime'],'editorConfig':this['_config']['editorConfig'],'isSystemComment':!0x0}),this['commentViews']['add'](this['resolvedCommentView'],this['_model']['_findOptimalIndex'](_0x2acd60));}else this['resolvedCommentView']&&(this['commentViews']['remove'](this['resolvedCommentView']),this['resolvedCommentView']['destroy'](),this['resolvedCommentView']=null);this['refreshVisibleViews']();}['_handleRemoveCommentModel'](_0x44a6b3){const _0x41086b=this['commentViews']['remove'](_0x44a6b3['id']);this['stopListening'](_0x41086b),_0x41086b['isEditMode']&&this['_updateHasDirtyComment'](),_0x41086b['destroy']();}['_updateHasDirtyComment'](){this['hasDirtyComment']=Array['from'](this['commentViews'])['some'](_0x35765c=>_0x35765c['isEditMode']);}['_rearrangeCollapse'](){const _0x33e65b=function(_0x362748){const _0x30216f=new _0x14e616['Collection']();for(const _0xf07f8b of _0x362748)_0x30216f['add'](_0xf07f8b);return _0x30216f;}(this['commentViews']),_0x263e46=this['_collapsedCommentsView']['count'];for(let _0x373127=0x1;_0x373127<=_0x263e46;_0x373127++)_0x33e65b['remove'](0x1);for(const _0x3299db of _0x33e65b)_0x3299db['collapse']();_0x263e46>0x0&&_0x33e65b['add'](this['_collapsedCommentsView'],0x1),_0x303cdc((0x0,_0x14e616['diff'])(Array['from'](this['visibleViews']),Array['from'](_0x33e65b)),this['visibleViews'],_0x33e65b);}['_rearrangeExpand'](){_0x303cdc((0x0,_0x14e616['diff'])(Array['from'](this['visibleViews']),Array['from'](this['commentViews'])),this['visibleViews'],this['commentViews']);for(const _0x310c46 of this['visibleViews'])_0x310c46['expand']();}['_setupKeyboardNavigation'](){this['commentViews']['forEach'](_0x200122=>{this['focusTracker']['add'](_0x200122['element']),this['keystrokes']['listenTo'](_0x200122['element']);}),this['commentViews']['on']('change',(_0x1985c3,_0x41fe36)=>{for(const _0x4fdae0 of _0x41fe36['removed'])this['focusTracker']['remove'](_0x4fdae0['element']),this['keystrokes']['stopListening'](_0x4fdae0['element']);for(const _0x14769e of Array['from'](_0x41fe36['added'])['reverse']())this['focusTracker']['add'](_0x14769e['element']),this['keystrokes']['listenTo'](_0x14769e['element']);});}};function _0x303cdc(_0x118b79,_0x176a8f,_0x4710d1){let _0x532d65=0x0;for(const _0x5127de of _0x118b79)switch(_0x5127de){case'insert':_0x176a8f['add'](_0x4710d1['get'](_0x532d65),_0x532d65),_0x532d65++;break;case'delete':_0x176a8f['remove'](_0x532d65);break;case'equal':_0x532d65++;}}var _0x42c781=class extends _0x14e616['View']{constructor(_0x4fa8b2){super(_0x4fa8b2);const _0x5a9bb4=this['bindTemplate'];this['set']('contextValue',''),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-context__value'],'aria-label':_0x5a9bb4['to']('contextValue',_0x5b32b7=>_0x2412ce(_0x4fa8b2,'THREAD_CONTEXT_LABEL',_0x5b32b7)),'tabindex':-0x1},'children':[{'text':_0x5a9bb4['to']('contextValue')}]});}['focus'](){this['element']['focus']();}},_0x35ee32=class extends _0x14e616['View']{['_model'];['reopenButtonView'];['contextView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x4e9800,_0x3eea72){super(_0x4e9800);const _0x55c0e0=this['bindTemplate'];this['_model']=_0x3eea72,this['reopenButtonView']=this['_createReopenButton'](),this['contextView']=this['_createContextView'](),this['focusables']=this['createCollection']([this['contextView'],this['reopenButtonView']]),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['bind']('hasContext')['to'](this['_model'],'context',_0x502b7b=>!!_0x502b7b),this['bind']('contextValue')['to'](this['_model'],'context',_0x1a4b06=>_0x1a4b06&&_0x1a4b06['value']?this['_trimContextValue'](_0x1a4b06['value']):_0x2412ce(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',_0x55c0e0['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 _0x3c5752=new _0x14e616['ButtonView'](this['locale']);return _0x3c5752['label']=_0x2412ce(this['locale'],'Reopen'),_0x3c5752['tooltip']=_0x2412ce(this['locale'],'Reopen'),_0x3c5752['icon']=_0x14e616['IconUndo'],_0x3c5752['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x38c691=>!_0x38c691),_0x3c5752['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0x2d4f67,_0xf786ad)=>_0x2d4f67&&_0xf786ad),_0x3c5752['on']('execute',()=>{this['fire']('reopenCommentThread',this['_model']['id']);}),_0x3c5752;}['_trimContextValue'](_0x121fd0){if(_0x121fd0['length']<0x96)return _0x121fd0;const _0x86a2cd=_0x121fd0['lastIndexOf']('\x20',0x93);return _0x121fd0['substring'](0x0,_0x86a2cd>-0x1?_0x86a2cd:0x93)+'...';}['_attachContextActions'](){const _0x11883d=this['element']['querySelector']('.ck-context'),_0x1c5364=_0x11883d['querySelector']('.ck-context__value');this['listenTo'](_0x11883d,'mouseenter',()=>{_0x1c5364['offsetWidth']<_0x1c5364['scrollWidth']&&_0x11883d['classList']['add']('overlay');}),this['listenTo'](_0x11883d,'mouseleave',()=>{_0x11883d['classList']['remove']('overlay');});}['_setupKeyboardNavigation'](){this['keystrokes']['listenTo'](this['element']);for(const _0x2708e6 of this['focusables'])this['focusTracker']['add'](_0x2708e6['element']),this['keystrokes']['listenTo'](_0x2708e6['element']);}['_createContextView'](){const _0x28aa71=new _0x42c781(this['locale']);return _0x28aa71['bind']('contextValue')['to'](this),_0x28aa71;}},_0x546c69=class extends _0x14e616['View']{['_model'];['_config'];['commentThreadHeaderView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];constructor(_0x3a561c,_0x391445,_0x4c9911,_0x1917c9){super(_0x3a561c),this['set']('isActive',!0x1),this['set']('isDirty',!0x1),this['_model']=_0x391445,this['_localUser']=_0x4c9911,this['_config']=_0x1917c9,this['commentThreadHeaderView']=new _0x35ee32(_0x3a561c,_0x391445),this['commentThreadHeaderView']['delegate']('reopenCommentThread')['to'](this),this['ariaDescriptionView']=new _0x17f7ca(_0x3a561c,_0x2412ce(_0x3a561c,'COMMENT_THREAD_DESCRIPTION')),this['listenTo'](this,'reopenCommentThread',()=>{this['focus']();}),this['commentsListView']=new _0x139d13(_0x3a561c,_0x391445,Object['assign']({'CommentView':this['_config']['CommentView']},_0x1917c9)),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',(_0x293869,_0x221bdb)=>_0x293869||!!_0x221bdb),this['bind']('isUnlinked')['to'](_0x391445,'unlinkedAt',_0x5a88dc=>!!_0x5a88dc);let _0x1937c3=null;const _0x213bb1=()=>{const _0x5cfca2=this['_model']['comments']['first']||null;_0x5cfca2!==_0x1937c3&&(_0x1937c3&&this['stopListening'](_0x1937c3,'change:content'),_0x1937c3=_0x5cfca2,_0x5cfca2&&this['listenTo'](_0x5cfca2,'change:content',_0x213bb1));const _0x574ca5=_0x5cfca2?_0x5cfca2['author']['name']:this['_localUser']['name'],_0x492f9f=_0x5cfca2?new DOMParser()['parseFromString'](_0x3cfc21(_0x5cfca2['content'],{'limit':this['_config']['maxCommentCharsWhenCollapsed']}),'text/html')['body']['textContent']:'',_0x407ac8=_0x2412ce(this['locale'],'COMMENT_THREAD_LABEL',[this['length'],_0x574ca5]);this['set']('ariaLabel',_0x492f9f?_0x407ac8+'\x20'+_0x492f9f:_0x407ac8);};this['listenTo'](this['_model']['comments'],'change',_0x213bb1),_0x213bb1(),this['focusables']=this['createCollection']([this['commentsListView'],this['commentThreadInputView']]),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x7360b2=>_0x7360b2['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}});}['focus'](){this['element']['focus']();}['render'](){super['render'](),_0x39fd70(this,this['focusables']);}async['destroy'](){this['isDirty']=!0x1,this['commentsListView']['destroy'](),await this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentThreadInputView'](){const _0x2276e7=new _0x344396(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x33d3dc=_0x2276e7['commentInputView'];return _0x2276e7['bind']('showInput')['to'](this,'isActive',this['_model'],'isReadOnly',this['_model'],'canComment',this['_model'],'archivedAt',_0x33d3dc,'value',(_0x44c949,_0x5c4e76,_0x319f7a,_0x2427f4,_0x50e8a8)=>!!_0x50e8a8||!!_0x2427f4&&_0x319f7a&&!_0x5c4e76||_0x44c949&&_0x319f7a&&!_0x5c4e76),_0x33d3dc['bind']('placeholder')['to'](this,'length',this['_model'],'isResolvable',this['_model'],'isResolved',(_0x1d6abf,_0x4dc32f,_0x494096)=>{let _0x4055eb;return _0x4055eb=_0x494096&&_0x4dc32f?'Reply\x20to\x20reopen\x20discussion...':_0x1d6abf?'Reply...':'Write\x20a\x20comment...',_0x2412ce(this['locale'],_0x4055eb);}),_0x33d3dc['bind']('submitLabel')['to'](this,'length',_0x1280c5=>_0x2412ce(this['locale'],_0x1280c5?'Reply':'Comment')),_0x33d3dc['on']('submit',(_0x7cf096,_0x1fac34)=>{this['fire']('addComment',_0x1fac34),this['_model']['isResolved']&&this['_model']['isResolvable']&&this['fire']('reopenCommentThread',this['_model']['id']),this['_model']['isSubmitted']||this['fire']('submitCommentThread');}),_0x33d3dc['on']('cancel',()=>{this['focus']();}),_0x33d3dc['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x33d3dc['on']('cancel',_0x24777a=>{0x0==this['length']&&(this['fire']('removeCommentThread'),_0x24777a['stop']());}),this['on']('change:isActive',(_0x5f42cc,_0x4d6b1d,_0x5ed04c)=>{_0x5ed04c||this['length']||_0x33d3dc['value']||this['fire']('removeCommentThread');}),_0x2276e7;}};const _0x4cb53b=/* #__PURE__ -- @preserve */
_0x5ce719(_0x546c69);var _0x2b2c18=class extends _0x4cb53b{['commentThreadChildren'];['containerElement'];['resolveButton'];['_boundFirstCommentView'];constructor(_0x54c7e7,_0x52f3be,_0x2c585d,_0x356c08){super(_0x54c7e7,_0x52f3be,_0x2c585d,_0x356c08),this['commentThreadChildren']=this['createCollection']([this['commentsListView'],this['commentThreadInputView'],this['ariaDescriptionView']]),this['set']('actionIndicator',null),this['containerElement']=null,this['_boundFirstCommentView']=null,this['locale']=_0x54c7e7,this['resolveButton']=this['_createResolveButton'](),this['setTemplate'](this['getTemplate']()),this['on']('change:isActive',(_0x5de836,_0x86079d,_0xd3e4ee)=>{_0xd3e4ee||this['_cancelAllConfirms']();}),this['listenTo'](this['_model'],'change:isReadOnly',(_0x150f32,_0x2c23dd,_0x36cf6b)=>{_0x36cf6b&&this['_cancelAllConfirms']();}),this['length']>0x0&&this['_bindFirstCommentView'](),this['listenTo'](this['commentsListView']['commentViews'],'add',()=>{this['_bindFirstCommentView']();});}['getTemplate'](){const _0xbf7e00=this['bindTemplate'];return{'tag':'div','attributes':{'class':['ck','ck-thread','ck-reset_all-excluded','ck-rounded-corners',_0xbf7e00['if']('isActive','ck-thread--active'),_0xbf7e00['if']('isUnlinked','ck-thread--unlinked'),_0xbf7e00['to']('actionIndicator',_0x3234a9=>_0x3234a9?'ck-thread--'+_0x3234a9:'')],'data-thread-id':this['_model']['id'],'tabindex':0x0,'role':'listitem','aria-label':_0xbf7e00['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 _0x450b1b of this['commentsListView']['commentViews'])_0x450b1b['cancelConfirm']();}['_bindFirstCommentView'](){const {locale:_0x119717}=this,_0x4ad267=this['commentsListView']['commentViews']['get'](0x0);_0x4ad267===this['_boundFirstCommentView']||_0x4ad267['isSystemComment']||(this['_boundFirstCommentView']=_0x4ad267,this['unbind']('actionIndicator'),this['bind']('actionIndicator')['to'](_0x4ad267,'actionIndicator',_0x3e3b07=>'remove'===_0x3e3b07?'remove':null),_0x4ad267['placeholder']=_0x2412ce(_0x119717,'Write\x20a\x20comment...'),_0x4ad267['removeButton']['on']('execute',_0x425304=>{_0x425304['stop'](),this['showConfirm'](_0x2412ce(_0x119717,'Delete\x20comment\x20thread?'),this['containerElement'])['then'](()=>{this['fire']('removeCommentThread');});},{'priority':'high'}),this['on']('removeConfirm',()=>{_0x4ad267['focus']();}),_0x4ad267['actionBar']['add'](this['resolveButton'],0x0),_0x4ad267['focusables']['add'](this['resolveButton'],0x0));}['_createResolveButton'](){const _0x30d26d=new _0x104fb5(this['locale']);return _0x30d26d['label']=_0x2412ce(this['locale'],'Resolve'),_0x30d26d['tooltip']=_0x2412ce(this['locale'],'Resolve'),_0x30d26d['icon']=_0x14e616['IconCheck'],_0x30d26d['extendTemplate']({'attributes':{'class':'ck-comment--resolve'}}),_0x30d26d['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x1fbbb0=>!_0x1fbbb0),_0x30d26d['bind']('isVisible')['to'](this['_model'],'isResolvable',this['_model'],'isResolved',(_0xec7403,_0x15a77f)=>_0xec7403&&!_0x15a77f),_0x30d26d['on']('execute',()=>{this['fire']('resolveCommentThread',this['_model']['id']);}),_0x30d26d;}['_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']));}},_0x178ffe=class extends _0x14e616['View']{constructor(_0x36330b){super(_0x36330b),this['set']('content',''),this['setTemplate']({'tag':'div','attributes':{'class':['ck-content','ck-comment__content','ck-annotation__content']}});}['render'](){super['render'](),this['on']('change:content',(_0x31de18,_0x23ff2d,_0x59d517)=>{this['element']['innerHTML']=_0x59d517;}),this['element']['innerHTML']=this['content'];}},_0x137ef3=class extends _0x14e616['View']{['visibleView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x429bb5,_0x27187f,_0x280f72){super(_0x429bb5),this['_model']=_0x27187f,this['_config']=_0x280f72,this['isSystemComment']=!!this['_config']['isSystemComment'],this['set']('isEditMode',!0x1),this['set']('isCollapsed',!0x0),this['bind']('ariaLabel')['to'](_0x27187f,'content',_0x27187f,'authoredAt',(_0x5509fe,_0xc5bdea)=>_0x2412ce(_0x429bb5,'COMMENT_ARIA_LABEL',[_0x27187f['author']['name'],_0x280f72['formatDateTime'](_0xc5bdea),new DOMParser()['parseFromString'](_0x5509fe,'text/html')['body']['textContent'],_0x27187f['isExternal']?this['getExternalCommentNote']():''])),this['ariaDescriptionView']=new _0x17f7ca(_0x429bb5,_0x2412ce(_0x429bb5,'COMMENT_THREAD_DESCRIPTION')),this['visibleView']=this['createCollection'](),this['visibleView']['add'](this['_createCommentContentView']()),this['focusables']=new _0x14e616['ViewCollection'](),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2e304c=>_0x2e304c['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']?_0x2412ce(this['locale'],'EXTERNAL_IMPORT_WORD_COMMENT'):_0x2412ce(this['locale'],'EXTERNAL_COMMENT');}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x2412ce(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x2412ce(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['_createCommentContentView'](){const _0x30da29=new _0x178ffe(this['locale']);return _0x30da29['bind']('content')['to'](this['_model'],'content',this,'isCollapsed',(_0x54959d,_0x5b01ee)=>_0x5b01ee?_0x3cfc21(_0x54959d,{'limit':this['_config']['maxCommentCharsWhenCollapsed']}):_0x54959d),_0x30da29;}['_createCommentInputView'](){this['_config']['editorConfig']||(this['_config']['editorConfig']={}),this['_config']['editorConfig']['initialData']=this['_model']['content'];const _0x49c134=new _0x5c9205(this['locale'],this['_config']['editorConfig']);return _0x49c134['value']=this['_model']['content'],_0x49c134['bind']('disabledSubmit')['to'](this['_model'],'isReadOnly'),_0x49c134['submitLabel']=_0x2412ce(this['locale'],'Save'),_0x49c134['on']('submit',(_0x581d3f,_0xa4dbea)=>{this['fire']('updateComment',this['_model']['id'],_0xa4dbea),this['switchToDisplayMode'](),this['focus']();}),_0x49c134['on']('cancel',()=>{this['switchToDisplayMode'](),this['focus']();}),_0x49c134['once']('editorReady',()=>{_0x49c134['focus']();}),_0x49c134['createEditor'](),_0x49c134['delegate']('editorReady')['to'](this),_0x49c134['delegate']('editorDestroyed')['to'](this),_0x49c134;}['_setupKeyboardNavigation'](){const _0x52c69a=this['element'];this['keystrokes']['listenTo'](_0x52c69a);for(const _0x48fa0f of this['focusables'])this['focusTracker']['add'](_0x48fa0f['element']),this['keystrokes']['listenTo'](_0x48fa0f['element']);this['focusables']['on']('change',(_0x204371,_0x35eecf)=>{for(const _0x141ea3 of _0x35eecf['removed'])this['focusTracker']['remove'](_0x141ea3['element']),this['keystrokes']['stopListening'](_0x141ea3['element']);for(const _0x5c19f6 of _0x35eecf['added'])this['focusTracker']['add'](_0x5c19f6['element']),this['keystrokes']['listenTo'](_0x5c19f6['element']);}),this['keystrokes']['set']('enter',(_0x3c88ec,_0x322964)=>{_0x52c69a===_0x3c88ec['target']&&(this['focusCycler']['focusFirst'](),_0x322964());}),this['keystrokes']['set']('esc',(_0x1cf00b,_0x5ed3b7)=>{_0x52c69a!==_0x1cf00b['target']&&(this['focus'](),_0x5ed3b7());});}};const _0x3b27bb=/* #__PURE__ -- @preserve */
_0x5ce719(_0x137ef3);var _0x5e1026=class extends _0x3b27bb{['actionBar'];['userView'];constructor(_0x432457,_0x5dbbe1,_0x48c08f){super(_0x432457,_0x5dbbe1,_0x48c08f),this['set']('actionIndicator',null),this['set']('placeholder',_0x2412ce(_0x432457,'Reply...')),this['bind']('authoredAt')['to'](_0x5dbbe1),this['bind']('resolvedAt')['to'](_0x5dbbe1),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 _0x1a027b(_0x432457,_0x5dbbe1['author'],this['getUserViewNotificationText']()),this['userView']['extendTemplate']({'attributes':{'class':['ck-comment__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['listenTo'](_0x5dbbe1,'change:isRemovable',()=>this['cancelConfirm']()),this['setTemplate'](this['getTemplate']());}['getTemplate'](){const _0x53b94e=this['bindTemplate'],_0x5ce7e2=[{'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':_0x53b94e['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x53b94e['to']('authoredAt',_0x528469=>this['_config']['formatDateTime'](_0x528469))}]}]},{'tag':'div','attributes':{'class':['ck-comment__actions','ck-annotation__actions',_0x53b94e['if']('isEditMode','ck-comment__actions--hidden'),_0x53b94e['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']&&_0x5ce7e2['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalCommentNote']()}]}),{'tag':'li','attributes':{'class':['ck-comment__wrapper'],'tabindex':-0x1,'aria-label':_0x53b94e['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id'],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck-comment','ck-annotation',_0x53b94e['if']('isEditMode','ck-comment--edit'),_0x53b94e['if']('isSystemComment','ck-comment--info'),_0x53b94e['to']('actionIndicator',_0x3d70fd=>_0x3d70fd?'ck-comment--'+_0x3d70fd:'')],'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':_0x5ce7e2}]}]};}['_createEditButton'](){const _0x29ff80=new _0x14e616['ButtonView'](this['locale']);return _0x29ff80['label']=_0x2412ce(this['locale'],'Edit'),_0x29ff80['icon']=_0x14e616['IconPencil'],_0x29ff80['withText']=!0x0,_0x29ff80['extendTemplate']({'attributes':{'class':'ck-comment--edit'}}),_0x29ff80['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x5787be=>!_0x5787be),_0x29ff80['bind']('isVisible')['to'](this['_model'],'isEditable'),_0x29ff80['on']('execute',()=>this['switchToEditMode']()),_0x29ff80;}['_createRemoveButton'](){const _0x57c361=new _0x14e616['ButtonView'](this['locale']);return _0x57c361['label']=_0x2412ce(this['locale'],'Remove'),_0x57c361['icon']=_0x14e616['IconRemoveComment'],_0x57c361['withText']=!0x0,_0x57c361['extendTemplate']({'attributes':{'class':'ck-comment--remove'}}),_0x57c361['bind']('isEnabled')['to'](this['_model'],'isReadOnly',_0x30f178=>!_0x30f178),_0x57c361['bind']('isVisible')['to'](this['_model'],'isRemovable'),_0x57c361['on']('execute',()=>{this['showConfirm'](_0x2412ce(this['locale'],'Delete\x20comment?'),this['element'])['then'](()=>{this['fire']('removeComment',this['_model']['id']);});}),_0x57c361;}['_createDropdown'](){const _0x5540da=(0x0,_0x14e616['createDropdown'])(this['locale'],_0x9ce03c),_0xd9bc2d=_0x5540da['panelView']['children'],_0x2cd99b=new _0x14e616['ListView'](this['locale']),_0x33a96b=_0x5540da['bindTemplate'];(0x0,_0x14e616['focusChildOnDropdownOpen'])(_0x5540da,()=>this['items']['find'](_0x423851=>_0x423851['isVisible'])),_0x5540da['extendTemplate']({'attributes':{'class':[_0x33a96b['if']('isVisible','ck-hidden',_0x383d07=>!_0x383d07)]}});const _0x37881c=(_0x29d355,_0x525d76=-0x1)=>{const _0x136f51=new _0x14e616['ListItemView'](this['locale']);_0x136f51['children']['add'](_0x29d355);const _0x13babb=_0x525d76>-0x1?_0x525d76:_0x2cd99b['items']['length'];_0x2cd99b['items']['add'](_0x136f51,_0x13babb);const _0x5e3ee0=Array['from'](this['items']);_0x5540da['unbind']('isEnabled','isVisible'),_0x5540da['bind']('isEnabled')['toMany'](_0x5e3ee0,'isEnabled',(..._0x26098a)=>_0x26098a['some'](_0x51e9e4=>_0x51e9e4)),_0x5540da['bind']('isVisible')['toMany'](_0x5e3ee0,'isVisible',(..._0x581629)=>_0x581629['some'](_0x4fcde3=>_0x4fcde3));};_0x5540da['panelPosition']='sw',_0x5540da['buttonView']['set']({'label':_0x2412ce(this['locale'],'Show\x20more\x20items'),'icon':_0x14e616['IconThreeVerticalDots']});for(const _0x4c3c9c of this['items'])_0x37881c(_0x4c3c9c);return _0xd9bc2d['add'](_0x2cd99b),_0x5540da['listenTo'](this['items'],'add',(_0x1c005e,_0x26ec61,_0x1a3c2e)=>{_0x37881c(_0x26ec61,_0x1a3c2e);}),_0x5540da['listenTo'](this['items'],'remove',(_0x5407c1,_0x1e4ee3,_0x3f5772)=>{_0x2cd99b['items']['remove'](_0x3f5772);}),_0x5540da;}['_attachActions'](_0x350163,_0x5d214f){const _0x56afb8=_0x350163&&_0x350163['element'];_0x56afb8&&(this['listenTo'](_0x56afb8,'mouseenter',()=>this['actionIndicator']=_0x5d214f),this['listenTo'](_0x56afb8,'focus',()=>this['actionIndicator']=_0x5d214f),this['listenTo'](_0x56afb8,'mouseleave',()=>this['actionIndicator']=null),this['listenTo'](_0x56afb8,'blur',()=>this['actionIndicator']=null));}['_createCommentInputView'](){const _0x20109d=super['_createCommentInputView']();return _0x20109d['bind']('placeholder')['to'](this),_0x20109d;}['render'](){super['render'](),this['_attachActions'](this['editButton'],'edit'),this['_attachActions'](this['removeButton'],'remove');}};function _0x51e5a1(_0x36a6ed){const _0x42e13a=_0x126ff9(_0x36a6ed,0x1e),_0x334cb6=new MutationObserver(_0x385e63=>{for(const _0x44d8f6 of _0x385e63)('attributes'==_0x44d8f6['type']&&'class'==_0x44d8f6['attributeName']||'childList'==_0x44d8f6['type']||'characterData'==_0x44d8f6['type'])&&_0x42e13a();});return{'attach'(_0x25e93a){_0x334cb6['observe'](_0x25e93a,{'attributes':!0x0,'childList':!0x0,'subtree':!0x0,'characterData':!0x0});},'detach'(){_0x334cb6['disconnect'](),_0x42e13a['cancel']();}};}var _0x2e5efc=class extends _0x14e616['View']{['focusTracker'];['id'];['keystrokes'];['content'];['mainView'];['_mutationObserver'];constructor(_0x23e896,_0x3e0a8a){super(_0x23e896),this['id']=(0x0,_0x14e616['uid'])(),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['keystrokes']['set']('Esc',(_0x100d6e,_0x1f15db)=>this['fire']('Esc',_0x1f15db)),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']=_0x51e5a1(()=>this['_updateHeight']()),this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this),this['content']['add'](_0x3e0a8a),this['mainView']=_0x3e0a8a;const _0x31b9d1=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-annotation-wrapper','ck-rounded-corners',_0x31b9d1['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 _0x119c8f=this['element']['clientHeight'];_0x119c8f&&(this['height']=_0x119c8f);}};const _0x372b1e=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x3723e3=class Annotation extends _0x372b1e{['view'];['focusableElements'];['_type'];['_target'];constructor({view:_0x13f19c,target:_0x5ae4c0,type:_0x12bc19,isVisible:_0x15301b=!0x0}){super(),this['view']=_0x13f19c,this['view']['element']||this['view']['render'](),this['_type']=_0x12bc19,this['_target']=_0x5ae4c0,Annotation['_assertCorrectTarget'](this['_getNormalizedTarget']()),this['focusableElements']=new _0x14e616['Collection']([this['view']['element']],{'idProperty':'_id'}),this['focusableElements']['on']('add',(_0x1be121,_0x183ed7)=>{this['view']['focusTracker']['add'](_0x183ed7);}),this['focusableElements']['on']('remove',(_0x3d7be4,_0x368a0e)=>{this['view']['focusTracker']['remove'](_0x368a0e);}),this['set']('isVisible',_0x15301b);}get['type'](){return'function'==typeof this['_type']?this['_type']():this['_type'];}get['innerView'](){return this['view']['mainView'];}get['target'](){const _0x5aeb1a=this['_getNormalizedTarget']();return Annotation['_assertCorrectTarget'](_0x5aeb1a),_0x5aeb1a;}get['targetRect'](){const _0x2d8664=this['target'];if(null===_0x2d8664)return null;if(_0x2d8664 instanceof _0x14e616['Rect'])return _0x2d8664;const _0x5569be=_0x2d8664['filter'](_0x334964=>function(_0x589810){return!!_0x589810['offsetParent']||!!_0x589810['getClientRects']()['item'](0x0);}(_0x334964));return 0x0===_0x5569be['length']?null:_0x14e616['Rect']['getDomElementRects'](_0x5569be[0x0])[0x0];}get['isActive'](){return this['view']['isActive'];}set['isActive'](_0xe75c9){this['view']['isActive']=_0xe75c9,this['view']['mainView']['isActive']=_0xe75c9;}['updateTargetRect'](){this['view']['targetRect']=this['targetRect'];}['destroy'](){this['focusableElements']['stopListening'](),this['focusableElements']['clear'](),this['stopListening']();}['refreshVisibility'](){this['isVisible']=!!this['targetRect'];}static['_assertCorrectTarget'](_0x1cfa3c){if(!(null===_0x1cfa3c||_0x1cfa3c instanceof _0x14e616['Rect']||Array['isArray'](_0x1cfa3c)&&_0x1cfa3c['every'](_0x5ea17b=>_0x32610f(_0x5ea17b))))throw new _0x14e616['CKEditorError']('annotation-invalid-target',null,{'target':_0x1cfa3c});}['_getNormalizedTarget'](){const _0x1e18df='function'==typeof this['_target']?this['_target']():this['_target'];return _0x32610f(_0x1e18df)?[_0x1e18df]:_0x1e18df;}};function _0x32610f(_0x41f77b){return null!==_0x41f77b&&'object'==typeof _0x41f77b&&'nodeType'in _0x41f77b&&0x1===_0x41f77b['nodeType'];}var _0x3022dd=class extends _0x14e616['Collection']{['_innerViewToAnnotation'];['_viewToAnnotation'];['_focusTracker'];constructor(_0x586273=[]){super(),this['_innerViewToAnnotation']=new Map(),this['_viewToAnnotation']=new Map(),this['_focusTracker']=new _0x14e616['FocusTracker'](),this['_focusTracker']['on']('change:isFocused',(_0x413bd1,_0x5ce3e5,_0x34226d)=>{_0x34226d||this['fire']('blur');});for(const _0x12547e of _0x586273)this['add'](_0x12547e);}get['isFocused'](){return this['_focusTracker']['isFocused'];}['add'](_0x276b25){if(this['has'](_0x276b25))throw new _0x14e616['CKEditorError']('annotationcollection-duplicated-item',null);this['_innerViewToAnnotation']['set'](_0x276b25['innerView'],_0x276b25),this['_viewToAnnotation']['set'](_0x276b25['view'],_0x276b25);for(const _0x53766e of _0x276b25['focusableElements'])this['_focusTracker']['add'](_0x53766e);if(this['listenTo'](_0x276b25['focusableElements'],'add',(_0x5c9f29,_0x3c7b58)=>{this['_focusTracker']['add'](_0x3c7b58);}),this['listenTo'](_0x276b25['focusableElements'],'remove',(_0x4cc537,_0x6c95c2)=>{this['_focusTracker']['remove'](_0x6c95c2);}),this['listenTo'](_0x276b25['view']['focusTracker'],'change:isFocused',(_0x70bd1c,_0x4da4ef,_0xc50f33)=>{_0xc50f33&&this['fire']('focus',_0x276b25);}),_0x276b25['updateTargetRect'](),this['_areCachedRectsStale']()){for(const _0x3549c3 of this)_0x3549c3['updateTargetRect']();}const _0x48a2e6=this['_getOrderInContent'](_0x276b25['view']['targetRect']);return super['add'](_0x276b25,_0x48a2e6);}['remove'](_0x6ec245){if(!this['has'](_0x6ec245))throw new _0x14e616['CKEditorError']('annotationcollection-not-existing-item',null);this['stopListening'](_0x6ec245['view']['focusTracker']),this['stopListening'](_0x6ec245['focusableElements']);for(const _0x1be342 of _0x6ec245['focusableElements'])this['_focusTracker']['remove'](_0x1be342);return this['_viewToAnnotation']['delete'](_0x6ec245['view']),this['_innerViewToAnnotation']['delete'](_0x6ec245['innerView']),super['remove'](_0x6ec245);}['getByInnerView'](_0x4c9578){return this['_innerViewToAnnotation']['get'](_0x4c9578);}['getByView'](_0x327651){return this['_viewToAnnotation']['get'](_0x327651);}['destroy'](){super['clear'](),this['stopListening'](),this['_innerViewToAnnotation']['clear'](),this['_viewToAnnotation']['clear'](),this['_focusTracker']['destroy']();}['refreshPositioning'](){for(const _0x300cc5 of this)_0x300cc5['updateTargetRect']();this['_sort']();}['_sort'](){const _0x488f94=Array['from'](this)['sort']((_0x5e7b57,_0x1ae148)=>_0x281049(_0x5e7b57['view']['targetRect'],_0x1ae148['view']['targetRect']));for(let _0x41b910=_0x488f94['length']-0x1;_0x41b910>0x0;_0x41b910--){const _0x277d7a=_0x488f94[_0x41b910];_0x41b910!==this['getIndex'](_0x277d7a)&&(this['remove'](_0x277d7a),this['add'](_0x277d7a));}}['_getOrderInContent'](_0x5365f5){let _0x2d6e88=0x0;if(!_0x5365f5)return this['length'];for(const _0x4be22e of this){const _0x3eb124=_0x4be22e['view']['targetRect'];if(_0x3eb124){if(_0x281049(_0x5365f5,_0x3eb124)<0x0)return _0x2d6e88;_0x2d6e88++;}}return _0x2d6e88;}['_areCachedRectsStale'](){const _0x47d0eb=this['get'](0x0);if(!_0x47d0eb)return!0x1;const _0x30ef1e=_0x47d0eb['view']['targetRect'],_0x4e10c8=_0x47d0eb['targetRect'];return!(!_0x30ef1e||!_0x4e10c8)&&(_0x30ef1e['top']!==_0x4e10c8['top']||_0x30ef1e['left']!==_0x4e10c8['left']);}};function _0x54950e({source:_0x2bbdda,target:_0x28a3a0,filter:_0x207a78}){for(const _0x4ec4fb of _0x2bbdda)_0x207a78(_0x4ec4fb)&&_0x28a3a0['add'](_0x4ec4fb);_0x28a3a0['listenTo'](_0x2bbdda,'add',(_0x1fac70,_0x59b604)=>{_0x207a78(_0x59b604)&&_0x28a3a0['add'](_0x59b604);}),_0x28a3a0['listenTo'](_0x2bbdda,'remove',(_0x5b20e9,_0x9d1d80)=>{_0x28a3a0['has'](_0x9d1d80)&&_0x28a3a0['remove'](_0x9d1d80);});}function _0x281049(_0x171918,_0x355df6){if(null===_0x171918&&null===_0x355df6)return 0x0;if(null===_0x171918)return-0x1;if(null===_0x355df6)return 0x1;const _0x2d40c7=_0x171918['top']-_0x355df6['top'];return 0x0==_0x2d40c7?_0x171918['left']-_0x355df6['left']:_0x2d40c7;}var _0x3007a9=class extends _0x14e616['ContextPlugin']{['collection'];['_visibleAnnotations'];static get['pluginName'](){return'Annotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5855b4){if(super(_0x5855b4),this['collection']=new _0x3022dd(),this['_visibleAnnotations']=new _0x3022dd(),this['set']('activeAnnotations',new Set()),this['_bindAnnotationsToVisibleAnnotations'](),_0x5855b4 instanceof _0x14e616['Editor']){const _0x1867f9=_0x5855b4['locale'];_0x5855b4['accessibility']['addKeystrokeInfoGroup']({'id':'annotations','label':_0x2412ce(_0x1867f9,'ACCESSIBILITY_HELP_ANNOTATIONS_GROUP'),'keystrokes':[{'label':_0x2412ce(_0x1867f9,'ACCESSIBILITY_HELP_ANNOTATIONS_MOVE_TO'),'keystroke':'Ctrl+Shift+E'},{'label':_0x2412ce(_0x1867f9,'ACCESSIBILITY_HELP_ANNOTATIONS_EXIT'),'keystroke':'Esc'},{'label':_0x2412ce(_0x1867f9,'ACCESSIBILITY_HELP_ANNOTATIONS_ENTER'),'keystroke':'Enter'},{'label':_0x2412ce(_0x1867f9,'ACCESSIBILITY_HELP_ANNOTATIONS_BROWSE_GROUPS'),'keystroke':[['Tab'],['Shift+Tab']]},{'label':_0x2412ce(_0x1867f9,'ACCESSIBILITY_HELP_ANNOTATIONS_SUBMIT_COMMENT'),'keystroke':['Ctrl+Enter']},{'label':_0x2412ce(_0x1867f9,'ACCESSIBILITY_HELP_ANNOTATIONS_NAVIGATE_THREADS'),'keystroke':[['Arrowup'],['Arrowdown']]}]});}this['_setupEnterAnnotationKeystroke'](),this['_setupEscapeAnnotationHandling']();}['add'](_0x5d665f){this['collection']['add'](_0x5d665f);}['remove'](_0x34fba6){this['collection']['remove'](_0x34fba6),_0x34fba6['destroy']();}['refreshVisibility'](){for(const _0x249429 of this['collection'])_0x249429['refreshVisibility']();}['refreshPositioning'](){this['_visibleAnnotations']['refreshPositioning']();}['getByInnerView'](_0x4adb6e){return this['collection']['getByInnerView'](_0x4adb6e);}['deactivateAll'](){this['fire']('_deactivateAllAnnotations');}['destroy'](){for(const _0x3569c2 of this['collection'])_0x3569c2['destroy']();this['_visibleAnnotations']['destroy'](),this['collection']['destroy'](),super['destroy']();}['activate'](_0x1f2b20){this['fire']('_activateAnnotation',_0x1f2b20);}['createAnnotation'](_0x4bb24e){return new _0x3723e3(_0x4bb24e);}['createAnnotationView'](_0x5738b6,_0x35d56b){return new _0x2e5efc(_0x5738b6,_0x35d56b);}['_addActiveAnnotation'](_0x5ddd3d){const _0x26a8cf=new Set(this['activeAnnotations']);_0x26a8cf['add'](_0x5ddd3d),this['activeAnnotations']=_0x26a8cf;}['_removeActiveAnnotation'](_0x1dbaa2){const _0x520936=new Set(this['activeAnnotations']);_0x520936['delete'](_0x1dbaa2),this['activeAnnotations']=_0x520936;}['_bindAnnotationsToVisibleAnnotations'](){const _0x173311=this['collection'],_0x1a403d=this['_visibleAnnotations'];function _0x440027(_0x347f9e){const _0x9bb177=_0x347f9e['source'];_0x9bb177['isVisible']&&!_0x1a403d['has'](_0x9bb177)?_0x1a403d['add'](_0x9bb177):!_0x9bb177['isVisible']&&_0x1a403d['has'](_0x9bb177)&&_0x1a403d['remove'](_0x9bb177),_0x9bb177['view']['focusTracker']['remove'](_0x9bb177['view']['element']),_0x9bb177['view']['focusTracker']['add'](_0x9bb177['view']['element']);}this['listenTo'](_0x173311,'add',(_0x10c178,_0x311f12)=>{_0x311f12['isVisible']&&_0x1a403d['add'](_0x311f12),this['listenTo'](_0x311f12,'change:isVisible',_0x440027);}),this['listenTo'](_0x173311,'remove',(_0x4261e5,_0xc2e573)=>{_0x1a403d['has'](_0xc2e573)&&_0x1a403d['remove'](_0xc2e573),this['stopListening'](_0xc2e573,'change:isVisible',_0x440027);});}['_setupEnterAnnotationKeystroke'](){const _0x5b0957=_0xf6e53=>{_0xf6e53['on']('ready',()=>{_0xf6e53['keystrokes']['set'](_0x1fa44b,(_0x146ce4,_0x1f2fa8)=>{const _0x7d1703=(0x0,_0x14e616['first'])(this['activeAnnotations']['values']());_0x7d1703&&(_0x7d1703['view']['focus'](),_0x1f2fa8());});});};this['context']instanceof _0x14e616['Editor']?_0x5b0957(this['context']):this['context']['editors']&&this['context']['editors']['on']('add',(_0x2dfaf4,_0x106892)=>{_0x5b0957(_0x106892);});}['_setupEscapeAnnotationHandling'](){const _0x4bce1c=_0x4c1c33=>{const _0xdbf17a=_0x4c1c33['source'],_0xe176a9=[];let _0x2823d0;if(Array['isArray'](_0xdbf17a['target'])){_0x2823d0=_0xdbf17a['target'][0x0],this['context']instanceof _0x14e616['Editor']?_0xe176a9['push'](this['context']):this['context']['editors']&&_0xe176a9['push'](...this['context']['editors']);for(const _0x110db3 of _0xe176a9)for(const _0x28591a of _0x110db3['editing']['view']['domRoots']['values']())if(_0x28591a['contains'](_0x2823d0))return void _0x110db3['editing']['view']['focus']();_0x2823d0['focus']();}};this['listenTo'](this['collection'],'add',(_0x1c364e,_0x449359)=>{this['listenTo'](_0x449359,'escape',_0x4bce1c,{'priority':'low'});}),this['listenTo'](this['collection'],'remove',(_0x163180,_0x3ef47f)=>{this['stopListening'](_0x3ef47f,'escape',_0x4bce1c);});}};const _0x3515d1=Symbol('noChannel'),_0x2a969a={'admin':!0x0,'modifyAll':!0x1,'write':!0x0,'resolve':!0x0},_0x3dc68c=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])(),_0x5cb567=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0xc5d2f4=class extends _0x14e616['ContextPlugin']{['_threads'];['_threadToController'];['_viewToController'];static get['requires'](){return[_0x3007a9,_0x14e616['PendingActions'],_0x17484f];}static get['pluginName'](){return'CommentsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0xf64b6){super(_0xf64b6),this['_threads']=new Map(),this['_threadToController']=new Map(),this['_viewToController']=new Map(),this['set']('_readOnlyChannels',new Set()),this['set']('_permissions',new Map());const _0x4d8318=this['context']['config'];_0x4d8318['define']('comments.maxCommentsWhenCollapsed',0x2),_0x4d8318['define']('comments.maxThreadTotalWeight',0x1f4),_0x4d8318['define']('comments.maxCommentCharsWhenCollapsed',0x8c),_0x4d8318['define']('comments.CommentThreadView',_0x2b2c18),_0x4d8318['define']('comments.CommentView',_0x5e1026),_0x4d8318['get']('comments.editorConfig')||console['warn']('Missing\x20comments\x20editor\x20configuration\x20(`comments.editorConfig`).\x20Default\x20configuration\x20will\x20be\x20used\x20instead.');}['init'](){const _0x4be088=this['context']['plugins']['get'](_0x3007a9);this['set']('activeCommentThread',null),this['on']('addCommentThread',(_0x4f947f,_0x3a3bc6)=>this['_addCommentThread'](_0x3a3bc6)),this['on']('submitCommentThread',(_0x2249a4,_0x31a128)=>this['_submitCommentThread'](_0x31a128)),this['on']('resolveCommentThread',(_0x41c1e3,_0xa8478c)=>this['_resolveCommentThread'](_0xa8478c)),this['on']('resolveCommentThread',(_0x21e256,_0x3a9cfe)=>this['_updateActiveAnnotation'](_0x3a9cfe),{'priority':'lowest'}),this['on']('reopenCommentThread',(_0x2e7346,_0x59af2b)=>this['_reopenCommentThread'](_0x59af2b)),this['on']('reopenCommentThread',(_0x38983c,_0x565861)=>this['_updateActiveAnnotation'](_0x565861),{'priority':'lowest'}),this['on']('removeCommentThread',(_0x5e9d46,_0x35f607)=>this['_removeCommentThread'](_0x35f607)),this['on']('updateCommentThread',(_0x430e5b,_0x3524ac)=>this['_updateCommentThread'](_0x3524ac)),this['on']('updateCommentThread',(_0x5aab8b,_0x563d81)=>this['_updateActiveAnnotation'](_0x563d81),{'priority':'lowest'}),this['on']('addComment',(_0x5966bd,_0x43fecb)=>this['_addComment'](_0x43fecb)),this['on']('updateComment',(_0x327f62,_0x2065fe)=>this['_updateComment'](_0x2065fe)),this['on']('removeComment',(_0x24e491,_0x4076d5)=>this['_removeComment'](_0x4076d5)),this['on']('addComment',(_0x5c87f8,{threadId:_0x1bdc25,isFromAdapter:_0x1329fe})=>{if(_0x1329fe)return;const _0x43d31c=this['getCommentThread'](_0x1bdc25),_0x35dad9=_0x43d31c&&this['_threadToController']['get'](_0x43d31c);_0x35dad9&&_0x35dad9['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['listenTo'](_0x4be088,'change:activeAnnotations',(_0x9e585f,_0x26e344,_0x551fc3)=>{const _0x3c78fc=Array['from'](_0x551fc3)['map'](_0x5e1441=>this['_viewToController']['get'](_0x5e1441['innerView']))['filter'](Boolean)[0x0];this['activeCommentThread']=_0x3c78fc?_0x3c78fc['model']:null;});}set['adapter'](_0x17e3ee){if(this['_adapter'])throw new _0x14e616['CKEditorError']('commentsrepository-adapter-already-set');this['_adapter']=_0x17e3ee;}get['adapter'](){return this['_adapter'];}['addCommentThread']({channelId:_0x4cb820=_0x3515d1,threadId:_0x573f5a=(0x0,_0x14e616['uid'])(),comments:_0x4d4bcd=[],unlinkedAt:_0xbab188=null,resolvedAt:_0x51f2ba=null,resolvedBy:_0x2ab4d1=null,target:_0x167efb=null,context:_0x4c3f54=null,attributes:_0x20b2c9={},isResolvable:_0x49003e=!0x0,isSubmitted:_0x37c6c8=!0x1,isFromAdapter:_0x18a4e2=!0x1}={}){return this['fire'](_0x39da9f('addCommentThread',_0x4cb820),{'channelId':_0x4cb820,'threadId':_0x573f5a,'comments':_0x4d4bcd,'unlinkedAt':_0xbab188,'resolvedAt':_0x51f2ba,'resolvedBy':_0x2ab4d1,'target':_0x167efb,'context':_0x4c3f54,'attributes':_0x20b2c9,'isFromAdapter':_0x18a4e2,'isResolvable':_0x49003e,'isSubmitted':_0x37c6c8}),this['getCommentThread'](_0x573f5a);}['openNewCommentThread']({channelId:_0x339af3=_0x3515d1,threadId:_0x5cb66d=(0x0,_0x14e616['uid'])(),target:_0x4a3a11,context:_0x27e50a=null,isResolvable:_0x407706=!0x0}){if(this['_readOnlyChannels']['has'](_0x339af3)||this['_readOnlyChannels']['has'](void 0x0))return null;if(!_0x4a3a11)throw new _0x14e616['CKEditorError']('commentsrepository-missing-target');const _0x4be9df=this['addCommentThread']({'channelId':_0x339af3,'threadId':_0x5cb66d,'target':_0x4a3a11,'context':_0x27e50a,'isResolvable':_0x407706});if(!_0x4be9df)return null;const _0x2129f3=this['_threadToController']['get'](_0x4be9df),_0x130538=_0x2129f3['view']['commentThreadInputView']['commentInputView'],_0x46b3fd=this['context']['plugins']['get'](_0x3007a9),_0x24e2b9=_0x46b3fd['getByInnerView'](_0x2129f3['view']);return _0x46b3fd['activate'](_0x24e2b9),_0x130538['once']('editorReady',()=>_0x130538['focus']()),_0x4be9df;}['hasCommentThread'](_0x173075){if('string'!=typeof _0x173075)throw new _0x14e616['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['has'](_0x173075);}['updateCommentThread']({channelId:_0x1cb680=_0x3515d1,threadId:_0x225720,context:_0x2bafe7,unlinkedAt:_0xf45544,attributes:_0x8c04d0,isFromAdapter:_0x4fe37c=!0x1}){return this['fire'](_0x39da9f('updateCommentThread',_0x1cb680),{'channelId':_0x1cb680,'threadId':_0x225720,'context':_0x2bafe7,'unlinkedAt':_0xf45544,'attributes':_0x8c04d0,'isFromAdapter':_0x4fe37c}),this['getCommentThread'](_0x225720);}['getCommentThread'](_0x4fe964){if('string'!=typeof _0x4fe964)throw new _0x14e616['CKEditorError']('commentsrepository-invalid-comment-thread-id');return this['_threads']['get'](_0x4fe964);}['fetchCommentThread']({channelId:_0x47e65f,threadId:_0x3f9cb0}={}){const _0x333499=this['getCommentThread'](_0x3f9cb0);if(_0x333499)return Promise['resolve'](_0x333499);if(!this['adapter'])return Promise['resolve'](void 0x0);if('function'!=typeof this['adapter']['getCommentThread'])throw new _0x14e616['CKEditorError']('commentsrepository-missing-thread-and-adapter-method',this['context']);return this['adapter']['getCommentThread']({'channelId':_0x47e65f,'threadId':_0x3f9cb0})['then'](_0xd42308=>this['hasCommentThread'](_0x3f9cb0)?this['getCommentThread'](_0x3f9cb0):_0xd42308?this['addCommentThread'](Object['assign']({'isFromAdapter':!0x0,'channelId':_0x47e65f},_0xd42308)):void 0x0)['catch'](_0x226d33=>{throw console['error'](_0x226d33),new _0x14e616['CKEditorError']('commentsrepository-fetch-comment-thread',this['context']);});}['getCommentThreads']({channelId:_0x2dfb08,skipNotAttached:_0x4a3f6f=!0x1,skipEmpty:_0x6613ec=!0x1,toJSON:_0x3c463a=!0x1}={}){const _0x59438c=[];for(const _0x1e4eb1 of this['_threads']['values']())_0x2dfb08&&_0x1e4eb1['channelId']!==_0x2dfb08||_0x4a3f6f&&!_0x1e4eb1['isAttached']||_0x6613ec&&0x0===_0x1e4eb1['length']||_0x59438c['push'](_0x1e4eb1);return _0x3c463a?_0x59438c['map'](_0x2ddf93=>_0x2ddf93['toJSON']()):_0x59438c;}['getAnnotationForCommentThread'](_0x3555d6){const _0x58b9f0=this['_threadToController']['get'](_0x3555d6);return _0x58b9f0&&this['context']['plugins']['get'](_0x3007a9)['getByInnerView'](_0x58b9f0['view'])||null;}['getCommentThreadForAnnotation'](_0x18efa0){const _0x5c1eee=this['_viewToController']['get'](_0x18efa0['innerView']);return _0x5c1eee?_0x5c1eee['model']:null;}['setActiveCommentThread'](_0x4765be){const _0x3785b8=this['context']['plugins']['get'](_0x3007a9);if(!_0x4765be)return void(this['activeCommentThread']&&_0x3785b8['deactivateAll']());const _0x3c282b=this['getCommentThread'](_0x4765be);if(!_0x3c282b)throw new _0x14e616['CKEditorError']('commentsrepository-active-missing-comment-thread',null,{'threadId':_0x4765be});if(!this['_threadToController']['has'](_0x3c282b))throw new _0x14e616['CKEditorError']('commentsrepository-active-not-attached',null,{'threadId':_0x4765be});const _0x57b55c=_0x3785b8['getByInnerView'](this['_threadToController']['get'](_0x3c282b)['view']);_0x3785b8['activate'](_0x57b55c);}['switchReadOnly'](_0x1f437b,_0x148f3e){_0x1f437b?this['_readOnlyChannels']['add'](_0x148f3e):this['_readOnlyChannels']['delete'](_0x148f3e),this['fire']('change:_readOnlyChannels','_readOnlyChannels',this['_readOnlyChannels'],this['_readOnlyChannels']);}['isReadOnly'](_0x42149e){return this['_readOnlyChannels']['has'](_0x42149e)||this['_readOnlyChannels']['has'](void 0x0);}['createCommentThreadController'](_0x317394,_0x5463f5){return new _0x1acd74(_0x317394,_0x5463f5);}['setPermissions'](_0x4aff04,_0x2d50a6=_0x3515d1){this['_permissions']['set'](_0x2d50a6,_0x4aff04),this['fire']('change:_permissions','_permissions',this['_permissions'],this['_permissions']);}['getPermissions'](_0x5d9a6c=_0x3515d1){return this['_permissions']['has'](_0x5d9a6c)?this['_permissions']['get'](_0x5d9a6c):_0x2a969a;}['_addCommentThread']({channelId:_0x11e522,threadId:_0x1f9c43,comments:_0x689192,unlinkedAt:_0x5e53c8,resolvedAt:_0x1f627d,resolvedBy:_0x310d75,target:_0x1f192a,context:_0xcfaf85,attributes:_0x25e71d,isFromAdapter:_0x15dcf3,isResolvable:_0x5e829f,isSubmitted:_0x192bce}){if('string'!=typeof _0x1f9c43)throw new _0x14e616['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x1f9c43});if(this['hasCommentThread'](_0x1f9c43))throw new _0x14e616['CKEditorError']('commentsrepository-duplicated-comment-thread-id',null,{'threadId':_0x1f9c43});const _0x14d5f7=new _0x367c37(this,{'channelId':_0x11e522,'id':_0x1f9c43,'context':_0xcfaf85,'attributes':_0x25e71d,'unlinkedAt':_0x5e53c8,'resolvedAt':_0x1f627d,'resolvedBy':_0x310d75?this['context']['plugins']['get'](_0x17484f)['getUser'](_0x310d75):null,'isResolvable':_0x5e829f,'isSubmitted':_0x192bce||_0x15dcf3});this['_threads']['set'](_0x1f9c43,_0x14d5f7);for(const _0x3bab31 of _0x689192)_0x14d5f7['_add'](this['_createNewComment']({'threadId':_0x1f9c43,..._0x3bab31}));return _0x1f192a&&_0x14d5f7['attachTo'](_0x1f192a),_0x15dcf3||!_0x14d5f7['length']?Promise['resolve']():this['_submitCommentThread']({'channelId':_0x11e522,'threadId':_0x1f9c43});}['_submitCommentThread']({channelId:_0x171e56,threadId:_0x4f39d1}){if(!this['hasCommentThread'](_0x4f39d1))throw new _0x14e616['CKEditorError']('commentsrepository-missing-comment-thread',this);const _0x3110bb=this['getCommentThread'](_0x4f39d1);if(_0x3110bb['_isSubmitted']=!0x0,!this['adapter']||'function'!=typeof this['adapter']['addCommentThread'])return Promise['resolve']();const {id:_0x3ff034,comments:_0x23663c,resolvedAt:_0x3fd463,resolvedBy:_0x4c0f7e,context:_0x58fa52,attributes:_0x26df73}=_0x3110bb,_0x573379=this['context']['plugins']['get']('PendingActions'),_0x45ce43=_0x573379['add'](_0x2412ce(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['addCommentThread']({'channelId':_0x171e56,'threadId':_0x3ff034,'comments':_0x23663c['map'](_0x1c5c9c=>_0x1c5c9c['toJSON']()),'resolvedAt':_0x3fd463,'resolvedBy':_0x4c0f7e?_0x4c0f7e['id']:_0x4c0f7e,'context':_0x58fa52,'attributes':_0x26df73})['then'](({comments:_0x30dd59})=>{_0x573379['remove'](_0x45ce43);for(const _0x3110e7 of _0x30dd59)this['_updateComment']({'channelId':_0x171e56,'threadId':_0x4f39d1,'commentId':_0x3110e7['commentId'],'createdAt':_0x3110e7['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x110411=>{throw console['error'](_0x110411),new _0x14e616['CKEditorError']('commentsrepository-add-comment-thread-internal-error',this);});}['_attachCommentThread']({threadId:_0x3abf6d,target:_0x27ddc6}){const _0x9112ac=this['getCommentThread'](_0x3abf6d);if(!_0x9112ac)throw new _0x14e616['CKEditorError']('commentsrepository-attach-missing-comment-thread',this);const _0x164458=this['context']['plugins']['get']('PendingActions'),_0x526b73=this['context']['plugins']['get'](_0x3007a9),_0x4778f8=this['_createCommentThreadView'](_0x9112ac),_0x4cbcad=new _0x1acd74(_0x9112ac,_0x4778f8);let _0x530871=null;_0x4778f8['on']('change:isDirty',(_0x2fe07c,_0x124b0c,_0x150766)=>{_0x150766?_0x530871=_0x164458['add'](_0x2412ce(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD')):_0x530871&&(_0x164458['remove'](_0x530871),_0x530871=null);}),this['_threadToController']['set'](_0x9112ac,_0x4cbcad),this['_viewToController']['set'](_0x4778f8,_0x4cbcad);const _0x2283e3=new _0x2e5efc(this['context']['locale'],_0x4778f8);_0x2283e3['bind']('length')['to'](_0x4778f8),_0x2283e3['bind']('isDirty')['to'](_0x4778f8,'isDirty',_0x4778f8,'length',(_0x51f2d9,_0x2e14e0)=>_0x51f2d9||!_0x2e14e0),_0x2283e3['bind']('isActive')['to'](_0x4778f8),_0x2283e3['type']='comment';const _0x452c4e=new _0x3723e3({'view':_0x2283e3,'target':_0x27ddc6,'type':'comment','isVisible':!_0x9112ac['archivedAt']&&!!('function'==typeof _0x27ddc6?_0x27ddc6():_0x27ddc6)});return _0x4778f8['on']('escape',()=>{_0x452c4e['fire']('escape');}),this['_bindAnnotationToEditors'](_0x4778f8,_0x452c4e),_0x526b73['add'](_0x452c4e),_0x452c4e;}['_bindAnnotationToEditors'](_0x1cef64,_0x3852e6){this['listenTo'](_0x1cef64,'editorReady',(_0x17a02f,_0xb9a216)=>{const _0x1ec28c=_0xb9a216['ui']['view']['body']['bodyCollectionContainer'];_0x3852e6['focusableElements']['add'](_0x1ec28c),this['context']instanceof _0x14e616['Editor']&&this['context']['ui']['focusTracker']['add'](_0x1ec28c);},{'priority':'highest'}),this['listenTo'](_0x1cef64,'editorDestroyed',(_0x5dee25,_0x5924f4)=>{const _0x453cce=_0x5924f4['ui']['view']['body']['bodyCollectionContainer'];_0x3852e6['focusableElements']['has'](_0x453cce)&&_0x3852e6['focusableElements']['remove'](_0x453cce),this['context']instanceof _0x14e616['Editor']&&this['context']['ui']['focusTracker']['remove'](_0x453cce);});}['_unbindEditors'](_0x5f22f6){this['stopListening'](_0x5f22f6,'editorReady'),this['stopListening'](_0x5f22f6,'editorDestroyed');}['_createCommentThreadView'](_0x150c13){const _0x16b14b=this['context']['plugins']['get'](_0x17484f),{config:_0x496890,locale:_0x47218b}=this['context'],_0x2289bb=_0x1f91ed(_0x496890['get']('locale'),_0x47218b);return new(0x0,(_0x496890['get']('comments'))['CommentThreadView'])(_0x47218b,_0x150c13,_0x16b14b['me'],{'editorConfig':{..._0x496890['get']('comments.editorConfig'),'licenseKey':this['context']['config']['get']('licenseKey')},'copyMarkers':_0x496890['get']('comments.copyMarkers'),'maxCommentsWhenCollapsed':_0x496890['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x496890['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x496890['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x2289bb,'CommentView':_0x496890['get']('comments')['CommentView']});}['_resolveCommentThread']({threadId:_0x7c78dd,channelId:_0x5cc517,resolvedAt:_0x402a3c,resolvedBy:_0x2a1435,isFromAdapter:_0x3ce891}){if(!this['hasCommentThread'](_0x7c78dd))throw new _0x14e616['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x7c78dd});const _0x1fdb83=this['getCommentThread'](_0x7c78dd);if(_0x1fdb83['isResolved'])throw new _0x14e616['CKEditorError']('commentsrepository-resolved-comment-thread',null,{'threadId':_0x7c78dd});const _0x2f97b7=this['context']['plugins']['get'](_0x17484f);if(_0x1fdb83['resolvedBy']=_0x2f97b7['getUser'](_0x2a1435),_0x1fdb83['resolvedAt']=_0x402a3c,_0x3ce891||!this['adapter']||'function'!=typeof this['adapter']['resolveCommentThread'])return Promise['resolve']();const _0x2bc427=this['context']['plugins']['get']('PendingActions'),_0x4e714e=_0x2bc427['add'](_0x2412ce(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['resolveCommentThread']({'channelId':_0x5cc517,'threadId':_0x7c78dd})['then'](({resolvedAt:_0x93c81a,resolvedBy:_0x5baf36})=>{_0x2bc427['remove'](_0x4e714e),_0x1fdb83['resolvedBy']['id']!==_0x5baf36&&(_0x1fdb83['resolvedBy']=_0x2f97b7['getUser'](_0x5baf36)),_0x1fdb83['resolvedAt']=_0x93c81a;})['catch'](_0xf77db=>{throw console['error'](_0xf77db),new _0x14e616['CKEditorError']('commentsrepository-resolve-comment-thread-internal-error',this);});}['_reopenCommentThread']({threadId:_0x3f1fa0,channelId:_0x1bf26f,isFromAdapter:_0x25b08f}){if(!this['hasCommentThread'](_0x3f1fa0))throw new _0x14e616['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x3f1fa0});const _0x504930=this['getCommentThread'](_0x3f1fa0);if(!_0x504930['isResolved'])throw new _0x14e616['CKEditorError']('commentsrepository-reopen-comment-thread',null,{'threadId':_0x3f1fa0});if(_0x504930['resolvedBy']=null,_0x504930['resolvedAt']=null,_0x25b08f||!this['adapter']||'function'!=typeof this['adapter']['reopenCommentThread'])return Promise['resolve']();const _0x4522c4=this['context']['plugins']['get']('PendingActions'),_0x2766e3=_0x4522c4['add'](_0x2412ce(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['reopenCommentThread']({'channelId':_0x1bf26f,'threadId':_0x3f1fa0})['then'](()=>_0x4522c4['remove'](_0x2766e3))['catch'](_0x63481f=>{throw console['error'](_0x63481f),new _0x14e616['CKEditorError']('commentsrepository-reopen-comment-thread-internal-error',this);});}['_removeCommentThread']({threadId:_0x3c0256,isFromAdapter:_0x322b8a}){const _0x23eb9a=this['getCommentThread'](_0x3c0256);if(!_0x23eb9a)throw new _0x14e616['CKEditorError']('commentsrepository-remove-missing-comment-thread',this);if(this['_detachCommentThread'](_0x3c0256),this['_threads']['delete'](_0x3c0256),!_0x23eb9a['isSubmitted']||_0x322b8a||!this['adapter']||'function'!=typeof this['adapter']['removeCommentThread'])return Promise['resolve']();const _0x2f2b9a=this['context']['plugins']['get']('PendingActions'),{channelId:_0x475348}=_0x23eb9a,_0x2f56fd=_0x2f2b9a['add'](_0x2412ce(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeCommentThread']({'channelId':_0x475348,'threadId':_0x3c0256})['then'](()=>_0x2f2b9a['remove'](_0x2f56fd))['catch'](_0x23e33c=>{throw console['error'](_0x23e33c),new _0x14e616['CKEditorError']('commentsrepository-remove-comment-thread-internal-error',this);});}['_updateCommentThread']({threadId:_0x29db55,unlinkedAt:_0x5cae40,context:_0x3527d2,attributes:_0xabe10b,isFromAdapter:_0x1c24ab}){if('string'!=typeof _0x29db55)throw new _0x14e616['CKEditorError']('commentsrepository-invalid-comment-thread-id',null,{'threadId':_0x29db55});if(!this['hasCommentThread'](_0x29db55))throw new _0x14e616['CKEditorError']('commentsrepository-missing-comment-thread',null,{'threadId':_0x29db55});const _0x39288b=this['getCommentThread'](_0x29db55);let _0x1843df=!0x1;if(void 0x0!==_0x3527d2&&_0x39288b['context']!==_0x3527d2&&(_0x39288b['context']=_0x3527d2,_0x1843df=!0x0),void 0x0!==_0x5cae40&&_0x39288b['unlinkedAt']!==_0x5cae40&&(_0x39288b['unlinkedAt']=_0x5cae40,_0x1843df=!0x0),_0xabe10b&&!ft(_0xabe10b,_0x39288b['attributes'])&&(_0x39288b['attributes']=_0xabe10b,_0x1843df=!0x0),!_0x1843df)return Promise['resolve']();if(!_0x39288b['isSubmitted']||_0x1c24ab||!this['adapter']||'function'!=typeof this['adapter']['updateCommentThread'])return Promise['resolve']();const _0x1f66e8=this['context']['plugins']['get']('PendingActions'),{channelId:_0x32785a}=_0x39288b,_0x1e1baa=_0x1f66e8['add'](_0x2412ce(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateCommentThread']({'channelId':_0x32785a,'threadId':_0x29db55,'context':_0x3527d2,'unlinkedAt':_0x5cae40,'attributes':_0xabe10b})['then'](()=>_0x1f66e8['remove'](_0x1e1baa))['catch'](_0x5bd20a=>{throw console['error'](_0x5bd20a),new _0x14e616['CKEditorError']('commentsrepository-update-comment-thread-internal-error',this);});}['_detachCommentThread'](_0x359e92){const _0x5d3dc4=this['context']['plugins']['get'](_0x3007a9),_0x22e81c=this['getCommentThread'](_0x359e92);if(_0x22e81c['_isAttached']=!0x1,this['_threadToController']['has'](_0x22e81c)){const _0x44f3f7=this['_threadToController']['get'](_0x22e81c),_0x56552e=_0x44f3f7['view'],_0x2776fa=_0x5d3dc4['getByInnerView'](_0x56552e);this['_threadToController']['delete'](_0x22e81c),this['_viewToController']['delete'](_0x56552e),_0x2776fa&&_0x5d3dc4['remove'](_0x2776fa),_0x44f3f7['destroy'](),_0x56552e['destroy']()['then'](()=>{this['_unbindEditors'](_0x56552e);});}}['_updateActiveAnnotation']({threadId:_0x437cbd,resolvedAt:_0x25188a,unlinkedAt:_0x1d8489}){const _0x17f3d4=!!_0x25188a,_0x16d65d=this['context']['plugins']['get'](_0x3007a9),_0x1c9bc7=this['getCommentThread'](_0x437cbd);if(this['_threadToController']['has'](_0x1c9bc7)){const _0x1c4734=this['_threadToController']['get'](_0x1c9bc7)['view'],_0x4fd90c=_0x16d65d['getByInnerView'](_0x1c4734);_0x4fd90c&&(_0x17f3d4&&_0x16d65d['_removeActiveAnnotation'](_0x4fd90c),_0x1d8489?_0x4fd90c['isVisible']=!0x1:_0x4fd90c['refreshVisibility']());}}['_getExternalAuthor'](_0xbed87c){const _0x1bfcd5=this['context']['plugins']['get'](_0x17484f),_0x5f0802=_0x170940('external:'+_0xbed87c),_0x37d233=_0x1bfcd5['getUser'](_0x5f0802);return _0x37d233||_0x1bfcd5['addUser']({'id':_0x5f0802,'name':_0xbed87c});}['_createNewComment']({threadId:_0x18d71b,commentId:_0x569db1=(0x0,_0x14e616['uid'])(),content:_0x14c71a,authorId:_0x525b5e,createdAt:_0x3b4c16,attributes:_0x4f625d}){if('string'!=typeof _0x569db1)throw new _0x14e616['CKEditorError']('commentsrepository-invalid-commentid');if('string'!=typeof _0x525b5e)throw new _0x14e616['CKEditorError']('commentsrepository-invalid-comment-authorid');if('string'!=typeof _0x14c71a||!_0x14c71a['trim']())throw new _0x14e616['CKEditorError']('commentsrepository-invalid-comment-content');const _0x58a6a1=this['context']['plugins']['get'](_0x17484f)['getUser'](_0x525b5e);if(!_0x58a6a1)throw new _0x14e616['CKEditorError']('commentsrepository-add-comment-user-not-exists',null,{'authorId':_0x525b5e});let _0x371d78=null,_0x38a28a=_0x3b4c16;return _0x4f625d?.['@external']&&(_0x371d78=this['_getExternalAuthor'](_0x4f625d['@external']['authorName']),_0x38a28a=new Date(_0x4f625d['@external']['createdAt'])),new _0x3501e3(this,{'threadId':_0x18d71b,'id':_0x569db1,'author':_0x371d78||_0x58a6a1,'creator':_0x58a6a1,'content':_0x14c71a,'createdAt':_0x3b4c16,'authoredAt':_0x38a28a,'attributes':_0x4f625d});}['_addComment'](_0x465e29){let {threadId:_0x120900,content:_0x13f0de,attributes:_0x27e515,isFromAdapter:_0x3dcf20}=_0x465e29;const _0x4c7f52=this['getCommentThread'](_0x465e29['threadId']);if(!_0x4c7f52)throw new _0x14e616['CKEditorError']('commentsrepository-add-comment-to-missing-comment-thread',this);const _0x2efcb1=this['_createNewComment'](_0x465e29),{id:_0x465589}=_0x2efcb1;if(_0x4c7f52['_add'](_0x2efcb1),_0x3dcf20||!this['adapter']||'function'!=typeof this['adapter']['addComment']||!_0x4c7f52['isSubmitted'])return Promise['resolve']();const _0x135417=this['context']['plugins']['get']('PendingActions'),{channelId:_0x4c3b03}=_0x4c7f52,_0x2c302c=_0x135417['add'](_0x2412ce(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return _0x27e515||(_0x27e515={}),this['adapter']['addComment']({'channelId':_0x4c3b03,'threadId':_0x120900,'commentId':_0x465589,'content':_0x13f0de,'attributes':_0x27e515})['then'](_0xcc07d5=>{_0x135417['remove'](_0x2c302c),_0xcc07d5&&this['_updateComment']({'channelId':_0x4c3b03,'threadId':_0x120900,'commentId':_0x465589,'createdAt':_0xcc07d5['createdAt'],'isFromAdapter':!0x0});})['catch'](_0x1c0dd3=>{throw console['error'](_0x1c0dd3),new _0x14e616['CKEditorError']('commentsrepository-add-comment-internal-error',this);});}['_updateComment']({threadId:_0x50bf51,commentId:_0x44f24f,content:_0x351df3,createdAt:_0x1f7eab,attributes:_0x3b5030,isFromAdapter:_0x22a1b9}){if(void 0x0!==_0x351df3&&('string'!=typeof _0x351df3||!_0x351df3['trim']()['length']))throw new _0x14e616['CKEditorError']('commentsrepository-update-comment-invalid-content');const _0x6fe55a=this['getCommentThread'](_0x50bf51),_0x5807e8=_0x6fe55a['getComment'](_0x44f24f);if(!_0x5807e8)throw new _0x14e616['CKEditorError']('commentsrepository-update-missing-comment',this);let _0x179710=!0x1;if(_0x351df3&&_0x351df3!==_0x5807e8['content']&&(_0x5807e8['isEditable']||_0x22a1b9)&&(_0x5807e8['content']=_0x351df3,_0x179710=!0x0),_0x1f7eab&&_0x1f7eab!==_0x5807e8['createdAt']&&(_0x5807e8['createdAt']=_0x1f7eab,_0x5807e8['isExternal']||(_0x5807e8['authoredAt']=_0x1f7eab),_0x179710=!0x0),_0x3b5030&&!ft(_0x3b5030,_0x5807e8['attributes'])&&(_0x5807e8['attributes']=_0x3b5030,_0x179710=!0x0),!_0x179710)return Promise['resolve']();if(_0x6fe55a['fire']('commentUpdated'),_0x22a1b9||!this['adapter']||'function'!=typeof this['adapter']['updateComment'])return Promise['resolve']();const _0x454193=this['context']['plugins']['get']('PendingActions'),{channelId:_0x5b0043}=this['getCommentThread'](_0x5807e8['threadId']),_0x37397b=_0x454193['add'](_0x2412ce(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['updateComment']({'channelId':_0x5b0043,'threadId':_0x50bf51,'commentId':_0x44f24f,'content':_0x351df3,'attributes':_0x3b5030})['then'](()=>_0x454193['remove'](_0x37397b))['catch'](_0x12ff1b=>{throw console['error'](_0x12ff1b),new _0x14e616['CKEditorError']('commentsrepository-update-comment-internal-error',this);});}['_removeComment']({threadId:_0x4b08e9,commentId:_0x1a5ea1,isFromAdapter:_0x469e47}){const _0x5c2a54=this['getCommentThread'](_0x4b08e9),_0xbb0661=_0x5c2a54['getComment'](_0x1a5ea1);if(!_0xbb0661)throw new _0x14e616['CKEditorError']('commentsrepository-remove-missing-comment',this);if(_0x5c2a54['_remove'](_0xbb0661),_0x469e47||!this['adapter']||'function'!=typeof this['adapter']['removeComment'])return Promise['resolve']();const _0x1bc9c2=this['context']['plugins']['get']('PendingActions'),{channelId:_0x576236}=_0x5c2a54,_0x4601bb=_0x1bc9c2['add'](_0x2412ce(this['context']['locale'],'PENDING_ACTION_COMMENT_THREAD'));return this['adapter']['removeComment']({'channelId':_0x576236,'threadId':_0x4b08e9,'commentId':_0x1a5ea1})['then'](()=>_0x1bc9c2['remove'](_0x4601bb))['catch'](_0x4bf2e9=>{throw console['error'](_0x4bf2e9),new _0x14e616['CKEditorError']('commentsrepository-remove-comment-internal-error',this);});}},_0x367c37=class extends _0x3dc68c{['channelId'];['id'];['_isAttached'];['_isSubmitted'];['comments'];['_repository'];constructor(_0x272ec3,_0x20cc52){super();const _0x58dfee=_0x20cc52['isResolvable'];this['channelId']=_0x20cc52['channelId'],this['id']=_0x20cc52['id'],this['comments']=new _0x14e616['Collection'](),this['_repository']=_0x272ec3,this['_isAttached']=!0x1,this['_isSubmitted']=_0x20cc52['isSubmitted'],this['set']('_hasTargetInContent',!0x0),this['bind']('isReadOnly')['to'](_0x272ec3,'_permissions',_0x272ec3,'_readOnlyChannels',()=>_0x272ec3['isReadOnly'](this['channelId'])),this['bind']('isRemovable')['to'](_0x272ec3,'_permissions',()=>_0x272ec3['getPermissions'](this['channelId'])['admin']),this['bind']('canComment')['to'](_0x272ec3,'_permissions',()=>{const _0x2961e9=_0x272ec3['getPermissions'](this['channelId']);return _0x2961e9['write']||_0x2961e9['admin'];}),this['bind']('isResolvable')['to'](_0x272ec3,'_permissions',()=>_0x58dfee&&_0x272ec3['getPermissions'](this['channelId'])['resolve']),this['set']('context',_0x20cc52['context']),this['bind']('archivedAt')['to'](this,'resolvedAt',this,'unlinkedAt',(_0x5d5a9c,_0xbefab9)=>_0x5d5a9c?_0xbefab9?_0x5d5a9c<_0xbefab9?_0x5d5a9c:_0xbefab9:_0x5d5a9c:_0xbefab9),this['set']('unlinkedAt',_0x20cc52['unlinkedAt']||null),this['set']('resolvedAt',_0x20cc52['resolvedAt']||null),this['set']('resolvedBy',_0x20cc52['resolvedBy']||null),this['bind']('isResolved')['to'](this,'resolvedAt',_0x5324af=>!!_0x5324af),this['set']('attributes',_0x20cc52['attributes']||{});}get['weight'](){return Array['from'](this['comments'])['reduce']((_0x1b2a9c,_0x58194e)=>_0x1b2a9c+_0x58194e['weight'],0x0);}get['length'](){return this['comments']['length'];}get['isAttached'](){return this['_isAttached'];}get['isSubmitted'](){return this['_isSubmitted'];}['submit'](){const {channelId:_0x3093be,id:_0x427da3}=this;this['_repository']['fire'](_0x39da9f('submitCommentThread',_0x3093be),{'channelId':_0x3093be,'threadId':_0x427da3});}['setUnlinkedAt'](_0x5b792e){this['_update']({'unlinkedAt':_0x5b792e});}['resolve']({resolvedAt:_0x5ed526=new Date(),resolvedBy:_0x4e9f69='',isFromAdapter:_0x2a45bc=!0x1}={}){const _0x237786=this['_repository']['context']['plugins']['get'](_0x17484f)['me'],{channelId:_0x5c0487,id:_0x3bb2d4}=this;this['_repository']['fire'](_0x39da9f('resolveCommentThread',_0x5c0487),{'channelId':_0x5c0487,'threadId':_0x3bb2d4,'resolvedAt':_0x5ed526,'resolvedBy':_0x4e9f69||_0x237786['id'],'isFromAdapter':_0x2a45bc});}['reopen']({isFromAdapter:_0x5cbef7=!0x1}={}){const {channelId:_0x50faa5,id:_0x221622}=this;this['_repository']['fire'](_0x39da9f('reopenCommentThread',_0x50faa5),{'channelId':_0x50faa5,'threadId':_0x221622,'isFromAdapter':_0x5cbef7});}['setContext'](_0x119d78){this['context']||this['_update']({'context':_0x119d78});}['setAttribute'](_0x1d24c0,_0x155a5c){const _0x28a68c=wt(this['attributes']);Ft(_0x28a68c,_0x1d24c0,_0x155a5c),this['_update']({'attributes':_0x28a68c});}['removeAttribute'](_0x1a177b){const _0x421515=wt(this['attributes']);Rt(_0x421515,_0x1a177b),this['_update']({'attributes':_0x421515});}['remove']({isFromAdapter:_0xaa411=!0x1}={}){const {channelId:_0x39dea9,id:_0x25e66e}=this;this['_repository']['fire'](_0x39da9f('removeCommentThread',_0x39dea9),{'channelId':_0x39dea9,'threadId':_0x25e66e,'isFromAdapter':_0xaa411});}['attachTo'](_0x228d75){return this['_repository']['_attachCommentThread']({'threadId':this['id'],'target':_0x228d75});}['addComment'](_0x5b85d8){const {channelId:_0x536306,id:_0x36f70b}=this;this['_repository']['fire'](_0x39da9f('addComment',_0x536306,_0x36f70b),Object['assign']({'channelId':_0x536306,'threadId':_0x36f70b},_0x5b85d8));}['getComment'](_0x356aef){if('string'!=typeof _0x356aef)throw new _0x14e616['CKEditorError']('commentsrepository-get-comment-invalid-id',null,{'commentId':_0x356aef});return this['comments']['get'](_0x356aef);}['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'](_0x18fa28=>_0x18fa28['toJSON']()),'attributes':this['attributes']};}['_add'](_0x21e4d0){return this['listenTo'](_0x21e4d0,'change:authoredAt',()=>{const _0x2cf24f=this['_findOptimalIndex'](_0x21e4d0),_0x642d35=this['comments'];_0x2cf24f-0x1!=_0x642d35['getIndex'](_0x21e4d0)&&_0x2cf24f+0x1!=_0x642d35['getIndex'](_0x21e4d0)&&(this['_remove'](_0x21e4d0),this['_add'](_0x21e4d0));}),this['comments']['add'](_0x21e4d0,this['_findOptimalIndex'](_0x21e4d0));}['_update'](_0x3b9943){const {channelId:_0x212c81,id:_0x4c4b81}=this;this['_repository']['fire'](_0x39da9f('updateCommentThread',_0x212c81),{..._0x3b9943,'channelId':_0x212c81,'threadId':_0x4c4b81});}['_remove'](_0x2eab56){return this['stopListening'](_0x2eab56),_0x2eab56['destroy'](),this['comments']['remove'](_0x2eab56);}['_findOptimalIndex'](_0x6be7f7){const _0x4959c7=this['comments']['find'](_0x36a638=>new Date(_0x36a638['authoredAt'])['getTime']()>new Date(_0x6be7f7['authoredAt'])['getTime']());return _0x4959c7?this['comments']['getIndex'](_0x4959c7):this['length'];}},_0x3501e3=class extends _0x5cb567{['id'];['threadId'];['author'];['creator'];['createdAt'];['_repository'];constructor(_0x4a9d44,_0x4fdd2a){super();const _0x230587=_0x4a9d44['context']['plugins']['get'](_0x17484f)['me'],_0x235385=_0x4a9d44['getCommentThread'](_0x4fdd2a['threadId']),_0x377296=0x0===_0x235385['comments']['length'],_0x3e80f5=_0x230587===_0x4fdd2a['author'];this['id']=_0x4fdd2a['id'],this['threadId']=_0x4fdd2a['threadId'],this['author']=_0x4fdd2a['author'],this['creator']=_0x4fdd2a['creator'],this['set']('content',_0x4fdd2a['content']),this['createdAt']=_0x4fdd2a['createdAt']||new Date(),this['set']('authoredAt',_0x4fdd2a['authoredAt']||new Date()),this['bind']('resolvedAt')['to'](_0x235385,'resolvedAt'),this['set']('attributes',_0x4fdd2a['attributes']||{}),this['bind']('isEditable')['to'](_0x4a9d44,'_permissions',()=>{const _0x2f197c=_0x4a9d44['getPermissions'](_0x235385['channelId'])['write'],_0x27fdc5=_0x4a9d44['getPermissions'](_0x235385['channelId'])['modifyAll'];return _0x3e80f5&&_0x2f197c||!_0x3e80f5&&_0x27fdc5;}),this['bind']('isRemovable')['to'](_0x235385,'isRemovable',_0x4a9d44,'_permissions',_0x457633=>{const _0x18b87e=_0x4a9d44['getPermissions'](_0x235385['channelId'])['write'],_0x15b8d1=_0x4a9d44['getPermissions'](_0x235385['channelId'])['modifyAll'];return _0x3e80f5&&_0x18b87e||_0x457633&&_0x377296||!_0x3e80f5&&_0x15b8d1&&!_0x377296;}),this['bind']('isReadOnly')['to'](_0x235385,'isReadOnly'),this['_repository']=_0x4a9d44;}get['isExternal'](){return Boolean(this['attributes']&&this['attributes']['@external']);}get['weight'](){return Math['max'](function(_0x12b866){const _0x5be4a0=document['createElement']('div');return _0x5be4a0['innerHTML']=_0x12b866,_0x5be4a0['textContent']['length'];}(this['content']),0xc8);}['update'](_0x45068f){const {threadId:_0x892feb,id:_0x35b28d}=this;if(!this['_repository']['hasCommentThread'](_0x892feb))throw new _0x14e616['CKEditorError']('commentsrepository-update-comment-missing-comment-thread',this);const {channelId:_0x45b2fd}=this['_repository']['getCommentThread'](_0x892feb);this['_repository']['fire'](_0x39da9f('updateComment',_0x45b2fd,_0x892feb),{'channelId':_0x45b2fd,'threadId':_0x892feb,'commentId':_0x35b28d,..._0x45068f});}['setAttribute'](_0x14beac,_0x1ea89f){const _0x45c16d=wt(this['attributes']);Ft(_0x45c16d,_0x14beac,_0x1ea89f),this['update']({'attributes':_0x45c16d});}['removeAttribute'](_0x20d704){const _0x5a2830=wt(this['attributes']);Rt(_0x5a2830,_0x20d704),this['update']({'attributes':_0x5a2830});}['remove'](_0x42386a={}){if(!_0x42386a['isFromAdapter']&&!this['isRemovable'])return;const {threadId:_0x3e7178,id:_0x4b66e7}=this;if(!this['_repository']['hasCommentThread'](_0x3e7178))throw new _0x14e616['CKEditorError']('commentsrepository-remove-comment-missing-comment-thread',this);const {channelId:_0x36e2ac}=this['_repository']['getCommentThread'](_0x3e7178);this['_repository']['fire'](_0x39da9f('removeComment',_0x36e2ac,_0x3e7178),{'channelId':_0x36e2ac,'threadId':_0x3e7178,'commentId':_0x4b66e7,..._0x42386a});}['toJSON'](){return{'commentId':this['id'],'content':this['content'],'createdAt':this['createdAt'],'authorId':this['creator']['id'],'attributes':this['attributes']};}['destroy'](){this['stopListening']();}};function _0x39da9f(_0x4a3bce,..._0x4a6921){for(const _0x243218 of _0x4a6921)void 0x0!==_0x243218&&(_0x4a3bce+=':'+String(_0x243218));return _0x4a3bce;}var _0x13ecb7=class extends _0x14e616['Command']{constructor(_0x4337ac){super(_0x4337ac),this['set']('hasContent',!0x1);}['refresh'](){const _0xeb2d6c=this['editor']['model']['document']['selection'];this['isEnabled']=!0x0,this['hasContent']=!0x1;for(const _0xfdb36 of _0xeb2d6c['getRanges']())if(this['_hasContent'](_0xfdb36))return void(this['hasContent']=!0x0);}['execute']({threadId:_0x362d4d=(0x0,_0x14e616['uid'])(),ranges:_0x55ac59,comment:_0x88002f}={}){const _0x2df944=this['editor']['model'],_0x66d667=_0x55ac59??Array['from'](_0x2df944['document']['selection']['getRanges']()),_0x370139=[];for(const _0x582746 of _0x66d667)this['_hasContent'](_0x582746)&&_0x370139['push'](this['_trimToContent'](_0x582746));if(!_0x370139['length'])throw new _0x14e616['CKEditorError']('addcommentthreadcommand-incorrect-ranges',null);_0x88002f&&this['_createCommentThread'](_0x362d4d,_0x88002f),this['_createMarkersFromRanges'](_0x362d4d,_0x370139,!!_0x88002f);}['_createMarkersFromRanges'](_0x5362b6,_0x5bde7f,_0x35246d){this['editor']['model']['change'](_0x14a18c=>{for(const _0x715717 of _0x5bde7f){const _0x56f4e6='comment:'+_0x5362b6+':'+(0x0,_0x14e616['uid'])()['substr'](0x1,0x5);_0x14a18c['addMarker'](_0x56f4e6,{'range':_0x715717,'usingOperation':_0x35246d,'affectsData':_0x35246d});}});}['_createCommentThread'](_0x5a6c48,_0x14e374){const _0xf23b90=this['editor']['plugins']['get']('CommentsRepository'),_0x584b4a=this['editor']['config']['get']('collaboration.channelId'),_0x1f70e2=this['editor']['plugins']['get']('Users')['me'];if(!_0x1f70e2)throw new _0x14e616['CKEditorError']('addcommentthreadcommand-user-not-found',null);_0xf23b90['addCommentThread']({'threadId':_0x5a6c48,'channelId':_0x584b4a,'comments':[{'authorId':_0x1f70e2['id'],'content':_0x14e374,'createdAt':new Date(),'attributes':{}}]});}['_hasContent'](_0x4796a1){for(const _0x338ca3 of _0x4796a1['getItems']())if(this['_itemIsContent'](_0x338ca3))return!0x0;return!0x1;}['_itemIsContent'](_0x58bde6){return _0x58bde6['is']('$textProxy')||this['editor']['model']['schema']['isObject'](_0x58bde6)&&!_0x58bde6['is']('element','tableCell');}['_trimToContent'](_0x48ae79){const _0xead528=_0x1a1e29=>!this['_itemIsContent'](_0x1a1e29['item']),_0x39a995=_0x48ae79['start']['getLastMatchingPosition'](_0xead528),_0x57cd82=_0x48ae79['end']['getLastMatchingPosition'](_0xead528,{'direction':'backward'});return this['editor']['model']['createRange'](_0x39a995,_0x57cd82);}},_0x248fa4=class extends _0x14e616['Plugin']{['_dataCollectors'];['_editorAnnotations'];static get['requires'](){return[_0x3007a9];}static get['pluginName'](){return'EditorAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x216d77){super(_0x216d77),this['_dataCollectors']=new Set(),this['_editorAnnotations']=new Set();}['init'](){const _0x385b31=this['editor'],_0x45f5e6=_0x385b31['model']['document']['selection'],_0x37ddd5=_0x3a18ae(()=>this['refreshSelectedViews'](),0xa);_0x45f5e6['on']('change:range',(_0x54b3bc,_0x3604eb)=>{_0x3604eb['directChange']&&(_0x37ddd5['cancel'](),this['refreshSelectedViews']());}),this['listenTo'](_0x385b31['editing']['view']['document'],'change:isFocused',(_0x239f3f,_0x8cc143,_0x25462b)=>{_0x25462b&&_0x37ddd5();}),this['listenTo'](_0x385b31['ui']['focusTracker'],'change:isFocused',(_0x4e085a,_0xf10fd4,_0x2d77ff)=>{_0x2d77ff||this['fire']('blur',{'isAnnotationTracked':_0x13419f=>this['_editorAnnotationsData']['has'](_0x13419f['innerView'])});}),this['listenTo'](this['editor']['ui'],'update',()=>this['fire']('uiUpdate'));}['registerAnnotation'](_0x9a6fba){if(this['_editorAnnotations']['has'](_0x9a6fba['view']))return;this['_editorAnnotations']['add'](_0x9a6fba['view']),this['editor']['ui']['focusTracker']['add'](_0x9a6fba['view']['element']);const _0x311132=this['editor']['plugins']['get'](_0x3007a9);this['listenTo'](_0x311132['collection'],'remove',(_0x4e32c6,_0x2f06ec)=>{this['editor']['ui']['focusTracker']['remove'](_0x2f06ec['view']['element']),this['_editorAnnotations']['delete'](_0x2f06ec['view']);});}['hasDomSelection'](){return this['editor']['editing']['view']['hasDomSelection'];}['addSourceCollector'](_0x38c26e){if('function'!=typeof _0x38c26e)throw new _0x14e616['CKEditorError']('editorannotations-invalid-source-callback');this['_dataCollectors']['add'](_0x38c26e);}['refreshSelectedViews'](){this['fire']('refresh');}['getOrderedSelectedAnnotations']({activeAnnotation:_0x3c5b94,annotations:_0x465ea5}){const _0x4edf9e=[],_0x8a7af4=this['editor']['model']['document']['selection'],_0x1a3968=Array['from'](_0x8a7af4['getRanges']());for(const [_0x18a02b,_0x28cbaa]of this['_editorAnnotationsData']){const _0xc47167=_0x510b9c(_0x28cbaa),_0x4af2e1=_0x465ea5['getByInnerView'](_0x18a02b);_0xc47167&&_0x4af2e1&&_0x4edf9e['push']({'annotation':_0x4af2e1,'range':_0xc47167});}function _0x510b9c(_0x5bf19b){for(const _0x2b4160 of _0x5bf19b)for(const _0xfb9d03 of _0x1a3968)if(_0x2b4160['containsRange'](_0xfb9d03,!_0x8a7af4['isCollapsed']))return _0x2b4160;return null;}return _0x4edf9e['sort']((_0x205782,_0x5181e1)=>{const _0x5f5bce=_0x205782['range'],_0x5c467e=_0x5181e1['range'];if(!_0x5f5bce['isEqual'](_0x5c467e)){if(_0x5f5bce['containsRange'](_0x5c467e,!0x0))return 0x1;if(_0x5c467e['containsRange'](_0x5f5bce,!0x0))return-0x1;}return _0x205782['annotation']==_0x3c5b94?-0x1:_0x5181e1['annotation']==_0x3c5b94?0x1:0x0;})['map'](_0x7f3b9=>_0x7f3b9['annotation']);}get['_editorAnnotationsData'](){const _0x3f72ad=new Map();for(const _0x44ad1f of Array['from'](this['_dataCollectors']))for(const [_0x35969c,_0x2b2954]of _0x44ad1f())_0x3f72ad['set'](_0x35969c,_0x2b2954);return _0x3f72ad;}},tg=class extends _0x14e616['Plugin']{['afterInit'](){const _0x28ca13=this['editor'];_0x28ca13['plugins']['has']('RestrictedEditingModeEditing')&&_0x28ca13['plugins']['get']('RestrictedEditingModeEditing')['enableCommand']('addCommentThread');}},_0x1c9bda=class extends _0x14e616['Plugin']{constructor(_0x456145){super(_0x456145),this['editor']['config']['define']('importWord.formatting.comments','basic');}['afterInit'](){const _0x35d427=this['editor'],_0x386b9d=_0x35d427['commands']['get']('importWord'),_0x461211=_0x35d427['plugins']['get'](_0x17484f);_0x386b9d&&(_0x386b9d['on']('execute',(_0x49e967,[,_0x351961])=>{_0x351961['collaboration_features']={'comments':!0x0,'user_id':_0x461211['me']['id']};},{'priority':_0x14e616['priorities']['high']+0xa}),this['listenTo'](_0x386b9d,'dataInsert',this['_handleImportedData']));}['_handleImportedData'](_0x2fa743,_0x4f132b){const {comment_threads:_0x3b1fb8}=_0x4f132b;_0x3b1fb8&&_0x3b1fb8['forEach'](({thread_id:_0x13d508,comments:_0x30bb7f,is_resolved:_0xd4c539})=>{const _0xe090d1=new Date(),_0x5eee9c=_0x30bb7f['map'](({author:_0x3949e6,content:_0x586fa5,created_at:_0x5d7b40})=>({'content':_0x586fa5,'authorId':this['editor']['plugins']['get'](_0x17484f)['me']['id'],'createdAt':_0xe090d1,'attributes':{'@external':{'authorName':_0x3949e6,'createdAt':_0x5d7b40?new Date(_0x5d7b40):new Date(),'source':'importWord'}}})),_0xda9ed8=this['editor']['config']['get']('collaboration.channelId');this['editor']['plugins']['get'](_0xc5d2f4)['addCommentThread']({'channelId':_0xda9ed8,'threadId':_0x13d508,'comments':_0x5eee9c,'resolvedAt':_0xd4c539?_0xe090d1:null});});}},_0x242a05=class extends _0x14e616['Plugin']{constructor(_0x4cb3ea){super(_0x4cb3ea),this['editor']['config']['define']('comments.copyMarkers','default');}static get['requires'](){return[_0x14e616['ClipboardMarkersUtils'],_0x14e616['ClipboardPipeline']];}['afterInit'](){const _0x487f58=this['editor']['plugins']['get']('ClipboardPipeline');this['_registerMarkerInClipboardPipeline'](),this['listenTo'](_0x487f58,'contentInsertion',(_0x1b588a,_0x379bc6)=>this['_removeMarkersWithoutThreads'](_0x379bc6['content']['markers']),{'priority':'highest'});}['_removeMarkersWithoutThreads'](_0x2e3651){if(!this['editor']['plugins']['has']('CommentsRepository'))return _0x2e3651;const _0x407404=this['editor']['plugins']['get']('CommentsRepository');for(const _0x270691 of _0x2e3651['keys']()){const [_0xa6120b,_0x1789aa]=_0x270691['split'](':');'comment'!=_0xa6120b||_0x407404['hasCommentThread'](_0x1789aa)||_0x2e3651['delete'](_0x270691);}return _0x2e3651;}['_registerMarkerInClipboardPipeline'](){const _0x13a653=this['editor']['plugins']['get']('ClipboardMarkersUtils'),_0x12cb34=this['_mapCommentsCopyConfigToRegisterConfiguration'](this['editor']['config']['get']('comments.copyMarkers'));_0x12cb34&&_0x13a653['_registerMarkerToCopy']('comment',_0x12cb34);}['_mapCommentsCopyConfigToRegisterConfiguration'](_0x380b4f){switch(_0x380b4f){case'always':return{'allowedActions':'all','copyPartiallySelected':!0x1,'duplicateOnPaste':!0x0};case'default':return{'allowedActions':['cut','dragstart'],'copyPartiallySelected':!0x1,'duplicateOnPaste':!0x1};default:return null;}}};function _0x21e030(_0x1b925b){const _0x10652a=_0x1b925b['split'](':');return{'group':_0x10652a[0x0],'id':_0x10652a[0x1],'part':_0x10652a[0x2]};}var _0x1647ae=class extends _0x14e616['Plugin']{['init'](){this['overrideMarkerConverters'](),this['overrideHorizontalRuleConverter'](),this['overrideImageInlineConverter'](),this['overrideMediaEmbedConverter']();}['overrideMarkerConverters'](){this['editor']['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'comment','view':(_0x21ada9,_0x48cac6)=>{if(!_0x48cac6['options']['showCommentHighlights'])return null;if(_0x48cac6['options']['ignoreResolvedComments']){const {id:_0x357813}=_0x21e030(_0x21ada9['markerName']);if(this['editor']['plugins']['get'](_0xc5d2f4)['getCommentThread'](_0x357813)?.['isResolved']&&_0x21ada9['item'])return _0x48cac6['consumable']['consume'](_0x21ada9['item'],'addMarker:'+_0x21ada9['markerName']),_0x48cac6['consumable']['consume'](_0x21ada9['item'],'removeMarker:'+_0x21ada9['markerName']),null;}return{'classes':['ck-comment-marker']};}}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3c6dc5=>{_0x3c6dc5['on']('addMarker:comment',(_0x7f1fae,_0x22d487,_0x5bc592)=>{if(!_0x5bc592['options']['showCommentHighlights'])return;const _0x4963a4=_0x22d487['item'];if(!_0x4963a4)return;const _0x2d5aee=_0x5bc592['mapper']['toViewElement'](_0x4963a4);this['editor']['model']['schema']['isObject'](_0x4963a4)&&_0x2d5aee&&!_0x2d5aee['getCustomProperty']('widget')&&_0x2d5aee['is']('containerElement')&&(0x0,_0x14e616['toWidget'])(_0x2d5aee,_0x5bc592['writer']);},{'priority':'high'});});}['overrideHorizontalRuleConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'horizontalLine','view':(_0x424308,{writer:_0x384e3b,options:_0x4ad271})=>{if(!_0x4ad271['showCommentHighlights'])return null;const _0x35a8c6=_0x384e3b['createContainerElement']('div'),_0x28b33f=_0x384e3b['createEmptyElement']('hr');return _0x384e3b['addClass']('ck-horizontal-line',_0x35a8c6),_0x384e3b['insert'](_0x384e3b['createPositionAt'](_0x35a8c6,0x0),_0x28b33f),_0x35a8c6;},'converterPriority':'high'});}['overrideImageInlineConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToStructure']({'model':'imageInline','view':(_0x3fb89a,{writer:_0x23c8a2,options:_0x477a48})=>{if(!_0x477a48['showCommentHighlights'])return null;const _0x406633=_0x23c8a2['createContainerElement']('span'),_0x33ebae=_0x23c8a2['createEmptyElement']('img');return _0x23c8a2['addClass']('image-inline',_0x406633),_0x23c8a2['insert'](_0x23c8a2['createPositionAt'](_0x406633,0x0),_0x33ebae),_0x406633;},'converterPriority':'high'});}['overrideMediaEmbedConverter'](){this['editor']['conversion']['for']('dataDowncast')['elementToElement']({'model':'media','view':(_0x42d98a,{writer:_0x210449,options:_0xfe5119})=>{if(_0xfe5119['showCommentHighlights'])return _0x210449['createEmptyElement']('div');},'converterPriority':'high'}),this['editor']['data']['downcastDispatcher']['on']('attribute:url:media',(_0x16fbff,_0x580cbe,_0x4d332a)=>{_0x4d332a['options']['showCommentHighlights']&&_0x16fbff['stop']();},{'priority':'high'});}},_0x5e2dbc=class extends _0x14e616['Plugin']{static get['requires'](){return[_0xc5d2f4,_0x248fa4,_0x17484f,tg,_0x1c9bda,_0x242a05,_0x1647ae];}static get['pluginName'](){return'CommentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2ad80f){super(_0x2ad80f),this['set']('isThreadsLoadingPaused',!0x0),_0x2ad80f['data']['once']('ready',()=>this['isThreadsLoadingPaused']=!0x1),this['set']('activeMarker',null),this['on']('change:activeMarker',(_0x51a43d,_0x462a8d,_0x2bf76a,_0x521198)=>{const _0x58bb7f=_0x2ad80f['plugins']['get'](_0xc5d2f4),_0x230644=_0x2bf76a?_0x21e030(_0x2bf76a)['id']:null;_0x2ad80f['model']['change'](()=>{if(_0x230644){const _0x44062c=this['getAllMarkersForId'](_0x230644);for(const _0x20d0d3 of _0x44062c)_0x2ad80f['editing']['reconvertMarker'](_0x20d0d3);}if(_0x521198){const {id:_0x444831}=_0x21e030(_0x521198),_0x2c2da3=_0x58bb7f['getCommentThread'](_0x444831);if(_0x2c2da3&&_0x2c2da3['unlinkedAt'])return;if(_0x2c2da3&&!_0x2c2da3['isAttached'])return;const _0x1a7225=this['getAllMarkersForId'](_0x444831);for(const _0x201199 of _0x1a7225)_0x2ad80f['editing']['reconvertMarker'](_0x201199);}}),_0x230644&&this['scrollToThreadMarker'](_0x230644);}),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x36529f=this['editor'],_0x2c623d=_0x36529f['plugins']['get'](_0xc5d2f4),_0x5bbd71=_0x36529f['config']['get']('collaboration.channelId'),_0x453bcc=_0x2c623d['getCommentThreads']()['filter'](_0x205563=>_0x205563['channelId']!==_0x5bbd71);_0x36529f['commands']['add']('addCommentThread',new _0x13ecb7(_0x36529f)),this['listenTo'](_0x36529f,'change:isReadOnly',(_0x30e505,_0x16735e,_0x13196b)=>{_0x2c623d['switchReadOnly'](_0x13196b,_0x36529f['config']['get']('collaboration.channelId'));}),this['listenTo'](_0x2c623d,_0x4737aa('addCommentThread',_0x5bbd71),(_0x3011af,{threadId:_0x4a01af})=>{this['editor']['plugins']['get'](_0xc5d2f4)['getCommentThread'](_0x4a01af)?.['unlinkedAt']&&this['_attachArchivedThread'](_0x4a01af);}),this['listenTo'](_0x2c623d,_0x4737aa('removeCommentThread',_0x5bbd71),(_0x13fde7,{threadId:_0x1ea19a})=>{_0x36529f['model']['enqueueChange']({'isUndoable':!0x1},_0x41448d=>{const _0x5eea1f=this['getAllMarkersForId'](_0x1ea19a);for(const _0x36884d of _0x5eea1f)_0x41448d['removeMarker'](_0x36884d);});}),this['listenTo'](_0x2c623d,_0x4737aa('resolveCommentThread',_0x5bbd71),(_0x4a040d,{threadId:_0x29bf11})=>{this['_reconvertMarkers'](_0x29bf11);const _0x43022d=this['editor']['plugins']['get'](_0x3007a9);(this['editor']['editing']['view']['hasDomSelection']||_0x43022d['collection']['isFocused'])&&(this['editor']['plugins']['get'](_0xc5d2f4)['getCommentThread'](_0x29bf11)['unlinkedAt']||this['editor']['editing']['view']['focus']());},{'priority':'low'}),this['listenTo'](_0x2c623d,_0x4737aa('reopenCommentThread',_0x5bbd71),(_0x442db4,{threadId:_0x4993b0})=>{this['_reconvertMarkers'](_0x4993b0);},{'priority':'low'}),this['listenTo'](_0x2c623d,_0x4737aa('addComment',_0x5bbd71),(_0x120c62,{threadId:_0x47d756,isFromAdapter:_0xca984b})=>{const _0x134963=this['getAllMarkersForId'](_0x47d756);!_0xca984b&&0x0!=_0x134963['length']&&_0x2c623d['hasCommentThread'](_0x47d756)&&0x1===_0x2c623d['getCommentThread'](_0x47d756)['length']&&_0x36529f['model']['enqueueChange']({'isUndoable':!0x1},_0x4ce288=>{for(const _0x21a1e6 of _0x134963)_0x4ce288['updateMarker'](_0x21a1e6,{'usingOperation':!0x0,'affectsData':!0x0});});},{'priority':'low'}),this['_initializeMarkerConverters'](),this['_handleMarkerAddAndRemove'](),this['_handleInitialThreads'](_0x453bcc);}['afterInit'](){!async function(_0x1602ca){const _0x41b0ea='KpOBJGNSEgqCyfVF1kZ8lbnRjM7eIzAsDQHw9aThu6rcYi05UmPL4d3X2Wotvx',_0x3301fa=0x78fc0,_0x2838cc=window['Date']['now'](),_0x2b2dbe=_0x1602ca['editor'],_0x2f1a1b=new window['Promise'](_0x274b8c=>{_0x2b2dbe['once']('ready',_0x274b8c);}),_0x4084ea={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x844259=_0x2b2dbe['config']['get']('licenseKey');async function _0x4f34fc(){let _0x4a8194,_0x27ecd8=null,_0x2ab430=null;try{return'GPL'==_0x844259?'NotAllowed':(_0x4a8194=_0x276fc7(),_0x4a8194?(_0x4a8194['usageEndpoint']&&(_0x2ab430=_0x59554f(_0x4a8194['usageEndpoint'],_0x4a8194['jti'])),await _0x2ecedb()?_0x4ea498()?_0x3870cf()?'Expired':_0x57fdde()?('evaluation'==_0x4a8194['licenseType']&&(_0x27ecd8=_0x3e3fb4('EvaluationLimit')),await _0x5a5af3()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3870cf(){const _0x4bc16f=['evaluation','trial']['includes'](_0x4a8194['licenseType'])?_0x2838cc/0x3e8:0xe10*_0x3301fa;return _0x4a8194['exp']<_0x4bc16f;}function _0x4ea498(){const _0x1f8d59=_0x4a8194['features'];if(!_0x1f8d59)return!0x1;if(_0x1f8d59['includes']('*'))return!0x0;if(_0x1f8d59['includes']('CMT'))return!0x0;if(_0x1f8d59['includes']('TRILIUM')&&_0x2d26e8())return!0x0;if(_0x1f8d59['includes']('RCMT')){if(_0x45e804())return!0x0;if(_0x5840ab()||_0x580f9c())return!0x0;}return!0x1;}function _0x57fdde(){const _0x12e390=_0x4a8194['licensedHosts'];if(!_0x12e390||0x0==_0x12e390['length'])return!0x0;const {hostname:_0x2353c7}=new URL(window['location']['href']);if(_0x12e390['includes'](_0x2353c7))return!0x0;const _0x26c91e=_0x2353c7['split']('.');return _0x12e390['filter'](_0x8b3b81=>_0x8b3b81['includes']('*'))['map'](_0x2bc91d=>_0x2bc91d['split']('.'))['filter'](_0x366d60=>_0x366d60['length']<=_0x26c91e['length'])['map'](_0x47c784=>Array(_0x26c91e['length']-_0x47c784['length'])['fill']('*'===_0x47c784[0x0]?'*':'')['concat'](_0x47c784))['some'](_0x2b0aa6=>_0x26c91e['every']((_0x3cbe09,_0x3f6638)=>_0x2b0aa6[_0x3f6638]===_0x3cbe09||'*'===_0x2b0aa6[_0x3f6638]));}function _0x5a5af3(){return _0x27ecd8&&_0x2ab430?new window['Promise']((_0x23bcc2,_0x14f94b)=>{_0x27ecd8['then'](_0x23bcc2,_0x14f94b),_0x2ab430['then'](_0x5d6d57=>{'Valid'!=_0x5d6d57&&_0x23bcc2(_0x5d6d57);},_0x14f94b);}):_0x27ecd8||_0x2ab430||'Valid';}}function _0x59554f(_0xeb5697,_0x457242){return new window['Promise'](_0x26f4d6=>{if(_0x2202f9())return _0x26f4d6('Valid');_0x45fbf9(),_0x2b2dbe['decorate']('_sendUsageRequest');let _0x21bc6e=!0x1;const _0x4c3af0=(0x0,_0x14e616['uid'])();function _0x19efed(_0x561906){return!!_0x561906&&('object'==typeof _0x561906||'function'==typeof _0x561906)&&'function'==typeof _0x561906['then']&&'function'==typeof _0x561906['catch'];}function _0x1310b6(_0x40671d){_0x58a611(_0x40671d)['then'](_0x28c745=>_0x28c745&&'ok'==_0x28c745['status']?_0xa0685f(_0x42a848(_0x4c3af0+_0x457242))!=_0x28c745['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0xe20ed6=>(_0x2f3c19(),_0xe20ed6),()=>{const _0x1d0e9b=_0xf1d3a5();return null==_0x1d0e9b?(_0x2f3c19(),'Valid'):_0x2838cc-_0x1d0e9b>0x240c8400?'UsageLimit':'Valid';})['then'](_0x26f4d6)['catch'](()=>{_0x26f4d6('UsageLimit');});const _0x310714=0x36ee80;function _0x2f3c19(){const _0x44a9b8='llct-'+_0xa0685f(_0x42a848(_0xeb5697)),_0x41386c=_0x3fee9f(_0xa0685f(window['Math']['ceil'](_0x2838cc/_0x310714)));window['localStorage']['setItem'](_0x44a9b8,_0x41386c);}function _0xf1d3a5(){const _0x497525='llct-'+_0xa0685f(_0x42a848(_0xeb5697)),_0x3db1dc=window['localStorage']['getItem'](_0x497525);return _0x3db1dc?window['parseInt'](_0x3fee9f(_0x3db1dc),0x10)*_0x310714:null;}function _0x58a611(_0x3107de){return new window['Promise']((_0x5e8ad8,_0x3f1ff1)=>{_0x3107de['then'](_0x5e8ad8,_0x3f1ff1),window['setTimeout'](_0x3f1ff1,0x1d4c0);});}}_0x2b2dbe['on']('_sendUsageRequest',(_0x394bf1,_0x3089b3)=>{if(_0x3089b3[0x0]!=_0xeb5697)return _0x26f4d6('UsageLimit');_0x3089b3[0x1]={..._0x3089b3[0x1],'requestId':_0x4c3af0};},{'priority':'high'}),_0x2b2dbe['on']('_sendUsageRequest',_0x415f4b=>{_0x19efed(_0x415f4b['return'])&&(_0x21bc6e=!0x0,_0x1310b6(_0x415f4b['return']));},{'priority':'low'}),_0x2f1a1b['then'](()=>{_0x21bc6e||_0x26f4d6('UsageLimit');});});function _0x2202f9(){return'auto'==_0x2b2dbe['editing']['view']['_overlayModeHint'];}function _0x45fbf9(){_0x2b2dbe['editing']['view']['_overlayModeHint']='auto';}}function _0x3e3fb4(_0x15f1f0){const _0xd3e2fb=[new window['Promise'](_0x566288=>setTimeout(_0x566288,0x93ecc)),_0x2f1a1b['then'](()=>new window['Promise'](_0x374858=>{let _0x2bc67d=0x0;_0x2b2dbe['model']['on']('applyOperation',(_0x15b161,_0x5a8b2a)=>{_0x5a8b2a[0x0]['isDocumentOperation']&&_0x2bc67d++,0x5e8==_0x2bc67d&&(_0x374858(),_0x15b161['off']());});}))];return window['Promise']['race'](_0xd3e2fb)['then'](()=>_0x15f1f0);}async function _0xe3d74a(){await _0x2f1a1b,_0x2b2dbe['model']['change']=_0x5e35c1,_0x2b2dbe['model']['enqueueChange']=_0x5e35c1,_0x2b2dbe['enableReadOnlyMode']('model');}function _0x2d26e8(){return window['glob']&&window['glob']['triliumVersion'];}function _0x45e804(){return _0x47f97c('WebSocketGateway')&&'connected'==_0xb10dd6('WebSocketGateway')['state'];}function _0x5840ab(){return _0x47f97c('RevisionViewerIntegration');}function _0x580f9c(){return _0x47f97c('TrackChangesDataGetter');}function _0x21ae8f(_0x4ff53c){const _0x5dcf79=_0x57d132();_0x2b2dbe[_0x5dcf79]='commentsLicenseKey'+_0x4ff53c,'Valid'!=_0x4ff53c&&_0xe3d74a();}function _0x57d132(){const _0x568e1e=window['String'](window['performance']['now']())['replace']('.','');let _0xbc6798='K';for(let _0xf751fa=0x0;_0xf751fa<_0x568e1e['length'];_0xf751fa+=0x2){let _0x1e704c=window['parseInt'](_0x568e1e['substring'](_0xf751fa,_0xf751fa+0x2));_0x1e704c>=0x3e&&(_0x1e704c-=0x3e),_0xbc6798+=_0x41b0ea[_0x1e704c];}return _0xbc6798;}function _0x276fc7(){const _0xebccd8=_0x844259['split']('.');if(0x3!=_0xebccd8['length'])return null;return _0x46a172(_0xebccd8[0x1]);function _0x46a172(_0x1e4e75){const _0x514e96=_0x9b57c7(_0x1e4e75);return _0x514e96&&_0x46f302()?_0x514e96:null;function _0x46f302(){const _0x73465a=_0x514e96['jti'],_0x592454=window['parseInt'](_0x73465a['substring'](_0x73465a['length']-0x8),0x10),_0x2345ac={..._0x514e96,'jti':_0x73465a['substring'](0x0,_0x73465a['length']-0x8)};return delete _0x2345ac['vc'],_0x42a848(_0x2345ac)==_0x592454;}}}async function _0x2ecedb(){let _0x12a8e0=!0x0;try{const [_0x1c78e2,_0x260424,_0x46cb20]=_0x844259['split']('.');return _0x355cf3(_0x1c78e2),await _0xf0910a(_0x1c78e2,_0x260424,_0x46cb20),_0x12a8e0;}catch{return!0x1;}function _0x355cf3(_0x115c35){const _0x1a10c3=_0x9b57c7(_0x115c35);_0x1a10c3&&'ES256'==_0x1a10c3['alg']||(_0x12a8e0=!0x1);}async function _0xf0910a(_0x5c4ad8,_0x1f39f4,_0x23e883){const _0x7d88aa=window['Uint8Array']['from'](_0x682d98(_0x23e883),_0xb03bcf=>_0xb03bcf['charCodeAt'](0x0)),_0x3e5972=new window['TextEncoder']()['encode'](_0x5c4ad8+'.'+_0x1f39f4),_0x30dac3=window['crypto']['subtle'];if(!_0x30dac3)return;const _0x426161=await _0x30dac3['importKey']('jwk',_0x4084ea,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x30dac3['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x426161,_0x7d88aa,_0x3e5972)||(_0x12a8e0=!0x1);}}function _0x9b57c7(_0x44907e){return _0x44907e['startsWith']('ey')?JSON['parse'](_0x682d98(_0x44907e)):null;}function _0x682d98(_0x352bb7){return window['atob'](_0x352bb7['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x42a848(_0x539bba){let _0x13d677=0x1505;function _0x71c380(_0x790a21){for(let _0x3c32ca=0x0;_0x3c32ca<_0x790a21['length'];_0x3c32ca++){const _0x33af56=_0x790a21['charCodeAt'](_0x3c32ca);_0x13d677=(_0x13d677<<0x5)+_0x13d677+_0x33af56,_0x13d677&=_0x13d677;}}function _0x664170(_0x4ee77a){Array['isArray'](_0x4ee77a)?_0x4ee77a['forEach'](_0x664170):_0x4ee77a&&'object'==typeof _0x4ee77a?Object['entries'](_0x4ee77a)['sort']()['forEach'](([_0x5ae17a,_0x5e1808])=>{_0x71c380(_0x5ae17a),_0x664170(_0x5e1808);}):_0x71c380(window['String'](_0x4ee77a));}return _0x664170(_0x539bba),_0x13d677>>>0x0;}function _0xa0685f(_0x1560b6){return _0x1560b6['toString'](0x10)['padStart'](0x8,'0');}function _0x3fee9f(_0x48d7dd){return _0x48d7dd['split']('')['reverse']()['join']('');}function _0x47f97c(_0x49a0ab){return _0x2b2dbe['plugins']['has'](_0x49a0ab);}function _0xb10dd6(_0x20e7f0){return _0x2b2dbe['plugins']['get'](_0x20e7f0);}function _0x5e35c1(){}_0x21ae8f(await _0x4f34fc());}(this);}['destroy'](){const _0xf77df3=this['editor']['plugins']['get'](_0xc5d2f4),_0x35e632=this['editor']['config']['get']('collaboration.channelId');for(const _0x11b9db of _0xf77df3['getCommentThreads']({'channelId':_0x35e632}))_0xf77df3['_detachCommentThread'](_0x11b9db['id']),_0xf77df3['_threads']['delete'](_0x11b9db['id']);super['destroy']();}['hasMarkerForId'](_0x2fac2c){return this['getAllMarkersForId'](_0x2fac2c)['length']>0x0;}['getAllMarkersForId'](_0x98d0e5){const _0x438c7f=[];for(const _0x543a0b of this['editor']['model']['markers'])_0x543a0b['name']['startsWith']('comment:'+_0x98d0e5)&&_0x438c7f['push'](_0x543a0b);return _0x438c7f;}['scrollToThreadMarker'](_0x2a4ba5){setTimeout(()=>{const _0x62c6a0=this['_getTargetForId'](_0x2a4ba5);_0x62c6a0&&this['activeMarker']&&_0x21e030(this['activeMarker'])['id']===_0x2a4ba5&&(0x0,_0x14e616['scrollViewportToShowTarget'])({'target':_0x62c6a0[0x0],'viewportOffset':0x64,'alignToTop':!0x0});},0x32);}['_reconvertMarkers'](_0x4b3d34){this['editor']['model']['change'](()=>{for(const _0x282273 of this['getAllMarkersForId'](_0x4b3d34))this['editor']['editing']['reconvertMarker'](_0x282273);});}['_attachArchivedThread'](_0x2d28b4){const _0x5ee3f7=this['editor']['plugins']['get'](_0xc5d2f4),_0x8ab628=this['editor']['plugins']['get'](_0x248fa4),_0x2f9163=_0x5ee3f7['getCommentThread'](_0x2d28b4);if(!_0x2f9163['isAttached']){const _0x5c6a2f=_0x2f9163['attachTo'](()=>this['_getTargetForId'](_0x2f9163['id']));_0x8ab628['registerAnnotation'](_0x5c6a2f),_0x2f9163['_hasTargetInContent']=!0x1;}}['_initializeMarkerConverters'](){const _0x1a6ae6=this['editor'],_0x4c5e6a=_0x1a6ae6['plugins']['get'](_0x17484f);_0x1a6ae6['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'comment','view':(_0x1f73fa,_0x44b97e)=>{const {id:_0x2eaa22}=_0x21e030(_0x1f73fa['markerName']),_0x3753d9=_0x1a6ae6['plugins']['get'](_0xc5d2f4)['getCommentThread'](_0x2eaa22),_0x3c0bce=this['activeMarker']&&_0x21e030(this['activeMarker'])['id']===_0x2eaa22;let _0x1a41e8;if(_0x3753d9&&_0x3753d9['isResolved']&&!_0x3c0bce&&_0x1f73fa['item'])return _0x44b97e['consumable']['consume'](_0x1f73fa['item'],'addMarker:'+_0x1f73fa['markerName']),_0x44b97e['consumable']['consume'](_0x1f73fa['item'],'removeMarker:'+_0x1f73fa['markerName']),null;const _0x2ab578=['ck-comment-marker'];return _0x3c0bce&&_0x2ab578['push']('ck-comment-marker--active'),_0x1a41e8=_0x3753d9?.['length']?_0x3753d9['comments']['first']['author']['id']:_0x4c5e6a['me']['id'],{'classes':_0x2ab578,'attributes':{'data-comment':_0x2eaa22,'data-author-id':_0x1a41e8}};}}),_0x1a6ae6['conversion']['for']('dataDowncast')['markerToData']({'model':'comment','view':(_0x4d758c,{options:_0x4beab0})=>{if(_0x4beab0['showCommentHighlights'])return null;const _0x23554c=_0x1a6ae6['plugins']['get'](_0xc5d2f4),_0x4a6df3=_0x1a6ae6['model']['markers']['get'](_0x4d758c),{id:_0x2baab5,part:_0x2d531a}=_0x21e030(_0x4d758c);return _0x4a6df3&&!_0x4a6df3['affectsData']||_0x4beab0['ignoreResolvedComments']&&_0x23554c['getCommentThread'](_0x2baab5)?.['isResolved']?null:{'group':'comment','name':_0x2d531a?_0x2baab5+':'+_0x2d531a:_0x2baab5};}}),_0x1a6ae6['conversion']['for']('upcast')['elementToElement']({'view':{'name':'comment','attributes':{'id':/^\w/}},'model':(_0x26f331,{writer:_0xb17b2d})=>_0xb17b2d['createElement']('$marker',{'data-name':'comment:'+_0x26f331['getAttribute']('id')})}),_0x1a6ae6['conversion']['for']('upcast')['dataToMarker']({'view':'comment'});}['_handleMarkerAddAndRemove'](){const _0x2c1ea2=this['editor'],_0x56ba86=_0x2c1ea2['plugins']['get'](_0xc5d2f4),_0xfa449b=new Set(),_0x184979=new Set();_0x2c1ea2['model']['document']['registerPostFixer'](_0xbb0886=>{let _0x11c819=!0x1;for(const {name:_0x4ef271,data:_0x3187e6}of _0x2c1ea2['model']['document']['differ']['getChangedMarkers']()){const {group:_0x112d26,id:_0x52e808}=_0x21e030(_0x4ef271);let _0x3022c3=_0x3187e6['newRange'];if('comment'!==_0x112d26||!_0x3022c3)continue;const _0x17a206='$graveyard'===_0x3022c3['root']['rootName'];_0x17a206||(_0x3022c3=_0x41161d(_0x3022c3,_0x2c1ea2['model']),!_0x3022c3||_0x3022c3['isCollapsed']||!_0x3187e6['newRange']||_0x3022c3['isEqual'](_0x3187e6['newRange']))?_0x2c1ea2['model']['hasContent'](_0x3022c3)&&!_0x17a206?this['isThreadsLoadingPaused']?_0xfa449b['add'](_0x4ef271):this['_handleThreadMarker'](_0x4ef271,_0x52e808):(_0x184979['add'](_0x4ef271),_0xfa449b['delete'](_0x4ef271),_0xbb0886['removeMarker'](_0x4ef271),_0x11c819=!0x0):(_0xbb0886['updateMarker'](_0x4ef271,{'range':_0x3022c3}),_0x11c819=!0x0);}return _0x11c819;}),this['on']('change:isThreadsLoadingPaused',(_0xa4076a,_0x7b47dd,_0x1000bc)=>{if(!_0x1000bc&&_0xfa449b['size'])for(const _0x49b3f4 of _0xfa449b){const {id:_0x47ef7f}=_0x21e030(_0x49b3f4);_0xfa449b['delete'](_0x49b3f4),_0x2c1ea2['model']['markers']['get'](_0x49b3f4)&&this['_handleThreadMarker'](_0x49b3f4,_0x47ef7f);}}),this['listenTo'](_0x2c1ea2['model']['document'],'change',()=>{for(const {name:_0x1a16f2,data:{newRange:_0x22326f}}of _0x2c1ea2['model']['document']['differ']['getChangedMarkers']()){const {group:_0x57155a,id:_0x382a38}=_0x21e030(_0x1a16f2);if('comment'!==_0x57155a)continue;const _0x354060=_0x56ba86['getCommentThread'](_0x382a38),_0x33148b=this['hasMarkerForId'](_0x382a38);_0x354060&&(!_0x354060['_hasTargetInContent']&&_0x22326f&&_0x2c1ea2['editing']['view']['once']('render',()=>{const _0x416e2c=_0x2c1ea2['plugins']['get'](_0x3007a9),_0x2bc15e=_0x56ba86['_threadToController']['get'](_0x354060)['view'];_0x416e2c['getByInnerView'](_0x2bc15e)['refreshVisibility']();},{'priority':'low'}),_0x354060['_hasTargetInContent']=_0x33148b||!!_0x22326f),_0x22326f||(_0x184979['add'](_0x1a16f2),_0xfa449b['delete'](_0x1a16f2));}for(const _0x573b74 of _0x184979){const {id:_0x344039}=_0x21e030(_0x573b74),_0x56f508=_0x56ba86['getCommentThread'](_0x344039);if(_0xfa449b['delete'](_0x573b74),!_0x56f508)continue;const _0x48f195=this['hasMarkerForId'](_0x344039);_0x48f195||_0x56f508['isSubmitted']?_0x48f195||_0x56f508['unlinkedAt']||_0x56f508['setUnlinkedAt'](new Date()):_0x56f508['remove']();}_0x184979['clear']();});}['_handleInitialThreads'](_0x28aace){_0x28aace['forEach'](_0x42d693=>{_0x42d693['unlinkedAt']&&this['_attachArchivedThread'](_0x42d693['id']);});}['_getTargetForId'](_0x2a3515){const _0x21cee5=this['editor'],_0x42a8ff=this['getAllMarkersForId'](_0x2a3515);return _0x20fdc7(_0x21cee5['editing'],_0x42a8ff);}['_getTextContext'](_0x391a74){const _0x31c110=this['getAllMarkersForId'](_0x391a74);let _0x345a37='',_0x1f3b49=!0x1;for(const _0x349692 of _0x31c110){const _0x519cc8=_0x349692['getRange']();for(const _0x12eb07 of Array['from'](_0x519cc8['getItems']()))_0x12eb07['is']('$textProxy')?(_0x345a37&&_0x1f3b49&&(_0x345a37+='\x20',_0x1f3b49=!0x1),_0x345a37+=_0x12eb07['data']):_0x1f3b49=!0x0;_0x1f3b49=!0x0;}return _0x345a37['substring'](0x0,0x96);}['_attachMarkerToThread'](_0x804eb7,_0x3d8e3a){const _0x258e8e=this['editor'],_0x4440ad=_0x258e8e['plugins']['get'](_0xc5d2f4);let _0x532d85=_0x4440ad['getCommentThread'](_0x3d8e3a);const _0x4a438f=_0x258e8e['config']['get']('collaboration.channelId'),_0x1514d3=_0x258e8e['plugins']['get'](_0x248fa4);return _0x532d85&&(_0x532d85['unlinkedAt']&&_0x532d85['setUnlinkedAt'](null),_0x532d85['isAttached'])||(this['getAllMarkersForId'](_0x3d8e3a)[0x0]['managedUsingOperations']?_0x4440ad['fetchCommentThread']({'channelId':_0x4a438f,'threadId':_0x3d8e3a})['then'](_0x2ad6a7=>{if('destroyed'!==_0x258e8e['state']){if(_0x532d85=_0x2ad6a7,_0x532d85&&!_0x532d85['isAttached']){const _0x13e797=_0x532d85['attachTo'](()=>this['_getTargetForId'](_0x3d8e3a));_0x1514d3['registerAnnotation'](_0x13e797),_0x532d85['isResolved']&&this['_reconvertMarkers'](_0x3d8e3a);}else{if(!_0x532d85){const _0xd0b0f5=this['getAllMarkersForId'](_0x3d8e3a);_0x258e8e['model']['change'](_0xe0651a=>{for(const _0xacbd1b of _0xd0b0f5)_0xe0651a['removeMarker'](_0xacbd1b);});}}}}):_0x258e8e['editing']['view']['once']('render',()=>{if(_0x4440ad['getCommentThread'](_0x3d8e3a))return;const _0x40ebab=_0x258e8e['plugins']['get'](_0x3007a9);_0x532d85=_0x4440ad['openNewCommentThread']({'channelId':_0x4a438f,'threadId':_0x3d8e3a,'target':()=>this['_getTargetForId'](_0x3d8e3a),'context':{'type':'text','value':this['_getTextContext'](_0x3d8e3a)}});const _0xb71b8b=_0x4440ad['_threadToController']['get'](_0x532d85)['view'],_0x2e31d2=_0x40ebab['getByInnerView'](_0xb71b8b);_0x2e31d2&&_0x1514d3['registerAnnotation'](_0x2e31d2);},{'priority':'low'})),_0x532d85;}['_handleThreadMarker'](_0x3fe272,_0x1282de){const _0x55d0e9=this['_attachMarkerToThread'](_0x3fe272,_0x1282de);_0x55d0e9&&!_0x55d0e9['context']&&_0x55d0e9['setContext']({'type':'text','value':this['_getTextContext'](_0x1282de)});}['_initAriaMarkerChangeAnnouncements'](){const _0x42ce54=this['editor'];_0x4bc8d4(_0x42ce54['model'],({left:_0x2d3c50,entered:_0x5944a7})=>{for(const _0x4784b1 of _0x2d3c50)if(_0x5e15d1(_0x4784b1)){_0x42ce54['ui']['ariaLiveAnnouncer']['announce'](_0x2412ce(_0x42ce54['locale'],'LEAVE_COMMENT_ANNOUNCEMENT'));break;}for(const _0x291810 of _0x5944a7)if(_0x5e15d1(_0x291810)){_0x42ce54['ui']['ariaLiveAnnouncer']['announce'](_0x2412ce(_0x42ce54['locale'],'ENTER_COMMENT_ANNOUNCEMENT',(0x0,_0x14e616['getEnvKeystrokeText'])(_0x1fa44b)));break;}});}};function _0x4737aa(_0x137aaa,_0x3df0ac){return _0x3df0ac?_0x137aaa+':'+_0x3df0ac:_0x137aaa;}function _0x41161d(_0x4bbb6e,_0x1206a5){const _0x5b4770=_0x1206a5['schema'],_0x122aef=_0x1206a5['createRange'](_0x4bbb6e['start']);for(const _0x21b83c of _0x4bbb6e['getWalker']()){const {type:_0x3a00a9,item:_0x1ad3d2,nextPosition:_0x313502}=_0x21b83c;if('text'===_0x3a00a9||_0x5b4770['isObject'](_0x1ad3d2)){const _0x2b3576=_0x1206a5['createPositionBefore'](_0x1ad3d2);_0x122aef['isCollapsed']&&(_0x122aef['start']=_0x2b3576),_0x122aef['end']=_0x313502;}}return _0x122aef;}function _0x5e15d1(_0x174a83){return'comment'===_0x21e030(_0x174a83['name'])['group'];}var _0x502dce=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'CommentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xc5d2f4,_0x5e2dbc,_0x248fa4,_0x3007a9];}get['CommentsListView'](){return _0x139d13;}get['CommentThreadInputView'](){return _0x344396;}['init'](){const _0x11d1a8=this['editor'],_0x812729=_0x11d1a8['plugins']['get'](_0xc5d2f4),_0x7a294f=_0x11d1a8['plugins']['get'](_0x5e2dbc),_0x3a7380=_0x11d1a8['plugins']['get'](_0x3007a9),_0x27f2c0=_0x11d1a8['plugins']['get'](_0x248fa4);_0x11d1a8['ui']['componentFactory']['add']('comment',()=>{const _0x1bea51=this['_createUIButton'](_0x14e616['ButtonView']);return _0x1bea51['tooltip']=!0x0,_0x1bea51;}),_0x11d1a8['ui']['componentFactory']['add']('menuBar:comment',()=>this['_createUIButton'](_0x14e616['MenuBarMenuListItemButtonView'])),_0x27f2c0['addSourceCollector'](()=>{const _0x4c8819=[];for(const [_0x4a1f00,_0x10f737]of _0x812729['_threadToController']){const _0x459c22=_0x7a294f['getAllMarkersForId'](_0x4a1f00['id']),_0x352e45=_0x459c22['map'](_0x495700=>_0x495700['getRange']());_0x459c22['length']>0x0&&_0x4c8819['push']([_0x10f737['view'],_0x352e45]);}return _0x4c8819;}),this['listenTo'](_0x3a7380,'change:activeAnnotations',(_0x28d056,_0xec2928,_0x5e7eb2)=>{const _0x4b6e17=Array['from'](_0x5e7eb2)['map'](_0x2b7710=>_0x2b7710['innerView'])['find'](_0x56de50=>_0x812729['_viewToController']['has'](_0x56de50));if(!_0x4b6e17)return void(_0x7a294f['activeMarker']=null);const _0x14f154=_0x812729['_viewToController']['get'](_0x4b6e17)['model']['id'],_0x5a492a='comment:'+_0x14f154;_0x14f154&&_0x7a294f['hasMarkerForId'](_0x14f154)?_0x7a294f['activeMarker']=_0x5a492a:_0x7a294f['activeMarker']&&(_0x7a294f['activeMarker']=null);}),this['listenTo'](_0x812729,'removeCommentThread',(_0x43ab56,{threadId:_0x214b40,isFromAdapter:_0x5d91ec})=>{!_0x5d91ec&&_0x11d1a8['ui']['focusTracker']['isFocused']&&_0x7a294f['hasMarkerForId'](_0x214b40)&&_0x11d1a8['editing']['view']['focus']();},{'priority':'highest'}),this['listenTo'](_0x812729,'addComment',(_0x2d99d5,{threadId:_0x4c3fb6,isFromAdapter:_0x4d5c2e})=>{!_0x4d5c2e&&_0x7a294f['hasMarkerForId'](_0x4c3fb6)&&_0x812729['hasCommentThread'](_0x4c3fb6)&&0x1===_0x812729['getCommentThread'](_0x4c3fb6)['length']&&(_0x11d1a8['editing']['view']['focus'](),_0x2d99d5['stop']());},{'priority':'low'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xc9ed68=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x566e2f;for(const _0x5e2c39 in _0xc9ed68){const _0x48cc54=_0x5e2c39,_0x42213a=_0xc9ed68[_0x48cc54];if('commentsLicenseKeyValid'==_0x42213a||'commentsLicenseKeyInvalid'==_0x42213a||'commentsLicenseKeyExpired'==_0x42213a||'commentsLicenseKeyDomainLimit'==_0x42213a||'commentsLicenseKeyNotAllowed'==_0x42213a||'commentsLicenseKeyEvaluationLimit'==_0x42213a||'commentsLicenseKeyUsageLimit'==_0x42213a){delete _0xc9ed68[_0x48cc54],_0x566e2f=_0x42213a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'commentsLicenseKeyInvalid'==_0x566e2f&&_0xc9ed68['_showLicenseError']('invalid'),'commentsLicenseKeyExpired'==_0x566e2f&&_0xc9ed68['_showLicenseError']('expired'),'commentsLicenseKeyDomainLimit'==_0x566e2f&&_0xc9ed68['_showLicenseError']('domainLimit'),'commentsLicenseKeyNotAllowed'==_0x566e2f&&_0xc9ed68['_showLicenseError']('featureNotAllowed','Comments'),'commentsLicenseKeyEvaluationLimit'==_0x566e2f&&_0xc9ed68['_showLicenseError']('evaluationLimit'),'commentsLicenseKeyUsageLimit'==_0x566e2f&&_0xc9ed68['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_createUIButton'](_0x581dec){const _0xd0643a=this['editor'],_0x576e8d=new _0x581dec(_0xd0643a['locale']),_0x3bd065=_0xd0643a['commands']['get']('addCommentThread');return _0x576e8d['set']({'label':_0x2412ce(_0xd0643a['locale'],'Comment'),'icon':_0x14e616['IconAddComment']}),_0x576e8d['bind']('isEnabled')['to'](_0x3bd065,'isEnabled',_0x3bd065,'hasContent',(_0x34244a,_0x1cfb51)=>_0x34244a&&_0x1cfb51),this['listenTo'](_0x576e8d,'execute',()=>{_0x3bd065['execute']();}),_0x576e8d;}},_0x472783=class extends _0x14e616['Plugin']{static get['pluginName'](){return'CommentsOnly';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x5e2dbc];}constructor(_0x572d88){super(_0x572d88),this['set']('isEnabled',!0x1),this['on']('change:isEnabled',(_0x326b54,_0x9b258,_0x351403)=>{_0x351403?this['_enableCommentsOnlyMode']():this['_disableCommentsOnlyMode']();});}['afterInit'](){!this['isEnabled']&&this['editor']['config']['get']('commentsOnly')&&(this['isEnabled']=!0x0);}['_enableCommentsOnlyMode'](){for(const [_0x2e9c8a,_0x530751]of this['editor']['commands'])_0x530751['affectsData']&&'addCommentThread'!==_0x2e9c8a&&_0x530751['forceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('DragDrop')&&this['editor']['plugins']['get']('DragDrop')['forceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('RevisionTracker')&&this['editor']['plugins']['get']('RevisionTracker')['forceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['forceDisabled']('commentsOnlyMode'),this['editor']['commands']['get']('editSource')?.['forceDisabled']('commentsOnlyMode');const _0x16c68d=this['editor']['editing']['view']['document'];this['listenTo'](_0x16c68d,'cut',_0x1f1842=>_0x1f1842['stop'](),{'priority':'highest'}),this['listenTo'](_0x16c68d,'clipboardInput',_0x38df56=>_0x38df56['stop'](),{'priority':'highest'}),this['listenTo'](_0x16c68d,'delete',_0x4facc5=>_0x4facc5['stop'](),{'priority':'highest'});}['_disableCommentsOnlyMode'](){for(const [_0x447ba4,_0x1f1a9e]of this['editor']['commands'])_0x1f1a9e['affectsData']&&'addCommentThread'!==_0x447ba4&&_0x1f1a9e['clearForceDisabled']('commentsOnlyMode');this['editor']['plugins']['has']('RevisionTracker')&&this['editor']['plugins']['get']('RevisionTracker')['clearForceDisabled']('commentsOnlyMode'),this['editor']['plugins']['has']('SourceEditing')&&this['editor']['plugins']['get']('SourceEditing')['clearForceDisabled']('commentsOnlyMode'),this['editor']['commands']['get']('editSource')?.['clearForceDisabled']('commentsOnlyMode'),this['stopListening'](this['editor']['editing']['view']['document']);}},_0x353cdd=class extends _0x14e616['ContextPlugin']{['activeUIs'];['uisData'];['_uis'];static get['requires'](){return[_0x3007a9];}static get['pluginName'](){return'AnnotationsUIs';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x4842ef){super(_0x4842ef),this['activeUIs']=new Set(),this['_uis']=new Map(),this['uisData']=new Map();}['init'](){const _0x5defd8=this['context']['plugins']['get'](_0x3007a9);this['listenTo'](_0x5defd8,'_activateAnnotation',(_0x1d368d,_0x2269ce)=>{for(const _0x3c8def of this['activeUIs']){const _0x5d386b=this['_uis']['get'](_0x3c8def);(0x0,this['uisData']['get'](_0x3c8def)['filter'])(_0x2269ce)&&_0x5d386b['setActiveAnnotation'](_0x2269ce);}}),this['listenTo'](_0x5defd8,'_deactivateAllAnnotations',()=>{for(const _0x1e71bb of this['activeUIs'])this['_uis']['get'](_0x1e71bb)['setActiveAnnotation'](null);}),this['listenTo'](_0x5defd8['_visibleAnnotations'],'add',(_0x308d58,_0x51de31)=>{this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x51de31);});}['hasActive'](){return this['activeUIs']['size']>0x0;}['isActive'](_0x2c4cfc){return this['activeUIs']['has'](_0x2c4cfc);}['activate'](_0xaed561,_0x39bec0=this['defaultFilter']){const _0x5745eb=this['context']['plugins']['get'](_0x3007a9);if(!this['_uis']['has'](_0xaed561))throw new _0x14e616['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0xaed561});this['isActive'](_0xaed561)&&this['deactivate'](_0xaed561),this['activeUIs']['add'](_0xaed561);const _0x41ae66=new _0x3022dd();_0x54950e({'source':_0x5745eb['_visibleAnnotations'],'target':_0x41ae66,'filter':_0x39bec0}),this['uisData']['set'](_0xaed561,{'collection':_0x41ae66,'filter':_0x39bec0});const _0x2172d6=this['_uis']['get'](_0xaed561);_0x2172d6['attach'](_0x41ae66),this['listenTo'](_0x2172d6,'change:activeAnnotation',(_0x56d782,_0x10a7ff,_0x4935d0,_0x22faba)=>{_0x22faba&&_0x5745eb['_removeActiveAnnotation'](_0x22faba),_0x4935d0&&_0x5745eb['_addActiveAnnotation'](_0x4935d0);});}['deactivate'](_0x1f2172){if(this['activeUIs']['delete'](_0x1f2172),!this['_uis']['has'](_0x1f2172))throw new _0x14e616['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0x1f2172});const _0x36e67f=this['_uis']['get'](_0x1f2172);_0x36e67f['detach'](),this['stopListening'](_0x36e67f),this['uisData']['get'](_0x1f2172)['collection']['destroy'](),this['uisData']['delete'](_0x1f2172);}['switchTo'](_0xb8a63d){if(!this['_uis']['has'](_0xb8a63d))throw new _0x14e616['CKEditorError']('annotationsuis-missing-ui',this,{'uiName':_0xb8a63d});const _0x276136=this['context']['plugins']['get'](_0x3007a9),_0x3094c9=Array['from'](_0x276136['activeAnnotations'])[0x0]||null;this['deactivateAll'](),this['activate'](_0xb8a63d);const _0x1c2be2=this['_uis']['get'](_0xb8a63d);_0x1c2be2['setActiveAnnotation'](_0x3094c9),_0x1c2be2['_setSelectedAnnotations']&&_0x3094c9&&_0x1c2be2['_setSelectedAnnotations']([_0x3094c9]);}['deactivateAll'](){for(const _0x4b6fcc of this['activeUIs'])this['deactivate'](_0x4b6fcc);}['register'](_0x31c0c0,_0x2ecbe4){if(this['_uis']['has'](_0x31c0c0))throw new _0x14e616['CKEditorError']('annotationsuis-register-already-registered');if('function'!=typeof _0x2ecbe4['attach']||'function'!=typeof _0x2ecbe4['detach']||'function'!=typeof _0x2ecbe4['setActiveAnnotation'])throw new _0x14e616['CKEditorError']('annotationsuis-register-invalid-interface',null);this['_uis']['set'](_0x31c0c0,_0x2ecbe4);}['refilterAnnotations'](){const _0x431e1d=this['context']['plugins']['get'](_0x3007a9)['collection'],_0x379958=new Map(),_0x59ee98=Array['from'](this['activeUIs']);for(const _0x2a9016 of this['activeUIs']){const _0x45636c=this['uisData']['get'](_0x2a9016)['collection'];for(const _0x1fb4d0 of _0x45636c)_0x379958['set'](_0x1fb4d0,_0x2a9016);}for(const _0x581355 of _0x431e1d){const _0x2fbe9d=_0x379958['get'](_0x581355);this['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x581355);const _0x3d5466=_0x59ee98['find'](_0x5c3d35=>this['uisData']['get'](_0x5c3d35)['filter'](_0x581355));_0x2fbe9d!==_0x3d5466&&(_0x2fbe9d&&this['uisData']['get'](_0x2fbe9d)['collection']['remove'](_0x581355),_0x3d5466&&this['uisData']['get'](_0x3d5466)['collection']['add'](_0x581355));}}['destroy'](){this['deactivateAll'](),super['destroy']();}['defaultFilter'](){return!0x0;}['_assertAnnotationDoesNotBelongToMultipleUIs'](_0x98a4bd){const _0x390a05=[];for(const _0x47a406 of this['activeUIs']){(0x0,this['uisData']['get'](_0x47a406)['filter'])(_0x98a4bd)&&_0x390a05['push'](_0x47a406);}if(_0x390a05['length']>0x1)throw new _0x14e616['CKEditorError']('annotationsuis-annotation-mismatch',null,{'matchedUIs':_0x390a05,'annotationType':_0x98a4bd['type']});}};const _0x16d22a=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['toUnit'])('px');var _0x3376bc=class extends _0x14e616['View']{['list'];['focusables'];['focusTracker'];['focusCycler'];constructor(_0x3e13b1){super(_0x3e13b1);const _0x3da0fb=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 _0x14e616['FocusTracker'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker']}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-sidebar','ck-reset',_0x3da0fb['to']('class')],'style':{'minHeight':_0x3da0fb['to']('minHeight',_0x52bdeb=>'number'==typeof _0x52bdeb?_0x16d22a(_0x52bdeb+0xa):null)},'dir':_0x3e13b1['uiLanguageDirection'],'role':'application','aria-label':_0x2412ce(_0x3e13b1,'Annotations\x20sidebar'),'tabindex':0x0},'children':[{'tag':'div','attributes':{'role':'list','aria-label':_0x2412ce(_0x3e13b1,'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',_0x1384fa=>{this['_updateItemPositionInFocusables'](_0x1384fa['source']);}),this['list']['forEach'](_0x1cdaa8=>{this['focusTracker']['add'](_0x1cdaa8['element']),this['_updateItemPositionInFocusables'](_0x1cdaa8);}),this['list']['on']('change',(_0x18a7f1,_0x58f1d6)=>{for(const _0x326713 of _0x58f1d6['removed'])this['focusTracker']['remove'](_0x326713['element']),this['focusables']['remove'](_0x326713);for(const _0x2119fc of _0x58f1d6['added'])this['focusTracker']['add'](_0x2119fc['element']),this['_updateItemPositionInFocusables'](_0x2119fc);}),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['listenTo'](this['element'],'focus',()=>{this['focus']();});}['_updateItemPositionInFocusables'](_0x55e4f5){const _0x5d2251=this['focusables']['getIndex'](_0x55e4f5);let _0x3e0b50,_0x258914;for(const _0x399e9b of this['focusables'])if(_0x55e4f5['top']<_0x399e9b['top']){_0x3e0b50=_0x399e9b;break;}if(_0x258914=_0x3e0b50?this['focusables']['getIndex'](_0x3e0b50):this['focusables']['length'],-0x1!==_0x5d2251){if(_0x5d2251===_0x258914-0x1)return;this['focusables']['remove'](_0x55e4f5),_0x258914=_0x3e0b50?this['focusables']['getIndex'](_0x3e0b50):this['focusables']['length'];}this['focusables']['add'](_0x55e4f5,_0x258914);}};const _0xef8c01=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['toUnit'])('px');var _0x96f28e=class extends _0x14e616['View']{['content'];['_targetTop'];['_mutationObserver'];constructor(_0x225a3b){super(_0x225a3b),this['set']('top',0x0),this['set']('height',0x0),this['bind']('bottom')['to'](this,'top',this,'height',(_0x557188,_0x4cde66)=>_0x557188+_0x4cde66),this['set']('isAnimationDisabled',!0x1),this['_mutationObserver']=_0x51e5a1(()=>this['updateHeight']()),this['_targetTop']=null,this['content']=this['createCollection'](),this['content']['delegate']('arrowup','arrowdown')['to'](this);const _0x235867=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'class':['ck-sidebar-item',_0x235867['to']('isAnimationDisabled',_0x1fd814=>_0x1fd814?'ck-sidebar-item--no-animation':'')],'style':{'top':_0x235867['to']('top',_0x133d37=>_0xef8c01(_0x133d37))},'role':'presentation'},'children':this['content']});}['render'](){super['render'](),this['_mutationObserver']['attach'](this['element']);}['focus'](){this['content']['first']&&this['content']['first']['focus']();}['updateHeight'](){const _0x44301f=this['element']['clientHeight'];_0x44301f&&(this['height']=_0x44301f);}['destroy'](){this['content']['clear'](),this['_mutationObserver']['detach'](),super['destroy']();}},_0x1264ed=class extends _0x14e616['ContextPlugin']{['view'];['_activeAnnotation'];['_annotations'];['_spaceBetweenItems'];['_sidebarItemViewToAnnotation'];['_annotationToSidebarItemView'];['_recalculateBuffer'];static get['pluginName'](){return'Sidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3af7d3){super(_0x3af7d3),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 _0x361b59=this['context']['config']['get']('sidebar.container');_0x361b59&&this['setContainer'](_0x361b59);}['setContainer'](_0x3c0f52){if(!_0x4556b0(_0x3c0f52))throw new _0x14e616['CKEditorError']('sidebar-setcontainer-invalid-element');this['container']=_0x3c0f52;}['_attachToContainer']({viewClass:_0x94fe43='',spaceBetweenItems:_0x4a8b5d=0x19}={}){if(!_0x4556b0(this['container']))throw new _0x14e616['CKEditorError']('sidebar-attachtocontainer-missing-container',this);this['container']['appendChild'](this['view']['element']),this['view']['class']=_0x94fe43,this['_spaceBetweenItems']=_0x4a8b5d;}['rearrange']({removedAnnotation:_0x3e0db0,previousAnnotation:_0x224f9d,nextAnnotation:_0x1efcc7}){const _0x1cc8ad=this['getSidebarItemView'](_0x3e0db0);this['view']['list']['remove'](_0x1cc8ad),this['_destroySidebarItemView'](_0x3e0db0),_0x224f9d&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x224f9d)),_0x1efcc7&&this['_alignToTargetRect'](this['getSidebarItemView'](_0x1efcc7)),this['_updateLastItem']();}['refresh']({blurredAnnotation:_0x56baf9,activatedAnnotation:_0x304f8f,disableAnimationOnActivatedAnnotation:_0x382f8c}){if(this['_activeAnnotation']=_0x304f8f,_0x56baf9){_0x56baf9['isActive']=!0x1;const _0x5075be=this['getSidebarItemView'](_0x56baf9);_0x5075be&&_0x382f8c&&(_0x5075be['isAnimationDisabled']=!0x1);}if(_0x304f8f){const _0x2a48c5=this['getSidebarItemView'](_0x304f8f);_0x2a48c5&&(_0x304f8f['isActive']=!0x0,_0x382f8c&&(_0x2a48c5['isAnimationDisabled']=!0x0,_0x2a48c5['top']+=0x1),this['_alignToTargetRect'](_0x2a48c5));}}['_detachFromContainer'](_0x44e488){if(this['view']['element']['remove'](),_0x44e488){for(const _0x266cac of _0x44e488)this['_destroySidebarItemView'](_0x266cac);}this['view']['list']['clear'](),this['view']['class']='',this['_lastItem']=null;}['addAnnotation'](_0x466256,_0x5e6e7c){_0x5e6e7c||(_0x5e6e7c=_0x466256['view']);const _0xa9e2f6=new _0x96f28e(this['context']['locale']);this['_sidebarItemViewToAnnotation']['set'](_0xa9e2f6,_0x466256),this['_annotationToSidebarItemView']['set'](_0x466256,_0xa9e2f6),_0xa9e2f6['content']['add'](_0x5e6e7c),this['listenTo'](_0x466256['view'],'change:targetRect',(_0x26d565,_0x413da5,_0xa43f28)=>{const _0x158d32=this['_getTargetTop'](_0x466256,_0xa43f28);_0xa9e2f6['_targetTop']!=_0x158d32&&(_0xa9e2f6['_targetTop']=_0x158d32,this['_setItemTop'](_0xa9e2f6,_0x158d32));}),this['listenTo'](_0xa9e2f6,'change:top',()=>{this['_recalculate'](_0xa9e2f6,'top');}),this['listenTo'](_0xa9e2f6,'change:bottom',()=>{this['_recalculate'](_0xa9e2f6,'bottom');}),this['_alignToTargetRect'](_0xa9e2f6);const _0x161d9b=this['_getItemBefore'](_0xa9e2f6);return _0x161d9b&&this['_alignAfterItem'](_0x161d9b,_0xa9e2f6)||this['_alignToTargetRect'](_0xa9e2f6),this['_updateLastItem'](),this['view']['list']['add'](_0xa9e2f6),_0xa9e2f6;}['_alignForTopChange'](_0xdb29e3){if(!_0xdb29e3['content']['length'])return;const _0x450314=this['_getItemBefore'](_0xdb29e3);if(!_0x450314)return;const _0x37de4f=this['_sidebarItemViewToAnnotation']['get'](_0x450314),_0x1787f7=this['_activeAnnotation'];_0x1787f7&&_0x1787f7===_0x37de4f?this['_alignAfterItem'](_0x450314,_0xdb29e3):this['_alignBeforeItem'](_0xdb29e3,_0x450314);}['_alignForBottomChange'](_0x42e003){if(!_0x42e003['content']['length'])return;const _0x5ecc6f=this['_getItemAfter'](_0x42e003);if(!_0x5ecc6f)return;const _0x5e57d4=this['_sidebarItemViewToAnnotation']['get'](_0x5ecc6f),_0x1afcb7=this['context']['config']['get']('sidebar.preventScrollOutOfView'),_0x5e6011=this['_activeAnnotation'];_0x5e6011&&_0x5e6011===_0x5e57d4&&_0x1afcb7?(this['_alignBeforeItem'](_0x5ecc6f,_0x42e003),this['_alignAfterItem'](_0x42e003,_0x5ecc6f)):_0x5e6011&&_0x5e6011===_0x5e57d4?this['_alignBeforeItem'](_0x5ecc6f,_0x42e003):this['_alignAfterItem'](_0x42e003,_0x5ecc6f);}['_recalculate'](_0x12d229,_0xed53cb){0x0===this['_recalculateBuffer']['length']&&setTimeout(()=>{for(const {sidebarItemView:_0x29007d,changedProp:_0x3f56d4}of this['_recalculateBuffer'])'top'===_0x3f56d4?this['_alignForTopChange'](_0x29007d):this['_alignForBottomChange'](_0x29007d);this['_recalculateBuffer']=[];},0xa),this['_recalculateBuffer']['push']({'sidebarItemView':_0x12d229,'changedProp':_0xed53cb});}['getSidebarItemView'](_0x105d4e){return this['_annotationToSidebarItemView']['get'](_0x105d4e);}['destroy'](){this['stopListening'](),this['view']['destroy']();}['_destroySidebarItemView'](_0x3f0cf1){const _0x518400=this['getSidebarItemView'](_0x3f0cf1);this['stopListening'](_0x518400),this['stopListening'](_0x3f0cf1['view']),_0x518400['destroy'](),this['_annotationToSidebarItemView']['delete'](_0x3f0cf1),this['_sidebarItemViewToAnnotation']['delete'](_0x518400);}['_createSidebarView'](){const _0x3c35ed=new _0x3376bc(this['context']['locale']);return _0x3c35ed['render'](),this['on']('change:_lastItem',(_0x1ddbf4,_0x1b9a4e,_0x12a032,_0x4229f9)=>{_0x4229f9&&_0x3c35ed['unbind']('minHeight'),_0x12a032?_0x3c35ed['bind']('minHeight')['to'](_0x12a032,'bottom'):_0x3c35ed['minHeight']=null;}),_0x3c35ed;}['_updateLastItem'](){this['_lastItem']=this['_annotations']?.['last']?this['getSidebarItemView'](this['_annotations']['last']):null;}['_getItemBefore'](_0x2b0737){const _0x2134f6=this['_sidebarItemViewToAnnotation']['get'](_0x2b0737),_0x589105=_0x2134f6&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x2134f6)-0x1);return _0x589105&&this['getSidebarItemView'](_0x589105)||null;}['_getItemAfter'](_0x1c24fe){const _0x1fb267=this['_sidebarItemViewToAnnotation']['get'](_0x1c24fe),_0x70ef98=_0x1fb267&&this['_annotations']?.['get'](this['_annotations']['getIndex'](_0x1fb267)+0x1);return _0x70ef98&&this['getSidebarItemView'](_0x70ef98)||null;}['_alignBeforeItem'](_0x57d094,_0x4eb002){_0x57d094['updateHeight']();const _0x1f3da4=_0x16a91e(_0x4eb002['bottom']+this['_spaceBetweenItems'],_0x57d094['top']);return!!_0x1f3da4&&(this['_setItemTop'](_0x4eb002,_0x4eb002['top']-_0x1f3da4),!0x0);}['_alignAfterItem'](_0x10d698,_0x96423d){_0x10d698['updateHeight']();const _0x4ccae8=_0x16a91e(_0x10d698['bottom']+this['_spaceBetweenItems'],_0x96423d['top']);return!!_0x4ccae8&&(this['_setItemTop'](_0x96423d,_0x96423d['top']+_0x4ccae8,!0x1),!0x0);}['_alignToTargetRect'](_0xfbdbbf){const _0x40388e=this['_sidebarItemViewToAnnotation']['get'](_0xfbdbbf);if(!_0x40388e||!_0x40388e['target']||!_0x40388e['targetRect'])return;const _0x1fb055=this['_getTargetTop'](_0x40388e,_0x40388e['targetRect']);this['_setItemTop'](_0xfbdbbf,_0x1fb055);}['_getTargetTop'](_0x4a1894,_0x2d07e0){if(null===_0x2d07e0)return 0x0;if(_0x4a1894['target']instanceof _0x14e616['Rect'])return _0x2d07e0['top'];{const _0xc0dfa7=new _0x14e616['Rect'](this['view']['element'])['top'];return _0x2d07e0['top']-_0xc0dfa7;}}['_setItemTop'](_0x9b9ae4,_0x47885a,_0xc43d5f=this['context']['config']['get']('sidebar.preventScrollOutOfView')){_0xc43d5f&&(_0x47885a=Math['max'](_0x47885a,this['_getMaxAvailableTop'](_0x9b9ae4))),_0x9b9ae4['top']=_0x47885a;}['_getMaxAvailableTop'](_0x39231e){let _0x169123=this['_getItemBefore'](_0x39231e),_0x4bbe10=0x0;for(;_0x169123;)_0x169123['updateHeight'](),_0x4bbe10+=this['_spaceBetweenItems']+_0x169123['height'],_0x169123=this['_getItemBefore'](_0x169123);return _0x4bbe10;}};function _0x16a91e(_0x6bd364,_0x81cb06){return Math['max'](_0x6bd364-_0x81cb06,0x0);}function _0x4556b0(_0x5396e4){return null!==_0x5396e4&&'object'==typeof _0x5396e4&&0x1===_0x5396e4['nodeType'];}var _0x137293=class extends _0x14e616['ContextPlugin']{['isAttached'];['annotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x1264ed,_0x353cdd];}static get['pluginName'](){return'WideSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x38f1b9){super(_0x38f1b9),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_editorAnnotations']=new _0x14e616['Collection'](),this['_refreshPositioningDebounced']=_0x3a18ae(()=>{_0x38f1b9['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){const _0x35e073=this['context']['plugins']['get'](_0x353cdd),_0x1ff471=this['context']['plugins']['get'](_0x1264ed);_0x35e073['register']('wideSidebar',this),_0x1ff471['container']&&_0x35e073['switchTo']('wideSidebar');}['setActiveAnnotation'](_0x39c40b){if(_0x39c40b===this['activeAnnotation'])return;const _0x3ed1ae=this['context']['plugins']['get'](_0x1264ed);_0x3ed1ae['_activeAnnotation']=_0x39c40b;const _0x22b9eb=this['activeAnnotation'];_0x3ed1ae['refresh']({'blurredAnnotation':_0x22b9eb,'activatedAnnotation':_0x39c40b}),this['activeAnnotation']=_0x39c40b;}['attach'](_0x410e8d){this['annotations']=_0x410e8d;const _0x35dd2a=this['context']['plugins']['get'](_0x1264ed);if(_0x35dd2a['_annotations']=_0x410e8d,this['isAttached'])throw new _0x14e616['CKEditorError']('widesidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x35dd2a,'set:container',()=>{this['detach'](),this['listenTo'](_0x35dd2a,'change:container',_0x9dfbbd=>{_0x9dfbbd['off'](),this['attach'](_0x410e8d);});}),_0x35dd2a['_attachToContainer']({'viewClass':'ck-sidebar--wide'});const _0xd77ee5=_0x2fcbfd=>{_0x2fcbfd['updateTargetRect'](),_0x35dd2a['addAnnotation'](_0x2fcbfd);};for(const _0x15313f of _0x410e8d)_0xd77ee5(_0x15313f);this['listenTo'](_0x410e8d,'add',(_0x3375ae,_0x13382a)=>{_0xd77ee5(_0x13382a);}),this['listenTo'](_0x410e8d,'remove',(_0x160d52,_0x470268,_0xcd61)=>{_0x35dd2a['rearrange']({'removedAnnotation':_0x470268,'previousAnnotation':_0x410e8d['get'](_0xcd61-0x1),'nextAnnotation':_0x410e8d['get'](_0xcd61+0x1)}),_0x470268===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'high'}),this['listenTo'](_0x410e8d,'focus',(_0x477de3,_0x58e57f)=>{this['setActiveAnnotation'](_0x58e57f);}),this['listenTo'](_0x410e8d,'blur',()=>{this['setActiveAnnotation'](null);});const _0x30d39a=this['context']instanceof _0x14e616['Context']?this['context']['editors']:new _0x14e616['Collection']([this['context']]);for(const _0x16a4be of _0x30d39a)this['_integrateWithEditorAnnotations'](_0x16a4be);this['listenTo'](_0x30d39a,'add',(_0x568c4a,_0x5efc4d)=>{this['listenTo'](_0x5efc4d,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x5efc4d);});}),this['listenTo'](_0x30d39a,'remove',(_0x26b2a6,_0x1fc222)=>{_0x1fc222['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0x1fc222['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning']();}['detach'](){if(!this['isAttached'])throw new _0x14e616['CKEditorError']('widesidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x44a860=this['context']['plugins']['get'](_0x1264ed);_0x44a860['_detachFromContainer'](this['annotations']),this['stopListening'](_0x44a860),this['stopListening'](this['annotations']),this['context']instanceof _0x14e616['Context']&&this['stopListening'](this['context']['editors']);for(const _0x523956 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x523956);window['removeEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioningDebounced']['cancel'](),this['activeAnnotation']=null,this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach']();}['_integrateWithEditorAnnotations'](_0x4b03b1){if(!_0x4b03b1['plugins']['has']('EditorAnnotations'))return;const _0x1d4d1c=_0x4b03b1['plugins']['get']('EditorAnnotations'),_0x4bdf65=()=>{const _0x61e918=_0x1d4d1c['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['setActiveAnnotation'](_0x61e918[0x0]||null);};this['listenTo'](_0x1d4d1c,'refresh',_0x4bdf65),this['listenTo'](_0x1d4d1c,'blur',(_0x25ae15,{isAnnotationTracked:_0x34e97a})=>{this['activeAnnotation']&&_0x34e97a(this['activeAnnotation'])&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x1d4d1c,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](this['annotations'],'blur',_0x2f43d6=>{_0x1d4d1c['hasDomSelection']()&&(_0x4bdf65(),_0x2f43d6['stop']());},{'priority':'high'}),this['_editorAnnotations']['add'](_0x1d4d1c);}['_destroyEditorAnnotationsIntegration'](_0x32667){this['stopListening'](_0x32667),this['_editorAnnotations']['remove'](_0x32667);}},_0x48fee6=class extends _0x14e616['ButtonView']{['counterView'];constructor(_0x1c8ab3){super(_0x1c8ab3);const _0x35eec7=this['bindTemplate'];this['set']('isDirty',!0x1),this['set']('number',0x0),this['bind']('_badge')['to'](this,'isDirty',this,'number',(_0xf8d2c9,_0x2ad8f4)=>_0xf8d2c9?'...':_0x2ad8f4['toString']()),this['set']('annotationType',''),this['icon']=_0x14e616['IconAddComment'],this['extendTemplate']({'attributes':{'class':['ck-annotation-counter']}}),this['counterView']=new _0x14e616['View'](),this['counterView']['setTemplate']({'tag':'span','attributes':{'class':['ck-annotation-counter__badge',_0x35eec7['to']('annotationType',_0xec9a86=>'ck-annotation-counter__badge--'+_0xec9a86),_0x35eec7['if']('isDirty','ck-annotation-counter__badge--edit-mode')]},'children':[{'text':_0x35eec7['to']('_badge')}]}),this['children']['add'](this['counterView']);}},_0x12658c=class extends _0x14e616['ContextPlugin']{['isAttached'];['annotations'];['_manuallyClosedAnnotationViews'];['_domEmitter'];['_annotationToNarrowView'];['_selectedAnnotations'];['_editorAnnotations'];['_refreshPositioningDebounced'];static get['requires'](){return[_0x1264ed,_0x353cdd];}static get['pluginName'](){return'NarrowSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3262e2){super(_0x3262e2),this['isAttached']=!0x1,this['_manuallyClosedAnnotationViews']=new Set(),this['_domEmitter']=new((0x0,_0x14e616['DomEmitterMixin'])())(),this['_annotationToNarrowView']=new Map(),this['set']('activeAnnotation',null),this['annotations']=null,this['_selectedAnnotations']=[],this['_editorAnnotations']=new _0x14e616['Collection'](),this['_refreshPositioningDebounced']=_0x3a18ae(()=>{this['_refreshPositioning']();},0xfa,{'leading':!0x1});}['init'](){this['context']['plugins']['get'](_0x353cdd)['register']('narrowSidebar',this),this['bodyCollection']=new _0x14e616['BodyCollection'](this['context']['locale']),this['balloonPanelView']=new _0x14e616['BalloonPanelView'](this['context']['locale']),this['bodyCollection']['attachToDom'](),this['bodyCollection']['add'](this['balloonPanelView']);}['attach'](_0x202a87){this['annotations']=_0x202a87;const _0x3c30f9=this['context']['plugins']['get'](_0x1264ed),_0x5324cf=this['balloonPanelView'];if(_0x3c30f9['_annotations']=_0x202a87,this['isAttached'])throw new _0x14e616['CKEditorError']('narrowsidebar-attach-already-attached',this);this['isAttached']=!0x0,this['listenTo'](_0x3c30f9,'set:container',()=>{this['detach'](),this['listenTo'](_0x3c30f9,'change:container',_0x38c394=>{_0x38c394['off'](),this['attach'](_0x202a87);});}),_0x3c30f9['_attachToContainer']({'viewClass':'ck-sidebar--narrow','spaceBetweenItems':0x5});const _0x18d3f0=_0x1bb80d=>{const _0x198af4=new _0x48fee6(this['context']['locale']);_0x3c30f9['addAnnotation'](_0x1bb80d,_0x198af4),this['_annotationToNarrowView']['set'](_0x1bb80d,_0x198af4),_0x198af4['bind']('isDirty','annotationType','number')['to'](_0x1bb80d['view'],'isDirty','type','length'),_0x198af4['on']('execute',()=>{this['_manuallyClosedAnnotationViews']['clear'](),_0x5324cf['content']['first']!==_0x1bb80d['view']?(this['_showBalloon'](_0x1bb80d),_0x1bb80d['view']['element']['focus'](),this['setActiveAnnotation'](_0x1bb80d)):this['setActiveAnnotation'](null);});};for(const _0x15f080 of _0x202a87)_0x18d3f0(_0x15f080);this['listenTo'](_0x202a87,'add',(_0x21c1b5,_0x568c6d)=>{_0x18d3f0(_0x568c6d);}),this['listenTo'](_0x202a87,'remove',(_0x3046d2,_0x31352d,_0x3a627e)=>{this['_annotationToNarrowView']['get'](_0x31352d)['destroy'](),this['_annotationToNarrowView']['delete'](_0x31352d),_0x3c30f9['rearrange']({'removedAnnotation':_0x31352d,'previousAnnotation':_0x202a87['get'](_0x3a627e-0x1),'nextAnnotation':_0x202a87['get'](_0x3a627e+0x1)}),_0x31352d===this['activeAnnotation']&&this['setActiveAnnotation'](null);},{'priority':'low'}),this['listenTo'](_0x202a87,'focus',(_0x20bc0,_0x4a22ac)=>{this['setActiveAnnotation'](_0x4a22ac);}),this['listenTo'](_0x202a87,'blur',()=>{this['setActiveAnnotation'](null);}),this['_domEmitter']['listenTo'](document,'keydown',(_0x59df48,_0x28837b)=>{_0x28837b['keyCode']===_0x14e616['keyCodes']['esc']&&_0x5324cf['isVisible']&&(this['_manuallyClosedAnnotationViews']['add'](_0x5324cf['content']['first']),this['_hideBalloon'](),_0x28837b['stopPropagation'](),_0x28837b['preventDefault']());}),this['_domEmitter']['listenTo'](document,'mousedown',(_0x2062b5,_0x42b91d)=>{const _0x10b9cc=_0x42b91d['target'];_0x5324cf['isVisible']&&_0x5324cf['element']['contains'](_0x10b9cc)||_0x3c30f9['view']['element']['contains'](_0x10b9cc)||_0x2062b5['preventClosingBalloon']||this['activeAnnotation']&&this['activeAnnotation']['focusableElements']['find'](_0xf55acb=>_0xf55acb['contains'](_0x10b9cc))||(this['_manuallyClosedAnnotationViews']['clear'](),this['_hideBalloon'](),this['setActiveAnnotation'](null));});const _0x5e231c=this['context']instanceof _0x14e616['Context']?this['context']['editors']:new _0x14e616['Collection']([this['context']]);for(const _0x130992 of _0x5e231c)this['_integrateWithEditorAnnotations'](_0x130992);this['listenTo'](_0x5e231c,'add',(_0xa8737a,_0x2f3297)=>{this['listenTo'](_0x2f3297,'ready',()=>{this['_integrateWithEditorAnnotations'](_0x2f3297);});}),this['listenTo'](_0x5e231c,'remove',(_0x54f07c,_0xf7ece8)=>{_0xf7ece8['plugins']['has']('EditorAnnotations')&&this['_destroyEditorAnnotationsIntegration'](_0xf7ece8['plugins']['get']('EditorAnnotations'));}),window['addEventListener']('resize',this['_refreshPositioningDebounced']),this['_refreshPositioning']();}['setActiveAnnotation'](_0x4932c5){if(_0x4932c5===this['activeAnnotation'])return;const _0x50d011=this['context']['plugins']['get'](_0x1264ed);_0x50d011['refresh']({'blurredAnnotation':this['activeAnnotation'],'activatedAnnotation':_0x4932c5,'disableAnimationOnActivatedAnnotation':!0x0}),_0x4932c5&&_0x50d011['getSidebarItemView'](_0x4932c5)?this['_showBalloon'](_0x4932c5):this['_hideBalloon'](),this['activeAnnotation']=_0x4932c5;}['detach'](){if(!this['isAttached'])throw new _0x14e616['CKEditorError']('narrowsidebar-detach-not-attached',this);this['setActiveAnnotation'](null);const _0x3bc64e=this['context']['plugins']['get'](_0x1264ed);this['_hideBalloon'](),Array['from'](this['_annotationToNarrowView']['values'](),_0x3b332e=>_0x3b332e['destroy']()),this['_annotationToNarrowView']['clear'](),_0x3bc64e['_detachFromContainer'](this['annotations']),this['stopListening'](),this['_domEmitter']['stopListening'](),this['context']instanceof _0x14e616['Context']&&this['stopListening'](this['context']['editors']);for(const _0x153c42 of Array['from'](this['_editorAnnotations']))this['_destroyEditorAnnotationsIntegration'](_0x153c42);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'](_0x21501d){if(!_0x21501d['plugins']['has']('EditorAnnotations'))return;const _0x32c3b4=_0x21501d['plugins']['get']('EditorAnnotations'),_0x3729ed=this['context']['plugins']['get'](_0x1264ed),_0x7798b9=this['annotations'],_0x50c63e=this['balloonPanelView'],_0x35c38d=()=>{const _0x2b36f2=_0x32c3b4['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});this['_setSelectedAnnotations'](_0x2b36f2),this['setActiveAnnotation'](_0x2b36f2[0x0]||null);};this['listenTo'](_0x32c3b4,'refresh',_0x35c38d),this['listenTo'](_0x32c3b4,'blur',(_0x1976b4,{isAnnotationTracked:_0xb4321f})=>{this['activeAnnotation']&&_0xb4321f(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x32c3b4,'uiUpdate',()=>{this['_refreshPositioningDebounced']();}),this['listenTo'](_0x7798b9,'blur',_0xc6bf97=>{_0x32c3b4['hasDomSelection']()&&_0xc6bf97['stop']();},{'priority':'high'}),this['listenTo'](this['_domEmitter'],'mousedown',(_0x56a423,_0x1f9e5e)=>{const _0x6e81ed=_0x1f9e5e['target'];_0x50c63e['isVisible']&&_0x50c63e['element']['contains'](_0x6e81ed)||_0x3729ed['view']['element']['contains'](_0x6e81ed)||this['activeAnnotation']&&_0x32c3b4['hasDomSelection']()&&(_0x35c38d(),_0x56a423['preventClosingBalloon']=!0x0);},{'priority':'high'}),this['_editorAnnotations']['add'](_0x32c3b4);}['_destroyEditorAnnotationsIntegration'](_0x51b0a9){_0x51b0a9&&(this['stopListening'](_0x51b0a9),this['_editorAnnotations']['remove'](_0x51b0a9));}['_setSelectedAnnotations'](_0x19efd8){for(const _0x309a5f of this['_selectedAnnotations'])_0x19efd8['includes'](_0x309a5f)||this['_manuallyClosedAnnotationViews']['delete'](_0x309a5f['view']);this['_selectedAnnotations']=_0x19efd8;}['_refreshPositioning'](){const _0x3dc86c=this['balloonPanelView'];this['context']['plugins']['get']('Annotations')['refreshVisibility'](),this['annotations']['refreshPositioning'](),_0x3dc86c['isVisible']&&this['_updateBalloonPosition']();}['_showBalloon'](_0x21bf84){if(this['_manuallyClosedAnnotationViews']['has'](_0x21bf84['view']))return;const _0x484776=this['balloonPanelView']['content']['first'];_0x484776!==_0x21bf84['view']?(_0x484776&&this['_detachListeners'](_0x484776),this['_attachListeners'](_0x21bf84['view']),this['balloonPanelView']['content']['clear'](),this['balloonPanelView']['content']['add'](_0x21bf84['view']),this['_updateBalloonPosition']()):this['_updateBalloonPosition']();}['_updateBalloonPosition'](){const _0x42b3e7=this['balloonPanelView']['content']['first'],_0x48865c=_0x42b3e7&&this['annotations']['getByView'](_0x42b3e7);if(!_0x48865c||!this['_annotationToNarrowView']['has'](_0x48865c))return;const _0x28d84a=this['_annotationToNarrowView']['get'](_0x48865c)['element'],_0x5070ad=(function(){const _0x1fc718=_0x14e616['BalloonPanelView']['defaultPositions'];return[_0x1fc718['southArrowNorthEast'],_0x1fc718['northArrowSouthEast'],_0x1fc718['southArrowNorth'],_0x1fc718['northArrowSouth'],_0x1fc718['southArrowNorthWest'],_0x1fc718['northArrowSouthWest']];}());this['balloonPanelView']['pin']({'target':_0x28d84a,'positions':_0x5070ad});}['_hideBalloon'](){const _0x618408=this['balloonPanelView'],_0x535dae=_0x618408['content']['first'];_0x535dae&&(this['_detachListeners'](_0x535dae),_0x618408['unpin'](),_0x618408['content']['clear']());}['_attachListeners'](_0x50507b){this['listenTo'](_0x50507b,'change:height',()=>this['_updateBalloonPosition']()),this['listenTo'](_0x50507b,'Esc',(_0x818d8d,_0x251233)=>{this['_manuallyClosedAnnotationViews']['add'](_0x50507b),this['_hideBalloon'](),_0x251233();});}['_detachListeners'](_0x2015ac){this['stopListening'](_0x2015ac);}},_0x5ab417=class extends _0x14e616['Plugin']{['isAttached'];['annotations'];['_manuallyClosed'];['_balloon'];['_addedAnnotations'];['_selectedAnnotations'];['_forceRefresh'];['_refreshVisibilityDebounced'];static get['requires'](){return[_0x248fa4,_0x14e616['ContextualBalloon'],_0x353cdd];}static get['pluginName'](){return'InlineAnnotations';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1ca274){super(_0x1ca274),_0x1ca274['editing']['view']['addObserver'](_0x14e616['MouseObserver']),this['isAttached']=!0x1,this['set']('activeAnnotation',null),this['annotations']=null,this['_manuallyClosed']=new Set(),this['_balloon']=_0x1ca274['plugins']['get'](_0x14e616['ContextualBalloon']),this['_addedAnnotations']=new Set(),this['_selectedAnnotations']=[],this['_forceRefresh']=!0x1,this['_refreshVisibilityDebounced']=_0x3a18ae(()=>{this['editor']['plugins']['get']('Annotations')['refreshVisibility']();},0xfa,{'leading':!0x1});}['init'](){const _0x47eabe=this['editor']['plugins']['get'](_0x353cdd);_0x47eabe['context']===this['editor']&&(_0x47eabe['register']('inline',this),this['editor']['keystrokes']['set']('Esc',(_0x415d5d,_0x119cf5)=>{const _0x4a65f3=this['_balloon'];if(this['isAttached']&&_0x4a65f3['visibleView']){const _0x354c49=this['annotations']['getByView'](_0x4a65f3['visibleView']);_0x354c49&&this['_closeAnnotation'](_0x354c49),_0x119cf5();}}));}['afterInit'](){const _0x411dff=this['editor']['plugins']['get'](_0x353cdd);_0x411dff['context']===this['editor']&&(_0x411dff['hasActive']()||_0x411dff['switchTo']('inline'));}['setActiveAnnotation'](_0x230854){_0x230854!==this['activeAnnotation']&&(this['activeAnnotation']&&(this['activeAnnotation']['isActive']=!0x1),_0x230854&&this['editor']['ui']['focusTracker']['isFocused']&&(this['annotations']['has'](_0x230854)&&this['_addAnnotationToBalloon'](_0x230854,!0x0),_0x230854['isActive']=!0x0),_0x230854||this['_setSelectedAnnotations']([]),this['activeAnnotation']=_0x230854);}['attach'](_0x3449c1){this['annotations']=_0x3449c1;const _0x4f1e92=this['editor']['plugins']['get'](_0x353cdd),_0x2aa564=this['_balloon'];if(this['isAttached'])throw new _0x14e616['CKEditorError']('inlineannotations-attach-already-attached',this);if(_0x4f1e92['context']!==this['editor'])throw new _0x14e616['CKEditorError']('inlineannotations-not-allowed-with-context',this);const _0x382355=this['editor']['plugins']['get'](_0x248fa4);this['listenTo'](_0x382355,'refresh',()=>{const _0x375bd6=_0x382355['getOrderedSelectedAnnotations']({'annotations':this['annotations'],'activeAnnotation':this['activeAnnotation']});var _0x2917ba,_0x2e0c5f;!this['_forceRefresh']&&(_0x2917ba=_0x375bd6,_0x2e0c5f=this['_selectedAnnotations'],_0x2917ba['length']===_0x2e0c5f['length']&&_0x2917ba['every'](_0x5b6d7c=>_0x2e0c5f['includes'](_0x5b6d7c)))||(this['_forceRefresh']=!0x1,this['_setSelectedAnnotations'](_0x375bd6),this['setActiveAnnotation'](_0x375bd6[0x0]||null));}),this['listenTo'](_0x382355,'blur',(_0x440484,{isAnnotationTracked:_0x62fe96})=>{this['activeAnnotation']&&_0x62fe96(this['activeAnnotation'])&&(this['_setSelectedAnnotations']([]),this['setActiveAnnotation'](null));}),this['listenTo'](_0x382355,'uiUpdate',()=>{this['_refreshVisibilityDebounced']();}),this['listenTo'](this['editor']['ui']['focusTracker'],'change:isFocused',(_0x434721,_0xc9448a,_0x1ff1ab)=>{_0x1ff1ab||this['setActiveAnnotation'](null);}),this['listenTo'](_0x3449c1,'remove',(_0x4617cb,_0xbaa2ff)=>{this['_removeAnnotationFromBalloon'](_0xbaa2ff),_0xbaa2ff===this['activeAnnotation']&&this['setActiveAnnotation'](null);}),this['listenTo'](_0x2aa564,'change:visibleView',(_0x3f8201,_0x19aa5f,_0x3354c4,_0x5165ae)=>{_0x5165ae&&this['stopListening'](_0x5165ae);const _0x3b7556=_0x3449c1['getByView'](_0x3354c4);_0x3354c4&&_0x3b7556&&(this['listenTo'](_0x3354c4,'change:height',()=>{_0x2aa564['updatePosition']();}),this['listenTo'](_0x3354c4,'Esc',()=>{this['_closeAnnotation'](_0x3b7556),this['editor']['editing']['view']['focus']();}),this['activeAnnotation']!==_0x3b7556&&this['setActiveAnnotation'](_0x3b7556));}),this['listenTo'](this['editor']['ui'],'update',()=>{_0x2aa564['visibleView']&&_0x3449c1['getByView'](_0x2aa564['visibleView'])&&_0x2aa564['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 _0x14e616['CKEditorError']('inlineannotations-detach-not-attached',this);this['setActiveAnnotation'](null);for(const _0x393272 of this['_addedAnnotations'])this['_removeAnnotationFromBalloon'](_0x393272);this['_refreshVisibilityDebounced']['cancel'](),this['stopListening'](),this['isAttached']=!0x1,this['annotations']=null;}['destroy'](){this['isAttached']&&this['detach'](),this['_refreshVisibilityDebounced']['cancel']();}['_setSelectedAnnotations'](_0x2b74b2){for(const _0x3df618 of this['_selectedAnnotations'])_0x2b74b2['includes'](_0x3df618)||this['_manuallyClosed']['delete'](_0x3df618);for(const _0x19645e of this['annotations'])_0x2b74b2['includes'](_0x19645e)||this['_removeAnnotationFromBalloon'](_0x19645e);if(this['editor']['ui']['focusTracker']['isFocused']){for(const _0x5b5db5 of _0x2b74b2)this['_addAnnotationToBalloon'](_0x5b5db5);}this['_selectedAnnotations']=_0x2b74b2;}['_addAnnotationToBalloon'](_0x4f8fbe,_0x1f0fbe=!0x1){this['_manuallyClosed']['has'](_0x4f8fbe)||(this['_addedAnnotations']['has'](_0x4f8fbe)||this['_balloon']['hasView'](_0x4f8fbe['view'])||(this['_addedAnnotations']['add'](_0x4f8fbe),this['_balloon']['add']({'stackId':_0x4f8fbe['view']['id'],'view':_0x4f8fbe['view'],'position':{'target':()=>this['_getBalloonTargetForAnnotation'](_0x4f8fbe)}})),_0x1f0fbe&&this['_balloon']['showStack'](_0x4f8fbe['view']['id']));}['_getBalloonTargetForAnnotation'](_0x28b2c8){const _0x26bf55=_0x28b2c8['target'],_0x13e39b=this['editor']['editing']['view'],_0x5e483c=_0x13e39b['document']['selection']['getFirstRange'](),_0x48d9a4=_0x13e39b['domConverter']['viewRangeToDom'](_0x5e483c);if(_0x48d9a4['collapse'](!0x0),_0x26bf55){if(_0x26bf55 instanceof _0x14e616['Rect'])return _0x26bf55;let _0x140e0a=[];for(const _0x96ba02 of _0x26bf55)_0x140e0a['push'](..._0x14e616['Rect']['getDomElementRects'](_0x96ba02));_0x140e0a=function(_0x28147e){const _0x32f2b7=[];let _0x5af9bc=_0x28147e[0x0];for(let _0x3c5c07=0x1;_0x3c5c07<_0x28147e['length'];_0x3c5c07++)if(_0x4865ab(_0x5af9bc,_0x28147e[_0x3c5c07])){const _0x244cde=_0x28147e[_0x3c5c07]['width'];_0x5af9bc['width']+=_0x244cde,_0x5af9bc['right']+=_0x244cde;}else _0x32f2b7['push'](_0x5af9bc),_0x5af9bc=_0x28147e[_0x3c5c07];return _0x32f2b7['push'](_0x5af9bc),_0x32f2b7;}(_0x140e0a);const _0x43ea3b=_0x48d9a4['getBoundingClientRect']();return _0x140e0a['find'](_0xe56518=>_0xe56518['top']<=_0x43ea3b['top']&&_0xe56518['bottom']>=_0x43ea3b['bottom']&&_0xe56518['left']<=_0x43ea3b['left']&&_0xe56518['right']>=_0x43ea3b['right'])||_0x140e0a[0x0];}return _0x28b2c8['targetRect']||_0x48d9a4;}['_removeAnnotationFromBalloon'](_0x22b7c9){this['_addedAnnotations']['has'](_0x22b7c9)&&this['_balloon']['hasView'](_0x22b7c9['view'])&&(this['_addedAnnotations']['delete'](_0x22b7c9),this['_balloon']['remove'](_0x22b7c9['view']));}['_closeAnnotation'](_0x5ccd7e){this['_manuallyClosed']['add'](_0x5ccd7e),this['_removeAnnotationFromBalloon'](_0x5ccd7e);}};function _0x4865ab(_0x179a7e,_0x2f39b7){return _0x179a7e['top']===_0x2f39b7['top']&&_0x179a7e['bottom']===_0x2f39b7['bottom']&&_0x179a7e['right']===_0x2f39b7['left'];}var _0x1f4520=class extends _0x14e616['View']{['focusTracker'];['focusCycler'];['_annotationViews'];constructor(_0x283988,_0x48f2af){super(_0x283988),this['set']('isEmpty',!_0x48f2af['length']),this['focusTracker']=new _0x14e616['FocusTracker'](),this['_annotationViews']=_0x48f2af,this['_annotationViews']['delegate']('arrowup','arrowdown')['to'](this),this['on']('arrowup',()=>{this['focusCycler']['focusPrevious']();}),this['on']('arrowdown',()=>{this['focusCycler']['focusNext']();}),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':_0x48f2af,'focusTracker':this['focusTracker']}),this['listenTo'](_0x48f2af,'add',()=>{this['isEmpty']=!0x1;}),this['listenTo'](_0x48f2af,'remove',(_0x13d0e1,_0x469f19)=>{_0x469f19['isActive']&&this['focus'](),_0x48f2af['length']||(this['isEmpty']=!0x0);});const _0x54a719=this['bindTemplate'];this['setTemplate']({'tag':'div','attributes':{'dir':'auto','class':['ck','ck-comments-archive'],'tabindex':-0x1,'role':'list','aria-label':_0x2412ce(_0x283988,'COMMENTS_ARCHIVE_LIST_LABEL')},'children':[{'tag':'div','attributes':{'class':['ck-comments-archive__content'],'role':'presentation'},'children':[{'tag':'div','attributes':{'role':'presentation'},'children':_0x48f2af},{'tag':'p','attributes':{'class':['ck-comments-archive__info',_0x54a719['if']('isEmpty','ck-hidden',_0x5507f9=>!_0x5507f9)]},'children':[{'text':_0x2412ce(_0x283988,'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 _0x18c274 of this['_annotationViews'])this['focusTracker']['add'](_0x18c274['element']);this['_annotationViews']['on']('change',(_0x24d702,{added:_0x28450b,removed:_0x523f8d})=>{for(const _0x2dd7a7 of _0x28450b)this['focusTracker']['add'](_0x2dd7a7['element']);for(const _0x23efad of _0x523f8d)this['focusTracker']['remove'](_0x23efad['element']);});}},_0x534cf2=class extends _0x14e616['ContextPlugin']{static get['pluginName'](){return'CommentsArchive';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xc5d2f4,_0x3007a9];}constructor(_0x3e353f){super(_0x3e353f),this['archivedThreads']=new _0x14e616['Collection']();}['init'](){const _0x313ff4=this['context'],_0x2aef5f=_0x313ff4['plugins']['get'](_0xc5d2f4),_0x2aef78=_0x313ff4['plugins']['get'](_0x3007a9);this['listenTo'](_0x2aef5f,'addCommentThread',(_0x3133c1,{threadId:_0x5ee018})=>{const _0xfb840f=_0x2aef5f['getCommentThread'](_0x5ee018);_0xfb840f['archivedAt']&&this['archivedThreads']['add'](_0xfb840f,this['_calculatePosition'](_0xfb840f['archivedAt'])),this['listenTo'](_0xfb840f,'change:archivedAt',(_0x4dd703,_0x5884cf,_0xd56361)=>{_0xd56361?this['archivedThreads']['has'](_0xfb840f)||this['archivedThreads']['add'](_0xfb840f,this['_calculatePosition'](_0xfb840f['archivedAt'])):this['archivedThreads']['has'](_0xfb840f)&&this['archivedThreads']['remove'](_0xfb840f);});}),this['listenTo'](_0x2aef5f,'removeCommentThread',(_0x105dda,{threadId:_0xc2d0e2})=>{const _0xef1665=_0x2aef5f['getCommentThread'](_0xc2d0e2);this['stopListening'](_0xef1665),this['archivedThreads']['has'](_0xef1665)&&this['archivedThreads']['remove'](_0xef1665);},{'priority':'highest'}),this['listenTo'](_0x2aef78['collection'],'focus',(_0x1ba71b,_0x3cb1b5)=>{_0x3cb1b5['isVisible']||(_0x3cb1b5['isActive']=!0x0,_0x2aef78['activate'](_0x3cb1b5));});}['_calculatePosition'](_0x226c93){const _0x4459c8=[...this['archivedThreads']]['findIndex'](_0x325400=>_0x325400['archivedAt']<_0x226c93);return _0x4459c8>-0x1?_0x4459c8:this['archivedThreads']['length'];}},_0x549631=class extends _0x14e616['Plugin']{['commentsArchiveView'];['annotationViews'];['_pendingThreads'];static get['pluginName'](){return'CommentsArchiveUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x534cf2,_0x14e616['Dialog']];}constructor(_0x2770be){super(_0x2770be),this['annotationViews']=new _0x14e616['ViewCollection'](),this['_pendingThreads']=[];}['init'](){const _0x2e75d2=this['editor'],_0x590917=this['_hideDialogOnAnnotationEscape']['bind'](this);_0x2e75d2['ui']['componentFactory']['add']('commentsArchive',()=>this['_createCommentsArchiveButton'](_0x14e616['ButtonView'],!0x0)),_0x2e75d2['ui']['componentFactory']['add']('menuBar:commentsArchive',()=>{const _0x3284f5=this['_createCommentsArchiveButton'](_0x14e616['MenuBarMenuListItemButtonView']);return _0x3284f5['set']({'role':'menuitemcheckbox'}),_0x3284f5;});const _0x4e0967=_0x2e75d2['plugins']['get'](_0x534cf2),_0xfcac90=_0x2e75d2['plugins']['get']('Annotations'),_0x4bd78d=_0x2e75d2['plugins']['get']('CommentsRepository');_0x4e0967['archivedThreads']['forEach'](_0x1fa326=>{this['_handleNewThread'](_0x1fa326);}),this['listenTo'](_0x4e0967['archivedThreads'],'add',(_0x239d17,_0x5626bb)=>{this['_handleNewThread'](_0x5626bb);}),this['listenTo'](_0xfcac90['collection'],'add',(_0x558850,_0x1d494a)=>{const _0x2aacc2=this['_pendingThreads']['find'](_0x2e5159=>{const _0x3dbca1=_0x4bd78d['_threadToController']['get'](_0x2e5159);return _0x3dbca1&&_0x1d494a['innerView']===_0x3dbca1['view'];});if(_0x2aacc2){const _0x10b40c=this['_calculatePosition'](_0x2aacc2['archivedAt']);this['_addAnnotationToArchive'](_0x1d494a,_0x10b40c),this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x2aacc2),0x1);}}),this['listenTo'](_0x4e0967['archivedThreads'],'remove',(_0x537f85,_0x108602)=>{const _0x6449a0=_0x2e75d2['config']['get']('collaboration.channelId');if(!_0x6449a0||_0x108602['channelId']===_0x6449a0){if(this['_pendingThreads']['includes'](_0x108602))this['_pendingThreads']['splice'](this['_pendingThreads']['indexOf'](_0x108602),0x1);else{const _0x2ec215=_0x4bd78d['_threadToController']['get'](_0x108602),_0x23e1a3=_0xfcac90['getByInnerView'](_0x2ec215['view']);this['annotationViews']['remove'](_0x23e1a3['view']),this['stopListening'](_0x23e1a3),this['stopListening'](_0x23e1a3['focusableElements']);}}}),this['listenTo'](_0xfcac90['collection'],'add',(_0x1aac31,_0x40db14)=>{this['listenTo'](_0x40db14,'escape',_0x590917);}),this['listenTo'](_0xfcac90['collection'],'remove',(_0x541515,_0x29871c)=>{this['stopListening'](_0x29871c,'escape',_0x590917);});}['_addAnnotationToArchive'](_0x597e31,_0x4ae92a){this['listenTo'](_0x597e31,'set:isVisible',_0x4f3ac6=>{_0x4f3ac6['return']=!0x1,_0x4f3ac6['stop']();}),this['annotationViews']['add'](_0x597e31['view'],_0x4ae92a);}['_handleNewThread'](_0x408f42){const _0x35bcfb=this['editor']['plugins']['get']('CommentsRepository'),_0x570305=this['editor']['plugins']['get']('Annotations'),_0x33c596=this['editor']['config']['get']('collaboration.channelId');if(!_0x33c596||_0x408f42['channelId']===_0x33c596){const _0x2c7f6a=_0x35bcfb['_threadToController']['get'](_0x408f42);if(!_0x2c7f6a)return void this['_pendingThreads']['push'](_0x408f42);const _0x580f25=this['_calculatePosition'](_0x408f42['archivedAt']),_0x324d33=_0x570305['getByInnerView'](_0x2c7f6a['view']);_0x324d33['isVisible']&&_0x570305['_visibleAnnotations']['remove'](_0x324d33),this['_addAnnotationToArchive'](_0x324d33,_0x580f25);}}['_calculatePosition'](_0x37c457){const _0x5bec38=this['editor']['config']['get']('collaboration.channelId'),_0x3017b2=[...this['editor']['plugins']['get'](_0x534cf2)['archivedThreads']]['filter'](_0x4363de=>_0x4363de['channelId']===_0x5bec38)['findIndex'](_0xe76445=>_0xe76445['archivedAt']<_0x37c457);return _0x3017b2<0x0||_0x3017b2>this['annotationViews']['length']?this['annotationViews']['length']:_0x3017b2-0x1;}['_toggleDialog'](){const _0x160422=this['editor'],_0x1e2203=_0x160422['plugins']['get']('Dialog');this['commentsArchiveView']||(this['commentsArchiveView']=new _0x1f4520(_0x160422['locale'],this['annotationViews'])),'commentsArchive'===_0x1e2203['id']?_0x1e2203['hide']():_0x1e2203['show']({'id':'commentsArchive','title':_0x2412ce(_0x160422['locale'],'COMMENTS_ARCHIVE'),'icon':_0x14e616['IconCommentsArchive'],'hasCloseButton':!0x0,'content':this['commentsArchiveView'],'position':_0x14e616['DialogViewPosition']['EDITOR_TOP_SIDE']});}['_createCommentsArchiveButton'](_0x120bf1,_0x19a400=!0x1){const _0x5df0cc=this['editor']['locale'],_0x41cfb9=this['editor']['plugins']['get']('Dialog'),_0x3b1c53=new _0x120bf1(_0x5df0cc);return _0x3b1c53['bind']('isEnabled')['to'](this,'isEnabled'),_0x3b1c53['bind']('isOn')['to'](_0x41cfb9,'id',_0x13e401=>'commentsArchive'===_0x13e401),_0x3b1c53['set']({'label':_0x2412ce(_0x5df0cc,'COMMENTS_ARCHIVE'),'icon':_0x14e616['IconCommentsArchive'],'isToggleable':!0x0}),_0x19a400&&(_0x3b1c53['tooltip']=!0x0),this['listenTo'](_0x3b1c53,'execute',()=>this['_toggleDialog']()),_0x3b1c53;}['_hideDialogOnAnnotationEscape']=_0x3a64c8=>{const _0x167db9=_0x3a64c8['source'];if(!this['annotationViews']['has'](_0x167db9['view']))return;const _0xd966f7=this['editor']['plugins']['get']('Dialog');_0xd966f7['isOpen']&&'commentsArchive'===_0xd966f7['id']&&(_0xd966f7['hide'](),_0x3a64c8['stop']());};},_0x598efe=class extends _0x14e616['Plugin']{static get['requires'](){return[_0xc5d2f4,_0x5e2dbc,_0x502dce,_0x534cf2,_0x549631,_0x472783,_0x137293,_0x12658c,_0x5ab417];}static get['pluginName'](){return'Comments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x401fa6(_0x293b09){let _0x48e013='';for(const _0x3a6dd6 of _0x293b09['getChildren']())_0x3a6dd6 instanceof _0x14e616['ModelText']&&(_0x48e013+=_0x3a6dd6['data']);return _0x48e013;}var _0x2fd6f0=class extends _0x14e616['Plugin']{static get['pluginName'](){return'DocumentOutlineUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_headingNames']=[];['init'](){const _0x4096f3=this['editor'];this['_headingNames']=this['_getHeadingNames']();let _0x149b40=[];_0x4096f3['model']['document']['on']('change',_0x3a18ae(()=>{const _0x388cae=_0x149b40;_0x149b40=this['_getOutlineDefinitions']();const _0x594c42=(0x0,_0x14e616['diffToChanges'])((0x0,_0x14e616['diff'])(_0x388cae,_0x149b40,(_0x588a1d,_0x51906a)=>_0x588a1d['level']===_0x51906a['level']&&_0x588a1d['text']===_0x51906a['text']&&_0x588a1d['modelElement']===_0x51906a['modelElement']),_0x149b40),_0x41735d=this['_getActiveHeading'](),_0x23d6c3=_0x149b40['findIndex'](_0x34ceba=>_0x34ceba['modelElement']===_0x41735d);_0x594c42['length']&&this['fire']('change',{'outlineDefinitions':_0x149b40,'activeItemIndex':_0x23d6c3,'outlineChanges':_0x594c42}),this['fire']('activeItemIndex',{'index':_0x23d6c3});},0xfa,{'leading':!0x0,'trailing':!0x0}));}['afterInit'](){this['_headingNames']['length']||this['_deriveHeadingElementsFromConversion']();}['_getOutlineDefinitions'](){const _0x51ccae=this['editor'],_0x2a3fea=[],_0x84dfcf=this['_headingNames'];for(const _0x25ad80 of _0x51ccae['model']['document']['getRootNames']())_0x451831(_0x51ccae['model']['document']['getRoot'](_0x25ad80));function _0x451831(_0x22a9a2){for(const _0xccb675 of _0x22a9a2['getChildren']())_0xccb675['is']('element')&&(_0x84dfcf['includes'](_0xccb675['name'])&&_0x2a3fea['push']({'level':_0x84dfcf['indexOf'](_0xccb675['name'])+0x1,'text':_0x401fa6(_0xccb675),'modelElement':_0xccb675}),_0x451831(_0xccb675));}return _0x2a3fea;}['_getActiveHeading'](){const _0x27ed42=new _0x14e616['ModelTreeWalker']({'direction':'backward','startPosition':this['editor']['model']['document']['selection']['getFirstPosition']()});for(const _0x36585d of _0x27ed42)if(_0x36585d['item']['is']('element')&&this['_headingNames']['includes'](_0x36585d['item']['name']))return _0x36585d['item'];}['_getHeadingNames'](){const _0x16062f=this['editor']['config']['get']('documentOutline.headings');return _0x16062f||function(_0x40d131){const _0x4fee71=_0x40d131['config']['get']('heading.options');return _0x4fee71?_0x4fee71['reduce']((_0x1cf470,_0x567785)=>('paragraph'!==_0x567785['model']&&_0x1cf470['push'](_0x567785['model']),_0x1cf470),[]):_0x40d131['plugins']['has']('GeneralHtmlSupport')?['htmlH1','htmlH2','htmlH3','htmlH4','htmlH5','htmlH6']:[];}(this['editor']);}['_deriveHeadingElementsFromConversion'](){const _0x223e2e=this['editor'],_0x392854=['h1','h2','h3','h4','h5','h6'],_0x49b888=[];for(const _0x23b6d1 of _0x392854){const _0x3780e6=_0x223e2e['editing']['view']['domConverter']['domToView'](document['createElement'](_0x23b6d1)),_0x49181a=_0x223e2e['data']['toModel'](_0x3780e6)['getChild'](0x0);_0x49181a?.['is']('element')&&_0x49b888['push'](_0x49181a['name']);}this['_headingNames']=_0x49b888;}};function _0x20851c(_0xab8ad1,_0x323fb6){const t=_0xab8ad1['t'];switch(_0x323fb6){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 _0x323fb6;}}var _0xe1b2e=class extends _0x14e616['View']{constructor(_0x512801,_0x3e3bc3=!0x1){super(_0x512801);const _0x58fce3=this['bindTemplate'],_0x542a98=_0x3e3bc3?'['+_0x20851c(_0x512801,'Empty\x20heading')+']':'';this['set']('text',''),this['set']('level',0x1),this['set']('isActive',!0x1),this['bind']('isEmpty')['to'](this,'text',_0x243b0a=>!_0x243b0a),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline__item',_0x58fce3['to']('level',_0x63e9d9=>'ck-document-outline__item_level-'+_0x63e9d9),_0x58fce3['if']('isActive','ck-document-outline__item_active'),_0x58fce3['if']('isEmpty','ck-document-outline__item_empty')],'title':_0x58fce3['to']('text')},'children':[{'text':_0x58fce3['to']('text',_0x485374=>_0x485374||_0x542a98)}],'on':{'click':_0x58fce3['to']('click')}});}},_0x41b8bb=class extends _0x14e616['View']{['items'];['documentOutlineContainer'];['showEmptyHeadingText'];constructor(_0x366adc,_0x32ac40=!0x1,_0x35ee40){super(_0x366adc),this['showEmptyHeadingText']=_0x32ac40,this['set']('activeItemIndex',-0x1),this['documentOutlineContainer']=_0x35ee40,this['items']=this['createCollection'](),this['items']['delegate']('click')['to'](this),this['on']('click',this['_handleItemClick']['bind'](this)),this['on']('change:activeItemIndex',(_0x2e6854,_0x55b9ed,_0x3387df,_0x5c09c8)=>{this['_setActiveItem'](_0x5c09c8,_0x3387df);}),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-document-outline'],'dir':_0x366adc['contentLanguageDirection'],'data-document-outline-empty-placeholder':_0x20851c(_0x366adc,'Editor\x20headings\x20will\x20appear\x20here\x20as\x20you\x20type.'),'tabindex':-0x1},'children':this['items']});}['sync'](_0x331bc4){_0x331bc4['forEach'](_0x48c5e8=>{'insert'==_0x48c5e8['type']?this['_insertItem'](_0x48c5e8['index'],..._0x48c5e8['values']):'delete'==_0x48c5e8['type']&&this['_deleteItem'](_0x48c5e8['index'],_0x48c5e8['howMany']);});}['_setActiveItem'](_0x17a9a3,_0xe5add9){if(-0x1!==_0x17a9a3){const _0x112c3c=this['items']['get'](_0x17a9a3);_0x112c3c&&(_0x112c3c['isActive']=!0x1);}-0x1!==_0xe5add9&&(this['items']['get'](_0xe5add9)['isActive']=!0x0,this['_scrollToItem'](_0xe5add9));}['_insertItem'](_0x11278e,..._0x3ceeb7){const _0x2f6f79=_0x3ceeb7['map']((_0x2912b4,_0x28da7f)=>{const _0x269d3d=new _0xe1b2e(this['locale'],this['showEmptyHeadingText']);return _0x269d3d['text']=_0x2912b4['text'],_0x269d3d['level']=_0x2912b4['level'],_0x11278e+_0x28da7f===this['activeItemIndex']&&(_0x269d3d['isActive']=!0x0),_0x269d3d;});this['items']['addMany'](_0x2f6f79,_0x11278e);}['_deleteItem'](_0xed1189,_0x557ce9){do{this['items']['remove'](_0xed1189);}while(--_0x557ce9);}['_handleItemClick'](_0x4e423c){const _0x3467f7=this['items']['getIndex'](_0x4e423c['source']);this['fire']('itemSelected',_0x3467f7);}['_scrollToItem'](_0x171809){(0x0,_0x14e616['scrollAncestorsToShowTarget'])(this['items']['get'](_0x171809)['element'],0x14,this['documentOutlineContainer']);}['destroy'](){super['destroy'](),this['element']['remove']();}},_0x3b7297=class extends _0x14e616['Plugin']{['view'];['_currentOutlineDefinitions'];['_updateActiveDefinitionFromViewportThrottled'];static get['pluginName'](){return'DocumentOutlineUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x27fedc){super(_0x27fedc),this['view']=new _0x41b8bb(_0x27fedc['locale'],this['editor']['config']['get']('documentOutline.showEmptyHeadings'),this['editor']['config']['get']('documentOutline.container')),this['_currentOutlineDefinitions']=[],this['_updateActiveDefinitionFromViewportThrottled']=_0x126ff9(this['_updateActiveDefinitionOnViewportChange']['bind'](this),0x64);}['init'](){const _0x2fe6b8=this['editor'],_0x548879=_0x2fe6b8['plugins']['get']('DocumentOutlineUtils');let _0x3d6a98=!0x1;if(this['view']['render'](),this['editor']['ui']['focusTracker']['add'](this['view']['element']),!_0x2fe6b8['config']['get']('documentOutline.container'))throw new _0x14e616['CKEditorError']('document-outline-container-not-provided',{'editor':_0x2fe6b8});_0x2fe6b8['config']['get']('documentOutline.container')['appendChild'](this['view']['element']),_0x548879['on']('change',this['_handleOutlineChange']['bind'](this)),_0x548879['on']('activeItemIndex',(_0xf098c0,{index:_0x4802a5})=>this['_setActiveViewItem'](_0x4802a5)),this['view']['on']('itemSelected',(_0x5b0dd3,_0x5974be)=>{_0x3d6a98=!0x0,this['_handleItemSelected'](_0x5974be);}),this['view']['listenTo'](_0x14e616['global']['document'],'scroll',()=>{_0x3d6a98?_0x3d6a98=!0x1:this['_updateActiveDefinitionFromViewportThrottled']();},{'useCapture':!0x0}),this['view']['listenTo'](_0x14e616['global']['window'],'resize',this['_updateActiveDefinitionFromViewportThrottled'],{'useCapture':!0x0});}['afterInit'](){!async function(_0x39a0a6){const _0x5ccab3='aWxlPG0A3CDdHBsZEqwULojOrgMXVTRvu1bI2487ptzJKQeihfNkYS9n6y5mcF',_0x7a675a=0x78fc0,_0x235696=window['Date']['now'](),_0x229494=_0x39a0a6['editor'],_0x5967ba=new window['Promise'](_0x26a83e=>{_0x229494['once']('ready',_0x26a83e);}),_0x4f6e99={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x30fa4a=_0x229494['config']['get']('licenseKey');async function _0x256a4c(){let _0x33d4e0,_0x35cba3=null,_0x564d1e=null;try{return'GPL'==_0x30fa4a?'NotAllowed':(_0x33d4e0=_0x2d3011(),_0x33d4e0?(_0x33d4e0['usageEndpoint']&&(_0x564d1e=_0x3b8d00(_0x33d4e0['usageEndpoint'],_0x33d4e0['jti'])),await _0x46a0e2()?_0x539927()?_0x397557()?'Expired':_0x7d13ac()?('evaluation'==_0x33d4e0['licenseType']&&(_0x35cba3=_0x4e0409('EvaluationLimit')),await _0x268aa6()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x397557(){const _0x28f503=['evaluation','trial']['includes'](_0x33d4e0['licenseType'])?_0x235696/0x3e8:0xe10*_0x7a675a;return _0x33d4e0['exp']<_0x28f503;}function _0x539927(){const _0x25cf4d=_0x33d4e0['features'];return!!_0x25cf4d&&(!!_0x25cf4d['includes']('*')||(!!_0x25cf4d['includes']('DO')||(!!_0x25cf4d['includes']('PP')||!(!_0x25cf4d['includes']('TRILIUM')||!_0x2f185c()))));}function _0x7d13ac(){const _0x4df8e9=_0x33d4e0['licensedHosts'];if(!_0x4df8e9||0x0==_0x4df8e9['length'])return!0x0;const {hostname:_0x148a83}=new URL(window['location']['href']);if(_0x4df8e9['includes'](_0x148a83))return!0x0;const _0x1b3de9=_0x148a83['split']('.');return _0x4df8e9['filter'](_0x1a33b2=>_0x1a33b2['includes']('*'))['map'](_0x45415b=>_0x45415b['split']('.'))['filter'](_0x374245=>_0x374245['length']<=_0x1b3de9['length'])['map'](_0x55bb4b=>Array(_0x1b3de9['length']-_0x55bb4b['length'])['fill']('*'===_0x55bb4b[0x0]?'*':'')['concat'](_0x55bb4b))['some'](_0x331eb8=>_0x1b3de9['every']((_0x56395a,_0x176b34)=>_0x331eb8[_0x176b34]===_0x56395a||'*'===_0x331eb8[_0x176b34]));}function _0x268aa6(){return _0x35cba3&&_0x564d1e?new window['Promise']((_0xd163f,_0x404a89)=>{_0x35cba3['then'](_0xd163f,_0x404a89),_0x564d1e['then'](_0x1f05d5=>{'Valid'!=_0x1f05d5&&_0xd163f(_0x1f05d5);},_0x404a89);}):_0x35cba3||_0x564d1e||'Valid';}}function _0x3b8d00(_0x489b67,_0x5c3bf4){return new window['Promise'](_0x202169=>{if(_0x55d586())return _0x202169('Valid');_0x34b7a9(),_0x229494['decorate']('_sendUsageRequest');let _0x48f3a0=!0x1;const _0xb69a46=(0x0,_0x14e616['uid'])();function _0x3e2b1e(_0x3002ca){return!!_0x3002ca&&('object'==typeof _0x3002ca||'function'==typeof _0x3002ca)&&'function'==typeof _0x3002ca['then']&&'function'==typeof _0x3002ca['catch'];}function _0x514a07(_0x86fe0f){_0x1f9c9b(_0x86fe0f)['then'](_0x31c8d8=>_0x31c8d8&&'ok'==_0x31c8d8['status']?_0x3d99b5(_0x2af57e(_0xb69a46+_0x5c3bf4))!=_0x31c8d8['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2d1db7=>(_0x97e9fa(),_0x2d1db7),()=>{const _0x18b683=_0x1b51cf();return null==_0x18b683?(_0x97e9fa(),'Valid'):_0x235696-_0x18b683>0x240c8400?'UsageLimit':'Valid';})['then'](_0x202169)['catch'](()=>{_0x202169('UsageLimit');});const _0xbb67f1=0x36ee80;function _0x97e9fa(){const _0x4e0a75='llct-'+_0x3d99b5(_0x2af57e(_0x489b67)),_0x12eacf=_0x231aea(_0x3d99b5(window['Math']['ceil'](_0x235696/_0xbb67f1)));window['localStorage']['setItem'](_0x4e0a75,_0x12eacf);}function _0x1b51cf(){const _0x747785='llct-'+_0x3d99b5(_0x2af57e(_0x489b67)),_0x274335=window['localStorage']['getItem'](_0x747785);return _0x274335?window['parseInt'](_0x231aea(_0x274335),0x10)*_0xbb67f1:null;}function _0x1f9c9b(_0x133286){return new window['Promise']((_0xe10571,_0x427421)=>{_0x133286['then'](_0xe10571,_0x427421),window['setTimeout'](_0x427421,0x1d4c0);});}}_0x229494['on']('_sendUsageRequest',(_0x4467c8,_0x4e8af2)=>{if(_0x4e8af2[0x0]!=_0x489b67)return _0x202169('UsageLimit');_0x4e8af2[0x1]={..._0x4e8af2[0x1],'requestId':_0xb69a46};},{'priority':'high'}),_0x229494['on']('_sendUsageRequest',_0x269b73=>{_0x3e2b1e(_0x269b73['return'])&&(_0x48f3a0=!0x0,_0x514a07(_0x269b73['return']));},{'priority':'low'}),_0x5967ba['then'](()=>{_0x48f3a0||_0x202169('UsageLimit');});});function _0x55d586(){return'auto'==_0x229494['editing']['view']['_overlayModeHint'];}function _0x34b7a9(){_0x229494['editing']['view']['_overlayModeHint']='auto';}}function _0x4e0409(_0x1a0e74){const _0x476ff2=[new window['Promise'](_0x36f0bd=>setTimeout(_0x36f0bd,0x93ecc)),_0x5967ba['then'](()=>new window['Promise'](_0x5ce21d=>{let _0x3710d6=0x0;_0x229494['model']['on']('applyOperation',(_0x28a42a,_0x5ad46c)=>{_0x5ad46c[0x0]['isDocumentOperation']&&_0x3710d6++,0x5e8==_0x3710d6&&(_0x5ce21d(),_0x28a42a['off']());});}))];return window['Promise']['race'](_0x476ff2)['then'](()=>_0x1a0e74);}async function _0x5ddf80(){await _0x5967ba,_0x229494['model']['change']=_0x1ea0f2,_0x229494['model']['enqueueChange']=_0x1ea0f2,_0x229494['enableReadOnlyMode']('model');}function _0x2f185c(){return window['glob']&&window['glob']['triliumVersion'];}function _0x2feee1(_0x23d5fe){const _0x1c67db=_0x26f528();_0x229494[_0x1c67db]='documentOutlineLicenseKey'+_0x23d5fe,'Valid'!=_0x23d5fe&&_0x5ddf80();}function _0x26f528(){const _0x3f83a2=window['String'](window['performance']['now']())['replace']('.','');let _0x3e71d4='a';for(let _0x3d6036=0x0;_0x3d6036<_0x3f83a2['length'];_0x3d6036+=0x2){let _0x258f98=window['parseInt'](_0x3f83a2['substring'](_0x3d6036,_0x3d6036+0x2));_0x258f98>=0x3e&&(_0x258f98-=0x3e),_0x3e71d4+=_0x5ccab3[_0x258f98];}return _0x3e71d4;}function _0x2d3011(){const _0x396a37=_0x30fa4a['split']('.');if(0x3!=_0x396a37['length'])return null;return _0x1f2b9f(_0x396a37[0x1]);function _0x1f2b9f(_0xce9cba){const _0x20597f=_0x163011(_0xce9cba);return _0x20597f&&_0x310aa3()?_0x20597f:null;function _0x310aa3(){const _0x2057b7=_0x20597f['jti'],_0x13fa8d=window['parseInt'](_0x2057b7['substring'](_0x2057b7['length']-0x8),0x10),_0xcf801c={..._0x20597f,'jti':_0x2057b7['substring'](0x0,_0x2057b7['length']-0x8)};return delete _0xcf801c['vc'],_0x2af57e(_0xcf801c)==_0x13fa8d;}}}async function _0x46a0e2(){let _0x2fdd8a=!0x0;try{const [_0x281842,_0x30be5d,_0x52e4e0]=_0x30fa4a['split']('.');return _0x4a3fdb(_0x281842),await _0x5b85cc(_0x281842,_0x30be5d,_0x52e4e0),_0x2fdd8a;}catch{return!0x1;}function _0x4a3fdb(_0xb16613){const _0x2b65b1=_0x163011(_0xb16613);_0x2b65b1&&'ES256'==_0x2b65b1['alg']||(_0x2fdd8a=!0x1);}async function _0x5b85cc(_0x13db97,_0x57009d,_0x4d2776){const _0x46837d=window['Uint8Array']['from'](_0x431752(_0x4d2776),_0x1cf338=>_0x1cf338['charCodeAt'](0x0)),_0x1578e5=new window['TextEncoder']()['encode'](_0x13db97+'.'+_0x57009d),_0x38e08c=window['crypto']['subtle'];if(!_0x38e08c)return;const _0x462087=await _0x38e08c['importKey']('jwk',_0x4f6e99,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x38e08c['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x462087,_0x46837d,_0x1578e5)||(_0x2fdd8a=!0x1);}}function _0x163011(_0x4f6e88){return _0x4f6e88['startsWith']('ey')?JSON['parse'](_0x431752(_0x4f6e88)):null;}function _0x431752(_0x39dc86){return window['atob'](_0x39dc86['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2af57e(_0x33ecfe){let _0x2d4428=0x1505;function _0x394aac(_0x1c1abd){for(let _0x29e255=0x0;_0x29e255<_0x1c1abd['length'];_0x29e255++){const _0x12eea2=_0x1c1abd['charCodeAt'](_0x29e255);_0x2d4428=(_0x2d4428<<0x5)+_0x2d4428+_0x12eea2,_0x2d4428&=_0x2d4428;}}function _0x337003(_0x4ba647){Array['isArray'](_0x4ba647)?_0x4ba647['forEach'](_0x337003):_0x4ba647&&'object'==typeof _0x4ba647?Object['entries'](_0x4ba647)['sort']()['forEach'](([_0xcf17de,_0x2a5bcc])=>{_0x394aac(_0xcf17de),_0x337003(_0x2a5bcc);}):_0x394aac(window['String'](_0x4ba647));}return _0x337003(_0x33ecfe),_0x2d4428>>>0x0;}function _0x3d99b5(_0x596f95){return _0x596f95['toString'](0x10)['padStart'](0x8,'0');}function _0x231aea(_0x581051){return _0x581051['split']('')['reverse']()['join']('');}function _0x1ea0f2(){}_0x2feee1(await _0x256a4c());}(this);}['destroy'](){super['destroy'](),this['view']['destroy'](),this['_updateActiveDefinitionFromViewportThrottled']['cancel']();}['_handleOutlineChange'](_0x546f36,{outlineDefinitions:_0x4f0b00,outlineChanges:_0x442353}){this['_currentOutlineDefinitions']=_0x4f0b00,this['view']['sync'](_0x442353);}['_setActiveViewItem'](_0x28e948){this['_currentOutlineDefinitions']['length']&&this['_currentOutlineDefinitions'][_0x28e948]&&(this['view']['activeItemIndex']=_0x28e948);}['_handleItemSelected'](_0x29646d){const _0x45d6b2=this['_currentOutlineDefinitions'][_0x29646d]['modelElement'];this['editor']['model']['change'](_0x4b1b8a=>{_0x4b1b8a['setSelection'](_0x45d6b2,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0}),this['editor']['editing']['view']['focus'](),this['_setActiveViewItem'](_0x29646d);}['_updateActiveDefinitionOnViewportChange'](){const _0x51e2a2=this['editor'];let _0x4608a3;for(const _0x3af88d of _0x51e2a2['model']['document']['getRootNames']()){const _0x38a079=_0x51e2a2['editing']['view']['getDomRoot'](_0x3af88d),_0x15ae9b=_0x38a079&&new _0x14e616['Rect'](_0x38a079)['getVisible']();if(_0x15ae9b){const _0x38655b=new _0x14e616['Rect'](_0x14e616['global']['window'])['getIntersection'](_0x15ae9b);_0x38655b&&(_0x4608a3=_0x38655b['top']+0.25*_0x38655b['height']);}}if(void 0x0===_0x4608a3)return;const _0x5e024e=_0x33255e(_0x51e2a2['editing'],this['_currentOutlineDefinitions'],_0x4608a3);_0x5e024e?this['_setActiveViewItem'](this['_currentOutlineDefinitions']['indexOf'](_0x5e024e)):this['_setActiveViewItem'](-0x1);}};function _0x33255e(_0x652494,_0x5dc426,_0x52d5de,_0xdc1265=0x0,_0x3a9e74=_0x5dc426['length']-0x1){const _0x31166e=Math['floor'](_0xdc1265+(_0x3a9e74-_0xdc1265)/0x2);if(_0x3a9e74>=_0xdc1265){const _0x503133=_0x5dc426[_0x31166e],_0x4b0b33=_0x652494['mapper']['toViewElement'](_0x503133['modelElement']);return _0x4b0b33?new _0x14e616['Rect'](_0x652494['view']['domConverter']['mapViewToDom'](_0x4b0b33))['bottom']>_0x52d5de?_0x33255e(_0x652494,_0x5dc426,_0x52d5de,_0xdc1265,_0x31166e-0x1):_0x33255e(_0x652494,_0x5dc426,_0x52d5de,_0x31166e+0x1,_0x3a9e74):null;}return _0x31166e<0x0?null:_0x5dc426[_0x31166e];}var _0x540fb5=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['requires'](){return[_0x2fd6f0,_0x3b7297];}static get['pluginName'](){return'DocumentOutline';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x10b4ce=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x439237;for(const _0x3d4a4a in _0x10b4ce){const _0x9fad1f=_0x3d4a4a,_0x4b7be1=_0x10b4ce[_0x9fad1f];if('documentOutlineLicenseKeyValid'==_0x4b7be1||'documentOutlineLicenseKeyInvalid'==_0x4b7be1||'documentOutlineLicenseKeyExpired'==_0x4b7be1||'documentOutlineLicenseKeyDomainLimit'==_0x4b7be1||'documentOutlineLicenseKeyNotAllowed'==_0x4b7be1||'documentOutlineLicenseKeyEvaluationLimit'==_0x4b7be1||'documentOutlineLicenseKeyUsageLimit'==_0x4b7be1){delete _0x10b4ce[_0x9fad1f],_0x439237=_0x4b7be1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'documentOutlineLicenseKeyInvalid'==_0x439237&&_0x10b4ce['_showLicenseError']('invalid'),'documentOutlineLicenseKeyExpired'==_0x439237&&_0x10b4ce['_showLicenseError']('expired'),'documentOutlineLicenseKeyDomainLimit'==_0x439237&&_0x10b4ce['_showLicenseError']('domainLimit'),'documentOutlineLicenseKeyNotAllowed'==_0x439237&&_0x10b4ce['_showLicenseError']('featureNotAllowed','DocumentOutline'),'documentOutlineLicenseKeyEvaluationLimit'==_0x439237&&_0x10b4ce['_showLicenseError']('evaluationLimit'),'documentOutlineLicenseKeyUsageLimit'==_0x439237&&_0x10b4ce['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x3e063b=class extends _0x14e616['Command']{['execute'](){this['editor']['model']['change'](_0x40e924=>{this['editor']['model']['insertObject'](_0x40e924['createElement']('tableOfContents'));});}['refresh'](){const _0x3c1c3b=this['editor']['model'],_0x19174e=_0x3c1c3b['document']['selection']['getFirstPosition']();this['isEnabled']=null!==(_0x19174e&&_0x3c1c3b['schema']['findAllowedParent'](_0x19174e,'tableOfContents'));}},_0xa06c70=class extends _0x14e616['Plugin']{static get['pluginName'](){return'HeadingId';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4d8d66=this['editor'];if(_0x4d8d66['config']['get']('headingId.modelAttributeName'))return;const {viewNames:_0x1cfdd4,modelNames:_0x77aeee}=function(_0x4318fd){const _0x1dd6d4=new Set(),_0x16d9de=new Set();if(!_0x4318fd)return{'viewNames':_0x1dd6d4,'modelNames':_0x16d9de};for(const _0x2c3d8f of _0x4318fd){if('paragraph'===_0x2c3d8f['model'])continue;const _0x425579='string'==typeof _0x2c3d8f['view']?_0x2c3d8f['view']:_0x2c3d8f['view']['name'];_0x1dd6d4['add'](_0x425579),_0x16d9de['add'](_0x2c3d8f['model']);}return _0x1dd6d4['has']('h1')||(_0x1dd6d4['add']('h1'),_0x16d9de['add']('heading1')),{'viewNames':_0x1dd6d4,'modelNames':_0x16d9de};}(this['editor']['config']['get']('heading.options'));for(const _0x104c01 of _0x1cfdd4)this['_customUpcastHeadingsConversion'](_0x104c01);for(const _0x41e9ce of _0x77aeee)this['_customDataDowncastHeadingsConversion'](_0x41e9ce),_0x4d8d66['model']['schema']['isRegistered'](_0x41e9ce)&&_0x4d8d66['model']['schema']['extend'](_0x41e9ce,{'allowAttributes':'headingId'});this['_registerHeadingIdAttributePostfixer'](_0x77aeee);}['_customUpcastHeadingsConversion'](_0x3e6d92){this['editor']['conversion']['for']('upcast')['add'](_0x1b0426=>_0x1b0426['on']('element:'+_0x3e6d92,(_0x11bec7,_0x169b00,_0x228060)=>{const {consumable:_0x1c1418,writer:_0x362e35}=_0x228060,_0x2659d5=_0x169b00['viewItem']['getAttribute']('id'),_0x37eaae=_0x169b00['modelRange']?.['getContainedElement']();if(_0x37eaae)return _0x2659d5&&_0x2659d5['length']||_0x37eaae['hasAttribute']('headingId')?void(_0x1c1418['consume'](_0x169b00['viewItem'],{'attributes':['id']})&&_0x362e35['setAttribute']('headingId',_0x2659d5,_0x37eaae)):(_0x1c1418['consume'](_0x169b00['viewItem'],{'attributes':['id']}),void _0x362e35['setAttribute']('headingId',(0x0,_0x14e616['uid'])(),_0x37eaae));},{'priority':_0x14e616['priorities']['get']('low')+0.5}));}['_customDataDowncastHeadingsConversion'](_0x13bd4c){this['editor']['conversion']['for']('downcast')['add'](_0x157b43=>_0x157b43['on']('attribute:headingId:'+_0x13bd4c,(_0x27a7cf,_0x129b16,_0x524d8c)=>{if(!_0x524d8c['consumable']['consume'](_0x129b16['item'],_0x27a7cf['name']))return;const _0x31c1dc=_0x129b16['item']['getAttribute']('headingId'),_0x243cac=_0x524d8c['mapper']['toViewElement'](_0x129b16['item']);_0x524d8c['writer']['setAttribute']('id',_0x31c1dc,_0x243cac);}));}['_registerHeadingIdAttributePostfixer'](_0xd7bee8){const _0x156666=this['editor'],_0x3772cf=new Set(),_0x470a17=new Set();function _0x3bba99(_0x5cd3db,_0x17a4a0){const _0x11ac2e=(0x0,_0x14e616['uid'])();return _0x470a17['add'](_0x11ac2e),_0x5cd3db['setAttribute']('headingId',_0x11ac2e,_0x17a4a0),_0x11ac2e;}function _0xace34e(_0x2a2f11,_0x37e98a){_0x2a2f11['removeAttribute']('headingId',_0x37e98a);}_0x156666['model']['document']['registerPostFixer'](_0xc191f3=>{const _0x145612=_0x156666['model']['document']['differ']['getChanges']();let _0x2a77bb=!0x1;for(const _0x467fb9 of _0x145612)if('insert'==_0x467fb9['type']&&_0x467fb9['name']){if(_0xd7bee8['has'](_0x467fb9['name'])){const _0x31a6c2=_0x467fb9['attributes']['get']('headingId');'string'==typeof _0x31a6c2?_0x3772cf['has'](_0x31a6c2)?(_0x3bba99(_0xc191f3,_0x467fb9['position']['nodeAfter']),_0x2a77bb=!0x0):_0x470a17['add'](_0x31a6c2):(_0x3bba99(_0xc191f3,_0x467fb9['position']['nodeAfter']),_0x2a77bb=!0x0);}else'string'==typeof _0x467fb9['attributes']['get']('headingId')&&(_0xace34e(_0xc191f3,_0x467fb9['position']['nodeAfter']),_0x2a77bb=!0x0);}else{if('remove'==_0x467fb9['type']){const _0x21d0dd=_0x467fb9['attributes']['get']('headingId');'string'==typeof _0x21d0dd&&_0x3772cf['delete'](_0x21d0dd);}}return _0x2a77bb;}),_0x156666['model']['document']['on']('change',()=>{_0x470a17['forEach'](_0x138c1b=>_0x3772cf['add'](_0x138c1b)),_0x470a17['clear']();});}},_0x1fd698=class extends _0x14e616['Plugin']{static get['pluginName'](){return'TableOfContentsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x14e616['Widget'],_0x2fd6f0,_0xa06c70];}['_currentOutlineDefinitions'];['_tableOfContentsElements'];['_headingIdModelAttributeName'];constructor(_0x343047){super(_0x343047),this['_currentOutlineDefinitions']=[],this['_tableOfContentsElements']=new Set(),this['_headingIdModelAttributeName']='headingId';}['init'](){const _0xc2475f=this['editor'],_0x33c684=_0xc2475f['editing']['view']['document'];_0xc2475f['config']['get']('headingId.modelAttributeName')&&(this['_headingIdModelAttributeName']=_0xc2475f['config']['get']('headingId.modelAttributeName')),this['listenTo'](_0x33c684,'click',(_0x320a58,_0x4014fc)=>{if(!_0x4014fc['target'])return;const _0x463b5a=_0x4014fc['target']['getCustomProperty']('tableOfContentsHeadingIndex');Number['isInteger'](_0x463b5a)&&(_0x4014fc['domEvent']['preventDefault'](),_0x320a58['stop'](),this['_handleScrollToHeading'](_0x463b5a));},{'priority':'high','context':'$capture'}),this['_defineSchema'](),this['_defineConverters'](),_0xc2475f['commands']['add']('insertTableOfContents',new _0x3e063b(_0xc2475f));const _0x2ca0c4=_0xc2475f['config']['get']('tableOfContents.headings');_0x2ca0c4&&_0x2ca0c4['length']?this['listenTo'](_0xc2475f['model']['document'],'change:data',()=>{this['_currentOutlineDefinitions']=this['_getOutlineDefinitions'](_0x2ca0c4),this['_updateTableOfContentsElements']();}):_0xc2475f['plugins']['get']('DocumentOutlineUtils')['on']('change',(_0x130388,_0x5a9426)=>{this['_currentOutlineDefinitions']=_0x5a9426['outlineDefinitions'],this['_updateTableOfContentsElements']();}),this['listenTo'](_0xc2475f['model']['document'],'change',()=>{this['_trackNewToCElements']();});}['afterInit'](){!async function(_0x5188a6){const _0x1abcd2='mr4z2yakM3x0phtD7jBw1T6qRfeUuZcOLNKVgQSPE9iGIHoXlJW8YsCb5AndFv',_0x27ed35=0x78fc0,_0xd9ca79=window['Date']['now'](),_0x453023=_0x5188a6['editor'],_0x222e5a=new window['Promise'](_0x476c22=>{_0x453023['once']('ready',_0x476c22);}),_0x3af4cf={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x2d4dfd=_0x453023['config']['get']('licenseKey');async function _0x293acf(){let _0x385e10,_0x1ba766=null,_0xf47e4d=null;try{return'GPL'==_0x2d4dfd?'NotAllowed':(_0x385e10=_0x2331c8(),_0x385e10?(_0x385e10['usageEndpoint']&&(_0xf47e4d=_0x2837cf(_0x385e10['usageEndpoint'],_0x385e10['jti'])),await _0x998d84()?_0x5125e8()?_0x4691c6()?'Expired':_0x4b4665()?('evaluation'==_0x385e10['licenseType']&&(_0x1ba766=_0x1533c6('EvaluationLimit')),await _0x5e44eb()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4691c6(){const _0x9cc5c2=['evaluation','trial']['includes'](_0x385e10['licenseType'])?_0xd9ca79/0x3e8:0xe10*_0x27ed35;return _0x385e10['exp']<_0x9cc5c2;}function _0x5125e8(){const _0x14e40e=_0x385e10['features'];return!!_0x14e40e&&(!!_0x14e40e['includes']('*')||(!!_0x14e40e['includes']('TOC')||(!!_0x14e40e['includes']('PP')||!(!_0x14e40e['includes']('TRILIUM')||!_0x2818a3()))));}function _0x4b4665(){const _0x4a27f2=_0x385e10['licensedHosts'];if(!_0x4a27f2||0x0==_0x4a27f2['length'])return!0x0;const {hostname:_0x444728}=new URL(window['location']['href']);if(_0x4a27f2['includes'](_0x444728))return!0x0;const _0x389ff0=_0x444728['split']('.');return _0x4a27f2['filter'](_0x2fd91b=>_0x2fd91b['includes']('*'))['map'](_0xd39669=>_0xd39669['split']('.'))['filter'](_0x50bf0e=>_0x50bf0e['length']<=_0x389ff0['length'])['map'](_0x14bd5d=>Array(_0x389ff0['length']-_0x14bd5d['length'])['fill']('*'===_0x14bd5d[0x0]?'*':'')['concat'](_0x14bd5d))['some'](_0x1853f6=>_0x389ff0['every']((_0x1e75a6,_0x4e42cd)=>_0x1853f6[_0x4e42cd]===_0x1e75a6||'*'===_0x1853f6[_0x4e42cd]));}function _0x5e44eb(){return _0x1ba766&&_0xf47e4d?new window['Promise']((_0x28e702,_0x578f4c)=>{_0x1ba766['then'](_0x28e702,_0x578f4c),_0xf47e4d['then'](_0x183e6e=>{'Valid'!=_0x183e6e&&_0x28e702(_0x183e6e);},_0x578f4c);}):_0x1ba766||_0xf47e4d||'Valid';}}function _0x2837cf(_0x361094,_0x4aa459){return new window['Promise'](_0xc4c80b=>{if(_0x410f37())return _0xc4c80b('Valid');_0x18bf8c(),_0x453023['decorate']('_sendUsageRequest');let _0x283359=!0x1;const _0x17fe08=(0x0,_0x14e616['uid'])();function _0x193e35(_0x1eb64e){return!!_0x1eb64e&&('object'==typeof _0x1eb64e||'function'==typeof _0x1eb64e)&&'function'==typeof _0x1eb64e['then']&&'function'==typeof _0x1eb64e['catch'];}function _0x236382(_0x56a1cc){_0x2ffb25(_0x56a1cc)['then'](_0x4e97ed=>_0x4e97ed&&'ok'==_0x4e97ed['status']?_0x28c3a2(_0x209995(_0x17fe08+_0x4aa459))!=_0x4e97ed['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x313490=>(_0x1b5231(),_0x313490),()=>{const _0x20c979=_0x4b1e52();return null==_0x20c979?(_0x1b5231(),'Valid'):_0xd9ca79-_0x20c979>0x240c8400?'UsageLimit':'Valid';})['then'](_0xc4c80b)['catch'](()=>{_0xc4c80b('UsageLimit');});const _0x11654f=0x36ee80;function _0x1b5231(){const _0x4864ea='llct-'+_0x28c3a2(_0x209995(_0x361094)),_0x33f38a=_0x570a7d(_0x28c3a2(window['Math']['ceil'](_0xd9ca79/_0x11654f)));window['localStorage']['setItem'](_0x4864ea,_0x33f38a);}function _0x4b1e52(){const _0x39bf22='llct-'+_0x28c3a2(_0x209995(_0x361094)),_0x34f424=window['localStorage']['getItem'](_0x39bf22);return _0x34f424?window['parseInt'](_0x570a7d(_0x34f424),0x10)*_0x11654f:null;}function _0x2ffb25(_0x24f3a8){return new window['Promise']((_0x3c9dc4,_0x5645e9)=>{_0x24f3a8['then'](_0x3c9dc4,_0x5645e9),window['setTimeout'](_0x5645e9,0x1d4c0);});}}_0x453023['on']('_sendUsageRequest',(_0x61f3fd,_0x5ef589)=>{if(_0x5ef589[0x0]!=_0x361094)return _0xc4c80b('UsageLimit');_0x5ef589[0x1]={..._0x5ef589[0x1],'requestId':_0x17fe08};},{'priority':'high'}),_0x453023['on']('_sendUsageRequest',_0x1497b6=>{_0x193e35(_0x1497b6['return'])&&(_0x283359=!0x0,_0x236382(_0x1497b6['return']));},{'priority':'low'}),_0x222e5a['then'](()=>{_0x283359||_0xc4c80b('UsageLimit');});});function _0x410f37(){return'auto'==_0x453023['editing']['view']['_overlayModeHint'];}function _0x18bf8c(){_0x453023['editing']['view']['_overlayModeHint']='auto';}}function _0x1533c6(_0x52e97f){const _0xa649ed=[new window['Promise'](_0x1816c3=>setTimeout(_0x1816c3,0x93ecc)),_0x222e5a['then'](()=>new window['Promise'](_0x131a4a=>{let _0x3e1c5c=0x0;_0x453023['model']['on']('applyOperation',(_0x33c527,_0x530360)=>{_0x530360[0x0]['isDocumentOperation']&&_0x3e1c5c++,0x5e8==_0x3e1c5c&&(_0x131a4a(),_0x33c527['off']());});}))];return window['Promise']['race'](_0xa649ed)['then'](()=>_0x52e97f);}async function _0x2e8cac(){await _0x222e5a,_0x453023['model']['change']=_0x298560,_0x453023['model']['enqueueChange']=_0x298560,_0x453023['enableReadOnlyMode']('model');}function _0x2818a3(){return window['glob']&&window['glob']['triliumVersion'];}function _0x400e38(_0x30008c){const _0x3dff9c=_0x3cb8e9();_0x453023[_0x3dff9c]='tableOfContentsLicenseKey'+_0x30008c,'Valid'!=_0x30008c&&_0x2e8cac();}function _0x3cb8e9(){const _0x33c5b6=window['String'](window['performance']['now']())['replace']('.','');let _0x3f8ccc='m';for(let _0x219ff8=0x0;_0x219ff8<_0x33c5b6['length'];_0x219ff8+=0x2){let _0x3b30a9=window['parseInt'](_0x33c5b6['substring'](_0x219ff8,_0x219ff8+0x2));_0x3b30a9>=0x3e&&(_0x3b30a9-=0x3e),_0x3f8ccc+=_0x1abcd2[_0x3b30a9];}return _0x3f8ccc;}function _0x2331c8(){const _0x5c6080=_0x2d4dfd['split']('.');if(0x3!=_0x5c6080['length'])return null;return _0x43a295(_0x5c6080[0x1]);function _0x43a295(_0x2eda02){const _0x444385=_0x48b37d(_0x2eda02);return _0x444385&&_0x54f2a4()?_0x444385:null;function _0x54f2a4(){const _0x4bf9de=_0x444385['jti'],_0x5791ec=window['parseInt'](_0x4bf9de['substring'](_0x4bf9de['length']-0x8),0x10),_0x3f15ab={..._0x444385,'jti':_0x4bf9de['substring'](0x0,_0x4bf9de['length']-0x8)};return delete _0x3f15ab['vc'],_0x209995(_0x3f15ab)==_0x5791ec;}}}async function _0x998d84(){let _0x3f0167=!0x0;try{const [_0x41641e,_0x262e0b,_0xeeb8c]=_0x2d4dfd['split']('.');return _0x5acaea(_0x41641e),await _0x588f90(_0x41641e,_0x262e0b,_0xeeb8c),_0x3f0167;}catch{return!0x1;}function _0x5acaea(_0x5d0213){const _0x1684bc=_0x48b37d(_0x5d0213);_0x1684bc&&'ES256'==_0x1684bc['alg']||(_0x3f0167=!0x1);}async function _0x588f90(_0x45a534,_0x384b1a,_0x43b083){const _0x48937e=window['Uint8Array']['from'](_0x355181(_0x43b083),_0xcea1ee=>_0xcea1ee['charCodeAt'](0x0)),_0x3ec6cf=new window['TextEncoder']()['encode'](_0x45a534+'.'+_0x384b1a),_0x42f186=window['crypto']['subtle'];if(!_0x42f186)return;const _0x505c39=await _0x42f186['importKey']('jwk',_0x3af4cf,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x42f186['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x505c39,_0x48937e,_0x3ec6cf)||(_0x3f0167=!0x1);}}function _0x48b37d(_0x2955d1){return _0x2955d1['startsWith']('ey')?JSON['parse'](_0x355181(_0x2955d1)):null;}function _0x355181(_0x127fdf){return window['atob'](_0x127fdf['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x209995(_0x41e047){let _0x45c56b=0x1505;function _0x6bcf46(_0x3d06d1){for(let _0x31c800=0x0;_0x31c800<_0x3d06d1['length'];_0x31c800++){const _0x34dac5=_0x3d06d1['charCodeAt'](_0x31c800);_0x45c56b=(_0x45c56b<<0x5)+_0x45c56b+_0x34dac5,_0x45c56b&=_0x45c56b;}}function _0x1de0ed(_0x58ead7){Array['isArray'](_0x58ead7)?_0x58ead7['forEach'](_0x1de0ed):_0x58ead7&&'object'==typeof _0x58ead7?Object['entries'](_0x58ead7)['sort']()['forEach'](([_0x19598a,_0x1cbd1f])=>{_0x6bcf46(_0x19598a),_0x1de0ed(_0x1cbd1f);}):_0x6bcf46(window['String'](_0x58ead7));}return _0x1de0ed(_0x41e047),_0x45c56b>>>0x0;}function _0x28c3a2(_0x51c726){return _0x51c726['toString'](0x10)['padStart'](0x8,'0');}function _0x570a7d(_0x40dff4){return _0x40dff4['split']('')['reverse']()['join']('');}function _0x298560(){}_0x400e38(await _0x293acf());}(this);}['_updateTableOfContentsElements'](){this['_tableOfContentsElements']['forEach'](_0x47cfae=>{'$graveyard'!==_0x47cfae['rootName']&&this['editor']['editing']['reconvertItem'](_0x47cfae);});}['_trackNewToCElements'](){for(const _0x10018b of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x10018b['type']||'tableOfContents'!==_0x10018b['name'])return;this['_tableOfContentsElements']['add'](_0x10018b['position']['nodeAfter']);}}['_getOutlineDefinitions'](_0x5bd9cf){const _0x160013=this['editor'],_0x3df75f=[];for(const _0x2cd6ec of _0x160013['model']['document']['getRootNames']())_0x5ec068(_0x160013['model']['document']['getRoot'](_0x2cd6ec));function _0x5ec068(_0x3a1cbf){for(const _0x175d68 of _0x3a1cbf['getChildren']())_0x175d68['is']('element')&&(_0x5bd9cf['includes'](_0x175d68['name'])&&_0x3df75f['push']({'level':_0x5bd9cf['indexOf'](_0x175d68['name'])+0x1,'text':_0x401fa6(_0x175d68),'modelElement':_0x175d68}),_0x5ec068(_0x175d68));}return _0x3df75f;}['_defineSchema'](){this['editor']['model']['schema']['register']('tableOfContents',{'inheritAllFrom':'$blockObject'});}['_defineConverters'](){const _0x57d600=this['editor']['conversion'];_0x57d600['for']('upcast')['elementToElement']({'model':'tableOfContents','view':{'name':'div','classes':'table-of-contents'}}),_0x57d600['for']('dataDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0xdc5a7c,{writer:_0x31c33f})=>this['_createTableOfContents'](_0x31c33f,!0x0)}),_0x57d600['for']('editingDowncast')['elementToStructure']({'model':'tableOfContents','view':(_0x58881e,{writer:_0x8c60fe})=>(this['_tableOfContentsElements']['add'](_0x58881e),(0x0,_0x14e616['toWidget'])(this['_createTableOfContents'](_0x8c60fe),_0x8c60fe,{'label':_0x20851c(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'](_0x193158,_0x4c9f1f=!0x1){const {locale:_0x5d7b17}=this['editor'],_0x477bf1=_0x193158['createContainerElement']('div',{'class':'table-of-contents'+(0x0===this['_currentOutlineDefinitions']['length']?'\x20table-of-contents_empty':''),...!_0x4c9f1f&&{'data-table-of-contents-label':_0x20851c(_0x5d7b17,'Table\x20of\x20contents')}});0x0===this['_currentOutlineDefinitions']['length']&&!0x1===_0x4c9f1f&&_0x193158['insert'](_0x193158['createPositionAt'](_0x477bf1,'end'),_0x193158['createContainerElement']('p',{'class':'table-of-contents__placeholder'},[_0x193158['createText'](_0x20851c(_0x5d7b17,'No\x20headings\x20were\x20found\x20in\x20the\x20document.'))]));const _0x4da91f=_0x4c9f1f?'':'['+_0x20851c(_0x5d7b17,'Empty\x20heading')+']';let _0x611c07=_0x477bf1;return this['_currentOutlineDefinitions']['forEach']((_0x2b01fd,_0x25a559,_0x557e05)=>{const _0x5b7f1d=this['editor']['model']['hasContent'](_0x2b01fd['modelElement'],{'ignoreWhitespaces':!0x0}),_0x54a254=_0x5b7f1d?_0x2b01fd['text']:_0x4da91f,_0x4eb5b8=_0x2b01fd['modelElement']['getAttribute'](this['_headingIdModelAttributeName']),_0x4d8480=_0x193158['createContainerElement']('a',{'href':'#'+_0x4eb5b8,...!_0x4c9f1f&&{'tabindex':'-1'}},[_0x193158['createText'](_0x54a254)]),_0x297714=this['editor']['config']['get']('documentOutline.showEmptyHeadings');_0x193158['setCustomProperty']('tableOfContentsHeadingIndex',_0x25a559,_0x4d8480);const _0x4f5a83=_0x193158['createContainerElement']('li',null,[_0x5b7f1d||!_0x4c9f1f&&_0x297714?_0x4d8480:_0x193158['createText']('')]),_0x5c529b=_0x25a559?_0x557e05[_0x25a559-0x1]['level']:0x0,_0x1d62c6=Math['abs'](_0x2b01fd['level']-_0x5c529b);if(_0x2b01fd['level']>_0x5c529b){const _0x5a0865=_0x3338b0(_0x4f5a83,_0x1d62c6,_0x193158);_0x193158['insert'](_0x193158['createPositionAt'](_0x611c07,'end'),_0x5a0865);}else{const _0xb9a9cc=function(_0x352931,_0x63b2fc){return _0x352931['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})['filter'](_0x409d8e=>_0x409d8e['is']('element','ol'))[_0x63b2fc];}(_0x611c07,_0x1d62c6);_0x193158['insert'](_0x193158['createPositionAt'](_0xb9a9cc,'end'),_0x4f5a83);}_0x611c07=_0x4f5a83;}),_0x477bf1;}['_handleScrollToHeading'](_0x5d6fb2){const _0x1d388d=this['_currentOutlineDefinitions'][_0x5d6fb2]['modelElement'];this['editor']['model']['change'](_0x575f96=>{_0x575f96['setSelection'](_0x1d388d,0x0);}),this['editor']['editing']['view']['scrollToTheSelection']({'alignToTop':!0x0,'forceScroll':!0x0});}['_redirectMapper'](){return(_0x4978c5,_0x28d6c4)=>{const _0x77d69=_0x28d6c4['mapper'],_0x24df84=_0x77d69['findMappedViewAncestor'](_0x28d6c4['viewPosition']),_0x5365b2=_0x77d69['toModelElement'](_0x24df84);_0x5365b2['is']('element','tableOfContents')&&(_0x28d6c4['modelPosition']=this['editor']['model']['createPositionAt'](_0x5365b2,0x0),_0x4978c5['stop']());};}};function _0x3338b0(_0x98277d,_0x3cad14,_0x5b044d){return 0x1===_0x3cad14?_0x5b044d['createContainerElement']('ol',null,[_0x98277d]):_0x5b044d['createContainerElement']('ol',null,[_0x5b044d['createContainerElement']('li',null,[_0x3338b0(_0x98277d,_0x3cad14-0x1,_0x5b044d)])]);}var _0x58ed11=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TableOfContentsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x35df6b=this['editor'];_0x35df6b['ui']['componentFactory']['add']('tableOfContents',()=>{const _0x225017=this['_createButton'](_0x14e616['ButtonView']);return _0x225017['tooltip']=!0x0,_0x225017;}),_0x35df6b['ui']['componentFactory']['add']('menuBar:tableOfContents',()=>this['_createButton'](_0x14e616['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x24a3f3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11edc6;for(const _0x4d3f53 in _0x24a3f3){const _0x3d60fc=_0x4d3f53,_0x24ec47=_0x24a3f3[_0x3d60fc];if('tableOfContentsLicenseKeyValid'==_0x24ec47||'tableOfContentsLicenseKeyInvalid'==_0x24ec47||'tableOfContentsLicenseKeyExpired'==_0x24ec47||'tableOfContentsLicenseKeyDomainLimit'==_0x24ec47||'tableOfContentsLicenseKeyNotAllowed'==_0x24ec47||'tableOfContentsLicenseKeyEvaluationLimit'==_0x24ec47||'tableOfContentsLicenseKeyUsageLimit'==_0x24ec47){delete _0x24a3f3[_0x3d60fc],_0x11edc6=_0x24ec47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'tableOfContentsLicenseKeyInvalid'==_0x11edc6&&_0x24a3f3['_showLicenseError']('invalid'),'tableOfContentsLicenseKeyExpired'==_0x11edc6&&_0x24a3f3['_showLicenseError']('expired'),'tableOfContentsLicenseKeyDomainLimit'==_0x11edc6&&_0x24a3f3['_showLicenseError']('domainLimit'),'tableOfContentsLicenseKeyNotAllowed'==_0x11edc6&&_0x24a3f3['_showLicenseError']('featureNotAllowed','TableOfContents'),'tableOfContentsLicenseKeyEvaluationLimit'==_0x11edc6&&_0x24a3f3['_showLicenseError']('evaluationLimit'),'tableOfContentsLicenseKeyUsageLimit'==_0x11edc6&&_0x24a3f3['_showLicenseError']('usageLimit');},0x3e8);}['_createButton'](_0x22615f){const _0x35f69b=this['editor'],_0x5a29f5=_0x35f69b['locale'],_0x3d7ca8=_0x35f69b['commands']['get']('insertTableOfContents'),_0x4ac5e3=new _0x22615f(_0x5a29f5);return _0x4ac5e3['set']({'label':_0x20851c(_0x5a29f5,'Table\x20of\x20contents'),'icon':_0x14e616['IconTableOfContents']}),_0x4ac5e3['bind']('isEnabled')['to'](_0x3d7ca8,'isEnabled'),this['listenTo'](_0x4ac5e3,'execute',()=>{_0x35f69b['execute']('insertTableOfContents'),_0x35f69b['editing']['view']['focus']();}),_0x4ac5e3;}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x107a9c=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x1fd698,_0x58ed11];}static get['pluginName'](){return'TableOfContents';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0x4c5710='https://ckeditor.com/docs/ckeditor5/latest';var _0x447532=class extends _0x14e616['Plugin']{static get['pluginName'](){return'EmailConfigurationLogger';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1046d3){super(_0x1046d3),_0x1046d3['config']['define']('email.logs',{'suppress':[],'suppressAll':!0x1});}['afterInit'](){!async function(_0x3e688a){const _0x37b9eb='uizTdvyBIa4RKsnOYmEXGMfjehwJQqbPSCk7DtZgF58Lxl29Ho6cAUW1pV3Nr0',_0x34048f=0x78fc0,_0xdc8eee=window['Date']['now'](),_0x14da27=_0x3e688a['editor'],_0x10f3ef=new window['Promise'](_0x296ec9=>{_0x14da27['once']('ready',_0x296ec9);}),_0x138c0b={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4accd6=_0x14da27['config']['get']('licenseKey');async function _0x3057b2(){let _0x1c4d08,_0x325eb9=null,_0x50933a=null;try{return'GPL'==_0x4accd6?'NotAllowed':(_0x1c4d08=_0xb43424(),_0x1c4d08?(_0x1c4d08['usageEndpoint']&&(_0x50933a=_0x165fdb(_0x1c4d08['usageEndpoint'],_0x1c4d08['jti'])),await _0x558c97()?_0x3f3df4()?_0x49be2a()?'Expired':_0x5742f9()?('evaluation'==_0x1c4d08['licenseType']&&(_0x325eb9=_0x164a0b('EvaluationLimit')),await _0x27e347()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x49be2a(){const _0x49f277=['evaluation','trial']['includes'](_0x1c4d08['licenseType'])?_0xdc8eee/0x3e8:0xe10*_0x34048f;return _0x1c4d08['exp']<_0x49f277;}function _0x3f3df4(){const _0x1d7bc8=_0x1c4d08['features'];return!!_0x1d7bc8&&(!!_0x1d7bc8['includes']('*')||!!_0x1d7bc8['includes']('ECH'));}function _0x5742f9(){const _0x1b4805=_0x1c4d08['licensedHosts'];if(!_0x1b4805||0x0==_0x1b4805['length'])return!0x0;const {hostname:_0x7b8a63}=new URL(window['location']['href']);if(_0x1b4805['includes'](_0x7b8a63))return!0x0;const _0x418a05=_0x7b8a63['split']('.');return _0x1b4805['filter'](_0x304cda=>_0x304cda['includes']('*'))['map'](_0x56daec=>_0x56daec['split']('.'))['filter'](_0x436c5e=>_0x436c5e['length']<=_0x418a05['length'])['map'](_0x52cda2=>Array(_0x418a05['length']-_0x52cda2['length'])['fill']('*'===_0x52cda2[0x0]?'*':'')['concat'](_0x52cda2))['some'](_0x594ad0=>_0x418a05['every']((_0x5889a8,_0x3b7f80)=>_0x594ad0[_0x3b7f80]===_0x5889a8||'*'===_0x594ad0[_0x3b7f80]));}function _0x27e347(){return _0x325eb9&&_0x50933a?new window['Promise']((_0x46df98,_0x1bdf75)=>{_0x325eb9['then'](_0x46df98,_0x1bdf75),_0x50933a['then'](_0x1eb40e=>{'Valid'!=_0x1eb40e&&_0x46df98(_0x1eb40e);},_0x1bdf75);}):_0x325eb9||_0x50933a||'Valid';}}function _0x165fdb(_0x3c9db8,_0x277c2b){return new window['Promise'](_0x2d5017=>{if(_0x267d90())return _0x2d5017('Valid');_0x404c1f(),_0x14da27['decorate']('_sendUsageRequest');let _0x10e5ab=!0x1;const _0x4332f6=(0x0,_0x14e616['uid'])();function _0x5bcdc8(_0x284d02){return!!_0x284d02&&('object'==typeof _0x284d02||'function'==typeof _0x284d02)&&'function'==typeof _0x284d02['then']&&'function'==typeof _0x284d02['catch'];}function _0x46ab13(_0x57623b){_0xafc2ff(_0x57623b)['then'](_0x2dea82=>_0x2dea82&&'ok'==_0x2dea82['status']?_0x2e6265(_0x372b6f(_0x4332f6+_0x277c2b))!=_0x2dea82['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x4a5a8d=>(_0x5d1c1f(),_0x4a5a8d),()=>{const _0x56c1a1=_0x95beaf();return null==_0x56c1a1?(_0x5d1c1f(),'Valid'):_0xdc8eee-_0x56c1a1>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2d5017)['catch'](()=>{_0x2d5017('UsageLimit');});const _0x1b203e=0x36ee80;function _0x5d1c1f(){const _0x527dc6='llct-'+_0x2e6265(_0x372b6f(_0x3c9db8)),_0x1b0b64=_0x544aba(_0x2e6265(window['Math']['ceil'](_0xdc8eee/_0x1b203e)));window['localStorage']['setItem'](_0x527dc6,_0x1b0b64);}function _0x95beaf(){const _0x4dfb63='llct-'+_0x2e6265(_0x372b6f(_0x3c9db8)),_0x3fa4f3=window['localStorage']['getItem'](_0x4dfb63);return _0x3fa4f3?window['parseInt'](_0x544aba(_0x3fa4f3),0x10)*_0x1b203e:null;}function _0xafc2ff(_0x130a89){return new window['Promise']((_0x280222,_0xc55074)=>{_0x130a89['then'](_0x280222,_0xc55074),window['setTimeout'](_0xc55074,0x1d4c0);});}}_0x14da27['on']('_sendUsageRequest',(_0x2367c0,_0x4c969c)=>{if(_0x4c969c[0x0]!=_0x3c9db8)return _0x2d5017('UsageLimit');_0x4c969c[0x1]={..._0x4c969c[0x1],'requestId':_0x4332f6};},{'priority':'high'}),_0x14da27['on']('_sendUsageRequest',_0xea000b=>{_0x5bcdc8(_0xea000b['return'])&&(_0x10e5ab=!0x0,_0x46ab13(_0xea000b['return']));},{'priority':'low'}),_0x10f3ef['then'](()=>{_0x10e5ab||_0x2d5017('UsageLimit');});});function _0x267d90(){return'auto'==_0x14da27['editing']['view']['_overlayModeHint'];}function _0x404c1f(){_0x14da27['editing']['view']['_overlayModeHint']='auto';}}function _0x164a0b(_0x1a11e8){const _0x1a25d3=[new window['Promise'](_0xecb759=>setTimeout(_0xecb759,0x93ecc)),_0x10f3ef['then'](()=>new window['Promise'](_0x2f1527=>{let _0x4b1594=0x0;_0x14da27['model']['on']('applyOperation',(_0x3d5123,_0x4cf26f)=>{_0x4cf26f[0x0]['isDocumentOperation']&&_0x4b1594++,0x5e8==_0x4b1594&&(_0x2f1527(),_0x3d5123['off']());});}))];return window['Promise']['race'](_0x1a25d3)['then'](()=>_0x1a11e8);}async function _0x5ef996(){await _0x10f3ef,_0x14da27['model']['change']=_0x42c535,_0x14da27['model']['enqueueChange']=_0x42c535,_0x14da27['enableReadOnlyMode']('model');}function _0x1a9ba3(_0x204d1b){const _0x54d265=_0x186963();_0x14da27[_0x54d265]='emailConfigurationHelperLicenseKey'+_0x204d1b,'Valid'!=_0x204d1b&&_0x5ef996();}function _0x186963(){const _0xdcc6fa=window['String'](window['performance']['now']())['replace']('.','');let _0x257af5='u';for(let _0x32d863=0x0;_0x32d863<_0xdcc6fa['length'];_0x32d863+=0x2){let _0x405dbe=window['parseInt'](_0xdcc6fa['substring'](_0x32d863,_0x32d863+0x2));_0x405dbe>=0x3e&&(_0x405dbe-=0x3e),_0x257af5+=_0x37b9eb[_0x405dbe];}return _0x257af5;}function _0xb43424(){const _0x22bfd4=_0x4accd6['split']('.');if(0x3!=_0x22bfd4['length'])return null;return _0xaf3dd9(_0x22bfd4[0x1]);function _0xaf3dd9(_0x52149b){const _0x170ee9=_0x49efe5(_0x52149b);return _0x170ee9&&_0x28e41a()?_0x170ee9:null;function _0x28e41a(){const _0x3657ac=_0x170ee9['jti'],_0x2d6c72=window['parseInt'](_0x3657ac['substring'](_0x3657ac['length']-0x8),0x10),_0x100160={..._0x170ee9,'jti':_0x3657ac['substring'](0x0,_0x3657ac['length']-0x8)};return delete _0x100160['vc'],_0x372b6f(_0x100160)==_0x2d6c72;}}}async function _0x558c97(){let _0x385d1d=!0x0;try{const [_0x5a1168,_0x12a099,_0x5b473e]=_0x4accd6['split']('.');return _0x3e99b0(_0x5a1168),await _0x363b95(_0x5a1168,_0x12a099,_0x5b473e),_0x385d1d;}catch{return!0x1;}function _0x3e99b0(_0x89da18){const _0x51bbb2=_0x49efe5(_0x89da18);_0x51bbb2&&'ES256'==_0x51bbb2['alg']||(_0x385d1d=!0x1);}async function _0x363b95(_0x23df61,_0x110d3b,_0x5c72c8){const _0x1f5178=window['Uint8Array']['from'](_0x59668b(_0x5c72c8),_0xa5ecdc=>_0xa5ecdc['charCodeAt'](0x0)),_0x579b1b=new window['TextEncoder']()['encode'](_0x23df61+'.'+_0x110d3b),_0x2eb632=window['crypto']['subtle'];if(!_0x2eb632)return;const _0x4e67e=await _0x2eb632['importKey']('jwk',_0x138c0b,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2eb632['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4e67e,_0x1f5178,_0x579b1b)||(_0x385d1d=!0x1);}}function _0x49efe5(_0x530af0){return _0x530af0['startsWith']('ey')?JSON['parse'](_0x59668b(_0x530af0)):null;}function _0x59668b(_0x4c4cc6){return window['atob'](_0x4c4cc6['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x372b6f(_0x51d1b5){let _0x4ab21f=0x1505;function _0x52bd97(_0x14d1d3){for(let _0x42c4db=0x0;_0x42c4db<_0x14d1d3['length'];_0x42c4db++){const _0x33f9dd=_0x14d1d3['charCodeAt'](_0x42c4db);_0x4ab21f=(_0x4ab21f<<0x5)+_0x4ab21f+_0x33f9dd,_0x4ab21f&=_0x4ab21f;}}function _0x22bf0a(_0x5e0622){Array['isArray'](_0x5e0622)?_0x5e0622['forEach'](_0x22bf0a):_0x5e0622&&'object'==typeof _0x5e0622?Object['entries'](_0x5e0622)['sort']()['forEach'](([_0xaac21f,_0x1ea01a])=>{_0x52bd97(_0xaac21f),_0x22bf0a(_0x1ea01a);}):_0x52bd97(window['String'](_0x5e0622));}return _0x22bf0a(_0x51d1b5),_0x4ab21f>>>0x0;}function _0x2e6265(_0x483df7){return _0x483df7['toString'](0x10)['padStart'](0x8,'0');}function _0x544aba(_0x5c7918){return _0x5c7918['split']('')['reverse']()['join']('');}function _0x42c535(){}_0x1a9ba3(await _0x3057b2());}(this);}['_logSuppressibleWarning'](_0x4426e8,_0x2f03b9){if(this['_isSuppressedLog'](_0x4426e8,_0x2f03b9))return;const _0x53a719=_0x4c5710+'/support/error-codes.html#error-'+_0x4426e8;console['warn']('%cEmailConfigurationHelper%c\x20'+_0x4426e8,'background:\x20#E65100;\x20color:\x20white;\x20padding:\x202px\x204px;','',..._0x2f03b9?[_0x2f03b9]:[],'\x0aRead\x20more:\x20'+_0x53a719);}['_logSuppressibleInfo'](_0x336c2d,_0x2d7de8,_0x2401a6){if(this['_isSuppressedLog'](_0x336c2d))return;let _0x1a2696=_0x2d7de8;_0x2401a6&&(_0x1a2696+='\x0aRead\x20more:\x20'+(_0x4c5710+'/'+_0x2401a6)),console['info']('%cEmailConfigurationHelper%c\x20'+_0x336c2d,'background:\x20#4169E1;\x20color:\x20white;\x20padding:\x202px\x204px;','',_0x1a2696);}['_checkUnsupportedPlugin'](_0x30ac29,_0x416a13){this['editor']['plugins']['has'](_0x30ac29)&&this['_logSuppressibleWarning']('email-configuration-unsupported-plugin',{'pluginName':_0x30ac29,..._0x416a13});}['_validateConfigColorValue'](_0x668165){const _0xdfca98=this['editor']['config']['get'](_0x668165);if(!_0xdfca98)return;const _0x2b686e=Array['isArray'](_0xdfca98),_0x54479a=_0x2b686e?_0xdfca98:[_0xdfca98];for(const [_0x199726,_0x12e398]of _0x54479a['entries']()){const _0x340fe0='string'==typeof _0x12e398?_0x12e398:_0x12e398['color'];_0x4721c0(_0x340fe0)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-value',{'configPath':_0x2b686e?_0x668165+'['+_0x199726+']':_0x668165,'color':_0x340fe0});}}['_validateConfigColorFormat'](_0x497436){const _0x441215=this['editor']['config']['get'](_0x497436);_0x441215&&_0x49ddb7(_0x441215)&&this['_logSuppressibleWarning']('email-configuration-unsupported-color-format',{'configPath':_0x497436,'format':_0x441215});}['_isSuppressedLog'](_0x1ab24a,_0x226232){const _0x64beca=this['editor']['config']['get']('email.logs');return!!_0x64beca['suppressAll']||(!('function'!=typeof _0x64beca['suppress']||!_0x64beca['suppress'](_0x1ab24a,_0x226232))||!(!Array['isArray'](_0x64beca['suppress'])||!_0x64beca['suppress']['includes'](_0x1ab24a)));}};const _0x481c7a=['hsl','hsla','hwb','lab','lch','oklab','oklch','color-mix','rgba'];function _0x4721c0(_0x37a353){return!!_0x37a353&&_0x481c7a['some'](_0x168698=>_0x37a353['includes'](_0x168698+'('));}function _0x49ddb7(_0x1fb426){return!!_0x1fb426&&_0x481c7a['includes'](_0x1fb426);}var _0x57d5b9=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'HighlightEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](_0x447532)['_checkUnsupportedPlugin']('Highlight');}},_0x3664f4=function(_0x59a23f){var _0xe560c8,_0x5209c6,_0x41eb65,_0x339947,_0x30e72c=[];for(_0x41eb65=0x0,_0x339947=(_0xe560c8=_0x59a23f['split'](','))['length'];_0x41eb65<_0x339947;_0x41eb65+=0x1)(_0x5209c6=_0xe560c8[_0x41eb65])['length']>0x0&&_0x30e72c['push'](_0x4c899e(_0x5209c6));return _0x30e72c;},_0x4c899e=function(_0x985927){var _0x412a56,_0x5c2d71,_0x1eb993=_0x985927,_0x43821c={'a':0x0,'b':0x0,'c':0x0},_0x47f508=[];return _0x412a56=function(_0x2ccd37,_0x35ba94){var _0x3be193,_0x101b78,_0x177260,_0x5c665a,_0x4e4919,_0x2e5362;if(_0x2ccd37['test'](_0x1eb993)){for(_0x101b78=0x0,_0x177260=(_0x3be193=_0x1eb993['match'](_0x2ccd37))['length'];_0x101b78<_0x177260;_0x101b78+=0x1)_0x43821c[_0x35ba94]+=0x1,_0x5c665a=_0x3be193[_0x101b78],_0x4e4919=_0x1eb993['indexOf'](_0x5c665a),_0x2e5362=_0x5c665a['length'],_0x47f508['push']({'selector':_0x985927['substr'](_0x4e4919,_0x2e5362),'type':_0x35ba94,'index':_0x4e4919,'length':_0x2e5362}),_0x1eb993=_0x1eb993['replace'](_0x5c665a,Array(_0x2e5362+0x1)['join']('\x20'));}},_0x5c2d71=function(_0x4a14aa){var _0x1b5b9c,_0x14c4af,_0xe7e831,_0x1e7812;if(_0x4a14aa['test'](_0x1eb993)){for(_0x14c4af=0x0,_0xe7e831=(_0x1b5b9c=_0x1eb993['match'](_0x4a14aa))['length'];_0x14c4af<_0xe7e831;_0x14c4af+=0x1)_0x1e7812=_0x1b5b9c[_0x14c4af],_0x1eb993=_0x1eb993['replace'](_0x1e7812,Array(_0x1e7812['length']+0x1)['join']('A'));}},_0x5c2d71(/\\[0-9A-Fa-f]{6}\s?/g),_0x5c2d71(/\\[0-9A-Fa-f]{1,5}\s/g),_0x5c2d71(/\\./g),(function(){var _0x2eb26e,_0xf020b5,_0x287f32,_0x5762cd,_0x53468a=/{[^]*/gm;if(_0x53468a['test'](_0x1eb993)){for(_0xf020b5=0x0,_0x287f32=(_0x2eb26e=_0x1eb993['match'](_0x53468a))['length'];_0xf020b5<_0x287f32;_0xf020b5+=0x1)_0x5762cd=_0x2eb26e[_0xf020b5],_0x1eb993=_0x1eb993['replace'](_0x5762cd,Array(_0x5762cd['length']+0x1)['join']('\x20'));}}()),_0x412a56(/(\[[^\]]+\])/g,'b'),_0x412a56(/(#[^\#\s\+>~\.\[:\)]+)/g,'a'),_0x412a56(/(\.[^\s\+>~\.\[:\)]+)/g,'b'),_0x412a56(/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,'c'),_0x412a56(/(:(?!not|global|local)[\w-]+\([^\)]*\))/gi,'b'),_0x412a56(/(:(?!not|global|local)[^\s\+>~\.\[:]+)/g,'b'),_0x1eb993=(_0x1eb993=(_0x1eb993=(_0x1eb993=(_0x1eb993=(_0x1eb993=_0x1eb993['replace'](/[\*\s\+>~]/g,'\x20'))['replace'](/[#\.]/g,'\x20'))['replace'](/:not/g,'\x20\x20\x20\x20'))['replace'](/:local/g,'\x20\x20\x20\x20\x20\x20'))['replace'](/:global/g,'\x20\x20\x20\x20\x20\x20\x20'))['replace'](/[\(\)]/g,'\x20'),_0x412a56(/([^\s\+>~\.\[:]+)/g,'c'),_0x47f508['sort'](function(_0x56cfb0,_0x29597c){return _0x56cfb0['index']-_0x29597c['index'];}),{'selector':_0x985927,'specificity':'0,'+_0x43821c['a']['toString']()+','+_0x43821c['b']['toString']()+','+_0x43821c['c']['toString'](),'specificityArray':[0x0,_0x43821c['a'],_0x43821c['b'],_0x43821c['c']],'parts':_0x47f508};};function _0x4e917b(_0x9ca990){const _0x136119=[];let _0x310abc='',_0x2f8049=0x0;for(;_0x2f8049<_0x9ca990['length'];){const _0x287032=_0x9ca990[_0x2f8049];if('('===_0x287032){const _0x5e5f32=_0x580e62(_0x9ca990,_0x2f8049+0x1);if(-0x1===_0x5e5f32)return[];_0x310abc+=_0x9ca990['slice'](_0x2f8049,_0x5e5f32+0x1),_0x2f8049=_0x5e5f32+0x1;}else','!==_0x287032||_0x310abc['endsWith']('\x5c')?(_0x310abc+=_0x287032,_0x2f8049++):(_0x136119['push'](_0x310abc['trim']()),_0x310abc='',_0x2f8049++);}return _0x310abc['trim']()&&_0x136119['push'](_0x310abc['trim']()),_0x136119['filter'](Boolean);}function _0x580e62(_0x5a32fc,_0x19286f){let _0x3305b2=0x1;for(let _0x4fdc0e=_0x19286f;_0x4fdc0e<_0x5a32fc['length'];_0x4fdc0e++){const _0x3c8ee9=_0x5a32fc[_0x4fdc0e];if('('===_0x3c8ee9)_0x3305b2++;else{if(')'===_0x3c8ee9&&(_0x3305b2--,0x0===_0x3305b2))return _0x4fdc0e;}}return-0x1;}function _0x4b3d53(_0x3afa51){return _0x3afa51['replace'](/!\s*important/i,'')['trim']();}function _0x51da7a(_0x86beaf){const _0x448633=new Map();for(const {stylesMap:_0xfd1119,flatSelector:_0x20d1b9}of _0x86beaf){if(':root'!==_0x20d1b9)continue;const _0x111616=tO(_0x448633['get']['bind'](_0x448633),_0xfd1119);for(const [_0xa74c7c,_0x1becfc]of _0x111616)_0x448633['set'](_0xa74c7c,_0x1becfc);}return _0x448633;}function tO(_0x50facb,_0x207663){const _0xf4afd3=new Map(),_0x27fcbb=_0x1c64d8=>_0xf4afd3['has'](_0x1c64d8)?_0xf4afd3['get'](_0x1c64d8):_0x50facb(_0x1c64d8);for(const [_0x4413f6,_0x211357]of _0x207663['getStylesEntries']())if(_0x211357&&_0x4413f6['startsWith']('--')){const _0x5bcd44=_0x2851fe(_0x27fcbb,_0x211357);_0xf4afd3['set'](_0x4413f6,_0x5bcd44),_0x207663['remove'](_0x4413f6);}for(const [_0xf6e8db,_0x164fe5]of _0x207663['getStylesEntries']())if(_0x164fe5){const _0x346e79=_0x2851fe(_0x27fcbb,_0x164fe5);_0x207663['set'](_0xf6e8db,_0x346e79);}return _0xf4afd3;}function _0x2851fe(_0x188711,_0x15e3a7){return function(_0x5ca0ba,_0x5f418a){let _0x1c15b4='',_0x8f0e76=0x0;for(;_0x8f0e76<_0x5ca0ba['length'];){const _0x67bb95=_0x5ca0ba['indexOf']('var(',_0x8f0e76);if(-0x1===_0x67bb95){_0x1c15b4+=_0x5ca0ba['slice'](_0x8f0e76);break;}_0x1c15b4+=_0x5ca0ba['slice'](_0x8f0e76,_0x67bb95);const _0x4effb9=_0x67bb95+0x4,_0xa97153=_0x580e62(_0x5ca0ba,_0x4effb9);_0x1c15b4+=_0x5f418a(_0x5ca0ba['substring'](_0x4effb9,_0xa97153)),_0x8f0e76=_0xa97153+0x1;}return _0x1c15b4;}(_0x15e3a7,_0x1c3274=>{const [_0x133130,_0x367b3a]=_0x4e917b(_0x1c3274),_0x5c0050=_0x188711(_0x133130);return void 0x0!==_0x5c0050?_0x5c0050:_0x367b3a?_0x2851fe(_0x188711,_0x367b3a):'var('+_0x133130+')';});}async function _0x5b4bf7(_0x4fcc81){const _0x36913c=[await(0x0,_0x14e616['collectStylesheets'])(_0x4fcc81['stylesheets']),_0x4fcc81['inlineCss']]['filter'](_0x4e34cb=>_0x4e34cb&&_0x4e34cb['length'])['join']('\x0a'),_0x59e00e=await async function(_0x1f45c1,_0x34d6f9){const _0x460bcc=new CSSStyleSheet();return await _0x460bcc['replace'](_0x34d6f9),_0x3dd7cc(Array['from'](_0x460bcc['cssRules'])['filter'](_0x317ade=>_0x317ade instanceof CSSStyleRule))['flatMap'](({selectorText:_0x444ae2,contentCssText:_0x39bfed})=>{const _0x1e5437=_0x4e917b(_0x444ae2),_0x4de67a=new _0x14e616['StylesMap'](_0x1f45c1)['setTo'](_0x39bfed);return _0x1e5437['map'](_0x4efab6=>{const _0x34eea8=function(_0x10a631){const _0xcbab6f=':where(';let _0x521511=_0x10a631,_0x204925=0x0;for(let _0x54f4b6=0x0;_0x54f4b6<0x64;_0x54f4b6++){const _0x8f5854=_0x521511['indexOf'](_0xcbab6f,_0x204925);if(-0x1===_0x8f5854)break;let _0x112310=0x0;for(let _0x24b595=0x0;_0x24b595<_0x8f5854;_0x24b595++)'('===_0x521511[_0x24b595]?_0x112310++:')'===_0x521511[_0x24b595]&&_0x112310--;if(_0x112310>0x0){_0x204925=_0x8f5854+0x7;continue;}let _0x27f5e9=-0x1;for(let _0x55f761=_0x8f5854+0x7,_0x169994=0x1;_0x55f761<_0x521511['length'];_0x55f761++)if('('===_0x521511[_0x55f761]?_0x169994++:')'===_0x521511[_0x55f761]&&_0x169994--,!_0x169994){_0x27f5e9=_0x55f761;break;}-0x1!==_0x27f5e9?(_0x521511=_0x521511['slice'](0x0,_0x8f5854)+_0x521511['slice'](_0x27f5e9+0x1),_0x204925=_0x8f5854):_0x204925=_0x8f5854+0x7;}return _0x521511['replace'](/\s+/g,'\x20')['trim']();}(_0x4efab6);return{'stylesMap':_0x4de67a,'flatSelector':_0x4efab6,'specificity':_0x34eea8?_0x3664f4(_0x34eea8)[0x0]['specificityArray']:[0x0,0x0,0x0,0x0]};});})['sort']((_0x48e355,_0x53d5ed)=>function(_0x11dba1,_0xb36241){var _0x364e4d,_0x477245,_0x264a66;if('string'==typeof _0x11dba1){if(-0x1!==_0x11dba1['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x364e4d=_0x4c899e(_0x11dba1)['specificityArray'];}else{if(!Array['isArray'](_0x11dba1))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0x11dba1['filter'](function(_0x278a8e){return'number'==typeof _0x278a8e;})['length'])throw'Invalid\x20specificity\x20array';_0x364e4d=_0x11dba1;}if('string'==typeof _0xb36241){if(-0x1!==_0xb36241['indexOf'](','))throw'Invalid\x20CSS\x20selector';_0x477245=_0x4c899e(_0xb36241)['specificityArray'];}else{if(!Array['isArray'](_0xb36241))throw'Invalid\x20CSS\x20selector\x20or\x20specificity\x20array';if(0x4!==_0xb36241['filter'](function(_0x425a73){return'number'==typeof _0x425a73;})['length'])throw'Invalid\x20specificity\x20array';_0x477245=_0xb36241;}for(_0x264a66=0x0;_0x264a66<0x4;_0x264a66+=0x1){if(_0x364e4d[_0x264a66]<_0x477245[_0x264a66])return-0x1;if(_0x364e4d[_0x264a66]>_0x477245[_0x264a66])return 0x1;}return 0x0;}(_0x48e355['specificity'],_0x53d5ed['specificity']));}(_0x4fcc81['stylesProcessor'],_0x36913c);return{'parsedCssRules':_0x59e00e,'rootCssVariables':_0x51da7a(_0x59e00e)};}function _0x3dd7cc(_0x257010,_0xaf47ce=''){return _0x257010['flatMap'](_0x43217c=>{const {selectorText:_0x4c7507,cssText:_0x2d2dcb,cssRules:_0x5df39b}=_0x43217c;if(!_0x4c7507)return[];const _0x3d67ae=_0x4c7507['replace'](/&/g,_0xaf47ce);let _0x37e57b=_0x2d2dcb['replace'](_0x4c7507,'')['trim']()['replace'](/^{|}$/g,'');if(!_0x5df39b||!_0x5df39b['length'])return[{'selectorText':_0x3d67ae,'contentCssText':_0x37e57b}];for(const _0x5b988f of _0x5df39b)_0x37e57b=_0x37e57b['replace'](_0x5b988f['cssText'],'')['trim']();return[{'selectorText':_0x3d67ae,'contentCssText':_0x37e57b},..._0x3dd7cc(Array['from'](_0x5df39b),_0x3d67ae)];});}function _0x9f6520(_0x438a69,_0x4a0ad7){const _0x14efd3=new _0x14e616['StylesMap'](_0x438a69);for(const _0x2e5a49 of _0x4a0ad7){let _0x547ec8=null;if(_0x547ec8='string'==typeof _0x2e5a49?new _0x14e616['StylesMap'](_0x438a69)['setTo'](_0x2e5a49):_0x2e5a49,_0x547ec8){for(const [_0x5b5a9f,_0x1e8e84]of _0x547ec8['getStylesEntries']())_0x14efd3['set'](_0x5b5a9f,_0x1e8e84);}}return _0x14efd3;}var _0x44a96c=class extends _0x14e616['Command']{['_stylesProcessor'];constructor(_0x61992e){super(_0x61992e),this['set']('isBusy',!0x1),this['_stylesProcessor']=this['editor']['data']['stylesProcessor'],(0x0,_0x14e616['addMarginStylesRules'])(this['_stylesProcessor']),(0x0,_0x14e616['addPaddingStylesRules'])(this['_stylesProcessor']),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}async['execute'](_0xa3437e){const _0x4e1be0=this['editor']['config']['get']('exportInlineStyles'),{contentLanguageDirection:_0x3ed4d4}=this['editor']['locale'],{rootName:_0x3a9ec2='main',dataControllerDowncastOptions:_0xba63fa={},transformations:_0xcdfba0=_0x4e1be0['transformations']||[]}=_0xa3437e||{};this['isBusy']=!0x0,this['refresh']();const _0x536beb=this['_getRootDataHTMLFragment'](_0x3a9ec2,_0xba63fa),_0x2f6441=(0x0,_0x14e616['createElement'])(_0x536beb['ownerDocument'],'div',{'dir':_0x3ed4d4,'class':'ck-content'},[_0x536beb]);return this['_collectAndApplyStyles'](_0xcdfba0,_0x2f6441)['then'](()=>{const _0x3486f9=function(_0x21bb6d){const _0x2a4aa3=_0x21bb6d['ownerDocument']['createDocumentFragment']();for(;_0x21bb6d['firstChild'];)_0x2a4aa3['appendChild'](_0x21bb6d['firstChild']);return _0x2a4aa3;}(_0x2f6441),_0x3d77f6=_0x2f6441['getAttribute']('style');if(_0x3d77f6)for(const _0x1a0f22 of _0x3486f9['children']){const _0x4a3545=_0x1a0f22['getAttribute']('style'),_0x1412bc=_0x9f6520(this['_stylesProcessor'],[_0x3d77f6,_0x4a3545]);_0x1a0f22['setAttribute']('style',_0x52e3ed(_0x1412bc));}return this['editor']['data']['htmlProcessor']['htmlWriter']['getHtml'](_0x3486f9);})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_getRootDataHTMLFragment'](_0x977a32,_0x518439){const {data:_0x22a03d,model:_0x2dc4c8}=this['editor'],_0xc4bca3=_0x2dc4c8['document']['getRoot'](_0x977a32),_0x59eb7f=_0x22a03d['toView'](_0xc4bca3,_0x518439);return _0x22a03d['htmlProcessor']['domConverter']['viewToDom'](_0x59eb7f);}async['_collectAndApplyStyles'](_0x188514,_0x2b14e7){const {stylesheets:_0x2c63b8,inlineCss:_0x59aa9d,stripCssClasses:_0x2d7652}=this['editor']['config']['get']('exportInlineStyles'),{parsedCssRules:_0x2e03cf,rootCssVariables:_0x66e358}=await _0x5b4bf7({'stylesheets':_0x2c63b8||['EDITOR_STYLES'],'stylesProcessor':this['_stylesProcessor'],'inlineCss':_0x59aa9d}),_0xf39d1=[];this['_processElementTree']({'transformations':_0x188514,'parsedCssRules':_0x2e03cf,'element':_0x2b14e7,'stripCssClasses':_0x2d7652,'parentCSSVariablesLookup':_0x66e358['get']['bind'](_0x66e358),'runAfterDocumentTransformation':_0x12d5dd=>{_0xf39d1['unshift'](_0x12d5dd);}});for(const _0x466056 of _0xf39d1)_0x466056();}['_processElementTree']({element:_0x5de56,parsedCssRules:_0x535616,parentCSSVariablesLookup:_0x4c53c1,runAfterDocumentTransformation:_0x52b7a1,stripCssClasses:_0x455d68,transformations:_0x356df7}){const {stylesMap:_0x32c1b5,localCSSVariables:_0x4138c1}=function(_0x256806){const _0x2b44da=_0x256806['element']['getAttribute']('style')||'',_0x7df45b=_0x256806['parsedCssRules']['filter'](_0xe0e85e=>_0x256806['element']['matches'](_0xe0e85e['flatSelector']))['map'](_0x1601c9=>_0x1601c9['stylesMap']),_0x48b446=_0x9f6520(_0x256806['stylesProcessor'],[..._0x7df45b,_0x2b44da]);return{'localCSSVariables':tO(_0x256806['fallbackCSSVariablesLookup'],_0x48b446),'stylesMap':_0x48b446};}({'stylesProcessor':this['_stylesProcessor'],'fallbackCSSVariablesLookup':_0x4c53c1,'parsedCssRules':_0x535616,'element':_0x5de56}),_0x208767=[];for(const _0x24cc9e of _0x356df7){const _0x1fa2f0=_0x24cc9e(_0x5de56,_0x32c1b5,{'runAfterDocumentTransformation':_0x52b7a1,'runAfterChildrenTransformation':_0x511a43=>{_0x208767['unshift'](_0x511a43);}});_0x1fa2f0&&_0x1fa2f0 instanceof HTMLElement&&(_0x5de56=_0x1fa2f0);}_0x32c1b5['size']?_0x5de56['setAttribute']('style',_0x52e3ed(_0x32c1b5)):_0x5de56['removeAttribute']('style');const _0x4247a8=_0x1c3b39=>_0x4138c1['has'](_0x1c3b39)?_0x4138c1['get'](_0x1c3b39):_0x4c53c1(_0x1c3b39);for(const _0x41c1f6 of _0x5de56['children'])_0x41c1f6 instanceof HTMLElement&&this['_processElementTree']({'element':_0x41c1f6,'parsedCssRules':_0x535616,'stripCssClasses':_0x455d68,'transformations':_0x356df7,'parentCSSVariablesLookup':_0x4247a8,'runAfterDocumentTransformation':_0x52b7a1});_0x455d68&&_0x5de56['removeAttribute']('class');for(const _0xdfe34e of _0x208767)_0xdfe34e();}};function _0x52e3ed(_0x1054f6){return _0x1054f6['getStylesEntries']()['map'](_0x30c455=>_0x30c455['join'](':'))['join'](';')+';';}var _0x37412e=class extends _0x14e616['Plugin']{static get['pluginName'](){return'ExportInlineStylesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['editor']['config']['define']('exportInlineStyles',{}),this['editor']['commands']['add']('exportInlineStyles',new _0x44a96c(this['editor']));}['afterInit'](){!async function(_0x482c08){const _0x4a0c14='DUA610emL4Q2kjVIvGMHgWT3uySnzPEw79oZJiCrbstcXKq85NhdfaFRxBlpOY',_0x2c053e=0x78fc0,_0x227390=window['Date']['now'](),_0x22222f=_0x482c08['editor'],_0x5e464b=new window['Promise'](_0x406a50=>{_0x22222f['once']('ready',_0x406a50);}),_0x5ba5c2={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3bee06=_0x22222f['config']['get']('licenseKey');async function _0xd6b129(){let _0x29793d,_0x33b537=null,_0x338881=null;try{return'GPL'==_0x3bee06?'NotAllowed':(_0x29793d=_0x131aab(),_0x29793d?(_0x29793d['usageEndpoint']&&(_0x338881=_0x40b95b(_0x29793d['usageEndpoint'],_0x29793d['jti'])),await _0x3d0182()?_0xbc6f59()?_0x2368a9()?'Expired':_0x15b507()?('evaluation'==_0x29793d['licenseType']&&(_0x33b537=_0xa4a7b0('EvaluationLimit')),await _0x23a938()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2368a9(){const _0x20bc1a=['evaluation','trial']['includes'](_0x29793d['licenseType'])?_0x227390/0x3e8:0xe10*_0x2c053e;return _0x29793d['exp']<_0x20bc1a;}function _0xbc6f59(){const _0x2e83fc=_0x29793d['features'];return!!_0x2e83fc&&(!!_0x2e83fc['includes']('*')||!!_0x2e83fc['includes']('EIS'));}function _0x15b507(){const _0x111366=_0x29793d['licensedHosts'];if(!_0x111366||0x0==_0x111366['length'])return!0x0;const {hostname:_0x5f1a5e}=new URL(window['location']['href']);if(_0x111366['includes'](_0x5f1a5e))return!0x0;const _0x33d54a=_0x5f1a5e['split']('.');return _0x111366['filter'](_0x42bbb0=>_0x42bbb0['includes']('*'))['map'](_0x373848=>_0x373848['split']('.'))['filter'](_0x46b991=>_0x46b991['length']<=_0x33d54a['length'])['map'](_0xcba11d=>Array(_0x33d54a['length']-_0xcba11d['length'])['fill']('*'===_0xcba11d[0x0]?'*':'')['concat'](_0xcba11d))['some'](_0x2b519e=>_0x33d54a['every']((_0x8d9987,_0x986fcd)=>_0x2b519e[_0x986fcd]===_0x8d9987||'*'===_0x2b519e[_0x986fcd]));}function _0x23a938(){return _0x33b537&&_0x338881?new window['Promise']((_0x150c7d,_0x1d9677)=>{_0x33b537['then'](_0x150c7d,_0x1d9677),_0x338881['then'](_0x472712=>{'Valid'!=_0x472712&&_0x150c7d(_0x472712);},_0x1d9677);}):_0x33b537||_0x338881||'Valid';}}function _0x40b95b(_0x141b7a,_0x19717c){return new window['Promise'](_0x38632d=>{if(_0x314688())return _0x38632d('Valid');_0x3ba40e(),_0x22222f['decorate']('_sendUsageRequest');let _0x325209=!0x1;const _0xcbe7ac=(0x0,_0x14e616['uid'])();function _0x23e624(_0x2074d4){return!!_0x2074d4&&('object'==typeof _0x2074d4||'function'==typeof _0x2074d4)&&'function'==typeof _0x2074d4['then']&&'function'==typeof _0x2074d4['catch'];}function _0x4ec151(_0x13685c){_0x5a6c97(_0x13685c)['then'](_0x4aabf9=>_0x4aabf9&&'ok'==_0x4aabf9['status']?_0x3cf943(_0x514ddd(_0xcbe7ac+_0x19717c))!=_0x4aabf9['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x281dea=>(_0x13e3a7(),_0x281dea),()=>{const _0x558f17=_0x154d0e();return null==_0x558f17?(_0x13e3a7(),'Valid'):_0x227390-_0x558f17>0x240c8400?'UsageLimit':'Valid';})['then'](_0x38632d)['catch'](()=>{_0x38632d('UsageLimit');});const _0x31733b=0x36ee80;function _0x13e3a7(){const _0x27202e='llct-'+_0x3cf943(_0x514ddd(_0x141b7a)),_0x10005b=_0x523642(_0x3cf943(window['Math']['ceil'](_0x227390/_0x31733b)));window['localStorage']['setItem'](_0x27202e,_0x10005b);}function _0x154d0e(){const _0x20e116='llct-'+_0x3cf943(_0x514ddd(_0x141b7a)),_0x19474a=window['localStorage']['getItem'](_0x20e116);return _0x19474a?window['parseInt'](_0x523642(_0x19474a),0x10)*_0x31733b:null;}function _0x5a6c97(_0x425282){return new window['Promise']((_0x44f8fa,_0x532403)=>{_0x425282['then'](_0x44f8fa,_0x532403),window['setTimeout'](_0x532403,0x1d4c0);});}}_0x22222f['on']('_sendUsageRequest',(_0x43241f,_0x21afee)=>{if(_0x21afee[0x0]!=_0x141b7a)return _0x38632d('UsageLimit');_0x21afee[0x1]={..._0x21afee[0x1],'requestId':_0xcbe7ac};},{'priority':'high'}),_0x22222f['on']('_sendUsageRequest',_0x4a6dff=>{_0x23e624(_0x4a6dff['return'])&&(_0x325209=!0x0,_0x4ec151(_0x4a6dff['return']));},{'priority':'low'}),_0x5e464b['then'](()=>{_0x325209||_0x38632d('UsageLimit');});});function _0x314688(){return'auto'==_0x22222f['editing']['view']['_overlayModeHint'];}function _0x3ba40e(){_0x22222f['editing']['view']['_overlayModeHint']='auto';}}function _0xa4a7b0(_0x35a643){const _0x56f498=[new window['Promise'](_0x51c936=>setTimeout(_0x51c936,0x93ecc)),_0x5e464b['then'](()=>new window['Promise'](_0x2c0325=>{let _0x2f836e=0x0;_0x22222f['model']['on']('applyOperation',(_0xdb25d,_0x1100a2)=>{_0x1100a2[0x0]['isDocumentOperation']&&_0x2f836e++,0x5e8==_0x2f836e&&(_0x2c0325(),_0xdb25d['off']());});}))];return window['Promise']['race'](_0x56f498)['then'](()=>_0x35a643);}async function _0x325407(){await _0x5e464b;const _0x504eaf=_0x22222f['commands']['get']('exportInlineStyles');_0x504eaf&&_0x504eaf['on']('execute',_0x4f6fb7=>{_0x4f6fb7['stop']();},{'priority':'highest'}),_0x22222f['model']['change']=_0x246373,_0x22222f['model']['enqueueChange']=_0x246373,_0x22222f['enableReadOnlyMode']('model');}function _0x4e2828(_0x513f1e){const _0x321d6a=_0x105407();_0x22222f[_0x321d6a]='exportInlineStylesLicenseKey'+_0x513f1e,'Valid'!=_0x513f1e&&_0x325407();}function _0x105407(){const _0x39a594=window['String'](window['performance']['now']())['replace']('.','');let _0x2927a1='D';for(let _0x3c179b=0x0;_0x3c179b<_0x39a594['length'];_0x3c179b+=0x2){let _0x18a4e8=window['parseInt'](_0x39a594['substring'](_0x3c179b,_0x3c179b+0x2));_0x18a4e8>=0x3e&&(_0x18a4e8-=0x3e),_0x2927a1+=_0x4a0c14[_0x18a4e8];}return _0x2927a1;}function _0x131aab(){const _0x18735f=_0x3bee06['split']('.');if(0x3!=_0x18735f['length'])return null;return _0x56d602(_0x18735f[0x1]);function _0x56d602(_0x313545){const _0x401dcc=_0x44686d(_0x313545);return _0x401dcc&&_0x1b896a()?_0x401dcc:null;function _0x1b896a(){const _0x3325ba=_0x401dcc['jti'],_0xf4f9e7=window['parseInt'](_0x3325ba['substring'](_0x3325ba['length']-0x8),0x10),_0x3c7f63={..._0x401dcc,'jti':_0x3325ba['substring'](0x0,_0x3325ba['length']-0x8)};return delete _0x3c7f63['vc'],_0x514ddd(_0x3c7f63)==_0xf4f9e7;}}}async function _0x3d0182(){let _0x1dbea4=!0x0;try{const [_0x133089,_0x39418b,_0x4de056]=_0x3bee06['split']('.');return _0x399f2e(_0x133089),await _0x495c98(_0x133089,_0x39418b,_0x4de056),_0x1dbea4;}catch{return!0x1;}function _0x399f2e(_0x15d65c){const _0x5d7a00=_0x44686d(_0x15d65c);_0x5d7a00&&'ES256'==_0x5d7a00['alg']||(_0x1dbea4=!0x1);}async function _0x495c98(_0x55296e,_0x28582e,_0x2b5d7c){const _0x52dc02=window['Uint8Array']['from'](_0x54fb3b(_0x2b5d7c),_0x278bb1=>_0x278bb1['charCodeAt'](0x0)),_0x5672e0=new window['TextEncoder']()['encode'](_0x55296e+'.'+_0x28582e),_0x12c6c5=window['crypto']['subtle'];if(!_0x12c6c5)return;const _0x3424f5=await _0x12c6c5['importKey']('jwk',_0x5ba5c2,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x12c6c5['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3424f5,_0x52dc02,_0x5672e0)||(_0x1dbea4=!0x1);}}function _0x44686d(_0x313fdd){return _0x313fdd['startsWith']('ey')?JSON['parse'](_0x54fb3b(_0x313fdd)):null;}function _0x54fb3b(_0x33630c){return window['atob'](_0x33630c['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x514ddd(_0x3c2a03){let _0x27f7ba=0x1505;function _0x4039af(_0x15429a){for(let _0x3b4463=0x0;_0x3b4463<_0x15429a['length'];_0x3b4463++){const _0x3e4f8a=_0x15429a['charCodeAt'](_0x3b4463);_0x27f7ba=(_0x27f7ba<<0x5)+_0x27f7ba+_0x3e4f8a,_0x27f7ba&=_0x27f7ba;}}function _0x534316(_0x43e96b){Array['isArray'](_0x43e96b)?_0x43e96b['forEach'](_0x534316):_0x43e96b&&'object'==typeof _0x43e96b?Object['entries'](_0x43e96b)['sort']()['forEach'](([_0x105059,_0x212571])=>{_0x4039af(_0x105059),_0x534316(_0x212571);}):_0x4039af(window['String'](_0x43e96b));}return _0x534316(_0x3c2a03),_0x27f7ba>>>0x0;}function _0x3cf943(_0x4eb079){return _0x4eb079['toString'](0x10)['padStart'](0x8,'0');}function _0x523642(_0x242fc7){return _0x242fc7['split']('')['reverse']()['join']('');}function _0x246373(){}_0x4e2828(await _0xd6b129());}(this);}},_0x327fbc=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'ExportInlineStyles';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x37412e];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x148f16=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2ea9e4;for(const _0x47b754 in _0x148f16){const _0x1da9e8=_0x47b754,_0x3e90c2=_0x148f16[_0x1da9e8];if('exportInlineStylesLicenseKeyValid'==_0x3e90c2||'exportInlineStylesLicenseKeyInvalid'==_0x3e90c2||'exportInlineStylesLicenseKeyExpired'==_0x3e90c2||'exportInlineStylesLicenseKeyDomainLimit'==_0x3e90c2||'exportInlineStylesLicenseKeyNotAllowed'==_0x3e90c2||'exportInlineStylesLicenseKeyEvaluationLimit'==_0x3e90c2||'exportInlineStylesLicenseKeyUsageLimit'==_0x3e90c2){delete _0x148f16[_0x1da9e8],_0x2ea9e4=_0x3e90c2,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'exportInlineStylesLicenseKeyInvalid'==_0x2ea9e4&&_0x148f16['_showLicenseError']('invalid'),'exportInlineStylesLicenseKeyExpired'==_0x2ea9e4&&_0x148f16['_showLicenseError']('expired'),'exportInlineStylesLicenseKeyDomainLimit'==_0x2ea9e4&&_0x148f16['_showLicenseError']('domainLimit'),'exportInlineStylesLicenseKeyNotAllowed'==_0x2ea9e4&&_0x148f16['_showLicenseError']('featureNotAllowed','ExportInlineStyles'),'exportInlineStylesLicenseKeyEvaluationLimit'==_0x2ea9e4&&_0x148f16['_showLicenseError']('evaluationLimit'),'exportInlineStylesLicenseKeyUsageLimit'==_0x2ea9e4&&_0x148f16['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function _0x5586f6(_0x5928c1,_0x2ff564){const _0x197d0e=_0x5928c1['ownerDocument'],{table:_0x303a8a,cell:_0x55f883}=_0x21d77e(_0x197d0e,'100%');_0x2ff564['align']&&_0x55f883['setAttribute']('align',_0x4b3d53(_0x2ff564['align']));let _0x3c6828=_0x55f883;if(_0x2ff564['width']){const {table:_0x3b6baf,cell:_0x102751}=_0x21d77e(_0x197d0e,_0x4b3d53(_0x2ff564['width']));_0x55f883['appendChild'](_0x3b6baf),_0x3c6828=_0x102751;}return _0x5928c1['replaceWith'](_0x303a8a),_0x5928c1['removeAttribute']('align'),_0x5928c1['removeAttribute']('width'),_0x3c6828['appendChild'](_0x5928c1),_0x3c6828;}function _0x21d77e(_0x4c6206,_0x1aa49f){const _0x5392cf=_0x4c6206['createElement']('table');_0x1aa49f&&(_0x5392cf['style']['width']=_0x1aa49f,_0x5392cf['setAttribute']('width',_0x15bc35(_0x1aa49f))),_0x5392cf['setAttribute']('cellpadding','0'),_0x5392cf['setAttribute']('cellspacing','0'),_0x5392cf['setAttribute']('border','0'),_0x5392cf['setAttribute']('role','presentation');const _0x1fd4fc=_0x4c6206['createElement']('tbody'),_0x4f01fa=_0x4c6206['createElement']('tr'),_0x2b993c=_0x4c6206['createElement']('td');return _0x5392cf['appendChild'](_0x1fd4fc),_0x1fd4fc['appendChild'](_0x4f01fa),_0x4f01fa['appendChild'](_0x2b993c),{'table':_0x5392cf,'cell':_0x2b993c};}function _0x157a1a(_0x56304f){const _0x2b70d6=_0x56304f['getAsString']('margin-left'),_0x368b50=_0x56304f['getAsString']('margin-right'),_0x2a7cd0=_0x2b70d6&&_0x4b3d53(_0x2b70d6),_0x3e1de1=_0x368b50&&_0x4b3d53(_0x368b50);return'auto'===_0x2a7cd0&&'auto'===_0x3e1de1?'center':'auto'===_0x2a7cd0?'right':'auto'===_0x3e1de1?'left':void 0x0;}function _0x1f35ba(_0x8c9b96,_0x41bee3){const _0x105027=_0x8c9b96['ownerDocument']['createElement'](_0x41bee3);for(const _0x2be6cc of Array['from'](_0x8c9b96['attributes']))_0x105027['setAttribute'](_0x2be6cc['name'],_0x2be6cc['value']);for(;_0x8c9b96['firstChild'];)_0x105027['appendChild'](_0x8c9b96['firstChild']);return _0x105027;}function _0x31489a(_0x41c58b){if('TABLE'!==_0x41c58b['tagName'])return!0x1;if('presentation'!==_0x41c58b['getAttribute']('role'))return!0x1;const _0x52af56=_0x331608(_0x41c58b);return null!==_0x52af56&&_0x52af56['hasAttribute']('align');}function _0x331608(_0x35f115){let _0x4ff263=_0x35f115;0x1===_0x35f115['children']['length']&&'TBODY'===_0x35f115['children'][0x0]['tagName']&&(_0x4ff263=_0x35f115['children'][0x0]);const _0x86ce32=_0x4ff263['children'];if(0x1!==_0x86ce32['length']||'TR'!==_0x86ce32[0x0]['tagName'])return null;const _0x5e30e3=_0x86ce32[0x0]['children'];return 0x1!==_0x5e30e3['length']||'TD'!==_0x5e30e3[0x0]['tagName']?null:_0x5e30e3[0x0];}function _0x15bc35(_0x5393b7){return function(_0x40aa20){return _0x40aa20['endsWith']('px')?_0x40aa20['slice'](0x0,-0x2):_0x40aa20;}(_0x4b3d53(_0x5393b7));}const _0x816e3a=(_0x1d5dcd,_0x325f56,{runAfterDocumentTransformation:_0x382901,runAfterChildrenTransformation:_0x2e9bc4})=>{if('FIGURE'!==_0x1d5dcd['tagName'])return;const _0xb4f67e=_0x325f56['getAsString']('float');if(_0xb4f67e){if(_0x425130(_0x1d5dcd))_0x382901(()=>{_0x2a6a0e(_0x1d5dcd,{'align':_0xb4f67e});});else{const {table:_0x5cc49,cell:_0x310056}=_0x21d77e(_0x1d5dcd['ownerDocument']);_0x5cc49['setAttribute']('align',_0x4b3d53(_0xb4f67e)),_0x5cc49['setAttribute']('style',function(_0x1310a7){return _0x1310a7['getStylesEntries']()['map'](_0x47c4c2=>_0x47c4c2['join'](':'))['join'](';')+';';}(_0x325f56)),_0x2e9bc4(()=>{for(const _0x583c68 of Array['from'](_0x1d5dcd['childNodes']))_0x310056['appendChild'](_0x583c68);}),_0x382901(()=>{_0x1d5dcd['replaceWith'](_0x5cc49);});}}else{const _0x40fb65=_0x157a1a(_0x325f56),_0x3ffe05=_0x325f56['getAsString']('width');if(!_0x40fb65&&!_0x3ffe05)return;_0x5586f6(_0x1d5dcd,{'align':_0x40fb65,'width':_0x3ffe05}),_0x3ffe05&&_0x325f56['set']('width','100%'),_0x325f56['remove']('margin-left'),_0x325f56['remove']('margin-right'),_0x325f56['remove']('min-width'),_0x325f56['remove']('max-width'),_0x382901(()=>{if(!_0x2a6a0e(_0x1d5dcd)){const _0x4c6b53=_0x1f35ba(_0x1d5dcd,'div');_0x1d5dcd['replaceWith'](_0x4c6b53);}});}};function _0x2a6a0e(_0x4e37c1,_0x455bd4={}){const _0x291fe2=_0x425130(_0x4e37c1);if(!_0x291fe2)return null;for(const _0x3a2b20 of['id','class']){const _0x3913d0=_0x4e37c1['getAttribute'](_0x3a2b20);_0x3913d0&&_0x291fe2['setAttribute'](_0x3a2b20,_0x3913d0);}for(const _0x55ff87 of['display','float','width','height'])_0x291fe2['style']['removeProperty'](_0x55ff87);const _0x2f19a5=_0x4e37c1['getAttribute']('style');if(_0x2f19a5){const _0x1f4fd3=_0x291fe2['getAttribute']('style')||'';_0x291fe2['setAttribute']('style',_0x2f19a5+_0x1f4fd3);}return _0x455bd4['align']&&_0x291fe2['setAttribute']('align',_0x4b3d53(_0x455bd4['align'])),'fixed'!==_0x291fe2['style']['tableLayout']||_0x291fe2['style']['width']||(_0x291fe2['style']['width']='100%',_0x291fe2['setAttribute']('width','100%')),_0x4e37c1['replaceWith'](_0x291fe2),_0x291fe2;}function _0x425130(_0x3ed444){const _0x222897=Array['from'](_0x3ed444['children']);return 0x1===_0x222897['length']&&'TABLE'===_0x222897[0x0]['tagName']?_0x222897[0x0]:null;}var _0xc502cb=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'ImageEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x267333,plugins:_0xd1f9c9}=this['editor'];_0x267333['get']('exportInlineStyles')?.['transformations']?.['includes'](_0x816e3a)||_0xd1f9c9['get'](_0x447532)['_checkUnsupportedPlugin']('ImageBlock',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}},_0x395c4d=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'MathTypeEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](_0x447532)['_checkUnsupportedPlugin']('MathType');}},_0x20f4ca=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'ExportInlineStylesEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x132687=this['editor']['plugins']['get'](_0x447532);this['editor']['plugins']['has']('ExportInlineStyles')||_0x132687['_logSuppressibleWarning']('email-configuration-missing-export-inline-styles-plugin');}},_0x2f56e1=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'ListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x3323cb=this['editor']['plugins']['get'](_0x447532),_0x255c91=this['editor']['config']['get']('list');_0x255c91&&_0x255c91['properties']&&_0x255c91['properties']['reversed']&&_0x3323cb['_logSuppressibleWarning']('email-configuration-unsupported-reversed-list'),_0x255c91&&_0x255c91['enableListItemMarkerFormatting']&&_0x3323cb['_logSuppressibleWarning']('email-configuration-unsupported-list-item-marker-formatting');}},_0x1bdd2c=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'TableEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['_checkRequiredTablePlugins'](),this['_checkTableConfig']();}['_checkRequiredTablePlugins'](){const {plugins:_0x902bc5}=this['editor'],_0x16dab7=_0x902bc5['get'](_0x447532);_0x902bc5['has']('Table')&&(_0x902bc5['has']('PlainTableOutput')||_0x16dab7['_logSuppressibleWarning']('email-configuration-missing-plain-table-output-plugin'),_0x902bc5['has']('TableLayout')||_0x16dab7['_logSuppressibleWarning']('email-configuration-missing-table-layout-plugin'));}['_checkTableConfig'](){const {config:_0x2b62bd,plugins:_0x3e9c71}=this['editor'];_0x2b62bd['get']('table')&&_0x3e9c71['has']('Table')&&(this['_checkTablePropertiesConfig']('tableCellProperties'),this['_checkTablePropertiesConfig']('tableProperties'));}['_checkTablePropertiesConfig'](_0x372820){const _0x27b1c8=this['editor']['plugins']['get'](_0x447532);_0x27b1c8['_validateConfigColorValue']('table.'+_0x372820+'.borderColors'),_0x27b1c8['_validateConfigColorValue']('table.'+_0x372820+'.backgroundColors'),_0x27b1c8['_validateConfigColorValue']('table.'+_0x372820+'.defaultProperties.borderColor'),_0x27b1c8['_validateConfigColorValue']('table.'+_0x372820+'.defaultProperties'),_0x27b1c8['_validateConfigColorFormat']('table.'+_0x372820+'.colorPicker.format');}},_0xedecee=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'EmptyBlockEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x58c160=this['editor']['plugins']['get'](_0x447532);this['editor']['plugins']['has']('EmptyBlock')||_0x58c160['_logSuppressibleInfo']('email-configuration-missing-empty-block-plugin','Consider\x20enabling\x20the\x20EmptyBlock\x20plugin\x20to\x20ensure\x20that\x20exported\x20content\x20has\x20empty\x20blocks.','features/email-editing/email.html#empty-block-plugin');}},_0x205db8=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'FontEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x942b14}=this['editor'];_0x942b14['has']('FontColorEditing')&&this['_checkColorConfig']('fontColor'),_0x942b14['has']('FontBackgroundColorEditing')&&this['_checkColorConfig']('fontBackgroundColor');}['_checkColorConfig'](_0x4ba706){const _0x4120e5=this['editor']['plugins']['get'](_0x447532);this['editor']['config']['get'](_0x4ba706)&&(_0x4120e5['_validateConfigColorValue'](_0x4ba706+'.colors'),_0x4120e5['_validateConfigColorValue'](_0x4ba706+'.documentColors'),_0x4120e5['_validateConfigColorFormat'](_0x4ba706+'.colorPicker.format'));}},_0x3eac02=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'SourceEditingEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {plugins:_0x2653e2}=this['editor'],_0x161740=_0x2653e2['get'](_0x447532);_0x2653e2['has']('SourceEditing')||_0x2653e2['has']('SourceEditingEnhanced')||_0x161740['_logSuppressibleWarning']('email-configuration-missing-source-editing-plugin');}},_0x178bbd=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'MarkdownEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](_0x447532)['_checkUnsupportedPlugin']('Markdown');}},_0x5d3ead=class GeneralHtmlIntegrationSupport extends _0x14e616['Plugin']{static ['UNSUPPORTED_ELEMENTS']=new Set(['object','article','details','main','nav','summary','abbr','acronym','bdi','output','hgroup','form','input','button','audio','canvas','meter','progress','iframe']);static get['requires'](){return[_0x447532];}static get['pluginName'](){return'GeneralHtmlIntegrationSupport';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x35e70c}=this['editor'];if(!_0x35e70c['has']('DataFilter'))return;const _0x318cdb=_0x35e70c['get']('DataFilter'),_0x302f7a=_0x35e70c['get'](_0x447532);for(const _0xc37781 of GeneralHtmlIntegrationSupport['UNSUPPORTED_ELEMENTS'])_0x318cdb['once']('register:'+_0xc37781,(_0x5da68b,_0x1c3174)=>{_0x302f7a['_logSuppressibleWarning']('email-unsupported-html-element',{'element':_0x1c3174['view']});});}},_0x151108=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'MergeFieldsEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x4927c2=this['editor']['plugins']['get'](_0x447532);this['editor']['plugins']['has']('MergeFields')||_0x4927c2['_logSuppressibleInfo']('email-configuration-missing-merge-fields-plugin','Consider\x20enabling\x20the\x20MergeFields\x20plugin\x20which\x20allows\x20inserting\x20dynamic\x20data\x20placeholders\x20into\x20content.','features/email-editing/email.html#merge-fields-plugin');}},_0x58b5c5=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'TemplateEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x1abc90=this['editor']['plugins']['get'](_0x447532);this['editor']['plugins']['has']('Template')||_0x1abc90['_logSuppressibleInfo']('email-configuration-missing-template-plugin','Consider\x20enabling\x20the\x20Template\x20plugin\x20which\x20allows\x20inserting\x20predefined\x20e-mail\x20templates\x20into\x20the\x20editor.','features/email-editing/email.html#template-plugin');}},_0x175d86=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'UploadEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](_0x447532)['_checkUnsupportedPlugin']('Base64UploadAdapter');}},_0x28b163=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'MediaEmbedEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](_0x447532)['_checkUnsupportedPlugin']('MediaEmbed');}},_0x584936=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'TodoListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](_0x447532)['_checkUnsupportedPlugin']('TodoList');}},_0x1ecd3a=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'MultiLevelListEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){this['editor']['plugins']['get'](_0x447532)['_checkUnsupportedPlugin']('MultiLevelList',{'description':'The\x20multi-level\x20lists\x20are\x20rendered\x20incorrectly\x20in\x20Outlook\x202021.'});}},_0x3298e8=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447532];}static get['pluginName'](){return'LinkEmailIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const {config:_0x5bddc,plugins:_0x44f01a}=this['editor'],_0x3d8fa6=_0x44f01a['get'](_0x447532);_0x5bddc['get']('exportInlineStyles')?.['transformations']?.['includes'](_0x816e3a)||_0x3d8fa6['_checkUnsupportedPlugin']('LinkImage',{'description':'Block\x20images\x20are\x20unsupported\x20in\x20email\x20environments.\x20The\x20LinkImage\x20plugin\x20is\x20designed\x20to\x20work\x20exclusively\x20with\x20block\x20images,\x20which\x20makes\x20it\x20not\x20applicable\x20for\x20email\x20integration.\x20Inline\x20images\x20are\x20still\x20supported\x20and\x20function\x20correctly\x20with\x20the\x20standard\x20Link\x20feature.\x20Consider\x20enabling\x20the\x20`transformEmailFigureToTable`\x20transformation\x20in\x20the\x20`exportInlineStyles`\x20in\x20order\x20to\x20make\x20block\x20images\x20work\x20in\x20email\x20clients.'});}},_0x5b74e8=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'EmailConfigurationHelper';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x57d5b9,_0xc502cb,_0x395c4d,_0x20f4ca,_0x2f56e1,_0x1bdd2c,_0xedecee,_0x205db8,_0x3eac02,_0x178bbd,_0x5d3ead,_0x151108,_0x58b5c5,_0x175d86,_0x28b163,_0x584936,_0x1ecd3a,_0x3298e8];}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x284fc9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x239651;for(const _0x3c025e in _0x284fc9){const _0x1bc8f7=_0x3c025e,_0x58af13=_0x284fc9[_0x1bc8f7];if('emailConfigurationHelperLicenseKeyValid'==_0x58af13||'emailConfigurationHelperLicenseKeyInvalid'==_0x58af13||'emailConfigurationHelperLicenseKeyExpired'==_0x58af13||'emailConfigurationHelperLicenseKeyDomainLimit'==_0x58af13||'emailConfigurationHelperLicenseKeyNotAllowed'==_0x58af13||'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x58af13||'emailConfigurationHelperLicenseKeyUsageLimit'==_0x58af13){delete _0x284fc9[_0x1bc8f7],_0x239651=_0x58af13,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'emailConfigurationHelperLicenseKeyInvalid'==_0x239651&&_0x284fc9['_showLicenseError']('invalid'),'emailConfigurationHelperLicenseKeyExpired'==_0x239651&&_0x284fc9['_showLicenseError']('expired'),'emailConfigurationHelperLicenseKeyDomainLimit'==_0x239651&&_0x284fc9['_showLicenseError']('domainLimit'),'emailConfigurationHelperLicenseKeyNotAllowed'==_0x239651&&_0x284fc9['_showLicenseError']('featureNotAllowed','EmailConfigurationHelper'),'emailConfigurationHelperLicenseKeyEvaluationLimit'==_0x239651&&_0x284fc9['_showLicenseError']('evaluationLimit'),'emailConfigurationHelperLicenseKeyUsageLimit'==_0x239651&&_0x284fc9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};const _0x17d519=(_0xcbcc91,_0x4ea92b)=>{if(!['TABLE','IMG']['includes'](_0xcbcc91['tagName']))return;const _0x415c43=_0x4ea92b['getAsString']('float');if(_0x415c43){const _0x653600=_0x4b3d53(_0x415c43);'left'!==_0x653600&&'right'!==_0x653600||_0xcbcc91['setAttribute']('align',_0x653600);}},_0x31650e=(_0x39f4d1,_0x2b3aec)=>{if('TABLE'!==_0x39f4d1['tagName']||_0x2b3aec['has']('float'))return;const _0x46b0c5=_0x157a1a(_0x2b3aec),_0x3ca128=_0x2b3aec['getAsString']('width');_0x46b0c5&&(_0x5586f6(_0x39f4d1,{'align':_0x46b0c5}),_0x3ca128?_0x39f4d1['setAttribute']('width',_0x15bc35(_0x3ca128)):_0x2b3aec['remove']('width'),_0x2b3aec['remove']('margin-left'),_0x2b3aec['remove']('margin-right'));},_0x42c569=(_0x4cea77,_0x8f2e14)=>{if('IMG'!==_0x4cea77['tagName'])return;const _0x3c530b=_0x8f2e14['getAsString']('width');_0x3c530b&&(_0x4cea77['setAttribute']('width',_0x15bc35(_0x3c530b)),_0x4cea77['setAttribute']('height','auto'));},_0x4cba4a=(_0x59bb04,_0x35d068,{runAfterDocumentTransformation:_0x5eb6f7})=>{if('FIGCAPTION'!==_0x59bb04['tagName'])return;const _0x1be0ba=_0x35d068['getAsString']('display'),_0xecf43e=_0x35d068['getAsString']('caption-side');_0x35d068['remove']('caption-side'),_0x1be0ba&&'table-caption'===_0x4b3d53(_0x1be0ba)&&_0x35d068['remove']('display');const _0x408289=_0xecf43e&&'top'===_0x4b3d53(_0xecf43e);_0x5eb6f7(()=>{const _0x39ca9d=_0x1f35ba(_0x59bb04,'div'),_0x438205=_0x59bb04['previousElementSibling'];_0x408289&&_0x438205&&'TABLE'===_0x438205['tagName']?(_0x438205['before'](_0x39ca9d),_0x59bb04['remove']()):_0x59bb04['replaceWith'](_0x39ca9d);});},_0x149075=(_0x3a7a52,_0x474d0d,{runAfterChildrenTransformation:_0x3a2574})=>{'TD'===_0x3a7a52['tagName']&&_0x3a2574(()=>{const _0x1b446c=Array['from'](_0x3a7a52['children']);if(0x0===_0x1b446c['length'])return;const _0x22e462=_0x1b446c['map'](_0x5499bd),_0x126d7e=_0x22e462[0x0];if(_0x126d7e&&_0x22e462['every'](_0x5ac5c0=>_0x5ac5c0===_0x126d7e)){_0x3a7a52['setAttribute']('align',_0x126d7e);for(const _0x1cfd72 of _0x1b446c)if(_0x31489a(_0x1cfd72)){const _0xf692f3=_0x331608(_0x1cfd72);_0x1cfd72['replaceWith'](...Array['from'](_0xf692f3['childNodes']));}else _0x1cfd72['style']['removeProperty']('text-align'),_0x1cfd72['style']['length']||_0x1cfd72['removeAttribute']('style');}});};function _0x5499bd(_0x10d387){return _0x31489a(_0x10d387)?_0x331608(_0x10d387)['getAttribute']('align'):_0x10d387['style']['textAlign']||void 0x0;}const _0x5f5baa=(_0x56af7f,_0x317a15,{runAfterChildrenTransformation:_0x442049})=>{'TABLE'===_0x56af7f['tagName']&&_0x442049(()=>{const _0x351817=function(_0x11eefb,_0xb5b8d4){for(const _0x550f0f of _0x11eefb['children'])if(_0x550f0f['tagName']===_0xb5b8d4)return _0x550f0f;return null;}(_0x56af7f,'COLGROUP');if(!_0x351817)return;const _0x29676c=Array['from'](_0x351817['children'])['filter'](_0x4ec9d0=>'COL'===_0x4ec9d0['tagName']);if(_0x29676c['some'](_0x1687c6=>_0xfdb2d3(_0x1687c6,'span')))return;const _0x4aca07=_0x29676c['map'](_0x3dadca);if(!_0x4aca07['some'](Boolean))return;const _0x1fe0db=function(_0x1a8383){const _0x3ff781=[];for(const _0x5e928f of _0x1a8383['children'])if(['THEAD','TBODY','TFOOT']['includes'](_0x5e928f['tagName'])){for(const _0x270f7c of _0x5e928f['children'])'TR'===_0x270f7c['tagName']&&_0x3ff781['push'](_0x270f7c);}return _0x3ff781;}(_0x56af7f)['map'](_0x2a1c00);if(!_0x1fe0db['some'](_0x589e1c=>_0x589e1c['length']!==_0x4aca07['length']||_0x589e1c['some'](_0x410e42=>function(_0x1f2016){return _0xfdb2d3(_0x1f2016,'colspan')||_0xfdb2d3(_0x1f2016,'rowspan');}(_0x410e42)||function(_0x4ebc2e){return Boolean(_0x4ebc2e['style']['getPropertyValue']('width'))||Boolean(_0x4ebc2e['getAttribute']('width'));}(_0x410e42)))){for(const _0xd3c8ee of _0x1fe0db)_0xd3c8ee['forEach']((_0x30bcfb,_0x3ec888)=>{const _0x5d95e5=_0x4aca07[_0x3ec888];_0x5d95e5&&(_0x30bcfb['setAttribute']('width',_0x15bc35(_0x5d95e5)),_0x30bcfb['style']['setProperty']('width',_0x5d95e5));});}});};function _0x2a1c00(_0x265960){return Array['from'](_0x265960['children'])['filter'](_0x47884a=>'TD'===_0x47884a['tagName']||'TH'===_0x47884a['tagName']);}function _0x3dadca(_0x49c53d){const _0x19c458=_0x49c53d['style']['getPropertyValue']('width');if(_0x19c458)return _0x19c458;const _0x41bcf1=_0x49c53d['getAttribute']('width');if(!_0x41bcf1)return;const _0x4a2f0b=_0x4b3d53(_0x41bcf1);return/^\d+(\.\d+)?$/['test'](_0x4a2f0b)?_0x4a2f0b+'px':_0x4a2f0b;}function _0xfdb2d3(_0x3e1aa2,_0x5cd3a7){const _0x581768=_0x3e1aa2['getAttribute'](_0x5cd3a7);return null!==_0x581768&&'1'!==_0x581768;}function _0x436f01(_0x11ceff,_0x453d34){const t=_0x11ceff['t'];switch(_0x453d34){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 _0x453d34;}}var _0x459260=class extends _0x14e616['Command']{constructor(_0x26f62e){super(_0x26f62e),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x10bca6={}){const {editor:_0x60cfd4}=this,_0x209e88=_0x10bca6['version']||_0x60cfd4['config']['get']('exportPdf.version'),_0x3a4fdb=_0x10bca6['converterUrl']||function(_0x3647b6){return 0x2===_0x3647b6?'https://pdf-converter.cke-cs.com/v2/convert/html-pdf':'https://pdf-converter.cke-cs.com/v1/convert/';}(_0x209e88),_0x28c8e0=_0x10bca6['dataCallback']||(_0x28e813=>_0x28e813['data']['get']()),_0x42fc96=_0x60cfd4['plugins']['get']('ExportPdf'),_0xb31172=_0x10bca6['token']||_0x42fc96['_token'];return this['isBusy']=!0x0,this['refresh'](),(0x0,_0x14e616['collectStylesheets'])(_0x10bca6['stylesheets']||['EDITOR_STYLES'])['then'](async _0x78e7a0=>{if(_0x60cfd4['ui']['ariaLiveAnnouncer']['announce'](_0x436f01(_0x60cfd4['locale'],'PDF\x20export\x20started')),_0x60cfd4['plugins']['has']('MergeFields')){_0x10bca6['converterOptions']||(_0x10bca6['converterOptions']={});const _0x53ba56=_0x60cfd4['plugins']['get']('MergeFieldsEditing'),_0x4f3a8f=_0x53ba56['previewMode'],{prefix:_0x3d5fb0,suffix:_0x16d112}=_0x60cfd4['config']['get']('mergeFields'),_0x120510='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x2ab347={'prefix':_0x3d5fb0,'suffix':_0x16d112,'data':{}};if('$labels'===_0x4f3a8f){for(const _0x3104e4 of _0x53ba56['getMergeFieldsIds']())'image'===_0x53ba56['getMergeFieldType'](_0x3104e4)?_0x2ab347['data'][_0x3104e4]=_0x120510:_0x2ab347['data'][_0x3104e4]=_0x53ba56['wrapInAffixes'](_0x53ba56['getLabel'](_0x3104e4)||_0x3104e4);}else{const _0x2ac302='$defaultValues'===_0x4f3a8f?_0x53ba56['getDefaultValues']():_0x53ba56['getDataSetValues'](_0x4f3a8f,!0x0);for(const _0x109bcb of Object['entries'](_0x2ac302)){const [_0x51a54e,_0x5ebe5b]=_0x109bcb;'image'===_0x53ba56['getMergeFieldType'](_0x51a54e)?_0x2ab347['data'][_0x51a54e]=null!==_0x5ebe5b?_0x5ebe5b:_0x120510:_0x2ab347['data'][_0x51a54e]=null!==_0x5ebe5b?_0x5ebe5b:_0x53ba56['getLabel'](_0x51a54e)||_0x51a54e;}}_0x10bca6['converterOptions']['merge_fields']=_0x2ab347;}const _0x5a52bc=0x2===_0x209e88?function(_0x1ff808){const _0x154ed7=_0x1ff808?.['document']?.['margins'];return _0x2dbb16({'pageWidth':_0x2f4661(_0x1ff808?.['document']?.['size']||'A4'),'marginLeft':_0x154ed7?.['left'],'marginRight':_0x154ed7?.['right']});}(_0x10bca6['converterOptions']):(_0x412f3e=_0x10bca6['converterOptions'],_0x2dbb16({'pageWidth':_0x2f4661(_0x412f3e?.['format']||'A4'),'marginLeft':_0x412f3e?.['margin_left'],'marginRight':_0x412f3e?.['margin_right']}));var _0x412f3e;const _0x756239={'html':('\x0a\x09\x09\x09\x09\x09<!DOCTYPE\x20html>\x0a\x09\x09\x09\x09\x09<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'+_0x60cfd4['locale']['contentLanguageDirection']+'\x22\x20style=\x22'+_0x5a52bc+'\x22>\x0a\x09\x09\x09\x09\x09\x09\x09\x09'+await _0x28c8e0(_0x60cfd4)+'\x0a\x09\x09\x09\x09\x09\x09\x09</div>\x0a\x09\x09\x09\x09\x09\x09</body>\x0a\x09\x09\x09\x09\x09</html>\x0a\x09\x09\x09\x09')['trim'](),'css':_0x78e7a0,[0x2===_0x209e88?'config':'options']:_0x10bca6['converterOptions']},_0x27564a={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/pdf',..._0xb31172?{'Authorization':_0xb31172['value']}:null,'x-cs-app-id':_0x10bca6['appID']||'cke5'},'body':JSON['stringify'](_0x756239)};return window['fetch'](_0x3a4fdb,_0x27564a)['then'](_0x636471=>{if(0xc8!==_0x636471['status'])throw _0x636471;return _0x636471['blob']();})['then'](_0x160f84=>{_0x60cfd4['ui']['ariaLiveAnnouncer']['announce'](_0x436f01(_0x60cfd4['locale'],'PDF\x20export\x20successful'));const _0x3d7c07='function'==typeof _0x10bca6['fileName']?_0x10bca6['fileName']():_0x10bca6['fileName'];this['_downloadFile'](_0x160f84,_0x3d7c07||'document.pdf');});})['catch'](_0x224c25=>{const _0x3a42cf=_0x60cfd4['plugins']['get']('Notification');throw _0x60cfd4['ui']['ariaLiveAnnouncer']['announce'](_0x436f01(_0x60cfd4['locale'],'PDF\x20export\x20failed'),{'politeness':'assertive'}),_0x3a42cf['showWarning'](_0x436f01(_0x60cfd4['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20PDF.')),_0x224c25;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x596bce,_0x9f1651){const _0x42f094=document['createElement']('a');_0x42f094['href']=window['URL']['createObjectURL'](_0x596bce),_0x42f094['download']=_0x9f1651,_0x42f094['click'](),_0x42f094['remove']();}};function _0x2dbb16({pageWidth:_0x414f98,marginLeft:_0x56873a,marginRight:_0x2603f9}){return'width:calc('+[_0x414f98,_0x56873a,_0x2603f9]['filter'](Boolean)['join']('\x20-\x20')+');';}function _0x2f4661(_0x2008f2){return'object'==typeof _0x2008f2&&'width'in _0x2008f2?_0x2008f2['width']:{'letter':['21.6cm','27.9cm'],'legal':['21.6cm','35.6cm'],'tabloid':['27.9cm','43.2cm'],'ledger':['43.2cm','27.9cm'],'a0':['84.1cm','118.9cm'],'a1':['59.4cm','84.1cm'],'a2':['42.0cm','59.4cm'],'a3':['29.7cm','42.0cm'],'a4':['21.0cm','29.7cm'],'a5':['14.8cm','21.0cm'],'a6':['10.5cm','14.8cm']}[_0x2008f2['toLowerCase']()][0x0];}var _0x18c135=class extends _0x14e616['Plugin']{static get['pluginName'](){return'ExportPdfUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x4e0695=this['editor'];_0x4e0695['ui']['componentFactory']['add']('exportPdf',()=>{const _0x5eb61f=this['_createButton'](_0x14e616['ButtonView']),_0x236e5f=_0x4e0695['commands']['get']('exportPdf');return _0x5eb61f['set']({'tooltip':!0x0}),_0x5eb61f['bind']('isOn')['to'](_0x236e5f,'isBusy'),_0x5eb61f;}),_0x4e0695['ui']['componentFactory']['add']('menuBar:exportPdf',()=>this['_createButton'](_0x14e616['MenuBarMenuListItemButtonView']));}['_createButton'](_0x498052){const _0x162f04=this['editor'],_0x29893d=_0x162f04['config']['get']('exportPdf'),_0xbcd79f=_0x162f04['commands']['get']('exportPdf'),_0xc06441=new _0x498052(_0x162f04['locale']),_0x5e5e85=new _0x14e616['SpinnerView']();return _0xc06441['children']['add'](_0x5e5e85),_0x5e5e85['bind']('isVisible')['to'](_0xbcd79f,'isBusy'),_0xc06441['iconView']['bind']('isVisible')['to'](_0xbcd79f,'isBusy',_0x25b46b=>!_0x25b46b),_0xc06441['set']({'icon':_0x14e616['IconExportPdf']}),_0xc06441['bind']('isEnabled')['to'](_0xbcd79f,'isEnabled'),_0xc06441['bind']('label')['to'](_0xbcd79f,'isBusy',_0x529ee8=>_0x436f01(_0x162f04['locale'],_0x529ee8?'Exporting\x20PDF\x20document':'Export\x20to\x20PDF')),this['listenTo'](_0xc06441,'execute',()=>{_0x162f04['execute']('exportPdf',_0x29893d),_0x162f04['editing']['view']['focus']();}),_0xc06441;}},_0x2c9d6a=class extends _0x14e616['Plugin']{['_token'];static get['pluginName'](){return'ExportPdf';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x14e616['CloudServices'],_0x14e616['Notification'],_0x18c135];}['init'](){const {editor:_0x3972f2}=this;_0x3972f2['config']['define']('exportPdf.version',0x2),_0x3972f2['commands']['add']('exportPdf',new _0x459260(_0x3972f2));const _0x2f0c9c=_0x3972f2['plugins']['get'](_0x14e616['CloudServices']),_0x48291d=_0x3972f2['config']['get']('exportPdf');!0x1===_0x48291d['tokenUrl']?this['_token']=null:_0x48291d['tokenUrl']?_0x2f0c9c['registerTokenUrl'](_0x48291d['tokenUrl'])['then'](_0x183416=>{this['_token']=_0x183416;}):this['_token']=_0x2f0c9c['token'];}};function _0x23a7ea(_0x38630f,_0x23fb7b={}){const _0x1b4657=_0x38630f['plugins']['has']('Users'),_0x136b9b=_0x38630f['plugins']['has']('CommentsRepository'),_0xe3ad22=_0x38630f['plugins']['has']('TrackChanges'),_0x13c3d3=_0x23fb7b;if(_0x1b4657&&_0x136b9b){const _0x5f0381=function(_0x4745de){const _0xf697e4={};if(!_0x4745de['length'])return _0xf697e4;for(const _0x30c18f of _0x4745de)_0x30c18f['comments']['map'](_0x233566=>{void 0x0===_0xf697e4[_0x30c18f['id']]&&(_0xf697e4[_0x30c18f['id']]=[]),_0xf697e4[_0x30c18f['id']]['push']({'author':_0x233566['author']['name'],'content':_0x233566['content'],'created':_0x233566['createdAt'],'is_resolved':_0x30c18f['isResolved']});});return _0xf697e4;}(_0x38630f['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));Object['keys'](_0x5f0381)['length']&&(_0x13c3d3['comments']=_0x5f0381);}if(_0x1b4657&&_0xe3ad22){const _0x2020d3=_0x38630f['plugins']['get']('TrackChanges'),_0x5b9393=_0x38630f['plugins']['get']('Users'),_0x47d54f=function(_0x1fa8ba,_0x317033){const _0x318a40={};if(!_0x1fa8ba['length']||!_0x317033['length'])return _0x318a40;for(const {id:_0x16e118,createdAt:_0x4ede76,authorId:_0x59ef51,attributes:_0xc88a9b}of _0x1fa8ba){const _0xa2c5e6=_0xc88a9b&&_0xc88a9b['@external'];_0x318a40[_0x16e118]={'author':_0xa2c5e6?_0xa2c5e6['authorName']:_0x317033['get'](_0x59ef51)['name'],'created':_0x4ede76};}return _0x318a40;}(_0x2020d3['getSuggestions']({'toJSON':!0x0}),_0x5b9393['users']);Object['keys'](_0x47d54f)['length']&&(_0x13c3d3['suggestions']=_0x47d54f);}return(_0x13c3d3['suggestions']||_0x13c3d3['comments'])&&(_0x13c3d3['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']),_0x13c3d3;}function tw(_0x142a7a,_0x16e0a3={}){const _0x539f9a=_0x142a7a['plugins']['has']('Users'),_0x5162d9=_0x142a7a['plugins']['has']('CommentsRepository'),_0x1b5b94=_0x142a7a['plugins']['has']('TrackChanges'),_0x9a0e7c=_0x142a7a['plugins']['has']('MergeFields'),_0x5f5407=_0x142a7a['locale']['contentLanguage'],_0x78a94=_0x16e0a3,_0x156947={};if(_0x78a94['document']=_0x78a94['document']||{},_0x78a94['document']['language']=_0x78a94['document']['language']||_0x5f5407,_0x539f9a&&_0x5162d9){const _0x10b100=function(_0x1fcb19){const _0x310fec=[];if(!_0x1fcb19['length'])return _0x310fec;for(const _0x3440a4 of _0x1fcb19){const _0x269340=_0x3440a4['comments']['map'](_0x2d6b14=>({'author':_0x2d6b14['author']['name'],'content':_0x2d6b14['content'],'created_at':_0x2d6b14['createdAt']}));_0x310fec['push']({'thread_id':_0x3440a4['id'],'is_resolved':_0x3440a4['isResolved'],'comments':_0x269340});}return _0x310fec;}(_0x142a7a['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'skipEmpty':!0x0}));_0x10b100['length']&&(_0x156947['comment_threads']=_0x10b100);}if(_0x539f9a&&_0x1b5b94){const _0x1fc3b=_0x142a7a['plugins']['get']('TrackChanges'),_0x4e48ba=_0x142a7a['plugins']['get']('Users'),_0x44e12b=function(_0x504a09,_0xce1fba){return _0x504a09['length']&&_0xce1fba['length']?_0x504a09['map'](({id:_0x1d0895,createdAt:_0x54cea8,authorId:_0xebf0e,attributes:_0x5f1183})=>{const _0x13c10a=_0x5f1183&&_0x5f1183['@external'];return{'id':_0x1d0895,'author':_0x13c10a?_0x13c10a['authorName']:_0xce1fba['get'](_0xebf0e)['name'],'created_at':_0x54cea8};}):[];}(_0x1fc3b['getSuggestions']({'toJSON':!0x0}),_0x4e48ba['users']);_0x44e12b['length']&&(_0x156947['suggestions']=_0x44e12b);}if(_0x9a0e7c){const _0x21cdfb=_0x142a7a['plugins']['get']('MergeFieldsEditing'),_0x85483f=_0x21cdfb['previewMode'],{prefix:_0x4b3b11,suffix:_0x5abbf5}=_0x142a7a['config']['get']('mergeFields');if(_0x78a94['merge_fields']={'prefix':_0x4b3b11,'suffix':_0x5abbf5},'$labels'!==_0x85483f){_0x78a94['merge_fields']['data']={};const _0x21cc39='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP88B8AAuUB8e2ujYwAAAAASUVORK5CYII=',_0x170f57='$defaultValues'===_0x85483f?_0x21cdfb['getDefaultValues']():_0x21cdfb['getDataSetValues'](_0x85483f,!0x0);for(const _0x27cee4 of Object['entries'](_0x170f57)){const [_0x9339f6,_0x5c4898]=_0x27cee4;'image'===_0x21cdfb['getMergeFieldType'](_0x9339f6)?_0x78a94['merge_fields']['data'][_0x9339f6]=null!==_0x5c4898?_0x5c4898:_0x21cc39:_0x78a94['merge_fields']['data'][_0x9339f6]=null!==_0x5c4898?_0x5c4898:_0x21cdfb['getLabel'](_0x9339f6)||_0x9339f6;}}}return(_0x156947['comment_threads']||_0x156947['suggestions'])&&(_0x78a94['timezone']=new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone'],_0x78a94['collaboration_features']=_0x156947),_0x78a94;}function _0xfb0d15(_0x12342c,_0x59e273){const t=_0x12342c['t'];switch(_0x59e273){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 _0x59e273;}}const _0x4386fc=['orientation','margin_top','margin_right','margin_bottom','margin_left','format','header','footer','comments','suggestions'];var _0x2faa3a=class extends _0x14e616['Command']{constructor(_0x9a7165){super(_0x9a7165),this['set']('isBusy',!0x1),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!this['isBusy'],this['value']=this['isBusy']?'pending':void 0x0;}['execute'](_0x78dd35={}){const _0xea1cb6=this['editor'],_0x2be257=_0x78dd35['version']||0x2,_0x5a3a54=0x1===_0x2be257,_0x2069b8=_0x78dd35['converterUrl']||(_0x5a3a54?'https://docx-converter.cke-cs.com/v1/convert':'https://docx-converter.cke-cs.com/v2/convert/html-docx'),_0x502bd6=_0x78dd35['converterOptions']||{},_0x3e9755=_0xea1cb6['plugins']['get']('ExportWord'),_0x17a81d=_0x78dd35['token']||_0x3e9755['_token'],_0x16eab2=!0x0===_0x502bd6['auto_pagination'],_0x4f915b=_0x78dd35['dataCallback']||(_0x32598b=>_0x32598b['data']['get']({'pagination':_0x16eab2}));return 0x2===_0x2be257&&function(_0x48c32f){for(const _0x243d51 of _0x4386fc)if(void 0x0!==_0x48c32f[_0x243d51])return!0x0;return!0x1;}(_0x502bd6)&&(0x0,_0x14e616['logWarning'])('export-word-v1-api-is-deprecated'),this['isBusy']=!0x0,this['refresh'](),(0x0,_0x14e616['collectStylesheets'])(_0x78dd35['stylesheets']||['EDITOR_STYLES'])['then'](async _0xcda028=>{_0xea1cb6['ui']['ariaLiveAnnouncer']['announce'](_0xfb0d15(_0xea1cb6['locale'],'Word\x20document\x20export\x20started'));const _0x5aa53d=await _0x4f915b(_0xea1cb6),_0x139b8f={'html':'<div\x20class=\x22ck-content\x22\x20dir=\x22'+_0xea1cb6['locale']['contentLanguageDirection']+'\x22>'+_0x5aa53d+'</div>','css':_0xcda028,[_0x5a3a54?'options':'config']:{..._0x502bd6,..._0x5a3a54?_0x23a7ea(_0xea1cb6,_0x502bd6):tw(_0xea1cb6,_0x502bd6)}},_0x5c4c9d={'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/docx',..._0x17a81d?{'Authorization':_0x17a81d['value']}:null},'body':JSON['stringify'](_0x139b8f)};return window['fetch'](_0x2069b8,_0x5c4c9d)['then'](_0x5da4e5=>{if(0xc8!==_0x5da4e5['status'])throw _0x5da4e5;return _0x5da4e5['blob']();})['then'](_0x4ac820=>{_0xea1cb6['ui']['ariaLiveAnnouncer']['announce'](_0xfb0d15(_0xea1cb6['locale'],'Word\x20document\x20export\x20successful'));const _0x2e5b3b='function'==typeof _0x78dd35['fileName']?_0x78dd35['fileName']():_0x78dd35['fileName'];this['_downloadFile'](_0x4ac820,_0x2e5b3b||'document.docx');});})['catch'](_0x181ce7=>{const _0x21b001=_0xea1cb6['plugins']['get']('Notification');throw _0xea1cb6['ui']['ariaLiveAnnouncer']['announce'](_0xfb0d15(_0xea1cb6['locale'],'Word\x20document\x20export\x20failed'),{'politeness':'assertive'}),_0x21b001['showWarning'](_0xfb0d15(_0xea1cb6['locale'],'An\x20error\x20occurred\x20while\x20generating\x20the\x20Word\x20file.')),_0x181ce7;})['finally'](()=>{this['isBusy']=!0x1,this['refresh']();});}['_downloadFile'](_0x523bea,_0x1e3316){const _0x30251b=document['createElement']('a');_0x30251b['href']=window['URL']['createObjectURL'](_0x523bea),_0x30251b['download']=_0x1e3316,_0x30251b['click'](),_0x30251b['remove']();}},_0x18f4c5=class extends _0x14e616['Plugin']{static get['pluginName'](){return'ExportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x1c18b3=this['editor'];_0x1c18b3['ui']['componentFactory']['add']('exportWord',()=>{const _0x4712dc=_0x1c18b3['commands']['get']('exportWord'),_0x1b54b0=this['_createButton'](_0x14e616['ButtonView']);return _0x1b54b0['set']({'tooltip':!0x0}),_0x1b54b0['bind']('isOn')['to'](_0x4712dc,'isBusy'),_0x1b54b0;}),_0x1c18b3['ui']['componentFactory']['add']('menuBar:exportWord',()=>this['_createButton'](_0x14e616['MenuBarMenuListItemButtonView']));}['_createButton'](_0xbf764b){const _0x5a3053=this['editor'],_0x55764a=_0x5a3053['config']['get']('exportWord')||{},_0x45b273=_0x5a3053['commands']['get']('exportWord'),_0x16f02e=new _0xbf764b(_0x5a3053['locale']),_0x4e46b7=new _0x14e616['SpinnerView']();return _0x16f02e['children']['add'](_0x4e46b7),_0x4e46b7['bind']('isVisible')['to'](_0x45b273,'isBusy'),_0x16f02e['iconView']['bind']('isVisible')['to'](_0x45b273,'isBusy',_0x21fd9f=>!_0x21fd9f),_0x16f02e['set']({'icon':_0x14e616['IconExportWord']}),_0x16f02e['bind']('isEnabled')['to'](_0x45b273,'isEnabled'),_0x16f02e['bind']('label')['to'](_0x45b273,'isBusy',_0xe357f6=>_0xfb0d15(_0x5a3053['locale'],_0xe357f6?'Exporting\x20Word\x20document':'Export\x20to\x20Word')),this['listenTo'](_0x16f02e,'execute',()=>{_0x5a3053['execute']('exportWord',_0x55764a),_0x5a3053['editing']['view']['focus']();}),_0x16f02e;}},_0x4535f7=class extends _0x14e616['Plugin']{['_token'];static get['pluginName'](){return'ExportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x14e616['CloudServices'],_0x14e616['Notification'],_0x18f4c5];}['init'](){const _0x2990a9=this['editor'],_0x3de3de=_0x2990a9['config']['get']('exportWord')||{};_0x2990a9['commands']['add']('exportWord',new _0x2faa3a(_0x2990a9));const _0x56ba53=_0x2990a9['plugins']['get'](_0x14e616['CloudServices']);!0x1===_0x3de3de['tokenUrl']?this['_token']=null:_0x3de3de['tokenUrl']?_0x56ba53['registerTokenUrl'](_0x3de3de['tokenUrl'])['then'](_0x1e06d5=>{this['_token']=_0x1e06d5;}):this['_token']=_0x56ba53['token'];}},_0x2c0a9a=class{['_model'];['_elementName'];['_getElementKey'];['_trackedElements']=new Map();constructor(_0x2da447,_0x451eb5){this['_model']=_0x2da447,this['_elementName']=_0x451eb5['elementName'],this['_getElementKey']=_0x451eb5['getElementKey'];}['reset'](){this['_trackedElements']['clear']();}['getChanges'](_0x58cd9a){const _0x18fcf7=new Set(),_0xf86d62=new Map();for(const _0x2051b9 of _0x58cd9a){if('insert'===_0x2051b9['type']&&'$text'!==_0x2051b9['name']&&_0x2051b9['position']['nodeAfter']){const _0x108d68=this['_model']['createRangeOn'](_0x2051b9['position']['nodeAfter']);for(const _0x283ea5 of _0x108d68['getItems']()){if(!_0x283ea5['is']('element',this['_elementName']))continue;const _0x5a8f8e=this['_getElementKey'](_0x283ea5);_0xf86d62['has'](_0x5a8f8e)||_0xf86d62['set'](_0x5a8f8e,[]),_0xf86d62['get'](_0x5a8f8e)['push'](_0x283ea5);}}if('remove'===_0x2051b9['type']&&_0x2051b9['name']===this['_elementName']){const _0x4d7526=this['_getElementKey']({'getAttribute':_0x5227c8=>_0x2051b9['attributes']['get'](_0x5227c8)});_0x18fcf7['add'](_0x4d7526);}}for(const [_0x1a2b99,_0x2f7b21]of this['_trackedElements'])'$graveyard'===_0x2f7b21['root']['rootName']&&_0x18fcf7['add'](_0x1a2b99);for(const _0x18a689 of _0x18fcf7)this['_trackedElements']['delete'](_0x18a689);for(const [_0x5f1dc2,_0x11b507]of _0xf86d62)this['_trackedElements']['set'](_0x5f1dc2,_0x11b507[_0x11b507['length']-0x1]);const _0xb2957b=new Set();for(const [_0x1756af,_0x1e35f5]of _0xf86d62)_0x18fcf7['has'](_0x1756af)&&(_0xb2957b['add'](_0x1e35f5[0x0]),_0x1e35f5['length']>0x1?_0xf86d62['set'](_0x1756af,_0x1e35f5['slice'](0x1)):_0xf86d62['delete'](_0x1756af),_0x18fcf7['delete'](_0x1756af));return{'removed':Array['from'](_0x18fcf7),'inserted':Array['from'](_0xf86d62['values']())['flat'](),'moved':Array['from'](_0xb2957b)};}},_0x2b1fcd=class extends _0x14e616['Plugin']{['_footnotes']=[];['_footnotesDefinitions']=null;['_footnoteFormatter']=null;['_footnoteDefsContainerTracker'];['_footnoteRefsTracker'];['_footnoteDefsTracker'];static get['pluginName'](){return'FootnotesTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a18f0){super(_0x5a18f0),this['_footnoteDefsContainerTracker']=new _0x2c0a9a(this['editor']['model'],{'elementName':'footnotesDefinitions','getElementKey':()=>'singleton'}),this['_footnoteRefsTracker']=new _0x2c0a9a(this['editor']['model'],{'elementName':'footnoteRef','getElementKey':_0x8f2354=>_0x8f2354['getAttribute']('footnoteId')}),this['_footnoteDefsTracker']=new _0x2c0a9a(this['editor']['model'],{'elementName':'footnoteDefinition','getElementKey':_0x433dcd=>_0x433dcd['getAttribute']('footnoteId')});}['init'](){const {editor:_0x5effde}=this,{model:_0x163a61,data:_0x3328b9}=_0x5effde;_0x163a61['document']['registerPostFixer'](_0x355ed2=>{const _0x11aa8e=_0x163a61['document']['differ']['getChanges']();let _0x2066fc=!0x1;return this['_handleFootnotesDefinitionsObjectChanges'](_0x355ed2,_0x11aa8e)&&(_0x2066fc=!0x0),this['_handleFootnoteDefinitionsChanges'](_0x355ed2,_0x11aa8e)&&(_0x2066fc=!0x0),this['_handleFootnoteReferencesChanges'](_0x355ed2,_0x11aa8e)&&(_0x2066fc=!0x0),this['_ensureFootnotesReferencesHaveProperOrder'](_0x355ed2)&&(_0x2066fc=!0x0),this['_handleFootnotesDefinitionsObjectSync'](_0x355ed2)&&(_0x2066fc=!0x0),this['_sortFootnoteDefinitions'](_0x355ed2)&&(_0x2066fc=!0x0),_0x2066fc;}),this['listenTo'](_0x163a61['document'],'change:data',()=>{_0x163a61['enqueueChange']({'isUndoable':!0x1},_0x182222=>{this['_ensureFootnotesDefinitionsContainerExists'](_0x182222);});},{'priority':'low'}),this['listenTo'](_0x3328b9,'set',()=>{this['_footnotes']=[],this['_footnoteDefsContainerTracker']['reset'](),this['_footnoteRefsTracker']['reset'](),this['_footnoteDefsTracker']['reset']();},{'priority':'high'});}['getFootnotesDefinitionsObjectElement'](){return this['_footnotesDefinitions'];}['getFootnote'](_0x374761){return this['_footnotes']['find'](_0x3a738f=>_0x3a738f['id']===_0x374761)||null;}['getFootnotes'](){return Array['from'](this['_footnotes']);}['getFootnotesFormatter'](){return this['_footnoteFormatter'];}['setFootnoteFormatter'](_0x11b54b){this['_footnoteFormatter']=_0x11b54b;}['_updateFootnotesCounters'](_0x46bce6,_0x8bc81e=0x0){let _0x5cd23b=!0x1;for(let _0x56432e=_0x8bc81e;_0x56432e<this['_footnotes']['length'];_0x56432e++)this['_updateFootnoteRefCounter'](_0x46bce6,_0x56432e)&&(_0x5cd23b=!0x0);return _0x5cd23b;}['_insertEmptyFootnotesDefinitionsContainer'](_0x53f3a4,_0xae7882){const _0x47b36b=_0x53f3a4['createElement']('footnotesDefinitions',{});return _0x53f3a4['append'](_0x47b36b,_0xae7882),this['_footnotesDefinitions']=_0x47b36b,_0x47b36b;}['_ensureFootnotesDefinitionsContainerExists'](_0x2c7ada){if(!this['_footnotes']['length']||this['_footnotesDefinitions'])return;const _0x2a5465=this['_footnotes'][0x0]['reference']['root'],_0x1bd48d=this['_insertEmptyFootnotesDefinitionsContainer'](_0x2c7ada,_0x2a5465);for(const _0x5a9df4 of this['_footnotes'])_0x5a9df4['definition']['parent']||_0x2c7ada['insert'](_0x5a9df4['definition'],_0x1bd48d,'end');this['_updateFootnotesCounters'](_0x2c7ada);}['_handleFootnotesDefinitionsObjectChanges'](_0x48f8fa,_0x276796){let _0x354de5=!0x1;const {inserted:_0x235b47,removed:_0x32680a,moved:_0x38339c}=this['_footnoteDefsContainerTracker']['getChanges'](_0x276796);if(_0x38339c['length']&&(this['_footnotesDefinitions']=_0x38339c[0x0]),_0x235b47['length']){if(_0x235b47['length']>0x1||this['_footnotesDefinitions']&&_0x235b47['some'](_0x3247df=>_0x3247df!==this['_footnotesDefinitions'])){const _0x744ca5=_0x48f8fa['createElement']('footnotesDefinitions',{}),_0x2587ff=[];this['_footnotesDefinitions']&&_0x2587ff['push'](this['_footnotesDefinitions']),_0x2587ff['push'](..._0x235b47),_0x48f8fa['insert'](_0x744ca5,_0x2587ff[0x0],'before');for(const _0x5e84db of _0x2587ff)_0x48f8fa['move'](_0x48f8fa['createRangeIn'](_0x5e84db),_0x48f8fa['createPositionAt'](_0x744ca5,'end')),_0x48f8fa['remove'](_0x5e84db);this['_footnotesDefinitions']=_0x744ca5,this['_updateFootnotesCounters'](_0x48f8fa),_0x354de5=!0x0;}else this['_footnotesDefinitions']=_0x235b47[0x0];}if(_0x32680a['length']&&'$graveyard'===this['_footnotesDefinitions']?.['root']['rootName']){for(const _0x3a0145 of this['_footnotes'])_0x48f8fa['remove'](_0x3a0145['reference']),_0x354de5=!0x0;this['_footnotes']=[],this['_footnotesDefinitions']=null;}return _0x354de5;}['_handleFootnoteDefinitionsChanges'](_0x4f4934,_0x1daa23){let _0x54114b=!0x1;const _0x2ae9ac=this['editor']['config']['get']('footnotes.multiBlock'),{inserted:_0x241369,moved:_0x308030}=this['_footnoteDefsTracker']['getChanges'](_0x1daa23);for(const _0x6dbd9b of[..._0x308030,..._0x241369]){const _0x1cd476=_0x6dbd9b['getAttribute']('footnoteId'),_0x56a61b=this['getFootnote'](_0x1cd476);_0x56a61b&&(_0x56a61b['definition']=_0x6dbd9b),_0x1dcd17(_0x4f4934,_0x2ae9ac,_0x6dbd9b)&&(_0x54114b=!0x0);}return _0x54114b;}['_handleFootnoteReferencesChanges'](_0x537a55,_0x254c79){let _0x4f913a=!0x1;const {removed:_0x5a5868,inserted:_0xd3f1f5,moved:_0x476d80}=this['_footnoteRefsTracker']['getChanges'](_0x254c79);for(const _0x4aa8ca of _0x5a5868)this['_handleRemoveFootnoteReferenceById'](_0x537a55,_0x4aa8ca)&&(_0x4f913a=!0x0);for(const _0x197069 of _0xd3f1f5)this['_handleInsertedFootnoteReference'](_0x537a55,_0x197069)&&(_0x4f913a=!0x0);for(const _0x4a9359 of _0x476d80)this['_handleMovedFootnoteReference'](_0x537a55,_0x4a9359)&&(_0x4f913a=!0x0);return _0x4f913a;}['_handleFootnotesDefinitionsObjectSync'](_0x467e87){if(!this['_footnotesDefinitions'])return!0x1;let _0x2789d5=!0x1;if(this['_footnotesDefinitions']['childCount']!==this['_footnotes']['length']){const _0x1e65ef=[];for(const _0x31f8db of this['_footnotesDefinitions']['getChildren']()){const _0x9b4693=_0x31f8db['getAttribute']('footnoteId');this['getFootnote'](_0x9b4693)||(_0x1e65ef['unshift'](_0x31f8db),_0x2789d5=!0x0);}for(const _0x559e58 of _0x1e65ef)_0x467e87['remove'](_0x559e58);}const _0x432c26=new Set(),_0x3be1f3=[];for(const _0x154ef7 of this['_footnotesDefinitions']['getChildren']()){const _0x285a07=_0x154ef7['getAttribute']('footnoteId');_0x432c26['has'](_0x285a07)?(_0x3be1f3['unshift'](_0x154ef7),_0x2789d5=!0x0):_0x432c26['add'](_0x285a07);}for(const _0x305921 of _0x3be1f3)_0x467e87['remove'](_0x305921);return this['_footnotesDefinitions']['childCount']||(_0x467e87['remove'](this['_footnotesDefinitions']),this['_footnotesDefinitions']=null,_0x2789d5=!0x0),_0x2789d5;}['_handleInsertedFootnoteReference'](_0x4861b7,_0x14463c){if(this['_footnotes']['find'](_0x5a17a0=>_0x5a17a0['reference']===_0x14463c))return!0x1;let _0x2d095b=!0x1;const _0xbe44cd=_0x14463c['getAttribute']('footnoteId'),_0xacfd1=this['_footnotes']['findIndex'](_0x371447=>_0x371447['id']===_0xbe44cd);-0x1!==_0xacfd1&&(_0x4861b7['remove'](this['_footnotes'][_0xacfd1]['reference']),this['_footnotes']['splice'](_0xacfd1,0x1),_0x2d095b=!0x0);let _0x4e765f=this['_footnotesDefinitions']?function(_0x24a318,_0x13d772){for(const _0x29e125 of _0x24a318['getChildren']())if(_0x29e125['getAttribute']('footnoteId')===_0x13d772)return _0x29e125;return null;}(this['_footnotesDefinitions'],_0xbe44cd):null;_0x4e765f||(_0x4e765f=_0x4861b7['createElement']('footnoteDefinition',{'footnoteId':_0xbe44cd}),this['_footnotesDefinitions']&&(_0x4861b7['insert'](_0x4e765f,this['_footnotesDefinitions'],'end'),_0x2d095b=!0x0));const _0x1ded22={'id':_0xbe44cd,'reference':_0x14463c,'definition':_0x4e765f},_0x507007=_0xa76e09(this['editor']['model'],this['_footnotes'],_0x14463c);this['_footnotes']['splice'](_0x507007,0x0,_0x1ded22);let _0x5ce759=_0x507007;return-0x1!==_0xacfd1&&(_0x5ce759=Math['min'](_0x507007,_0xacfd1)),this['_updateFootnotesCounters'](_0x4861b7,_0x5ce759)&&(_0x2d095b=!0x0),_0x2d095b;}['_handleRemoveFootnoteReferenceById'](_0x4bd53a,_0x1a1239){const _0x509f34=this['_footnotes']['findIndex'](_0x51b2ad=>_0x51b2ad['id']===_0x1a1239);if(-0x1===_0x509f34)return!0x1;let _0x53da47=!0x1;const _0x38c646=this['_footnotes'][_0x509f34];return'$graveyard'!==_0x38c646['definition']['root']['rootName']&&(_0x4bd53a['remove'](_0x38c646['definition']),_0x53da47=!0x0),this['_footnotes']['splice'](_0x509f34,0x1),this['_updateFootnotesCounters'](_0x4bd53a,_0x509f34)&&(_0x53da47=!0x0),_0x53da47;}['_handleMovedFootnoteReference'](_0x129d93,_0x499c7c){const _0x4828f8=_0x499c7c['getAttribute']('footnoteId'),_0x3d359a=this['_footnotes']['findIndex'](_0x38d61f=>_0x38d61f['id']===_0x4828f8),_0x275664=this['_footnotes'][_0x3d359a];let _0xeca33=!0x1;_0x275664['reference']=_0x499c7c,this['_footnotes']['splice'](_0x3d359a,0x1);const _0x589e2e=_0xa76e09(this['editor']['model'],this['_footnotes'],_0x499c7c);return this['_footnotes']['splice'](_0x589e2e,0x0,_0x275664),this['_updateFootnotesCounters'](_0x129d93,Math['min'](_0x3d359a,_0x589e2e))&&(_0xeca33=!0x0),_0xeca33;}['_updateFootnoteRefCounter'](_0x575f01,_0x3bfa12){if(!this['_footnotesDefinitions'])return!0x1;const _0x4c411a=this['_footnotes'][_0x3bfa12];let _0x4e442e;return _0x4e442e=this['_footnoteFormatter']?this['_footnoteFormatter']({'footnote':_0x4c411a,'container':this['_footnotesDefinitions'],'digits':String(this['_footnotes']['length'])['length'],'value':_0x3bfa12+0x1}):String(_0x3bfa12+0x1),_0x4c411a['reference']['getAttribute']('footnoteCounter')!=_0x4e442e&&(_0x575f01['setAttribute']('footnoteCounter',_0x4e442e,_0x4c411a['reference']),!0x0);}['_sortFootnoteDefinitions'](_0x1d11b8){if(!this['_footnotesDefinitions']||this['_footnotes']['length']<0x2)return!0x1;if(function(_0x39c917,_0x195c2d){if(_0x39c917['length']!==_0x195c2d['length'])return!0x1;for(let _0x3b4f8a=0x0;_0x3b4f8a<_0x39c917['length'];_0x3b4f8a++)if(_0x39c917[_0x3b4f8a]!==_0x195c2d[_0x3b4f8a])return!0x1;return!0x0;}(this['_footnotes']['map'](_0x5ab3d4=>_0x5ab3d4['id']),Array['from'](this['_footnotesDefinitions']['getChildren']())['map'](_0xc18cea=>_0xc18cea['getAttribute']('footnoteId'))))return!0x1;let _0x24f4e1=!0x1;for(let _0x5b88c5=0x0;_0x5b88c5<this['_footnotes']['length'];_0x5b88c5++){const _0x6bc60a=this['_footnotes'][_0x5b88c5],_0x467f48=_0x1d11b8['createPositionBefore'](_0x6bc60a['definition']),_0x1bbaab=_0x1d11b8['createPositionAt'](this['_footnotesDefinitions'],_0x5b88c5);_0x467f48['isEqual'](_0x1bbaab)||(_0x1d11b8['move'](_0x1d11b8['createRangeOn'](_0x6bc60a['definition']),_0x1bbaab),_0x24f4e1=!0x0);}return _0x24f4e1;}['_ensureFootnotesReferencesHaveProperOrder'](_0x3ebd9d){if(!this['_footnotes']['length'])return!0x1;const {model:_0x2029f8}=this['editor'];let _0x42034b=!0x1;for(let _0x2c2092=0x0;_0x2c2092<this['_footnotes']['length']-0x1;_0x2c2092++){const _0x53125d=this['_footnotes'][_0x2c2092],_0x1a12ae=this['_footnotes'][_0x2c2092+0x1],_0x5cebf9=_0x2029f8['createPositionBefore'](_0x53125d['reference']),_0x1fea69=_0x2029f8['createPositionBefore'](_0x1a12ae['reference']);'after'===_0x5cebf9['compareWith'](_0x1fea69)&&(this['_handleMovedFootnoteReference'](_0x3ebd9d,_0x53125d['reference']),_0x2c2092=-0x1,_0x42034b=!0x0);}return _0x42034b;}};function _0x1dcd17(_0x1dde92,_0x7656c4,_0xefcfa){if(_0xefcfa['childCount'])return!0x1;const _0x58b51b=_0x7656c4?'paragraph':'footnoteInlineContent';return _0x1dde92['insert'](_0x1dde92['createElement'](_0x58b51b),_0xefcfa),!0x0;}function _0xa76e09(_0x254657,_0x1814bd,_0x35c471){if(0x0===_0x1814bd['length'])return 0x0;const _0x6a147e=_0x254657['createPositionBefore'](_0x35c471);for(let _0x34dafc=0x0;_0x34dafc<_0x1814bd['length'];_0x34dafc++){const _0x146b66=_0x1814bd[_0x34dafc],_0x5e4648=_0x254657['createPositionBefore'](_0x146b66['reference']);if('before'===_0x6a147e['compareWith'](_0x5e4648))return _0x34dafc;}const _0x1e68d4=_0x35c471['root'];let _0x48dfec=-0x1;for(let _0x18ca5b=_0x1814bd['length']-0x1;_0x18ca5b>=0x0;_0x18ca5b--)if(_0x1814bd[_0x18ca5b]['reference']['root']===_0x1e68d4){_0x48dfec=_0x18ca5b;break;}if(-0x1!==_0x48dfec)return _0x48dfec+0x1;const _0x473f63=_0x254657['document']['getRootNames'](),_0x18e198=_0x473f63[_0x473f63['indexOf'](_0x1e68d4['rootName'])+0x1];if(_0x18e198){for(let _0x3495e0=0x0;_0x3495e0<_0x1814bd['length'];_0x3495e0++)if(_0x1814bd[_0x3495e0]['reference']['root']['rootName']===_0x18e198)return _0x3495e0;}return _0x1814bd['length'];}var _0x34912a=class extends _0x14e616['Command']{['refresh'](){const _0x55e748=this['editor']['model']['document']['selection'],_0x5a4a1b=this['_getPositionToInsertFootnote'](_0x55e748);this['isEnabled']=!!_0x5a4a1b;}['execute'](_0x2e99b0){const {editor:_0x2672f2}=this,{model:_0x5cf59c}=_0x2672f2,{selection:_0x33cbe4}=_0x5cf59c['document'],_0x28a5a7=this['_getPositionToInsertFootnote'](_0x33cbe4);if(!_0x28a5a7)return;const _0x87efa3=_0x2672f2['plugins']['get']('FootnotesEditing'),_0x13af4e=_0x2e99b0?.['footnoteId']??(0x0,_0x14e616['uid'])();!function(_0x460db6){return'string'==typeof _0x460db6&&_0x460db6['length']>0x0&&!/\s/['test'](_0x460db6)&&!/^\d/['test'](_0x460db6);}(_0x13af4e)?(0x0,_0x14e616['logWarning'])('insert-footnote-command-executed-with-invalid-id'):(_0x5cf59c['change'](_0xf21b0f=>{const _0x344a6d=_0xf21b0f['createElement']('footnoteRef',{'footnoteId':_0x13af4e});_0x5cf59c['insertObject'](_0x344a6d,_0x28a5a7,null);}),_0x87efa3['_moveSelectionToFootnoteDefinition'](_0x13af4e));}['_getPositionToInsertFootnote'](_0x25be75){const {model:_0x36797f}=this['editor'],{schema:_0x14b743}=_0x36797f,_0x3bec23=_0x25be75['getFirstRange']();for(const _0x1b8833 of _0x3bec23['getItems']())if(_0x14b743['isBlock'](_0x1b8833)||_0x14b743['isObject'](_0x1b8833))return null;const _0x4ad461=_0x3bec23['end'];return _0x14b743['checkChild'](_0x4ad461,'footnoteRef')?_0x4ad461:null;}},_0x51bcbf=class extends _0x14e616['Plugin']{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2b1fcd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c7666}=this;_0x5c7666['config']['define']('footnotes.multiBlock',!0x0),_0x5c7666['commands']['add']('insertFootnote',new _0x34912a(_0x5c7666)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x259672){const _0x1312a8='unSbGpmijAwyrOzdZhCqT3YLFVtJlkDag1WMNxR4H67IB5QoX0289cUsvPEefK',_0x15ba85=0x78fc0,_0x25f6cd=window['Date']['now'](),_0x3ed85b=_0x259672['editor'],_0x27a110=new window['Promise'](_0x14496d=>{_0x3ed85b['once']('ready',_0x14496d);}),_0x202c9e={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x31da6e=_0x3ed85b['config']['get']('licenseKey');async function _0x4aeff4(){let _0x3f67ac,_0x6c1998=null,_0x1b8cf7=null;try{return'GPL'==_0x31da6e?'NotAllowed':(_0x3f67ac=_0x3cb98f(),_0x3f67ac?(_0x3f67ac['usageEndpoint']&&(_0x1b8cf7=_0x44aa0b(_0x3f67ac['usageEndpoint'],_0x3f67ac['jti'])),await _0x5a2f78()?_0x5480f5()?_0x2fc2ef()?'Expired':_0x1010e7()?('evaluation'==_0x3f67ac['licenseType']&&(_0x6c1998=_0x1c453c('EvaluationLimit')),await _0x4ae59f()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2fc2ef(){const _0x50cc80=['evaluation','trial']['includes'](_0x3f67ac['licenseType'])?_0x25f6cd/0x3e8:0xe10*_0x15ba85;return _0x3f67ac['exp']<_0x50cc80;}function _0x5480f5(){const _0x51e0e3=_0x3f67ac['features'];return!!_0x51e0e3&&(!!_0x51e0e3['includes']('*')||!!_0x51e0e3['includes']('FOO'));}function _0x1010e7(){const _0x2451b6=_0x3f67ac['licensedHosts'];if(!_0x2451b6||0x0==_0x2451b6['length'])return!0x0;const {hostname:_0xd66b27}=new URL(window['location']['href']);if(_0x2451b6['includes'](_0xd66b27))return!0x0;const _0x115e34=_0xd66b27['split']('.');return _0x2451b6['filter'](_0x194819=>_0x194819['includes']('*'))['map'](_0xc70d1a=>_0xc70d1a['split']('.'))['filter'](_0x24e0d7=>_0x24e0d7['length']<=_0x115e34['length'])['map'](_0x316ad2=>Array(_0x115e34['length']-_0x316ad2['length'])['fill']('*'===_0x316ad2[0x0]?'*':'')['concat'](_0x316ad2))['some'](_0x3cda4a=>_0x115e34['every']((_0x5868fc,_0x4d31ac)=>_0x3cda4a[_0x4d31ac]===_0x5868fc||'*'===_0x3cda4a[_0x4d31ac]));}function _0x4ae59f(){return _0x6c1998&&_0x1b8cf7?new window['Promise']((_0x1b4969,_0x2c8636)=>{_0x6c1998['then'](_0x1b4969,_0x2c8636),_0x1b8cf7['then'](_0x5036ab=>{'Valid'!=_0x5036ab&&_0x1b4969(_0x5036ab);},_0x2c8636);}):_0x6c1998||_0x1b8cf7||'Valid';}}function _0x44aa0b(_0x2fc372,_0xd5167f){return new window['Promise'](_0x44771b=>{if(_0x175dff())return _0x44771b('Valid');_0x521a2c(),_0x3ed85b['decorate']('_sendUsageRequest');let _0x20ccc2=!0x1;const _0x4b7fbd=(0x0,_0x14e616['uid'])();function _0x36ab09(_0x589781){return!!_0x589781&&('object'==typeof _0x589781||'function'==typeof _0x589781)&&'function'==typeof _0x589781['then']&&'function'==typeof _0x589781['catch'];}function _0x50b57e(_0x338539){_0x4325ec(_0x338539)['then'](_0x43523a=>_0x43523a&&'ok'==_0x43523a['status']?_0x2c8bb5(_0x45205e(_0x4b7fbd+_0xd5167f))!=_0x43523a['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2fcbde=>(_0x3ecfd2(),_0x2fcbde),()=>{const _0x2d5c87=_0x26321f();return null==_0x2d5c87?(_0x3ecfd2(),'Valid'):_0x25f6cd-_0x2d5c87>0x240c8400?'UsageLimit':'Valid';})['then'](_0x44771b)['catch'](()=>{_0x44771b('UsageLimit');});const _0x486ac4=0x36ee80;function _0x3ecfd2(){const _0x370aac='llct-'+_0x2c8bb5(_0x45205e(_0x2fc372)),_0x20693e=_0x3acd3c(_0x2c8bb5(window['Math']['ceil'](_0x25f6cd/_0x486ac4)));window['localStorage']['setItem'](_0x370aac,_0x20693e);}function _0x26321f(){const _0x54b669='llct-'+_0x2c8bb5(_0x45205e(_0x2fc372)),_0x4633aa=window['localStorage']['getItem'](_0x54b669);return _0x4633aa?window['parseInt'](_0x3acd3c(_0x4633aa),0x10)*_0x486ac4:null;}function _0x4325ec(_0xb2dd71){return new window['Promise']((_0x9e2ca3,_0x5acdd8)=>{_0xb2dd71['then'](_0x9e2ca3,_0x5acdd8),window['setTimeout'](_0x5acdd8,0x1d4c0);});}}_0x3ed85b['on']('_sendUsageRequest',(_0x57ddbd,_0x3b4aa6)=>{if(_0x3b4aa6[0x0]!=_0x2fc372)return _0x44771b('UsageLimit');_0x3b4aa6[0x1]={..._0x3b4aa6[0x1],'requestId':_0x4b7fbd};},{'priority':'high'}),_0x3ed85b['on']('_sendUsageRequest',_0x1431a7=>{_0x36ab09(_0x1431a7['return'])&&(_0x20ccc2=!0x0,_0x50b57e(_0x1431a7['return']));},{'priority':'low'}),_0x27a110['then'](()=>{_0x20ccc2||_0x44771b('UsageLimit');});});function _0x175dff(){return'auto'==_0x3ed85b['editing']['view']['_overlayModeHint'];}function _0x521a2c(){_0x3ed85b['editing']['view']['_overlayModeHint']='auto';}}function _0x1c453c(_0x59a102){const _0x5a85d1=[new window['Promise'](_0x1096aa=>setTimeout(_0x1096aa,0x93ecc)),_0x27a110['then'](()=>new window['Promise'](_0x4b2e1a=>{let _0x514c36=0x0;_0x3ed85b['model']['on']('applyOperation',(_0x511a38,_0x34068e)=>{_0x34068e[0x0]['isDocumentOperation']&&_0x514c36++,0x5e8==_0x514c36&&(_0x4b2e1a(),_0x511a38['off']());});}))];return window['Promise']['race'](_0x5a85d1)['then'](()=>_0x59a102);}async function _0x5e4a0e(){await _0x27a110,_0x3ed85b['model']['change']=_0x2dbc71,_0x3ed85b['model']['enqueueChange']=_0x2dbc71,_0x3ed85b['enableReadOnlyMode']('model');}function _0x218013(_0x8c0330){const _0x3535fd=_0x21f5b9();_0x3ed85b[_0x3535fd]='footnotesLicenseKey'+_0x8c0330,'Valid'!=_0x8c0330&&_0x5e4a0e();}function _0x21f5b9(){const _0x231069=window['String'](window['performance']['now']())['replace']('.','');let _0x12f454='u';for(let _0x26e01d=0x0;_0x26e01d<_0x231069['length'];_0x26e01d+=0x2){let _0x12672e=window['parseInt'](_0x231069['substring'](_0x26e01d,_0x26e01d+0x2));_0x12672e>=0x3e&&(_0x12672e-=0x3e),_0x12f454+=_0x1312a8[_0x12672e];}return _0x12f454;}function _0x3cb98f(){const _0x268a9f=_0x31da6e['split']('.');if(0x3!=_0x268a9f['length'])return null;return _0xd9b09(_0x268a9f[0x1]);function _0xd9b09(_0x21d8cb){const _0x1b4476=_0x580154(_0x21d8cb);return _0x1b4476&&_0x34ef0c()?_0x1b4476:null;function _0x34ef0c(){const _0x2141a4=_0x1b4476['jti'],_0x108510=window['parseInt'](_0x2141a4['substring'](_0x2141a4['length']-0x8),0x10),_0x1bf9b5={..._0x1b4476,'jti':_0x2141a4['substring'](0x0,_0x2141a4['length']-0x8)};return delete _0x1bf9b5['vc'],_0x45205e(_0x1bf9b5)==_0x108510;}}}async function _0x5a2f78(){let _0x2c2d61=!0x0;try{const [_0x27430b,_0x13ce1c,_0x350b12]=_0x31da6e['split']('.');return _0x378fb4(_0x27430b),await _0x1e65b2(_0x27430b,_0x13ce1c,_0x350b12),_0x2c2d61;}catch{return!0x1;}function _0x378fb4(_0x2389a4){const _0x285821=_0x580154(_0x2389a4);_0x285821&&'ES256'==_0x285821['alg']||(_0x2c2d61=!0x1);}async function _0x1e65b2(_0xc892b4,_0x422622,_0x2c4477){const _0x5b0024=window['Uint8Array']['from'](_0x2dacae(_0x2c4477),_0x14939f=>_0x14939f['charCodeAt'](0x0)),_0x32755c=new window['TextEncoder']()['encode'](_0xc892b4+'.'+_0x422622),_0x601d8d=window['crypto']['subtle'];if(!_0x601d8d)return;const _0x527502=await _0x601d8d['importKey']('jwk',_0x202c9e,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x601d8d['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x527502,_0x5b0024,_0x32755c)||(_0x2c2d61=!0x1);}}function _0x580154(_0x7b0e74){return _0x7b0e74['startsWith']('ey')?JSON['parse'](_0x2dacae(_0x7b0e74)):null;}function _0x2dacae(_0xc53127){return window['atob'](_0xc53127['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x45205e(_0x1eeb31){let _0x1f70bc=0x1505;function _0x47c9c8(_0x57154a){for(let _0x416961=0x0;_0x416961<_0x57154a['length'];_0x416961++){const _0x186701=_0x57154a['charCodeAt'](_0x416961);_0x1f70bc=(_0x1f70bc<<0x5)+_0x1f70bc+_0x186701,_0x1f70bc&=_0x1f70bc;}}function _0x1a3f57(_0xb8aec){Array['isArray'](_0xb8aec)?_0xb8aec['forEach'](_0x1a3f57):_0xb8aec&&'object'==typeof _0xb8aec?Object['entries'](_0xb8aec)['sort']()['forEach'](([_0xab898d,_0x742171])=>{_0x47c9c8(_0xab898d),_0x1a3f57(_0x742171);}):_0x47c9c8(window['String'](_0xb8aec));}return _0x1a3f57(_0x1eeb31),_0x1f70bc>>>0x0;}function _0x2c8bb5(_0x4421a0){return _0x4421a0['toString'](0x10)['padStart'](0x8,'0');}function _0x3acd3c(_0x26335c){return _0x26335c['split']('')['reverse']()['join']('');}function _0x2dbc71(){}_0x218013(await _0x4aeff4());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3be64a){const {plugins:_0x332369,editing:_0xbab361,model:_0x44e62f}=this['editor'],_0x4b5dfc=_0x332369['get'](_0x2b1fcd)['getFootnote'](_0x3be64a);return!!_0x4b5dfc&&(_0x44e62f['change'](_0x4b7c12=>{_0x4b7c12['setSelection'](_0x4b7c12['createPositionAt'](_0x4b5dfc['definition'],'end'));}),_0xbab361['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x22772){const {plugins:_0x7e459e,editing:_0x1932e3,model:_0x12230d}=this['editor'],_0x3ea9c9=_0x7e459e['get'](_0x2b1fcd)['getFootnote'](_0x22772);return!!_0x3ea9c9&&(_0x12230d['change'](_0x18abe7=>{_0x18abe7['setSelection'](_0x3ea9c9['reference'],'on');}),_0x1932e3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x219057}=this['editor']['model'],_0x45a51b=this['editor']['config']['get']('footnotes.multiBlock');_0x219057['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x219057['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x219057['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x45a51b?_0x219057['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x219057['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x219057['addChildCheck'](_0x3d1097=>{for(const _0x494f51 of _0x3d1097)if('footnoteDefinition'===_0x494f51['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x15377a}=this,{conversion:_0x16f47e,editing:_0x182f22}=_0x15377a,{t:t}=_0x15377a['locale'];_0x16f47e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1c20cd,{writer:_0x2acc0c,consumable:_0x10bbb5})=>{const _0x259823=_0x1c20cd['getChild'](0x0);if(!_0x259823||!_0x259823['is']('element','a'))return null;const _0x4f360a=_0x259823['getAttribute']('href')||'';if(!_0x4f360a['startsWith']('#'))return null;const _0x4bd7a5=_0x4f360a['replace'](/^#/,'');if(!_0x4bd7a5)return null;_0x10bbb5['consume'](_0x259823,{'name':!0x0,'attributes':['href']});for(const {item:_0x50ae1d}of _0x182f22['view']['createRangeIn'](_0x259823))_0x50ae1d['is']('$textProxy')?_0x10bbb5['consume'](_0x50ae1d['textNode'],{'name':!0x0}):_0x50ae1d['is']('element')&&_0x10bbb5['consume'](_0x50ae1d,{'name':!0x0});return _0x2acc0c['createElement']('footnoteRef',{'footnoteId':_0x4bd7a5});}}),_0x16f47e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xb0c6a3,{writer:_0x2db002})=>_0x4a872f(_0xb0c6a3,_0x2db002)}),_0x16f47e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x343bbe,{writer:_0xba8d11})=>{const _0x5ab641=_0x343bbe['getAttribute']('footnoteCounter');return(0x0,_0x14e616['toWidget'])(_0x4a872f(_0x343bbe,_0xba8d11),_0xba8d11,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5ab641)});}});}['_defineDefinitionsConverters'](){const {editor:_0xb3d815}=this,{t:t}=_0xb3d815['locale'],{conversion:_0x2ef2e7}=_0xb3d815;_0x2ef2e7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2ef2e7['for']('upcast')['add'](_0x377ea8=>{_0x377ea8['on']('element:ol',(_0x13581d,_0x2c25d3,_0x4ea56d)=>{const _0x24d549=_0x2c25d3['viewItem'];if(!_0x24d549['hasClass']('footnotes-list')||!_0x2c25d3['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4ea56d['consumable']['consume'](_0x24d549,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1f9f06,modelCursor:_0x2e8aac}=_0x4ea56d['convertChildren'](_0x2c25d3['viewItem'],_0x2c25d3['modelCursor']);_0x2c25d3['modelRange']=_0x1f9f06,_0x2c25d3['modelCursor']=_0x2e8aac;}),_0x377ea8['on']('element:hr',(_0x3ca952,_0x4ac4f0,_0x1f5c49)=>{const _0x5aa1b6=_0x4ac4f0['viewItem'];_0x5aa1b6['hasClass']('footnotes-divider')&&_0x4ac4f0['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1f5c49['consumable']['consume'](_0x5aa1b6,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2ef2e7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xa3f10f,{writer:_0x1942cb})=>_0x3071fc(_0x1942cb)}),_0x2ef2e7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5c4e70,{writer:_0x18bee0})=>{const _0x27b6e6=(0x0,_0x14e616['toWidget'])(_0x3071fc(_0x18bee0,{'data-footnotes-list-label':t('Footnotes')}),_0x18bee0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x18bee0['setCustomProperty']('footnotesDefinitions',!0x0,_0x27b6e6),_0x27b6e6;}});}['_defineDefinitionConverters'](){const {editor:_0x409f20}=this,{conversion:_0x972798,locale:_0x5c421e}=_0x409f20,_0x5edcf8=_0x409f20['config']['get']('footnotes.multiBlock');_0x972798['for']('upcast')['add'](_0x28de6d=>{_0x28de6d['on']('element:li',(_0x2eb7cc,_0x758898,_0x120be4)=>{const _0x2460af=_0x758898['viewItem'];if(!_0x2460af['hasClass']('footnote-definition')||!_0x2460af['getAttribute']('id'))return;const _0x3a036a=_0x2460af['parent'];if(!_0x3a036a['is']('element','ol')||!_0x3a036a['hasClass']('footnotes-list'))return;if(!_0x120be4['consumable']['test'](_0x2460af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3d4541=_0x120be4['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2460af['getAttribute']('id')});if(!_0x120be4['safeInsert'](_0x3d4541,_0x758898['modelCursor']))return;_0x120be4['consumable']['consume'](_0x2460af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1ac803=Array['from'](_0x2460af['getChildren']())['find'](_0x35644d=>_0x35644d['is']('element')&&_0x35644d['hasClass']('footnote-content'));for(const _0x5cd505 of _0x2460af['getChildren']())_0x5cd505['is']('element')&&(_0x120be4['consumable']['consume'](_0x5cd505,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x120be4['consumable']['consume'](_0x5cd505,{'name':!0x0,'classes':'footnote-content'}));if(_0x1ac803){if(_0x5edcf8)_0x120be4['convertChildren'](_0x1ac803,_0x3d4541);else{const _0x4a81a5=_0x120be4['writer']['createElement']('footnoteInlineContent');_0x120be4['writer']['insert'](_0x4a81a5,_0x3d4541),_0x120be4['convertChildren'](_0x1ac803,_0x4a81a5);}}_0x120be4['updateConversionResult'](_0x3d4541,_0x758898);});}),_0x972798['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x115a9a,{writer:_0x54ff3e})=>_0x375b74(_0x115a9a,_0x54ff3e,_0x5c421e,{'dataPipeline':!0x0})}),_0x972798['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4b8014,{writer:_0x6ff656})=>_0x375b74(_0x4b8014,_0x6ff656,_0x5c421e)});}['_defineBogusParagraphConverters'](){const {editor:_0x3806d1}=this,{conversion:_0x2e87bd}=_0x3806d1;_0x3806d1['config']['get']('footnotes.multiBlock')?(_0x2e87bd['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':_0x48d10b(),'converterPriority':'high'}),_0x2e87bd['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':_0x48d10b({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3806d1['model']['document'],'change:data',()=>{!function(_0x157a72,_0x28656c){const _0x274d0a=_0x157a72['document']['differ'],_0xe58a2=new Set();for(const _0x5218f0 of _0x274d0a['getChanges']()){const _0xf8c31='attribute'==_0x5218f0['type']?_0x5218f0['range']['start']['parent']:_0x5218f0['position']['parent'];_0xf8c31['is']('element','footnoteDefinition')&&_0xe58a2['add'](_0xf8c31);}for(const _0x1a3430 of _0xe58a2['values']()){const _0x2156b4=Array['from'](_0x1a3430['getChildren']())['filter'](_0x3e75b0=>_0x289bee(_0x3e75b0,_0x28656c['mapper']));for(const _0x3ecb32 of _0x2156b4)_0x28656c['reconvertItem'](_0x3ecb32);}}(_0x3806d1['model'],_0x3806d1['editing']);})):(_0x2e87bd['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':_0x48d10b()}),_0x2e87bd['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x220599,{writer:_0x3a65fd})=>{const _0x9be1cc=_0x3a65fd['createContainerElement']('span');return _0x3a65fd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x9be1cc),_0x9be1cc;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2e025e}=this,{editing:_0x509054,t:t}=_0x2e025e,_0x913771=_0x2e025e['model']['document']['selection'];_0x2e025e['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2e025e['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x509054['view']['document'],'enter',(_0x11034f,_0x5f7514)=>{const _0x905049=function(_0x42180a){const _0x12038d=_0x42180a['getSelectedElement']();return _0x12038d?.['is']('element','footnoteRef')?_0x12038d:null;}(_0x913771);if(_0x905049){const _0x3ad9d7=_0x905049['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3ad9d7),_0x5f7514['preventDefault'](),_0x11034f['stop']();}},{'context':_0x14e616['isWidget']});}['_defineClickHandlers'](){const {editor:_0x3d1926}=this,{editing:_0x4c305e}=_0x3d1926;_0x3d1926['editing']['view']['addObserver'](_0x14e616['PointerObserver']),_0x3d1926['editing']['view']['addObserver'](_0x14e616['ClickObserver']);let _0x9f1e4=!0x1;this['listenTo'](_0x4c305e['view']['document'],'pointerdown',(_0x1620fc,_0x29a27a)=>{const {target:_0x557082}=_0x29a27a,_0x293416=_0x4c305e['view']['document']['selection'];_0x9f1e4=!!(_0x557082?.['is']('element','a')&&_0x557082['parent']?.['is']('element','sup')&&_0x557082['parent']['hasClass']('footnote'))&&_0x293416['getSelectedElement']()===_0x557082['parent'];},{'priority':'high'}),this['listenTo'](_0x4c305e['view']['document'],'click',(_0x19080d,_0x59b660)=>{const {target:_0x2c2753}=_0x59b660;if(!_0x2c2753?.['is']('element','a'))return;if(_0x2c2753['parent']?.['is']('element','sup')&&_0x2c2753['parent']['hasClass']('footnote')&&!_0x9f1e4)return void _0x59b660['preventDefault']();let _0x3204f2=_0x2c2753['getAttribute']('href');if(!_0x3204f2?.['startsWith']('#'))return;_0x3204f2=_0x3204f2['slice'](0x1);let _0x52f018=!0x1;(_0x3204f2['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3204f2['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3204f2))&&(_0x52f018=!0x0),_0x52f018&&(_0x59b660['preventDefault'](),_0x19080d['stop']());},{'priority':'high','context':'$capture'});}};function _0x48d10b({dataPipeline:_0x5f39fb}={}){return(_0x58a5f0,{writer:_0x597ba9})=>{if(!_0x54f25a(_0x58a5f0))return null;if(!_0x5f39fb)return _0x597ba9['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5c9d11=_0x597ba9['createContainerElement']('p');return _0x597ba9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5c9d11),_0x5c9d11;};}function _0x54f25a(_0x56a422){const {parent:_0x55915f}=_0x56a422;if(!_0x55915f?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x55915f['childCount'])return!0x1;for(const _0x2c86d3 of _0x56a422['getAttributeKeys']())if(!_0x2c86d3['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2c86d3)return!0x1;return!0x0;}function _0x289bee(_0x293009,_0x3a3038){if(!_0x293009['is']('element','paragraph'))return!0x1;const _0x26f351=_0x3a3038['toViewElement'](_0x293009);return!!_0x26f351&&_0x54f25a(_0x293009)!==_0x26f351['is']('element','span');}function _0x52caf3(_0x64fb72){return(0x0,_0x14e616['isWidget'])(_0x64fb72)&&_0x64fb72['is']('containerElement')&&!!_0x64fb72['getCustomProperty']('footnotesDefinitions');}function _0x3071fc(_0x44ac93,_0x4acd89={}){const _0x11a52a=_0x44ac93['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x320f9b=_0x44ac93['createContainerElement']('ol',{'class':'footnotes-list'},_0x44ac93['createSlot']());return _0x44ac93['createContainerElement']('div',{'class':'footnotes',..._0x4acd89},[_0x11a52a,_0x320f9b]);}function _0x4a872f(_0xeb23b8,_0x1d2fff){const _0x54bbe6=_0xeb23b8['getAttribute']('footnoteId'),_0x509cf0=_0xeb23b8['getAttribute']('footnoteCounter'),_0x356dff=_0x1d2fff['createUIElement']('a',{'href':'#'+_0x54bbe6},function(_0x1b4b54){const _0x47ae4f=this['toDomElement'](_0x1b4b54);return _0x47ae4f['textContent']=_0x509cf0,_0x47ae4f;}),_0x4e2c00=_0x1d2fff['createContainerElement']('sup',{'id':'ref-'+_0x54bbe6,'class':'footnote'},[_0x356dff]);return _0x4e2c00['getFillerOffset']=()=>null,_0x4e2c00;}function _0x375b74(_0x37a1b7,_0x4e7ace,_0x33c996,{dataPipeline:_0x4fe192}={}){const {t:t}=_0x33c996,_0xbb38f9=_0x37a1b7['getAttribute']('footnoteId'),_0x5adb2d=_0x4e7ace['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xbb38f9},function(_0x55540a){const _0xac4db1=this['toDomElement'](_0x55540a);return _0xac4db1['innerText']='^',_0xac4db1;}),_0x481615=_0x4fe192?_0x4e7ace['createContainerElement']('div',{'class':'footnote-content'}):(0x0,_0x14e616['toWidgetEditable'])(_0x4e7ace['createEditableElement']('div',{'class':'footnote-content'}),_0x4e7ace,{'label':t('Footnote\x20content.')});return _0x4e7ace['insert'](_0x4e7ace['createPositionAt'](_0x481615,0x0),_0x4e7ace['createSlot']()),_0x4e7ace['createContainerElement']('li',{'class':'footnote-definition','id':_0xbb38f9},[_0x5adb2d,_0x481615]);}var _0x3fed67=class extends _0x14e616['Plugin']{static get['pluginName'](){return'FootnotesClipboard';}static get['requires'](){return[_0x51bcbf,_0x14e616['ClipboardPipeline']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['_defineClipboardIntegration']();}['_defineClipboardIntegration'](){this['_handleCopyFootnotesDefinitions'](),this['_handlePasteFootnotesDefinitions']();}['_handleCopyFootnotesDefinitions'](){const {editor:_0x2043d6}=this,{plugins:_0x12014c,model:_0x2063d6}=_0x2043d6,_0x3b1193=_0x12014c['get'](_0x14e616['ClipboardPipeline']),_0x26fee9=_0x12014c['get'](_0x2b1fcd);this['listenTo'](_0x3b1193,'outputTransformation',(_0x4d8a1b,_0xdbeb75)=>{const _0x47d02b=_0x4a972d(_0x2063d6['createRangeIn'](_0xdbeb75['content']));if(!_0x47d02b['length'])return;const _0x364027=_0x26fee9['getFootnotes'](),_0x38611f=_0x47d02b['reduce']((_0xb57c1c,_0x100278)=>{const _0x462d77=_0x364027['find'](_0x492560=>_0x492560['id']===_0x100278);if(_0x462d77){const _0x4bba0a=_0x2043d6['data']['toView'](_0x462d77['definition'],{'isClipboardPipeline':!0x0}),_0x88f186=_0x2043d6['data']['htmlProcessor']['toData'](_0x4bba0a);_0xb57c1c[_0x462d77['id']]=_0x88f186;}return _0xb57c1c;},Object['create'](null));_0xdbeb75['dataTransfer']['setData']('application/ckeditor5-footnotes',JSON['stringify'](_0x38611f));});}['_handlePasteFootnotesDefinitions'](){const {editor:_0x26e37e}=this,{model:_0x17ec35,plugins:_0x31878a}=_0x26e37e,{view:_0x1f4e07}=_0x26e37e['editing'],_0x589d5a=_0x31878a['get'](_0x14e616['ClipboardPipeline']),_0xfdd6bb=_0x31878a['get'](_0x2b1fcd),_0x12b8bf=_0x26e37e['config']['get']('footnotes.multiBlock');let _0x5ae0d2=null;this['listenTo'](_0x1f4e07['document'],'clipboardInput',(_0x522539,_0x41d99a)=>{const _0x36c3d5=_0x41d99a['dataTransfer']['getData']('application/ckeditor5-footnotes');_0x5ae0d2=_0x36c3d5?JSON['parse'](_0x36c3d5):null;}),this['listenTo'](_0x589d5a,'contentInsertion',(_0xb78b20,_0x5c478d)=>{const _0x5178bc=_0x5c478d['sourceEditorId']===this['editor']['id'];_0x5178bc&&'drop'===_0x5c478d['method']||_0x17ec35['change'](_0x1401c2=>{let _0x430213=_0xfdd6bb['getFootnotesDefinitionsObjectElement']();const _0x34d810=!!_0x430213&&Array['from'](_0x17ec35['document']['selection']['getSelectedBlocks']())['includes'](_0x430213);if(!_0x5ae0d2&&function(_0x3b9a1c){for(const {item:_0x1c23e0}of _0x3b9a1c)if(_0x1c23e0['is']('element','footnoteRef'))return!0x0;return!0x1;}(_0x17ec35['createRangeIn'](_0x5c478d['content']))&&(_0x5ae0d2=function(_0x2caf7a,_0x215537){const _0x392526=_0x5818cd(_0x2caf7a,_0x215537);if(!_0x392526)return null;const _0x3aa11f=Object['create'](null);for(const _0x59bf95 of _0x392526['getChildren']())_0x59bf95['is']('element','footnoteDefinition')&&_0x59bf95['hasAttribute']('footnoteId')&&(_0x3aa11f[_0x59bf95['getAttribute']('footnoteId')]=_0x2caf7a['cloneElement'](_0x59bf95,!0x0));return Object['keys'](_0x3aa11f)['length']?_0x3aa11f:null;}(_0x1401c2,_0x5c478d['content'])),(_0x430213&&!_0x34d810||!_0x430213&&!_0x5ae0d2)&&function(_0x22d064,_0x5f4877){const _0x2c65fa=[];for(const {item:_0x1ebba2}of _0x22d064['createRangeIn'](_0x5f4877))_0x1ebba2['is']('element','footnotesDefinitions')&&_0x2c65fa['push'](_0x1ebba2);for(const _0x2d0223 of _0x2c65fa)_0x22d064['remove'](_0x2d0223);}(_0x1401c2,_0x5c478d['content']),!_0x5ae0d2)return;const {selection:_0x2f1bda}=_0x17ec35['document'],_0x314c3c=_0x2f1bda['getFirstRange']()['root'];_0x430213&&!_0x34d810||(_0x430213=_0x5818cd(_0x1401c2,_0x5c478d['content']),_0x430213||=_0xfdd6bb['_insertEmptyFootnotesDefinitionsContainer'](_0x1401c2,_0x314c3c));const _0x201945=Array['from'](_0x2f1bda['getRanges']())['flatMap'](_0x4a972d),_0x188885=function(_0x530193,_0x523064,_0x506d5b){const _0x5868e8=Object['create'](null);for(const {item:_0xfeb476}of _0x530193['createRangeIn'](_0x523064))if(_0xfeb476['is']('element','footnoteRef')){const _0x1fecd3=_0xfeb476['getAttribute']('footnoteId');if(!_0x506d5b(_0x1fecd3))continue;_0x5868e8[_0x1fecd3]||(_0x5868e8[_0x1fecd3]=(0x0,_0x14e616['uid'])()),_0x530193['setAttribute']('footnoteId',_0x5868e8[_0x1fecd3],_0xfeb476);}return _0x5868e8;}(_0x1401c2,_0x5c478d['content'],_0x3d05d7=>!_0x5178bc||!!_0xfdd6bb['getFootnote'](_0x3d05d7)&&!_0x201945['includes'](_0x3d05d7));for(const [_0x7a228d,_0x3188a0]of Object['entries'](_0x5ae0d2)){const _0x13e7db=_0x188885[_0x7a228d]||_0x7a228d;let _0x1c04df;if('string'!=typeof _0x3188a0)_0x1c04df=_0x3188a0,_0x13e7db!==_0x7a228d&&_0x1401c2['setAttribute']('footnoteId',_0x13e7db,_0x1c04df);else{_0x1c04df=_0x1401c2['createElement']('footnoteDefinition',{'footnoteId':_0x13e7db});const _0x4135a0=_0x26e37e['data']['htmlProcessor']['toView'](_0x3188a0);let _0xba3500;if(_0x12b8bf)_0xba3500=_0x26e37e['data']['toModel'](_0x4135a0,_0x1c04df);else{_0xba3500=_0x1401c2['createElement']('footnoteInlineContent');const _0x29e178=_0x26e37e['data']['toModel'](_0x4135a0,_0xba3500);_0x1401c2['insert'](_0x29e178,_0xba3500);}_0x1401c2['append'](_0xba3500,_0x1c04df);}_0x1401c2['insert'](_0x1c04df,_0x430213,'end');}_0x5ae0d2=null;});});}};function _0x5818cd(_0x3ce782,_0x5eed6a){for(const {item:_0x3c77e7}of _0x3ce782['createRangeIn'](_0x5eed6a))if(_0x3c77e7['is']('element','footnotesDefinitions'))return _0x3c77e7;return null;}function _0x4a972d(_0x558c89){const _0xdefc77=new Set();for(const {item:_0x3ac02f}of _0x558c89)_0x3ac02f['is']('element','footnoteRef')&&_0xdefc77['add'](_0x3ac02f['getAttribute']('footnoteId'));return Array['from'](_0xdefc77);}var _0x5cd486=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x58cb64}=this,{componentFactory:_0x37dd60}=_0x58cb64['ui'];_0x37dd60['add']('insertFootnote',_0x2b6eb3(_0x58cb64,_0x14e616['ButtonView'])),_0x37dd60['add']('menuBar:insertFootnote',_0x2b6eb3(_0x58cb64,_0x14e616['MenuBarMenuListItemButtonView'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xd3f942=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x299d4b;for(const _0x3879a0 in _0xd3f942){const _0x27c536=_0x3879a0,_0x27cd7f=_0xd3f942[_0x27c536];if('footnotesLicenseKeyValid'==_0x27cd7f||'footnotesLicenseKeyInvalid'==_0x27cd7f||'footnotesLicenseKeyExpired'==_0x27cd7f||'footnotesLicenseKeyDomainLimit'==_0x27cd7f||'footnotesLicenseKeyNotAllowed'==_0x27cd7f||'footnotesLicenseKeyEvaluationLimit'==_0x27cd7f||'footnotesLicenseKeyUsageLimit'==_0x27cd7f){delete _0xd3f942[_0x27c536],_0x299d4b=_0x27cd7f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x299d4b&&_0xd3f942['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x299d4b&&_0xd3f942['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x299d4b&&_0xd3f942['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x299d4b&&_0xd3f942['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x299d4b&&_0xd3f942['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x299d4b&&_0xd3f942['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function _0x2b6eb3(_0x24b4b2,_0x587430){const _0x3ea2ee=_0x24b4b2['commands']['get']('insertFootnote');return _0x5f57df=>{const {t:t}=_0x5f57df,_0x1bb5e0=new _0x587430(_0x5f57df),_0x3baeef=_0x1bb5e0 instanceof _0x14e616['MenuBarMenuListItemButtonView'];return _0x1bb5e0['bind']('isEnabled')['to'](_0x3ea2ee,'isEnabled'),_0x1bb5e0['set']({'label':t(_0x3baeef?'Footnote':'Insert\x20footnote'),'icon':_0x14e616['IconFootnote'],'tooltip':!0x0}),_0x1bb5e0['on']('execute',()=>{_0x3ea2ee['execute'](),_0x24b4b2['editing']['view']['focus']();}),_0x1bb5e0;};}var _0x2c7abe=class extends _0x14e616['Plugin']{static get['pluginName'](){return'Footnotes';}static get['requires'](){return[_0x51bcbf,_0x3fed67,_0x5cd486];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0x5d7ca3=['decimal','decimal-leading-zero','lower-latin','upper-latin','lower-roman','upper-roman'],_0xfb2feb=Object['create']({'lower-alpha':'lower-latin','upper-alpha':'upper-latin'}),_0x4d341f=[..._0x5d7ca3,'arabic-indic','lower-alpha','upper-alpha'];var _0x24b7be=class extends _0x14e616['Command']{['refresh'](){const {editor:_0x3e2202}=this,_0xb89356=_0x3e2202['plugins']['get'](_0x2b1fcd)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0xb89356,this['value']=_0xb89356?.['getAttribute']('footnotesListStyle')??null;}['execute']({value:_0x476721}){const {editor:_0x50d203}=this,_0x183d71=_0x50d203['plugins']['get'](_0x2b1fcd),_0x3e9f4b=_0x183d71['getFootnotesDefinitionsObjectElement']();_0x3e9f4b&&_0x4d341f['includes'](_0x476721)&&_0x50d203['model']['change'](_0x14d991=>{_0x14d991['setAttribute']('footnotesListStyle',_0x476721,_0x3e9f4b),_0x183d71['_updateFootnotesCounters'](_0x14d991);});}},_0x50f9fe=class extends _0x14e616['Command']{['refresh'](){const {editor:_0x1cd77f}=this,_0x5dc006=_0x1cd77f['plugins']['get'](_0x2b1fcd)['getFootnotesDefinitionsObjectElement']();this['isEnabled']=!!_0x5dc006,this['value']=_0x5dc006?.['getAttribute']('footnotesListStart')??null;}['execute']({value:_0x277967}){const {editor:_0x338a2c}=this,_0x1bbe70=_0x338a2c['plugins']['get'](_0x2b1fcd),_0x226292=_0x1bbe70['getFootnotesDefinitionsObjectElement']();_0x226292&&Number['isInteger'](_0x277967)&&_0x338a2c['model']['change'](_0x44d66a=>{_0x44d66a['setAttribute']('footnotesListStart',_0x277967,_0x226292),_0x1bbe70['_updateFootnotesCounters'](_0x44d66a);});}};function _0x14fac1({style:_0x3c1092,digits:_0xb8f6e9,value:_0x121857}){const _0x470d88=Math['floor'](_0x121857),_0x5b94b7=function(_0x1f94cb){switch(_0x1f94cb){case'lower-alpha':case'lower-latin':case'upper-alpha':case'upper-latin':return{'min':0x1,'max':0x1/0x0};case'lower-roman':case'upper-roman':return{'min':0x1,'max':0xf9f};default:return{'min':-0x1/0x0,'max':0x1/0x0};}}(_0x3c1092);switch((_0x470d88>_0x5b94b7['max']||_0x470d88<_0x5b94b7['min'])&&(_0x3c1092='decimal'),_0x3c1092){case'decimal-leading-zero':return function(_0x11e187,_0x1f3650){return String(_0x11e187)['padStart'](_0x1f3650,'0');}(_0x470d88,Math['max'](0x2,_0xb8f6e9));case'lower-alpha':case'lower-latin':return _0x5bb76d(_0x470d88,!0x1);case'upper-alpha':case'upper-latin':return _0x5bb76d(_0x470d88,!0x0);case'lower-roman':return _0x181191(_0x470d88,!0x1);case'upper-roman':return _0x181191(_0x470d88,!0x0);case'arabic-indic':return function(_0x96e81){return String(_0x96e81)['replace'](/\d/g,_0x1a5a83=>_0x3c932f[Number(_0x1a5a83)]);}(_0x470d88);default:return String(_0x470d88);}}function _0x5bb76d(_0x37e616,_0x1015d9){let _0x3a43c7='',_0x15dcad=_0x37e616;for(;_0x15dcad>0x0;){const _0x196058=(_0x15dcad-0x1)%0x1a;_0x3a43c7=String['fromCharCode'](0x61+_0x196058)+_0x3a43c7,_0x15dcad=Math['floor']((_0x15dcad-0x1)/0x1a);}return _0x1015d9?_0x3a43c7['toUpperCase']():_0x3a43c7;}const _0x56f339=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function _0x181191(_0xf02bb7,_0x1fa17a){let _0x459d04='',_0x389151=_0xf02bb7;for(const {value:_0x4a21b3,numeral:_0xafe59c}of _0x56f339)for(;_0x389151>=_0x4a21b3;)_0x459d04+=_0xafe59c,_0x389151-=_0x4a21b3;return _0x1fa17a?_0x459d04:_0x459d04['toLowerCase']();}const _0x3c932f=['٠','١','٢','٣','٤','٥','٦','٧','٨','٩'];var _0x56d8a5=class extends _0x14e616['Plugin']{static get['pluginName'](){return'FootnotesPropertiesEditing';}static get['requires'](){return[_0x51bcbf,_0x2b1fcd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5eee41}=this;_0x5eee41['config']['define']('footnotes.footnotesProperties.defaultListStyle','decimal'),_0x5eee41['config']['define']('footnotes.footnotesProperties.defaultStartIndex',0x1),_0x5eee41['config']['define']('footnotes.footnotesProperties.listStyles',[..._0x5d7ca3]),_0x5eee41['commands']['add']('footnotesStyle',new _0x24b7be(_0x5eee41)),_0x5eee41['commands']['add']('footnotesStart',new _0x50f9fe(_0x5eee41)),this['_defineSchema'](),this['_defineConverters'](),this['_defineFormatter'](),this['_definePostfixer']();}['_defineSchema'](){const {editor:_0x51cbf9}=this,{schema:_0x54b1e5}=_0x51cbf9['model'];_0x54b1e5['extend']('footnotesDefinitions',{'allowAttributes':['footnotesListStyle','footnotesListStart']});}['_defineConverters'](){const {editor:_0x4f9da1}=this,{conversion:_0x405301,model:_0x5aae4b}=_0x4f9da1,{schema:_0x162310}=_0x5aae4b;_0x405301['for']('upcast')['add'](_0x1621ec=>{_0x1621ec['on']('element:ol',(_0x44cf2a,_0x1c7f90,_0x385611)=>{const _0x515798=_0x1c7f90['viewItem'],_0x519fc1=_0x1c7f90['modelCursor']?.['parent'];_0x515798['hasClass']('footnotes-list')&&_0x519fc1?.['is']('element','footnotesDefinitions')&&(function(_0x5b0193,_0x62cabb,_0x4c8d5a,_0x95aec4){if(!_0x95aec4['checkAttribute'](_0x62cabb,'footnotesListStart'))return;let _0x5993a7=0x1;const _0x559110=_0x4c8d5a['consumable']['consume'](_0x5b0193,{'attributes':'start'});if(_0x559110){const _0x115ec3=Number['parseInt'](_0x5b0193['getAttribute']('start'),0xa);Number['isNaN'](_0x115ec3)||(_0x5993a7=_0x115ec3);}!_0x559110&&_0x62cabb['hasAttribute']('footnotesListStart')||_0x4c8d5a['writer']['setAttribute']('footnotesListStart',_0x5993a7,_0x62cabb);}(_0x515798,_0x519fc1,_0x385611,_0x162310),function(_0x7eb221,_0x472ad4,_0x1d3bcf,_0x2ce9dd){if(!_0x2ce9dd['checkAttribute'](_0x472ad4,'footnotesListStyle'))return;let _0x40a97f='decimal',_0x165c0f=!0x1;if(_0x1d3bcf['consumable']['consume'](_0x7eb221,{'attributes':'type'})){const _0x552c5c={0x1:'decimal','a':'lower-latin','A':'upper-latin','i':'lower-roman','I':'upper-roman'}[_0x7eb221['getAttribute']('type')];_0x552c5c&&(_0x40a97f=_0x552c5c),_0x165c0f=!0x0;}if(_0x1d3bcf['consumable']['consume'](_0x7eb221,{'styles':'list-style-type'})){const _0x212ef0=_0x51455b(_0x7eb221['getStyle']('list-style-type'));_0x212ef0&&(_0x40a97f=_0x212ef0),_0x165c0f=!0x0;}!_0x165c0f&&_0x472ad4['hasAttribute']('footnotesListStyle')||_0x1d3bcf['writer']['setAttribute']('footnotesListStyle',_0x40a97f,_0x472ad4);}(_0x515798,_0x519fc1,_0x385611,_0x162310));});}),_0x405301['for']('downcast')['add'](_0x390808=>{_0x390808['on']('attribute:footnotesListStart:footnotesDefinitions',(_0x5dae23,_0x2751ae,_0x389a5d)=>{if(!_0x389a5d['consumable']['consume'](_0x2751ae['item'],_0x5dae23['name']))return;const _0x1420e3=_0x1df808(_0x2751ae['item'],_0x389a5d['mapper']),{attributeNewValue:_0x5da610}=_0x2751ae;null==_0x5da610||0x1===_0x5da610?_0x389a5d['writer']['removeAttribute']('start',_0x1420e3):_0x389a5d['writer']['setAttribute']('start',String(_0x5da610),_0x1420e3);}),_0x390808['on']('attribute:footnotesListStyle:footnotesDefinitions',(_0x302a22,_0x5a5ac3,_0xaf026e)=>{if(!_0xaf026e['consumable']['consume'](_0x5a5ac3['item'],_0x302a22['name']))return;const _0x107d61=_0x1df808(_0x5a5ac3['item'],_0xaf026e['mapper']),{attributeNewValue:_0x524c1f}=_0x5a5ac3;_0x524c1f&&'decimal'!==_0x524c1f?_0xaf026e['writer']['setStyle']('list-style-type',_0x524c1f,_0x107d61):_0xaf026e['writer']['removeStyle']('list-style-type',_0x107d61);});});}['_definePostfixer'](){const {editor:_0x336f23}=this,{model:_0x2015ce}=_0x336f23,_0x5e5169=_0x336f23['plugins']['get'](_0x2b1fcd),_0xb931bc=this['_getDefaultListStyle'](),_0x55770b=this['_getDefaultStartIndex']();_0x2015ce['document']['registerPostFixer'](_0x2adc78=>{const _0x19beb5=_0x2015ce['document']['differ']['getChanges']();let _0x593288=!0x1;for(const _0x5ab1b8 of _0x19beb5){if('insert'!==_0x5ab1b8['type']||'$text'===_0x5ab1b8['name'])continue;const _0x17f0aa=_0x2015ce['createRangeOn'](_0x5ab1b8['position']['nodeAfter']);for(const _0x172b99 of _0x17f0aa['getItems']())_0x172b99['is']('element','footnotesDefinitions')&&(!_0x172b99['hasAttribute']('footnotesListStart')&&_0x2015ce['schema']['checkAttribute'](_0x172b99,'footnotesListStart')&&(_0x2adc78['setAttribute']('footnotesListStart',_0x55770b,_0x172b99),_0x593288=!0x0),!_0x172b99['hasAttribute']('footnotesListStyle')&&_0x2015ce['schema']['checkAttribute'](_0x172b99,'footnotesListStyle')&&(_0x2adc78['setAttribute']('footnotesListStyle',_0xb931bc,_0x172b99),_0x593288=!0x0));}return _0x593288&&_0x5e5169['_updateFootnotesCounters'](_0x2adc78),_0x593288;});}['_defineFormatter'](){const {editor:_0x5cbb1e}=this;_0x5cbb1e['plugins']['get'](_0x2b1fcd)['setFootnoteFormatter'](_0x3e980f=>this['_formatFootnoteListValue'](_0x3e980f));}['_getDefaultListStyle'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultListStyle');}['_getDefaultStartIndex'](){return this['editor']['config']['get']('footnotes.footnotesProperties.defaultStartIndex');}['_formatFootnoteListValue']({container:_0x27007b,value:_0x51549e,digits:_0x16b6bb}){const _0x5d08ff=_0x27007b['getAttribute']('footnotesListStyle');return _0x14fac1({'value':_0x51549e+(_0x27007b['getAttribute']('footnotesListStart')??0x1)-0x1,'style':_0x5d08ff,'digits':_0x16b6bb});}};function _0x51455b(_0x5bbd0a){if('string'==typeof _0x5bbd0a){const _0x1d5c1f=_0xfb2feb[_0x5bbd0a];if(_0x1d5c1f)return _0x1d5c1f;if(_0x4d341f['includes'](_0x5bbd0a))return _0x5bbd0a;}return null;}function _0x1df808(_0x4cd9d,_0x16391f){const _0x45100d=_0x16391f['toViewElement'](_0x4cd9d);return Array['from'](_0x45100d['getChildren']())['find'](_0x4753c1=>_0x4753c1['is']('element','ol')&&_0x4753c1['hasClass']('footnotes-list'));}var _0x19958f=class extends _0x14e616['View']{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new _0x14e616['FocusTracker']();['keystrokes']=new _0x14e616['KeystrokeHandler']();['focusables']=new _0x14e616['ViewCollection']();['focusCycler'];constructor(_0x1821c5,{styleButtonViews:_0x4b874a,styleGridAriaLabel:_0x32cd54}){super(_0x1821c5),(this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4b874a,_0x32cd54),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x1a71a6 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1a71a6['element']);(0x0,_0x14e616['addKeyboardHandlingForGrid'])({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x14e616['global']['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 _0x269ab4=_0x39cee9=>_0x39cee9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x269ab4),this['keystrokes']['set']('arrowleft',_0x269ab4),this['keystrokes']['set']('arrowup',_0x269ab4),this['keystrokes']['set']('arrowdown',_0x269ab4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x2666f3,_0x42e646){const _0x37761a=new _0x14e616['View'](this['locale']);return _0x37761a['children']=_0x37761a['createCollection'](),_0x37761a['children']['addMany'](_0x2666f3),_0x37761a['setTemplate']({'tag':'div','attributes':{'aria-label':_0x42e646,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x37761a['children']}),_0x37761a['children']['delegate']('execute')['to'](this),_0x37761a['focus']=function(){for(const _0xb686ad of this['children'])if(_0xb686ad instanceof _0x14e616['ButtonView']&&_0xb686ad['isOn'])return void _0xb686ad['focus']();this['children']['first']['focus']();},_0x37761a['focusTracker']=new _0x14e616['FocusTracker'](),_0x37761a['keystrokes']=new _0x14e616['KeystrokeHandler'](),_0x37761a['render'](),_0x37761a['keystrokes']['listenTo'](_0x37761a['element']),this['children']['add'](_0x37761a),_0x37761a;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2cb667=this['_createStartIndexPropertyView'](),_0x28fa89=[_0x2cb667],_0x34fc7b=new _0x14e616['CollapsibleView'](this['locale'],_0x28fa89);return _0x34fc7b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x34fc7b['buttonView']['bind']('isEnabled')['toMany'](_0x28fa89,'isEnabled',(..._0x13f4b2)=>_0x13f4b2['some'](_0x231d21=>_0x231d21)),_0x34fc7b['buttonView']['on']('change:isEnabled',(_0x5030fa,_0x51c8f4,_0x40faf3)=>{_0x40faf3||(_0x34fc7b['isCollapsed']=!0x0);}),this['children']['add'](_0x34fc7b),[_0x2cb667,_0x34fc7b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1a7669=new _0x14e616['LabeledFieldView'](this['locale'],_0x14e616['createLabeledInputNumber']);return _0x1a7669['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1a7669['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1a7669['fieldView']['on']('input',()=>{const _0x523fdb=_0x1a7669['fieldView']['element'],_0x31b594=_0x523fdb['valueAsNumber'];Number['isNaN'](_0x31b594)?_0x1a7669['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x523fdb['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x31b594}):_0x1a7669['errorText']=t(_0x31b594<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1a7669;}},_0x3986c1=class extends _0x14e616['Plugin']{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x14e616['ContextualBalloon'],_0x14e616['WidgetToolbarRepository']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3ad7b7}=this,{componentFactory:_0x3ce30f}=_0x3ad7b7['ui'];_0x3ad7b7['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3ce30f['add']('footnotesStyle',function(_0x4a1ef2){return _0x5d6727=>{const {t:t}=_0x5d6727,_0x4a7126=_0x4a1ef2['commands']['get']('footnotesStyle'),_0x555115=(0x0,_0x14e616['createDropdown'])(_0x5d6727),{buttonView:_0x120c4f}=_0x555115;return _0x555115['class']='ck-footnotes-styles-dropdown',_0x555115['bind']('isEnabled')['to'](_0x4a7126,'isEnabled'),_0x120c4f['set']({'label':t('Footnotes\x20style'),'icon':_0x14e616['IconFootnote'],'tooltip':!0x0}),_0x555115['once']('change:isOpen',()=>{const _0x4c0d89=function({editor:_0x537e8f,dropdownView:_0x1e6dbc}){const {t:t}=_0x537e8f['locale'],_0x3948b9=t('Footnotes\x20definitions\x20styles'),_0x523366=function(_0x25bccd){const {t:t}=_0x25bccd['locale'],_0x317024=_0x25bccd['config']['get']('footnotes.footnotesProperties.listStyles'),_0x3e178f=[{'style':'decimal','label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'icon':_0x14e616['IconListStyleDecimal']},{'style':'decimal-leading-zero','label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'icon':_0x14e616['IconListStyleDecimalLeadingZero']},{'style':'lower-roman','label':t('Toggle\x20the\x20lower-roman\x20footnotes\x20style'),'tooltip':t('Lower-roman\x20footnotes'),'icon':_0x14e616['IconListStyleLowerRoman']},{'style':'upper-roman','label':t('Toggle\x20the\x20upper-roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'icon':_0x14e616['IconListStyleUpperRoman']},{'style':'lower-latin','label':t('Toggle\x20the\x20lower-latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'icon':_0x14e616['IconListStyleLowerLatin']},{'style':'upper-latin','label':t('Toggle\x20the\x20upper-latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'icon':_0x14e616['IconListStyleUpperLatin']},{'style':'arabic-indic','label':t('Toggle\x20the\x20arabic-indic\x20footnotes\x20style'),'tooltip':t('Arabic-indic\x20footnotes'),'icon':_0x14e616['IconListStyleArabicIndic']}];return _0x317024['map'](_0x3f3850=>{const _0x209fc4=_0x51455b(_0x3f3850);return function(_0x3b3ca6,_0x110811){const {locale:_0x44d5a8}=_0x3b3ca6,{label:_0x426221,icon:_0x15e0bd,tooltip:_0x180a89,style:_0x148fea}=_0x110811,_0xede996=_0x3b3ca6['commands']['get']('footnotesStyle'),_0x3b180f=new _0x14e616['ButtonView'](_0x44d5a8);return _0x3b180f['set']({'label':_0x426221,'icon':_0x15e0bd,'tooltip':_0x180a89}),_0x3b180f['bind']('isOn')['to'](_0xede996,'value',_0x4bd6db=>_0x4bd6db===_0x148fea),_0x3b180f['bind']('isEnabled')['to'](_0xede996,'isEnabled'),_0x3b180f['on']('execute',()=>{_0x3b3ca6['execute']('footnotesStyle',{'value':_0x148fea}),_0x3b3ca6['editing']['view']['focus']();}),_0x3b180f;}(_0x25bccd,_0x3e178f['find'](_0x191044=>_0x191044['style']===_0x209fc4));});}(_0x537e8f),_0x461c7c=new _0x19958f(_0x537e8f['locale'],{'styleGridAriaLabel':_0x3948b9,'styleButtonViews':_0x523366}),_0x3d3879=_0x537e8f['commands']['get']('footnotesStart');return _0x461c7c['startIndexFieldView']['bind']('isEnabled')['to'](_0x3d3879),_0x461c7c['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3d3879),_0x461c7c['on']('footnotesListStart',(_0x21a094,_0x53c06c)=>{_0x537e8f['execute']('footnotesStart',{'value':_0x53c06c['startIndex']});}),_0x461c7c['delegate']('execute')['to'](_0x1e6dbc),_0x461c7c;}({'editor':_0x4a1ef2,'dropdownView':_0x555115});_0x555115['panelView']['children']['add'](_0x4c0d89);}),_0x555115;};}(_0x3ad7b7));}['afterInit'](){const {editor:_0x386bde}=this,{t:t}=_0x386bde['locale'],_0x406157=_0x386bde['plugins']['get'](_0x14e616['WidgetToolbarRepository']),{defaultPositions:_0x58c411}=_0x14e616['BalloonPanelView'];_0x406157['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x386bde['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4ccd69=>{let _0x5324f1=_0x4ccd69['getFirstPosition']()?.['parent'];return _0x5324f1?.['is']('$text')&&(_0x5324f1=_0x5324f1['parent']),_0x5324f1?.['is']('element')?_0x5324f1['findAncestor'](_0x52caf3):null;},'positions':[_0x58c411['southArrowNorth'],_0x58c411['southArrowNorthMiddleWest'],_0x58c411['southArrowNorthMiddleEast'],_0x58c411['southArrowNorthWest'],_0x58c411['southArrowNorthEast'],_0x58c411['northArrowSouth'],_0x58c411['northArrowSouthMiddleWest'],_0x58c411['northArrowSouthMiddleEast'],_0x58c411['northArrowSouthWest'],_0x58c411['northArrowSouthEast'],_0x58c411['viewportStickyNorth']]});}},_0x39c680=class extends _0x14e616['Plugin']{static get['pluginName'](){return'FootnotesProperties';}static get['requires'](){return[_0x56d8a5,_0x3986c1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0x2206d7='copyFormat',_0x292a8a='pasteFormat',_0x190f86='ck-format-painter-active';var _0x5e52d7=class extends _0x14e616['Command']{constructor(_0x411d33){super(_0x411d33),this['value']=void 0x0,this['on']('change:isEnabled',(_0x2a1831,_0x44912c,_0x218052)=>{_0x218052||this['reset']();}),this['on']('change:value',()=>_0x411d33['commands']['get'](_0x292a8a)['refresh']());}['execute'](){this['value']=this['_getFormattingAttributes']();}['reset'](){this['value']=void 0x0;}['_getFormattingAttributes'](){const _0x10ae4e=this['editor']['model'],_0x23c68e=_0x10ae4e['document']['selection'];return Object['fromEntries'](Array['from'](_0x23c68e['getAttributes']())['filter'](([_0x2bbfe0])=>_0x10ae4e['schema']['getAttributeProperties'](_0x2bbfe0)['isFormatting']));}},_0x19c7d2=class extends _0x14e616['Command']{constructor(_0x47d3bc){super(_0x47d3bc),this['_removeFormatCommand']=new _0x14e616['RemoveFormatCommand'](_0x47d3bc);}['execute'](_0xf8557b={}){const _0x289976=this['editor']['model'],_0x20a261=_0x289976['document']['selection'],_0x2fd30c=Array['from'](_0x20a261['getRanges']()),_0x4c5a64=_0x20a261['isCollapsed']?[this['_createRangeOnEntireWord'](_0x289976,_0x20a261)]:_0x2fd30c;_0x289976['change'](_0x2ae852=>{_0x2ae852['setSelection'](_0x4c5a64),this['_removeFormatCommand']['execute']();for(const _0x5859bf in _0xf8557b)for(const _0x4bd5fe of _0x289976['schema']['getValidRanges'](_0x4c5a64,_0x5859bf))_0x2ae852['setAttribute'](_0x5859bf,_0xf8557b[_0x5859bf],_0x4bd5fe);_0x2ae852['setSelection'](_0x2fd30c);});}['_createRangeOnEntireWord'](_0x4728b5,_0x42ba71){const _0x18105a=_0x4728b5['createSelection'](_0x42ba71);_0x4728b5['modifySelection'](_0x18105a,{'unit':'word','direction':'backward'});const _0x57304c=_0x18105a['getFirstPosition']();_0x4728b5['modifySelection'](_0x18105a,{'unit':'word','direction':'forward'});const _0xc06577=_0x18105a['getLastPosition']();return _0x4728b5['createRange'](_0x57304c,_0xc06577);}},_0x4d0a00=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FormatPainterEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x46da02=this['editor'];_0x46da02['commands']['add'](_0x2206d7,new _0x5e52d7(_0x46da02)),_0x46da02['commands']['add'](_0x292a8a,new _0x19c7d2(_0x46da02)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4aa1ea=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1feb89;for(const _0x10c2d6 in _0x4aa1ea){const _0x2775eb=_0x10c2d6,_0x39b882=_0x4aa1ea[_0x2775eb];if('formatPainterLicenseKeyValid'==_0x39b882||'formatPainterLicenseKeyInvalid'==_0x39b882||'formatPainterLicenseKeyExpired'==_0x39b882||'formatPainterLicenseKeyDomainLimit'==_0x39b882||'formatPainterLicenseKeyNotAllowed'==_0x39b882||'formatPainterLicenseKeyEvaluationLimit'==_0x39b882||'formatPainterLicenseKeyUsageLimit'==_0x39b882){delete _0x4aa1ea[_0x2775eb],_0x1feb89=_0x39b882,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'formatPainterLicenseKeyInvalid'==_0x1feb89&&_0x4aa1ea['_showLicenseError']('invalid'),'formatPainterLicenseKeyExpired'==_0x1feb89&&_0x4aa1ea['_showLicenseError']('expired'),'formatPainterLicenseKeyDomainLimit'==_0x1feb89&&_0x4aa1ea['_showLicenseError']('domainLimit'),'formatPainterLicenseKeyNotAllowed'==_0x1feb89&&_0x4aa1ea['_showLicenseError']('featureNotAllowed','FormatPainter'),'formatPainterLicenseKeyEvaluationLimit'==_0x1feb89&&_0x4aa1ea['_showLicenseError']('evaluationLimit'),'formatPainterLicenseKeyUsageLimit'==_0x1feb89&&_0x4aa1ea['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function _0x11a569(_0x3ca173,_0x341394){const t=_0x3ca173['t'];switch(_0x341394){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.');case'Painting\x20cancelled.':return t('Painting\x20cancelled.');default:return _0x341394;}}const _0x18c306=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['DomEmitterMixin'])(_0x14e616['Plugin']);var _0x2b7ed4=class extends _0x18c306{static get['pluginName'](){return'FormatPainterUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3dca3f=this['editor'];_0x3dca3f['editing']['view']['addObserver'](_0x14e616['ClickObserver']),_0x3dca3f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':_0x11a569(_0x3dca3f['locale'],'Copy\x20text\x20formatting'),'keystroke':'Ctrl+Alt+C'},{'label':_0x11a569(_0x3dca3f['locale'],'Paste\x20text\x20formatting'),'keystroke':'Ctrl+Alt+V'}]}),_0x3dca3f['ui']['componentFactory']['add']('formatPainter',_0x494bc7=>{const _0x5ca388=(0x0,_0x14e616['createDropdown'])(_0x494bc7,_0x14e616['SplitButtonView']),_0x3186b1=_0x3dca3f['commands']['get'](_0x2206d7);_0x5ca388['buttonView']['set']({'label':_0x11a569(_0x3dca3f['locale'],'Paint\x20formatting'),'icon':_0x14e616['IconPaintRoller'],'keystroke':'Ctrl+Alt+C','tooltip':!0x0}),_0x5ca388['class']='ck-format-painter-dropdown',_0x3186b1&&(_0x5ca388['bind']('isEnabled')['to'](_0x3186b1,'isEnabled'),this['listenTo'](_0x3186b1,'change:isEnabled',(_0x3ba0ea,_0x26a344,_0x4ae995)=>{_0x4ae995||this['_finishPainting']();}),_0x5ca388['buttonView']['bind']('isOn')['to'](_0x3186b1,'value',_0xc18d5=>!!_0xc18d5),this['listenTo'](_0x3dca3f,'destroy',()=>this['_toggleSpecialCursor'](!0x1)),this['listenTo'](_0x3186b1,'change:value',(_0x81a838,_0x1fd042,_0x5959ed)=>{this['_toggleSpecialCursor'](!!_0x5959ed);}));const _0x2e7ca7=new _0x14e616['UIModel']({'withText':!0x0,'label':_0x11a569(_0x3dca3f['locale'],'Continuous\x20painting'),'tooltip':_0x11a569(_0x3dca3f['locale'],'Keeps\x20the\x20painter\x20on\x20after\x20setting\x20the\x20formatting.'),'isOn':!0x1,'role':'menuitemcheckbox'});(0x0,_0x14e616['addListToDropdown'])(_0x5ca388,new _0x14e616['Collection']([{'type':'switchbutton','model':_0x2e7ca7}]),{'role':'menu'});const _0x2e2fad=()=>{this['_copyFormatting'](),this['listenTo'](_0x14e616['global']['window']['document'],'mouseup',()=>{this['_pasteFormatting'](),_0x2e7ca7['isOn']||this['_finishPainting']();});};return this['listenTo'](_0x5ca388,'execute',()=>{_0x2e7ca7['isOn']=!_0x2e7ca7['isOn'];}),this['listenTo'](_0x5ca388['buttonView'],'execute',()=>{_0x3dca3f['editing']['view']['focus'](),_0x5ca388['buttonView']['isOn']?this['_finishPainting']():_0x2e2fad();}),_0x3dca3f['keystrokes']['set']('Ctrl+Alt+C',(_0x1848e7,_0x34caf0)=>{_0x2e2fad(),_0x2e7ca7['isOn']=!0x0,_0x34caf0();},{'priority':'high'}),_0x3dca3f['keystrokes']['set']('Ctrl+Alt+V',(_0x92b671,_0x3c7970)=>{_0x5ca388['buttonView']['isOn']&&(this['_pasteFormatting'](),_0x2e7ca7['isOn']||this['_finishPainting'](),_0x3c7970());},{'priority':'high'}),_0x3dca3f['keystrokes']['set']('Esc',(_0x173c13,_0x2c24d5)=>{_0x5ca388['buttonView']['isOn']&&(_0x2e7ca7['isOn']=!0x1,this['_finishPainting'](),_0x3dca3f['ui']['ariaLiveAnnouncer']['announce'](_0x11a569(_0x3dca3f['locale'],'Painting\x20cancelled.')),_0x2c24d5());}),_0x5ca388;});}['afterInit'](){!async function(_0x3dff77){const _0x1a7704='QiLRCSOsZ8pAvDdaPJUE3oxjKlzM2uXgrtGfeyh5cNFkmBw9I6WH0qnb4T17YV',_0x486265=0x78fc0,_0x193210=window['Date']['now'](),_0x466093=_0x3dff77['editor'],_0x22011d=new window['Promise'](_0x3c9468=>{_0x466093['once']('ready',_0x3c9468);}),_0x320c58={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x3ed752=_0x466093['config']['get']('licenseKey');async function _0x133fb0(){let _0x5596d1,_0x58c08a=null,_0x9fe55d=null;try{return'GPL'==_0x3ed752?'NotAllowed':(_0x5596d1=_0x36bb1c(),_0x5596d1?(_0x5596d1['usageEndpoint']&&(_0x9fe55d=_0x5903e1(_0x5596d1['usageEndpoint'],_0x5596d1['jti'])),await _0x1ec26c()?_0x3d38c3()?_0x5bc224()?'Expired':_0x36cc0a()?('evaluation'==_0x5596d1['licenseType']&&(_0x58c08a=_0x4df1be('EvaluationLimit')),await _0xc98262()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x5bc224(){const _0x14dd24=['evaluation','trial']['includes'](_0x5596d1['licenseType'])?_0x193210/0x3e8:0xe10*_0x486265;return _0x5596d1['exp']<_0x14dd24;}function _0x3d38c3(){const _0x37bfbd=_0x5596d1['features'];return!!_0x37bfbd&&(!!_0x37bfbd['includes']('*')||(!!_0x37bfbd['includes']('FP')||(!!_0x37bfbd['includes']('PP')||!(!_0x37bfbd['includes']('TRILIUM')||!_0x244175()))));}function _0x36cc0a(){const _0x4f0290=_0x5596d1['licensedHosts'];if(!_0x4f0290||0x0==_0x4f0290['length'])return!0x0;const {hostname:_0xb0a429}=new URL(window['location']['href']);if(_0x4f0290['includes'](_0xb0a429))return!0x0;const _0x35635c=_0xb0a429['split']('.');return _0x4f0290['filter'](_0x18aa6d=>_0x18aa6d['includes']('*'))['map'](_0x1d29a9=>_0x1d29a9['split']('.'))['filter'](_0x3e0c5c=>_0x3e0c5c['length']<=_0x35635c['length'])['map'](_0x242e91=>Array(_0x35635c['length']-_0x242e91['length'])['fill']('*'===_0x242e91[0x0]?'*':'')['concat'](_0x242e91))['some'](_0x1c130a=>_0x35635c['every']((_0x12f0ed,_0x54acf1)=>_0x1c130a[_0x54acf1]===_0x12f0ed||'*'===_0x1c130a[_0x54acf1]));}function _0xc98262(){return _0x58c08a&&_0x9fe55d?new window['Promise']((_0x3f5543,_0x4775ff)=>{_0x58c08a['then'](_0x3f5543,_0x4775ff),_0x9fe55d['then'](_0x37a89c=>{'Valid'!=_0x37a89c&&_0x3f5543(_0x37a89c);},_0x4775ff);}):_0x58c08a||_0x9fe55d||'Valid';}}function _0x5903e1(_0x497949,_0x446100){return new window['Promise'](_0x336ee5=>{if(_0x20b15e())return _0x336ee5('Valid');_0x164616(),_0x466093['decorate']('_sendUsageRequest');let _0x111897=!0x1;const _0x404e5b=(0x0,_0x14e616['uid'])();function _0x5338f9(_0x5cd835){return!!_0x5cd835&&('object'==typeof _0x5cd835||'function'==typeof _0x5cd835)&&'function'==typeof _0x5cd835['then']&&'function'==typeof _0x5cd835['catch'];}function _0x5b3391(_0xbd2b5d){_0x4a67fe(_0xbd2b5d)['then'](_0x3ea480=>_0x3ea480&&'ok'==_0x3ea480['status']?_0x136253(_0x1b6568(_0x404e5b+_0x446100))!=_0x3ea480['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3534c0=>(_0x59060b(),_0x3534c0),()=>{const _0x4a5956=_0x87e38e();return null==_0x4a5956?(_0x59060b(),'Valid'):_0x193210-_0x4a5956>0x240c8400?'UsageLimit':'Valid';})['then'](_0x336ee5)['catch'](()=>{_0x336ee5('UsageLimit');});const _0x271348=0x36ee80;function _0x59060b(){const _0x1dc1c7='llct-'+_0x136253(_0x1b6568(_0x497949)),_0x246c5e=_0x2a4790(_0x136253(window['Math']['ceil'](_0x193210/_0x271348)));window['localStorage']['setItem'](_0x1dc1c7,_0x246c5e);}function _0x87e38e(){const _0x23cf49='llct-'+_0x136253(_0x1b6568(_0x497949)),_0x4a2648=window['localStorage']['getItem'](_0x23cf49);return _0x4a2648?window['parseInt'](_0x2a4790(_0x4a2648),0x10)*_0x271348:null;}function _0x4a67fe(_0xedd827){return new window['Promise']((_0x1c07b6,_0x26691e)=>{_0xedd827['then'](_0x1c07b6,_0x26691e),window['setTimeout'](_0x26691e,0x1d4c0);});}}_0x466093['on']('_sendUsageRequest',(_0x2e08c4,_0x48376d)=>{if(_0x48376d[0x0]!=_0x497949)return _0x336ee5('UsageLimit');_0x48376d[0x1]={..._0x48376d[0x1],'requestId':_0x404e5b};},{'priority':'high'}),_0x466093['on']('_sendUsageRequest',_0x277323=>{_0x5338f9(_0x277323['return'])&&(_0x111897=!0x0,_0x5b3391(_0x277323['return']));},{'priority':'low'}),_0x22011d['then'](()=>{_0x111897||_0x336ee5('UsageLimit');});});function _0x20b15e(){return'auto'==_0x466093['editing']['view']['_overlayModeHint'];}function _0x164616(){_0x466093['editing']['view']['_overlayModeHint']='auto';}}function _0x4df1be(_0x5e479d){const _0x323a19=[new window['Promise'](_0x385e99=>setTimeout(_0x385e99,0x93ecc)),_0x22011d['then'](()=>new window['Promise'](_0x58eac7=>{let _0x267a36=0x0;_0x466093['model']['on']('applyOperation',(_0x1600ac,_0x12f5dd)=>{_0x12f5dd[0x0]['isDocumentOperation']&&_0x267a36++,0x5e8==_0x267a36&&(_0x58eac7(),_0x1600ac['off']());});}))];return window['Promise']['race'](_0x323a19)['then'](()=>_0x5e479d);}async function _0x1e21c3(){await _0x22011d,_0x466093['model']['change']=_0x6ab539,_0x466093['model']['enqueueChange']=_0x6ab539,_0x466093['enableReadOnlyMode']('model');}function _0x244175(){return window['glob']&&window['glob']['triliumVersion'];}function _0x3e8078(_0x47415a){const _0x2f4bae=_0x5a98e6();_0x466093[_0x2f4bae]='formatPainterLicenseKey'+_0x47415a,'Valid'!=_0x47415a&&_0x1e21c3();}function _0x5a98e6(){const _0x112005=window['String'](window['performance']['now']())['replace']('.','');let _0x242c48='Q';for(let _0x512755=0x0;_0x512755<_0x112005['length'];_0x512755+=0x2){let _0x95816e=window['parseInt'](_0x112005['substring'](_0x512755,_0x512755+0x2));_0x95816e>=0x3e&&(_0x95816e-=0x3e),_0x242c48+=_0x1a7704[_0x95816e];}return _0x242c48;}function _0x36bb1c(){const _0x3f57aa=_0x3ed752['split']('.');if(0x3!=_0x3f57aa['length'])return null;return _0x48dfd1(_0x3f57aa[0x1]);function _0x48dfd1(_0x18534d){const _0x56a9ea=_0x5f4a15(_0x18534d);return _0x56a9ea&&_0x1396e5()?_0x56a9ea:null;function _0x1396e5(){const _0x2b8c1d=_0x56a9ea['jti'],_0x298b89=window['parseInt'](_0x2b8c1d['substring'](_0x2b8c1d['length']-0x8),0x10),_0x178ba6={..._0x56a9ea,'jti':_0x2b8c1d['substring'](0x0,_0x2b8c1d['length']-0x8)};return delete _0x178ba6['vc'],_0x1b6568(_0x178ba6)==_0x298b89;}}}async function _0x1ec26c(){let _0x5aba4e=!0x0;try{const [_0x484a41,_0x51d91c,_0x2ec58c]=_0x3ed752['split']('.');return _0x9f42b4(_0x484a41),await _0x4b76d6(_0x484a41,_0x51d91c,_0x2ec58c),_0x5aba4e;}catch{return!0x1;}function _0x9f42b4(_0x5beadf){const _0x527a1d=_0x5f4a15(_0x5beadf);_0x527a1d&&'ES256'==_0x527a1d['alg']||(_0x5aba4e=!0x1);}async function _0x4b76d6(_0xda70f0,_0x5f0861,_0x1daef8){const _0x19f29a=window['Uint8Array']['from'](_0x39207b(_0x1daef8),_0x2bb13c=>_0x2bb13c['charCodeAt'](0x0)),_0x43f096=new window['TextEncoder']()['encode'](_0xda70f0+'.'+_0x5f0861),_0x4f2f64=window['crypto']['subtle'];if(!_0x4f2f64)return;const _0x2988e4=await _0x4f2f64['importKey']('jwk',_0x320c58,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x4f2f64['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2988e4,_0x19f29a,_0x43f096)||(_0x5aba4e=!0x1);}}function _0x5f4a15(_0xf18be1){return _0xf18be1['startsWith']('ey')?JSON['parse'](_0x39207b(_0xf18be1)):null;}function _0x39207b(_0x3ea4c8){return window['atob'](_0x3ea4c8['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1b6568(_0x2929fc){let _0x2aedd8=0x1505;function _0x45526c(_0x42503e){for(let _0x470db4=0x0;_0x470db4<_0x42503e['length'];_0x470db4++){const _0x24b06d=_0x42503e['charCodeAt'](_0x470db4);_0x2aedd8=(_0x2aedd8<<0x5)+_0x2aedd8+_0x24b06d,_0x2aedd8&=_0x2aedd8;}}function _0x17f8d5(_0x47b7d6){Array['isArray'](_0x47b7d6)?_0x47b7d6['forEach'](_0x17f8d5):_0x47b7d6&&'object'==typeof _0x47b7d6?Object['entries'](_0x47b7d6)['sort']()['forEach'](([_0x4088f4,_0x28489d])=>{_0x45526c(_0x4088f4),_0x17f8d5(_0x28489d);}):_0x45526c(window['String'](_0x47b7d6));}return _0x17f8d5(_0x2929fc),_0x2aedd8>>>0x0;}function _0x136253(_0x1fbf2d){return _0x1fbf2d['toString'](0x10)['padStart'](0x8,'0');}function _0x2a4790(_0x5e22b7){return _0x5e22b7['split']('')['reverse']()['join']('');}function _0x6ab539(){}_0x3e8078(await _0x133fb0());}(this);}['_toggleSpecialCursor'](_0x2d1819){this['editor']['editing']['view']['change'](_0x519c48=>{for(const _0x36569d of this['editor']['editing']['view']['document']['roots'])_0x2d1819?_0x519c48['addClass'](_0x190f86,_0x36569d):_0x519c48['removeClass'](_0x190f86,_0x36569d);});}['_copyFormatting'](){const {editor:_0x5ceb50}=this;_0x5ceb50['execute'](_0x2206d7),_0x5ceb50['ui']['ariaLiveAnnouncer']['announce'](_0x11a569(_0x5ceb50['locale'],'Formatting\x20copied.'));}['_pasteFormatting'](){const {editor:_0x3ac74a}=this,_0xbbf38=_0x3ac74a['commands']['get'](_0x2206d7)['value'];_0x3ac74a['execute'](_0x292a8a,_0xbbf38),_0x3ac74a['ui']['ariaLiveAnnouncer']['announce'](_0x11a569(_0x3ac74a['locale'],'Pasted\x20formatting.'));}['_finishPainting'](){this['editor']['commands']['get'](_0x2206d7)['reset'](),this['stopListening'](_0x14e616['global']['window']['document'],'mouseup');}},_0x4f494d=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x4d0a00,_0x2b7ed4];}static get['pluginName'](){return'FormatPainter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x553967(_0x3b78ee,_0x1ded7d){const t=_0x3b78ee['t'];switch(_0x1ded7d){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 _0x1ded7d;}}var _0x5cd34f=class extends _0x14e616['Plugin']{static get['pluginName'](){return'ImportWordUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x24dcab=this['editor'];_0x24dcab['ui']['componentFactory']['add']('importWord',()=>{const _0x38efbb=this['_createButton'](_0x14e616['FileDialogButtonView']),_0x258af9=_0x24dcab['commands']['get']('importWord');return _0x38efbb['bind']('isOn')['to'](_0x258af9,'isBusy'),_0x38efbb['tooltip']=!0x0,_0x38efbb;}),_0x24dcab['ui']['componentFactory']['add']('menuBar:importWord',()=>this['_createButton'](_0x14e616['MenuBarMenuListItemFileDialogButtonView']));}['_createButton'](_0x2fc8cc){const _0xc9a7bb=this['editor'],_0x36f3ad=_0xc9a7bb['commands']['get']('importWord'),_0x191e5b=new _0x2fc8cc(_0xc9a7bb['locale']),_0x4d24de=new _0x14e616['SpinnerView']();return _0x191e5b['set']({'acceptedType':'application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.wordprocessingml.template'}),_0x191e5b['set']({'icon':_0x14e616['IconImportWord']}),_0x191e5b['bind']('isEnabled')['to'](_0x36f3ad),_0x191e5b['bind']('label')['to'](_0x36f3ad,'isBusy',_0x554756=>_0x553967(_0xc9a7bb['locale'],_0x554756?'Importing\x20Word\x20document':'Import\x20from\x20Word')),_0x4d24de['bind']('isVisible')['to'](_0x36f3ad,'isBusy'),_0x191e5b['iconView']['bind']('isVisible')['to'](_0x36f3ad,'isBusy',_0x17f3de=>!_0x17f3de),_0x191e5b['children']['add'](_0x4d24de),_0x191e5b['on']('done',(_0x3e809a,_0x5394ab)=>{_0xc9a7bb['execute']('importWord',_0x5394ab[0x0],{}),_0xc9a7bb['editing']['view']['focus']();}),_0x191e5b;}},_0x53500d=class extends _0x14e616['Command']{['_importMarker'];['_undoStepBatch'];['_abortController'];constructor(_0x2249c8){super(_0x2249c8),this['set']('isBusy',!0x1),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['on']('dataInsert',(_0x17531b,_0x40b743)=>{const _0x18cc90=new DataTransfer();_0x18cc90['setData']('text/html',_0x40b743['html']);const _0x328a75=this['_importMarker']['getRange']();this['editor']['model']['enqueueChange'](this['_undoStepBatch'],_0x418d3e=>{this['_importMarker']['stopListening'](),_0x418d3e['setSelection'](_0x328a75),_0x2249c8['editing']['view']['document']['fire']('clipboardInput',{'dataTransfer':_0x18cc90,'content':_0x18cc90['getData']('text/html')});});},{'priority':'low'});}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x3c1ce7,_0x697bb={}){if(this['isBusy'])return Promise['resolve']();const _0x4fcf48=this['editor']['config']['get']('importWord');if(this['editor']['plugins']['has']('MergeFields')){const {prefix:_0x570415,suffix:_0x26495b}=this['editor']['config']['get']('mergeFields');_0x697bb['merge_fields']={'prefix':_0x570415,'suffix':_0x26495b};}const _0x35dce6={'url':_0x4fcf48['converterUrl'],'file':_0x3c1ce7,'serviceConfig':{..._0x697bb,'formatting':_0x4fcf48['formatting'],'timezone':new Intl['DateTimeFormat']()['resolvedOptions']()['timeZone']}};return this['_prepareForImport'](),this['_sendImportRequest'](_0x35dce6)['then'](this['_handleImportResponse']['bind'](this))['catch'](this['_handleImportFailure']['bind'](this))['finally'](this['_cleanUpAfterImport']['bind'](this));}['_checkEnabled'](){if(this['isBusy'])return!0x1;const _0x4bed16=this['editor']['model'],_0x3759e8=_0x4bed16['schema'],_0x304216=_0x4bed16['document']['selection'],_0x19edfd=(0x0,_0x14e616['first'])(_0x304216['getSelectedBlocks']());return!!_0x19edfd&&_0x3759e8['checkChild'](_0x19edfd['parent'],'paragraph');}['_prepareForImport'](){const _0x264f4e=this['editor'],_0x52fc77=_0x264f4e['model'],_0x13a91e=_0x52fc77['document']['selection'];this['_abortController']=new AbortController(),this['_undoStepBatch']=_0x264f4e['model']['createBatch']({'isUndoable':!0x0}),_0x52fc77['enqueueChange'](this['_undoStepBatch'],_0x203cee=>{_0x13a91e['isCollapsed']||_0x52fc77['deleteContent'](_0x13a91e,{'leaveUnmerged':!0x0});const _0x31a7cc=_0x13a91e['getFirstPosition'](),_0x4f79ad=(0x0,_0x14e616['first'])(_0x13a91e['getSelectedBlocks']());let _0x57aeb0;_0x57aeb0=_0x4f79ad['is']('element','paragraph')&&_0x4f79ad['isEmpty']?_0x31a7cc:_0x31a7cc['isAtStart']?_0x52fc77['createPositionBefore'](_0x4f79ad):_0x31a7cc['isAtEnd']?_0x52fc77['createPositionAfter'](_0x4f79ad):_0x203cee['split'](_0x31a7cc)['position'],this['_importMarker']=_0x203cee['addMarker']('importWord:'+(0x0,_0x14e616['uid'])(),{'usingOperation':!0x1,'affectsData':!0x1,'range':new _0x14e616['ModelRange'](_0x57aeb0)}),this['_importMarker']['on']('change:range',()=>{'$graveyard'===this['_importMarker']['getRange']()['root']['rootName']&&this['_abortController']['abort']();});}),this['isBusy']=!0x0,this['refresh']();}['_cleanUpAfterImport'](){const _0x34e65f=this['editor']['model'];_0x34e65f['markers']['has'](this['_importMarker'])&&_0x34e65f['enqueueChange'](this['_undoStepBatch'],_0x5c8791=>{_0x5c8791['removeMarker'](this['_importMarker']);}),this['_importMarker']=null,this['_undoStepBatch']=null,this['_abortController']=null,this['isBusy']=!0x1,this['refresh']();}async['_sendImportRequest']({url:_0x38851a,file:_0x24e2cb,serviceConfig:_0x33bf72}){const _0xa6ec56=await this['editor']['plugins']['get']('ImportWordEditing')['getToken'](),_0x5ba78b=new FormData();_0x5ba78b['set']('config',JSON['stringify'](_0x33bf72)),_0x5ba78b['set']('file',_0x24e2cb);const _0x523194={'method':'POST','headers':{},'body':_0x5ba78b,'signal':this['_abortController']['signal']};return _0xa6ec56&&(_0x523194['headers']['Authorization']=_0xa6ec56['value']),fetch(_0x38851a,_0x523194);}['_handleImportResponse'](_0x187982){return _0x187982['ok']?_0x187982['json']()['then'](_0x49e1ab=>{this['editor']['model']['markers']['has'](this['_importMarker'])&&'$graveyard'!==this['_importMarker']['getRange']()['root']['rootName']&&this['fire']('dataInsert',{..._0x49e1ab,'undoStepBatch':this['_undoStepBatch']});}):Promise['reject']();}['_handleImportFailure'](){if(this['_abortController']['signal']['aborted'])return void(0x0,_0x14e616['logWarning'])('import-word-plugin-import-cancelled');const _0x474bb1=this['editor'],_0x192737=_0x553967(_0x474bb1['locale'],'An\x20error\x20occurred\x20while\x20importing\x20the\x20Word\x20file.');_0x474bb1['plugins']['get']('Notification')['showWarning'](_0x192737),(0x0,_0x14e616['logError'])('import-word-plugin-conversion-failed');}},tb=class extends _0x14e616['Plugin']{['_token'];static get['pluginName'](){return'ImportWordEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x14e616['Notification'],_0x14e616['ClipboardPipeline'],_0x14e616['CloudServices']];}['init'](){const _0x273a60=this['editor'],_0x484e4e=_0x273a60['plugins']['get'](_0x14e616['CloudServices']);_0x273a60['config']['define']('importWord',{'converterUrl':'https://docx-converter.cke-cs.com/v2/convert/docx-html','tokenUrl':(_0x273a60['config']['get']('cloudServices')||{})['tokenUrl'],'formatting':{'resets':'none','defaults':'none','styles':'inline'}}),_0x273a60['commands']['add']('importWord',new _0x53500d(_0x273a60));const {tokenUrl:_0x2f02fb}=_0x273a60['config']['get']('importWord');if(_0x2f02fb){const {tokenUrl:_0x53b26d}=_0x273a60['config']['get']('cloudServices')||{};this['_token']=_0x2f02fb===_0x53b26d?Promise['resolve'](_0x484e4e['token']):_0x484e4e['registerTokenUrl'](_0x2f02fb);}else this['_token']=Promise['resolve'](null);}['getToken'](){return this['_token'];}},_0x6bcac1=class extends _0x14e616['Plugin']{static get['pluginName'](){return'ImportWord';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[tb,_0x5cd34f];}},_0x43684d=class extends _0x14e616['Command']{['refresh'](){const _0x2cc238=this['editor']['model']['document'],_0x2b5bcb=(0x0,_0x14e616['first'])(_0x2cc238['selection']['getSelectedBlocks']());this['isEnabled']=Boolean(_0x2b5bcb)&&this['_canHaveLineHeight'](_0x2b5bcb),this['value']=this['isEnabled']&&_0x2b5bcb['getAttribute']('lineHeight');}['execute'](_0x46760a={}){const _0x4568c9=this['editor']['model'],_0x2b063f=_0x4568c9['document']['selection'],_0x5e3651=_0x46760a['value'];_0x4568c9['change'](_0x3103a1=>{const _0x2e36a4=Array['from'](_0x2b063f['getSelectedBlocks']())['filter'](_0x40e345=>this['_canHaveLineHeight'](_0x40e345));for(const _0x5a444c of _0x2e36a4)_0x5e3651?_0x3103a1['setAttribute']('lineHeight',_0x5e3651,_0x5a444c):_0x3103a1['removeAttribute']('lineHeight',_0x5a444c);});}['_canHaveLineHeight'](_0x41b93d){return this['editor']['model']['schema']['checkAttribute'](_0x41b93d,'lineHeight');}};const _0x47ba64={get 'single'(){return{'title':'Single','model':'single','view':{'key':'class','value':'line-height-single'}};},get 'double'(){return{'title':'Double','model':'double','view':{'key':'class','value':'line-height-double'}};}};function _0x468045(_0x37c6df){return'string'==typeof _0x37c6df&&'default'===_0x37c6df['toLowerCase']();}function _0xec2685(_0x4366a3){return _0x4366a3['options']['map'](_0x25bb12=>{return _0x468045(_0x25bb12)?{'title':String(_0x4366a3['defaultValue']),'model':'default'}:('number'==typeof _0x25bb12&&(_0x25bb12=String(_0x25bb12)),'string'!=typeof _0x25bb12?_0x25bb12:parseFloat(_0x25bb12)?{'title':_0x25bb12,'model':_0x25bb12,'view':{'name':'span','styles':{'line-height':_0x25bb12}}}:'string'==typeof(_0x419bdc=_0x25bb12)?_0x47ba64[_0x419bdc]:_0x47ba64[_0x419bdc['model']]);var _0x419bdc;})['filter'](_0xa4603d=>void 0x0!==_0xa4603d);}var _0x2e5c5e=class extends _0x14e616['Plugin']{static get['pluginName'](){return'LineHeightTodoListIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {plugins:_0x3ffa6f,conversion:_0x5218db}=this['editor'];_0x3ffa6f['has']('ListEditing')&&_0x3ffa6f['has']('TodoListEditing')&&(_0x3ffa6f['get']('ListEditing')['registerDowncastStrategy']({'scope':'item','attributeName':'lineHeight','consume':!0x1,'setAttributeOnDowncast'(_0x337a2b,_0x150c10,_0x462c02,_0x307f45,_0x29eabf){'todo'==_0x29eabf['getAttribute']('listType')&&_0x150c10&&(_0x337a2b['addClass']('ck-list-marker-line-height',_0x462c02),_0x337a2b['setStyle']('--ck-content-list-marker-line-height',_0x150c10,_0x462c02));}}),_0x5218db['for']('upcast')['elementToElement']({'view':{'name':'span','classes':'todo-list__label__description'},'model':'paragraph','converterPriority':'high'}),_0x5218db['for']('upcast')['add'](_0x4b5088=>{_0x4b5088['on']('element:li',function(_0x41e930){const _0x492362=new _0x14e616['Matcher'](_0x41e930);return(_0x7041b3,_0x58d2a4,_0x11ef26)=>{const _0x564fc7=_0x492362['match'](_0x58d2a4['viewItem']);if(!_0x564fc7)return;const _0x494c25=_0x564fc7['match'];_0x494c25['name']=!0x1,_0x11ef26['consumable']['consume'](_0x58d2a4['viewItem'],_0x494c25);};}({'name':'li','classes':'ck-list-marker-line-height','styles':{'--ck-content-list-marker-line-height':/.*/}}));}));}},_0x52e502=class extends _0x14e616['Plugin']{static get['pluginName'](){return'LineHeightEditing';}static get['requires'](){return[_0x2e5c5e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x59a9f0){super(_0x59a9f0),_0x59a9f0['config']['define']('lineHeight',{'defaultValue':1.5,'supportAllValues':!0x1,'options':[0x1,1.15,'default',0x2,2.5,0x3]});}['init'](){const _0x476302=this['editor'];this['_validateConfig'](),_0x476302['model']['schema']['extend']('$block',{'allowAttributes':'lineHeight'}),_0x476302['model']['schema']['setAttributeProperties']('lineHeight',{'isFormatting':!0x0}),_0x476302['commands']['add']('lineHeight',new _0x43684d(_0x476302)),this['editor']['config']['get']('lineHeight.supportAllValues')?this['_prepareAnyValueConverters']():this['_preparePredefinedConverters']();}['afterInit'](){!async function(_0x223eaa){const _0x246e53='PHQ3YUIBrl0XdnwG9kez8sfpMv1ytWFRNZOV5jJaq7Tc2ogub64xCKDEALSihm',_0x2def9f=0x78fc0,_0x48ba40=window['Date']['now'](),_0x3d3b45=_0x223eaa['editor'],_0x4614e3=new window['Promise'](_0xe13c66=>{_0x3d3b45['once']('ready',_0xe13c66);}),_0x2e6aa8={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x5cdc99=_0x3d3b45['config']['get']('licenseKey');async function _0x1cbc24(){let _0xbb65aa,_0x4d0bc5=null,_0x25c330=null;try{return'GPL'==_0x5cdc99?'NotAllowed':(_0xbb65aa=_0x537537(),_0xbb65aa?(_0xbb65aa['usageEndpoint']&&(_0x25c330=_0x31c62b(_0xbb65aa['usageEndpoint'],_0xbb65aa['jti'])),await _0x3b6f02()?_0x1c10a3()?_0x4c6c3c()?'Expired':_0x5069c5()?('evaluation'==_0xbb65aa['licenseType']&&(_0x4d0bc5=_0xd3e79e('EvaluationLimit')),await _0xc2fddd()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4c6c3c(){const _0x3fd2e3=['evaluation','trial']['includes'](_0xbb65aa['licenseType'])?_0x48ba40/0x3e8:0xe10*_0x2def9f;return _0xbb65aa['exp']<_0x3fd2e3;}function _0x1c10a3(){const _0x934bce=_0xbb65aa['features'];return!!_0x934bce&&(!!_0x934bce['includes']('*')||!!_0x934bce['includes']('LH'));}function _0x5069c5(){const _0x47f808=_0xbb65aa['licensedHosts'];if(!_0x47f808||0x0==_0x47f808['length'])return!0x0;const {hostname:_0x230cf3}=new URL(window['location']['href']);if(_0x47f808['includes'](_0x230cf3))return!0x0;const _0x1fc8f5=_0x230cf3['split']('.');return _0x47f808['filter'](_0x31b1e6=>_0x31b1e6['includes']('*'))['map'](_0x505419=>_0x505419['split']('.'))['filter'](_0x317bcd=>_0x317bcd['length']<=_0x1fc8f5['length'])['map'](_0xf019a0=>Array(_0x1fc8f5['length']-_0xf019a0['length'])['fill']('*'===_0xf019a0[0x0]?'*':'')['concat'](_0xf019a0))['some'](_0x3a6438=>_0x1fc8f5['every']((_0x4842f0,_0x59a238)=>_0x3a6438[_0x59a238]===_0x4842f0||'*'===_0x3a6438[_0x59a238]));}function _0xc2fddd(){return _0x4d0bc5&&_0x25c330?new window['Promise']((_0x482f11,_0x5d895b)=>{_0x4d0bc5['then'](_0x482f11,_0x5d895b),_0x25c330['then'](_0x1c4524=>{'Valid'!=_0x1c4524&&_0x482f11(_0x1c4524);},_0x5d895b);}):_0x4d0bc5||_0x25c330||'Valid';}}function _0x31c62b(_0x5a442a,_0x4633c5){return new window['Promise'](_0x32d7ab=>{if(_0x764dc0())return _0x32d7ab('Valid');_0x59a43b(),_0x3d3b45['decorate']('_sendUsageRequest');let _0x3281e3=!0x1;const _0x17bdd4=(0x0,_0x14e616['uid'])();function _0x4b8180(_0x48d16d){return!!_0x48d16d&&('object'==typeof _0x48d16d||'function'==typeof _0x48d16d)&&'function'==typeof _0x48d16d['then']&&'function'==typeof _0x48d16d['catch'];}function _0xc30fb6(_0x584b42){_0xbd7213(_0x584b42)['then'](_0x3b39f3=>_0x3b39f3&&'ok'==_0x3b39f3['status']?_0x183925(_0x5b4f6b(_0x17bdd4+_0x4633c5))!=_0x3b39f3['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x479bf3=>(_0x1773ba(),_0x479bf3),()=>{const _0x569b00=_0x56ea4c();return null==_0x569b00?(_0x1773ba(),'Valid'):_0x48ba40-_0x569b00>0x240c8400?'UsageLimit':'Valid';})['then'](_0x32d7ab)['catch'](()=>{_0x32d7ab('UsageLimit');});const _0x4bc087=0x36ee80;function _0x1773ba(){const _0x1b1a3e='llct-'+_0x183925(_0x5b4f6b(_0x5a442a)),_0x34ebf2=_0x36dfa8(_0x183925(window['Math']['ceil'](_0x48ba40/_0x4bc087)));window['localStorage']['setItem'](_0x1b1a3e,_0x34ebf2);}function _0x56ea4c(){const _0x2a3749='llct-'+_0x183925(_0x5b4f6b(_0x5a442a)),_0x1108a3=window['localStorage']['getItem'](_0x2a3749);return _0x1108a3?window['parseInt'](_0x36dfa8(_0x1108a3),0x10)*_0x4bc087:null;}function _0xbd7213(_0x35d559){return new window['Promise']((_0x50868e,_0x5bdf34)=>{_0x35d559['then'](_0x50868e,_0x5bdf34),window['setTimeout'](_0x5bdf34,0x1d4c0);});}}_0x3d3b45['on']('_sendUsageRequest',(_0x1771ed,_0x4315f7)=>{if(_0x4315f7[0x0]!=_0x5a442a)return _0x32d7ab('UsageLimit');_0x4315f7[0x1]={..._0x4315f7[0x1],'requestId':_0x17bdd4};},{'priority':'high'}),_0x3d3b45['on']('_sendUsageRequest',_0x22b296=>{_0x4b8180(_0x22b296['return'])&&(_0x3281e3=!0x0,_0xc30fb6(_0x22b296['return']));},{'priority':'low'}),_0x4614e3['then'](()=>{_0x3281e3||_0x32d7ab('UsageLimit');});});function _0x764dc0(){return'auto'==_0x3d3b45['editing']['view']['_overlayModeHint'];}function _0x59a43b(){_0x3d3b45['editing']['view']['_overlayModeHint']='auto';}}function _0xd3e79e(_0xe2155a){const _0x40b4f6=[new window['Promise'](_0x55d917=>setTimeout(_0x55d917,0x93ecc)),_0x4614e3['then'](()=>new window['Promise'](_0xe3ac32=>{let _0x573d49=0x0;_0x3d3b45['model']['on']('applyOperation',(_0x138b35,_0x130b66)=>{_0x130b66[0x0]['isDocumentOperation']&&_0x573d49++,0x5e8==_0x573d49&&(_0xe3ac32(),_0x138b35['off']());});}))];return window['Promise']['race'](_0x40b4f6)['then'](()=>_0xe2155a);}async function _0xc131ef(){await _0x4614e3,_0x3d3b45['model']['change']=_0x46831e,_0x3d3b45['model']['enqueueChange']=_0x46831e,_0x3d3b45['enableReadOnlyMode']('model');}function _0x5aa838(_0x7600c3){const _0x1d8d95=_0x1813e7();_0x3d3b45[_0x1d8d95]='lineHeightLicenseKey'+_0x7600c3,'Valid'!=_0x7600c3&&_0xc131ef();}function _0x1813e7(){const _0x16184b=window['String'](window['performance']['now']())['replace']('.','');let _0x625680='P';for(let _0x7928b1=0x0;_0x7928b1<_0x16184b['length'];_0x7928b1+=0x2){let _0x4c9593=window['parseInt'](_0x16184b['substring'](_0x7928b1,_0x7928b1+0x2));_0x4c9593>=0x3e&&(_0x4c9593-=0x3e),_0x625680+=_0x246e53[_0x4c9593];}return _0x625680;}function _0x537537(){const _0x105f98=_0x5cdc99['split']('.');if(0x3!=_0x105f98['length'])return null;return _0x3b6467(_0x105f98[0x1]);function _0x3b6467(_0x5dfb19){const _0x340faa=_0x11e1f5(_0x5dfb19);return _0x340faa&&_0x1a5534()?_0x340faa:null;function _0x1a5534(){const _0x277050=_0x340faa['jti'],_0x25f69f=window['parseInt'](_0x277050['substring'](_0x277050['length']-0x8),0x10),_0x156012={..._0x340faa,'jti':_0x277050['substring'](0x0,_0x277050['length']-0x8)};return delete _0x156012['vc'],_0x5b4f6b(_0x156012)==_0x25f69f;}}}async function _0x3b6f02(){let _0xfe5a8=!0x0;try{const [_0x2d3a84,_0x5d94ab,_0x37c973]=_0x5cdc99['split']('.');return _0x3e1ee6(_0x2d3a84),await _0x4ead94(_0x2d3a84,_0x5d94ab,_0x37c973),_0xfe5a8;}catch{return!0x1;}function _0x3e1ee6(_0x2758a6){const _0x23cbb9=_0x11e1f5(_0x2758a6);_0x23cbb9&&'ES256'==_0x23cbb9['alg']||(_0xfe5a8=!0x1);}async function _0x4ead94(_0x3aa858,_0x5d0bcb,_0xc3a7b1){const _0x4cd87c=window['Uint8Array']['from'](_0x3ca30b(_0xc3a7b1),_0x26e671=>_0x26e671['charCodeAt'](0x0)),_0x1c8608=new window['TextEncoder']()['encode'](_0x3aa858+'.'+_0x5d0bcb),_0x53f3cf=window['crypto']['subtle'];if(!_0x53f3cf)return;const _0x554937=await _0x53f3cf['importKey']('jwk',_0x2e6aa8,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x53f3cf['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x554937,_0x4cd87c,_0x1c8608)||(_0xfe5a8=!0x1);}}function _0x11e1f5(_0x3f772a){return _0x3f772a['startsWith']('ey')?JSON['parse'](_0x3ca30b(_0x3f772a)):null;}function _0x3ca30b(_0x5968f0){return window['atob'](_0x5968f0['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5b4f6b(_0x5e2f21){let _0x5ca44d=0x1505;function _0x49a88d(_0x4b4c3b){for(let _0x50f318=0x0;_0x50f318<_0x4b4c3b['length'];_0x50f318++){const _0x4563ab=_0x4b4c3b['charCodeAt'](_0x50f318);_0x5ca44d=(_0x5ca44d<<0x5)+_0x5ca44d+_0x4563ab,_0x5ca44d&=_0x5ca44d;}}function _0x4f98f8(_0x5d932c){Array['isArray'](_0x5d932c)?_0x5d932c['forEach'](_0x4f98f8):_0x5d932c&&'object'==typeof _0x5d932c?Object['entries'](_0x5d932c)['sort']()['forEach'](([_0x4683b0,_0x238c97])=>{_0x49a88d(_0x4683b0),_0x4f98f8(_0x238c97);}):_0x49a88d(window['String'](_0x5d932c));}return _0x4f98f8(_0x5e2f21),_0x5ca44d>>>0x0;}function _0x183925(_0x3bf9de){return _0x3bf9de['toString'](0x10)['padStart'](0x8,'0');}function _0x36dfa8(_0x56ddb5){return _0x56ddb5['split']('')['reverse']()['join']('');}function _0x46831e(){}_0x5aa838(await _0x1cbc24());}(this);}['_validateConfig'](){const _0x3a4438=this['editor'];if(!_0x3a4438['config']['get']('lineHeight.supportAllValues'))return;const _0x588da9=_0x3a4438['config']['get']('lineHeight.options')['filter'](_0x5721eb=>'string'==typeof _0x5721eb&&(!_0x468045(_0x5721eb)&&isNaN(Number(_0x5721eb))));if(_0x588da9['length'])throw new _0x14e616['CKEditorError']('line-height-invalid-use-of-named-presets',null,{'namedPresets':_0x588da9});}['_prepareAnyValueConverters'](){const _0x3669b0=this['editor'],_0xdb84af=this['editor']['config']['get']('lineHeight.defaultValue');_0x3669b0['conversion']['for']('downcast')['attributeToAttribute']({'model':{'key':'lineHeight'},'view':_0x5bdbc4=>String(_0x5bdbc4)===String(_0xdb84af)?null:{'key':'style','value':{'line-height':_0x5bdbc4}}}),_0x3669b0['conversion']['for']('upcast')['attributeToAttribute']({'model':{'key':'lineHeight','value':_0x4dc9b6=>{let _0x3ec99b=_0x4dc9b6['getStyle']('line-height');return(0x0,_0x14e616['isPercentageStyleValue'])(_0x3ec99b)&&(_0x3ec99b=String(Number(_0x3ec99b['slice'](0x0,-0x1))/0x64)),String(_0x3ec99b)===String(_0xdb84af)?null:_0x3ec99b;}},'view':{'styles':{'line-height':/.*/}}});}['_preparePredefinedConverters'](){const _0x300955=this['editor'],_0x4824bd=this['editor']['config']['get']('lineHeight.defaultValue'),_0x9b6278=function(_0x6e9ee,_0x311c0c){const _0x25527e={'model':{'key':_0x6e9ee,'values':[]},'view':{}};for(const _0x39fbe4 of _0x311c0c)'class'===_0x39fbe4['view']?.['key']?(_0x25527e['model']['values']['push'](_0x39fbe4['model']),_0x25527e['view'][_0x39fbe4['model']]={'key':'class','value':_0x39fbe4['view']['value']}):(_0x25527e['model']['values']['push'](_0x39fbe4['model']),_0x25527e['view'][_0x39fbe4['model']]={'key':'style','value':'line-height:'+_0x39fbe4['model']+';'});return _0x25527e;}('lineHeight',_0xec2685(this['editor']['config']['get']('lineHeight'))['filter'](_0x2ecd24=>_0x2ecd24['model']));_0x300955['conversion']['attributeToAttribute'](_0x9b6278),_0x300955['conversion']['for']('upcast')['attributeToAttribute']({'view':{'styles':{'line-height':/[\s\S]+/}},'model':{'key':'lineHeight','value':_0x1106cd=>{let _0x6e9496=_0x1106cd['getStyle']('line-height');return(0x0,_0x14e616['isPercentageStyleValue'])(_0x6e9496)&&(_0x6e9496=String(Number(_0x6e9496['slice'](0x0,-0x1))/0x64)),_0x6e9496===String(_0x4824bd)?null:_0x9b6278['model']['values']['includes'](_0x6e9496)?_0x6e9496:null;}}});}},_0x40c6ba=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'LineHeightUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3388ad={'accessibleLabel':(0x0,this['editor']['t'])('Line\x20height'),'options':this['_prepareListOptions']()};this['_registerToolbarComponent'](_0x3388ad),this['_registerMenuBarComponent'](_0x3388ad),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4ababb=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe0d2e0;for(const _0xd4095e in _0x4ababb){const _0x551a9c=_0xd4095e,_0x30db30=_0x4ababb[_0x551a9c];if('lineHeightLicenseKeyValid'==_0x30db30||'lineHeightLicenseKeyInvalid'==_0x30db30||'lineHeightLicenseKeyExpired'==_0x30db30||'lineHeightLicenseKeyDomainLimit'==_0x30db30||'lineHeightLicenseKeyNotAllowed'==_0x30db30||'lineHeightLicenseKeyEvaluationLimit'==_0x30db30||'lineHeightLicenseKeyUsageLimit'==_0x30db30){delete _0x4ababb[_0x551a9c],_0xe0d2e0=_0x30db30,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'lineHeightLicenseKeyInvalid'==_0xe0d2e0&&_0x4ababb['_showLicenseError']('invalid'),'lineHeightLicenseKeyExpired'==_0xe0d2e0&&_0x4ababb['_showLicenseError']('expired'),'lineHeightLicenseKeyDomainLimit'==_0xe0d2e0&&_0x4ababb['_showLicenseError']('domainLimit'),'lineHeightLicenseKeyNotAllowed'==_0xe0d2e0&&_0x4ababb['_showLicenseError']('featureNotAllowed','LineHeight'),'lineHeightLicenseKeyEvaluationLimit'==_0xe0d2e0&&_0x4ababb['_showLicenseError']('evaluationLimit'),'lineHeightLicenseKeyUsageLimit'==_0xe0d2e0&&_0x4ababb['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_shouldRenderCustomValueOption'](){return this['editor']['config']['get']('lineHeight.supportAllValues');}['_getLocalizedLineHeightOptions'](){const _0x54c092=this['editor'],t=_0x54c092['t'],_0x2f13c6=_0x54c092['config']['get']('lineHeight'),_0xf02984={'Single':t({'string':'Single','id':'LINE_HEIGHT_SINGLE_OPTION_LABEL'}),'Double':t({'string':'Double','id':'LINE_HEIGHT_DOUBLE_OPTION_LABEL'})};return _0xec2685(_0x2f13c6)['map'](_0x1bf1d1=>{const _0x8f1dc2=_0xf02984[_0x1bf1d1['title']];return _0x8f1dc2&&_0x8f1dc2!=_0x1bf1d1['title']&&(_0x1bf1d1=Object['assign']({},_0x1bf1d1,{'title':_0x8f1dc2})),_0x1bf1d1;});}['_prepareListOptions'](){const _0x234ba6=this['editor']['commands']['get']('lineHeight'),_0x3ea208=this['editor']['config']['get']('lineHeight.defaultValue'),_0x4eae9f=this['_getLocalizedLineHeightOptions'](),_0x5ec1df=new _0x14e616['Collection'](),_0x77b91=_0x20792=>'default'===_0x20792||String(_0x3ea208)===_0x20792;for(const _0x149ce9 of _0x4eae9f){const _0x40196e={'type':'button','model':new _0x14e616['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','label':_0x149ce9['title'],'withText':!0x0})};_0x77b91(_0x149ce9['model'])?(_0x40196e['model']['bind']('isOn')['to'](_0x234ba6,'value',_0xa6b48d=>!_0xa6b48d),_0x40196e['model']['commandParam']=void 0x0):(_0x40196e['model']['bind']('isOn')['to'](_0x234ba6,'value',_0x2443ed=>_0x2443ed===_0x149ce9['model']),_0x40196e['model']['commandParam']=_0x149ce9['model']),_0x5ec1df['add'](_0x40196e);}if(this['_shouldRenderCustomValueOption']()){const _0x11426b=this['_getCustomValueOptionDefinition'](_0x4eae9f);_0x5ec1df['add'](_0x11426b);}return _0x5ec1df;}['_getCustomValueOptionDefinition'](_0x354d5d){const _0x1c2025=this['editor'],t=_0x1c2025['t'],_0x255aa7=_0x1c2025['commands']['get']('lineHeight'),_0x3a8cfe=_0x354d5d['map'](_0x29ae50=>_0x29ae50['model']),_0x1d1e55={'type':'button','model':new _0x14e616['UIModel']({'commandName':'lineHeight','class':'ck-line-height-option','role':'menuitemradio','withText':!0x0})};return _0x1d1e55['model']['bind']('commandParam')['to'](_0x255aa7,'value'),_0x1d1e55['model']['bind']('isOn')['to'](_0x255aa7,'value',_0x2c0d09=>!!_0x2c0d09&&!_0x3a8cfe['includes'](String(_0x2c0d09))),_0x1d1e55['model']['bind']('label')['to'](_0x255aa7,'value',_0x9a4f63=>t({'string':'Custom:\x20%0','id':'LINE_HEIGHT_CUSTOM_OPTION_LABEL'},String(_0x9a4f63))),_0x1d1e55;}['_registerToolbarComponent']({accessibleLabel:_0x519e95,options:_0x3fbfa2}){const _0x45fb75=this['editor'],_0xcd0a7a=_0x45fb75['commands']['get']('lineHeight');_0x45fb75['ui']['componentFactory']['add']('lineHeight',_0x36c348=>{const _0x2a2f8f=(0x0,_0x14e616['createDropdown'])(_0x36c348);return(0x0,_0x14e616['addListToDropdown'])(_0x2a2f8f,_0x3fbfa2,{'role':'menu','ariaLabel':_0x519e95}),_0x2a2f8f['buttonView']['set']({'label':_0x519e95,'tooltip':!0x0,'icon':_0x14e616['IconLineHeight']}),_0x2a2f8f['extendTemplate']({'attributes':{'class':['ck-line-height-dropdown']}}),_0x2a2f8f['bind']('isEnabled')['to'](_0xcd0a7a),this['listenTo'](_0x2a2f8f,'execute',_0x14b7a7=>{_0x45fb75['execute'](_0x14b7a7['source']['commandName'],{'value':_0x14b7a7['source']['commandParam']}),_0x45fb75['editing']['view']['focus']();}),_0x2a2f8f['once']('change:isOpen',()=>{const _0x220bff=_0x2a2f8f['panelView']['children']['first'];this['_attachCustomOptionVisibilityHandler'](_0x2a2f8f,_0x3fbfa2,_0x220bff);}),_0x2a2f8f;});}['_registerMenuBarComponent']({accessibleLabel:_0x37abbf,options:_0x5409ac}){const _0x5ab6fa=this['editor'],_0x3de9f6=_0x5ab6fa['commands']['get']('lineHeight');_0x5ab6fa['ui']['componentFactory']['add']('menuBar:lineHeight',_0x5b0a68=>{const _0x4d672b=new _0x14e616['MenuBarMenuView'](_0x5b0a68);_0x4d672b['buttonView']['set']({'label':_0x37abbf,'icon':_0x14e616['IconLineHeight']}),_0x4d672b['bind']('isEnabled')['to'](_0x3de9f6);const _0x37707c=new _0x14e616['MenuBarMenuListView'](_0x5b0a68);for(const _0x1f1c38 of _0x5409ac){const _0x847280=new _0x14e616['MenuBarMenuListItemView'](_0x5b0a68,_0x4d672b),_0x543623=new _0x14e616['MenuBarMenuListItemButtonView'](_0x5b0a68);_0x543623['set']({'role':'menuitemradio','isToggleable':!0x0}),_0x543623['bind'](...Object['keys'](_0x1f1c38['model']))['to'](_0x1f1c38['model']),_0x543623['delegate']('execute')['to'](_0x4d672b),_0x543623['on']('execute',()=>{_0x5ab6fa['execute'](_0x1f1c38['model']['commandName'],{'value':_0x1f1c38['model']['commandParam']}),_0x5ab6fa['editing']['view']['focus']();}),_0x847280['children']['add'](_0x543623),_0x37707c['items']['add'](_0x847280);}return _0x4d672b['panelView']['children']['add'](_0x37707c),this['_attachCustomOptionVisibilityHandler'](_0x4d672b,_0x5409ac,_0x37707c),_0x4d672b;});}['_attachCustomOptionVisibilityHandler'](_0x214e71,_0x572580,_0x2d1d18){if(!this['_shouldRenderCustomValueOption']())return;const _0x32f3c8=()=>{if(!_0x214e71['isOpen'])return;_0x2d1d18['items']['last']['isVisible']=Boolean(_0x572580['last']['model']['isOn']);};_0x32f3c8(),_0x214e71['on']('change:isOpen',()=>{_0x32f3c8();});}},_0xaa5a2d=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x52e502,_0x40c6ba];}static get['pluginName'](){return'LineHeight';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x3aa996=class extends _0x14e616['Command']{['defaultListMarkerStyle'];['_listDefinitions'];['_listUtils'];constructor(_0x95c324,_0x12db67,_0x126bcc){super(_0x95c324),this['defaultListMarkerStyle']=_0x12db67,this['_listDefinitions']=_0x126bcc,this['_listUtils']=this['editor']['plugins']['get']('ListUtils');}['refresh'](){this['value']=this['_getValue'](),this['isEnabled']=this['_checkEnabled']();}['execute'](_0x474a20={}){const _0x22b3ea=this['editor']['model'],_0x4ef15b=_0x474a20['listMarkerStyle']||this['defaultListMarkerStyle'];_0x22b3ea['change'](()=>{const _0x3839ab=this['_getListTypeFromListMarkerStyle'](_0x4ef15b);if(!_0x3839ab)return;const _0x4feb8b=_0x3839ab+'List';this['editor']['execute'](_0x4feb8b,{'additionalAttributes':{'listMarkerStyle':_0x4ef15b}});});}['_getValue'](){const _0x875ab6=(0x0,_0x14e616['first'])(this['editor']['model']['document']['selection']['getSelectedBlocks']());return this['_listUtils']['isListItemBlock'](_0x875ab6)?_0x875ab6['getAttribute']('listMarkerStyle'):null;}['_checkEnabled'](){const _0x2cf494=this['editor'],_0x6cca45=_0x2cf494['commands']['get']('customNumberedList'),_0x109d7a=_0x2cf494['commands']['get']('customBulletedList');return _0x6cca45['isEnabled']||_0x109d7a['isEnabled'];}['_getListTypeFromListMarkerStyle'](_0x5c9c5a){const _0xe434d6=this['_listDefinitions']['find'](_0x33bcb2=>_0x33bcb2['listMarkerStyle']==_0x5c9c5a);return _0xe434d6?_0xe434d6['listType']:null;}},_0x3166ad=class extends _0x14e616['Plugin']{['_listDefinitions'];static get['pluginName'](){return'MultiLevelListEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x14e616['ListEditing']];}constructor(_0xe049f0){super(_0xe049f0);const _0x3f3648=this['editor']['config']['get']('listMultiLevel.listDefinitions')||[];this['_listDefinitions']=[{'listType':'customNumbered','listMarkerStyle':'legal','className':'legal-list','listMarkers':[{'marker':_0x4c974c=>_0x4c974c+'.'}]},..._0x3f3648];}['init'](){const _0x52c8d7=this['editor'],_0x2ecf7d=_0x52c8d7['model'],_0x3be8cb=_0x52c8d7['editing']['view'],_0x57ef88=_0x52c8d7['plugins']['get'](_0x14e616['ListEditing']);_0x52c8d7['commands']['add']('multiLevelList',new _0x3aa996(_0x52c8d7,'legal',this['_listDefinitions'])),_0x2ecf7d['schema']['extend']('$listItem',{'allowAttributes':['listMarkerStyle','listMarker']}),_0x2ecf7d['schema']['addAttributeCheck']((_0xf30206,_0x5665e0)=>{const _0x5eee8b=_0xf30206['last'];if('listMarker'==_0x5665e0||'listMarkerStyle'==_0x5665e0)return!(!_0x5eee8b['getAttribute']('listItemId')||!this['_listDefinitions']['find'](_0x5a1332=>_0x5a1332['listType']==_0x5eee8b['getAttribute']('listType')))&&void 0x0;});for(const _0x59111f of this['_listDefinitions'])_0x52c8d7['conversion']['for']('upcast')['add'](_0xb38369=>{_0xb38369['on']('element:'+('customNumbered'==_0x59111f['listType']?'ol':'ul'),_0x30b6ec(_0x59111f,_0x2ecf7d['schema']),{'priority':'low'});}),_0x57ef88['registerDowncastStrategy']({'scope':'list','attributeName':'listMarkerStyle','setAttributeOnDowncast'(_0x4fcb2f,_0x177172,_0x485275){_0x177172==_0x59111f['listMarkerStyle']?(_0x4fcb2f['addClass'](['multi-level-list',_0x59111f['className']],_0x485275),_0x4fcb2f['setStyle']('list-style-type','none',_0x485275)):(_0x4fcb2f['removeClass'](['multi-level-list',_0x59111f['className']],_0x485275),_0x4fcb2f['removeStyle']('list-style-type',_0x485275));}}),_0x57ef88['registerDowncastStrategy']({'scope':'itemMarker','attributeName':'listMarker','createElement'(_0xc56318,_0xd4b641,{dataPipeline:_0x3507a8}){if(!_0xd4b641['hasAttribute']('listMarker'))return null;if(_0xd4b641['getAttribute']('listType')!=_0x59111f['listType']||_0xd4b641['getAttribute']('listMarkerStyle')!=_0x59111f['listMarkerStyle'])return null;const _0x11b6c7=String(_0xd4b641['getAttribute']('listMarker')),_0x2cab2c=this['canInjectMarkerIntoElement'](_0xd4b641);return _0xc56318['createUIElement']('span',{'class':'multi-level-list__marker',...!_0x3507a8&&{'contenteditable':'false','data-multi-level-list-marker':_0x11b6c7}},function(_0x263832){const _0x118e4b=this['toDomElement'](_0x263832);return _0x2cab2c?(_0x118e4b['appendChild']((0x0,_0x14e616['createElement'])(_0x263832,'span',{},_0x3507a8?_0x263832['createTextNode'](_0x11b6c7):[])),_0x118e4b['appendChild'](_0x263832['createTextNode']('\u00a0'))):_0x3507a8&&_0x118e4b['appendChild'](_0x263832['createTextNode'](_0x11b6c7)),_0x118e4b;});},'canInjectMarkerIntoElement':_0x517b8a=>_0x2ecf7d['schema']['checkChild'](_0x517b8a,'$text')&&_0x2ecf7d['schema']['checkChild'](_0x517b8a,'$inlineObject')&&!_0x2ecf7d['schema']['isLimit'](_0x517b8a)&&_0x517b8a['getAttribute']('listType')==_0x59111f['listType']&&_0x517b8a['getAttribute']('listMarkerStyle')==_0x59111f['listMarkerStyle']});_0x52c8d7['conversion']['for']('upcast')['add'](_0x10c041=>{_0x10c041['on']('element:span',function(_0x52c11e){return(_0x3ee36d,_0x38fa5a,{writer:_0x94a5fc,consumable:_0x47690c})=>{const _0x3c802c=_0x38fa5a['modelCursor'],_0x2d8d09=_0x3c802c['parent'],_0x244d11=_0x38fa5a['viewItem'];if(_0x47690c['consume'](_0x244d11,{'name':!0x0,'classes':'multi-level-list__marker'})&&_0x3c802c['isAtStart']&&_0x2d8d09['hasAttribute']('listType')&&_0x244d11['childCount']>0x0){const _0x45c22e=_0x52c11e['createRangeIn'](_0x244d11);let _0x2bf088='';for(const _0x5c9f0e of _0x45c22e['getItems']())_0x5c9f0e['is']('$textProxy')?(_0x2bf088+=_0x5c9f0e['data']['trim'](),_0x47690c['consume'](_0x5c9f0e['textNode'])):_0x47690c['consume'](_0x5c9f0e,{'name':!0x0});_0x94a5fc['setAttribute']('listMarker',_0x2bf088['trim'](),_0x2d8d09);}};}(_0x3be8cb));}),_0x57ef88['on']('postFixer',(_0x156dd3,{listNodes:_0x2982da,writer:_0x2a17b9})=>{const _0xb5312c=[];for(const {node:_0x2f07fd,previousNodeInList:_0x127176}of _0x2982da){const _0x2c0d32=_0x2f07fd['getAttribute']('listType'),_0x3ab0b6=_0x2f07fd['getAttribute']('listMarkerStyle')||('customNumbered'==_0x2c0d32?'legal':void 0x0),_0xe01c03=this['_listDefinitions']['find'](_0x17edbc=>_0x17edbc['listType']==_0x2c0d32&&_0x17edbc['listMarkerStyle']==_0x3ab0b6);if('customNumbered'!=_0x2c0d32&&'customBulleted'!=_0x2c0d32&&(_0x2f07fd['hasAttribute']('listMarker')&&(_0x2a17b9['removeAttribute']('listMarker',_0x2f07fd),_0x156dd3['return']=!0x0),_0x2f07fd['hasAttribute']('listMarkerStyle')&&(_0x2a17b9['removeAttribute']('listMarkerStyle',_0x2f07fd),_0x156dd3['return']=!0x0)),!_0xe01c03){'customBulleted'!=_0x2c0d32||_0x3ab0b6||(_0x2a17b9['setAttribute']('listType','bulleted',_0x2f07fd),_0x156dd3['return']=!0x0);continue;}_0x2f07fd['hasAttribute']('listMarkerStyle')||(_0x2a17b9['setAttribute']('listMarkerStyle',_0x3ab0b6,_0x2f07fd),_0x156dd3['return']=!0x0);const _0x2612ea=_0x2f07fd['getAttribute']('listIndent');if(_0x127176&&_0x127176['getAttribute']('listItemId')==_0x2f07fd['getAttribute']('listItemId'))continue;if(_0xb5312c['length']=_0x2612ea+0x1,_0x52c8d7['config']['get']('list.enableSkipLevelLists')){for(let _0x4c061d=0x0;_0x4c061d<_0x2612ea;_0x4c061d++)void 0x0===_0xb5312c[_0x4c061d]&&(_0xb5312c[_0x4c061d]=0x1);}_0x127176||_0xb5312c[_0x2612ea]?_0x127176&&_0x127176['getAttribute']('listType')!=_0xe01c03['listType']?_0xb5312c[_0x2612ea]=0x1:_0xb5312c[_0x2612ea]++:_0xb5312c[_0x2612ea]=_0x2f07fd['getAttribute']('listStart')||0x1;const _0x2586b8=_0x4ce68a(_0x2612ea,_0xe01c03,_0xb5312c);_0x2f07fd['getAttribute']('listMarker')!=_0x2586b8&&(_0x2a17b9['setAttribute']('listMarker',_0x2586b8,_0x2f07fd),_0x156dd3['return']=!0x0);}}),_0x57ef88['on']('checkElement',(_0x168260,{modelElement:_0x3a6f95,viewElement:_0x4b1f9f})=>{const _0x4c3dbe=_0x3a6f95['getAttribute']('listType');if('customNumbered'!=_0x4c3dbe&&'customBulleted'!=_0x4c3dbe)return;if(_0x2ecf7d['schema']['checkChild'](_0x3a6f95,'$text'))return;const _0x25065d=(0x0,_0x14e616['_isFirstBlockOfListItem'])(_0x3a6f95);let _0x55c2eb=!0x1;const _0x215037=_0x3be8cb['createPositionBefore'](_0x4b1f9f)['getWalker']({'direction':'backward'});for(const {item:_0x5a75f7}of _0x215037)if(_0x5a75f7['is']('element')){if(_0x52c8d7['editing']['mapper']['toModelElement'](_0x5a75f7))break;if(_0x5a75f7['getCustomProperty']('listItemMarker')){_0x55c2eb=!0x0;break;}}_0x55c2eb!=_0x25065d&&(_0x168260['return']=!0x0,_0x168260['stop']());});const _0x56ccc9=_0x52c8d7['editing']['view']['document'];this['listenTo'](_0x56ccc9,'clipboardOutput',(_0x5f3ced,_0x441b1c)=>{const _0x105096=new _0x14e616['Matcher']({'name':'span','classes':'multi-level-list__marker'}),_0x2994be=new _0x14e616['Matcher']({'name':'ol','classes':'multi-level-list','styles':{'list-style-type':'none'}}),_0x3145e4=new _0x14e616['ViewUpcastWriter'](_0x441b1c['content']['document']),_0x377331=[];for(const _0xa3ccb4 of _0x3145e4['createRangeIn'](_0x441b1c['content'])['getItems']())_0xa3ccb4['is']('element')&&_0x105096['match'](_0xa3ccb4)&&_0x377331['push'](_0xa3ccb4),_0xa3ccb4['is']('element')&&_0x2994be['match'](_0xa3ccb4)&&_0x3145e4['removeStyle']('list-style-type',_0xa3ccb4);for(const _0x544b15 of _0x377331)_0x3145e4['remove'](_0x544b15);});}['afterInit'](){!async function(_0x54783c){const _0x2b9615='un0NFQUoX1evzk3yMEfwl7TxbDrisOZaWtKq52P98dchBVpjS4mYLC6gJIHGRA',_0x4b4196=0x78fc0,_0x25db54=window['Date']['now'](),_0x1218af=_0x54783c['editor'],_0x3c031b=new window['Promise'](_0x5a535d=>{_0x1218af['once']('ready',_0x5a535d);}),_0x406748={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x4a4aa1=_0x1218af['config']['get']('licenseKey');async function _0x492257(){let _0x2eaf68,_0x5e8bbc=null,_0x2654aa=null;try{return'GPL'==_0x4a4aa1?'NotAllowed':(_0x2eaf68=_0x479e3e(),_0x2eaf68?(_0x2eaf68['usageEndpoint']&&(_0x2654aa=_0x1f667f(_0x2eaf68['usageEndpoint'],_0x2eaf68['jti'])),await _0x35cc3c()?_0x185862()?_0x88f138()?'Expired':_0x5e5eec()?('evaluation'==_0x2eaf68['licenseType']&&(_0x5e8bbc=_0x5ec489('EvaluationLimit')),await _0x3b31be()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x88f138(){const _0xe0892b=['evaluation','trial']['includes'](_0x2eaf68['licenseType'])?_0x25db54/0x3e8:0xe10*_0x4b4196;return _0x2eaf68['exp']<_0xe0892b;}function _0x185862(){const _0x453bbf=_0x2eaf68['features'];return!!_0x453bbf&&(!!_0x453bbf['includes']('*')||!!_0x453bbf['includes']('MLL'));}function _0x5e5eec(){const _0x5abc21=_0x2eaf68['licensedHosts'];if(!_0x5abc21||0x0==_0x5abc21['length'])return!0x0;const {hostname:_0x849f54}=new URL(window['location']['href']);if(_0x5abc21['includes'](_0x849f54))return!0x0;const _0x5526de=_0x849f54['split']('.');return _0x5abc21['filter'](_0x36c0f4=>_0x36c0f4['includes']('*'))['map'](_0x4bce60=>_0x4bce60['split']('.'))['filter'](_0x6fa919=>_0x6fa919['length']<=_0x5526de['length'])['map'](_0x10df7b=>Array(_0x5526de['length']-_0x10df7b['length'])['fill']('*'===_0x10df7b[0x0]?'*':'')['concat'](_0x10df7b))['some'](_0x5a911f=>_0x5526de['every']((_0x54b30c,_0x395a7a)=>_0x5a911f[_0x395a7a]===_0x54b30c||'*'===_0x5a911f[_0x395a7a]));}function _0x3b31be(){return _0x5e8bbc&&_0x2654aa?new window['Promise']((_0x1be835,_0x4b1121)=>{_0x5e8bbc['then'](_0x1be835,_0x4b1121),_0x2654aa['then'](_0x50e817=>{'Valid'!=_0x50e817&&_0x1be835(_0x50e817);},_0x4b1121);}):_0x5e8bbc||_0x2654aa||'Valid';}}function _0x1f667f(_0x5c0abc,_0x59e688){return new window['Promise'](_0x500a07=>{if(_0xbcd12e())return _0x500a07('Valid');_0x4008da(),_0x1218af['decorate']('_sendUsageRequest');let _0x3ba0fb=!0x1;const _0x18722e=(0x0,_0x14e616['uid'])();function _0x42b2ec(_0x58dd6c){return!!_0x58dd6c&&('object'==typeof _0x58dd6c||'function'==typeof _0x58dd6c)&&'function'==typeof _0x58dd6c['then']&&'function'==typeof _0x58dd6c['catch'];}function _0xc30295(_0x483c94){_0x2c44b3(_0x483c94)['then'](_0x549bb7=>_0x549bb7&&'ok'==_0x549bb7['status']?_0x3d8c76(_0x291306(_0x18722e+_0x59e688))!=_0x549bb7['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x475603=>(_0x37ad8c(),_0x475603),()=>{const _0x3b6723=_0x47b602();return null==_0x3b6723?(_0x37ad8c(),'Valid'):_0x25db54-_0x3b6723>0x240c8400?'UsageLimit':'Valid';})['then'](_0x500a07)['catch'](()=>{_0x500a07('UsageLimit');});const _0x135d0e=0x36ee80;function _0x37ad8c(){const _0x1cd398='llct-'+_0x3d8c76(_0x291306(_0x5c0abc)),_0x293a44=_0x542f73(_0x3d8c76(window['Math']['ceil'](_0x25db54/_0x135d0e)));window['localStorage']['setItem'](_0x1cd398,_0x293a44);}function _0x47b602(){const _0x2894a='llct-'+_0x3d8c76(_0x291306(_0x5c0abc)),_0x293499=window['localStorage']['getItem'](_0x2894a);return _0x293499?window['parseInt'](_0x542f73(_0x293499),0x10)*_0x135d0e:null;}function _0x2c44b3(_0x32837e){return new window['Promise']((_0x11a2db,_0x3fb71f)=>{_0x32837e['then'](_0x11a2db,_0x3fb71f),window['setTimeout'](_0x3fb71f,0x1d4c0);});}}_0x1218af['on']('_sendUsageRequest',(_0x599935,_0x2e5dd9)=>{if(_0x2e5dd9[0x0]!=_0x5c0abc)return _0x500a07('UsageLimit');_0x2e5dd9[0x1]={..._0x2e5dd9[0x1],'requestId':_0x18722e};},{'priority':'high'}),_0x1218af['on']('_sendUsageRequest',_0x4bc2cc=>{_0x42b2ec(_0x4bc2cc['return'])&&(_0x3ba0fb=!0x0,_0xc30295(_0x4bc2cc['return']));},{'priority':'low'}),_0x3c031b['then'](()=>{_0x3ba0fb||_0x500a07('UsageLimit');});});function _0xbcd12e(){return'auto'==_0x1218af['editing']['view']['_overlayModeHint'];}function _0x4008da(){_0x1218af['editing']['view']['_overlayModeHint']='auto';}}function _0x5ec489(_0x16448d){const _0x5e7e80=[new window['Promise'](_0x128078=>setTimeout(_0x128078,0x93ecc)),_0x3c031b['then'](()=>new window['Promise'](_0x304d52=>{let _0x35768f=0x0;_0x1218af['model']['on']('applyOperation',(_0x4691fa,_0x1030ab)=>{_0x1030ab[0x0]['isDocumentOperation']&&_0x35768f++,0x5e8==_0x35768f&&(_0x304d52(),_0x4691fa['off']());});}))];return window['Promise']['race'](_0x5e7e80)['then'](()=>_0x16448d);}async function _0x334696(){await _0x3c031b,_0x1218af['model']['change']=_0x962b9d,_0x1218af['model']['enqueueChange']=_0x962b9d,_0x1218af['enableReadOnlyMode']('model');}function _0x295982(_0x464c84){const _0x547e7c=_0x2d835b();_0x1218af[_0x547e7c]='multiLevelListLicenseKey'+_0x464c84,'Valid'!=_0x464c84&&_0x334696();}function _0x2d835b(){const _0x58938f=window['String'](window['performance']['now']())['replace']('.','');let _0x3505cd='u';for(let _0x37089b=0x0;_0x37089b<_0x58938f['length'];_0x37089b+=0x2){let _0x5e8420=window['parseInt'](_0x58938f['substring'](_0x37089b,_0x37089b+0x2));_0x5e8420>=0x3e&&(_0x5e8420-=0x3e),_0x3505cd+=_0x2b9615[_0x5e8420];}return _0x3505cd;}function _0x479e3e(){const _0x3f1e32=_0x4a4aa1['split']('.');if(0x3!=_0x3f1e32['length'])return null;return _0x13b772(_0x3f1e32[0x1]);function _0x13b772(_0x3e2ae1){const _0x4e4dc6=_0x439018(_0x3e2ae1);return _0x4e4dc6&&_0x4b2962()?_0x4e4dc6:null;function _0x4b2962(){const _0x889f88=_0x4e4dc6['jti'],_0x3f703b=window['parseInt'](_0x889f88['substring'](_0x889f88['length']-0x8),0x10),_0x3959cc={..._0x4e4dc6,'jti':_0x889f88['substring'](0x0,_0x889f88['length']-0x8)};return delete _0x3959cc['vc'],_0x291306(_0x3959cc)==_0x3f703b;}}}async function _0x35cc3c(){let _0x54d0ed=!0x0;try{const [_0x11209a,_0x344da5,_0xa1deed]=_0x4a4aa1['split']('.');return _0x46d396(_0x11209a),await _0x5bfa4e(_0x11209a,_0x344da5,_0xa1deed),_0x54d0ed;}catch{return!0x1;}function _0x46d396(_0x5d5af1){const _0x20e29e=_0x439018(_0x5d5af1);_0x20e29e&&'ES256'==_0x20e29e['alg']||(_0x54d0ed=!0x1);}async function _0x5bfa4e(_0x516997,_0x150940,_0x14b60c){const _0x189de5=window['Uint8Array']['from'](_0xfcf46(_0x14b60c),_0x495865=>_0x495865['charCodeAt'](0x0)),_0x58afbb=new window['TextEncoder']()['encode'](_0x516997+'.'+_0x150940),_0x502238=window['crypto']['subtle'];if(!_0x502238)return;const _0x484d79=await _0x502238['importKey']('jwk',_0x406748,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x502238['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x484d79,_0x189de5,_0x58afbb)||(_0x54d0ed=!0x1);}}function _0x439018(_0x1b2f91){return _0x1b2f91['startsWith']('ey')?JSON['parse'](_0xfcf46(_0x1b2f91)):null;}function _0xfcf46(_0xcb6159){return window['atob'](_0xcb6159['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x291306(_0x3df74d){let _0x361c0a=0x1505;function _0x584557(_0x34c0ec){for(let _0x1aaebc=0x0;_0x1aaebc<_0x34c0ec['length'];_0x1aaebc++){const _0x4e9258=_0x34c0ec['charCodeAt'](_0x1aaebc);_0x361c0a=(_0x361c0a<<0x5)+_0x361c0a+_0x4e9258,_0x361c0a&=_0x361c0a;}}function _0x4e37c5(_0x113c8b){Array['isArray'](_0x113c8b)?_0x113c8b['forEach'](_0x4e37c5):_0x113c8b&&'object'==typeof _0x113c8b?Object['entries'](_0x113c8b)['sort']()['forEach'](([_0xba0d05,_0x40ed00])=>{_0x584557(_0xba0d05),_0x4e37c5(_0x40ed00);}):_0x584557(window['String'](_0x113c8b));}return _0x4e37c5(_0x3df74d),_0x361c0a>>>0x0;}function _0x3d8c76(_0x5b98e5){return _0x5b98e5['toString'](0x10)['padStart'](0x8,'0');}function _0x542f73(_0x26e1d8){return _0x26e1d8['split']('')['reverse']()['join']('');}function _0x962b9d(){}_0x295982(await _0x492257());}(this);}};function _0x4ce68a(_0x331e76,_0x4b97e5,_0x1ba067){let _0x4cd9d1=_0x4b97e5['listMarkers'][_0x331e76%_0x4b97e5['listMarkers']['length']];if(void 0x0===_0x4cd9d1['showMarkerPath']||_0x4cd9d1['showMarkerPath'])return _0x1ba067['slice'](0x0,_0x331e76+0x1)['map']((_0x37800e,_0x109d9f)=>(_0x4cd9d1=_0x4b97e5['listMarkers'][_0x109d9f%_0x4b97e5['listMarkers']['length']],_0x38e2cf(_0x4cd9d1['marker'],_0x37800e)))['join']('');{const _0x13e49d=_0x1ba067[_0x1ba067['length']-0x1];return _0x38e2cf(_0x4cd9d1['marker'],_0x13e49d);}}function _0x38e2cf(_0x3578ad,_0x1a4b0d){return'function'==typeof _0x3578ad?_0x3578ad(_0x1a4b0d):_0x3578ad;}function _0x30b6ec(_0x3cee63,_0xa75432){return(_0x1cfa73,_0x55cca1,_0x2bb63e)=>{const _0x584afb=_0x55cca1['viewItem'];if(_0x55cca1['modelRange']||Object['assign'](_0x55cca1,_0x2bb63e['convertChildren'](_0x55cca1['viewItem'],_0x55cca1['modelCursor'])),!_0x2bb63e['consumable']['test'](_0x584afb,{'classes':_0x3cee63['className']}))return;const _0x4683b3=Array['from'](_0x55cca1['modelRange']['getItems']({'shallow':!0x0}))['filter'](_0x43584a=>_0xa75432['checkAttribute'](_0x43584a,'listItemId'));if(!_0x4683b3['length'])return;_0x2bb63e['consumable']['consume'](_0x584afb,{'classes':_0x3cee63['className']}),_0x2bb63e['consumable']['consume'](_0x584afb,{'classes':'multi-level-list'}),_0x2bb63e['consumable']['consume'](_0x584afb,{'styles':'list-style-type'});const _0x1cf606=_0x4683b3[0x0]['getAttribute']('listIndent');for(const _0x1bf55b of _0x4683b3)_0x1bf55b['getAttribute']('listIndent')==_0x1cf606&&(_0x2bb63e['writer']['setAttribute']('listType',_0x3cee63['listType'],_0x1bf55b),_0x2bb63e['writer']['setAttribute']('listMarkerStyle',_0x3cee63['listMarkerStyle'],_0x1bf55b));};}function _0x21e58d(_0x1dfc26,_0x195ce9){const _0x4829f5=_0x1dfc26['t'],t=_0x1dfc26['t'];switch(_0x195ce9){case'Start\x20at':return _0x4829f5('Start\x20at');case'Start\x20index\x20must\x20be\x20greater\x20than\x200.':return _0x4829f5('Start\x20index\x20must\x20be\x20greater\x20than\x200.');case'Invalid\x20start\x20index\x20value.':return _0x4829f5('Invalid\x20start\x20index\x20value.');case'List\x20properties':return _0x4829f5('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 _0x195ce9;}}var _0x3f5cda=class extends _0x14e616['View']{['children'];['stylesView']=null;['additionalPropertiesCollapsibleView']=null;['startIndexFieldView']=null;['focusTracker']=new _0x14e616['FocusTracker']();['keystrokes']=new _0x14e616['KeystrokeHandler']();['focusables']=new _0x14e616['ViewCollection']();['focusCycler'];constructor(_0x19db9d,{enabledProperties:_0x17b44e,styleButtonViews:_0xc770fa,styleGridAriaLabel:_0x173e15}){super(_0x19db9d);const _0x5ce95f=['ck','ck-multi-level-list-properties'];this['children']=this['createCollection'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),_0x17b44e['styles']?(this['stylesView']=this['_createStylesView'](_0xc770fa,_0x173e15),this['children']['add'](this['stylesView'])):_0x5ce95f['push']('ck-multi-level-list-properties_without-styles'),_0x17b44e['startIndex']&&(this['_addListPropertyViews'](_0x17b44e),_0x5ce95f['push']('ck-multi-level-list-properties_with-multi-level-properties')),this['setTemplate']({'tag':'div','attributes':{'class':_0x5ce95f},'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 _0x4eeec0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4eeec0['element']);(0x0,_0x14e616['addKeyboardHandlingForGrid'])({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>_0x14e616['global']['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 _0x47698e=_0x5ddec6=>_0x5ddec6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x47698e),this['keystrokes']['set']('arrowleft',_0x47698e),this['keystrokes']['set']('arrowup',_0x47698e),this['keystrokes']['set']('arrowdown',_0x47698e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_createStylesView'](_0x5b8b4d,_0x5d6988){const _0x57d794=new _0x14e616['View'](this['locale']);return _0x57d794['children']=_0x57d794['createCollection'](),_0x57d794['children']['addMany'](_0x5b8b4d),_0x57d794['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5d6988,'class':['ck','ck-multi-level-list-styles']},'children':_0x57d794['children']}),_0x57d794['children']['delegate']('execute')['to'](this),_0x57d794['focus']=function(){this['children']['first']['focus']();},_0x57d794['focusTracker']=new _0x14e616['FocusTracker'](),_0x57d794['keystrokes']=new _0x14e616['KeystrokeHandler'](),_0x57d794['render'](),_0x57d794['keystrokes']['listenTo'](_0x57d794['element']),_0x57d794;}['_addListPropertyViews'](_0x2358ac){const _0x18299d=[];_0x2358ac['startIndex']&&(this['startIndexFieldView']=this['_createStartIndexField'](),_0x18299d['push'](this['startIndexFieldView'])),_0x2358ac['styles']?(this['additionalPropertiesCollapsibleView']=new _0x14e616['CollapsibleView'](this['locale'],_0x18299d),this['additionalPropertiesCollapsibleView']['set']({'label':_0x21e58d(this['locale'],'List\x20properties'),'isCollapsed':!0x0}),this['additionalPropertiesCollapsibleView']['buttonView']['bind']('isEnabled')['toMany'](_0x18299d,'isEnabled',(..._0x482d11)=>_0x482d11['some'](_0x95c657=>_0x95c657)),this['additionalPropertiesCollapsibleView']['buttonView']['on']('change:isEnabled',(_0x155f64,_0x19100f,_0x51e87f)=>{_0x51e87f||(this['additionalPropertiesCollapsibleView']['isCollapsed']=!0x0);}),this['children']['add'](this['additionalPropertiesCollapsibleView'])):this['children']['addMany'](_0x18299d);}['_createStartIndexField'](){const _0x555ac3=new _0x14e616['LabeledFieldView'](this['locale'],_0x14e616['createLabeledInputNumber']);return _0x555ac3['set']({'label':_0x21e58d(this['locale'],'Start\x20at'),'class':'ck-multi-level-list-properties__start-index'}),_0x555ac3['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x555ac3['fieldView']['on']('input',()=>{const _0x2458ce=_0x555ac3['fieldView']['element'],_0x43b2a4=_0x2458ce['valueAsNumber'];Number['isNaN'](_0x43b2a4)?_0x555ac3['errorText']=_0x21e58d(this['locale'],'Invalid\x20start\x20index\x20value.'):_0x2458ce['checkValidity']()?this['fire']('listStart',{'startIndex':_0x43b2a4}):_0x555ac3['errorText']=_0x21e58d(this['locale'],'Start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x555ac3;}},_0x35526c=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'MultiLevelListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x3625a8=this['editor'];_0x3625a8['ui']['componentFactory']['add']('multiLevelList',function({editor:_0xd106f1,parentCommandName:_0x187358,buttonLabel:_0x4d0670,buttonIcon:_0x33e816,styleGridAriaLabel:_0xb335e0,styleDefinitions:_0x3500e8}){const _0x24e602=_0xd106f1['commands']['get'](_0x187358),_0xf1cb2a=_0xd106f1['config']['get']('list.properties')||{},_0x558fb2=_0xd106f1['plugins']['has']('ListProperties'),_0x5a85e4=_0xf1cb2a['startIndex'];return _0x558fb2&&_0x5a85e4?_0x3e2280=>{const _0x416693=(0x0,_0x14e616['createDropdown'])(_0x3e2280,_0x14e616['SplitButtonView']),_0xfd2675=_0x416693['buttonView'];return _0x416693['bind']('isEnabled')['to'](_0x24e602),_0x416693['class']='ck-list-styles-dropdown',_0xfd2675['on']('execute',()=>{_0xd106f1['execute'](_0x187358),_0xd106f1['editing']['view']['focus']();}),_0xfd2675['set']({'label':_0x4d0670,'icon':_0x33e816,'tooltip':!0x0,'isToggleable':!0x0}),_0xfd2675['bind']('isOn')['to'](_0x24e602,'value',_0x597d1c=>!!_0x597d1c),_0x416693['once']('change:isOpen',()=>{const _0x163f51=function({editor:_0xdf1dc8,dropdownView:_0xbc17d7,styleDefinitions:_0x5cba5c,styleGridAriaLabel:_0x376531}){const _0x1e0c3a=_0xdf1dc8['locale'],_0x5cc202=_0xdf1dc8['config']['get']('list.properties'),_0x18c210=null;_0x5cc202['reversed']=!0x1,_0x5cba5c['length']||(_0x5cc202['styles']=!0x1);const _0xe016c5=new _0x3f5cda(_0x1e0c3a,{'styleGridAriaLabel':_0x376531,'enabledProperties':_0x5cc202,'styleButtonViews':_0x18c210});if(_0x5cc202['startIndex']){const _0x487313=_0xdf1dc8['commands']['get']('listStart');_0xe016c5['startIndexFieldView']['bind']('isEnabled')['to'](_0x487313),_0xe016c5['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x487313),_0xe016c5['on']('listStart',(_0x5b9a98,_0x3dc820)=>_0xdf1dc8['execute']('listStart',_0x3dc820));}return _0xe016c5['delegate']('execute')['to'](_0xbc17d7),_0xe016c5;}({'editor':_0xd106f1,'dropdownView':_0x416693,'parentCommandName':_0x187358,'styleGridAriaLabel':_0xb335e0,'styleDefinitions':_0x3500e8});_0x416693['panelView']['children']['add'](_0x163f51);}),_0x416693['on']('execute',()=>{_0xd106f1['editing']['view']['focus']();}),_0x416693;}:_0x3649db=>{const _0x36870a=new _0x14e616['ButtonView'](_0x3649db);return _0x36870a['set']({'label':_0x4d0670,'icon':_0x33e816,'tooltip':!0x0,'isToggleable':!0x0}),_0x36870a['bind']('isOn')['to'](_0x24e602,'value',_0x2a0d95=>!!_0x2a0d95),_0x36870a['on']('execute',()=>{_0xd106f1['execute'](_0x187358),_0xd106f1['editing']['view']['focus']();}),_0x36870a;};}({'editor':_0x3625a8,'parentCommandName':'multiLevelList','buttonLabel':_0x21e58d(_0x3625a8['locale'],'Multi-level\x20List'),'buttonIcon':_0x14e616['IconMultiLevelList'],'styleGridAriaLabel':_0x21e58d(_0x3625a8['locale'],'Multi-level\x20list\x20styles\x20toolbar'),'styleDefinitions':[]})),_0x3625a8['ui']['componentFactory']['add']('menuBar:multiLevelList',()=>{const _0x1d3793=_0x3625a8['commands']['get']('multiLevelList'),_0x35bc0a=new _0x14e616['MenuBarMenuListItemButtonView'](_0x3625a8['locale']);return _0x35bc0a['set']({'label':_0x21e58d(_0x3625a8['locale'],'Multi-level\x20List'),'icon':_0x14e616['IconMultiLevelList']}),_0x35bc0a['bind']('isEnabled')['to'](_0x1d3793),_0x35bc0a['bind']('isOn')['to'](_0x1d3793,'value',_0x34d0cc=>!!_0x34d0cc),_0x35bc0a['on']('execute',()=>{_0x3625a8['execute']('multiLevelList'),_0x3625a8['editing']['view']['focus']();}),_0x35bc0a;}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x133c39=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2c680b;for(const _0x2db590 in _0x133c39){const _0x285320=_0x2db590,_0x4f81c1=_0x133c39[_0x285320];if('multiLevelListLicenseKeyValid'==_0x4f81c1||'multiLevelListLicenseKeyInvalid'==_0x4f81c1||'multiLevelListLicenseKeyExpired'==_0x4f81c1||'multiLevelListLicenseKeyDomainLimit'==_0x4f81c1||'multiLevelListLicenseKeyNotAllowed'==_0x4f81c1||'multiLevelListLicenseKeyEvaluationLimit'==_0x4f81c1||'multiLevelListLicenseKeyUsageLimit'==_0x4f81c1){delete _0x133c39[_0x285320],_0x2c680b=_0x4f81c1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'multiLevelListLicenseKeyInvalid'==_0x2c680b&&_0x133c39['_showLicenseError']('invalid'),'multiLevelListLicenseKeyExpired'==_0x2c680b&&_0x133c39['_showLicenseError']('expired'),'multiLevelListLicenseKeyDomainLimit'==_0x2c680b&&_0x133c39['_showLicenseError']('domainLimit'),'multiLevelListLicenseKeyNotAllowed'==_0x2c680b&&_0x133c39['_showLicenseError']('featureNotAllowed','MultiLevelList'),'multiLevelListLicenseKeyEvaluationLimit'==_0x2c680b&&_0x133c39['_showLicenseError']('evaluationLimit'),'multiLevelListLicenseKeyUsageLimit'==_0x2c680b&&_0x133c39['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x39a34d=class extends _0x14e616['Plugin']{static get['pluginName'](){return'MultiLevelList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x3166ad,_0x35526c];}},_0x75f3a2=class extends _0x14e616['Command']{['refresh'](){const _0x51fd2d=this['editor']['model'],_0x5d8d91=_0x51fd2d['schema']['checkChild'](_0x51fd2d['document']['selection']['focus'],'mergeField');this['isEnabled']=_0x5d8d91;}['execute'](_0x156eee){if(!_0x156eee||'string'!=typeof _0x156eee)return;const _0x2aa8d7=this['editor']['model'];_0x2aa8d7['change'](_0xa73a34=>{_0x2aa8d7['deleteContent'](_0x2aa8d7['document']['selection']);const _0x1ffcd3=_0xa73a34['createElement']('mergeField',{'id':_0x156eee});for(const [_0x3f0a54,_0x5a6f16]of _0x2aa8d7['document']['selection']['getAttributes']())_0x2aa8d7['schema']['checkAttribute'](_0x1ffcd3,_0x3f0a54)&&_0xa73a34['setAttribute'](_0x3f0a54,_0x5a6f16,_0x1ffcd3);_0x2aa8d7['insertContent'](_0x1ffcd3,_0x2aa8d7['document']['selection'],0x0,{'setSelection':'after'});});}},_0x4b68ea=class extends _0x14e616['Command']{['refresh'](){const _0x5dbd1b=this['editor']['model'],_0x447ef0=_0x5dbd1b['document']['selection'];this['isEnabled']=function(_0x2dda60,_0x11293c){let _0x1d20a1=(0x0,_0x14e616['findOptimalInsertionRange'])(_0x2dda60,_0x11293c)['start']['parent'];return _0x1d20a1['isEmpty']&&!_0x11293c['schema']['isLimit'](_0x1d20a1)&&(_0x1d20a1=_0x1d20a1['parent']),_0x11293c['schema']['checkChild'](_0x1d20a1,'mergeFieldBlock');}(_0x447ef0,_0x5dbd1b);}['execute'](_0x3bcf28,_0x45650a){if(!_0x3bcf28||'string'!=typeof _0x3bcf28)return;const _0x393f20=this['editor']['model'];_0x393f20['change'](_0x25d79e=>{const _0x363dfd=_0x25d79e['createElement']('mergeFieldBlock',{'id':_0x3bcf28});_0x393f20['insertObject'](_0x363dfd,_0x393f20['document']['selection'],null,{'setSelection':'on','findOptimalPosition':!0x1===_0x45650a?void 0x0:'auto'});});}},_0x2b57c6=class extends _0x14e616['Command']{constructor(_0x188e43){super(_0x188e43),this['bind']('isEnabled')['to'](this['editor']['commands']['get']('insertImage'));}['execute'](_0x3bbbda,_0x251ef5){if(!_0x3bbbda||'string'!=typeof _0x3bbbda)return;const _0x32fdb8=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x3932bb=_0x32fdb8['getMergeFieldWidth'](_0x3bbbda),_0x482f14=_0x32fdb8['getMergeFieldHeight'](_0x3bbbda);this['editor']['execute']('insertImage',{'source':{'src':_0x32fdb8['wrapInAffixes'](_0x3bbbda),'width':_0x3932bb,'height':_0x482f14},'breakBlock':_0x251ef5&&_0x251ef5['breakBlock']});}},_0x1da88d=class extends _0x14e616['Command']{constructor(_0x40a6f5){super(_0x40a6f5);const _0x1ad5d0=this['editor']['plugins']['get']('MergeFieldsEditing');this['bind']('value')['to'](_0x1ad5d0,'previewMode'),this['affectsData']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x528687){this['editor']['plugins']['get']('MergeFieldsEditing')['previewMode']=_0x528687;}};const _0x49c044=/^[a-zA-Z0-9_.-]+$/;var _0x3a8bfb=class extends _0x14e616['Plugin']{['availablePreviewModes'];['flattenedMergeFieldDefinitions']=[];['_mergeFieldElements'];['_mergeFieldPrefix'];['_mergeFieldSuffix'];['_mergeFieldRegExp'];['_shouldPreviewHtmlValues'];static get['requires'](){return[_0x14e616['ImageUtils'],_0x14e616['ImageEditing']];}static get['pluginName'](){return'MergeFieldsEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x22907b){super(_0x22907b),_0x22907b['config']['define']('mergeFields.previewModes',['$labels','$defaultValues','$dataSets']),_0x22907b['config']['define']('mergeFields.dataSets',[]),_0x22907b['config']['define']('mergeFields.definitions',[]),_0x22907b['config']['define']('mergeFields.prefix','{{'),_0x22907b['config']['define']('mergeFields.suffix','}}'),_0x22907b['config']['define']('mergeFields.previewHtmlValues',!0x1),_0x22907b['config']['define']('mergeFields.sanitizeHtml',_0x20c019=>((0x0,_0x14e616['logWarning'])('merge-fields-provide-sanitize-function'),{'html':_0x20c019,'hasChanged':!0x1})),this['_mergeFieldPrefix']=_0x22907b['config']['get']('mergeFields.prefix'),this['_mergeFieldSuffix']=_0x22907b['config']['get']('mergeFields.suffix'),this['_shouldPreviewHtmlValues']=_0x22907b['config']['get']('mergeFields.previewHtmlValues'),this['flattenedMergeFieldDefinitions']=this['_getFlattenedMergeFieldDefinitions'](),this['_validateConfig']();const _0x56b3b3='\x5c'+this['_mergeFieldPrefix']['split']('')['join']('\x5c'),_0x234f5e='\x5c'+this['_mergeFieldSuffix']['split']('')['join']('\x5c');this['_mergeFieldRegExp']=new RegExp('('+_0x56b3b3+'[^'+(_0x56b3b3+_0x234f5e)+'\x20]+'+_0x234f5e+')','g'),this['availablePreviewModes']=this['_getAvailablePreviewModes']();const _0x153e59=_0x22907b['config']['get']('mergeFields.initialPreviewMode')||this['availablePreviewModes'][0x0];this['_validatePreviewMode'](_0x153e59),this['set']('previewMode',_0x153e59),this['_mergeFieldElements']=new Set();}['init'](){const _0x317a74=this['editor'];_0x317a74['commands']['add']('insertMergeField',new _0x75f3a2(_0x317a74)),_0x317a74['commands']['add']('insertMergeFieldBlock',new _0x4b68ea(_0x317a74)),_0x317a74['commands']['add']('insertMergeFieldImage',new _0x2b57c6(_0x317a74)),_0x317a74['commands']['add']('previewMergeFields',new _0x1da88d(_0x317a74)),this['_defineSchema'](),this['_defineConverters'](),this['_registerConversionPostFixer'](),this['listenTo'](this['editor']['editing']['view']['document'],'imageLoaded',this['_setupTooltipsTogglingForImageMergeField']),this['on']('change:previewMode',(_0x3357b2,_0x185040,_0x5a5443)=>{this['_validatePreviewMode'](_0x5a5443),this['refreshMergeFields']();}),this['listenTo'](_0x317a74['model']['document'],'change:data',()=>{this['_trackAddedMergeFields']();}),_0x317a74['editing']['mapper']['on']('viewToModelPosition',(0x0,_0x14e616['viewToModelPositionOutsideModelElement'])(_0x317a74['model'],_0x2b7bd6=>_0x2b7bd6['hasClass']('ck-merge-field'))),_0x317a74['editing']['mapper']['on']('viewToModelPosition',(0x0,_0x14e616['viewToModelPositionOutsideModelElement'])(_0x317a74['model'],_0x37966b=>_0x37966b['hasClass']('ck-merge-field-block'))),_0x317a74['editing']['view']['domConverter']['registerInlineObjectMatcher']({'name':'span','classes':['ck-merge-field']});}['afterInit'](){this['_disableCommandOnMergeFields']('ckboxImageEdit'),this['_disableCommandOnMergeFields']('uploadcareImageEdit'),async function(_0x3c48f5){const _0x294c3d='cvqCYM8ia9TDP6n5dmrzbJtlj03FwLxIpEWSUG7ARu21KfQoXNyg4ZBeOhskHV',_0x2d7a2d=0x78fc0,_0x17c4cc=window['Date']['now'](),_0x1b73d3=_0x3c48f5['editor'],_0x2d608d=new window['Promise'](_0x1ab780=>{_0x1b73d3['once']('ready',_0x1ab780);}),_0x5306ae={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x57bacc=_0x1b73d3['config']['get']('licenseKey');async function _0x413bf0(){let _0x2d3707,_0x26c178=null,_0x2ee106=null;try{return'GPL'==_0x57bacc?'NotAllowed':(_0x2d3707=_0x55ed0(),_0x2d3707?(_0x2d3707['usageEndpoint']&&(_0x2ee106=_0x2849e1(_0x2d3707['usageEndpoint'],_0x2d3707['jti'])),await _0x3e7998()?_0x54eba3()?_0xfd304a()?'Expired':_0x16d256()?('evaluation'==_0x2d3707['licenseType']&&(_0x26c178=_0x32cf64('EvaluationLimit')),await _0x52c0c7()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0xfd304a(){const _0x5aedac=['evaluation','trial']['includes'](_0x2d3707['licenseType'])?_0x17c4cc/0x3e8:0xe10*_0x2d7a2d;return _0x2d3707['exp']<_0x5aedac;}function _0x54eba3(){const _0x3cf9d0=_0x2d3707['features'];return!!_0x3cf9d0&&(!!_0x3cf9d0['includes']('*')||!!_0x3cf9d0['includes']('MF'));}function _0x16d256(){const _0x33aa73=_0x2d3707['licensedHosts'];if(!_0x33aa73||0x0==_0x33aa73['length'])return!0x0;const {hostname:_0x3228d8}=new URL(window['location']['href']);if(_0x33aa73['includes'](_0x3228d8))return!0x0;const _0x31475b=_0x3228d8['split']('.');return _0x33aa73['filter'](_0x50767d=>_0x50767d['includes']('*'))['map'](_0xda97fc=>_0xda97fc['split']('.'))['filter'](_0x47e3b8=>_0x47e3b8['length']<=_0x31475b['length'])['map'](_0x9f0219=>Array(_0x31475b['length']-_0x9f0219['length'])['fill']('*'===_0x9f0219[0x0]?'*':'')['concat'](_0x9f0219))['some'](_0x1290fd=>_0x31475b['every']((_0x4f923a,_0x4f12e8)=>_0x1290fd[_0x4f12e8]===_0x4f923a||'*'===_0x1290fd[_0x4f12e8]));}function _0x52c0c7(){return _0x26c178&&_0x2ee106?new window['Promise']((_0x5ecf0f,_0xf8ece3)=>{_0x26c178['then'](_0x5ecf0f,_0xf8ece3),_0x2ee106['then'](_0x1582b3=>{'Valid'!=_0x1582b3&&_0x5ecf0f(_0x1582b3);},_0xf8ece3);}):_0x26c178||_0x2ee106||'Valid';}}function _0x2849e1(_0x529136,_0x3ae5f2){return new window['Promise'](_0x9a1081=>{if(_0x165808())return _0x9a1081('Valid');_0x39e361(),_0x1b73d3['decorate']('_sendUsageRequest');let _0x13de9b=!0x1;const _0x217523=(0x0,_0x14e616['uid'])();function _0x1003c6(_0xf505f1){return!!_0xf505f1&&('object'==typeof _0xf505f1||'function'==typeof _0xf505f1)&&'function'==typeof _0xf505f1['then']&&'function'==typeof _0xf505f1['catch'];}function _0x31e7a5(_0x13d771){_0x40cf7d(_0x13d771)['then'](_0x3379c3=>_0x3379c3&&'ok'==_0x3379c3['status']?_0x3d7d01(_0x2e5d9d(_0x217523+_0x3ae5f2))!=_0x3379c3['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x283b93=>(_0x2cdce9(),_0x283b93),()=>{const _0x4434ef=_0xf51c09();return null==_0x4434ef?(_0x2cdce9(),'Valid'):_0x17c4cc-_0x4434ef>0x240c8400?'UsageLimit':'Valid';})['then'](_0x9a1081)['catch'](()=>{_0x9a1081('UsageLimit');});const _0x8df7aa=0x36ee80;function _0x2cdce9(){const _0x5693b3='llct-'+_0x3d7d01(_0x2e5d9d(_0x529136)),_0x5a8baf=_0x11d799(_0x3d7d01(window['Math']['ceil'](_0x17c4cc/_0x8df7aa)));window['localStorage']['setItem'](_0x5693b3,_0x5a8baf);}function _0xf51c09(){const _0x5414c9='llct-'+_0x3d7d01(_0x2e5d9d(_0x529136)),_0x130c3a=window['localStorage']['getItem'](_0x5414c9);return _0x130c3a?window['parseInt'](_0x11d799(_0x130c3a),0x10)*_0x8df7aa:null;}function _0x40cf7d(_0x19974a){return new window['Promise']((_0x1ff55f,_0x595f0e)=>{_0x19974a['then'](_0x1ff55f,_0x595f0e),window['setTimeout'](_0x595f0e,0x1d4c0);});}}_0x1b73d3['on']('_sendUsageRequest',(_0x174a18,_0x4d5d98)=>{if(_0x4d5d98[0x0]!=_0x529136)return _0x9a1081('UsageLimit');_0x4d5d98[0x1]={..._0x4d5d98[0x1],'requestId':_0x217523};},{'priority':'high'}),_0x1b73d3['on']('_sendUsageRequest',_0xaedb9b=>{_0x1003c6(_0xaedb9b['return'])&&(_0x13de9b=!0x0,_0x31e7a5(_0xaedb9b['return']));},{'priority':'low'}),_0x2d608d['then'](()=>{_0x13de9b||_0x9a1081('UsageLimit');});});function _0x165808(){return'auto'==_0x1b73d3['editing']['view']['_overlayModeHint'];}function _0x39e361(){_0x1b73d3['editing']['view']['_overlayModeHint']='auto';}}function _0x32cf64(_0x4c69f4){const _0x365a7e=[new window['Promise'](_0x220866=>setTimeout(_0x220866,0x93ecc)),_0x2d608d['then'](()=>new window['Promise'](_0x45bf5c=>{let _0x5cc851=0x0;_0x1b73d3['model']['on']('applyOperation',(_0x2870dd,_0x25ae57)=>{_0x25ae57[0x0]['isDocumentOperation']&&_0x5cc851++,0x5e8==_0x5cc851&&(_0x45bf5c(),_0x2870dd['off']());});}))];return window['Promise']['race'](_0x365a7e)['then'](()=>_0x4c69f4);}async function _0x1626b8(){await _0x2d608d,_0x1b73d3['model']['change']=_0x291025,_0x1b73d3['model']['enqueueChange']=_0x291025,_0x1b73d3['enableReadOnlyMode']('model');}function _0x5e96a2(_0xb309cd){const _0x598475=_0x392e85();_0x1b73d3[_0x598475]='mergeFieldsLicenseKey'+_0xb309cd,'Valid'!=_0xb309cd&&_0x1626b8();}function _0x392e85(){const _0x495a37=window['String'](window['performance']['now']())['replace']('.','');let _0x30ee08='c';for(let _0xb6d2d=0x0;_0xb6d2d<_0x495a37['length'];_0xb6d2d+=0x2){let _0x3ce05a=window['parseInt'](_0x495a37['substring'](_0xb6d2d,_0xb6d2d+0x2));_0x3ce05a>=0x3e&&(_0x3ce05a-=0x3e),_0x30ee08+=_0x294c3d[_0x3ce05a];}return _0x30ee08;}function _0x55ed0(){const _0x36ca60=_0x57bacc['split']('.');if(0x3!=_0x36ca60['length'])return null;return _0x29d3be(_0x36ca60[0x1]);function _0x29d3be(_0x2d68da){const _0x276d66=_0x27d9de(_0x2d68da);return _0x276d66&&_0x56985d()?_0x276d66:null;function _0x56985d(){const _0x5e14b9=_0x276d66['jti'],_0x13d12a=window['parseInt'](_0x5e14b9['substring'](_0x5e14b9['length']-0x8),0x10),_0x458b0d={..._0x276d66,'jti':_0x5e14b9['substring'](0x0,_0x5e14b9['length']-0x8)};return delete _0x458b0d['vc'],_0x2e5d9d(_0x458b0d)==_0x13d12a;}}}async function _0x3e7998(){let _0x3eba08=!0x0;try{const [_0xa5689,_0x4fc6e9,_0x3a8595]=_0x57bacc['split']('.');return _0x441d98(_0xa5689),await _0x550936(_0xa5689,_0x4fc6e9,_0x3a8595),_0x3eba08;}catch{return!0x1;}function _0x441d98(_0x253959){const _0x334ead=_0x27d9de(_0x253959);_0x334ead&&'ES256'==_0x334ead['alg']||(_0x3eba08=!0x1);}async function _0x550936(_0x5582e0,_0xe81444,_0x5d5882){const _0x336593=window['Uint8Array']['from'](_0xe5b51e(_0x5d5882),_0x294375=>_0x294375['charCodeAt'](0x0)),_0x23df40=new window['TextEncoder']()['encode'](_0x5582e0+'.'+_0xe81444),_0x3787bd=window['crypto']['subtle'];if(!_0x3787bd)return;const _0x2be5e4=await _0x3787bd['importKey']('jwk',_0x5306ae,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3787bd['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2be5e4,_0x336593,_0x23df40)||(_0x3eba08=!0x1);}}function _0x27d9de(_0x43a994){return _0x43a994['startsWith']('ey')?JSON['parse'](_0xe5b51e(_0x43a994)):null;}function _0xe5b51e(_0x3b85fb){return window['atob'](_0x3b85fb['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2e5d9d(_0x5aa644){let _0xb162ae=0x1505;function _0x31484c(_0xcff54d){for(let _0x4c58c2=0x0;_0x4c58c2<_0xcff54d['length'];_0x4c58c2++){const _0x33effe=_0xcff54d['charCodeAt'](_0x4c58c2);_0xb162ae=(_0xb162ae<<0x5)+_0xb162ae+_0x33effe,_0xb162ae&=_0xb162ae;}}function _0x5eb512(_0x3d435){Array['isArray'](_0x3d435)?_0x3d435['forEach'](_0x5eb512):_0x3d435&&'object'==typeof _0x3d435?Object['entries'](_0x3d435)['sort']()['forEach'](([_0xbc2cad,_0x1b7676])=>{_0x31484c(_0xbc2cad),_0x5eb512(_0x1b7676);}):_0x31484c(window['String'](_0x3d435));}return _0x5eb512(_0x5aa644),_0xb162ae>>>0x0;}function _0x3d7d01(_0x10bb41){return _0x10bb41['toString'](0x10)['padStart'](0x8,'0');}function _0x11d799(_0x2a9b83){return _0x2a9b83['split']('')['reverse']()['join']('');}function _0x291025(){}_0x5e96a2(await _0x413bf0());}(this);}['isMergeField'](_0x43599c){return'mergeField'===_0x43599c['name']||'mergeFieldBlock'===_0x43599c['name']||!!('imageBlock'===_0x43599c['name']||'imageInline'===_0x43599c['name']&&_0x43599c['getAttribute']('src'))&&!!_0x43599c['getAttribute']('src')['match'](this['_mergeFieldRegExp']);}['getDefaultValues'](){const _0x2f292a={},_0x191cb3=this['getMergeFieldsIds']();for(const _0x7234dd of _0x191cb3)_0x2f292a[_0x7234dd]=this['getMergeFieldDefaultValue'](_0x7234dd);return _0x2f292a;}['getDataSetValues'](_0x4b8525,_0x508520=!0x1){const _0x4a67b7={},_0x3e66f7=this['getMergeFieldsIds']();for(const _0x12fcbe of _0x3e66f7){let _0x1071c3=this['getMergeFieldValue'](_0x12fcbe,_0x4b8525);null===_0x1071c3&&_0x508520&&(_0x1071c3=this['getMergeFieldDefaultValue'](_0x12fcbe)),_0x4a67b7[_0x12fcbe]=_0x1071c3;}return _0x4a67b7;}['getLabel'](_0x2cefac){const _0x1f40a7=this['getDefinition'](_0x2cefac);return _0x1f40a7&&_0x1f40a7['label']?_0x1f40a7['label']:null;}['getMergeFieldDefaultValue'](_0xddee47){const _0x333f64=this['getDefinition'](_0xddee47);if(!_0x333f64||void 0x0===_0x333f64['defaultValue'])return null;const _0x1a4707='function'==typeof _0x333f64['defaultValue']?_0x333f64['defaultValue'](this['editor']):_0x333f64['defaultValue'];return String(_0x1a4707);}['getMergeFieldValue'](_0x1c85c2,_0x1beb6b){const _0x1ce0f9=this['editor']['config']['get']('mergeFields.dataSets')['find'](_0x5297ae=>_0x5297ae['id']===_0x1beb6b);if(!_0x1ce0f9)throw new _0x14e616['CKEditorError']('merge-fields-data-set-not-found',null);const _0x3807c0=_0x1ce0f9['values'][_0x1c85c2];if(void 0x0===_0x3807c0)return null;const _0x51b7f4='function'==typeof _0x3807c0?_0x3807c0(this['editor']):_0x3807c0;return String(_0x51b7f4);}['getMergeFieldType'](_0x1ab4df){if('string'!=typeof _0x1ab4df){const _0x548b97=_0x1ab4df;return'mergeField'===_0x548b97['name']?'text':'mergeFieldBlock'===_0x548b97['name']?'block':'imageBlock'!==_0x548b97['name']&&'imageInline'!==_0x548b97['name']||!_0x548b97['getAttribute']('src')?null:_0x548b97['getAttribute']('src')['match'](this['_mergeFieldRegExp'])?'image':null;}const _0x1b1ea5=this['getDefinition'](_0x1ab4df);return _0x1b1ea5&&_0x1b1ea5['type']?_0x1b1ea5['type']:'text';}['getMergeFieldHeight'](_0x353764){const _0x5a8863=this['getDefinition'](_0x353764);return _0x5a8863&&'block'===_0x5a8863['type']?_0x5a8863['height']||0x78:_0x5a8863&&'image'===_0x5a8863['type']?_0x5a8863['height']||0x190:null;}['getMergeFieldWidth'](_0x5dfec7){const _0x343817=this['getDefinition'](_0x5dfec7);return _0x343817&&'image'===_0x343817['type']?_0x343817['width']||0x190:null;}['getDocumentMergeFieldsIds'](){const _0x113e76=new Set();for(const _0x2b310e of this['_mergeFieldElements'])'$graveyard'!==_0x2b310e['root']['rootName']&&('image'===this['getMergeFieldType'](_0x2b310e)?_0x113e76['add'](this['unwrapAffixes'](_0x2b310e['getAttribute']('src'))):_0x113e76['add'](_0x2b310e['getAttribute']('id')));return Array['from'](_0x113e76);}['getMergeFieldsIds'](){const _0x1fc965=this['flattenedMergeFieldDefinitions']['map'](_0x1666fc=>_0x1666fc['id']),_0x1514a9=this['getDocumentMergeFieldsIds']();return Array['from'](new Set([..._0x1fc965,..._0x1514a9]));}['getDefinition'](_0x39c18f){return this['flattenedMergeFieldDefinitions']['find'](_0x5bdc4c=>_0x5bdc4c['id']===_0x39c18f)||null;}['refreshMergeFields'](){this['_mergeFieldElements']['forEach'](_0x24e040=>{'$graveyard'!==_0x24e040['root']['rootName']&&this['editor']['editing']['reconvertItem'](_0x24e040);});}['wrapInAffixes'](_0x1b30e3){return this['_mergeFieldPrefix']+_0x1b30e3+this['_mergeFieldSuffix'];}['unwrapAffixes'](_0x15e867){return _0x15e867['slice'](this['_mergeFieldPrefix']['length'],_0x15e867['length']-this['_mergeFieldSuffix']['length']);}['_getFlattenedMergeFieldDefinitions'](){const _0x32f1f1=new Set(),_0x37b57d=this['editor'];return _0x37b57d['config']['get']('mergeFields.definitions')['reduce']((_0x5952c9,_0x50cf36)=>{if('groupId'in _0x50cf36){if(_0x32f1f1['has'](_0x50cf36['groupId']))throw new _0x14e616['CKEditorError']('merge-fields-duplicate-group-id',_0x37b57d,{'duplicateId':_0x50cf36['groupId']});_0x32f1f1['add'](_0x50cf36['groupId']);}return'groupId'in _0x50cf36?function(_0xab63ab,_0x4776c5){for(const _0x2faf8f of _0x4776c5['definitions'])_0xab63ab=_0xab63ab['concat'](_0x2faf8f);return _0xab63ab;}['bind'](_0x37b57d)(_0x5952c9,_0x50cf36):_0x5952c9['concat'](_0x50cf36);},new Array());}['_validateConfig'](){const _0x591fc3=/^['"`!#%:;=@{}~$()*+/?[\\\]^|]+$/;if(!_0x591fc3['test'](this['_mergeFieldPrefix'])||!_0x591fc3['test'](this['_mergeFieldSuffix']))throw new _0x14e616['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 _0x14e616['CKEditorError']('merge-fields-prefix-or-suffix-too-long',this,{'prefix':this['_mergeFieldPrefix'],'suffix':this['_mergeFieldSuffix'],'limit':0x8});const _0xd6e26c=new Set();if(this['flattenedMergeFieldDefinitions']['map'](_0x17f47f=>{if(!_0x49c044['test'](_0x17f47f['id']))throw new _0x14e616['CKEditorError']('merge-fields-invalid-id',this,{'incorrectId':_0x17f47f['id']});if(_0xd6e26c['has'](_0x17f47f['id']))throw new _0x14e616['CKEditorError']('merge-fields-duplicate-merge-field-id',this,{'duplicateId':_0x17f47f['id']});_0xd6e26c['add'](_0x17f47f['id']);}),this['_mergeFieldPrefix']===this['_mergeFieldSuffix'])throw new _0x14e616['CKEditorError']('merge-fields-prefix-and-suffix-must-differ',this);const _0x38e160=this['editor']['config']['get']('mergeFields.previewModes'),_0x3a4982=['$labels','$defaultValues','$dataSets'];if(!_0x38e160['length']||!_0x38e160['every'](_0x52befe=>_0x3a4982['includes'](_0x52befe)))throw new _0x14e616['CKEditorError']('merge-fields-invalid-preview-modes-configuration',this,{'invalidConfig':_0x38e160});const _0x55bf93=new Set(),_0x1465a9=this['editor']['config']['get']('mergeFields.dataSets');for(const _0x1e4c4f of _0x1465a9){if(_0x55bf93['has'](_0x1e4c4f['id']))throw new _0x14e616['CKEditorError']('merge-fields-duplicate-data-set-id',this,{'duplicateId':_0x1e4c4f['id']});_0x55bf93['add'](_0x1e4c4f['id']);}}['_getAvailablePreviewModes'](){const _0x295456=this['editor']['config']['get']('mergeFields.previewModes'),_0x3b881a=[];if(_0x295456['includes']('$labels')&&_0x3b881a['push']('$labels'),_0x295456['includes']('$defaultValues')&&_0x3b881a['push']('$defaultValues'),_0x295456['includes']('$dataSets')){const _0x127af7=this['editor']['config']['get']('mergeFields.dataSets');_0x3b881a['push'](..._0x127af7['map'](_0x3e70e6=>_0x3e70e6['id']));}return _0x3b881a;}['_defineSchema'](){const _0x4c8cbe=this['editor']['model']['schema'];_0x4c8cbe['register']('mergeField',{'inheritAllFrom':'$inlineObject','allowAttributes':['id'],'allowWhere':'$text'}),_0x4c8cbe['register']('mergeFieldBlock',{'inheritAllFrom':'$blockObject','allowAttributes':['id']});}['_defineConverters'](){const _0x2b2d34=this['editor']['conversion'];_0x2b2d34['for']('upcast')['add'](_0x44ea71=>{_0x44ea71['on']('text',(_0xf57acc,_0x427ae7,_0x117282)=>{const {writer:_0x52c952,safeInsert:_0x28f189}=_0x117282,{viewItem:_0x5050e3}=_0x427ae7,_0x59ec28=_0x5050e3['data']['split'](this['_mergeFieldRegExp'])['filter'](_0x1be15a=>_0x1be15a);if(0x1===_0x59ec28['length']&&!_0x59ec28[0x0]['match'](this['_mergeFieldRegExp']))return;if(!_0x427ae7['modelRange'])return;const _0x1b6ade=_0x52c952['createElement']('$cursor');_0x52c952['insert'](_0x1b6ade,_0x427ae7['modelCursor']);const _0x25e5c2=[];for(const _0x28fc30 of _0x427ae7['modelRange']['getItems']()){if(!_0x28fc30['is']('$textProxy'))continue;const _0x34fe8c=_0x28fc30['textNode']['data']['matchAll'](this['_mergeFieldRegExp']),_0x445bf0=_0x28fc30['parent'],_0x596ad1=_0x28fc30['textNode']['startOffset'];for(const _0x33cfc3 of[..._0x34fe8c]['reverse']()){const _0x972c5b=_0x33cfc3[0x0],_0x457019=_0x52c952['createPositionAt'](_0x445bf0,_0x33cfc3['index']+_0x596ad1),_0x5ebffc=_0x457019['getShiftedBy'](_0x972c5b['length']),_0x1d4f26=_0x52c952['createRange'](_0x457019,_0x5ebffc),_0x590419=this['unwrapAffixes'](_0x972c5b),_0x3a8a6a=this['getMergeFieldType'](_0x590419),_0x312dcf='block'==_0x3a8a6a?'mergeFieldBlock':'mergeField',_0x23ed5c=_0x52c952['createElement'](_0x312dcf,{'id':_0x590419});_0x52c952['remove'](_0x1d4f26),_0x52c952['insert'](_0x23ed5c,_0x457019),'block'==_0x3a8a6a&&_0x25e5c2['push'](_0x23ed5c);}}_0x25e5c2['reverse']();for(const _0x394322 of _0x25e5c2){const _0x378537=_0x52c952['createPositionBefore'](_0x394322),_0xbc884e=_0x394322['nextSibling']==_0x1b6ade;_0x52c952['remove'](_0x394322),_0x28f189(_0x394322,_0x378537)&&_0xbc884e&&_0x52c952['move'](_0x52c952['createRangeOn'](_0x1b6ade),_0x52c952['createPositionAfter'](_0x394322));}_0x427ae7['modelCursor']=_0x52c952['createPositionBefore'](_0x1b6ade),_0x427ae7['modelRange']=_0x52c952['createRange'](_0x427ae7['modelRange']['start'],_0x427ae7['modelCursor']),_0x52c952['remove'](_0x1b6ade);},{'priority':_0x14e616['priorities']['get']('lowest')-0x1});}),_0x2b2d34['for']('upcast')['elementToElement']({'view':{'name':'span','attributes':'data-ck-merge-field'},'model':(_0x1052af,{writer:_0xeb6cae})=>_0xeb6cae['createElement']('mergeField',{'id':_0x1052af['getAttribute']('data-ck-merge-field')})}),_0x2b2d34['for']('upcast')['elementToElement']({'view':{'name':'div','attributes':'data-ck-merge-field'},'model':(_0x3470f2,{writer:_0x2bb60d})=>_0x2bb60d['createElement']('mergeFieldBlock',{'id':_0x3470f2['getAttribute']('data-ck-merge-field')})}),_0x2b2d34['for']('upcast')['add'](this['_upcastSrcAttributeFromClipboard']()),_0x2b2d34['for']('editingDowncast')['elementToElement']({'model':'mergeField','view':(_0x2ccb76,{writer:_0x531581})=>this['_createMergeFieldWidget'](_0x2ccb76,_0x531581,'text')}),_0x2b2d34['for']('dataDowncast')['elementToElement']({'model':'mergeField','view':(_0x42bbaa,{writer:_0x143ce8,options:_0x1fb407})=>this['_createTextualMergeField'](_0x42bbaa,_0x143ce8,_0x1fb407)}),_0x2b2d34['for']('editingDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x35e673,{writer:_0x5dec2f})=>this['_createMergeFieldWidget'](_0x35e673,_0x5dec2f,'block')}),_0x2b2d34['for']('dataDowncast')['elementToElement']({'model':'mergeFieldBlock','view':(_0x345a62,{writer:_0x3287ab,options:_0x13c48d})=>this['_createTextualMergeField'](_0x345a62,_0x3287ab,_0x13c48d)}),_0x2b2d34['for']('editingDowncast')['add'](this['_downcastSrcAttributeToEditing']('imageBlock'))['add'](this['_downcastSrcAttributeToEditing']('imageInline')),_0x2b2d34['for']('dataDowncast')['add'](this['_downcastSrcAttributeToData']('imageBlock'))['add'](this['_downcastSrcAttributeToData']('imageInline'));}['_upcastSrcAttributeFromClipboard'](){return _0x3877e0=>{_0x3877e0['on']('element:img',(_0x273d54,_0x364255,_0x55b0d9)=>{_0x55b0d9['consumable']['test'](_0x364255['viewItem'],{'attributes':'data-ck-merge-field'})&&(_0x55b0d9['writer']['setAttribute']('src',this['wrapInAffixes'](_0x364255['viewItem']['getAttribute']('data-ck-merge-field')),_0x364255['modelCursor']['nodeBefore']),_0x55b0d9['consumable']['consume'](_0x364255['viewItem'],{'attributes':'data-ck-merge-field'}));},{'priority':'low'});};}['_downcastSrcAttributeToData'](_0x2b29f6){const _0x46614b=this['editor']['plugins']['get'](_0x14e616['ImageUtils']),_0x26a5d3=(_0x2777db,_0x27a2ee,_0x1b3f04)=>{if(!0x1!==_0x1b3f04['consumable']['test'](_0x27a2ee['item'],_0x2777db['name']))return;if(!String(_0x27a2ee['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x4d61df=_0x1b3f04['writer'],_0x33070e=_0x1b3f04['mapper']['toViewElement'](_0x27a2ee['item']),_0x3bbdaf=_0x46614b['findViewImgElement'](_0x33070e),_0x58ac26=String(_0x27a2ee['attributeNewValue']),_0x5559d8=this['unwrapAffixes'](_0x58ac26),_0x278bfd=_0x1b3f04['options']['mergeFieldsData'];if(_0x1b3f04['options']['isClipboardPipeline']&&'$labels'!==this['previewMode']){let _0x130405;return _0x130405='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x5559d8)||this['getLabel'](_0x5559d8)||this['wrapInAffixes'](_0x5559d8):this['getMergeFieldValue'](_0x5559d8,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x5559d8)||this['getLabel'](_0x5559d8)||this['wrapInAffixes'](_0x5559d8),_0x4d61df['setAttribute']('data-ck-merge-field',_0x5559d8,_0x3bbdaf),void _0x4d61df['setAttribute'](_0x27a2ee['attributeKey'],_0x130405,_0x3bbdaf);}const _0x15319f=_0x278bfd&&_0x278bfd[_0x5559d8]?_0x278bfd[_0x5559d8]:_0x58ac26;_0x4d61df['setAttribute'](_0x27a2ee['attributeKey'],_0x15319f,_0x3bbdaf);};return _0x31361d=>{_0x31361d['on']('attribute:src:'+_0x2b29f6,_0x26a5d3,{'priority':'low'});};}['_downcastSrcAttributeToEditing'](_0x320813){const _0x43f491=this['editor']['plugins']['get'](_0x14e616['ImageUtils']),_0x12ed2f=(_0x5df520,_0x13a99f,_0x54a661)=>{if(!0x1!==_0x54a661['consumable']['test'](_0x13a99f['item'],_0x5df520['name']))return;if(!String(_0x13a99f['attributeNewValue'])['match'](this['_mergeFieldRegExp']))return;const _0x34e0ac=_0x54a661['writer'],_0x701670=_0x54a661['mapper']['toViewElement'](_0x13a99f['item']),_0x46f38b=_0x43f491['findViewImgElement'](_0x701670),_0x25175b=String(_0x13a99f['attributeNewValue']),_0x2cbd5d=this['unwrapAffixes'](_0x25175b),_0x41fc11=this['getMergeFieldDefaultValue'](_0x2cbd5d),_0x30e9b3='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAAtJREFUGFdjYAACAAAFAAGq1chRAAAAAElFTkSuQmCC';let _0x2914aa,_0x289197='',_0xca567='';if('$labels'===this['previewMode'])_0x2914aa=_0x30e9b3;else{if('$defaultValues'===this['previewMode'])_0x41fc11?(_0x2914aa=_0x41fc11,_0xca567='\x20ck-merge-field-image_with-value'):(_0x2914aa=_0x30e9b3,_0x289197='WARNING_MISSING_DEFAULT_VALUE',_0xca567='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_no-default');else{const _0x4166b7=this['getMergeFieldValue'](_0x2cbd5d,this['previewMode']);_0x4166b7?(_0x2914aa=_0x4166b7,_0xca567='\x20ck-merge-field-image_with-value'):_0x41fc11?(_0x2914aa=_0x41fc11,_0xca567='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_default-value-used',_0x289197='WARNING_MISSING_DATA_USED_DEFAULT_VALUE'):(_0x2914aa=_0x30e9b3,_0xca567='\x20ck-merge-field-image_with-warning\x20ck-merge-field-image_with-warning_missing-data',_0x289197='WARNING_MISSING_DATA');}}if(_0x34e0ac['addClass']('ck-merge-field-image'+_0xca567,_0x701670),_0x34e0ac['setAttribute'](_0x13a99f['attributeKey'],_0x2914aa,_0x46f38b),'$labels'===this['previewMode']){const _0x3fed39='imageInline'===_0x320813?'span':'div',_0x1ed627=this['_mergeFieldPrefix'],_0x1d0aaa=this['_mergeFieldSuffix'],_0x2051b6=_0x34e0ac['createContainerElement'](_0x3fed39,{'class':'ck-merge-field','data-cke-tooltip-instant':'true'},[_0x34e0ac['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x309c03){const _0xa7fa1a=this['toDomElement'](_0x309c03);return _0xa7fa1a['innerHTML']=_0x1ed627,_0xa7fa1a;}),_0x34e0ac['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x34e0ac['createText'](this['getLabel'](_0x2cbd5d)||_0x2cbd5d)),_0x34e0ac['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x492712){const _0x2569ad=this['toDomElement'](_0x492712);return _0x2569ad['innerHTML']=_0x1d0aaa,_0x2569ad;})]);_0x34e0ac['insert'](_0x34e0ac['createPositionAt'](_0x701670,'end'),_0x2051b6),_0x34e0ac['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x2cbd5d)||_0x2cbd5d,_0x2051b6);}else{if(_0x289197&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x289197)){const _0x4448bc='imageInline'===_0x320813?'span':'div',_0x5d6bfa=_0xca567['replace'](/ck-merge-field-image/g,'ck-merge-field'),_0x14f160=_0x34e0ac['createContainerElement'](_0x4448bc,{'class':'ck-merge-field'+_0x5d6bfa,'data-cke-tooltip-instant':'true'},[_0x34e0ac['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x34e0ac['createText'](this['getLabel'](_0x2cbd5d)||_0x2cbd5d))]),_0x15d4fd=_0x34e0ac['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x26fa61){const _0x2d677a=this['toDomElement'](_0x26fa61),_0x4c9c27=new _0x14e616['IconView']();return _0x4c9c27['set']({'content':_0x14e616['IconWarning']}),_0x4c9c27['render'](),_0x2d677a['appendChild'](_0x4c9c27['element']),_0x2d677a;});_0x34e0ac['insert'](_0x34e0ac['createPositionAt'](_0x14f160,'end'),_0x15d4fd),_0x34e0ac['insert'](_0x34e0ac['createPositionAt'](_0x701670,'end'),_0x14f160),_0x34e0ac['setCustomProperty']('mergeFieldStatus',_0x289197,_0x14f160),_0x34e0ac['setAttribute']('data-cke-tooltip-text',this['getLabel'](_0x2cbd5d)||_0x2cbd5d,_0x14f160);}}_0x34e0ac['setAttribute']('data-merge-field-name',_0x2cbd5d,_0x701670),_0x289197&&_0x34e0ac['setCustomProperty']('mergeFieldStatus',_0x289197,_0x701670);};return _0x30f857=>{_0x30f857['on']('attribute:src:'+_0x320813,_0x12ed2f,{'priority':'low'});};}['_setupTooltipsTogglingForImageMergeField'](_0x468049,_0x4add0d){if(!_0x4add0d['target'])return null;const _0x34b763=_0x4add0d['target']['parentElement'];return _0x34b763&&_0x34b763['classList']['contains']('ck-merge-field-image')?new _0x14e616['ResizeObserver'](_0x34b763,_0x198d78=>{const _0x52e826=_0x198d78['target'],_0x9dcd94=_0x52e826['querySelector']('.ck-merge-field'),_0x45ebde=_0x52e826['querySelector']('.ck-merge-field__content');_0x9dcd94&&_0x45ebde&&(_0x45ebde['scrollWidth']>_0x45ebde['getBoundingClientRect']()['width']?_0x9dcd94['removeAttribute']('data-cke-tooltip-disabled'):_0x9dcd94['setAttribute']('data-cke-tooltip-disabled','true'));}):null;}['_createMergeFieldWidget'](_0x3a07c7,_0x5bcb7e,_0x27a474){const {label:_0x3861d3,classes:_0x3bc1f6,status:_0x26b6fc,height:_0x59e778}=this['_prepareViewElementData'](_0x3a07c7),_0x1001d0=this['_mergeFieldPrefix'],_0x55e4ad=this['_mergeFieldSuffix'],_0x42dcf7=this['editor']['config']['get']('mergeFields.sanitizeHtml'),_0x36faf9='text'===_0x27a474?'span':'div';let _0x2f5029;if('$labels'===this['previewMode'])_0x2f5029=_0x5bcb7e['createContainerElement'](_0x36faf9,{'class':_0x3bc1f6},[_0x5bcb7e['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x56682a){const _0x3f8dab=this['toDomElement'](_0x56682a);return _0x3f8dab['innerHTML']=_0x1001d0,_0x3f8dab;}),_0x5bcb7e['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x5bcb7e['createText'](String(_0x3861d3))),_0x5bcb7e['createUIElement']('span',{'class':'ck-merge-field__affix'},function(_0x37680a){const _0x2ac290=this['toDomElement'](_0x37680a);return _0x2ac290['innerHTML']=_0x55e4ad,_0x2ac290;})]);else{if(_0x26b6fc){const _0xc08bd7=this['_shouldPreviewHtmlValues']?_0x5bcb7e['createRawElement']('span',{'class':'ck-merge-field__content'},function(_0x92b120,_0x159f26){_0x159f26['setContentOf'](_0x92b120,_0x42dcf7(_0x3861d3)['html']);}):_0x5bcb7e['createContainerElement']('span',{'class':'ck-merge-field__content'},_0x5bcb7e['createText'](_0x3861d3));if(_0x2f5029=_0x5bcb7e['createContainerElement'](_0x36faf9,{'class':_0x3bc1f6},[_0xc08bd7]),'text'===_0x27a474||['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x26b6fc)){const _0x2e3027=_0x5bcb7e['createUIElement']('span',{'class':'ck-merge-field__icon'},function(_0x4b9106){const _0x2cd050=this['toDomElement'](_0x4b9106),_0x565841=new _0x14e616['IconView']();return _0x565841['set']({'content':_0x14e616['IconWarning']}),_0x565841['render'](),_0x2cd050['appendChild'](_0x565841['element']),_0x2cd050;});_0x5bcb7e['insert'](_0x5bcb7e['createPositionAt'](_0x2f5029,'end'),_0x2e3027);}_0x5bcb7e['setCustomProperty']('mergeFieldStatus',_0x26b6fc,_0x2f5029);}else{const _0x5643fe=this['_shouldPreviewHtmlValues']?_0x5bcb7e['createRawElement'](_0x36faf9,{},function(_0x5ee1ac,_0x1bafd4){_0x1bafd4['setContentOf'](_0x5ee1ac,_0x42dcf7(_0x3861d3)['html']);}):_0x5bcb7e['createText'](_0x3861d3);_0x2f5029=_0x5bcb7e['createContainerElement'](_0x36faf9,{'class':_0x3bc1f6},_0x5643fe);}}if('block'===_0x27a474){const _0x121126=_0x5bcb7e['createContainerElement']('div',{'class':'ck-merge-field-block'},[_0x2f5029]);if(('$labels'===this['previewMode']||_0x26b6fc&&['WARNING_MISSING_DEFAULT_VALUE','WARNING_MISSING_DATA']['includes'](_0x26b6fc))&&_0x5bcb7e['setAttribute']('style','height:\x20'+_0x59e778+'px',_0x121126),_0x2f5029['hasClass']('ck-merge-field_with-value'))_0x5bcb7e['addClass']('ck-merge-field-block_with-value',_0x121126);else{if(_0x2f5029['hasClass']('ck-merge-field_with-warning')){for(const _0x3929b6 of _0x2f5029['getClassNames']())if('ck-merge-field'!==_0x3929b6){const _0x40a83d=_0x3929b6['replace']('ck-merge-field','ck-merge-field-block');_0x5bcb7e['addClass'](_0x40a83d,_0x121126);}_0x5bcb7e['setCustomProperty']('mergeFieldStatus',_0x26b6fc,_0x121126);}}return _0x5bcb7e['setCustomProperty']('mergeFieldBlock',!0x0,_0x121126),_0x5bcb7e['setAttribute']('data-merge-field-name',_0x3a07c7['getAttribute']('id'),_0x121126),(0x0,_0x14e616['toWidget'])(_0x121126,_0x5bcb7e,{'hasSelectionHandle':!0x0});}return _0x5bcb7e['setCustomProperty']('mergeField',!0x0,_0x2f5029),_0x5bcb7e['setAttribute']('data-merge-field-name',_0x3a07c7['getAttribute']('id'),_0x2f5029),(0x0,_0x14e616['toWidget'])(_0x2f5029,_0x5bcb7e);}['_prepareViewElementData'](_0x24f12d){const _0x2db37a=_0x24f12d['getAttribute']('id'),_0x442b6b=this['getDefinition'](_0x2db37a);if(!_0x442b6b)return'$labels'===this['previewMode']?{'label':_0x2db37a,'classes':'ck-merge-field'}:{'label':_0x2db37a,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-definition','status':'WARNING_MISSING_DATA'};const _0x488274=this['getLabel'](_0x2db37a)||_0x2db37a,_0x25c902=this['getMergeFieldDefaultValue'](_0x2db37a),_0x3dc96b=this['getMergeFieldHeight'](_0x2db37a);if('$labels'===this['previewMode'])return{'label':_0x488274,'height':_0x3dc96b,'classes':'ck-merge-field'};if('$defaultValues'===this['previewMode'])return _0x25c902?{'label':_0x25c902,'height':_0x3dc96b,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:{'label':_0x488274,'height':_0x3dc96b,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_no-default','status':'WARNING_MISSING_DEFAULT_VALUE'};const _0x25434f=this['getMergeFieldValue'](_0x442b6b['id'],this['previewMode']);return _0x25434f?{'label':_0x25434f,'height':_0x3dc96b,'classes':'ck-merge-field\x20ck-merge-field_with-value'}:_0x25c902?{'label':_0x25c902,'height':_0x3dc96b,'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':_0x488274,'height':_0x3dc96b,'classes':'ck-merge-field\x20ck-merge-field_with-warning\x20ck-merge-field_with-warning_missing-data','status':'WARNING_MISSING_DATA'};}['_createTextualMergeField'](_0x906810,_0xdd3948,_0x3a92ad){const _0x3f383d=_0x906810['getAttribute']('id');let _0x3dc001;if(_0x3a92ad['isClipboardPipeline']&&'$labels'!==this['previewMode'])return this['_downcastForClipboard'](_0x3f383d,_0xdd3948);const _0x4bfaf7=_0x3a92ad['mergeFieldsData'],_0x51a6c4=_0x4bfaf7&&_0x4bfaf7[_0x3f383d]?_0x4bfaf7[_0x3f383d]:this['wrapInAffixes'](_0x3f383d);if(_0x4bfaf7)_0x3dc001=_0xdd3948['createRawElement']('span',{},function(_0x1cb393,_0x5cbbcc){_0x5cbbcc['setContentOf'](_0x1cb393,String(_0x51a6c4));});else{_0x3dc001=_0xdd3948['createContainerElement']('span');const _0x113a99=_0xdd3948['createText'](_0x51a6c4);_0xdd3948['insert'](_0xdd3948['createPositionAt'](_0x3dc001,'end'),_0x113a99);}return _0xdd3948['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3dc001),_0x3dc001;}['_downcastForClipboard'](_0x2584cb,_0x5c90f3){const _0x1b00e0='block'===this['getMergeFieldType'](_0x2584cb)?'div':'span';let _0x241c7a,_0x5474c6;_0x241c7a='$defaultValues'===this['previewMode']?this['getMergeFieldDefaultValue'](_0x2584cb)||this['getLabel'](_0x2584cb)||this['wrapInAffixes'](_0x2584cb):this['getMergeFieldValue'](_0x2584cb,this['previewMode'])||this['getMergeFieldDefaultValue'](_0x2584cb)||this['getLabel'](_0x2584cb)||this['wrapInAffixes'](_0x2584cb);const _0x467e07=this['editor']['config']['get']('mergeFields.sanitizeHtml');return _0x5474c6=this['_shouldPreviewHtmlValues']?_0x5c90f3['createRawElement'](_0x1b00e0,{'data-ck-merge-field':_0x2584cb},function(_0x4b0f83,_0x1e2c83){_0x1e2c83['setContentOf'](_0x4b0f83,_0x467e07(_0x241c7a)['html']);}):_0x5c90f3['createContainerElement'](_0x1b00e0,{'data-ck-merge-field':_0x2584cb},_0x5c90f3['createText'](_0x241c7a)),_0x5474c6;}['_validatePreviewMode'](_0x3bedba){if(!this['availablePreviewModes']['includes'](_0x3bedba))throw new _0x14e616['CKEditorError']('merge-fields-invalid-preview-mode-set',this,{'availablePreviewModes':this['availablePreviewModes'],'previewMode':_0x3bedba});}['_trackAddedMergeFields'](){for(const _0x1c2398 of this['editor']['model']['document']['differ']['getChanges']({'includeChangesInGraveyard':!0x0})){if('insert'!==_0x1c2398['type']||'$text'===_0x1c2398['name'])continue;if('mergeField'===_0x1c2398['name']||'mergeFieldBlock'===_0x1c2398['name']){this['_mergeFieldElements']['add'](_0x1c2398['position']['nodeAfter']);continue;}if('imageInline'===_0x1c2398['name']||'imageBlock'===_0x1c2398['name']&&_0x1c2398['attributes']['get']('src')&&String(_0x1c2398['attributes']['get']('src'))['match'](this['_mergeFieldRegExp'])){this['_mergeFieldElements']['add'](_0x1c2398['position']['nodeAfter']);continue;}const _0x45707b=this['editor']['model']['createRangeIn'](_0x1c2398['position']['nodeAfter']);for(const _0x2942cd of _0x45707b['getItems']())_0x2942cd['is']('element')&&this['isMergeField'](_0x2942cd)&&this['_mergeFieldElements']['add'](_0x2942cd);}}['_registerConversionPostFixer'](){const _0x47e57b=this['editor'];_0x47e57b['model']['document']['registerPostFixer'](_0x74aab9=>{if(!_0x74aab9['batch']['isLocal'])return!0x1;const _0x138f0e=[],_0x20700e=new Set(),_0x21e323=this['_mergeFieldRegExp'];let _0x579f46=!0x1;for(const _0x424e0d of _0x47e57b['model']['document']['differ']['getChanges']())if('insert'===_0x424e0d['type']||'remove'===_0x424e0d['type']){let _0x1f1d2f='$text'==_0x424e0d['name']?_0x424e0d['position']['parent']:_0x424e0d['position']['nodeAfter'];if(!_0x1f1d2f)continue;_0x1f1d2f['is']('$text')&&(_0x1f1d2f=_0x1f1d2f['parent']),_0x4278a9(_0x1f1d2f);}for(const _0x74999f of _0x138f0e['reverse']()){const {match:_0x36d0bd,item:_0x3c41a6}=_0x74999f,_0xa94e4f=_0x74aab9['createPositionAt'](_0x3c41a6,_0x36d0bd['index']),_0x399365=_0xa94e4f['getShiftedBy'](_0x36d0bd[0x0]['length']),_0x1e380c=_0x74aab9['createRange'](_0xa94e4f,_0x399365),_0x152888=_0x36d0bd[0x0],_0x3db87f=this['unwrapAffixes'](_0x152888),_0x27ff48=_0x104827(_0x1e380c),_0x5cf0ee=this['getMergeFieldType'](_0x3db87f);if(_0x49c044['test'](_0x3db87f)){if(_0x27ff48['set']('id',_0x3db87f),'block'===_0x5cf0ee){const _0x4c1ffb=_0x74aab9['createElement']('mergeFieldBlock',{'id':_0x3db87f});_0x74aab9['remove'](_0x1e380c),_0x47e57b['model']['insertObject'](_0x4c1ffb,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{if('image'===_0x5cf0ee){const _0xc0f2ad=_0x74aab9['createElement']('imageBlock',{'src':this['wrapInAffixes'](_0x3db87f)});_0x74aab9['remove'](_0x1e380c),_0x47e57b['model']['insertObject'](_0xc0f2ad,null,null,{'setSelection':'on','findOptimalPosition':void 0x0});}else{const _0x41d767=_0x74aab9['createElement']('mergeField',_0x27ff48);_0x47e57b['model']['schema']['checkChild'](_0x1e380c['start'],'mergeField')?_0x47e57b['model']['insertObject'](_0x41d767,_0x1e380c):_0x74aab9['remove'](_0x1e380c);}}_0x579f46=!0x0;}}return _0x579f46;function _0x4278a9(_0x429ce4){let _0x3806b0='',_0x5068f4=0x0;if(!_0x20700e['has'](_0x429ce4))for(const _0x3f0195 of _0x429ce4['getChildren']()){const _0x55b134=_0x3f0195['nextSibling'];if(_0x3f0195['is']('$text')&&(''===_0x3806b0&&_0x3f0195['startOffset']&&(_0x5068f4=_0x3f0195['startOffset']),_0x3806b0+=_0x3f0195['data']),!_0x55b134||_0x55b134['is']('element')){for(const _0x5200e4 of _0x3806b0['matchAll'](_0x21e323))_0x5200e4['index']=_0x5200e4['index']+_0x5068f4,_0x138f0e['push']({'match':_0x5200e4,'item':_0x429ce4});_0x20700e['add'](_0x429ce4),_0x3806b0='';}_0x3f0195['is']('element')&&_0x4278a9(_0x3f0195);}}function _0x104827(_0x178092){const _0x545f1f=_0x178092['getItems'](),_0x3b1062=_0x545f1f['next']()['value'],_0x20eae9=new Map(_0x3b1062['getAttributes']());for(const _0x27ad84 of _0x545f1f)for(const [_0x4b58df,_0x596a17]of _0x20eae9)_0x27ad84['getAttribute'](_0x4b58df)!==_0x596a17&&_0x20eae9['delete'](_0x4b58df);return _0x20eae9;}});}['_disableCommandOnMergeFields'](_0xb24cd7){const _0x23a503=this['editor'],_0xa2949=_0x23a503['commands']['get'](_0xb24cd7);_0xa2949&&_0xa2949['on']('set:isEnabled',(_0x2e9a63,_0x59dc38,_0x1baee0)=>{if(0x1==_0x1baee0){const _0x18edcd=_0x23a503['model']['document']['selection']['getSelectedElement']();_0x18edcd&&this['isMergeField'](_0x18edcd)&&(_0x2e9a63['return']=!0x1,_0x2e9a63['stop']());}});}},_0xa89a31=class extends _0x14e616['ListView']{['filter'](_0x326355){return(0x0,_0x14e616['filterGroupAndItemNames'])(_0x326355,this['items']);}},_0xa9aaec=class extends _0x14e616['View']{constructor(_0x311e60){super(_0x311e60),this['set']('text','');const _0x3bea6a=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':_0x3bea6a['to']('text')}]}]});}};function _0x32707d(_0x3dc4d9,_0x3cd222){const t=_0x3dc4d9['t'];switch(_0x3cd222){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 _0x3cd222;}}var _0x395509=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_balloon'];['_balloonPanelView']=null;static get['requires'](){return[_0x14e616['Mention'],_0x3a8bfb,_0x14e616['ContextualBalloon'],_0x14e616['Widget']];}static get['pluginName'](){return'MergeFieldsUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x8619e5){super(_0x8619e5),this['_removeDefaultValuesPreviewIfUnnecessary'](),this['_removeMenuBarButtonIfUnnecessary'](),this['_setupMentionConfiguration']();}['init'](){const _0x5308f9=this['editor'];_0x5308f9['ui']['componentFactory']['add']('insertMergeField',_0x382980=>{const _0x5aaf7d=function(_0x39564f){const _0x5b0f8e=(0x0,_0x14e616['createDropdown'])(_0x39564f);return _0x5b0f8e['set']({'class':'ck-insert-merge-field-dropdown','isEnabled':!0x0}),_0x5b0f8e['buttonView']['set']({'label':_0x32707d(_0x39564f,'Insert\x20merge\x20field'),'icon':_0x14e616['IconInsertMergeField'],'tooltip':!0x0}),_0x5b0f8e;}(_0x382980);return _0x5aaf7d['bind']('isEnabled')['toMany']([_0x5308f9['commands']['get']('insertMergeField'),_0x5308f9['commands']['get']('insertMergeFieldBlock'),_0x5308f9['commands']['get']('insertMergeFieldImage')],'isEnabled',(..._0x212c5f)=>_0x212c5f['some'](_0x465478=>_0x465478)),_0x5aaf7d['once']('change:isOpen',()=>{const _0x5441ab={'insertInline':_0x5308f9['commands']['get']('insertMergeField'),'insertBlock':_0x5308f9['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x5308f9['commands']['get']('insertMergeFieldImage')},_0x58abe0=function(_0x2d9703,_0x2a837a,_0x38f273){const _0x4351ec=new _0xa89a31(_0x2d9703),_0x761976=[],_0x2c2755=[];for(const _0x56d1e7 of _0x2a837a)if('groupId'in _0x56d1e7){const _0x1d1511=_0x33acd8(_0x2d9703,_0x56d1e7['groupLabel']||_0x56d1e7['groupId'],_0x56d1e7['definitions'],_0x38f273);_0x1d1511['delegate']('execute')['to'](_0x4351ec),_0x2c2755['push'](_0x1d1511);}else _0x761976['push'](_0x56d1e7);if(_0x761976['length']){const _0x11d6a6=_0x33acd8(_0x2d9703,'Other',_0x761976,_0x38f273);_0x11d6a6['delegate']('execute')['to'](_0x4351ec),_0x2c2755['push'](_0x11d6a6);}return _0x4351ec['items']['addMany'](_0x2c2755),_0x4351ec;}(_0x382980,_0x5308f9['config']['get']('mergeFields.definitions'),_0x5441ab);_0x58abe0['delegate']('execute')['to'](_0x5aaf7d),_0x5aaf7d['on']('execute',(_0x998fe6,_0x3bcec9)=>{const _0x3b5163=_0x5308f9['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x3bcec9);'image'===_0x3b5163?_0x5308f9['execute']('insertMergeFieldImage',_0x3bcec9):'block'===_0x3b5163?_0x5308f9['execute']('insertMergeFieldBlock',_0x3bcec9):_0x5308f9['execute']('insertMergeField',_0x3bcec9),_0x5308f9['editing']['view']['focus']();});const _0x37422b=function(_0x372381,_0x4aa9cd){return new _0x14e616['SearchTextView'](_0x372381,{'filteredView':_0x4aa9cd,'queryView':{'label':_0x32707d(_0x372381,'Search\x20merge\x20field')},'class':'ck-merge-fields-search','infoView':{'text':{'notFound':{'primary':_0x32707d(_0x372381,'No\x20merge\x20fields\x20found')},'noSearchableItems':{'primary':_0x32707d(_0x372381,'No\x20merge\x20fields\x20available')}}}});}(_0x382980,_0x58abe0);_0x5aaf7d['panelView']['children']['add'](_0x37422b),_0x5aaf7d['on']('change:isOpen',(_0x4c4bfe,_0x4bd72d,_0x524ac0)=>{_0x524ac0&&_0x37422b['reset']();});}),_0x5aaf7d;}),_0x5308f9['ui']['componentFactory']['add']('menuBar:insertMergeField',_0x5a5502=>{const _0x57f506=new _0x14e616['MenuBarMenuView'](_0x5a5502),_0x3a596d={'insertInline':_0x5308f9['commands']['get']('insertMergeField'),'insertBlock':_0x5308f9['commands']['get']('insertMergeFieldBlock'),'insertImage':_0x5308f9['commands']['get']('insertMergeFieldImage')};_0x57f506['buttonView']['set']({'label':_0x32707d(_0x5a5502,'Merge\x20field'),'icon':_0x14e616['IconInsertMergeField']}),_0x57f506['bind']('isEnabled')['toMany']([...Object['values'](_0x3a596d)],'isEnabled',(..._0x2b334b)=>_0x2b334b['some'](_0x448abd=>_0x448abd));const _0x3e8357=[],_0x577d72=new _0x14e616['MenuBarMenuListView'](_0x5a5502);for(const _0x2349f8 of _0x5308f9['config']['get']('mergeFields.definitions'))if('groupId'in _0x2349f8){const _0x54b3da=new _0x14e616['MenuBarMenuListItemView'](_0x5a5502,_0x57f506),_0x2dbec8=_0x4352f2(_0x5a5502,_0x2349f8,_0x3a596d);_0x54b3da['children']['add'](_0x2dbec8),_0x2dbec8['delegate']('execute')['to'](_0x57f506),_0x577d72['items']['add'](_0x54b3da);}else _0x3e8357['push'](_0x2349f8);if(_0x3e8357['length']){if(0x0===_0x577d72['items']['length'])for(const _0x40ab1d of _0x3e8357){let _0x4b1fe8;_0x4b1fe8='block'===_0x40ab1d['type']?_0x3a596d['insertBlock']:'image'===_0x40ab1d['type']?_0x3a596d['insertImage']:_0x3a596d['insertInline'];const _0x89234e=_0x34591c(_0x5a5502,_0x40ab1d,_0x57f506,_0x4b1fe8);_0x577d72['items']['add'](_0x89234e);}else{const _0x5e550b=new _0x14e616['MenuBarMenuListItemView'](_0x5a5502,_0x57f506),_0x4ddf88=_0x4352f2(_0x5a5502,{'groupId':'Other','definitions':_0x3e8357},_0x3a596d);_0x5e550b['children']['add'](_0x4ddf88),_0x4ddf88['delegate']('execute')['to'](_0x57f506),_0x577d72['items']['add'](_0x5e550b);}}return _0x57f506['panelView']['children']['add'](_0x577d72),_0x57f506['on']('execute',(_0x400dd4,_0x8010d7)=>{const _0x37a505=_0x5308f9['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x8010d7);'image'===_0x37a505?_0x5308f9['execute']('insertMergeFieldImage',_0x8010d7):'block'===_0x37a505?_0x5308f9['execute']('insertMergeFieldBlock',_0x8010d7):_0x5308f9['execute']('insertMergeField',_0x8010d7),_0x5308f9['editing']['view']['focus']();}),_0x57f506;});const _0x112904=_0x5308f9['config']['get']('mergeFields.previewModes'),_0x1db045=[];if(_0x112904['includes']('$labels')&&_0x1db045['push']({'type':'button','model':new _0x14e616['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x32707d(this['editor']['locale'],'Labels'),'commandValue':'$labels'})}),_0x112904['includes']('$defaultValues')&&_0x1db045['push']({'type':'button','model':new _0x14e616['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x32707d(this['editor']['locale'],'Default\x20values'),'commandValue':'$defaultValues'})}),_0x112904['includes']('$dataSets')){const _0x3e6f48=_0x5308f9['config']['get']('mergeFields.dataSets');if(_0x3e6f48['length']){for(const _0x79a145 of _0x3e6f48)_0x1db045['push']({'type':'button','model':new _0x14e616['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x79a145['label']||_0x79a145['id'],'commandValue':_0x79a145['id']})});}}_0x5308f9['ui']['componentFactory']['add']('previewMergeFields',_0x5e5838=>{const _0x28f4fd=_0x5308f9['commands']['get']('previewMergeFields'),_0x9c85a6=new _0x14e616['Collection']();for(const _0x2fac47 of wt(_0x1db045))_0x2fac47['model']['bind']('isOn')['to'](_0x28f4fd,'value',_0x18ccad=>_0x18ccad===_0x2fac47['model']['commandValue']),_0x9c85a6['add'](_0x2fac47);const _0x402799=(0x0,_0x14e616['createDropdown'])(_0x5e5838),_0x1b6ae0=_0x32707d(_0x5e5838,'Merge\x20fields\x20preview');return _0x402799['bind']('isEnabled')['to'](_0x28f4fd),(0x0,_0x14e616['addListToDropdown'])(_0x402799,_0x9c85a6,{'ariaLabel':_0x1b6ae0,'role':'menu'}),_0x402799['set']({'class':'ck-merge-fields-preview-dropdown'}),_0x402799['buttonView']['set']({'label':_0x1b6ae0,'ariaLabel':_0x1b6ae0,'ariaLabelledBy':void 0x0,'isOn':!0x1,'icon':_0x14e616['IconPreviewMergeFields'],'tooltip':!0x0}),this['listenTo'](_0x402799,'execute',_0x5afc27=>{const {commandValue:_0x55d723}=_0x5afc27['source'];_0x5308f9['execute']('previewMergeFields',_0x55d723),_0x5308f9['editing']['view']['focus']();}),_0x402799;}),_0x5308f9['ui']['componentFactory']['add']('menuBar:previewMergeFields',_0x13d4ff=>{const _0x14d1a4=new _0x14e616['MenuBarMenuView'](_0x13d4ff),_0x7d2762=_0x5308f9['commands']['get']('previewMergeFields');_0x14d1a4['buttonView']['set']({'label':_0x32707d(_0x13d4ff,'Merge\x20fields\x20preview'),'icon':_0x14e616['IconPreviewMergeFields']}),_0x14d1a4['bind']('isEnabled')['to'](_0x7d2762);const _0x4706f7=new _0x14e616['MenuBarMenuListView'](_0x13d4ff);_0x4706f7['set']({'ariaLabel':_0x32707d(_0x13d4ff,'Merge\x20fields\x20preview')});for(const _0x51109a of wt(_0x1db045)){const _0x3dcf5f=new _0x14e616['MenuBarMenuListItemView'](_0x13d4ff,_0x14d1a4),_0x7b0410=new _0x14e616['MenuBarMenuListItemButtonView'](_0x13d4ff);_0x51109a['model']['bind']('isOn')['to'](_0x7d2762,'value',_0x129b8a=>_0x129b8a===_0x51109a['model']['commandValue']),_0x7b0410['isToggleable']=!0x0,_0x7b0410['bind'](...Object['keys'](_0x51109a['model']))['to'](_0x51109a['model']),_0x7b0410['delegate']('execute')['to'](_0x14d1a4),_0x7b0410['on']('execute',_0x1d8c76=>{const {commandValue:_0x1c626d}=_0x1d8c76['source'];_0x5308f9['execute']('previewMergeFields',_0x1c626d),_0x5308f9['editing']['view']['focus']();}),_0x3dcf5f['children']['add'](_0x7b0410),_0x4706f7['items']['add'](_0x3dcf5f);}return _0x14d1a4['panelView']['children']['add'](_0x4706f7),_0x14d1a4;}),this['_balloon']=_0x5308f9['plugins']['get'](_0x14e616['ContextualBalloon']),this['listenTo'](_0x5308f9['ui'],'update',()=>{this['_updateBalloonVisibility']();},{'priority':'low'}),this['listenTo'](_0x5308f9['ui']['focusTracker'],'change:isFocused',(_0x535dbe,_0x24e231,_0x152872)=>{this['_balloon']['visibleView']&&this['_balloon']['visibleView']===this['_balloonPanelView']&&(_0x152872?this['_updateBalloonVisibility']():this['_hideBalloon']());},{'priority':'low'}),this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x32c6d6=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39bfeb;for(const _0x4603cb in _0x32c6d6){const _0x403c91=_0x4603cb,_0x16aba5=_0x32c6d6[_0x403c91];if('mergeFieldsLicenseKeyValid'==_0x16aba5||'mergeFieldsLicenseKeyInvalid'==_0x16aba5||'mergeFieldsLicenseKeyExpired'==_0x16aba5||'mergeFieldsLicenseKeyDomainLimit'==_0x16aba5||'mergeFieldsLicenseKeyNotAllowed'==_0x16aba5||'mergeFieldsLicenseKeyEvaluationLimit'==_0x16aba5||'mergeFieldsLicenseKeyUsageLimit'==_0x16aba5){delete _0x32c6d6[_0x403c91],_0x39bfeb=_0x16aba5,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'mergeFieldsLicenseKeyInvalid'==_0x39bfeb&&_0x32c6d6['_showLicenseError']('invalid'),'mergeFieldsLicenseKeyExpired'==_0x39bfeb&&_0x32c6d6['_showLicenseError']('expired'),'mergeFieldsLicenseKeyDomainLimit'==_0x39bfeb&&_0x32c6d6['_showLicenseError']('domainLimit'),'mergeFieldsLicenseKeyNotAllowed'==_0x39bfeb&&_0x32c6d6['_showLicenseError']('featureNotAllowed','MergeFields'),'mergeFieldsLicenseKeyEvaluationLimit'==_0x39bfeb&&_0x32c6d6['_showLicenseError']('evaluationLimit'),'mergeFieldsLicenseKeyUsageLimit'==_0x39bfeb&&_0x32c6d6['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_updateBalloonVisibility'](){const _0x2f33f9=this['editor']['editing']['view']['document']['selection']['getSelectedElement'](),_0x3f592f=!(!_0x2f33f9||!_0x2f33f9['getCustomProperty']('mergeFieldStatus'));if(this['_balloon']['hasView'](this['_balloonPanelView'])&&this['_balloon']['visibleView']===this['_balloonPanelView']){if(_0x3f592f){const _0x4b0cb2=_0x2f33f9['getCustomProperty']('mergeFieldStatus');this['_balloonPanelView']['text']=_0x32707d(this['editor']['locale'],_0x4b0cb2),this['_balloon']['updatePosition'](this['_getBalloonPositionData']());}else this['_hideBalloon']();}else{if(_0x3f592f){const _0x55cc72=_0x2f33f9['getCustomProperty']('mergeFieldStatus');this['_showBalloon'](_0x32707d(this['editor']['locale'],_0x55cc72));}}}['_showBalloon'](_0x4a1c05){this['_balloonPanelView']||(this['_balloonPanelView']=new _0xa9aaec(this['editor']['locale']),this['_balloonPanelView']['text']=_0x4a1c05),this['_balloon']['hasView'](this['_balloonPanelView'])||(this['_balloon']['add']({'stackId':'mergeFieldsStatus','view':this['_balloonPanelView'],'position':this['_getBalloonPositionData']()}),this['_balloon']['showStack']('mergeFieldsStatus'));}['_getBalloonPositionData'](){const _0xf432ac=this['editor']['editing']['view'];return{'target':()=>{const _0x545014=_0xf432ac['document']['selection']['getFirstRange'](),_0x483410=_0xf432ac['domConverter']['mapViewToDom'](_0x545014['getContainedElement']());return _0x483410?Array['from'](_0x483410['getClientRects']())[0x0]:_0xf432ac['domConverter']['viewRangeToDom'](_0x545014);}};}['_hideBalloon'](){this['_balloon']['remove'](this['_balloonPanelView']);}['_removeDefaultValuesPreviewIfUnnecessary'](){if(Object['values'](this['editor']['plugins']['get']('MergeFieldsEditing')['getDefaultValues']())['some'](_0x409639=>_0x409639))return;const _0x2e180e=this['editor']['config']['get']('mergeFields.previewModes');_0x2e180e['indexOf']('$defaultValues')>-0x1&&_0x2e180e['length']>0x1&&(_0x2e180e['splice'](_0x2e180e['indexOf']('$defaultValues'),0x1),this['editor']['config']['set']('mergeFields.previewModes',_0x2e180e));}['_removeMenuBarButtonIfUnnecessary'](){const _0x5b8568=this['editor']['config'];if(_0x5b8568['get']('mergeFields.previewModes')){const _0x3c1143=_0x5b8568['get']('mergeFields.previewModes');0x1===_0x3c1143['length']&&(_0x3c1143['includes']('$dataSets')?0x1===_0x5b8568['get']('mergeFields.dataSets')['length']&&_0x62f722():_0x62f722());}function _0x62f722(){const _0x5e51c0=_0x5b8568['get']('menuBar.removeItems');_0x5e51c0?(_0x5e51c0['push']('menuBar:previewMergeFields'),_0x5b8568['set']('menuBar.removeItems',_0x5e51c0)):_0x5b8568['set']('menuBar.removeItems',['menuBar:previewMergeFields']);}}['_setupMentionConfiguration'](){const _0x456d29=this['editor'],_0x36ed60=_0x456d29['config']['get']('mention.feeds'),_0x533bb7=_0x456d29['config']['get']('mergeFields.prefix');_0x36ed60['push']({'marker':_0x533bb7,'dropdownLimit':0xa,'feed':_0x4a3f77=>_0x456d29['plugins']['get']('MergeFieldsEditing')['flattenedMergeFieldDefinitions']['filter'](_0x24c8b5=>{const _0x4c9fbb=_0x456d29['commands']['get']('insertMergeField')['isEnabled'],_0x4e13e6=_0x456d29['commands']['get']('insertMergeFieldBlock')['isEnabled'],_0x398ddc=_0x456d29['commands']['get']('insertMergeFieldImage')['isEnabled'],_0x254801=_0x456d29['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x24c8b5['id']);return!('text'===_0x254801&&!_0x4c9fbb)&&(!('block'===_0x254801&&!_0x4e13e6)&&(!('image'===_0x254801&&!_0x398ddc)&&(_0x456d29['plugins']['get']('MergeFieldsEditing')['getLabel'](_0x24c8b5['id'])||_0x24c8b5['id'])['toLowerCase']()['includes'](_0x4a3f77['toLowerCase']())));}),'itemRenderer':_0xed1bfa=>{const _0xea920=document['createElement']('button');return _0xea920['innerHTML']=''+(_0xed1bfa['label']||_0xed1bfa['id']),_0xea920;}}),_0x456d29['config']['set']('mention.feeds',_0x36ed60);}['_overrideMentionExecuteListener'](){const _0x244f35=this['editor'];_0x244f35['commands']['get']('mention')['on']('execute',(_0x72e40f,_0x1f1151)=>{const _0x3ee1fb=_0x1f1151[0x0];_0x3ee1fb['marker']===_0x244f35['config']['get']('mergeFields.prefix')&&_0x244f35['model']['change'](_0xb6165=>{_0xb6165['remove'](_0x3ee1fb['range']);const _0x32e1a4=_0x3ee1fb['mention']['id'],_0x241cb9=_0x244f35['plugins']['get']('MergeFieldsEditing')['getMergeFieldType'](_0x32e1a4);'text'===_0x241cb9?_0x244f35['execute']('insertMergeField',_0x32e1a4):'block'===_0x241cb9?_0x244f35['execute']('insertMergeFieldBlock',_0x32e1a4,!0x1):_0x244f35['execute']('insertMergeFieldImage',_0x32e1a4,{'breakBlock':!0x0}),_0x72e40f['stop']();});},{'priority':'high'});}};function _0x33acd8(_0x2754a3,_0x1e197d,_0x5638ba,_0x14c78e){const _0x49370e=new _0x14e616['ListItemGroupView'](_0x2754a3,new _0x14e616['LabelWithHighlightView']());_0x49370e['label']=_0x1e197d;for(const _0xdb2b16 of _0x5638ba){let _0x5e0a65;_0x5e0a65='block'===_0xdb2b16['type']?_0x14c78e['insertBlock']:'image'===_0xdb2b16['type']?_0x14c78e['insertImage']:_0x14c78e['insertInline'];const _0x10ed7b=_0x3d9c74(_0x2754a3,_0xdb2b16,_0x5e0a65);_0x10ed7b['delegate']('execute')['to'](_0x49370e),_0x49370e['items']['add'](_0x10ed7b);}return _0x49370e;}function _0x3d9c74(_0x2e6ad9,_0xe05b5e,_0x1384ad){const _0x587717=new _0x14e616['ListItemView'](_0x2e6ad9),_0x3111cd=new _0x14e616['ButtonView'](_0x2e6ad9,new _0x14e616['ButtonLabelWithHighlightView']());return _0x587717['children']['add'](_0x3111cd),_0x3111cd['set']({'label':_0xe05b5e['label']||_0xe05b5e['id'],'withText':!0x0}),_0x3111cd['bind']('isEnabled')['to'](_0x1384ad),_0x3111cd['on']('execute',()=>{_0x587717['fire']('execute',_0xe05b5e['id']);}),_0x587717;}function _0x4352f2(_0x1504ed,_0x2c4bd8,_0x2f6908){const _0x1b1393=new _0x14e616['MenuBarMenuView'](_0x1504ed),_0x143c8b=new _0x14e616['MenuBarMenuListView'](_0x1504ed);for(const _0x48a894 of _0x2c4bd8['definitions']){let _0x2a3b6a;_0x2a3b6a='block'===_0x48a894['type']?_0x2f6908['insertBlock']:'image'===_0x48a894['type']?_0x2f6908['insertImage']:_0x2f6908['insertInline'];const _0x59323c=_0x34591c(_0x1504ed,_0x48a894,_0x1b1393,_0x2a3b6a);_0x143c8b['items']['add'](_0x59323c);}return _0x1b1393['set']({'class':'ck-menu-bar__merge-fields-submenu'}),_0x1b1393['buttonView']['set']({'label':_0x2c4bd8['groupLabel']||_0x2c4bd8['groupId']}),_0x1b1393['panelView']['children']['add'](_0x143c8b),_0x1b1393;}function _0x34591c(_0x747a58,_0x2193f2,_0x4f7543,_0x19ccde){const _0x2156d8=new _0x14e616['MenuBarMenuListItemView'](_0x747a58,_0x4f7543),_0x5f368e=new _0x14e616['MenuBarMenuListItemButtonView'](_0x747a58);return _0x5f368e['set']({'label':_0x2193f2['label']||_0x2193f2['id']}),_0x2156d8['delegate']('execute')['to'](_0x4f7543),_0x2156d8['children']['add'](_0x5f368e),_0x5f368e['bind']('isEnabled')['to'](_0x19ccde),_0x5f368e['on']('execute',()=>{_0x2156d8['fire']('execute',_0x2193f2['id']);}),_0x2156d8;}var _0x58a7ff=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x3a8bfb,_0x395509];}static get['pluginName'](){return'MergeFields';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x4de96c=class extends _0x14e616['Plugin']{['_recalculatePageBreaksDebounced']=_0x3a18ae(()=>this['_recalculatePageBreaks'](),0xc8);['_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(0x0,_0x14e616['logWarning'])('pagination-config-not-found',this['editor']['config']);const _0x2687c6=this['editor']['plugins']['get']('PaginationEditing');this['bind']('isEnabled')['to'](_0x2687c6),this['editor']['ui']['once']('ready',()=>this['_onUiReady']()),this['on']('change:isEnabled',(_0x3e1b18,_0xda36d7,_0xe999bb)=>{_0xe999bb&&this['_recalculatePageBreaksDebounced']();});}['afterInit'](){!async function(_0x13c565){const _0x51d077='I9sCmg3DJiG5LFMuQjwhT0XBYyxSqvdPO46NZAcVzb71RWkfe8oKptnrUEal2H',_0x1e4591=0x78fc0,_0x2938af=window['Date']['now'](),_0x57d335=_0x13c565['editor'],_0x4e509d=new window['Promise'](_0x1d22b9=>{_0x57d335['once']('ready',_0x1d22b9);}),_0x218014={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x5a5569=_0x57d335['config']['get']('licenseKey');async function _0x3f61fc(){let _0x1525cd,_0x7ea235=null,_0x17a778=null;try{return'GPL'==_0x5a5569?'NotAllowed':(_0x1525cd=_0x377fa1(),_0x1525cd?(_0x1525cd['usageEndpoint']&&(_0x17a778=_0x4fe071(_0x1525cd['usageEndpoint'],_0x1525cd['jti'])),await _0x13f9f9()?_0x4f63c5()?_0x71b6a8()?'Expired':_0x1ecf79()?('evaluation'==_0x1525cd['licenseType']&&(_0x7ea235=_0x1e189d('EvaluationLimit')),await _0x15ace5()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x71b6a8(){const _0x3341b9=['evaluation','trial']['includes'](_0x1525cd['licenseType'])?_0x2938af/0x3e8:0xe10*_0x1e4591;return _0x1525cd['exp']<_0x3341b9;}function _0x4f63c5(){const _0x5999bd=_0x1525cd['features'];return!!_0x5999bd&&(!!_0x5999bd['includes']('*')||!!_0x5999bd['includes']('PAG'));}function _0x1ecf79(){const _0x1b4ccb=_0x1525cd['licensedHosts'];if(!_0x1b4ccb||0x0==_0x1b4ccb['length'])return!0x0;const {hostname:_0x4933a9}=new URL(window['location']['href']);if(_0x1b4ccb['includes'](_0x4933a9))return!0x0;const _0x3a91d3=_0x4933a9['split']('.');return _0x1b4ccb['filter'](_0x443228=>_0x443228['includes']('*'))['map'](_0x24311b=>_0x24311b['split']('.'))['filter'](_0x53405f=>_0x53405f['length']<=_0x3a91d3['length'])['map'](_0x497814=>Array(_0x3a91d3['length']-_0x497814['length'])['fill']('*'===_0x497814[0x0]?'*':'')['concat'](_0x497814))['some'](_0x2c2fe1=>_0x3a91d3['every']((_0x2fda93,_0x1b4be2)=>_0x2c2fe1[_0x1b4be2]===_0x2fda93||'*'===_0x2c2fe1[_0x1b4be2]));}function _0x15ace5(){return _0x7ea235&&_0x17a778?new window['Promise']((_0x45771a,_0x3ecffe)=>{_0x7ea235['then'](_0x45771a,_0x3ecffe),_0x17a778['then'](_0x2a6202=>{'Valid'!=_0x2a6202&&_0x45771a(_0x2a6202);},_0x3ecffe);}):_0x7ea235||_0x17a778||'Valid';}}function _0x4fe071(_0x5405d8,_0xda391c){return new window['Promise'](_0x2e54f1=>{if(_0x1b5971())return _0x2e54f1('Valid');_0x23664e(),_0x57d335['decorate']('_sendUsageRequest');let _0x541b3=!0x1;const _0x54cb9c=(0x0,_0x14e616['uid'])();function _0x1aee42(_0x384343){return!!_0x384343&&('object'==typeof _0x384343||'function'==typeof _0x384343)&&'function'==typeof _0x384343['then']&&'function'==typeof _0x384343['catch'];}function _0x5daab2(_0x3868bc){_0x6661b(_0x3868bc)['then'](_0x3d906b=>_0x3d906b&&'ok'==_0x3d906b['status']?_0x306973(_0x5456a3(_0x54cb9c+_0xda391c))!=_0x3d906b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x268d63=>(_0x4cd783(),_0x268d63),()=>{const _0x4c9005=_0x8778f6();return null==_0x4c9005?(_0x4cd783(),'Valid'):_0x2938af-_0x4c9005>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2e54f1)['catch'](()=>{_0x2e54f1('UsageLimit');});const _0x17e030=0x36ee80;function _0x4cd783(){const _0x33da61='llct-'+_0x306973(_0x5456a3(_0x5405d8)),_0x2117fe=_0x11ff73(_0x306973(window['Math']['ceil'](_0x2938af/_0x17e030)));window['localStorage']['setItem'](_0x33da61,_0x2117fe);}function _0x8778f6(){const _0x449e4d='llct-'+_0x306973(_0x5456a3(_0x5405d8)),_0x18861a=window['localStorage']['getItem'](_0x449e4d);return _0x18861a?window['parseInt'](_0x11ff73(_0x18861a),0x10)*_0x17e030:null;}function _0x6661b(_0x587288){return new window['Promise']((_0x168da7,_0x57d985)=>{_0x587288['then'](_0x168da7,_0x57d985),window['setTimeout'](_0x57d985,0x1d4c0);});}}_0x57d335['on']('_sendUsageRequest',(_0x2949ac,_0x2c21f3)=>{if(_0x2c21f3[0x0]!=_0x5405d8)return _0x2e54f1('UsageLimit');_0x2c21f3[0x1]={..._0x2c21f3[0x1],'requestId':_0x54cb9c};},{'priority':'high'}),_0x57d335['on']('_sendUsageRequest',_0x42f14a=>{_0x1aee42(_0x42f14a['return'])&&(_0x541b3=!0x0,_0x5daab2(_0x42f14a['return']));},{'priority':'low'}),_0x4e509d['then'](()=>{_0x541b3||_0x2e54f1('UsageLimit');});});function _0x1b5971(){return'auto'==_0x57d335['editing']['view']['_overlayModeHint'];}function _0x23664e(){_0x57d335['editing']['view']['_overlayModeHint']='auto';}}function _0x1e189d(_0x12536c){const _0x3a8eba=[new window['Promise'](_0x9aa799=>setTimeout(_0x9aa799,0x93ecc)),_0x4e509d['then'](()=>new window['Promise'](_0x4b30ce=>{let _0x159f23=0x0;_0x57d335['model']['on']('applyOperation',(_0x5143ec,_0x839a13)=>{_0x839a13[0x0]['isDocumentOperation']&&_0x159f23++,0x5e8==_0x159f23&&(_0x4b30ce(),_0x5143ec['off']());});}))];return window['Promise']['race'](_0x3a8eba)['then'](()=>_0x12536c);}async function _0x4091f8(){await _0x4e509d,_0x57d335['model']['change']=_0x12dae5,_0x57d335['model']['enqueueChange']=_0x12dae5,_0x57d335['enableReadOnlyMode']('model');}function _0x16a847(_0x12d50d){const _0x6c3f67=_0x3b38b3();_0x57d335[_0x6c3f67]='paginationLicenseKey'+_0x12d50d,'Valid'!=_0x12d50d&&_0x4091f8();}function _0x3b38b3(){const _0x2943e7=window['String'](window['performance']['now']())['replace']('.','');let _0x9df02c='I';for(let _0x217816=0x0;_0x217816<_0x2943e7['length'];_0x217816+=0x2){let _0x27c33b=window['parseInt'](_0x2943e7['substring'](_0x217816,_0x217816+0x2));_0x27c33b>=0x3e&&(_0x27c33b-=0x3e),_0x9df02c+=_0x51d077[_0x27c33b];}return _0x9df02c;}function _0x377fa1(){const _0x12a998=_0x5a5569['split']('.');if(0x3!=_0x12a998['length'])return null;return _0xe8cd0d(_0x12a998[0x1]);function _0xe8cd0d(_0xbb9f2f){const _0x2e5b8d=_0x16358a(_0xbb9f2f);return _0x2e5b8d&&_0x482824()?_0x2e5b8d:null;function _0x482824(){const _0x240790=_0x2e5b8d['jti'],_0x5f468b=window['parseInt'](_0x240790['substring'](_0x240790['length']-0x8),0x10),_0x4a6ccc={..._0x2e5b8d,'jti':_0x240790['substring'](0x0,_0x240790['length']-0x8)};return delete _0x4a6ccc['vc'],_0x5456a3(_0x4a6ccc)==_0x5f468b;}}}async function _0x13f9f9(){let _0x4a6299=!0x0;try{const [_0x507c47,_0x4a8483,_0x3469cb]=_0x5a5569['split']('.');return _0x53e728(_0x507c47),await _0x2ff4e9(_0x507c47,_0x4a8483,_0x3469cb),_0x4a6299;}catch{return!0x1;}function _0x53e728(_0x5d3a65){const _0x26417a=_0x16358a(_0x5d3a65);_0x26417a&&'ES256'==_0x26417a['alg']||(_0x4a6299=!0x1);}async function _0x2ff4e9(_0x11e716,_0x44e149,_0x3435b1){const _0x9ab780=window['Uint8Array']['from'](_0x2a0112(_0x3435b1),_0x16177b=>_0x16177b['charCodeAt'](0x0)),_0x2ec9b8=new window['TextEncoder']()['encode'](_0x11e716+'.'+_0x44e149),_0x2d363c=window['crypto']['subtle'];if(!_0x2d363c)return;const _0x32f2c0=await _0x2d363c['importKey']('jwk',_0x218014,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x2d363c['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x32f2c0,_0x9ab780,_0x2ec9b8)||(_0x4a6299=!0x1);}}function _0x16358a(_0x39fb39){return _0x39fb39['startsWith']('ey')?JSON['parse'](_0x2a0112(_0x39fb39)):null;}function _0x2a0112(_0x4dc995){return window['atob'](_0x4dc995['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5456a3(_0x2eebba){let _0x37d3e1=0x1505;function _0x25f44e(_0x36b7fa){for(let _0x126aca=0x0;_0x126aca<_0x36b7fa['length'];_0x126aca++){const _0x16a0c4=_0x36b7fa['charCodeAt'](_0x126aca);_0x37d3e1=(_0x37d3e1<<0x5)+_0x37d3e1+_0x16a0c4,_0x37d3e1&=_0x37d3e1;}}function _0x1475f0(_0x5e797b){Array['isArray'](_0x5e797b)?_0x5e797b['forEach'](_0x1475f0):_0x5e797b&&'object'==typeof _0x5e797b?Object['entries'](_0x5e797b)['sort']()['forEach'](([_0x2a850b,_0x38889e])=>{_0x25f44e(_0x2a850b),_0x1475f0(_0x38889e);}):_0x25f44e(window['String'](_0x5e797b));}return _0x1475f0(_0x2eebba),_0x37d3e1>>>0x0;}function _0x306973(_0x3aab97){return _0x3aab97['toString'](0x10)['padStart'](0x8,'0');}function _0x11ff73(_0x2fb938){return _0x2fb938['split']('')['reverse']()['join']('');}function _0x12dae5(){}_0x16a847(await _0x3f61fc());}(this);}['destroy'](){super['destroy'](),this['_recalculatePageBreaksDebounced']['cancel'](),this['_pagesContainer']&&(this['_pagesContainer']['destroy'](),this['_pagesContainer']['element']['remove']());}['_onUiReady'](){const _0x427569=this['editor'],_0x45e0dc=_0x427569['editing']['view'],_0xdc522f=this['_getAttachedDomRoot']();if(!_0xdc522f||!_0xdc522f['hasChildNodes']())return void _0x427569['ui']['once']('update',()=>this['_onUiReady']());const {pageWidth:_0x142838,pageHeight:_0x8a2c9f}=_0x427569['config']['get']('pagination'),{top:_0xb462e0,left:_0x4f6829,bottom:_0x543549,right:_0x1a1320}=this['_configuredPaddings'];this['_pagesContainer']=new _0x14e616['View'](_0x427569['locale']);const _0x23065c=this['_pagesContainer'];_0x23065c['set']('class',''),_0x23065c['setTemplate']({'tag':'div','attributes':{'style':{'columnWidth':_0x142838,'width':_0x142838,'height':'calc(\x20'+_0x8a2c9f+'\x20-\x20'+_0xb462e0+'\x20-\x20'+_0x543549+'\x20+\x200.5mm\x20)','minWidth':'auto','minHeight':'auto','padding':'0\x20'+_0x1a1320+'\x200\x20'+_0x4f6829,'columnGap':'calc('+_0x4f6829+'\x20+\x20'+_0x1a1320+'\x20+\x20100px)','border':0x0,'boxSizing':'border-box','columnCount':'auto','columnFill':'auto','overflow':'hidden','position':'absolute','top':'-99999px','left':'-99999px'},'class':_0x23065c['bindTemplate']['to']('class')}}),_0x23065c['render'](),_0xdc522f['parentNode']['insertBefore'](_0x23065c['element'],_0xdc522f['nextSibling']),this['listenTo'](_0x45e0dc,'render',()=>this['_recalculatePageBreaksDebounced'](),{'priority':'low'}),this['_recalculatePageBreaksDebounced']();}['_getAttachedDomRoot'](){for(const _0x1f17d4 of this['editor']['editing']['view']['domRoots']['values']())if(_0x1f17d4['ownerDocument']['body']['contains'](_0x1f17d4))return _0x1f17d4;return null;}['_recalculatePageBreaks'](){if(!this['isEnabled'])return Promise['resolve']();const _0x4b2982=this['editor']['editing']['view'],_0xb1ae3c=this['_pagesContainer'],_0x11b7e9=this['_getAttachedDomRoot']();if(!_0x11b7e9||!_0xb1ae3c)return Promise['resolve']();for(_0xb1ae3c['class']=['ck-reset','ck-pagination-view',..._0x11b7e9['classList']]['join']('\x20');_0xb1ae3c['element']['firstChild'];)_0xb1ae3c['element']['firstChild']['remove']();const _0xe1207a=Array['from'](_0x4b2982['domRoots']);_0xe1207a['sort'](([,_0x41dd28],[,_0x54fcc0])=>_0x41dd28['compareDocumentPosition'](_0x54fcc0)==Node['DOCUMENT_POSITION_PRECEDING']?0x1:-0x1);for(const [_0xd6f5d,_0xdc18ee]of _0xe1207a){const _0x1c8e3b=_0xdc18ee['cloneNode'](!0x0);'attributeStyleMap'in _0x1c8e3b&&_0x1c8e3b['attributeStyleMap']['clear'](),_0x1c8e3b['dataset']['rootName']=_0xd6f5d,_0x1c8e3b['className']='ck-content\x20ck-pagination_enabled',_0x1c8e3b['removeAttribute']('id'),_0x1c8e3b['tabIndex']=-0x1,_0xb1ae3c['element']['append'](_0x1c8e3b);}const _0x4aaa3c=Array['from'](_0xb1ae3c['element']['querySelectorAll']('img'));return function(_0x24f5ca){return Promise['all'](_0x24f5ca['map'](_0x539f7d=>Promise['race']([_0x1a7c1f(_0x539f7d),_0x35b3ab(0x3e8)])));}(_0x4aaa3c)['then'](()=>{for(const _0x140c63 of _0x4aaa3c['filter'](_0x1e3b79=>!_0x1e3b79['closest']('table')))if(_0x140c63['offsetParent']){const _0x245741=_0x14e616['global']['window']['getComputedStyle'](_0x140c63),_0x17407c=_0x14e616['global']['document']['createElement']('span');for(const _0x597f13 of _0x245741)_0x17407c['style']['setProperty'](_0x597f13,_0x245741[_0x597f13]);_0x17407c['style']['backgroundImage']='url(\x20'+_0x140c63['src']+'\x20)',_0x17407c['style']['breakInside']='avoid','PICTURE'==_0x140c63['parentElement']?.['tagName']?_0x140c63['parentElement']['replaceWith'](_0x17407c):_0x140c63['replaceWith'](_0x17407c);}return new Promise(_0x217bde=>_0x14e616['global']['window']['requestAnimationFrame'](()=>_0x217bde()));})['then'](()=>{this['_updatePageBreaksData']();});}['_updatePageBreaksData'](){const _0x3e9121=this['_pagesContainer']['element'];if(!_0x3e9121['ownerDocument']['body']['contains'](_0x3e9121))return;const _0x13a40c=new _0x14e616['Rect'](_0x3e9121)['excludeScrollbarsAndBorders'](),_0x4a65c7=Math['floor'](_0x13a40c['width']+0x64),_0x4c83b4=_0x3434fa(_0x3e9121,Math['floor'](_0x13a40c['left']-_0x3e9121['scrollLeft']),_0x4a65c7,_0x13a40c['height'])['map'](_0x2f9bbf=>this['_mapPageStarterInfoToPageBreakInfo'](_0x2f9bbf))['filter'](_0x37ff88=>!0x1!==_0x37ff88);_0x4c83b4['every'](_0x51546c=>!!_0x51546c)&&(this['pageBreaks']=_0x4c83b4);}['_mapPageStarterInfoToPageBreakInfo'](_0xbfe998){const _0x35432e=this['editor']['editing']['view'],_0x4424be=this['editor']['editing']['mapper'],_0x143b80=_0x35432e['domConverter'],_0x23e818=_0xbfe998['path']['shift'](),_0x72c52b=this['_pagesContainer']['element']['childNodes'][_0x23e818]['dataset']['rootName'],_0x945eb6=_0x35432e['getDomRoot'](_0x72c52b);if(!_0x945eb6)return null;const _0x3028c4=function(_0x59da6e,_0x58df37){let _0x44bc18=_0x59da6e;for(const _0x497aec of _0x58df37['path']){if(!_0x44bc18)return null;_0x44bc18=_0x44bc18['childNodes'][_0x497aec];}return _0x44bc18;}(_0x945eb6,_0xbfe998);if(!_0x3028c4)return null;const _0x49909c=_0x143b80['domPositionToView'](_0x3028c4,_0xbfe998['textOffset']||0x0);return _0x49909c?'manual'==_0xbfe998['type']?this['_mapManualPageStarterInfoToPageBreakInfo'](_0x49909c,_0x3028c4):'text'==_0xbfe998['type']&&_0x4424be['toModelPosition'](_0x49909c)['offset']?this['_mapTextPageStarterInfoToPageBreakInfo'](_0x49909c,_0x3028c4,_0xbfe998['textOffset']):this['_mapElementPageStarterInfoToPageBreakInfo'](_0x49909c,_0x3028c4,_0xbfe998['offset']):null;}['_mapManualPageStarterInfoToPageBreakInfo'](_0x3d585b,_0x2409ee){const _0x1e0599=this['editor']['model'],_0x1b3a6f=this['editor']['editing']['mapper']['toModelElement'](_0x3d585b['parent']);return new _0x204da0({'type':'manual','modelRange':_0x1e0599['createRangeOn'](_0x1b3a6f),'domNode':_0x2409ee,'offset':0x0});}['_mapTextPageStarterInfoToPageBreakInfo'](_0x249a03,_0x1b7ea1,_0x54fe1a){const _0x4775d8=this['editor']['model'],_0xbc94c1=this['editor']['editing']['mapper'],_0xd6ab1b=this['editor']['editing']['view']['domConverter'];if(_0x54fe1a>=_0x1b7ea1['length'])return null;const _0x50a9cd=_0xbc94c1['toModelPosition'](_0x249a03),_0x2f2cde=_0x4775d8['createRange'](_0x50a9cd),_0xf84a38=_0xbc94c1['findMappedViewAncestor'](_0x249a03);return new _0x204da0({'type':'text','modelRange':_0x2f2cde,'domNode':_0x1b7ea1,'offset':_0x6f64ba(_0x1b7ea1,_0x54fe1a,_0xd6ab1b['mapViewToDom'](_0xf84a38))});}['_mapElementPageStarterInfoToPageBreakInfo'](_0x2b8ec1,_0x309bfe,_0x510ce4){const _0x445194=this['editor']['model'],_0x5a29d8=this['editor']['editing'],_0x389850=_0x5a29d8['mapper'],_0x66de15=_0x5a29d8['view']['domConverter'],_0x3f0957=_0x389850['findMappedViewAncestor'](_0x2b8ec1),_0x45cbd8=_0x389850['toModelElement'](_0x3f0957);if(!_0x45cbd8||_0x45cbd8['is']('rootElement'))return!0x1;const _0x4af326=function(_0x2c8f05){const _0x4b25f8=_0x2c8f05['parent'],_0xa95b7d=_0x4b25f8['root']['document']['model'],_0x16fe0e=_0x4b25f8['getAncestors']({'parentFirst':!0x0,'includeSelf':!0x0});let _0x10adf1=null;for(const _0x3a5c6d of _0x16fe0e){if(_0x3a5c6d['is']('rootElement'))return _0x10adf1;if(!_0xa95b7d['createPositionBefore'](_0x3a5c6d)['isTouching'](_0x2c8f05))return _0x10adf1;_0x10adf1=_0x3a5c6d;}}(_0x445194['createPositionBefore'](_0x45cbd8))||_0x45cbd8;let _0x1ffa2e=_0x389850['toViewElement'](_0x4af326),_0x2cbfac=_0x445194['createRangeOn'](_0x4af326);const _0x2c9a6b=_0x445194['createPositionBefore'](_0x4af326)['nodeBefore'];if(_0x2c9a6b&&_0x2c9a6b['is']('element','imageBlock')){const _0x373b00=_0x389850['toViewElement'](_0x2c9a6b),_0x2daac9=_0x66de15['mapViewToDom'](_0x373b00),_0x2913bd=_0x14e616['global']['window']['getComputedStyle'](_0x2daac9)['float'];'left'!=_0x2913bd&&'right'!=_0x2913bd||(_0x2cbfac=_0x445194['createRangeOn'](_0x2c9a6b));}for(;_0x1ffa2e['parent']!==_0x1ffa2e['root']&&0x0===_0x1ffa2e['index'];)_0x1ffa2e=_0x1ffa2e['parent'];const _0x26545c=new _0x14e616['Rect'](_0x58f2aa(_0x309bfe)?_0x309bfe:_0x1fb796(_0x309bfe)),_0x33f256=_0x510ce4?_0x26545c['height']-_0x510ce4:0x0,_0x3ff3b7=_0x66de15['mapViewToDom'](_0x1ffa2e),_0x1c40ae=new _0x14e616['Rect'](_0x3ff3b7);return new _0x204da0({'type':'element','modelRange':_0x2cbfac,'domNode':_0x3ff3b7,'offset':Math['round'](_0x33f256)||_0x3f0957!=_0x5a4b9f(_0x2b8ec1)?_0x33f256+_0x26545c['top']-_0x1c40ae['top']:0x0});}get['_configuredPaddings'](){const _0x27b00e=this['editor']['config']['get']('pagination.pageMargins');return Object['assign']({'top':'10mm','bottom':'10mm','left':'10mm','right':'10mm'},_0x27b00e);}static['_findPageStarterInfos'](_0x20b03a,_0x2a9e21,_0x49a429,_0x2273de,_0x36e3f1){return _0x3434fa(_0x20b03a,_0x2a9e21,_0x49a429,_0x2273de,_0x36e3f1);}},_0x204da0=class{['type'];['modelRange'];['_domNode'];['_offset'];constructor({type:_0x24da56,modelRange:_0x49515a,domNode:_0xf2bb1d,offset:_0x424ec6}){this['type']=_0x24da56,this['modelRange']=_0x49515a,this['_domNode']=_0xf2bb1d,this['_offset']=_0x424ec6;}get['offset'](){if(!this['_domNode']['ownerDocument']['body']['contains'](this['_domNode']))return 0x0;const _0x57aab8=new _0x14e616['Rect'](_0x58f2aa(this['_domNode'])?this['_domNode']:_0x1fb796(this['_domNode']));return'manual'==this['type']?_0x57aab8['top']+_0x57aab8['height']/0x2:_0x57aab8['top']+this['_offset'];}};function _0x6f64ba(_0xb392c,_0x4ce342,_0x3f654d){const _0x39446f=_0x1fb796(_0xb392c),_0x17d87e=function(_0x480259){const _0x2795bf=_0x14e616['global']['document']['createRange']();return _0x2795bf['selectNodeContents'](_0x480259),_0x2795bf;}(_0x3f654d);let _0x3f3372;_0x3f3372=0x0==_0x4ce342?_0x14a75a(_0x17d87e['startContainer'],_0x17d87e['startOffset'],_0xb392c['parentNode'],Array['from'](_0xb392c['parentNode']['childNodes'])['indexOf'](_0xb392c)):_0x14a75a(_0x17d87e['startContainer'],_0x17d87e['startOffset'],_0xb392c,_0x4ce342);const _0x16e520=_0x14a75a(_0xb392c,_0x4ce342,_0x17d87e['endContainer'],_0x17d87e['endOffset']),_0x2f18ef=new _0x14e616['Rect'](_0x3f3372)['bottom'];return(new _0x14e616['Rect'](_0x16e520)['top']+_0x2f18ef)/0x2-new _0x14e616['Rect'](_0x39446f)['top'];}function _0x5a4b9f(_0x1768b1){let _0x39d539=_0x1768b1['parent'];for(;_0x39d539['is']('$text')||_0x39d539['is']('attributeElement');)_0x39d539=_0x39d539['parent'];return _0x39d539;}function _0x1a7c1f(_0x205fc7){return _0x205fc7['hasAttribute']('width')&&_0x205fc7['hasAttribute']('height')?Promise['resolve']():new Promise(_0x4e6d7b=>{function _0x4d4134(){_0x205fc7['removeEventListener']('load',_0x4d4134),_0x205fc7['removeEventListener']('error',_0x4d4134),_0x4e6d7b();}_0x205fc7['complete']?_0x4e6d7b():(_0x205fc7['addEventListener']('load',_0x4d4134),_0x205fc7['addEventListener']('error',_0x4d4134));});}function _0x35b3ab(_0xa97870){return new Promise(_0x1f870f=>setTimeout(_0x1f870f,_0xa97870));}function _0x1fb796(_0x440130){const _0x1179c8=_0x14e616['global']['document']['createRange']();return _0x1179c8['selectNode'](_0x440130),_0x1179c8;}function _0x562798(_0x2eb334,_0x86d792,_0x2502b6){const _0x5a27e3=_0x14e616['global']['document']['createRange']();return _0x5a27e3['setStart'](_0x2eb334,_0x86d792),_0x5a27e3['setEnd'](_0x2eb334,_0x2502b6),_0x5a27e3;}function _0x14a75a(_0x5b9c90,_0x233558,_0x149a95,_0x3b0b9c){const _0x410236=_0x14e616['global']['document']['createRange']();return _0x410236['setStart'](_0x5b9c90,_0x233558),_0x410236['setEnd'](_0x149a95,_0x3b0b9c),_0x410236;}function _0x3434fa(_0x2a8e7e,_0x246cf3,_0x17f402,_0x50043f,_0x16d87c){const _0x332445=[];for(const [_0x151642,_0x4cff2b]of _0x2a8e7e['childNodes']['entries']()){let _0x5bee31=[];_0x58f2aa(_0x4cff2b)&&_0x4cff2b['offsetParent']&&['static','relative']['includes'](_0x14e616['global']['window']['getComputedStyle'](_0x4cff2b)['position'])?_0x5bee31=_0x358d92(_0x4cff2b,_0x151642,_0x246cf3,_0x17f402,_0x50043f,_0x16d87c):_0x4940f1(_0x4cff2b)&&(_0x5bee31=_0x379daa(_0x4cff2b,_0x151642,_0x246cf3,_0x17f402,_0x16d87c)),_0x5bee31['length']&&(_0x332445['push'](..._0x5bee31),_0x246cf3+=_0x5bee31['length']*_0x17f402,_0x16d87c=!0x1);}return _0x332445;}function _0x358d92(_0x233610,_0x300f7d,_0xd3bf19,_0x1e06c8,_0x2bcc3a,_0x4d3509){const _0x15e486=[];var _0x3b101e;if((_0x3b101e=_0x233610['previousSibling'])&&_0x58f2aa(_0x3b101e)&&Boolean(_0x3b101e['classList']['contains']('page-break')||_0x3b101e['closest']('.page-break'))&&(_0x15e486['push']({'type':'manual','offset':0x0,'path':[_0x300f7d-0x1]}),_0x4d3509=!0x0),'table-row'==_0x14e616['global']['window']['getComputedStyle'](_0x233610)['display']){let _0xf0f570=0x0,_0x2fed05=!0x1;for(const _0x3db6f5 of _0x233610['getClientRects']())_0xf0f570+=_0x3db6f5['height'],_0x3db6f5['left']>=_0xd3bf19&&(_0x2fed05=!0x0);if(_0xf0f570<_0x2bcc3a&&_0x2fed05)return _0x4d3509||_0x15e486['push']({'type':'element','offset':0x0,'path':[_0x300f7d]}),_0x15e486;}const _0x198e06=_0x233610['closest']('figure.image');if(_0x198e06&&function(_0xafa163){let _0x2d06bd=!0x1;const _0x18412b=_0xafa163['parentElement']['dataset']['rootName'],_0x16757e=_0xafa163['nextElementSibling'],_0x1038b3=_0xafa163['previousElementSibling'],_0x36d70b=_0x16757e&&_0x14e616['global']['window']['getComputedStyle'](_0x16757e)['float'],_0x569124=_0x16757e&&'ck-fake-selection-container'===_0x16757e['className'];return!_0x18412b||_0x16757e||_0x1038b3||(_0x2d06bd=!0x0),_0x18412b&&!_0x1038b3&&_0x569124&&(_0x2d06bd=!0x0),_0x18412b&&!_0x1038b3&&'none'!==_0x36d70b&&(_0x2d06bd=!0x0),!_0x2d06bd;}(_0x198e06)){const _0x7c8881=_0x14e616['global']['window']['getComputedStyle'](_0x198e06)['float'];if('left'==_0x7c8881||'right'==_0x7c8881)return _0x15e486;}const _0x134386=_0x3434fa(_0x233610,_0xd3bf19,_0x1e06c8,_0x2bcc3a,_0x4d3509);if(_0x134386['length']){for(const _0x1ef54c of _0x134386)_0x15e486['push']({'type':_0x1ef54c['type'],'offset':_0x1ef54c['offset'],'textOffset':_0x1ef54c['textOffset'],'path':[_0x300f7d,..._0x1ef54c['path']]}),_0xd3bf19+=_0x1e06c8,_0x4d3509=!0x1;return _0x15e486;}return _0x15e486['push'](...function(_0x2e5ecf,_0x4d6058,_0x1a6f0f,_0x4ee7dc,_0x109bed){const _0x344fda=[];if('table-cell'==_0x14e616['global']['window']['getComputedStyle'](_0x2e5ecf)['display'])return[];const _0x32be07=[];for(const _0x273aec of _0x2e5ecf['getClientRects']())if(_0x273aec['left']>=_0x1a6f0f){for(const _0x54d335 of _0x32be07)_0x54d335['height']+=_0x273aec['height'];_0x32be07['push']({'height':_0x273aec['height']}),_0x1a6f0f+=_0x4ee7dc;}for(const _0x5b7177 of _0x32be07)_0x109bed||_0x344fda['push']({'type':'element','offset':_0x5b7177['height'],'textOffset':0x0,'path':[_0x4d6058]}),_0x109bed=!0x1;return _0x344fda;}(_0x233610,_0x300f7d,_0xd3bf19,_0x1e06c8,_0x4d3509)),_0x15e486;}function _0x379daa(_0x35814c,_0x354c00,_0x1cc3cd,_0x135cee,_0xd090f5){const _0x51eecc=_0x1fb796(_0x35814c),_0x2596b6=[];let _0x274af4=0x0;for(const _0xeb30aa of _0x51eecc['getClientRects']())if(_0xeb30aa['left']>=_0x1cc3cd){const _0x57f5d7=_0x101393(_0x35814c,_0x274af4,_0x1cc3cd,_0x135cee);_0xd090f5||_0x2596b6['push']({'type':'text','path':[_0x354c00],'textOffset':_0x57f5d7}),_0x274af4=_0x57f5d7,_0x1cc3cd+=_0x135cee,_0xd090f5=!0x1;}return _0x2596b6;}function _0x101393(_0x7854d,_0x13bb2a,_0x413a3e,_0x6512bb){let _0x3c91ba=_0x13bb2a,_0x4398b0=_0x7854d['length'];for(;_0x4398b0-_0x3c91ba>0x1;){const _0x2d460d=Math['ceil']((_0x3c91ba+_0x4398b0)/0x2);_0xe6af55(_0x562798(_0x7854d,_0x3c91ba,_0x2d460d),_0x413a3e,_0x6512bb)?_0x4398b0=_0x2d460d:_0x3c91ba=_0x2d460d;}return _0x3c91ba;}function _0xe6af55(_0x38c50b,_0x28b28e,_0xb199a6){for(const _0x2b8fb9 of _0x38c50b['getClientRects']())if(_0x2b8fb9['left']>=_0x28b28e&&_0x2b8fb9['left']<_0x28b28e+_0xb199a6)return!0x0;return!0x1;}function _0x58f2aa(_0x1e60c1){return _0x1e60c1['nodeType']==Node['ELEMENT_NODE'];}function _0x4940f1(_0x56fd86){return _0x56fd86['nodeType']==Node['TEXT_NODE'];}const _0x3cfaa5=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['toUnit'])('px');var _0x338e5d=class extends _0x14e616['View']{constructor(){super();const _0x53a32b=this['bindTemplate'];this['set']({'isVisible':!0x1,'left':null,'top':null,'width':null,'pageNumber':null}),this['setTemplate']({'tag':'div','attributes':{'data-page-number':_0x53a32b['to']('pageNumber'),'class':['ck','ck-pagination-view-line',_0x53a32b['if']('isVisible','ck-hidden',_0x11680e=>!_0x11680e)],'style':{'left':_0x53a32b['to']('left',_0x3602c7=>_0x3cfaa5(_0x3602c7)),'top':_0x53a32b['to']('top',_0x5166aa=>_0x3cfaa5(_0x5166aa)),'width':_0x53a32b['to']('width',_0x4a2fc4=>_0x3cfaa5(_0x4a2fc4))}}});}},_0x41ccbe=class{['_viewCollection'];['_visibleLines']=new Set();['_hiddenLines']=new Set();constructor(_0x3b84f7){this['_viewCollection']=_0x3b84f7['ui']['view']['body'];}['destroy'](){for(const _0x480a7c of this['_hiddenLines'])_0x480a7c['destroy']();}['cleanLines'](){for(const _0x3306e5 of this['_visibleLines'])_0x3306e5['isVisible']=!0x1,this['_hiddenLines']['add'](_0x3306e5);this['_visibleLines']['clear']();}['showLine'](_0x3e9995,_0x3a35d5,_0x448733,_0x170bf9){let _0x2638c5;this['_hiddenLines']['size']?(_0x2638c5=(0x0,_0x14e616['first'])(this['_hiddenLines']['values']()),this['_hiddenLines']['delete'](_0x2638c5)):_0x2638c5=new _0x338e5d(),_0x2638c5['set']({'pageNumber':_0x170bf9,'left':_0x3e9995,'top':_0x3a35d5,'width':_0x448733}),_0x2638c5['isVisible']=!0x0,this['_viewCollection']['has'](_0x2638c5)||this['_viewCollection']['add'](_0x2638c5),this['_visibleLines']['add'](_0x2638c5);}['setViewCollection'](_0x5d63c0){for(const _0x4a5905 of[...this['_visibleLines'],...this['_hiddenLines']])this['_viewCollection']['has'](_0x4a5905)&&this['_viewCollection']['remove'](_0x4a5905);this['_viewCollection']=_0x5d63c0;}};const _0x67fdf6='ck-pagination_enabled';var ty=class extends _0x14e616['Plugin']{['linesRepository'];['_scrollableEditingRootDomAncestor']=null;['_resizeObserver']=null;['_paginationLookupPlugin'];static get['pluginName'](){return'PaginationRenderer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['set']({'pageNumber':0x1}),this['linesRepository']=new _0x41ccbe(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'](_0x67fdf6),this['on']('change:isEnabled',(_0x1bdefd,_0x1b49c6,_0x56b1a7)=>{_0x56b1a7||this['linesRepository']['cleanLines'](),this['_toggleEditingRootsClass'](_0x67fdf6,_0x56b1a7);});}['destroy'](){this['_toggleEditingRootsClass'](_0x67fdf6,!0x1),this['linesRepository']['destroy'](),this['_scrollableEditingRootDomAncestor']=null,this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['scrollToPage'](_0x56ed90){if(!this['isEnabled'])return;const _0x43d022=_0x56ed90>0x1?this['_getPageBreakLineOffset'](_0x56ed90-0x1):0x0;this['_scrollableEditingRootDomAncestor']['scrollTo']({'top':_0x43d022-0xa,'left':this['_scrollableEditingRootDomAncestor']['scrollLeft'],'behavior':_0x14e616['env']['isMotionReduced']?'instant':'smooth'});}['setupScrollableAncestor'](){const _0x1c2b5a=this['editor'],_0x65ba4c=this['_getAttachedDomRoot']();_0x65ba4c?(this['_scrollableEditingRootDomAncestor']&&_0x1c2b5a['ui']['view']['stopListening'](this['_scrollableEditingRootDomAncestor'],'scroll'),this['_scrollableEditingRootDomAncestor']=function(_0x45b0df){let _0x188a0e=_0x45b0df;do{_0x188a0e=_0x188a0e['parentElement'];const _0x122d2d=_0x14e616['global']['window']['getComputedStyle'](_0x188a0e)['overflowY'];if('auto'==_0x122d2d||'scroll'==_0x122d2d)break;}while('BODY'!=_0x188a0e['tagName']);return _0x188a0e;}(_0x65ba4c),_0x1c2b5a['ui']['view']['listenTo'](this['_scrollableEditingRootDomAncestor'],'scroll',()=>{this['_updatePageBreakLines']();},{'usePassive':!0x0}),this['_resizeObserver']&&this['_resizeObserver']['destroy'](),this['_resizeObserver']=new _0x14e616['ResizeObserver'](this['_scrollableEditingRootDomAncestor'],()=>{this['_updatePageBreakLines']();})):_0x1c2b5a['ui']['once']('update',()=>this['setupScrollableAncestor']());}['_onUiReady'](){const _0x34f59f=this['editor'];this['_getAttachedDomRoot']()?(this['setupScrollableAncestor'](),_0x34f59f['ui']['view']['listenTo'](_0x14e616['global']['window'],'resize',()=>this['_updatePageBreakLines']()),this['listenTo'](this['_paginationLookupPlugin'],'change:pageBreaks',()=>this['_updatePageBreakLines']())):_0x34f59f['ui']['once']('update',()=>this['_onUiReady']());}['_getAttachedDomRoot'](){for(const _0x42dd42 of this['editor']['editing']['view']['domRoots']['values']())if(_0x42dd42['ownerDocument']['body']['contains'](_0x42dd42))return _0x42dd42;return null;}['_updatePageBreakLines'](){if(!this['isEnabled'])return;const _0x52a233=this['_getAttachedDomRoot'](),_0x3b0055=this['_paginationLookupPlugin']['pageBreaks'];if(this['linesRepository']['cleanLines'](),!_0x52a233||0x1==_0x3b0055['length'])return void(this['pageNumber']=0x1);const _0x40aeb4=new _0x14e616['Rect'](_0x52a233)['excludeScrollbarsAndBorders'](),_0x3d56d4=new _0x14e616['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders'](),_0x52fa19=_0x3d56d4['top']+_0x3d56d4['height']/0x3;let _0x16bbb3=!0x1;const _0x5dfa9b=[];for(let _0x2a0aee=0x1;_0x2a0aee<_0x3b0055['length'];_0x2a0aee++){const _0x4854d0=this['_getPageBreakLineOffset'](_0x2a0aee,_0x3d56d4);if(!_0x4854d0)continue;const _0x255593=_0x3d56d4['top']+_0x4854d0-this['_scrollableEditingRootDomAncestor']['scrollTop'];_0x5dfa9b['push']({'pageOffsetTop':_0x255593,'domRootRect':_0x40aeb4,'domScrollableRect':_0x3d56d4,'pageNumber':_0x2a0aee}),_0x255593>_0x52fa19&&!_0x16bbb3&&(this['pageNumber']=_0x2a0aee,_0x16bbb3=!0x0);}this['_renderPageBreakLines'](_0x5dfa9b),_0x16bbb3||(this['pageNumber']=_0x3b0055['length']);}['_renderPageBreakLines'](_0x40e881){const {scrollX:_0x263c87,scrollY:_0x203500}=_0x14e616['global']['window'];if(_0x40e881['length']){for(const {domScrollableRect:_0x4cbc8d,pageOffsetTop:_0x3eb031,domRootRect:_0x2492c6,pageNumber:_0x39b875}of _0x40e881)_0x4cbc8d['top']<_0x3eb031&&_0x3eb031<_0x4cbc8d['bottom']&&this['linesRepository']['showLine'](_0x2492c6['left']+_0x263c87,_0x3eb031+_0x203500,_0x2492c6['width'],_0x39b875+0x1);}}['_getPageBreakLineOffset'](_0x1a1998,_0x131549=null){const _0x3e613b=this['_paginationLookupPlugin']['pageBreaks'][_0x1a1998]['offset'];return _0x3e613b?(_0x131549||(_0x131549=new _0x14e616['Rect'](this['_scrollableEditingRootDomAncestor'])['excludeScrollbarsAndBorders']()),_0x3e613b-_0x131549['top']+this['_scrollableEditingRootDomAncestor']['scrollTop']):0x0;}['_toggleEditingRootsClass'](_0x448d41,_0x41c375=!0x0){const _0x57a69e=this['editor']['editing']['view'];_0x57a69e['change'](_0x1bd898=>{for(const _0x59a05a of _0x57a69e['document']['roots'])_0x41c375?_0x1bd898['addClass'](_0x448d41,_0x59a05a):_0x1bd898['removeClass'](_0x448d41,_0x59a05a);});}};function _0x2b6d7f(_0x516635,_0x3202f9,..._0x515681){const t=_0x516635['t'];switch(_0x3202f9){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)',..._0x515681);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 _0x3202f9;}}var _0x4cff09=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PaginationEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4de96c,ty];}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x3c1f7d=this['editor']['plugins']['get']('Pagination'),_0x1d0570=this['editor']['plugins']['get'](_0x4de96c),_0x49c15e=this['editor']['plugins']['get'](ty);this['bind']('isEnabled')['to'](_0x3c1f7d),this['_setUpDataDowncastConversion'](),this['bind']('pageNumber')['to'](_0x49c15e),this['listenTo'](_0x1d0570,'change:pageBreaks',(_0xa55d1e,_0x4db25f,_0x3a6938,_0x12dab5)=>{this['totalPages']=_0x3a6938['length'],this['_updatePageBreakMarkers'](_0x3a6938,_0x12dab5);}),this['_setupKeystrokes'](),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5c704b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe577cf;for(const _0x263200 in _0x5c704b){const _0x4bf5cf=_0x263200,_0x129fc9=_0x5c704b[_0x4bf5cf];if('paginationLicenseKeyValid'==_0x129fc9||'paginationLicenseKeyInvalid'==_0x129fc9||'paginationLicenseKeyExpired'==_0x129fc9||'paginationLicenseKeyDomainLimit'==_0x129fc9||'paginationLicenseKeyNotAllowed'==_0x129fc9||'paginationLicenseKeyEvaluationLimit'==_0x129fc9||'paginationLicenseKeyUsageLimit'==_0x129fc9){delete _0x5c704b[_0x4bf5cf],_0xe577cf=_0x129fc9,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'paginationLicenseKeyInvalid'==_0xe577cf&&_0x5c704b['_showLicenseError']('invalid'),'paginationLicenseKeyExpired'==_0xe577cf&&_0x5c704b['_showLicenseError']('expired'),'paginationLicenseKeyDomainLimit'==_0xe577cf&&_0x5c704b['_showLicenseError']('domainLimit'),'paginationLicenseKeyNotAllowed'==_0xe577cf&&_0x5c704b['_showLicenseError']('featureNotAllowed','Pagination'),'paginationLicenseKeyEvaluationLimit'==_0xe577cf&&_0x5c704b['_showLicenseError']('evaluationLimit'),'paginationLicenseKeyUsageLimit'==_0xe577cf&&_0x5c704b['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['scrollToPage'](_0x58a886){this['isEnabled']&&this['editor']['plugins']['get'](ty)['scrollToPage'](this['_validatePageNumber'](_0x58a886));}['moveSelectionToPage'](_0x5892d5){if(!this['isEnabled'])return;const _0x37539a=this['editor'],_0x495a6c=this['editor']['plugins']['get'](_0x4de96c)['pageBreaks'][_0x5892d5-0x1];_0x495a6c&&_0x37539a['model']['change'](_0x25d3c4=>{switch(_0x495a6c['type']){case'manual':{const _0x402bfd=_0x37539a['model']['schema']['getNearestSelectionRange'](_0x495a6c['modelRange']['end'],'forward');_0x25d3c4['setSelection'](_0x402bfd);break;}case'element':{const _0x2e82f6=_0x37539a['model']['schema']['getNearestSelectionRange'](_0x495a6c['modelRange']['start'],'forward');_0x25d3c4['setSelection'](_0x2e82f6);break;}case'text':{const _0xbb7ed0=_0x495a6c['modelRange']['start'];if(_0xbb7ed0['textNode']&&'\x20'===_0xbb7ed0['textNode']['data'][_0xbb7ed0['offset']]){const _0x59813d=_0x25d3c4['createPositionAt'](_0xbb7ed0['parent'],_0xbb7ed0['offset']+0x1);_0x25d3c4['setSelection'](_0x59813d);}else _0x25d3c4['setSelection'](_0x495a6c['modelRange']);}}_0x37539a['editing']['view']['focus']();});}['goToNextPage'](){const _0xdbbaac=this['_validatePageNumber'](this['pageNumber']+0x1);this['moveSelectionToPage'](_0xdbbaac),this['scrollToPage'](_0xdbbaac);}['goToPreviousPage'](){const _0x2c89f0=this['_validatePageNumber'](this['pageNumber']-0x1);this['moveSelectionToPage'](_0x2c89f0),this['scrollToPage'](_0x2c89f0);}['_updatePageBreakMarkers'](_0x197af8,_0x9519f2){const _0x1fd6fa=this['editor']['model'];this['isEnabled']&&_0x1fd6fa['change'](_0x4dfe4b=>{for(let _0x30600b=0x1;_0x30600b<_0x197af8['length'];_0x30600b++){const _0x2581e3=_0x197af8[_0x30600b]['modelRange'],_0x291931='pagination:'+(_0x30600b+0x1);_0x1fd6fa['markers']['has'](_0x291931)?_0x4dfe4b['updateMarker'](_0x291931,{'range':_0x2581e3}):_0x4dfe4b['addMarker'](_0x291931,{'range':_0x2581e3,'usingOperation':!0x1,'affectsData':!0x0});}for(let _0x2a5b26=_0x197af8['length'];_0x2a5b26<_0x9519f2['length'];_0x2a5b26++){const _0x1632f2='pagination:'+(_0x2a5b26+0x1);_0x1fd6fa['markers']['has'](_0x1632f2)&&_0x4dfe4b['removeMarker'](_0x1632f2);}});}['_setUpDataDowncastConversion'](){this['editor']['conversion']['for']('dataDowncast')['add'](_0x56b750=>{_0x56b750['on']('addMarker:pagination',(_0x52b760,{markerRange:_0x5d0273,markerName:_0x3a5b57},_0x26654f)=>{if(!_0x26654f['options']['pagination'])return;if(!_0x26654f['consumable']['consume'](_0x5d0273,_0x52b760['name']))return;const _0x2ca2d3=_0x5d0273['getContainedElement']();let _0x44c458=_0x2ca2d3?_0x26654f['mapper']['toViewElement'](_0x2ca2d3):null;if(!_0x44c458){const _0x1a364e=_0x5d0273['start'];if(_0x26654f['schema']['checkChild'](_0x1a364e,'$text')){const _0x114cb7=_0x26654f['mapper']['toViewPosition'](_0x1a364e);_0x44c458=_0x26654f['writer']['createContainerElement']('span'),_0x44c458['getFillerOffset']=()=>null,_0x26654f['writer']['insert'](_0x114cb7,_0x44c458);}else{const _0x227c1e=_0x1a364e['nodeAfter'];_0x44c458=_0x26654f['mapper']['toViewElement'](_0x227c1e);}}for(;_0x44c458['parent']!==_0x44c458['root']&&0x0===_0x44c458['index'];)_0x44c458=_0x44c458['parent'];const _0x3b15c6=_0x3a5b57['substring'](0xb);_0x44c458['hasClass']('page-break')||(_0x26654f['writer']['setStyle']('page-break-before','always',_0x44c458),_0x26654f['writer']['setAttribute']('data-pagination-page',_0x3b15c6,_0x44c458),_0x26654f['mapper']['bindElementToMarker'](_0x44c458,_0x3a5b57)),_0x52b760['stop']();});});}['_setupKeystrokes'](){const _0x11928b=this['editor'];_0x11928b['keystrokes']['set']('Shift+Pageup',(_0xcbcdcb,_0x18de2f)=>{this['goToPreviousPage'](),_0x18de2f();}),_0x11928b['keystrokes']['set']('Shift+Pagedown',(_0x4a35c1,_0xdbe660)=>{this['goToNextPage'](),_0xdbe660();}),_0x11928b['accessibility']['addKeystrokeInfoGroup']({'id':'pagination','label':_0x2b6d7f(_0x11928b['locale'],'Keystrokes\x20for\x20navigating\x20through\x20documents'),'keystrokes':[{'label':_0x2b6d7f(_0x11928b['locale'],'Go\x20to\x20the\x20previous\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pageup','mayRequireFn':!0x0},{'label':_0x2b6d7f(_0x11928b['locale'],'Go\x20to\x20the\x20next\x20page\x20(also\x20move\x20selection)'),'keystroke':'Shift+Pagedown','mayRequireFn':!0x0}]});}['_validatePageNumber'](_0x295d0a){return _0x295d0a<0x1&&(_0x295d0a=0x1),_0x295d0a>this['totalPages']&&(_0x295d0a=this['totalPages']),_0x295d0a;}},_0x2de41c=class extends _0x14e616['View']{['pageNumberView'];constructor(_0x20da3d){super(_0x20da3d);const _0x551685=this['bindTemplate'];this['set']({'pageNumber':0x1,'totalPages':0x1,'isEnabled':!0x0}),this['pageNumberView']=new _0x14e616['InputNumberView'](_0x20da3d,{'min':0x1,'step':0x1}),this['pageNumberView']['set']({'inputMode':'numeric','tabIndex':-0x1}),this['pageNumberView']['bind']('ariaLabel')['to'](this,'totalPages',_0x87d971=>_0x2b6d7f(_0x20da3d,'Current\x20page\x20number\x20(from\x201\x20to\x20%0)',_0x87d971)),this['pageNumberView']['bind']('max')['to'](this,'totalPages'),this['pageNumberView']['bind']('isReadOnly')['to'](this,'isEnabled',_0x3712fd=>!_0x3712fd),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-page-navigator',_0x551685['if']('isEnabled','ck-disabled',_0xdb28c6=>!_0xdb28c6)]},'children':[this['pageNumberView'],{'tag':'span','children':[{'text':_0x551685['to']('totalPages')}]}]});}['render'](){super['render']();const _0x44ff24=this['pageNumberView']['element'],_0x3aa287=_0x216eb5=>{this['pageNumberView']['element']['value']=String(_0x216eb5);};_0x3aa287(this['pageNumber']),this['on']('change:pageNumber',(_0x3d8f3d,_0x246896,_0x4ef8f8)=>{_0x3aa287(_0x4ef8f8);}),this['listenTo'](_0x44ff24,'keydown',(_0x4d13cb,_0x49817d)=>{if('ArrowUp'===_0x49817d['key']||'ArrowDown'===_0x49817d['key'])return void _0x49817d['stopPropagation']();if(_0x49817d['keyCode']!==_0x14e616['keyCodes']['enter'])return;_0x49817d['preventDefault']();const _0x22d321=_0x44ff24['valueAsNumber'];Number['isNaN'](_0x22d321)?_0x44ff24['value']=String(this['pageNumber']):(_0x44ff24['checkValidity']()?this['pageNumber']=_0x22d321:_0x22d321>this['totalPages']?(this['pageNumber']=this['totalPages'],_0x44ff24['value']=String(this['totalPages'])):(this['pageNumber']=0x1,_0x44ff24['value']='1'),this['fire']('navigation',this['pageNumber']));}),this['listenTo'](_0x44ff24,'blur',()=>{_0x44ff24['value']=String(this['pageNumber']);}),this['listenTo'](_0x44ff24,'focus',()=>{this['pageNumberView']['select']();});}['focus'](){this['pageNumberView']['element']['focus']();}},_0x341527=class extends _0x14e616['Plugin']{static get['pluginName'](){return'PaginationUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x31b825=this['editor'],_0x1f1a6c=_0x31b825['plugins']['get']('PaginationEditing');_0x31b825['ui']['componentFactory']['add']('pageNavigation',_0x5dd97a=>{const _0x1d3fbd=new _0x2de41c(_0x5dd97a);return _0x1d3fbd['bind']('pageNumber')['to'](_0x1f1a6c),_0x1d3fbd['bind']('totalPages')['to'](_0x1f1a6c),_0x1d3fbd['bind']('isEnabled')['to'](_0x1f1a6c),_0x1d3fbd['on']('navigation',(_0x4915a9,_0xbd470e)=>{_0x1f1a6c['moveSelectionToPage'](_0xbd470e),_0x1f1a6c['scrollToPage'](_0xbd470e);}),_0x1d3fbd;}),_0x31b825['ui']['componentFactory']['add']('nextPage',_0x3ddf6f=>{const _0x2e1f1b=new _0x14e616['ButtonView'](_0x3ddf6f);return _0x2e1f1b['isEnabled']=!0x0,_0x2e1f1b['label']=_0x2b6d7f(_0x31b825['locale'],'Go\x20to\x20next\x20page'),_0x2e1f1b['icon']=_0x14e616['IconArrowDown'],_0x2e1f1b['tooltip']=!0x0,_0x2e1f1b['keystroke']='Shift+PageDown',_0x2e1f1b['bind']('isEnabled')['to'](_0x1f1a6c),this['listenTo'](_0x2e1f1b,'execute',()=>{_0x1f1a6c['goToNextPage']();}),_0x2e1f1b;}),_0x31b825['ui']['componentFactory']['add']('previousPage',_0x478ae0=>{const _0x4d694a=new _0x14e616['ButtonView'](_0x478ae0);return _0x4d694a['isEnabled']=!0x0,_0x4d694a['label']=_0x2b6d7f(_0x31b825['locale'],'Go\x20to\x20previous\x20page'),_0x4d694a['icon']=_0x14e616['IconArrowUp'],_0x4d694a['tooltip']=!0x0,_0x4d694a['keystroke']='Shift+PageUp',_0x4d694a['bind']('isEnabled')['to'](_0x1f1a6c),this['listenTo'](_0x4d694a,'execute',()=>{_0x1f1a6c['goToPreviousPage']();}),_0x4d694a;});}},_0xc2aa39=class extends _0x14e616['Plugin']{static get['pluginName'](){return'Pagination';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x4cff09,_0x341527];}constructor(_0x24614a){super(_0x24614a),this['isEnabled']=!0x1;}['init'](){this['set']({'pageNumber':0x1,'totalPages':0x1});const _0x56ee95=this['editor']['plugins']['get'](_0x4cff09);this['bind']('pageNumber')['to'](_0x56ee95),this['bind']('totalPages')['to'](_0x56ee95),_0x14e616['env']['isBlink']||this['editor']['config']['get']('pagination.enableOnUnsupportedBrowsers')?this['editor']['on']('ready',()=>{this['isEnabled']=!0x0;}):this['forceDisabled']('browserCheck');}['scrollToPage'](_0x43dbf7){this['editor']['plugins']['get'](_0x4cff09)['scrollToPage'](_0x43dbf7);}};const _0x5f7eb9=/<meta\s*name="?generator"?\s*content="?microsoft\s*excel\s*\d+"?\/?>/i;function _0x2fd94b(_0x2baf1d){return _0x5f7eb9['test'](_0x2baf1d);}const _0x30da35=/^(?<tagName>(?!\.)[\w-]+)?(\.(?<className>[\w-]+))?$/i;function _0xf6bf38(_0x232ca3,_0x1febb8){const _0x19cb4a=new Map();for(const [_0x1b5484,_0x33098e]of _0x1febb8){if(!_0x1b5484['tagName']&&!_0x1b5484['className'])continue;const _0x1fdf9f=!_0x1b5484['tagName']||_0x232ca3['name']===_0x1b5484['tagName'],_0x9364e7=!_0x1b5484['className']||_0x232ca3['hasClass'](_0x1b5484['className']);_0x1fdf9f&&_0x9364e7&&_0x19cb4a['set'](_0x1b5484,_0x33098e);}return _0x19cb4a;}function _0x74e2ea(_0x2b03d1){const _0x12cd32={};for(let _0x21a250=0x0;_0x21a250<_0x2b03d1['length'];_0x21a250++){const _0x4f3d9d=_0x2b03d1[_0x21a250],_0x12227c=_0x2b03d1['getPropertyValue'](_0x4f3d9d);'initial'!==_0x12227c&&(_0x12cd32[_0x4f3d9d]=_0x12227c);}return _0x12cd32;}function _0x2fc991(_0x1e56fa){const _0x695922=_0x1e56fa['split'](',')['map'](_0x36750d=>_0x36750d['trim']()),_0x5e2843=[];for(const _0x33e68a of _0x695922){const _0x29e139=_0x30da35['exec'](_0x33e68a);_0x29e139&&_0x5e2843['push'](_0x29e139['groups']);}return _0x5e2843;}function _0x16ff14(_0x124ab3){const _0xf7ffb7={};for(const _0x2b2631 of _0x124ab3)Object['assign'](_0xf7ffb7,_0x2b2631);return _0xf7ffb7;}var _0x1064e1=class extends _0x14e616['PasteFromOfficeMSWordNormalizer']{['execute'](_0x2fb7c7){const {styles:_0x231821,stylesString:_0x31fe93}=_0x2fb7c7['extraContent'],_0x450451=new _0x14e616['ViewUpcastWriter'](_0x2fb7c7['content']['document']),_0x445e0b=_0x450451['createRangeIn'](_0x2fb7c7['content']),_0xbbc3be=function(_0x24432f){const _0x26e718=new Map();for(const _0x1a4a13 in _0x24432f){const _0x2d3646=_0x2fc991(_0x1a4a13),_0x5188f6=_0x24432f[_0x1a4a13];for(const _0x25ce3c of _0x2d3646)_0x26e718['set'](_0x25ce3c,_0x5188f6);}return _0x26e718;}(function(_0x587443){const _0x52fd8e={};for(const _0x57a5b6 of _0x587443)for(const _0x166b5e of _0x57a5b6['cssRules'])if(_0x166b5e instanceof CSSStyleRule){const _0x2b077c=_0x74e2ea(_0x166b5e['style']);_0x52fd8e[_0x166b5e['selectorText']]=Object['assign']({},_0x52fd8e[_0x166b5e['selectorText']]||{},_0x2b077c);}return _0x52fd8e;}(_0x231821)),_0x973051=function(_0x5228ea){const _0x3586e2={},_0x445f68=/(?<selector>[^{}]+)\{[^}]*mso-pattern:\s*(?<color>#[0-9A-Fa-f]{3,6}|[a-z]+)\s+(?<patternType>[\w-]+)[^}]*\}/gi,_0x3cb4d2=/\.(?<className>[\w-]+)/g;let _0x35486b;for(;null!==(_0x35486b=_0x445f68['exec'](_0x5228ea));){const {selector:_0x21fbf0,color:_0x46c149,patternType:_0x409d1c}=_0x35486b['groups'];if('auto'!==_0x46c149['toLowerCase']()&&'none'!==_0x409d1c['toLowerCase']()&&'auto'!==_0x409d1c['toLowerCase']()){for(const _0x150d8b of _0x21fbf0['matchAll'](_0x3cb4d2))_0x3586e2[_0x150d8b['groups']['className']]=_0x46c149;}}return _0x3586e2;}(_0x31fe93);for(const _0x11a808 of _0x445e0b){if('elementStart'!==_0x11a808['type'])continue;const _0x18d62c=_0x11a808['item'],_0x4b61e2=_0xf6bf38(_0x18d62c,_0xbbc3be),_0x1175d8=_0x4b61e2['size']?_0x16ff14(Array['from'](_0x4b61e2['values']())):{};if(!('background-color'in _0x1175d8)&&!('background'in _0x1175d8)){for(const [_0x218781,_0x6cc387]of Object['entries'](_0x973051))if(_0x18d62c['hasClass'](_0x218781)){_0x1175d8['background-color']=_0x6cc387;break;}}for(const _0xbe9136 in _0x1175d8)_0x18d62c['hasStyle'](_0xbe9136)||_0x450451['setStyle'](_0xbe9136,_0x1175d8[_0xbe9136],_0x18d62c);}}['isActive'](_0x5be757){return super['isActive'](_0x5be757)||_0x2fd94b(_0x5be757);}},_0x9c344e=class extends _0x14e616['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhancedInliner';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x14e616['PasteFromOffice']];}['init'](){const _0x5529d6=this['editor'],_0x114d88=_0x5529d6['plugins']['get']('PasteFromOffice'),_0x30da60=_0x5529d6['editing']['view']['document'],_0x58d14c=new _0x1064e1(_0x30da60);_0x114d88['registerNormalizer'](_0x58d14c,_0x14e616['priorities']['high']+0xb);}['afterInit'](){!async function(_0x446c9c){const _0x52cabb='sG65Crk1cd2igLN7zIEAYju9J3hbPBtnFMxQf4HwZal0qTSVKyDmoRvUXepWO8',_0x1f684f=0x78fc0,_0x2a9ee2=window['Date']['now'](),_0xd34fb6=_0x446c9c['editor'],_0x54c43c=new window['Promise'](_0x3a7c17=>{_0xd34fb6['once']('ready',_0x3a7c17);}),_0x595799={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x5e5190=_0xd34fb6['config']['get']('licenseKey');async function _0xec253d(){let _0x178fa5,_0x4198aa=null,_0x314a41=null;try{return'GPL'==_0x5e5190?'NotAllowed':(_0x178fa5=_0x1ff8f0(),_0x178fa5?(_0x178fa5['usageEndpoint']&&(_0x314a41=_0x42f915(_0x178fa5['usageEndpoint'],_0x178fa5['jti'])),await _0x226c5c()?_0x4633a4()?_0x2c1206()?'Expired':_0x376fec()?('evaluation'==_0x178fa5['licenseType']&&(_0x4198aa=_0x20fdcd('EvaluationLimit')),await _0x132ce9()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x2c1206(){const _0x3ad759=['evaluation','trial']['includes'](_0x178fa5['licenseType'])?_0x2a9ee2/0x3e8:0xe10*_0x1f684f;return _0x178fa5['exp']<_0x3ad759;}function _0x4633a4(){const _0x4c68e9=_0x178fa5['features'];return!!_0x4c68e9&&(!!_0x4c68e9['includes']('*')||(!!_0x4c68e9['includes']('POE')||(!!_0x4c68e9['includes']('PP')||!(!_0x4c68e9['includes']('TRILIUM')||!_0x3d3a2d()))));}function _0x376fec(){const _0x166a60=_0x178fa5['licensedHosts'];if(!_0x166a60||0x0==_0x166a60['length'])return!0x0;const {hostname:_0x38290f}=new URL(window['location']['href']);if(_0x166a60['includes'](_0x38290f))return!0x0;const _0x8592c1=_0x38290f['split']('.');return _0x166a60['filter'](_0x2612f2=>_0x2612f2['includes']('*'))['map'](_0x28cba8=>_0x28cba8['split']('.'))['filter'](_0x7ccce5=>_0x7ccce5['length']<=_0x8592c1['length'])['map'](_0x109a4b=>Array(_0x8592c1['length']-_0x109a4b['length'])['fill']('*'===_0x109a4b[0x0]?'*':'')['concat'](_0x109a4b))['some'](_0x56f9fa=>_0x8592c1['every']((_0x474273,_0x414801)=>_0x56f9fa[_0x414801]===_0x474273||'*'===_0x56f9fa[_0x414801]));}function _0x132ce9(){return _0x4198aa&&_0x314a41?new window['Promise']((_0xe908,_0x2c1e5e)=>{_0x4198aa['then'](_0xe908,_0x2c1e5e),_0x314a41['then'](_0x4f0ee5=>{'Valid'!=_0x4f0ee5&&_0xe908(_0x4f0ee5);},_0x2c1e5e);}):_0x4198aa||_0x314a41||'Valid';}}function _0x42f915(_0x2809aa,_0x2ced1a){return new window['Promise'](_0x2ef0c3=>{if(_0x13fd9e())return _0x2ef0c3('Valid');_0x7e56b8(),_0xd34fb6['decorate']('_sendUsageRequest');let _0x392bf6=!0x1;const _0x3b30bd=(0x0,_0x14e616['uid'])();function _0x51e465(_0x4cda98){return!!_0x4cda98&&('object'==typeof _0x4cda98||'function'==typeof _0x4cda98)&&'function'==typeof _0x4cda98['then']&&'function'==typeof _0x4cda98['catch'];}function _0x52e458(_0x434968){_0x239b95(_0x434968)['then'](_0x4233cd=>_0x4233cd&&'ok'==_0x4233cd['status']?_0x4819cf(_0x5611f5(_0x3b30bd+_0x2ced1a))!=_0x4233cd['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x50cf2a=>(_0x170798(),_0x50cf2a),()=>{const _0x5c4435=_0x20922f();return null==_0x5c4435?(_0x170798(),'Valid'):_0x2a9ee2-_0x5c4435>0x240c8400?'UsageLimit':'Valid';})['then'](_0x2ef0c3)['catch'](()=>{_0x2ef0c3('UsageLimit');});const _0x2cc7fb=0x36ee80;function _0x170798(){const _0x22c3ce='llct-'+_0x4819cf(_0x5611f5(_0x2809aa)),_0x11374c=_0x223c07(_0x4819cf(window['Math']['ceil'](_0x2a9ee2/_0x2cc7fb)));window['localStorage']['setItem'](_0x22c3ce,_0x11374c);}function _0x20922f(){const _0x466ae5='llct-'+_0x4819cf(_0x5611f5(_0x2809aa)),_0x3d3d1a=window['localStorage']['getItem'](_0x466ae5);return _0x3d3d1a?window['parseInt'](_0x223c07(_0x3d3d1a),0x10)*_0x2cc7fb:null;}function _0x239b95(_0x1cfacb){return new window['Promise']((_0x7bb0f0,_0x2623a8)=>{_0x1cfacb['then'](_0x7bb0f0,_0x2623a8),window['setTimeout'](_0x2623a8,0x1d4c0);});}}_0xd34fb6['on']('_sendUsageRequest',(_0x1b8548,_0x41a610)=>{if(_0x41a610[0x0]!=_0x2809aa)return _0x2ef0c3('UsageLimit');_0x41a610[0x1]={..._0x41a610[0x1],'requestId':_0x3b30bd};},{'priority':'high'}),_0xd34fb6['on']('_sendUsageRequest',_0x15c3b3=>{_0x51e465(_0x15c3b3['return'])&&(_0x392bf6=!0x0,_0x52e458(_0x15c3b3['return']));},{'priority':'low'}),_0x54c43c['then'](()=>{_0x392bf6||_0x2ef0c3('UsageLimit');});});function _0x13fd9e(){return'auto'==_0xd34fb6['editing']['view']['_overlayModeHint'];}function _0x7e56b8(){_0xd34fb6['editing']['view']['_overlayModeHint']='auto';}}function _0x20fdcd(_0x1f0044){const _0x2f54bb=[new window['Promise'](_0x3775fd=>setTimeout(_0x3775fd,0x93ecc)),_0x54c43c['then'](()=>new window['Promise'](_0x5598b4=>{let _0x1c3fea=0x0;_0xd34fb6['model']['on']('applyOperation',(_0x49db06,_0x304749)=>{_0x304749[0x0]['isDocumentOperation']&&_0x1c3fea++,0x5e8==_0x1c3fea&&(_0x5598b4(),_0x49db06['off']());});}))];return window['Promise']['race'](_0x2f54bb)['then'](()=>_0x1f0044);}async function _0x46cec2(){await _0x54c43c,_0xd34fb6['model']['change']=_0x4c29c0,_0xd34fb6['model']['enqueueChange']=_0x4c29c0,_0xd34fb6['enableReadOnlyMode']('model');}function _0x3d3a2d(){return window['glob']&&window['glob']['triliumVersion'];}function _0x239797(_0x4cee1e){const _0x5f4713=_0x16fea4();_0xd34fb6[_0x5f4713]='pasteFromOfficeEnhancedLicenseKey'+_0x4cee1e,'Valid'!=_0x4cee1e&&_0x46cec2();}function _0x16fea4(){const _0x2c9617=window['String'](window['performance']['now']())['replace']('.','');let _0x45a3b8='s';for(let _0x2896eb=0x0;_0x2896eb<_0x2c9617['length'];_0x2896eb+=0x2){let _0x2d0780=window['parseInt'](_0x2c9617['substring'](_0x2896eb,_0x2896eb+0x2));_0x2d0780>=0x3e&&(_0x2d0780-=0x3e),_0x45a3b8+=_0x52cabb[_0x2d0780];}return _0x45a3b8;}function _0x1ff8f0(){const _0x1681c4=_0x5e5190['split']('.');if(0x3!=_0x1681c4['length'])return null;return _0x2da4fa(_0x1681c4[0x1]);function _0x2da4fa(_0x29e2d1){const _0x1fc1ed=_0x448517(_0x29e2d1);return _0x1fc1ed&&_0x5384bf()?_0x1fc1ed:null;function _0x5384bf(){const _0x19b43b=_0x1fc1ed['jti'],_0x40c0cc=window['parseInt'](_0x19b43b['substring'](_0x19b43b['length']-0x8),0x10),_0x393440={..._0x1fc1ed,'jti':_0x19b43b['substring'](0x0,_0x19b43b['length']-0x8)};return delete _0x393440['vc'],_0x5611f5(_0x393440)==_0x40c0cc;}}}async function _0x226c5c(){let _0x26d32e=!0x0;try{const [_0x4dbf58,_0x2f5e98,_0x94357b]=_0x5e5190['split']('.');return _0x209394(_0x4dbf58),await _0x572952(_0x4dbf58,_0x2f5e98,_0x94357b),_0x26d32e;}catch{return!0x1;}function _0x209394(_0x528d80){const _0x2149cf=_0x448517(_0x528d80);_0x2149cf&&'ES256'==_0x2149cf['alg']||(_0x26d32e=!0x1);}async function _0x572952(_0x385245,_0x319137,_0x4a4203){const _0x39bcea=window['Uint8Array']['from'](_0x53e30b(_0x4a4203),_0x1f6ed9=>_0x1f6ed9['charCodeAt'](0x0)),_0x5682bd=new window['TextEncoder']()['encode'](_0x385245+'.'+_0x319137),_0x5cff1a=window['crypto']['subtle'];if(!_0x5cff1a)return;const _0x44fe01=await _0x5cff1a['importKey']('jwk',_0x595799,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5cff1a['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x44fe01,_0x39bcea,_0x5682bd)||(_0x26d32e=!0x1);}}function _0x448517(_0x33ffe3){return _0x33ffe3['startsWith']('ey')?JSON['parse'](_0x53e30b(_0x33ffe3)):null;}function _0x53e30b(_0x2d8511){return window['atob'](_0x2d8511['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x5611f5(_0x1104ed){let _0x33bcf8=0x1505;function _0xab0129(_0x275a3b){for(let _0x561faf=0x0;_0x561faf<_0x275a3b['length'];_0x561faf++){const _0x2abce0=_0x275a3b['charCodeAt'](_0x561faf);_0x33bcf8=(_0x33bcf8<<0x5)+_0x33bcf8+_0x2abce0,_0x33bcf8&=_0x33bcf8;}}function _0x180ac7(_0x5c792b){Array['isArray'](_0x5c792b)?_0x5c792b['forEach'](_0x180ac7):_0x5c792b&&'object'==typeof _0x5c792b?Object['entries'](_0x5c792b)['sort']()['forEach'](([_0x3691f0,_0x31d8ac])=>{_0xab0129(_0x3691f0),_0x180ac7(_0x31d8ac);}):_0xab0129(window['String'](_0x5c792b));}return _0x180ac7(_0x1104ed),_0x33bcf8>>>0x0;}function _0x4819cf(_0x30a7b9){return _0x30a7b9['toString'](0x10)['padStart'](0x8,'0');}function _0x223c07(_0x25b952){return _0x25b952['split']('')['reverse']()['join']('');}function _0x4c29c0(){}_0x239797(await _0xec253d());}(this);}};const _0x19a46b=['color','font-family','font-size','text-decoration','text-decoration-line','font-weight','font-style','vertical-align'],_0xe4d14d=['color','font-family','font-size'],_0x5c8351={'font-style':[['italic','i']],'font-weight':[['medium','strong'],['bold','strong'],['bolder','strong'],[_0x41c9cc=>Number(_0x41c9cc)>=0x258,'strong']],'text-decoration':[['underline','u'],['line-through','s']],'text-decoration-line':[['underline','u'],['line-through','s']],'vertical-align':[['sub','sub'],['super','sup']]};function _0x45f082(_0x167c99){return _0x19a46b['includes'](_0x167c99);}function _0x1806bd(_0x2004f4){return Array['from'](_0x2004f4['getStyleNames']())['filter'](_0x45f082);}function _0x3a2248(_0x4ce9c8,_0x112209,_0x447b60){const {spanStyles:_0x300229,stylesToBeHtmlElements:_0x33cbf3}=_0x5a19ce(_0x4ce9c8,_0x447b60);!function(_0x18d4b6,_0x4dad7a,_0x4231ee){for(const _0x34b1b6 in _0x4231ee)_0x4231ee[_0x34b1b6]['forEach'](([,_0x3d34ce])=>{const _0x36e333=_0x4dad7a['createElement'](_0x3d34ce,[],_0x18d4b6['getChildren']());_0x4dad7a['insertChild'](0x0,_0x36e333,_0x18d4b6);}),_0x4dad7a['removeStyle'](_0x34b1b6,_0x18d4b6);}(_0x4ce9c8,_0x112209,_0x33cbf3),function(_0x5b8883,_0x1bae82,_0x115e27){if(!Object['keys'](_0x115e27)['length'])return;const _0x53b2c9=_0x1bae82['createElement']('span',[],_0x5b8883['getChildren']());_0x1bae82['setStyle'](_0x115e27,_0x53b2c9),_0x1bae82['insertChild'](0x0,_0x53b2c9,_0x5b8883),_0x1bae82['removeStyle'](Object['keys'](_0x115e27),_0x5b8883);}(_0x4ce9c8,_0x112209,_0x300229);}function _0x1c8787(_0x4fb5c3,_0x35519e,_0x4a07e4){const {spanStyles:_0x2b8f91}=_0x5a19ce(_0x4fb5c3,_0x4a07e4),_0x527faa=Object['keys'](_0x2b8f91);if(!_0x527faa['length'])return;let _0x102c4a=!0x1;for(const _0x3b58fb of _0x4fb5c3['getChildren']())if(_0x3b58fb['is']('element','span')){_0x102c4a=!0x0;for(const [_0x298a7f,_0x144276]of Object['entries'](_0x2b8f91))_0x3b58fb['hasStyle'](_0x298a7f)||_0x35519e['setStyle']({[_0x298a7f]:_0x144276},_0x3b58fb);}_0x102c4a&&_0x35519e['removeStyle'](_0x527faa,_0x4fb5c3);}function _0x5a19ce(_0x1ca37f,_0x392c5d){const _0x336189={},_0xd62c46={};return _0x392c5d['forEach'](_0x462c6b=>{const _0x24874f=_0x1ca37f['getStyle'](_0x462c6b);if(_0x24874f){if(function(_0x15bc73){return _0xe4d14d['includes'](_0x15bc73);}(_0x462c6b))_0x336189[_0x462c6b]=_0x24874f;else{if(function(_0xbffe0e){return _0xbffe0e in _0x5c8351;}(_0x462c6b)){const _0x50b2db=_0x24874f['split']('\x20');_0x5c8351[_0x462c6b]['forEach'](([_0x25e4a3,_0x46aaab])=>{for(const _0x35e96f of _0x50b2db)('function'==typeof _0x25e4a3&&_0x25e4a3(_0x35e96f)||_0x25e4a3===_0x35e96f)&&(_0xd62c46[_0x462c6b]=[..._0xd62c46[_0x462c6b]||[],[_0x25e4a3,_0x46aaab]]);});}}}}),{'spanStyles':_0x336189,'stylesToBeHtmlElements':_0xd62c46};}var _0x4be298=class extends _0x14e616['PasteFromOfficeMSWordNormalizer']{['execute'](_0x125e09){const _0x165cec=new _0x14e616['ViewUpcastWriter'](_0x125e09['content']['document']),_0x26e465=_0x165cec['createRangeIn'](_0x125e09['content']),_0x18ee5f=[...new _0x14e616['ViewDomConverter'](new _0x14e616['ViewDocument'](_0x165cec['document']['stylesProcessor']))['blockElements'],'font'],_0x57739f=_0x26e465['getItems']();for(const _0x5d4a4c of _0x57739f)if(_0x5d4a4c['is']('element')&&_0x18ee5f['includes'](_0x5d4a4c['name'])){if(_0x5d4a4c['hasStyle']('mso-list')&&'none'!==_0x5d4a4c['getStyle']('mso-list')){_0x1c8787(_0x5d4a4c,_0x165cec,_0x1806bd(_0x5d4a4c));continue;}_0x3a2248(_0x5d4a4c,_0x165cec,_0x1806bd(_0x5d4a4c));}}['isActive'](_0x121389){return super['isActive'](_0x121389)||_0x2fd94b(_0x121389);}},_0xe1087f=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'PasteFromOfficeEnhancedPropagator';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x14e616['PasteFromOffice']];}['init'](){const _0x4fe6c6=this['editor'],_0x50ad34=_0x4fe6c6['plugins']['get']('PasteFromOffice'),_0x19346c=_0x4fe6c6['editing']['view']['document'],_0x494949=new _0x4be298(_0x19346c);_0x50ad34['registerNormalizer'](_0x494949,_0x14e616['priorities']['high']+0xa),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1c4703=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5c4118;for(const _0x1d1238 in _0x1c4703){const _0x1c4231=_0x1d1238,_0x298f95=_0x1c4703[_0x1c4231];if('pasteFromOfficeEnhancedLicenseKeyValid'==_0x298f95||'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x298f95||'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x298f95||'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x298f95||'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x298f95||'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x298f95||'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x298f95){delete _0x1c4703[_0x1c4231],_0x5c4118=_0x298f95,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'pasteFromOfficeEnhancedLicenseKeyInvalid'==_0x5c4118&&_0x1c4703['_showLicenseError']('invalid'),'pasteFromOfficeEnhancedLicenseKeyExpired'==_0x5c4118&&_0x1c4703['_showLicenseError']('expired'),'pasteFromOfficeEnhancedLicenseKeyDomainLimit'==_0x5c4118&&_0x1c4703['_showLicenseError']('domainLimit'),'pasteFromOfficeEnhancedLicenseKeyNotAllowed'==_0x5c4118&&_0x1c4703['_showLicenseError']('featureNotAllowed','PasteFromOfficeEnhanced'),'pasteFromOfficeEnhancedLicenseKeyEvaluationLimit'==_0x5c4118&&_0x1c4703['_showLicenseError']('evaluationLimit'),'pasteFromOfficeEnhancedLicenseKeyUsageLimit'==_0x5c4118&&_0x1c4703['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x400498=class extends _0x14e616['Plugin']{static get['pluginName'](){return'PasteFromOfficeEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x14e616['PasteFromOffice'],_0x9c344e,_0xe1087f];}},_0x167b4d=_0x583040((_0x372bfc,_0x473d87)=>{_0x473d87['exports']=function(_0x1ad558,_0x3e955f){var _0x267685=new Array(arguments['length']-0x1),_0x42d36d=0x0,_0x2c8448=0x2,_0x38461f=!0x0;for(;_0x2c8448<arguments['length'];)_0x267685[_0x42d36d++]=arguments[_0x2c8448++];return new Promise(function(_0x2276dd,_0x53ff2b){_0x267685[_0x42d36d]=function(_0x19912e){if(_0x38461f){if(_0x38461f=!0x1,_0x19912e)_0x53ff2b(_0x19912e);else{for(var _0xa433bd=new Array(arguments['length']-0x1),_0x172150=0x0;_0x172150<_0xa433bd['length'];)_0xa433bd[_0x172150++]=arguments[_0x172150];_0x2276dd['apply'](null,_0xa433bd);}}};try{_0x1ad558['apply'](_0x3e955f||null,_0x267685);}catch(_0x22cf4a){_0x38461f&&(_0x38461f=!0x1,_0x53ff2b(_0x22cf4a));}});};}),_0x24f3c2=_0x583040(_0x54c403=>{var _0x1a83d7=_0x54c403;_0x1a83d7['length']=function(_0x17a4d2){var _0x4359e8=_0x17a4d2['length'];if(!_0x4359e8)return 0x0;for(var _0x5ce833=0x0;--_0x4359e8%0x4>0x1&&'='===_0x17a4d2['charAt'](_0x4359e8);)++_0x5ce833;return Math['ceil'](0x3*_0x17a4d2['length'])/0x4-_0x5ce833;};for(var _0x4fe069=new Array(0x40),_0x3d4f84=new Array(0x7b),_0x1c4d1d=0x0;_0x1c4d1d<0x40;)_0x3d4f84[_0x4fe069[_0x1c4d1d]=_0x1c4d1d<0x1a?_0x1c4d1d+0x41:_0x1c4d1d<0x34?_0x1c4d1d+0x47:_0x1c4d1d<0x3e?_0x1c4d1d-0x4:_0x1c4d1d-0x3b|0x2b]=_0x1c4d1d++;_0x1a83d7['encode']=function(_0x132d3c,_0x14967b,_0x561dcb){for(var t,_0x1c97ec=null,_0x5c511c=[],_0x48c1a8=0x0,_0x1053f0=0x0;_0x14967b<_0x561dcb;){var _0x15f089=_0x132d3c[_0x14967b++];switch(_0x1053f0){case 0x0:_0x5c511c[_0x48c1a8++]=_0x4fe069[_0x15f089>>0x2],t=(0x3&_0x15f089)<<0x4,_0x1053f0=0x1;break;case 0x1:_0x5c511c[_0x48c1a8++]=_0x4fe069[t|_0x15f089>>0x4],t=(0xf&_0x15f089)<<0x2,_0x1053f0=0x2;break;case 0x2:_0x5c511c[_0x48c1a8++]=_0x4fe069[t|_0x15f089>>0x6],_0x5c511c[_0x48c1a8++]=_0x4fe069[0x3f&_0x15f089],_0x1053f0=0x0;}_0x48c1a8>0x1fff&&((_0x1c97ec||(_0x1c97ec=[]))['push'](String['fromCharCode']['apply'](String,_0x5c511c)),_0x48c1a8=0x0);}return _0x1053f0&&(_0x5c511c[_0x48c1a8++]=_0x4fe069[t],_0x5c511c[_0x48c1a8++]=0x3d,0x1===_0x1053f0&&(_0x5c511c[_0x48c1a8++]=0x3d)),_0x1c97ec?(_0x48c1a8&&_0x1c97ec['push'](String['fromCharCode']['apply'](String,_0x5c511c['slice'](0x0,_0x48c1a8))),_0x1c97ec['join']('')):String['fromCharCode']['apply'](String,_0x5c511c['slice'](0x0,_0x48c1a8));};var _0x514271='invalid\x20encoding';_0x1a83d7['decode']=function(_0x58195f,_0x4f9bf9,_0xfe14d4){for(var t,_0x5f1e84=_0xfe14d4,_0x3f4915=0x0,_0x594378=0x0;_0x594378<_0x58195f['length'];){var _0x33c2d7=_0x58195f['charCodeAt'](_0x594378++);if(0x3d===_0x33c2d7&&_0x3f4915>0x1)break;if(void 0x0===(_0x33c2d7=_0x3d4f84[_0x33c2d7]))throw Error(_0x514271);switch(_0x3f4915){case 0x0:t=_0x33c2d7,_0x3f4915=0x1;break;case 0x1:_0x4f9bf9[_0xfe14d4++]=t<<0x2|(0x30&_0x33c2d7)>>0x4,t=_0x33c2d7,_0x3f4915=0x2;break;case 0x2:_0x4f9bf9[_0xfe14d4++]=(0xf&t)<<0x4|(0x3c&_0x33c2d7)>>0x2,t=_0x33c2d7,_0x3f4915=0x3;break;case 0x3:_0x4f9bf9[_0xfe14d4++]=(0x3&t)<<0x6|_0x33c2d7,_0x3f4915=0x0;}}if(0x1===_0x3f4915)throw Error(_0x514271);return _0xfe14d4-_0x5f1e84;},_0x1a83d7['test']=function(_0x308d02){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/['test'](_0x308d02);};}),_0x50a849=_0x583040((_0x101394,_0x2ec045)=>{function _0x21249d(){this['_listeners']=Object['create'](null);}_0x2ec045['exports']=_0x21249d,_0x21249d['prototype']['on']=function(_0x41f178,_0x1536b8,_0x31a76e){return(this['_listeners'][_0x41f178]||(this['_listeners'][_0x41f178]=[]))['push']({'fn':_0x1536b8,'ctx':_0x31a76e||this}),this;},_0x21249d['prototype']['off']=function(_0x4d00ad,_0x15311){if(void 0x0===_0x4d00ad)this['_listeners']=Object['create'](null);else{if(void 0x0===_0x15311)this['_listeners'][_0x4d00ad]=[];else{var _0x3c96d3=this['_listeners'][_0x4d00ad];if(!_0x3c96d3)return this;for(var _0x1d3b34=0x0;_0x1d3b34<_0x3c96d3['length'];)_0x3c96d3[_0x1d3b34]['fn']===_0x15311?_0x3c96d3['splice'](_0x1d3b34,0x1):++_0x1d3b34;}}return this;},_0x21249d['prototype']['emit']=function(_0x22f87b){var _0x4bc528=this['_listeners'][_0x22f87b];if(_0x4bc528){for(var _0x44ae00=[],_0x28950d=0x1;_0x28950d<arguments['length'];)_0x44ae00['push'](arguments[_0x28950d++]);for(_0x28950d=0x0;_0x28950d<_0x4bc528['length'];)_0x4bc528[_0x28950d]['fn']['apply'](_0x4bc528[_0x28950d++]['ctx'],_0x44ae00);}return this;};}),_0x25fa69=_0x583040((_0x5393b3,_0x4e5b53)=>{function _0x27bc80(_0xc9456c){return'undefined'!=typeof Float32Array?(function(){var _0xa9ca53=new Float32Array([-0x0]),_0x3ce96c=new Uint8Array(_0xa9ca53['buffer']),_0x44c4b7=0x80===_0x3ce96c[0x3];function _0x9314b6(_0xfed1b0,_0x4addae,_0x5b0169){_0xa9ca53[0x0]=_0xfed1b0,_0x4addae[_0x5b0169]=_0x3ce96c[0x0],_0x4addae[_0x5b0169+0x1]=_0x3ce96c[0x1],_0x4addae[_0x5b0169+0x2]=_0x3ce96c[0x2],_0x4addae[_0x5b0169+0x3]=_0x3ce96c[0x3];}function _0x730887(_0x4a1e6c,_0x1d9c26,_0x1a1fa9){_0xa9ca53[0x0]=_0x4a1e6c,_0x1d9c26[_0x1a1fa9]=_0x3ce96c[0x3],_0x1d9c26[_0x1a1fa9+0x1]=_0x3ce96c[0x2],_0x1d9c26[_0x1a1fa9+0x2]=_0x3ce96c[0x1],_0x1d9c26[_0x1a1fa9+0x3]=_0x3ce96c[0x0];}function _0x384bbf(_0x3b0ada,_0x104f9c){return _0x3ce96c[0x0]=_0x3b0ada[_0x104f9c],_0x3ce96c[0x1]=_0x3b0ada[_0x104f9c+0x1],_0x3ce96c[0x2]=_0x3b0ada[_0x104f9c+0x2],_0x3ce96c[0x3]=_0x3b0ada[_0x104f9c+0x3],_0xa9ca53[0x0];}function _0x3e44b8(_0x19c0f7,_0x502a87){return _0x3ce96c[0x3]=_0x19c0f7[_0x502a87],_0x3ce96c[0x2]=_0x19c0f7[_0x502a87+0x1],_0x3ce96c[0x1]=_0x19c0f7[_0x502a87+0x2],_0x3ce96c[0x0]=_0x19c0f7[_0x502a87+0x3],_0xa9ca53[0x0];}_0xc9456c['writeFloatLE']=_0x44c4b7?_0x9314b6:_0x730887,_0xc9456c['writeFloatBE']=_0x44c4b7?_0x730887:_0x9314b6,_0xc9456c['readFloatLE']=_0x44c4b7?_0x384bbf:_0x3e44b8,_0xc9456c['readFloatBE']=_0x44c4b7?_0x3e44b8:_0x384bbf;}()):(function(){function _0x3f56e6(_0xaf208d,_0x315e89,_0x395861,_0x206463){var _0x462ad6=_0x315e89<0x0?0x1:0x0;if(_0x462ad6&&(_0x315e89=-_0x315e89),0x0===_0x315e89)_0xaf208d(0x1/_0x315e89>0x0?0x0:0x80000000,_0x395861,_0x206463);else{if(isNaN(_0x315e89))_0xaf208d(0x7fc00000,_0x395861,_0x206463);else{if(_0x315e89>0xffffff00000000000000000000000000)_0xaf208d((_0x462ad6<<0x1f|0x7f800000)>>>0x0,_0x395861,_0x206463);else{if(_0x315e89<1.1754943508222875e-38)_0xaf208d((_0x462ad6<<0x1f|Math['round'](_0x315e89/1.401298464324817e-45))>>>0x0,_0x395861,_0x206463);else{var _0x14a844=Math['floor'](Math['log'](_0x315e89)/Math['LN2']);_0xaf208d((_0x462ad6<<0x1f|_0x14a844+0x7f<<0x17|0x7fffff&Math['round'](_0x315e89*Math['pow'](0x2,-_0x14a844)*0x800000))>>>0x0,_0x395861,_0x206463);}}}}}function _0x19d4ea(_0x4e0711,_0x4f4a99,_0x2396be){var _0x23d8c5=_0x4e0711(_0x4f4a99,_0x2396be),_0x5c94ef=0x2*(_0x23d8c5>>0x1f)+0x1,_0x500bf2=_0x23d8c5>>>0x17&0xff,_0x23f5ab=0x7fffff&_0x23d8c5;return 0xff===_0x500bf2?_0x23f5ab?NaN:_0x5c94ef*(0x1/0x0):0x0===_0x500bf2?1.401298464324817e-45*_0x5c94ef*_0x23f5ab:_0x5c94ef*Math['pow'](0x2,_0x500bf2-0x96)*(_0x23f5ab+0x800000);}_0xc9456c['writeFloatLE']=_0x3f56e6['bind'](null,_0x244749),_0xc9456c['writeFloatBE']=_0x3f56e6['bind'](null,_0x32e691),_0xc9456c['readFloatLE']=_0x19d4ea['bind'](null,_0x2f27d9),_0xc9456c['readFloatBE']=_0x19d4ea['bind'](null,_0x162034);}()),'undefined'!=typeof Float64Array?(function(){var _0x1072c1=new Float64Array([-0x0]),_0x4024ee=new Uint8Array(_0x1072c1['buffer']),_0x6421b7=0x80===_0x4024ee[0x7];function _0x5c8619(_0x39828f,_0x337177,_0x1f8b77){_0x1072c1[0x0]=_0x39828f,_0x337177[_0x1f8b77]=_0x4024ee[0x0],_0x337177[_0x1f8b77+0x1]=_0x4024ee[0x1],_0x337177[_0x1f8b77+0x2]=_0x4024ee[0x2],_0x337177[_0x1f8b77+0x3]=_0x4024ee[0x3],_0x337177[_0x1f8b77+0x4]=_0x4024ee[0x4],_0x337177[_0x1f8b77+0x5]=_0x4024ee[0x5],_0x337177[_0x1f8b77+0x6]=_0x4024ee[0x6],_0x337177[_0x1f8b77+0x7]=_0x4024ee[0x7];}function _0x244c5b(_0x51a196,_0x24a1e1,_0x3e178b){_0x1072c1[0x0]=_0x51a196,_0x24a1e1[_0x3e178b]=_0x4024ee[0x7],_0x24a1e1[_0x3e178b+0x1]=_0x4024ee[0x6],_0x24a1e1[_0x3e178b+0x2]=_0x4024ee[0x5],_0x24a1e1[_0x3e178b+0x3]=_0x4024ee[0x4],_0x24a1e1[_0x3e178b+0x4]=_0x4024ee[0x3],_0x24a1e1[_0x3e178b+0x5]=_0x4024ee[0x2],_0x24a1e1[_0x3e178b+0x6]=_0x4024ee[0x1],_0x24a1e1[_0x3e178b+0x7]=_0x4024ee[0x0];}function _0x541eb6(_0x35851f,_0x4a657c){return _0x4024ee[0x0]=_0x35851f[_0x4a657c],_0x4024ee[0x1]=_0x35851f[_0x4a657c+0x1],_0x4024ee[0x2]=_0x35851f[_0x4a657c+0x2],_0x4024ee[0x3]=_0x35851f[_0x4a657c+0x3],_0x4024ee[0x4]=_0x35851f[_0x4a657c+0x4],_0x4024ee[0x5]=_0x35851f[_0x4a657c+0x5],_0x4024ee[0x6]=_0x35851f[_0x4a657c+0x6],_0x4024ee[0x7]=_0x35851f[_0x4a657c+0x7],_0x1072c1[0x0];}function _0x44e973(_0x8d0206,_0x58824e){return _0x4024ee[0x7]=_0x8d0206[_0x58824e],_0x4024ee[0x6]=_0x8d0206[_0x58824e+0x1],_0x4024ee[0x5]=_0x8d0206[_0x58824e+0x2],_0x4024ee[0x4]=_0x8d0206[_0x58824e+0x3],_0x4024ee[0x3]=_0x8d0206[_0x58824e+0x4],_0x4024ee[0x2]=_0x8d0206[_0x58824e+0x5],_0x4024ee[0x1]=_0x8d0206[_0x58824e+0x6],_0x4024ee[0x0]=_0x8d0206[_0x58824e+0x7],_0x1072c1[0x0];}_0xc9456c['writeDoubleLE']=_0x6421b7?_0x5c8619:_0x244c5b,_0xc9456c['writeDoubleBE']=_0x6421b7?_0x244c5b:_0x5c8619,_0xc9456c['readDoubleLE']=_0x6421b7?_0x541eb6:_0x44e973,_0xc9456c['readDoubleBE']=_0x6421b7?_0x44e973:_0x541eb6;}()):(function(){function _0x3afe80(_0x46691a,_0x3f0c35,_0x1d0bcf,_0x4e0e47,_0x5e051b,_0x277f8d){var _0x4e5854=_0x4e0e47<0x0?0x1:0x0;if(_0x4e5854&&(_0x4e0e47=-_0x4e0e47),0x0===_0x4e0e47)_0x46691a(0x0,_0x5e051b,_0x277f8d+_0x3f0c35),_0x46691a(0x1/_0x4e0e47>0x0?0x0:0x80000000,_0x5e051b,_0x277f8d+_0x1d0bcf);else{if(isNaN(_0x4e0e47))_0x46691a(0x0,_0x5e051b,_0x277f8d+_0x3f0c35),_0x46691a(0x7ff80000,_0x5e051b,_0x277f8d+_0x1d0bcf);else{if(_0x4e0e47>0xfffffffffffff800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)_0x46691a(0x0,_0x5e051b,_0x277f8d+_0x3f0c35),_0x46691a((_0x4e5854<<0x1f|0x7ff00000)>>>0x0,_0x5e051b,_0x277f8d+_0x1d0bcf);else{var _0x2d0c12;if(_0x4e0e47<2.2250738585072014e-308)_0x46691a((_0x2d0c12=_0x4e0e47/5e-324)>>>0x0,_0x5e051b,_0x277f8d+_0x3f0c35),_0x46691a((_0x4e5854<<0x1f|_0x2d0c12/0x100000000)>>>0x0,_0x5e051b,_0x277f8d+_0x1d0bcf);else{var _0x5bec5b=Math['floor'](Math['log'](_0x4e0e47)/Math['LN2']);0x400===_0x5bec5b&&(_0x5bec5b=0x3ff),_0x46691a(0x10000000000000*(_0x2d0c12=_0x4e0e47*Math['pow'](0x2,-_0x5bec5b))>>>0x0,_0x5e051b,_0x277f8d+_0x3f0c35),_0x46691a((_0x4e5854<<0x1f|_0x5bec5b+0x3ff<<0x14|0x100000*_0x2d0c12&0xfffff)>>>0x0,_0x5e051b,_0x277f8d+_0x1d0bcf);}}}}}function _0x5b17e3(_0x2d4ad2,_0x5197c9,_0xa13b4,_0x598ccd,_0x44a9c7){var _0x59fa89=_0x2d4ad2(_0x598ccd,_0x44a9c7+_0x5197c9),_0x439444=_0x2d4ad2(_0x598ccd,_0x44a9c7+_0xa13b4),_0x3962bd=0x2*(_0x439444>>0x1f)+0x1,_0x3ab896=_0x439444>>>0x14&0x7ff,_0x599e78=0x100000000*(0xfffff&_0x439444)+_0x59fa89;return 0x7ff===_0x3ab896?_0x599e78?NaN:_0x3962bd*(0x1/0x0):0x0===_0x3ab896?5e-324*_0x3962bd*_0x599e78:_0x3962bd*Math['pow'](0x2,_0x3ab896-0x433)*(_0x599e78+0x10000000000000);}_0xc9456c['writeDoubleLE']=_0x3afe80['bind'](null,_0x244749,0x0,0x4),_0xc9456c['writeDoubleBE']=_0x3afe80['bind'](null,_0x32e691,0x4,0x0),_0xc9456c['readDoubleLE']=_0x5b17e3['bind'](null,_0x2f27d9,0x0,0x4),_0xc9456c['readDoubleBE']=_0x5b17e3['bind'](null,_0x162034,0x4,0x0);}()),_0xc9456c;}function _0x244749(_0x15863c,_0x46d073,_0x4278e3){_0x46d073[_0x4278e3]=0xff&_0x15863c,_0x46d073[_0x4278e3+0x1]=_0x15863c>>>0x8&0xff,_0x46d073[_0x4278e3+0x2]=_0x15863c>>>0x10&0xff,_0x46d073[_0x4278e3+0x3]=_0x15863c>>>0x18;}function _0x32e691(_0x344dae,_0x1606ce,_0x16c2bd){_0x1606ce[_0x16c2bd]=_0x344dae>>>0x18,_0x1606ce[_0x16c2bd+0x1]=_0x344dae>>>0x10&0xff,_0x1606ce[_0x16c2bd+0x2]=_0x344dae>>>0x8&0xff,_0x1606ce[_0x16c2bd+0x3]=0xff&_0x344dae;}function _0x2f27d9(_0x4b2ec4,_0x3332f4){return(_0x4b2ec4[_0x3332f4]|_0x4b2ec4[_0x3332f4+0x1]<<0x8|_0x4b2ec4[_0x3332f4+0x2]<<0x10|_0x4b2ec4[_0x3332f4+0x3]<<0x18)>>>0x0;}function _0x162034(_0x2573df,_0x210746){return(_0x2573df[_0x210746]<<0x18|_0x2573df[_0x210746+0x1]<<0x10|_0x2573df[_0x210746+0x2]<<0x8|_0x2573df[_0x210746+0x3])>>>0x0;}_0x4e5b53['exports']=_0x27bc80(_0x27bc80);}),_0x2260b1=_0x583040(_0x183270=>{var _0x67638c=_0x183270;_0x67638c['length']=function(_0x21e46b){for(var _0x500684=0x0,_0x51d39f=0x0,_0x476c09=0x0;_0x476c09<_0x21e46b['length'];++_0x476c09)(_0x51d39f=_0x21e46b['charCodeAt'](_0x476c09))<0x80?_0x500684+=0x1:_0x51d39f<0x800?_0x500684+=0x2:0xd800==(0xfc00&_0x51d39f)&&0xdc00==(0xfc00&_0x21e46b['charCodeAt'](_0x476c09+0x1))?(++_0x476c09,_0x500684+=0x4):_0x500684+=0x3;return _0x500684;},_0x67638c['read']=function(_0x98715f,_0x2f8367,_0x11abe5){if(_0x11abe5-_0x2f8367<0x1)return'';for(var _0x18b03b='',_0x1ebce7=_0x2f8367;_0x1ebce7<_0x11abe5;){var t=_0x98715f[_0x1ebce7++];if(t<=0x7f)_0x18b03b+=String['fromCharCode'](t);else{if(t>=0xc0&&t<0xe0){var _0x5a7828=(0x1f&t)<<0x6|0x3f&_0x98715f[_0x1ebce7++];_0x18b03b+=_0x5a7828>=0x80?String['fromCharCode'](_0x5a7828):'�';}else{if(t>=0xe0&&t<0xf0){var _0xe8c44c=(0xf&t)<<0xc|(0x3f&_0x98715f[_0x1ebce7++])<<0x6|0x3f&_0x98715f[_0x1ebce7++];_0x18b03b+=_0xe8c44c>=0x800?String['fromCharCode'](_0xe8c44c):'�';}else{if(t>=0xf0){var _0x353e7b=(0x7&t)<<0x12|(0x3f&_0x98715f[_0x1ebce7++])<<0xc|(0x3f&_0x98715f[_0x1ebce7++])<<0x6|0x3f&_0x98715f[_0x1ebce7++];_0x353e7b<0x10000||_0x353e7b>0x10ffff?_0x18b03b+='�':(_0x353e7b-=0x10000,_0x18b03b+=String['fromCharCode'](0xd800+(_0x353e7b>>0xa)),_0x18b03b+=String['fromCharCode'](0xdc00+(0x3ff&_0x353e7b)));}}}}}return _0x18b03b;},_0x67638c['write']=function(_0xb64ee7,_0x5c22b4,_0x23f6e4){for(var _0x221f8f,_0x2dbd88,_0x51c661=_0x23f6e4,_0xc3f77c=0x0;_0xc3f77c<_0xb64ee7['length'];++_0xc3f77c)(_0x221f8f=_0xb64ee7['charCodeAt'](_0xc3f77c))<0x80?_0x5c22b4[_0x23f6e4++]=_0x221f8f:_0x221f8f<0x800?(_0x5c22b4[_0x23f6e4++]=_0x221f8f>>0x6|0xc0,_0x5c22b4[_0x23f6e4++]=0x3f&_0x221f8f|0x80):0xd800==(0xfc00&_0x221f8f)&&0xdc00==(0xfc00&(_0x2dbd88=_0xb64ee7['charCodeAt'](_0xc3f77c+0x1)))?(_0x221f8f=0x10000+((0x3ff&_0x221f8f)<<0xa)+(0x3ff&_0x2dbd88),++_0xc3f77c,_0x5c22b4[_0x23f6e4++]=_0x221f8f>>0x12|0xf0,_0x5c22b4[_0x23f6e4++]=_0x221f8f>>0xc&0x3f|0x80,_0x5c22b4[_0x23f6e4++]=_0x221f8f>>0x6&0x3f|0x80,_0x5c22b4[_0x23f6e4++]=0x3f&_0x221f8f|0x80):(_0x5c22b4[_0x23f6e4++]=_0x221f8f>>0xc|0xe0,_0x5c22b4[_0x23f6e4++]=_0x221f8f>>0x6&0x3f|0x80,_0x5c22b4[_0x23f6e4++]=0x3f&_0x221f8f|0x80);return _0x23f6e4-_0x51c661;};}),_0x10706b=_0x583040((_0x2c231e,_0x169dc9)=>{_0x169dc9['exports']=function(_0x215a77,_0x2df3e2,_0x377373){var _0x812a4c=_0x377373||0x2000,_0x352ab5=_0x812a4c>>>0x1,_0x286e78=null,_0x2c9845=_0x812a4c;return function(_0x201db8){if(_0x201db8<0x1||_0x201db8>_0x352ab5)return _0x215a77(_0x201db8);_0x2c9845+_0x201db8>_0x812a4c&&(_0x286e78=_0x215a77(_0x812a4c),_0x2c9845=0x0);var _0x1236a5=_0x2df3e2['call'](_0x286e78,_0x2c9845,_0x2c9845+=_0x201db8);return 0x7&_0x2c9845&&(_0x2c9845=0x1+(0x7|_0x2c9845)),_0x1236a5;};};}),_0x6bb4db=_0x583040((_0x7fca2a,_0x2d91c5)=>{_0x2d91c5['exports']=_0x25b560;var _0x1054b9=_0x512336();function _0x25b560(_0x4efa68,_0x1f7c6c){this['lo']=_0x4efa68>>>0x0,this['hi']=_0x1f7c6c>>>0x0;}var _0x91af39=_0x25b560['zero']=new _0x25b560(0x0,0x0);_0x91af39['toNumber']=function(){return 0x0;},_0x91af39['zzEncode']=_0x91af39['zzDecode']=function(){return this;},_0x91af39['length']=function(){return 0x1;};var _0x5d6986=_0x25b560['zeroHash']='\x00\x00\x00\x00\x00\x00\x00\x00';_0x25b560['fromNumber']=function(_0x31f865){if(0x0===_0x31f865)return _0x91af39;var _0x236ca7=_0x31f865<0x0;_0x236ca7&&(_0x31f865=-_0x31f865);var _0x51393d=_0x31f865>>>0x0,_0x51ee59=(_0x31f865-_0x51393d)/0x100000000>>>0x0;return _0x236ca7&&(_0x51ee59=~_0x51ee59>>>0x0,_0x51393d=~_0x51393d>>>0x0,++_0x51393d>0xffffffff&&(_0x51393d=0x0,++_0x51ee59>0xffffffff&&(_0x51ee59=0x0))),new _0x25b560(_0x51393d,_0x51ee59);},_0x25b560['from']=function(_0x435bce){if('number'==typeof _0x435bce)return _0x25b560['fromNumber'](_0x435bce);if(_0x1054b9['isString'](_0x435bce)){if(!_0x1054b9['Long'])return _0x25b560['fromNumber'](parseInt(_0x435bce,0xa));_0x435bce=_0x1054b9['Long']['fromString'](_0x435bce);}return _0x435bce['low']||_0x435bce['high']?new _0x25b560(_0x435bce['low']>>>0x0,_0x435bce['high']>>>0x0):_0x91af39;},_0x25b560['prototype']['toNumber']=function(_0x7ab0fb){if(!_0x7ab0fb&&this['hi']>>>0x1f){var _0x1fe1a3=0x1+~this['lo']>>>0x0,_0x36f221=~this['hi']>>>0x0;return _0x1fe1a3||(_0x36f221=_0x36f221+0x1>>>0x0),-(_0x1fe1a3+0x100000000*_0x36f221);}return this['lo']+0x100000000*this['hi'];},_0x25b560['prototype']['toLong']=function(_0x3459e9){return _0x1054b9['Long']?new _0x1054b9['Long'](0x0|this['lo'],0x0|this['hi'],Boolean(_0x3459e9)):{'low':0x0|this['lo'],'high':0x0|this['hi'],'unsigned':Boolean(_0x3459e9)};};var _0x15a5aa=String['prototype']['charCodeAt'];_0x25b560['fromHash']=function(_0x421ee2){return _0x421ee2===_0x5d6986?_0x91af39:new _0x25b560((_0x15a5aa['call'](_0x421ee2,0x0)|_0x15a5aa['call'](_0x421ee2,0x1)<<0x8|_0x15a5aa['call'](_0x421ee2,0x2)<<0x10|_0x15a5aa['call'](_0x421ee2,0x3)<<0x18)>>>0x0,(_0x15a5aa['call'](_0x421ee2,0x4)|_0x15a5aa['call'](_0x421ee2,0x5)<<0x8|_0x15a5aa['call'](_0x421ee2,0x6)<<0x10|_0x15a5aa['call'](_0x421ee2,0x7)<<0x18)>>>0x0);},_0x25b560['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);},_0x25b560['prototype']['zzEncode']=function(){var _0x2c0cf3=this['hi']>>0x1f;return this['hi']=((this['hi']<<0x1|this['lo']>>>0x1f)^_0x2c0cf3)>>>0x0,this['lo']=(this['lo']<<0x1^_0x2c0cf3)>>>0x0,this;},_0x25b560['prototype']['zzDecode']=function(){var _0x25077c=-(0x1&this['lo']);return this['lo']=((this['lo']>>>0x1|this['hi']<<0x1f)^_0x25077c)>>>0x0,this['hi']=(this['hi']>>>0x1^_0x25077c)>>>0x0,this;},_0x25b560['prototype']['length']=function(){var _0x68968f=this['lo'],_0x360af7=(this['lo']>>>0x1c|this['hi']<<0x4)>>>0x0,_0x145fdf=this['hi']>>>0x18;return 0x0===_0x145fdf?0x0===_0x360af7?_0x68968f<0x4000?_0x68968f<0x80?0x1:0x2:_0x68968f<0x200000?0x3:0x4:_0x360af7<0x4000?_0x360af7<0x80?0x5:0x6:_0x360af7<0x200000?0x7:0x8:_0x145fdf<0x80?0x9:0xa;};}),_0x33e61d=_0x583040((_0xe95809,_0x78ecf2)=>{!function(_0xb686d,_0x477634){function _0x1ed9f1(_0x27c207){return _0x27c207['default']||_0x27c207;}var _0x9a8e84;'function'==typeof define&&define['amd']?define([],function(){var _0x45a5ce={};return _0x477634(_0x45a5ce),_0x1ed9f1(_0x45a5ce);}):'object'==typeof _0xe95809?(_0x477634(_0xe95809),'object'==typeof _0x78ecf2&&(_0x78ecf2['exports']=_0x1ed9f1(_0xe95809))):(_0x477634(_0x9a8e84={}),_0xb686d['Long']=_0x1ed9f1(_0x9a8e84));}('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof self?self:_0xe95809,function(_0x590a88){'use strict';Object['defineProperty'](_0x590a88,'__esModule',{'value':!0x0}),_0x590a88['default']=void 0x0;var _0x377496=null;try{_0x377496=new WebAssembly['Instance'](new WebAssembly['Module'](new Uint8Array([0x0,0x61,0x73,0x6d,0x1,0x0,0x0,0x0,0x1,0xd,0x2,0x60,0x0,0x1,0x7f,0x60,0x4,0x7f,0x7f,0x7f,0x7f,0x1,0x7f,0x3,0x7,0x6,0x0,0x1,0x1,0x1,0x1,0x1,0x6,0x6,0x1,0x7f,0x1,0x41,0x0,0xb,0x7,0x32,0x6,0x3,0x6d,0x75,0x6c,0x0,0x1,0x5,0x64,0x69,0x76,0x5f,0x73,0x0,0x2,0x5,0x64,0x69,0x76,0x5f,0x75,0x0,0x3,0x5,0x72,0x65,0x6d,0x5f,0x73,0x0,0x4,0x5,0x72,0x65,0x6d,0x5f,0x75,0x0,0x5,0x8,0x67,0x65,0x74,0x5f,0x68,0x69,0x67,0x68,0x0,0x0,0xa,0xbf,0x1,0x6,0x4,0x0,0x23,0x0,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x7e,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x7f,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x80,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x81,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb,0x24,0x1,0x1,0x7e,0x20,0x0,0xad,0x20,0x1,0xad,0x42,0x20,0x86,0x84,0x20,0x2,0xad,0x20,0x3,0xad,0x42,0x20,0x86,0x84,0x82,0x22,0x4,0x42,0x20,0x87,0xa7,0x24,0x0,0x20,0x4,0xa7,0xb])),{})['exports'];}catch{}function _0x3e5c43(_0x429448,_0x53aa64,_0x4bdc55){this['low']=0x0|_0x429448,this['high']=0x0|_0x53aa64,this['unsigned']=!!_0x4bdc55;}function _0x373710(_0x5b095d){return!0x0===(_0x5b095d&&_0x5b095d['__isLong__']);}function _0x77e1de(_0x6f0aab){var _0x506194=Math['clz32'](_0x6f0aab&-_0x6f0aab);return _0x6f0aab?0x1f-_0x506194:_0x506194;}_0x3e5c43['prototype']['__isLong__'],Object['defineProperty'](_0x3e5c43['prototype'],'__isLong__',{'value':!0x0}),_0x3e5c43['isLong']=_0x373710;var _0x5cea7b={},_0x12b3cb={};function _0x2b7ee0(_0x448ca1,_0x229840){var _0x56c1eb,_0x53b150,_0x5a3ce3;return _0x229840?(_0x5a3ce3=0x0<=(_0x448ca1>>>=0x0)&&_0x448ca1<0x100)&&(_0x53b150=_0x12b3cb[_0x448ca1])?_0x53b150:(_0x56c1eb=_0x5737d1(_0x448ca1,0x0,!0x0),_0x5a3ce3&&(_0x12b3cb[_0x448ca1]=_0x56c1eb),_0x56c1eb):(_0x5a3ce3=-0x80<=(_0x448ca1|=0x0)&&_0x448ca1<0x80)&&(_0x53b150=_0x5cea7b[_0x448ca1])?_0x53b150:(_0x56c1eb=_0x5737d1(_0x448ca1,_0x448ca1<0x0?-0x1:0x0,!0x1),_0x5a3ce3&&(_0x5cea7b[_0x448ca1]=_0x56c1eb),_0x56c1eb);}function _0x8e8451(_0x97276c,_0x303a58){if(isNaN(_0x97276c))return _0x303a58?_0x2e5756:_0x503f16;if(_0x303a58){if(_0x97276c<0x0)return _0x2e5756;if(_0x97276c>=_0x3664fd)return _0x3367f2;}else{if(_0x97276c<=-_0xcfe1ff)return _0x7daf6b;if(_0x97276c+0x1>=_0xcfe1ff)return _0x4c2092;}return _0x97276c<0x0?_0x8e8451(-_0x97276c,_0x303a58)['neg']():_0x5737d1(_0x97276c%_0x80c46d|0x0,_0x97276c/_0x80c46d|0x0,_0x303a58);}function _0x5737d1(_0x5e7019,_0x1fdca6,_0xb1292d){return new _0x3e5c43(_0x5e7019,_0x1fdca6,_0xb1292d);}_0x3e5c43['fromInt']=_0x2b7ee0,_0x3e5c43['fromNumber']=_0x8e8451,_0x3e5c43['fromBits']=_0x5737d1;var _0x152b5d=Math['pow'];function _0x2d9e6b(_0x1ccd89,_0x1cd4ff,_0x5993e2){if(0x0===_0x1ccd89['length'])throw Error('empty\x20string');if('number'==typeof _0x1cd4ff?(_0x5993e2=_0x1cd4ff,_0x1cd4ff=!0x1):_0x1cd4ff=!!_0x1cd4ff,'NaN'===_0x1ccd89||'Infinity'===_0x1ccd89||'+Infinity'===_0x1ccd89||'-Infinity'===_0x1ccd89)return _0x1cd4ff?_0x2e5756:_0x503f16;if((_0x5993e2=_0x5993e2||0xa)<0x2||0x24<_0x5993e2)throw RangeError('radix');var _0x25a7e7;if((_0x25a7e7=_0x1ccd89['indexOf']('-'))>0x0)throw Error('interior\x20hyphen');if(0x0===_0x25a7e7)return _0x2d9e6b(_0x1ccd89['substring'](0x1),_0x1cd4ff,_0x5993e2)['neg']();for(var _0x148424=_0x8e8451(_0x152b5d(_0x5993e2,0x8)),_0x8172fa=_0x503f16,_0x33c646=0x0;_0x33c646<_0x1ccd89['length'];_0x33c646+=0x8){var _0x7212c7=Math['min'](0x8,_0x1ccd89['length']-_0x33c646),_0x162e42=parseInt(_0x1ccd89['substring'](_0x33c646,_0x33c646+_0x7212c7),_0x5993e2);if(_0x7212c7<0x8){var _0x37da59=_0x8e8451(_0x152b5d(_0x5993e2,_0x7212c7));_0x8172fa=_0x8172fa['mul'](_0x37da59)['add'](_0x8e8451(_0x162e42));}else _0x8172fa=(_0x8172fa=_0x8172fa['mul'](_0x148424))['add'](_0x8e8451(_0x162e42));}return _0x8172fa['unsigned']=_0x1cd4ff,_0x8172fa;}function _0x591f09(_0x57d198,_0x153484){return'number'==typeof _0x57d198?_0x8e8451(_0x57d198,_0x153484):'string'==typeof _0x57d198?_0x2d9e6b(_0x57d198,_0x153484):_0x5737d1(_0x57d198['low'],_0x57d198['high'],'boolean'==typeof _0x153484?_0x153484:_0x57d198['unsigned']);}_0x3e5c43['fromString']=_0x2d9e6b,_0x3e5c43['fromValue']=_0x591f09;var _0x80c46d=0x100000000,_0x3664fd=_0x80c46d*_0x80c46d,_0xcfe1ff=_0x3664fd/0x2,_0x209322=_0x2b7ee0(0x1<<0x18),_0x503f16=_0x2b7ee0(0x0);_0x3e5c43['ZERO']=_0x503f16;var _0x2e5756=_0x2b7ee0(0x0,!0x0);_0x3e5c43['UZERO']=_0x2e5756;var _0x22010b=_0x2b7ee0(0x1);_0x3e5c43['ONE']=_0x22010b;var _0x1f0215=_0x2b7ee0(0x1,!0x0);_0x3e5c43['UONE']=_0x1f0215;var _0x3a1a16=_0x2b7ee0(-0x1);_0x3e5c43['NEG_ONE']=_0x3a1a16;var _0x4c2092=_0x5737d1(-0x1,0x7fffffff,!0x1);_0x3e5c43['MAX_VALUE']=_0x4c2092;var _0x3367f2=_0x5737d1(-0x1,-0x1,!0x0);_0x3e5c43['MAX_UNSIGNED_VALUE']=_0x3367f2;var _0x7daf6b=_0x5737d1(0x0,-0x80000000,!0x1);_0x3e5c43['MIN_VALUE']=_0x7daf6b;var _0x48b9f5=_0x3e5c43['prototype'];_0x48b9f5['toInt']=function(){return this['unsigned']?this['low']>>>0x0:this['low'];},_0x48b9f5['toNumber']=function(){return this['unsigned']?(this['high']>>>0x0)*_0x80c46d+(this['low']>>>0x0):this['high']*_0x80c46d+(this['low']>>>0x0);},_0x48b9f5['toString']=function(_0x42fdce){if((_0x42fdce=_0x42fdce||0xa)<0x2||0x24<_0x42fdce)throw RangeError('radix');if(this['isZero']())return'0';if(this['isNegative']()){if(this['eq'](_0x7daf6b)){var _0x3db3c0=_0x8e8451(_0x42fdce),_0x2927f1=this['div'](_0x3db3c0),_0x58e88e=_0x2927f1['mul'](_0x3db3c0)['sub'](this);return _0x2927f1['toString'](_0x42fdce)+_0x58e88e['toInt']()['toString'](_0x42fdce);}return'-'+this['neg']()['toString'](_0x42fdce);}for(var _0x4282ac=_0x8e8451(_0x152b5d(_0x42fdce,0x6),this['unsigned']),_0x1343d6=this,_0x4d860a='';;){var _0x1d0327=_0x1343d6['div'](_0x4282ac),_0x299351=(_0x1343d6['sub'](_0x1d0327['mul'](_0x4282ac))['toInt']()>>>0x0)['toString'](_0x42fdce);if((_0x1343d6=_0x1d0327)['isZero']())return _0x299351+_0x4d860a;for(;_0x299351['length']<0x6;)_0x299351='0'+_0x299351;_0x4d860a=''+_0x299351+_0x4d860a;}},_0x48b9f5['getHighBits']=function(){return this['high'];},_0x48b9f5['getHighBitsUnsigned']=function(){return this['high']>>>0x0;},_0x48b9f5['getLowBits']=function(){return this['low'];},_0x48b9f5['getLowBitsUnsigned']=function(){return this['low']>>>0x0;},_0x48b9f5['getNumBitsAbs']=function(){if(this['isNegative']())return this['eq'](_0x7daf6b)?0x40:this['neg']()['getNumBitsAbs']();for(var _0x2dcd44=0x0!=this['high']?this['high']:this['low'],_0x1a0d21=0x1f;_0x1a0d21>0x0&&!(_0x2dcd44&0x1<<_0x1a0d21);_0x1a0d21--);return 0x0!=this['high']?_0x1a0d21+0x21:_0x1a0d21+0x1;},_0x48b9f5['isSafeInteger']=function(){var _0x5a2598=this['high']>>0x15;return!_0x5a2598||!this['unsigned']&&(-0x1===_0x5a2598&&!(0x0===this['low']&&-0x200000===this['high']));},_0x48b9f5['isZero']=function(){return 0x0===this['high']&&0x0===this['low'];},_0x48b9f5['eqz']=_0x48b9f5['isZero'],_0x48b9f5['isNegative']=function(){return!this['unsigned']&&this['high']<0x0;},_0x48b9f5['isPositive']=function(){return this['unsigned']||this['high']>=0x0;},_0x48b9f5['isOdd']=function(){return!(0x1&~this['low']);},_0x48b9f5['isEven']=function(){return!(0x1&this['low']);},_0x48b9f5['equals']=function(_0x21eb93){return _0x373710(_0x21eb93)||(_0x21eb93=_0x591f09(_0x21eb93)),(this['unsigned']===_0x21eb93['unsigned']||this['high']>>>0x1f!=0x1||_0x21eb93['high']>>>0x1f!=0x1)&&(this['high']===_0x21eb93['high']&&this['low']===_0x21eb93['low']);},_0x48b9f5['eq']=_0x48b9f5['equals'],_0x48b9f5['notEquals']=function(_0x3586bc){return!this['eq'](_0x3586bc);},_0x48b9f5['neq']=_0x48b9f5['notEquals'],_0x48b9f5['ne']=_0x48b9f5['notEquals'],_0x48b9f5['lessThan']=function(_0x100174){return this['comp'](_0x100174)<0x0;},_0x48b9f5['lt']=_0x48b9f5['lessThan'],_0x48b9f5['lessThanOrEqual']=function(_0x1099b8){return this['comp'](_0x1099b8)<=0x0;},_0x48b9f5['lte']=_0x48b9f5['lessThanOrEqual'],_0x48b9f5['le']=_0x48b9f5['lessThanOrEqual'],_0x48b9f5['greaterThan']=function(_0x23d6f8){return this['comp'](_0x23d6f8)>0x0;},_0x48b9f5['gt']=_0x48b9f5['greaterThan'],_0x48b9f5['greaterThanOrEqual']=function(_0x8ce6a5){return this['comp'](_0x8ce6a5)>=0x0;},_0x48b9f5['gte']=_0x48b9f5['greaterThanOrEqual'],_0x48b9f5['ge']=_0x48b9f5['greaterThanOrEqual'],_0x48b9f5['compare']=function(_0x1e78c8){if(_0x373710(_0x1e78c8)||(_0x1e78c8=_0x591f09(_0x1e78c8)),this['eq'](_0x1e78c8))return 0x0;var _0x71674f=this['isNegative'](),_0x531466=_0x1e78c8['isNegative']();return _0x71674f&&!_0x531466?-0x1:!_0x71674f&&_0x531466?0x1:this['unsigned']?_0x1e78c8['high']>>>0x0>this['high']>>>0x0||_0x1e78c8['high']===this['high']&&_0x1e78c8['low']>>>0x0>this['low']>>>0x0?-0x1:0x1:this['sub'](_0x1e78c8)['isNegative']()?-0x1:0x1;},_0x48b9f5['comp']=_0x48b9f5['compare'],_0x48b9f5['negate']=function(){return!this['unsigned']&&this['eq'](_0x7daf6b)?_0x7daf6b:this['not']()['add'](_0x22010b);},_0x48b9f5['neg']=_0x48b9f5['negate'],_0x48b9f5['add']=function(_0x5c5565){_0x373710(_0x5c5565)||(_0x5c5565=_0x591f09(_0x5c5565));var _0x50a293=this['high']>>>0x10,_0x15e42b=0xffff&this['high'],_0x5a12e2=this['low']>>>0x10,_0x263530=0xffff&this['low'],_0x29c313=_0x5c5565['high']>>>0x10,_0x5b4483=0xffff&_0x5c5565['high'],_0x3efcba=_0x5c5565['low']>>>0x10,_0x5d3b41=0x0,_0x2f5a2b=0x0,_0x178b60=0x0,_0x350a54=0x0;return _0x178b60+=(_0x350a54+=_0x263530+(0xffff&_0x5c5565['low']))>>>0x10,_0x2f5a2b+=(_0x178b60+=_0x5a12e2+_0x3efcba)>>>0x10,_0x5d3b41+=(_0x2f5a2b+=_0x15e42b+_0x5b4483)>>>0x10,_0x5d3b41+=_0x50a293+_0x29c313,_0x5737d1((_0x178b60&=0xffff)<<0x10|(_0x350a54&=0xffff),(_0x5d3b41&=0xffff)<<0x10|(_0x2f5a2b&=0xffff),this['unsigned']);},_0x48b9f5['subtract']=function(_0x3ddcf6){return _0x373710(_0x3ddcf6)||(_0x3ddcf6=_0x591f09(_0x3ddcf6)),this['add'](_0x3ddcf6['neg']());},_0x48b9f5['sub']=_0x48b9f5['subtract'],_0x48b9f5['multiply']=function(_0x100fb7){if(this['isZero']())return this;if(_0x373710(_0x100fb7)||(_0x100fb7=_0x591f09(_0x100fb7)),_0x377496)return _0x5737d1(_0x377496['mul'](this['low'],this['high'],_0x100fb7['low'],_0x100fb7['high']),_0x377496['get_high'](),this['unsigned']);if(_0x100fb7['isZero']())return this['unsigned']?_0x2e5756:_0x503f16;if(this['eq'](_0x7daf6b))return _0x100fb7['isOdd']()?_0x7daf6b:_0x503f16;if(_0x100fb7['eq'](_0x7daf6b))return this['isOdd']()?_0x7daf6b:_0x503f16;if(this['isNegative']())return _0x100fb7['isNegative']()?this['neg']()['mul'](_0x100fb7['neg']()):this['neg']()['mul'](_0x100fb7)['neg']();if(_0x100fb7['isNegative']())return this['mul'](_0x100fb7['neg']())['neg']();if(this['lt'](_0x209322)&&_0x100fb7['lt'](_0x209322))return _0x8e8451(this['toNumber']()*_0x100fb7['toNumber'](),this['unsigned']);var _0x47264f=this['high']>>>0x10,_0x5b06d7=0xffff&this['high'],_0x56fd7e=this['low']>>>0x10,_0x38a532=0xffff&this['low'],_0x2f6a13=_0x100fb7['high']>>>0x10,_0x13f20a=0xffff&_0x100fb7['high'],_0x2109cd=_0x100fb7['low']>>>0x10,_0x245a69=0xffff&_0x100fb7['low'],_0x36ed80=0x0,_0x201b01=0x0,_0x9f8a4d=0x0,_0x16073d=0x0;return _0x9f8a4d+=(_0x16073d+=_0x38a532*_0x245a69)>>>0x10,_0x201b01+=(_0x9f8a4d+=_0x56fd7e*_0x245a69)>>>0x10,_0x9f8a4d&=0xffff,_0x201b01+=(_0x9f8a4d+=_0x38a532*_0x2109cd)>>>0x10,_0x36ed80+=(_0x201b01+=_0x5b06d7*_0x245a69)>>>0x10,_0x201b01&=0xffff,_0x36ed80+=(_0x201b01+=_0x56fd7e*_0x2109cd)>>>0x10,_0x201b01&=0xffff,_0x36ed80+=(_0x201b01+=_0x38a532*_0x13f20a)>>>0x10,_0x36ed80+=_0x47264f*_0x245a69+_0x5b06d7*_0x2109cd+_0x56fd7e*_0x13f20a+_0x38a532*_0x2f6a13,_0x5737d1((_0x9f8a4d&=0xffff)<<0x10|(_0x16073d&=0xffff),(_0x36ed80&=0xffff)<<0x10|(_0x201b01&=0xffff),this['unsigned']);},_0x48b9f5['mul']=_0x48b9f5['multiply'],_0x48b9f5['divide']=function(_0x14b419){if(_0x373710(_0x14b419)||(_0x14b419=_0x591f09(_0x14b419)),_0x14b419['isZero']())throw Error('division\x20by\x20zero');if(_0x377496)return this['unsigned']||-0x80000000!==this['high']||-0x1!==_0x14b419['low']||-0x1!==_0x14b419['high']?_0x5737d1((this['unsigned']?_0x377496['div_u']:_0x377496['div_s'])(this['low'],this['high'],_0x14b419['low'],_0x14b419['high']),_0x377496['get_high'](),this['unsigned']):this;if(this['isZero']())return this['unsigned']?_0x2e5756:_0x503f16;var _0xcb3ed9,_0x5d25f9,_0x46296f;if(this['unsigned']){if(_0x14b419['unsigned']||(_0x14b419=_0x14b419['toUnsigned']()),_0x14b419['gt'](this))return _0x2e5756;if(_0x14b419['gt'](this['shru'](0x1)))return _0x1f0215;_0x46296f=_0x2e5756;}else{if(this['eq'](_0x7daf6b))return _0x14b419['eq'](_0x22010b)||_0x14b419['eq'](_0x3a1a16)?_0x7daf6b:_0x14b419['eq'](_0x7daf6b)?_0x22010b:(_0xcb3ed9=this['shr'](0x1)['div'](_0x14b419)['shl'](0x1))['eq'](_0x503f16)?_0x14b419['isNegative']()?_0x22010b:_0x3a1a16:(_0x5d25f9=this['sub'](_0x14b419['mul'](_0xcb3ed9)),_0x46296f=_0xcb3ed9['add'](_0x5d25f9['div'](_0x14b419)));if(_0x14b419['eq'](_0x7daf6b))return this['unsigned']?_0x2e5756:_0x503f16;if(this['isNegative']())return _0x14b419['isNegative']()?this['neg']()['div'](_0x14b419['neg']()):this['neg']()['div'](_0x14b419)['neg']();if(_0x14b419['isNegative']())return this['div'](_0x14b419['neg']())['neg']();_0x46296f=_0x503f16;}for(_0x5d25f9=this;_0x5d25f9['gte'](_0x14b419);){_0xcb3ed9=Math['max'](0x1,Math['floor'](_0x5d25f9['toNumber']()/_0x14b419['toNumber']()));for(var _0x27f304=Math['ceil'](Math['log'](_0xcb3ed9)/Math['LN2']),_0x12a4da=_0x27f304<=0x30?0x1:_0x152b5d(0x2,_0x27f304-0x30),_0x4403b0=_0x8e8451(_0xcb3ed9),_0x3ce3af=_0x4403b0['mul'](_0x14b419);_0x3ce3af['isNegative']()||_0x3ce3af['gt'](_0x5d25f9);)_0x3ce3af=(_0x4403b0=_0x8e8451(_0xcb3ed9-=_0x12a4da,this['unsigned']))['mul'](_0x14b419);_0x4403b0['isZero']()&&(_0x4403b0=_0x22010b),_0x46296f=_0x46296f['add'](_0x4403b0),_0x5d25f9=_0x5d25f9['sub'](_0x3ce3af);}return _0x46296f;},_0x48b9f5['div']=_0x48b9f5['divide'],_0x48b9f5['modulo']=function(_0xce9740){return _0x373710(_0xce9740)||(_0xce9740=_0x591f09(_0xce9740)),_0x377496?_0x5737d1((this['unsigned']?_0x377496['rem_u']:_0x377496['rem_s'])(this['low'],this['high'],_0xce9740['low'],_0xce9740['high']),_0x377496['get_high'](),this['unsigned']):this['sub'](this['div'](_0xce9740)['mul'](_0xce9740));},_0x48b9f5['mod']=_0x48b9f5['modulo'],_0x48b9f5['rem']=_0x48b9f5['modulo'],_0x48b9f5['not']=function(){return _0x5737d1(~this['low'],~this['high'],this['unsigned']);},_0x48b9f5['countLeadingZeros']=function(){return this['high']?Math['clz32'](this['high']):Math['clz32'](this['low'])+0x20;},_0x48b9f5['clz']=_0x48b9f5['countLeadingZeros'],_0x48b9f5['countTrailingZeros']=function(){return this['low']?_0x77e1de(this['low']):_0x77e1de(this['high'])+0x20;},_0x48b9f5['ctz']=_0x48b9f5['countTrailingZeros'],_0x48b9f5['and']=function(_0x34d707){return _0x373710(_0x34d707)||(_0x34d707=_0x591f09(_0x34d707)),_0x5737d1(this['low']&_0x34d707['low'],this['high']&_0x34d707['high'],this['unsigned']);},_0x48b9f5['or']=function(_0x115a56){return _0x373710(_0x115a56)||(_0x115a56=_0x591f09(_0x115a56)),_0x5737d1(this['low']|_0x115a56['low'],this['high']|_0x115a56['high'],this['unsigned']);},_0x48b9f5['xor']=function(_0x1e68d6){return _0x373710(_0x1e68d6)||(_0x1e68d6=_0x591f09(_0x1e68d6)),_0x5737d1(this['low']^_0x1e68d6['low'],this['high']^_0x1e68d6['high'],this['unsigned']);},_0x48b9f5['shiftLeft']=function(_0x312c1e){return _0x373710(_0x312c1e)&&(_0x312c1e=_0x312c1e['toInt']()),0x0==(_0x312c1e&=0x3f)?this:_0x312c1e<0x20?_0x5737d1(this['low']<<_0x312c1e,this['high']<<_0x312c1e|this['low']>>>0x20-_0x312c1e,this['unsigned']):_0x5737d1(0x0,this['low']<<_0x312c1e-0x20,this['unsigned']);},_0x48b9f5['shl']=_0x48b9f5['shiftLeft'],_0x48b9f5['shiftRight']=function(_0x2b4e34){return _0x373710(_0x2b4e34)&&(_0x2b4e34=_0x2b4e34['toInt']()),0x0==(_0x2b4e34&=0x3f)?this:_0x2b4e34<0x20?_0x5737d1(this['low']>>>_0x2b4e34|this['high']<<0x20-_0x2b4e34,this['high']>>_0x2b4e34,this['unsigned']):_0x5737d1(this['high']>>_0x2b4e34-0x20,this['high']>=0x0?0x0:-0x1,this['unsigned']);},_0x48b9f5['shr']=_0x48b9f5['shiftRight'],_0x48b9f5['shiftRightUnsigned']=function(_0x1d9846){return _0x373710(_0x1d9846)&&(_0x1d9846=_0x1d9846['toInt']()),0x0==(_0x1d9846&=0x3f)?this:_0x1d9846<0x20?_0x5737d1(this['low']>>>_0x1d9846|this['high']<<0x20-_0x1d9846,this['high']>>>_0x1d9846,this['unsigned']):_0x5737d1(0x20===_0x1d9846?this['high']:this['high']>>>_0x1d9846-0x20,0x0,this['unsigned']);},_0x48b9f5['shru']=_0x48b9f5['shiftRightUnsigned'],_0x48b9f5['shr_u']=_0x48b9f5['shiftRightUnsigned'],_0x48b9f5['rotateLeft']=function(_0x131dd6){var _0x49a666;return _0x373710(_0x131dd6)&&(_0x131dd6=_0x131dd6['toInt']()),0x0==(_0x131dd6&=0x3f)?this:0x20===_0x131dd6?_0x5737d1(this['high'],this['low'],this['unsigned']):_0x131dd6<0x20?(_0x49a666=0x20-_0x131dd6,_0x5737d1(this['low']<<_0x131dd6|this['high']>>>_0x49a666,this['high']<<_0x131dd6|this['low']>>>_0x49a666,this['unsigned'])):(_0x49a666=0x20-(_0x131dd6-=0x20),_0x5737d1(this['high']<<_0x131dd6|this['low']>>>_0x49a666,this['low']<<_0x131dd6|this['high']>>>_0x49a666,this['unsigned']));},_0x48b9f5['rotl']=_0x48b9f5['rotateLeft'],_0x48b9f5['rotateRight']=function(_0x2fe196){var _0x2285b7;return _0x373710(_0x2fe196)&&(_0x2fe196=_0x2fe196['toInt']()),0x0==(_0x2fe196&=0x3f)?this:0x20===_0x2fe196?_0x5737d1(this['high'],this['low'],this['unsigned']):_0x2fe196<0x20?(_0x2285b7=0x20-_0x2fe196,_0x5737d1(this['high']<<_0x2285b7|this['low']>>>_0x2fe196,this['low']<<_0x2285b7|this['high']>>>_0x2fe196,this['unsigned'])):(_0x2285b7=0x20-(_0x2fe196-=0x20),_0x5737d1(this['low']<<_0x2285b7|this['high']>>>_0x2fe196,this['high']<<_0x2285b7|this['low']>>>_0x2fe196,this['unsigned']));},_0x48b9f5['rotr']=_0x48b9f5['rotateRight'],_0x48b9f5['toSigned']=function(){return this['unsigned']?_0x5737d1(this['low'],this['high'],!0x1):this;},_0x48b9f5['toUnsigned']=function(){return this['unsigned']?this:_0x5737d1(this['low'],this['high'],!0x0);},_0x48b9f5['toBytes']=function(_0x4a946c){return _0x4a946c?this['toBytesLE']():this['toBytesBE']();},_0x48b9f5['toBytesLE']=function(){var _0x165689=this['high'],_0x5da55e=this['low'];return[0xff&_0x5da55e,_0x5da55e>>>0x8&0xff,_0x5da55e>>>0x10&0xff,_0x5da55e>>>0x18,0xff&_0x165689,_0x165689>>>0x8&0xff,_0x165689>>>0x10&0xff,_0x165689>>>0x18];},_0x48b9f5['toBytesBE']=function(){var _0x57a82c=this['high'],_0x3ec04b=this['low'];return[_0x57a82c>>>0x18,_0x57a82c>>>0x10&0xff,_0x57a82c>>>0x8&0xff,0xff&_0x57a82c,_0x3ec04b>>>0x18,_0x3ec04b>>>0x10&0xff,_0x3ec04b>>>0x8&0xff,0xff&_0x3ec04b];},_0x3e5c43['fromBytes']=function(_0x297b92,_0x18bcdb,_0x3359ee){return _0x3359ee?_0x3e5c43['fromBytesLE'](_0x297b92,_0x18bcdb):_0x3e5c43['fromBytesBE'](_0x297b92,_0x18bcdb);},_0x3e5c43['fromBytesLE']=function(_0xca7e30,_0x1103fd){return new _0x3e5c43(_0xca7e30[0x0]|_0xca7e30[0x1]<<0x8|_0xca7e30[0x2]<<0x10|_0xca7e30[0x3]<<0x18,_0xca7e30[0x4]|_0xca7e30[0x5]<<0x8|_0xca7e30[0x6]<<0x10|_0xca7e30[0x7]<<0x18,_0x1103fd);},_0x3e5c43['fromBytesBE']=function(_0xbeb96e,_0x48a4cc){return new _0x3e5c43(_0xbeb96e[0x4]<<0x18|_0xbeb96e[0x5]<<0x10|_0xbeb96e[0x6]<<0x8|_0xbeb96e[0x7],_0xbeb96e[0x0]<<0x18|_0xbeb96e[0x1]<<0x10|_0xbeb96e[0x2]<<0x8|_0xbeb96e[0x3],_0x48a4cc);},'function'==typeof BigInt&&(_0x3e5c43['fromBigInt']=function(_0x2b0232,_0x47f014){return _0x5737d1(Number(BigInt['asIntN'](0x20,_0x2b0232)),Number(BigInt['asIntN'](0x20,_0x2b0232>>BigInt(0x20))),_0x47f014);},_0x3e5c43['fromValue']=function(_0x23987b,_0x42c9b4){return'bigint'==typeof _0x23987b?_0x3e5c43['fromBigInt'](_0x23987b,_0x42c9b4):_0x591f09(_0x23987b,_0x42c9b4);},_0x48b9f5['toBigInt']=function(){var _0x1df226=BigInt(this['low']>>>0x0);return BigInt(this['unsigned']?this['high']>>>0x0:this['high'])<<BigInt(0x20)|_0x1df226;}),_0x590a88['default']=_0x3e5c43;});}),_0x512336=_0x583040(_0x137e70=>{var _0x3ca85c=_0x137e70;function _0x3f8e56(_0x412b13){return'__proto__'===_0x412b13||'prototype'===_0x412b13||'constructor'===_0x412b13;}function _0x38cc74(_0x1d9642){var _0x1a40de='boolean'==typeof arguments[arguments['length']-0x1],_0x1ccfd6=_0x1a40de?arguments['length']-0x1:arguments['length'];_0x1a40de=_0x1a40de&&arguments[arguments['length']-0x1];for(var _0x286d2d=0x1;_0x286d2d<_0x1ccfd6;++_0x286d2d){var _0x11d9ad=arguments[_0x286d2d];if(_0x11d9ad){for(var _0x1aedbb=Object['keys'](_0x11d9ad),_0x2b7c87=0x0;_0x2b7c87<_0x1aedbb['length'];++_0x2b7c87)_0x3f8e56(_0x1aedbb[_0x2b7c87])||void 0x0!==_0x1d9642[_0x1aedbb[_0x2b7c87]]&&_0x1a40de||(_0x1d9642[_0x1aedbb[_0x2b7c87]]=_0x11d9ad[_0x1aedbb[_0x2b7c87]]);}}return _0x1d9642;}function _0x1d3f5d(_0x486325){function _0x790ae3(_0x5e395b,_0x5db780){if(!(this instanceof _0x790ae3))return new _0x790ae3(_0x5e395b,_0x5db780);Object['defineProperty'](this,'message',{'get':function(){return _0x5e395b;}}),Error['captureStackTrace']?Error['captureStackTrace'](this,_0x790ae3):Object['defineProperty'](this,'stack',{'value':new Error()['stack']||''}),_0x5db780&&_0x38cc74(this,_0x5db780);}return _0x790ae3['prototype']=Object['create'](Error['prototype'],{'constructor':{'value':_0x790ae3,'writable':!0x0,'enumerable':!0x1,'configurable':!0x0},'name':{'get':function(){return _0x486325;},'set':void 0x0,'enumerable':!0x1,'configurable':!0x0},'toString':{'value':function(){return this['name']+':\x20'+this['message'];},'writable':!0x0,'enumerable':!0x1,'configurable':!0x0}}),_0x790ae3;}_0x3ca85c['asPromise']=_0x167b4d(),_0x3ca85c['base64']=_0x24f3c2(),_0x3ca85c['EventEmitter']=_0x50a849(),_0x3ca85c['float']=_0x25fa69(),_0x3ca85c['utf8']=_0x2260b1(),_0x3ca85c['pool']=_0x10706b(),_0x3ca85c['LongBits']=_0x6bb4db(),_0x3ca85c['isUnsafeProperty']=_0x3f8e56,_0x3ca85c['isNode']=Boolean('undefined'!=typeof global&&global&&global['process']&&global['process']['versions']&&global['process']['versions']['node']),_0x3ca85c['global']=_0x3ca85c['isNode']&&global||'undefined'!=typeof window&&window||'undefined'!=typeof self&&self||_0x137e70,_0x3ca85c['emptyArray']=Object['freeze']?Object['freeze']([]):[],_0x3ca85c['emptyObject']=Object['freeze']?Object['freeze']({}):{},_0x3ca85c['isInteger']=Number['isInteger']||function(_0xb29b1b){return'number'==typeof _0xb29b1b&&isFinite(_0xb29b1b)&&Math['floor'](_0xb29b1b)===_0xb29b1b;},_0x3ca85c['isString']=function(_0x3d8ced){return'string'==typeof _0x3d8ced||_0x3d8ced instanceof String;},_0x3ca85c['isObject']=function(_0x2eb313){return _0x2eb313&&'object'==typeof _0x2eb313;},_0x3ca85c['isset']=_0x3ca85c['isSet']=function(_0x50640b,_0x442500){var _0xf9543a=_0x50640b[_0x442500];return!(null==_0xf9543a||!Object['hasOwnProperty']['call'](_0x50640b,_0x442500))&&('object'!=typeof _0xf9543a||(Array['isArray'](_0xf9543a)?_0xf9543a['length']:Object['keys'](_0xf9543a)['length'])>0x0);},_0x3ca85c['Buffer']=(function(){try{var _0x390031=_0x3ca85c['global']['Buffer'];return _0x390031['prototype']['utf8Write']?_0x390031:null;}catch(_0x3ce6fb){return null;}}()),_0x3ca85c['_Buffer_from']=null,_0x3ca85c['_Buffer_allocUnsafe']=null,_0x3ca85c['newBuffer']=function(_0x36f96d){return'number'==typeof _0x36f96d?_0x3ca85c['Buffer']?_0x3ca85c['_Buffer_allocUnsafe'](_0x36f96d):new _0x3ca85c['Array'](_0x36f96d):_0x3ca85c['Buffer']?_0x3ca85c['_Buffer_from'](_0x36f96d):'undefined'==typeof Uint8Array?_0x36f96d:new Uint8Array(_0x36f96d);},_0x3ca85c['Array']='undefined'!=typeof Uint8Array?Uint8Array:Array,_0x3ca85c['Long']=_0x3ca85c['global']['dcodeIO']&&_0x3ca85c['global']['dcodeIO']['Long']||_0x3ca85c['global']['Long']||(function(){try{var _0x2c0545=_0x33e61d();return _0x2c0545&&_0x2c0545['isLong']?_0x2c0545:null;}catch(_0x132a43){return null;}}()),_0x3ca85c['key2Re']=/^true|false|0|1$/,_0x3ca85c['key32Re']=/^-?(?:0|[1-9][0-9]*)$/,_0x3ca85c['key64Re']=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,_0x3ca85c['longToHash']=function(_0xc97717){return _0xc97717?_0x3ca85c['LongBits']['from'](_0xc97717)['toHash']():_0x3ca85c['LongBits']['zeroHash'];},_0x3ca85c['longFromHash']=function(_0x416e69,_0x2f5e13){var _0x1ce0ef=_0x3ca85c['LongBits']['fromHash'](_0x416e69);return _0x3ca85c['Long']?_0x3ca85c['Long']['fromBits'](_0x1ce0ef['lo'],_0x1ce0ef['hi'],_0x2f5e13):_0x1ce0ef['toNumber'](Boolean(_0x2f5e13));},_0x3ca85c['merge']=_0x38cc74,_0x3ca85c['nestingLimit']=0x20,_0x3ca85c['recursionLimit']=0x64,_0x3ca85c['makeProp']=function(_0x15fd17,_0x3c4030){Object['defineProperty'](_0x15fd17,_0x3c4030,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0});},_0x3ca85c['lcFirst']=function(_0x174c96){return _0x174c96['charAt'](0x0)['toLowerCase']()+_0x174c96['substring'](0x1);},_0x3ca85c['newError']=_0x1d3f5d,_0x3ca85c['ProtocolError']=_0x1d3f5d('ProtocolError'),_0x3ca85c['oneOfGetter']=function(_0x5790c9){for(var _0xb4dff5={},_0x56c283=0x0;_0x56c283<_0x5790c9['length'];++_0x56c283)_0xb4dff5[_0x5790c9[_0x56c283]]=0x1;return function(){for(var _0x168812=Object['keys'](this),_0x58967d=_0x168812['length']-0x1;_0x58967d>-0x1;--_0x58967d)if(0x1===_0xb4dff5[_0x168812[_0x58967d]]&&void 0x0!==this[_0x168812[_0x58967d]]&&null!==this[_0x168812[_0x58967d]])return _0x168812[_0x58967d];};},_0x3ca85c['oneOfSetter']=function(_0xc5cf1a){return function(_0x9d3e4f){for(var _0x2aefb6=0x0;_0x2aefb6<_0xc5cf1a['length'];++_0x2aefb6)_0xc5cf1a[_0x2aefb6]!==_0x9d3e4f&&delete this[_0xc5cf1a[_0x2aefb6]];};},_0x3ca85c['toJSONOptions']={'longs':String,'enums':String,'bytes':String,'json':!0x0},_0x3ca85c['_configure']=function(){var _0xa66a18=_0x3ca85c['Buffer'];_0xa66a18?(_0x3ca85c['_Buffer_from']=_0xa66a18['from']!==Uint8Array['from']&&_0xa66a18['from']||function(_0x841ca0,_0x2e3150){return new _0xa66a18(_0x841ca0,_0x2e3150);},_0x3ca85c['_Buffer_allocUnsafe']=_0xa66a18['allocUnsafe']||function(_0xa0a9fa){return new _0xa66a18(_0xa0a9fa);}):_0x3ca85c['_Buffer_from']=_0x3ca85c['_Buffer_allocUnsafe']=null;};}),_0x1848c6=_0x583040((_0x19458f,_0x2fa9ff)=>{_0x2fa9ff['exports']=_0x54e87c;var _0x2fd26c,_0x254633=_0x512336(),_0x3bb220=_0x254633['LongBits'],_0x283b6b=_0x254633['base64'],_0x3ec36d=_0x254633['utf8'];function _0x31cf9e(_0x3a7e3a,_0x5148bf,_0x56dbf9){this['fn']=_0x3a7e3a,this['len']=_0x5148bf,this['next']=void 0x0,this['val']=_0x56dbf9;}function _0x551a81(){}function _0x5b0257(_0xc70447){this['head']=_0xc70447['head'],this['tail']=_0xc70447['tail'],this['len']=_0xc70447['len'],this['next']=_0xc70447['states'];}function _0x54e87c(){this['len']=0x0,this['head']=new _0x31cf9e(_0x551a81,0x0,0x0),this['tail']=this['head'],this['states']=null;}var _0x12c6c6=function(){return _0x254633['Buffer']?function(){return(_0x54e87c['create']=function(){return new _0x2fd26c();})();}:function(){return new _0x54e87c();};};function _0x37a75b(_0x36a637,_0x495097,_0x23cd5b){_0x495097[_0x23cd5b]=0xff&_0x36a637;}function _0x5f56c2(_0x2c8191,_0x4e188d){this['len']=_0x2c8191,this['next']=void 0x0,this['val']=_0x4e188d;}function _0x1a0ac1(_0x33786c,_0xb86968,_0x1579f7){for(var _0xa9eb76=_0x33786c['lo'],_0x88a7d1=_0x33786c['hi'];_0x88a7d1;)_0xb86968[_0x1579f7++]=0x7f&_0xa9eb76|0x80,_0xa9eb76=(_0xa9eb76>>>0x7|_0x88a7d1<<0x19)>>>0x0,_0x88a7d1>>>=0x7;for(;_0xa9eb76>0x7f;)_0xb86968[_0x1579f7++]=0x7f&_0xa9eb76|0x80,_0xa9eb76>>>=0x7;_0xb86968[_0x1579f7++]=_0xa9eb76;}function _0x139347(_0x4f5f7d,_0x54050b,_0x38931c){_0x54050b[_0x38931c]=0xff&_0x4f5f7d,_0x54050b[_0x38931c+0x1]=_0x4f5f7d>>>0x8&0xff,_0x54050b[_0x38931c+0x2]=_0x4f5f7d>>>0x10&0xff,_0x54050b[_0x38931c+0x3]=_0x4f5f7d>>>0x18;}_0x54e87c['create']=_0x12c6c6(),_0x54e87c['alloc']=function(_0x2e185c){return new _0x254633['Array'](_0x2e185c);},_0x254633['Array']!==Array&&(_0x54e87c['alloc']=_0x254633['pool'](_0x54e87c['alloc'],_0x254633['Array']['prototype']['subarray'])),_0x54e87c['prototype']['_push']=function(_0xb95d6b,_0x4d7915,_0x3fe180){return this['tail']=this['tail']['next']=new _0x31cf9e(_0xb95d6b,_0x4d7915,_0x3fe180),this['len']+=_0x4d7915,this;},_0x5f56c2['prototype']=Object['create'](_0x31cf9e['prototype']),_0x5f56c2['prototype']['fn']=function(_0x1586a0,_0x343240,_0x36cde6){for(;_0x1586a0>0x7f;)_0x343240[_0x36cde6++]=0x7f&_0x1586a0|0x80,_0x1586a0>>>=0x7;_0x343240[_0x36cde6]=_0x1586a0;},_0x54e87c['prototype']['uint32']=function(_0x26ecfb){return this['len']+=(this['tail']=this['tail']['next']=new _0x5f56c2((_0x26ecfb>>>=0x0)<0x80?0x1:_0x26ecfb<0x4000?0x2:_0x26ecfb<0x200000?0x3:_0x26ecfb<0x10000000?0x4:0x5,_0x26ecfb))['len'],this;},_0x54e87c['prototype']['int32']=function(_0x314509){return(_0x314509|=0x0)<0x0?this['_push'](_0x1a0ac1,0xa,_0x3bb220['fromNumber'](_0x314509)):this['uint32'](_0x314509);},_0x54e87c['prototype']['sint32']=function(_0xffe57c){return this['uint32']((_0xffe57c<<0x1^_0xffe57c>>0x1f)>>>0x0);},_0x54e87c['prototype']['uint64']=function(_0x5453ad){var _0xb9275f=_0x3bb220['from'](_0x5453ad);return this['_push'](_0x1a0ac1,_0xb9275f['length'](),_0xb9275f);},_0x54e87c['prototype']['int64']=_0x54e87c['prototype']['uint64'],_0x54e87c['prototype']['sint64']=function(_0x2fc47e){var _0x548914=_0x3bb220['from'](_0x2fc47e)['zzEncode']();return this['_push'](_0x1a0ac1,_0x548914['length'](),_0x548914);},_0x54e87c['prototype']['bool']=function(_0x1272b0){return this['_push'](_0x37a75b,0x1,_0x1272b0?0x1:0x0);},_0x54e87c['prototype']['fixed32']=function(_0x5de92f){return this['_push'](_0x139347,0x4,_0x5de92f>>>0x0);},_0x54e87c['prototype']['sfixed32']=_0x54e87c['prototype']['fixed32'],_0x54e87c['prototype']['fixed64']=function(_0x21f20b){var _0x1316bc=_0x3bb220['from'](_0x21f20b);return this['_push'](_0x139347,0x4,_0x1316bc['lo'])['_push'](_0x139347,0x4,_0x1316bc['hi']);},_0x54e87c['prototype']['sfixed64']=_0x54e87c['prototype']['fixed64'],_0x54e87c['prototype']['float']=function(_0x2dfa19){return this['_push'](_0x254633['float']['writeFloatLE'],0x4,_0x2dfa19);},_0x54e87c['prototype']['double']=function(_0x16925e){return this['_push'](_0x254633['float']['writeDoubleLE'],0x8,_0x16925e);};var _0x2f56c6=_0x254633['Array']['prototype']['set']?function(_0x509213,_0x4b2895,_0x977e38){_0x4b2895['set'](_0x509213,_0x977e38);}:function(_0x4e2f2e,_0x3a0562,_0x115d8f){for(var _0x2c978d=0x0;_0x2c978d<_0x4e2f2e['length'];++_0x2c978d)_0x3a0562[_0x115d8f+_0x2c978d]=_0x4e2f2e[_0x2c978d];};_0x54e87c['prototype']['bytes']=function(_0x15e41d){var _0x34f5c0=_0x15e41d['length']>>>0x0;if(!_0x34f5c0)return this['_push'](_0x37a75b,0x1,0x0);if(_0x254633['isString'](_0x15e41d)){var _0x28cd17=_0x54e87c['alloc'](_0x34f5c0=_0x283b6b['length'](_0x15e41d));_0x283b6b['decode'](_0x15e41d,_0x28cd17,0x0),_0x15e41d=_0x28cd17;}return this['uint32'](_0x34f5c0)['_push'](_0x2f56c6,_0x34f5c0,_0x15e41d);},_0x54e87c['prototype']['string']=function(_0x2b0901){var _0x5f0a93=_0x3ec36d['length'](_0x2b0901);return _0x5f0a93?this['uint32'](_0x5f0a93)['_push'](_0x3ec36d['write'],_0x5f0a93,_0x2b0901):this['_push'](_0x37a75b,0x1,0x0);},_0x54e87c['prototype']['fork']=function(){return this['states']=new _0x5b0257(this),this['head']=this['tail']=new _0x31cf9e(_0x551a81,0x0,0x0),this['len']=0x0,this;},_0x54e87c['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 _0x31cf9e(_0x551a81,0x0,0x0),this['len']=0x0),this;},_0x54e87c['prototype']['ldelim']=function(){var _0x4032a9=this['head'],_0x5352b8=this['tail'],_0xed3b57=this['len'];return this['reset']()['uint32'](_0xed3b57),_0xed3b57&&(this['tail']['next']=_0x4032a9['next'],this['tail']=_0x5352b8,this['len']+=_0xed3b57),this;},_0x54e87c['prototype']['finish']=function(){for(var _0x1f6635=this['head']['next'],_0x563364=this['constructor']['alloc'](this['len']),_0x834049=0x0;_0x1f6635;)_0x1f6635['fn'](_0x1f6635['val'],_0x563364,_0x834049),_0x834049+=_0x1f6635['len'],_0x1f6635=_0x1f6635['next'];return _0x563364;},_0x54e87c['_configure']=function(_0x55c371){_0x2fd26c=_0x55c371,_0x54e87c['create']=_0x12c6c6(),_0x2fd26c['_configure']();};}),_0x457909=_0x583040((_0xac116c,_0x3876dc)=>{_0x3876dc['exports']=_0x3f3e8f;var _0x4f57e4=_0x1848c6();(_0x3f3e8f['prototype']=Object['create'](_0x4f57e4['prototype']))['constructor']=_0x3f3e8f;var _0x2345a4=_0x512336();function _0x3f3e8f(){_0x4f57e4['call'](this);}function _0x50a86c(_0x4d2e3c,_0x5edabe,_0x216b2e){_0x4d2e3c['length']<0x28?_0x2345a4['utf8']['write'](_0x4d2e3c,_0x5edabe,_0x216b2e):_0x5edabe['utf8Write']?_0x5edabe['utf8Write'](_0x4d2e3c,_0x216b2e):_0x5edabe['write'](_0x4d2e3c,_0x216b2e);}_0x3f3e8f['_configure']=function(){_0x3f3e8f['alloc']=_0x2345a4['_Buffer_allocUnsafe'],_0x3f3e8f['writeBytesBuffer']=_0x2345a4['Buffer']&&_0x2345a4['Buffer']['prototype']instanceof Uint8Array&&'set'===_0x2345a4['Buffer']['prototype']['set']['name']?function(_0x5bd73f,_0x22fa91,_0xbcbd18){_0x22fa91['set'](_0x5bd73f,_0xbcbd18);}:function(_0x54dc87,_0x854d51,_0x30cf78){if(_0x54dc87['copy'])_0x54dc87['copy'](_0x854d51,_0x30cf78,0x0,_0x54dc87['length']);else{for(var _0xe0b796=0x0;_0xe0b796<_0x54dc87['length'];)_0x854d51[_0x30cf78++]=_0x54dc87[_0xe0b796++];}};},_0x3f3e8f['prototype']['bytes']=function(_0xf6bb72){_0x2345a4['isString'](_0xf6bb72)&&(_0xf6bb72=_0x2345a4['_Buffer_from'](_0xf6bb72,'base64'));var _0x47937b=_0xf6bb72['length']>>>0x0;return this['uint32'](_0x47937b),_0x47937b&&this['_push'](_0x3f3e8f['writeBytesBuffer'],_0x47937b,_0xf6bb72),this;},_0x3f3e8f['prototype']['string']=function(_0x1a2bbc){var _0x4dc84c=_0x2345a4['Buffer']['byteLength'](_0x1a2bbc);return this['uint32'](_0x4dc84c),_0x4dc84c&&this['_push'](_0x50a86c,_0x4dc84c,_0x1a2bbc),this;},_0x3f3e8f['_configure']();}),_0xeb28fb=_0x583040((_0x3a8a97,_0x2d492f)=>{_0x2d492f['exports']=_0x2647af;var _0xf3d98d,_0x3b724a=_0x512336(),_0x5c1aeb=_0x3b724a['LongBits'],_0x1f81b3=_0x3b724a['utf8'];function _0x1d7f03(_0x4fc427,_0xbf0a8b){return RangeError('index\x20out\x20of\x20range:\x20'+_0x4fc427['pos']+'\x20+\x20'+(_0xbf0a8b||0x1)+'\x20>\x20'+_0x4fc427['len']);}function _0x2647af(_0x15912f){this['buf']=_0x15912f,this['pos']=0x0,this['len']=_0x15912f['length'];}var _0x11a59d='undefined'!=typeof Uint8Array?function(_0x1f7f4f){if(_0x1f7f4f instanceof Uint8Array||Array['isArray'](_0x1f7f4f))return new _0x2647af(_0x1f7f4f);throw Error('illegal\x20buffer');}:function(_0x2e1375){if(Array['isArray'](_0x2e1375))return new _0x2647af(_0x2e1375);throw Error('illegal\x20buffer');},_0x30cf06=function(){return _0x3b724a['Buffer']?function(_0x351edd){return(_0x2647af['create']=function(_0x10577c){return _0x3b724a['Buffer']['isBuffer'](_0x10577c)?new _0xf3d98d(_0x10577c):_0x11a59d(_0x10577c);})(_0x351edd);}:_0x11a59d;};function _0x2b0ad9(){var _0x1bab6e=new _0x5c1aeb(0x0,0x0),_0x300e72=0x0;if(!(this['len']-this['pos']>0x4)){for(;_0x300e72<0x3;++_0x300e72){if(this['pos']>=this['len'])throw _0x1d7f03(this);if(_0x1bab6e['lo']=(_0x1bab6e['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x300e72)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1bab6e;}return _0x1bab6e['lo']=(_0x1bab6e['lo']|(0x7f&this['buf'][this['pos']++])<<0x7*_0x300e72)>>>0x0,_0x1bab6e;}for(;_0x300e72<0x4;++_0x300e72)if(_0x1bab6e['lo']=(_0x1bab6e['lo']|(0x7f&this['buf'][this['pos']])<<0x7*_0x300e72)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1bab6e;if(_0x1bab6e['lo']=(_0x1bab6e['lo']|(0x7f&this['buf'][this['pos']])<<0x1c)>>>0x0,_0x1bab6e['hi']=(_0x1bab6e['hi']|(0x7f&this['buf'][this['pos']])>>0x4)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1bab6e;if(_0x300e72=0x0,this['len']-this['pos']>0x4){for(;_0x300e72<0x5;++_0x300e72)if(_0x1bab6e['hi']=(_0x1bab6e['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x300e72+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1bab6e;}else for(;_0x300e72<0x5;++_0x300e72){if(this['pos']>=this['len'])throw _0x1d7f03(this);if(_0x1bab6e['hi']=(_0x1bab6e['hi']|(0x7f&this['buf'][this['pos']])<<0x7*_0x300e72+0x3)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x1bab6e;}throw Error('invalid\x20varint\x20encoding');}function _0x197f72(_0x44b04f,_0xea851){return(_0x44b04f[_0xea851-0x4]|_0x44b04f[_0xea851-0x3]<<0x8|_0x44b04f[_0xea851-0x2]<<0x10|_0x44b04f[_0xea851-0x1]<<0x18)>>>0x0;}function _0x37e14e(){if(this['pos']+0x8>this['len'])throw _0x1d7f03(this,0x8);return new _0x5c1aeb(_0x197f72(this['buf'],this['pos']+=0x4),_0x197f72(this['buf'],this['pos']+=0x4));}_0x2647af['create']=_0x30cf06(),_0x2647af['prototype']['_slice']=_0x3b724a['Array']['prototype']['subarray']||_0x3b724a['Array']['prototype']['slice'],_0x2647af['prototype']['uint32']=(function(){var _0x4ed6a4=0xffffffff;return function(){if(_0x4ed6a4=(0x7f&this['buf'][this['pos']])>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4ed6a4;if(_0x4ed6a4=(_0x4ed6a4|(0x7f&this['buf'][this['pos']])<<0x7)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4ed6a4;if(_0x4ed6a4=(_0x4ed6a4|(0x7f&this['buf'][this['pos']])<<0xe)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4ed6a4;if(_0x4ed6a4=(_0x4ed6a4|(0x7f&this['buf'][this['pos']])<<0x15)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4ed6a4;if(_0x4ed6a4=(_0x4ed6a4|(0xf&this['buf'][this['pos']])<<0x1c)>>>0x0,this['buf'][this['pos']++]<0x80)return _0x4ed6a4;if((this['pos']+=0x5)>this['len'])throw this['pos']=this['len'],_0x1d7f03(this,0xa);return _0x4ed6a4;};}()),_0x2647af['prototype']['int32']=function(){return 0x0|this['uint32']();},_0x2647af['prototype']['sint32']=function(){var _0x4e639a=this['uint32']();return _0x4e639a>>>0x1^-(0x1&_0x4e639a);},_0x2647af['prototype']['bool']=function(){return 0x0!==this['uint32']();},_0x2647af['prototype']['fixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x1d7f03(this,0x4);return _0x197f72(this['buf'],this['pos']+=0x4);},_0x2647af['prototype']['sfixed32']=function(){if(this['pos']+0x4>this['len'])throw _0x1d7f03(this,0x4);return 0x0|_0x197f72(this['buf'],this['pos']+=0x4);},_0x2647af['prototype']['float']=function(){if(this['pos']+0x4>this['len'])throw _0x1d7f03(this,0x4);var _0x2e9f9c=_0x3b724a['float']['readFloatLE'](this['buf'],this['pos']);return this['pos']+=0x4,_0x2e9f9c;},_0x2647af['prototype']['double']=function(){if(this['pos']+0x8>this['len'])throw _0x1d7f03(this,0x4);var _0x5f1a2e=_0x3b724a['float']['readDoubleLE'](this['buf'],this['pos']);return this['pos']+=0x8,_0x5f1a2e;},_0x2647af['prototype']['bytes']=function(){var _0x3aa53f=this['uint32'](),_0x49d1bf=this['pos'],_0x21e134=this['pos']+_0x3aa53f;if(_0x21e134>this['len'])throw _0x1d7f03(this,_0x3aa53f);if(this['pos']+=_0x3aa53f,Array['isArray'](this['buf']))return this['buf']['slice'](_0x49d1bf,_0x21e134);if(_0x49d1bf===_0x21e134){var _0x1d6f4d=_0x3b724a['Buffer'];return _0x1d6f4d?_0x1d6f4d['alloc'](0x0):new this['buf']['constructor'](0x0);}return this['_slice']['call'](this['buf'],_0x49d1bf,_0x21e134);},_0x2647af['prototype']['string']=function(){var _0x4e38c5=this['bytes']();return _0x1f81b3['read'](_0x4e38c5,0x0,_0x4e38c5['length']);},_0x2647af['prototype']['skip']=function(_0x27ffa9){if('number'==typeof _0x27ffa9){if(this['pos']+_0x27ffa9>this['len'])throw _0x1d7f03(this,_0x27ffa9);this['pos']+=_0x27ffa9;}else do{if(this['pos']>=this['len'])throw _0x1d7f03(this);}while(0x80&this['buf'][this['pos']++]);return this;},_0x2647af['recursionLimit']=_0x3b724a['recursionLimit'],_0x2647af['prototype']['skipType']=function(_0xb7903,_0x550345){if(void 0x0===_0x550345&&(_0x550345=0x0),_0x550345>_0x2647af['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');switch(_0xb7903){case 0x0:this['skip']();break;case 0x1:this['skip'](0x8);break;case 0x2:this['skip'](this['uint32']());break;case 0x3:for(;0x4!=(_0xb7903=0x7&this['uint32']());)this['skipType'](_0xb7903,_0x550345+0x1);break;case 0x5:this['skip'](0x4);break;default:throw Error('invalid\x20wire\x20type\x20'+_0xb7903+'\x20at\x20offset\x20'+this['pos']);}return this;},_0x2647af['_configure']=function(_0x45d3bd){_0xf3d98d=_0x45d3bd,_0x2647af['create']=_0x30cf06(),_0xf3d98d['_configure']();var _0x18669b=_0x3b724a['Long']?'toLong':'toNumber';_0x3b724a['merge'](_0x2647af['prototype'],{'int64':function(){return _0x2b0ad9['call'](this)[_0x18669b](!0x1);},'uint64':function(){return _0x2b0ad9['call'](this)[_0x18669b](!0x0);},'sint64':function(){return _0x2b0ad9['call'](this)['zzDecode']()[_0x18669b](!0x1);},'fixed64':function(){return _0x37e14e['call'](this)[_0x18669b](!0x0);},'sfixed64':function(){return _0x37e14e['call'](this)[_0x18669b](!0x1);}});};}),_0x2dbcff=_0x583040((_0x19ff4f,_0x1d0e02)=>{_0x1d0e02['exports']=_0x941ab8;var _0x366c46=_0xeb28fb();(_0x941ab8['prototype']=Object['create'](_0x366c46['prototype']))['constructor']=_0x941ab8;var _0x1fa0af=_0x512336();function _0x941ab8(_0x1299ec){_0x366c46['call'](this,_0x1299ec);}_0x941ab8['_configure']=function(){_0x1fa0af['Buffer']&&(_0x941ab8['prototype']['_slice']=_0x1fa0af['Buffer']['prototype']['slice']);},_0x941ab8['prototype']['string']=function(){var _0x161a10=this['uint32']();return this['buf']['utf8Slice']?this['buf']['utf8Slice'](this['pos'],this['pos']=Math['min'](this['pos']+_0x161a10,this['len'])):this['buf']['toString']('utf-8',this['pos'],this['pos']=Math['min'](this['pos']+_0x161a10,this['len']));},_0x941ab8['_configure']();}),_0x27fb28=_0x583040((_0x24f88d,_0x51a3dd)=>{_0x51a3dd['exports']=_0x34a35c;var _0x20a3d0=_0x512336();function _0x34a35c(_0x1eaab5,_0x3b767b,_0x3d7caf){if('function'!=typeof _0x1eaab5)throw TypeError('rpcImpl\x20must\x20be\x20a\x20function');_0x20a3d0['EventEmitter']['call'](this),this['rpcImpl']=_0x1eaab5,this['requestDelimited']=Boolean(_0x3b767b),this['responseDelimited']=Boolean(_0x3d7caf);}(_0x34a35c['prototype']=Object['create'](_0x20a3d0['EventEmitter']['prototype']))['constructor']=_0x34a35c,_0x34a35c['prototype']['rpcCall']=function _0x433bd0(_0x554c69,_0x2e84f2,_0x2e7ae5,_0x4c2d3d,_0x4ce0c2){if(!_0x4c2d3d)throw TypeError('request\x20must\x20be\x20specified');var _0x269f9a=this;if(!_0x4ce0c2)return _0x20a3d0['asPromise'](_0x433bd0,_0x269f9a,_0x554c69,_0x2e84f2,_0x2e7ae5,_0x4c2d3d);if(_0x269f9a['rpcImpl'])try{return _0x269f9a['rpcImpl'](_0x554c69,_0x2e84f2[_0x269f9a['requestDelimited']?'encodeDelimited':'encode'](_0x4c2d3d)['finish'](),function(_0x10cbea,_0xe1bb36){if(_0x10cbea)return _0x269f9a['emit']('error',_0x10cbea,_0x554c69),_0x4ce0c2(_0x10cbea);if(null!==_0xe1bb36){if(!(_0xe1bb36 instanceof _0x2e7ae5))try{_0xe1bb36=_0x2e7ae5[_0x269f9a['responseDelimited']?'decodeDelimited':'decode'](_0xe1bb36);}catch(_0x3d629b){return _0x269f9a['emit']('error',_0x3d629b,_0x554c69),_0x4ce0c2(_0x3d629b);}return _0x269f9a['emit']('data',_0xe1bb36,_0x554c69),_0x4ce0c2(null,_0xe1bb36);}_0x269f9a['end'](!0x0);});}catch(_0x207195){return _0x269f9a['emit']('error',_0x207195,_0x554c69),void setTimeout(function(){_0x4ce0c2(_0x207195);},0x0);}else setTimeout(function(){_0x4ce0c2(Error('already\x20ended'));},0x0);},_0x34a35c['prototype']['end']=function(_0x3add31){return this['rpcImpl']&&(_0x3add31||this['rpcImpl'](null,null,null),this['rpcImpl']=null,this['emit']('end')['off']()),this;};}),_0x38be40=_0x583040(_0x21eaef=>{_0x21eaef['Service']=_0x27fb28();}),_0x14896c=_0x583040((_0x294621,_0x3b059e)=>{_0x3b059e['exports']=Object['create'](null);}),_0x5998ee=_0x583040(_0x28a826=>{var _0x2e8279=_0x28a826;function _0x1df5fb(){_0x2e8279['util']['_configure'](),_0x2e8279['Writer']['_configure'](_0x2e8279['BufferWriter']),_0x2e8279['Reader']['_configure'](_0x2e8279['BufferReader']);}_0x2e8279['build']='minimal',_0x2e8279['Writer']=_0x1848c6(),_0x2e8279['BufferWriter']=_0x457909(),_0x2e8279['Reader']=_0xeb28fb(),_0x2e8279['BufferReader']=_0x2dbcff(),_0x2e8279['util']=_0x512336(),_0x2e8279['rpc']=_0x38be40(),_0x2e8279['roots']=_0x14896c(),_0x2e8279['configure']=_0x1df5fb,_0x1df5fb();}),_0x987a89=_0x583040((_0x556a9b,_0x54638d)=>{_0x54638d['exports']=_0x5998ee();});const _0xd3e628=Object['create'](null);_0xd3e628['open']='0',_0xd3e628['close']='1',_0xd3e628['ping']='2',_0xd3e628['pong']='3',_0xd3e628['message']='4',_0xd3e628['upgrade']='5',_0xd3e628['noop']='6';const _0x248b15=Object['create'](null);Object['keys'](_0xd3e628)['forEach'](_0x1dc350=>{_0x248b15[_0xd3e628[_0x1dc350]]=_0x1dc350;});const _0x32da43={'type':'error','data':'parser\x20error'},_0x13ea17='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===Object['prototype']['toString']['call'](Blob),_0x1059ef='function'==typeof ArrayBuffer,_0x27f9d9=_0x29cf2d=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x29cf2d):_0x29cf2d&&_0x29cf2d['buffer']instanceof ArrayBuffer,_0x572397=({type:_0xaf4199,data:_0x7edcd3},_0x51216d,_0x1adc50)=>_0x13ea17&&_0x7edcd3 instanceof Blob?_0x51216d?_0x1adc50(_0x7edcd3):_0x320cbc(_0x7edcd3,_0x1adc50):_0x1059ef&&(_0x7edcd3 instanceof ArrayBuffer||_0x27f9d9(_0x7edcd3))?_0x51216d?_0x1adc50(_0x7edcd3):_0x320cbc(new Blob([_0x7edcd3]),_0x1adc50):_0x1adc50(_0xd3e628[_0xaf4199]+(_0x7edcd3||'')),_0x320cbc=(_0xe40bf3,_0x392258)=>{const _0x25b4c6=new FileReader();return _0x25b4c6['onload']=function(){const _0x45d9ed=_0x25b4c6['result']['split'](',')[0x1];_0x392258('b'+(_0x45d9ed||''));},_0x25b4c6['readAsDataURL'](_0xe40bf3);};function _0x55c241(_0x577bc6){return _0x577bc6 instanceof Uint8Array?_0x577bc6:_0x577bc6 instanceof ArrayBuffer?new Uint8Array(_0x577bc6):new Uint8Array(_0x577bc6['buffer'],_0x577bc6['byteOffset'],_0x577bc6['byteLength']);}let _0x4c0a0d;const tv='undefined'==typeof Uint8Array?[]:new Uint8Array(0x100);for(let _0x5b36e3=0x0;_0x5b36e3<0x40;_0x5b36e3++)tv['ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'['charCodeAt'](_0x5b36e3)]=_0x5b36e3;const _0x306be4='function'==typeof ArrayBuffer,_0x18f806=(_0x1f0a19,_0x11b030)=>{if('string'!=typeof _0x1f0a19)return{'type':'message','data':_0x2741d3(_0x1f0a19,_0x11b030)};const _0x398ad8=_0x1f0a19['charAt'](0x0);return'b'===_0x398ad8?{'type':'message','data':_0x2d5f60(_0x1f0a19['substring'](0x1),_0x11b030)}:_0x248b15[_0x398ad8]?_0x1f0a19['length']>0x1?{'type':_0x248b15[_0x398ad8],'data':_0x1f0a19['substring'](0x1)}:{'type':_0x248b15[_0x398ad8]}:_0x32da43;},_0x2d5f60=(_0x58eba4,_0x1c7aad)=>_0x306be4?_0x2741d3((_0x2f0e81=>{let _0x1e8251,_0x458d97,_0x1c3df4,_0x49588d,_0x48526f,_0x358113=0.75*_0x2f0e81['length'],_0x53f132=_0x2f0e81['length'],_0x3f8d11=0x0;'='===_0x2f0e81[_0x2f0e81['length']-0x1]&&(_0x358113--,'='===_0x2f0e81[_0x2f0e81['length']-0x2]&&_0x358113--);const _0x161dd6=new ArrayBuffer(_0x358113),_0xc32612=new Uint8Array(_0x161dd6);for(_0x1e8251=0x0;_0x1e8251<_0x53f132;_0x1e8251+=0x4)_0x458d97=tv[_0x2f0e81['charCodeAt'](_0x1e8251)],_0x1c3df4=tv[_0x2f0e81['charCodeAt'](_0x1e8251+0x1)],_0x49588d=tv[_0x2f0e81['charCodeAt'](_0x1e8251+0x2)],_0x48526f=tv[_0x2f0e81['charCodeAt'](_0x1e8251+0x3)],_0xc32612[_0x3f8d11++]=_0x458d97<<0x2|_0x1c3df4>>0x4,_0xc32612[_0x3f8d11++]=(0xf&_0x1c3df4)<<0x4|_0x49588d>>0x2,_0xc32612[_0x3f8d11++]=(0x3&_0x49588d)<<0x6|0x3f&_0x48526f;return _0x161dd6;})(_0x58eba4),_0x1c7aad):{'base64':!0x0,'data':_0x58eba4},_0x2741d3=(_0x458abd,_0x4abf0c)=>'blob'===_0x4abf0c?_0x458abd instanceof Blob?_0x458abd:new Blob([_0x458abd]):_0x458abd instanceof ArrayBuffer?_0x458abd:_0x458abd['buffer'],_0x138af4=String['fromCharCode'](0x1e);function _0x459c94(){return new TransformStream({'transform'(_0x2bfef6,_0x3e35b4){!function(_0x1a26b6,_0x1e374a){_0x13ea17&&_0x1a26b6['data']instanceof Blob?_0x1a26b6['data']['arrayBuffer']()['then'](_0x55c241)['then'](_0x1e374a):_0x1059ef&&(_0x1a26b6['data']instanceof ArrayBuffer||_0x27f9d9(_0x1a26b6['data']))?_0x1e374a(_0x55c241(_0x1a26b6['data'])):_0x572397(_0x1a26b6,!0x1,_0x462616=>{_0x4c0a0d||(_0x4c0a0d=new TextEncoder()),_0x1e374a(_0x4c0a0d['encode'](_0x462616));});}(_0x2bfef6,_0x421e12=>{const _0x12f750=_0x421e12['length'];let _0x29c23f;if(_0x12f750<0x7e)_0x29c23f=new Uint8Array(0x1),new DataView(_0x29c23f['buffer'])['setUint8'](0x0,_0x12f750);else{if(_0x12f750<0x10000){_0x29c23f=new Uint8Array(0x3);const _0x411173=new DataView(_0x29c23f['buffer']);_0x411173['setUint8'](0x0,0x7e),_0x411173['setUint16'](0x1,_0x12f750);}else{_0x29c23f=new Uint8Array(0x9);const _0x3303ed=new DataView(_0x29c23f['buffer']);_0x3303ed['setUint8'](0x0,0x7f),_0x3303ed['setBigUint64'](0x1,BigInt(_0x12f750));}}_0x2bfef6['data']&&'string'!=typeof _0x2bfef6['data']&&(_0x29c23f[0x0]|=0x80),_0x3e35b4['enqueue'](_0x29c23f),_0x3e35b4['enqueue'](_0x421e12);});}});}let _0x335a38;function _0x5a9409(_0x24a746){return _0x24a746['reduce']((_0x42ec09,_0x4d9433)=>_0x42ec09+_0x4d9433['length'],0x0);}function _0x479761(_0x202ca2,_0x444016){if(_0x202ca2[0x0]['length']===_0x444016)return _0x202ca2['shift']();const _0x5e0b5b=new Uint8Array(_0x444016);let _0x53c102=0x0;for(let _0x224d7b=0x0;_0x224d7b<_0x444016;_0x224d7b++)_0x5e0b5b[_0x224d7b]=_0x202ca2[0x0][_0x53c102++],_0x53c102===_0x202ca2[0x0]['length']&&(_0x202ca2['shift'](),_0x53c102=0x0);return _0x202ca2['length']&&_0x53c102<_0x202ca2[0x0]['length']&&(_0x202ca2[0x0]=_0x202ca2[0x0]['slice'](_0x53c102)),_0x5e0b5b;}function _0x5646f9(_0x38cd43){if(_0x38cd43)return function(_0x4c5efa){for(var _0x391df9 in _0x5646f9['prototype'])_0x4c5efa[_0x391df9]=_0x5646f9['prototype'][_0x391df9];return _0x4c5efa;}(_0x38cd43);}_0x5646f9['prototype']['on']=_0x5646f9['prototype']['addEventListener']=function(_0x3d6758,_0xbd63e3){return this['_callbacks']=this['_callbacks']||{},(this['_callbacks']['$'+_0x3d6758]=this['_callbacks']['$'+_0x3d6758]||[])['push'](_0xbd63e3),this;},_0x5646f9['prototype']['once']=function(_0xd41e63,_0x259d9a){function _0x233b74(){this['off'](_0xd41e63,_0x233b74),_0x259d9a['apply'](this,arguments);}return _0x233b74['fn']=_0x259d9a,this['on'](_0xd41e63,_0x233b74),this;},_0x5646f9['prototype']['off']=_0x5646f9['prototype']['removeListener']=_0x5646f9['prototype']['removeAllListeners']=_0x5646f9['prototype']['removeEventListener']=function(_0x3e865c,_0x9d7252){if(this['_callbacks']=this['_callbacks']||{},0x0==arguments['length'])return this['_callbacks']={},this;var _0xb2c1ce,_0x2b6dd5=this['_callbacks']['$'+_0x3e865c];if(!_0x2b6dd5)return this;if(0x1==arguments['length'])return delete this['_callbacks']['$'+_0x3e865c],this;for(var _0x560ae3=0x0;_0x560ae3<_0x2b6dd5['length'];_0x560ae3++)if((_0xb2c1ce=_0x2b6dd5[_0x560ae3])===_0x9d7252||_0xb2c1ce['fn']===_0x9d7252){_0x2b6dd5['splice'](_0x560ae3,0x1);break;}return 0x0===_0x2b6dd5['length']&&delete this['_callbacks']['$'+_0x3e865c],this;},_0x5646f9['prototype']['emit']=function(_0x38e0bc){this['_callbacks']=this['_callbacks']||{};for(var _0x55e8de=new Array(arguments['length']-0x1),_0x4034bb=this['_callbacks']['$'+_0x38e0bc],_0x47adaa=0x1;_0x47adaa<arguments['length'];_0x47adaa++)_0x55e8de[_0x47adaa-0x1]=arguments[_0x47adaa];if(_0x4034bb){_0x47adaa=0x0;for(var _0x37a27d=(_0x4034bb=_0x4034bb['slice'](0x0))['length'];_0x47adaa<_0x37a27d;++_0x47adaa)_0x4034bb[_0x47adaa]['apply'](this,_0x55e8de);}return this;},_0x5646f9['prototype']['emitReserved']=_0x5646f9['prototype']['emit'],_0x5646f9['prototype']['listeners']=function(_0x1fb24e){return this['_callbacks']=this['_callbacks']||{},this['_callbacks']['$'+_0x1fb24e]||[];},_0x5646f9['prototype']['hasListeners']=function(_0x359890){return!!this['listeners'](_0x359890)['length'];};const _0x15c649='undefined'!=typeof self?self:'undefined'!=typeof window?window:Function('return\x20this')();function _0x13fc1e(_0xfeb5db,..._0x509599){return _0x509599['reduce']((_0x2e4db5,_0x2dc2d9)=>(_0xfeb5db['hasOwnProperty'](_0x2dc2d9)&&(_0x2e4db5[_0x2dc2d9]=_0xfeb5db[_0x2dc2d9]),_0x2e4db5),{});}const _0x80c718=_0x15c649['setTimeout'],_0x1fe243=_0x15c649['clearTimeout'];function _0x5518a8(_0x2e64af,_0x2a0e81){_0x2a0e81['useNativeTimers']?(_0x2e64af['setTimeoutFn']=_0x80c718['bind'](_0x15c649),_0x2e64af['clearTimeoutFn']=_0x1fe243['bind'](_0x15c649)):(_0x2e64af['setTimeoutFn']=_0x15c649['setTimeout']['bind'](_0x15c649),_0x2e64af['clearTimeoutFn']=_0x15c649['clearTimeout']['bind'](_0x15c649));}function _0x111258(_0x50b70e){return'string'==typeof _0x50b70e?function(_0x584733){let _0x8b7dde=0x0,_0x47a6c4=0x0;for(let _0x197c4b=0x0,_0x3418e6=_0x584733['length'];_0x197c4b<_0x3418e6;_0x197c4b++)_0x8b7dde=_0x584733['charCodeAt'](_0x197c4b),_0x8b7dde<0x80?_0x47a6c4+=0x1:_0x8b7dde<0x800?_0x47a6c4+=0x2:_0x8b7dde<0xd800||_0x8b7dde>=0xe000?_0x47a6c4+=0x3:(_0x197c4b++,_0x47a6c4+=0x4);return _0x47a6c4;}(_0x50b70e):Math['ceil'](1.33*(_0x50b70e['byteLength']||_0x50b70e['size']));}var _0x303696=class extends Error{constructor(_0x2939a3,_0x39c533,_0x58fc32){super(_0x2939a3),this['description']=_0x39c533,this['context']=_0x58fc32,this['type']='TransportError';}},_0x86a554=class extends _0x5646f9{constructor(_0x25ba8e){super(),this['writable']=!0x1,_0x5518a8(this,_0x25ba8e),this['opts']=_0x25ba8e,this['query']=_0x25ba8e['query'],this['socket']=_0x25ba8e['socket'];}['onError'](_0x5f551e,_0x46231a,_0x246df5){return super['emitReserved']('error',new _0x303696(_0x5f551e,_0x46231a,_0x246df5)),this;}['open'](){return this['readyState']='opening',this['doOpen'](),this;}['close'](){return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['doClose'](),this['onClose']()),this;}['send'](_0x16b4fd){'open'===this['readyState']&&this['write'](_0x16b4fd);}['onOpen'](){this['readyState']='open',this['writable']=!0x0,super['emitReserved']('open');}['onData'](_0x51e9c2){const _0x4ce964=_0x18f806(_0x51e9c2,this['socket']['binaryType']);this['onPacket'](_0x4ce964);}['onPacket'](_0x21fe81){super['emitReserved']('packet',_0x21fe81);}['onClose'](_0x4feb0e){this['readyState']='closed',super['emitReserved']('close',_0x4feb0e);}['pause'](_0x26ce69){}['createUri'](_0x3463f6,_0x5a6c76={}){return _0x3463f6+'://'+this['_hostname']()+this['_port']()+this['opts']['path']+this['_query'](_0x5a6c76);}['_hostname'](){const _0x9537d1=this['opts']['hostname'];return-0x1===_0x9537d1['indexOf'](':')?_0x9537d1:'['+_0x9537d1+']';}['_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'](_0x38233a){const _0x59352b=function(_0x16848d){let _0x321fe3='';for(let _0x316088 in _0x16848d)_0x16848d['hasOwnProperty'](_0x316088)&&(_0x321fe3['length']&&(_0x321fe3+='&'),_0x321fe3+=encodeURIComponent(_0x316088)+'='+encodeURIComponent(_0x16848d[_0x316088]));return _0x321fe3;}(_0x38233a);return _0x59352b['length']?'?'+_0x59352b:'';}};const _0x74f340='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'['split'](''),_0x2c5715={};let _0x3beecf,_0x1a4bf1=0x0,_0x2e389e=0x0;function _0x56c8e1(_0x378d51){let _0x300721='';do{_0x300721=_0x74f340[_0x378d51%0x40]+_0x300721,_0x378d51=Math['floor'](_0x378d51/0x40);}while(_0x378d51>0x0);return _0x300721;}function _0x35d569(){const _0x1daf40=_0x56c8e1(+new Date());return _0x1daf40!==_0x3beecf?(_0x1a4bf1=0x0,_0x3beecf=_0x1daf40):_0x1daf40+'.'+_0x56c8e1(_0x1a4bf1++);}for(;_0x2e389e<0x40;_0x2e389e++)_0x2c5715[_0x74f340[_0x2e389e]]=_0x2e389e;let _0x286ed8=!0x1;try{_0x286ed8='undefined'!=typeof XMLHttpRequest&&'withCredentials'in new XMLHttpRequest();}catch(_0x364d4b){}const _0x55f539=_0x286ed8;function _0x58e4d8(_0x2508dd){const _0x48e751=_0x2508dd['xdomain'];try{if('undefined'!=typeof XMLHttpRequest&&(!_0x48e751||_0x55f539))return new XMLHttpRequest();}catch(_0x449956){}if(!_0x48e751)try{return new _0x15c649[(['Active']['concat']('Object')['join']('X'))]('Microsoft.XMLHTTP');}catch(_0x1b8c58){}}function _0x2920a4(){}const _0x4757db=null!=new _0x58e4d8({'xdomain':!0x1})['responseType'];var _0x25ca8c=class Request extends _0x5646f9{constructor(_0x337489,_0x2f1231){super(),_0x5518a8(this,_0x2f1231),this['opts']=_0x2f1231,this['method']=_0x2f1231['method']||'GET',this['uri']=_0x337489,this['data']=void 0x0!==_0x2f1231['data']?_0x2f1231['data']:null,this['create']();}['create'](){var _0x36f1bb;const _0x4dcab2=_0x13fc1e(this['opts'],'agent','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','autoUnref');_0x4dcab2['xdomain']=!!this['opts']['xd'];const _0xc0b678=this['xhr']=new _0x58e4d8(_0x4dcab2);try{_0xc0b678['open'](this['method'],this['uri'],!0x0);try{if(this['opts']['extraHeaders']){_0xc0b678['setDisableHeaderCheck']&&_0xc0b678['setDisableHeaderCheck'](!0x0);for(let _0x3b12ef in this['opts']['extraHeaders'])this['opts']['extraHeaders']['hasOwnProperty'](_0x3b12ef)&&_0xc0b678['setRequestHeader'](_0x3b12ef,this['opts']['extraHeaders'][_0x3b12ef]);}}catch(_0x5acdec){}if('POST'===this['method'])try{_0xc0b678['setRequestHeader']('Content-type','text/plain;charset=UTF-8');}catch(_0x58d4a9){}try{_0xc0b678['setRequestHeader']('Accept','*/*');}catch(_0x45b59f){}null===(_0x36f1bb=this['opts']['cookieJar'])||void 0x0===_0x36f1bb||_0x36f1bb['addCookies'](_0xc0b678),'withCredentials'in _0xc0b678&&(_0xc0b678['withCredentials']=this['opts']['withCredentials']),this['opts']['requestTimeout']&&(_0xc0b678['timeout']=this['opts']['requestTimeout']),_0xc0b678['onreadystatechange']=()=>{var _0x376516;0x3===_0xc0b678['readyState']&&(null===(_0x376516=this['opts']['cookieJar'])||void 0x0===_0x376516||_0x376516['parseCookies'](_0xc0b678)),0x4===_0xc0b678['readyState']&&(0xc8===_0xc0b678['status']||0x4c7===_0xc0b678['status']?this['onLoad']():this['setTimeoutFn'](()=>{this['onError']('number'==typeof _0xc0b678['status']?_0xc0b678['status']:0x0);},0x0));},_0xc0b678['send'](this['data']);}catch(_0x2b57fa){return void this['setTimeoutFn'](()=>{this['onError'](_0x2b57fa);},0x0);}'undefined'!=typeof document&&(this['index']=Request['requestsCount']++,Request['requests'][this['index']]=this);}['onError'](_0x2db0b5){this['emitReserved']('error',_0x2db0b5,this['xhr']),this['cleanup'](!0x0);}['cleanup'](_0x30d9e8){if(void 0x0!==this['xhr']&&null!==this['xhr']){if(this['xhr']['onreadystatechange']=_0x2920a4,_0x30d9e8)try{this['xhr']['abort']();}catch(_0x263501){}'undefined'!=typeof document&&delete Request['requests'][this['index']],this['xhr']=null;}}['onLoad'](){const _0x1e471d=this['xhr']['responseText'];null!==_0x1e471d&&(this['emitReserved']('data',_0x1e471d),this['emitReserved']('success'),this['cleanup']());}['abort'](){this['cleanup']();}};if(_0x25ca8c['requestsCount']=0x0,_0x25ca8c['requests']={},'undefined'!=typeof document){if('function'==typeof attachEvent)attachEvent('onunload',_0x131946);else'function'==typeof addEventListener&&addEventListener('onpagehide'in _0x15c649?'pagehide':'unload',_0x131946,!0x1);}function _0x131946(){for(let _0x56ffd8 in _0x25ca8c['requests'])_0x25ca8c['requests']['hasOwnProperty'](_0x56ffd8)&&_0x25ca8c['requests'][_0x56ffd8]['abort']();}const _0x21a0ce='function'==typeof Promise&&'function'==typeof Promise['resolve']?_0x516e9f=>Promise['resolve']()['then'](_0x516e9f):(_0x35b2ac,_0x317265)=>_0x317265(_0x35b2ac,0x0),_0x526d25=_0x15c649['WebSocket']||_0x15c649['MozWebSocket'],_0x2647e1='undefined'!=typeof navigator&&'string'==typeof navigator['product']&&'reactnative'===navigator['product']['toLowerCase'](),_0x4ea06a={'websocket':class extends _0x86a554{constructor(_0x7ee16d){super(_0x7ee16d),this['supportsBinary']=!_0x7ee16d['forceBase64'];}get['name'](){return'websocket';}['doOpen'](){if(!this['check']())return;const _0x4b175c=this['uri'](),_0x54ad2f=this['opts']['protocols'],_0x1a138e=_0x2647e1?{}:_0x13fc1e(this['opts'],'agent','perMessageDeflate','pfx','key','passphrase','cert','ca','ciphers','rejectUnauthorized','localAddress','protocolVersion','origin','maxPayload','family','checkServerIdentity');this['opts']['extraHeaders']&&(_0x1a138e['headers']=this['opts']['extraHeaders']);try{this['ws']=_0x2647e1?new _0x526d25(_0x4b175c,_0x54ad2f,_0x1a138e):_0x54ad2f?new _0x526d25(_0x4b175c,_0x54ad2f):new _0x526d25(_0x4b175c);}catch(_0x183268){return this['emitReserved']('error',_0x183268);}this['ws']['binaryType']=this['socket']['binaryType'],this['addEventListeners']();}['addEventListeners'](){this['ws']['onopen']=()=>{this['opts']['autoUnref']&&this['ws']['_socket']['unref'](),this['onOpen']();},this['ws']['onclose']=_0x4d3599=>this['onClose']({'description':'websocket\x20connection\x20closed','context':_0x4d3599}),this['ws']['onmessage']=_0x1944b9=>this['onData'](_0x1944b9['data']),this['ws']['onerror']=_0x456b76=>this['onError']('websocket\x20error',_0x456b76);}['write'](_0x2af73c){this['writable']=!0x1;for(let _0x42d55e=0x0;_0x42d55e<_0x2af73c['length'];_0x42d55e++){const _0x5ef808=_0x2af73c[_0x42d55e],_0x5f51ef=_0x42d55e===_0x2af73c['length']-0x1;_0x572397(_0x5ef808,this['supportsBinary'],_0x42d6c8=>{try{this['ws']['send'](_0x42d6c8);}catch(_0x5d6d72){}_0x5f51ef&&_0x21a0ce(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){void 0x0!==this['ws']&&(this['ws']['close'](),this['ws']=null);}['uri'](){const _0x36b694=this['opts']['secure']?'wss':'ws',_0x319664=this['query']||{};return this['opts']['timestampRequests']&&(_0x319664[this['opts']['timestampParam']]=_0x35d569()),this['supportsBinary']||(_0x319664['b64']=0x1),this['createUri'](_0x36b694,_0x319664);}['check'](){return!!_0x526d25;}},'webtransport':class extends _0x86a554{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'](_0x6dbb1d=>{this['onError']('webtransport\x20error',_0x6dbb1d);}),this['transport']['ready']['then'](()=>{this['transport']['createBidirectionalStream']()['then'](_0x2d1df8=>{const _0x4d4c91=function(_0x13688a,_0x4b7091){_0x335a38||(_0x335a38=new TextDecoder());const _0x40308f=[];let _0x295e50=0x0,_0x53264a=-0x1,_0x2f22c5=!0x1;return new TransformStream({'transform'(_0x41a272,_0x3d78fc){for(_0x40308f['push'](_0x41a272);;){if(0x0===_0x295e50){if(_0x5a9409(_0x40308f)<0x1)break;const _0x105a51=_0x479761(_0x40308f,0x1);_0x2f22c5=!(0x80&~_0x105a51[0x0]),_0x53264a=0x7f&_0x105a51[0x0],_0x295e50=_0x53264a<0x7e?0x3:0x7e===_0x53264a?0x1:0x2;}else{if(0x1===_0x295e50){if(_0x5a9409(_0x40308f)<0x2)break;const _0x360e73=_0x479761(_0x40308f,0x2);_0x53264a=new DataView(_0x360e73['buffer'],_0x360e73['byteOffset'],_0x360e73['length'])['getUint16'](0x0),_0x295e50=0x3;}else{if(0x2===_0x295e50){if(_0x5a9409(_0x40308f)<0x8)break;const _0x48dee3=_0x479761(_0x40308f,0x8),_0x597453=new DataView(_0x48dee3['buffer'],_0x48dee3['byteOffset'],_0x48dee3['length']),_0x2f28ed=_0x597453['getUint32'](0x0);if(_0x2f28ed>Math['pow'](0x2,0x15)-0x1){_0x3d78fc['enqueue'](_0x32da43);break;}_0x53264a=_0x2f28ed*Math['pow'](0x2,0x20)+_0x597453['getUint32'](0x4),_0x295e50=0x3;}else{if(_0x5a9409(_0x40308f)<_0x53264a)break;const _0x57a3bb=_0x479761(_0x40308f,_0x53264a);_0x3d78fc['enqueue'](_0x18f806(_0x2f22c5?_0x57a3bb:_0x335a38['decode'](_0x57a3bb),_0x4b7091)),_0x295e50=0x0;}}}if(0x0===_0x53264a||_0x53264a>_0x13688a){_0x3d78fc['enqueue'](_0x32da43);break;}}}});}(Number['MAX_SAFE_INTEGER'],this['socket']['binaryType']),_0x4c3e5d=_0x2d1df8['readable']['pipeThrough'](_0x4d4c91)['getReader'](),_0x536196=_0x459c94();_0x536196['readable']['pipeTo'](_0x2d1df8['writable']),this['writer']=_0x536196['writable']['getWriter']();const _0x171561=()=>{_0x4c3e5d['read']()['then'](({done:_0x2d4050,value:_0x3b6085})=>{_0x2d4050||(this['onPacket'](_0x3b6085),_0x171561());})['catch'](_0x44862e=>{});};_0x171561();const _0x2116e6={'type':'open'};this['query']['sid']&&(_0x2116e6['data']='{\x22sid\x22:\x22'+this['query']['sid']+'\x22}'),this['writer']['write'](_0x2116e6)['then'](()=>this['onOpen']());});}));}['write'](_0xf6bb52){this['writable']=!0x1;for(let _0x1ac520=0x0;_0x1ac520<_0xf6bb52['length'];_0x1ac520++){const _0x53b953=_0xf6bb52[_0x1ac520],_0x4b2d19=_0x1ac520===_0xf6bb52['length']-0x1;this['writer']['write'](_0x53b953)['then'](()=>{_0x4b2d19&&_0x21a0ce(()=>{this['writable']=!0x0,this['emitReserved']('drain');},this['setTimeoutFn']);});}}['doClose'](){var _0x2c0120;null===(_0x2c0120=this['transport'])||void 0x0===_0x2c0120||_0x2c0120['close']();}},'polling':class extends _0x86a554{constructor(_0x1b4a2e){if(super(_0x1b4a2e),this['polling']=!0x1,'undefined'!=typeof location){const _0x59eb11='https:'===location['protocol'];let _0x39cca5=location['port'];_0x39cca5||(_0x39cca5=_0x59eb11?'443':'80'),this['xd']='undefined'!=typeof location&&_0x1b4a2e['hostname']!==location['hostname']||_0x39cca5!==_0x1b4a2e['port'];}const _0x4d403a=_0x1b4a2e&&_0x1b4a2e['forceBase64'];this['supportsBinary']=_0x4757db&&!_0x4d403a,this['opts']['withCredentials']&&(this['cookieJar']=void 0x0);}get['name'](){return'polling';}['doOpen'](){this['poll']();}['pause'](_0x333dcf){this['readyState']='pausing';const _0x436937=()=>{this['readyState']='paused',_0x333dcf();};if(this['polling']||!this['writable']){let _0x40a7f4=0x0;this['polling']&&(_0x40a7f4++,this['once']('pollComplete',function(){--_0x40a7f4||_0x436937();})),this['writable']||(_0x40a7f4++,this['once']('drain',function(){--_0x40a7f4||_0x436937();}));}else _0x436937();}['poll'](){this['polling']=!0x0,this['doPoll'](),this['emitReserved']('poll');}['onData'](_0x2217c9){((_0x56778d,_0x3aedbb)=>{const _0x42fdd4=_0x56778d['split'](_0x138af4),_0x43e383=[];for(let _0x290489=0x0;_0x290489<_0x42fdd4['length'];_0x290489++){const _0x47b7ce=_0x18f806(_0x42fdd4[_0x290489],_0x3aedbb);if(_0x43e383['push'](_0x47b7ce),'error'===_0x47b7ce['type'])break;}return _0x43e383;})(_0x2217c9,this['socket']['binaryType'])['forEach'](_0x2dc7b9=>{if('opening'===this['readyState']&&'open'===_0x2dc7b9['type']&&this['onOpen'](),'close'===_0x2dc7b9['type'])return this['onClose']({'description':'transport\x20closed\x20by\x20the\x20server'}),!0x1;this['onPacket'](_0x2dc7b9);}),'closed'!==this['readyState']&&(this['polling']=!0x1,this['emitReserved']('pollComplete'),'open'===this['readyState']&&this['poll']());}['doClose'](){const _0x55c32d=()=>{this['write']([{'type':'close'}]);};'open'===this['readyState']?_0x55c32d():this['once']('open',_0x55c32d);}['write'](_0x1d2754){this['writable']=!0x1,((_0x316d9c,_0x43a1f5)=>{const _0x20d198=_0x316d9c['length'],_0x301103=new Array(_0x20d198);let _0x2603e8=0x0;_0x316d9c['forEach']((_0x143565,_0x612eb3)=>{_0x572397(_0x143565,!0x1,_0x27e5e9=>{_0x301103[_0x612eb3]=_0x27e5e9,++_0x2603e8===_0x20d198&&_0x43a1f5(_0x301103['join'](_0x138af4));});});})(_0x1d2754,_0x547b3c=>{this['doWrite'](_0x547b3c,()=>{this['writable']=!0x0,this['emitReserved']('drain');});});}['uri'](){const _0x49f256=this['opts']['secure']?'https':'http',_0x5e76fa=this['query']||{};return!0x1!==this['opts']['timestampRequests']&&(_0x5e76fa[this['opts']['timestampParam']]=_0x35d569()),this['supportsBinary']||_0x5e76fa['sid']||(_0x5e76fa['b64']=0x1),this['createUri'](_0x49f256,_0x5e76fa);}['request'](_0x36b23b={}){return Object['assign'](_0x36b23b,{'xd':this['xd'],'cookieJar':this['cookieJar']},this['opts']),new _0x25ca8c(this['uri'](),_0x36b23b);}['doWrite'](_0x4f0ab2,_0x1ce06b){const _0x260300=this['request']({'method':'POST','data':_0x4f0ab2});_0x260300['on']('success',_0x1ce06b),_0x260300['on']('error',(_0x2fca24,_0x3e54c0)=>{this['onError']('xhr\x20post\x20error',_0x2fca24,_0x3e54c0);});}['doPoll'](){const _0x264823=this['request']();_0x264823['on']('data',this['onData']['bind'](this)),_0x264823['on']('error',(_0x5d04a2,_0x3c26dd)=>{this['onError']('xhr\x20poll\x20error',_0x5d04a2,_0x3c26dd);}),this['pollXhr']=_0x264823;}}},_0x50b635=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,_0x4aec7d=['source','protocol','authority','userInfo','user','password','host','port','relative','path','directory','file','query','anchor'];function _0x442532(_0x342ab2){if(_0x342ab2['length']>0x7d0)throw'URI\x20too\x20long';const _0x193c8c=_0x342ab2,_0x52cb76=_0x342ab2['indexOf']('['),_0x1cd907=_0x342ab2['indexOf'](']');-0x1!=_0x52cb76&&-0x1!=_0x1cd907&&(_0x342ab2=_0x342ab2['substring'](0x0,_0x52cb76)+_0x342ab2['substring'](_0x52cb76,_0x1cd907)['replace'](/:/g,';')+_0x342ab2['substring'](_0x1cd907,_0x342ab2['length']));let _0x43e371=_0x50b635['exec'](_0x342ab2||''),_0x1e0bf8={},_0x1f8f23=0xe;for(;_0x1f8f23--;)_0x1e0bf8[_0x4aec7d[_0x1f8f23]]=_0x43e371[_0x1f8f23]||'';return-0x1!=_0x52cb76&&-0x1!=_0x1cd907&&(_0x1e0bf8['source']=_0x193c8c,_0x1e0bf8['host']=_0x1e0bf8['host']['substring'](0x1,_0x1e0bf8['host']['length']-0x1)['replace'](/;/g,':'),_0x1e0bf8['authority']=_0x1e0bf8['authority']['replace']('[','')['replace'](']','')['replace'](/;/g,':'),_0x1e0bf8['ipv6uri']=!0x0),_0x1e0bf8['pathNames']=function(_0x1a4598,_0x21686d){const _0x34999a=_0x21686d['replace'](/\/{2,9}/g,'/')['split']('/');return'/'!=_0x21686d['slice'](0x0,0x1)&&0x0!==_0x21686d['length']||_0x34999a['splice'](0x0,0x1),'/'==_0x21686d['slice'](-0x1)&&_0x34999a['splice'](_0x34999a['length']-0x1,0x1),_0x34999a;}(0x0,_0x1e0bf8['path']),_0x1e0bf8['queryKey']=function(_0xac09bc,_0x439654){const _0x23639e={};return _0x439654['replace'](/(?:^|&)([^&=]*)=?([^&]*)/g,function(_0x388069,_0x4d4e47,_0x422ba6){_0x4d4e47&&(_0x23639e[_0x4d4e47]=_0x422ba6);}),_0x23639e;}(0x0,_0x1e0bf8['query']),_0x1e0bf8;}var _0x1679af=class Socket$1 extends _0x5646f9{constructor(_0x3fdcc9,_0x30bca1={}){super(),this['binaryType']='arraybuffer',this['writeBuffer']=[],_0x3fdcc9&&'object'==typeof _0x3fdcc9&&(_0x30bca1=_0x3fdcc9,_0x3fdcc9=null),_0x3fdcc9?(_0x3fdcc9=_0x442532(_0x3fdcc9),_0x30bca1['hostname']=_0x3fdcc9['host'],_0x30bca1['secure']='https'===_0x3fdcc9['protocol']||'wss'===_0x3fdcc9['protocol'],_0x30bca1['port']=_0x3fdcc9['port'],_0x3fdcc9['query']&&(_0x30bca1['query']=_0x3fdcc9['query'])):_0x30bca1['host']&&(_0x30bca1['hostname']=_0x442532(_0x30bca1['host'])['host']),_0x5518a8(this,_0x30bca1),this['secure']=null!=_0x30bca1['secure']?_0x30bca1['secure']:'undefined'!=typeof location&&'https:'===location['protocol'],_0x30bca1['hostname']&&!_0x30bca1['port']&&(_0x30bca1['port']=this['secure']?'443':'80'),this['hostname']=_0x30bca1['hostname']||('undefined'!=typeof location?location['hostname']:'localhost'),this['port']=_0x30bca1['port']||('undefined'!=typeof location&&location['port']?location['port']:this['secure']?'443':'80'),this['transports']=_0x30bca1['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},_0x30bca1),this['opts']['path']=this['opts']['path']['replace'](/\/$/,'')+(this['opts']['addTrailingSlash']?'/':''),'string'==typeof this['opts']['query']&&(this['opts']['query']=function(_0x11abea){let _0x64d143={},_0x28e737=_0x11abea['split']('&');for(let _0x399e28=0x0,_0x4a899d=_0x28e737['length'];_0x399e28<_0x4a899d;_0x399e28++){let _0x30106e=_0x28e737[_0x399e28]['split']('=');_0x64d143[decodeURIComponent(_0x30106e[0x0])]=decodeURIComponent(_0x30106e[0x1]);}return _0x64d143;}(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'](_0x457777){const _0x2cc7ed=Object['assign']({},this['opts']['query']);_0x2cc7ed['EIO']=0x4,_0x2cc7ed['transport']=_0x457777,this['id']&&(_0x2cc7ed['sid']=this['id']);const _0x39578a=Object['assign']({},this['opts'],{'query':_0x2cc7ed,'socket':this,'hostname':this['hostname'],'secure':this['secure'],'port':this['port']},this['opts']['transportOptions'][_0x457777]);return new _0x4ea06a[_0x457777](_0x39578a);}['open'](){let _0x1a9782;if(this['opts']['rememberUpgrade']&&Socket$1['priorWebsocketSuccess']&&-0x1!==this['transports']['indexOf']('websocket'))_0x1a9782='websocket';else{if(0x0===this['transports']['length'])return void this['setTimeoutFn'](()=>{this['emitReserved']('error','No\x20transports\x20available');},0x0);_0x1a9782=this['transports'][0x0];}this['readyState']='opening';try{_0x1a9782=this['createTransport'](_0x1a9782);}catch(_0x198d37){return this['transports']['shift'](),void this['open']();}_0x1a9782['open'](),this['setTransport'](_0x1a9782);}['setTransport'](_0x51293f){this['transport']&&this['transport']['removeAllListeners'](),this['transport']=_0x51293f,_0x51293f['on']('drain',this['onDrain']['bind'](this))['on']('packet',this['onPacket']['bind'](this))['on']('error',this['onError']['bind'](this))['on']('close',_0x20d8c9=>this['onClose']('transport\x20close',_0x20d8c9));}['probe'](_0x331dbb){let _0x353ba7=this['createTransport'](_0x331dbb),_0x5b4666=!0x1;Socket$1['priorWebsocketSuccess']=!0x1;const _0x54cb3e=()=>{_0x5b4666||(_0x353ba7['send']([{'type':'ping','data':'probe'}]),_0x353ba7['once']('packet',_0x1308c1=>{if(!_0x5b4666){if('pong'===_0x1308c1['type']&&'probe'===_0x1308c1['data']){if(this['upgrading']=!0x0,this['emitReserved']('upgrading',_0x353ba7),!_0x353ba7)return;Socket$1['priorWebsocketSuccess']='websocket'===_0x353ba7['name'],this['transport']['pause'](()=>{_0x5b4666||'closed'!==this['readyState']&&(_0x1f1367(),this['setTransport'](_0x353ba7),_0x353ba7['send']([{'type':'upgrade'}]),this['emitReserved']('upgrade',_0x353ba7),_0x353ba7=null,this['upgrading']=!0x1,this['flush']());});}else{const _0x4a6d12=new Error('probe\x20error');_0x4a6d12['transport']=_0x353ba7['name'],this['emitReserved']('upgradeError',_0x4a6d12);}}}));};function _0x27de25(){_0x5b4666||(_0x5b4666=!0x0,_0x1f1367(),_0x353ba7['close'](),_0x353ba7=null);}const _0x2f1ffd=_0x348d31=>{const _0xfd04e2=new Error('probe\x20error:\x20'+_0x348d31);_0xfd04e2['transport']=_0x353ba7['name'],_0x27de25(),this['emitReserved']('upgradeError',_0xfd04e2);};function _0x4b1617(){_0x2f1ffd('transport\x20closed');}function _0x2401a7(){_0x2f1ffd('socket\x20closed');}function _0x560b65(_0x4452a6){_0x353ba7&&_0x4452a6['name']!==_0x353ba7['name']&&_0x27de25();}const _0x1f1367=()=>{_0x353ba7['removeListener']('open',_0x54cb3e),_0x353ba7['removeListener']('error',_0x2f1ffd),_0x353ba7['removeListener']('close',_0x4b1617),this['off']('close',_0x2401a7),this['off']('upgrading',_0x560b65);};_0x353ba7['once']('open',_0x54cb3e),_0x353ba7['once']('error',_0x2f1ffd),_0x353ba7['once']('close',_0x4b1617),this['once']('close',_0x2401a7),this['once']('upgrading',_0x560b65),-0x1!==this['upgrades']['indexOf']('webtransport')&&'webtransport'!==_0x331dbb?this['setTimeoutFn'](()=>{_0x5b4666||_0x353ba7['open']();},0xc8):_0x353ba7['open']();}['onOpen'](){if(this['readyState']='open',Socket$1['priorWebsocketSuccess']='websocket'===this['transport']['name'],this['emitReserved']('open'),this['flush'](),'open'===this['readyState']&&this['opts']['upgrade']){let _0x245cd1=0x0;const _0x3ec564=this['upgrades']['length'];for(;_0x245cd1<_0x3ec564;_0x245cd1++)this['probe'](this['upgrades'][_0x245cd1]);}}['onPacket'](_0x324d57){if('opening'===this['readyState']||'open'===this['readyState']||'closing'===this['readyState'])switch(this['emitReserved']('packet',_0x324d57),this['emitReserved']('heartbeat'),this['resetPingTimeout'](),_0x324d57['type']){case'open':this['onHandshake'](JSON['parse'](_0x324d57['data']));break;case'ping':this['sendPacket']('pong'),this['emitReserved']('ping'),this['emitReserved']('pong');break;case'error':const _0x568d3c=new Error('server\x20error');_0x568d3c['code']=_0x324d57['data'],this['onError'](_0x568d3c);break;case'message':this['emitReserved']('data',_0x324d57['data']),this['emitReserved']('message',_0x324d57['data']);}}['onHandshake'](_0x5b62a3){this['emitReserved']('handshake',_0x5b62a3),this['id']=_0x5b62a3['sid'],this['transport']['query']['sid']=_0x5b62a3['sid'],this['upgrades']=this['filterUpgrades'](_0x5b62a3['upgrades']),this['pingInterval']=_0x5b62a3['pingInterval'],this['pingTimeout']=_0x5b62a3['pingTimeout'],this['maxPayload']=_0x5b62a3['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 _0x510a97=this['getWritablePackets']();this['transport']['send'](_0x510a97),this['prevBufferLen']=_0x510a97['length'],this['emitReserved']('flush');}}['getWritablePackets'](){if(!(this['maxPayload']&&'polling'===this['transport']['name']&&this['writeBuffer']['length']>0x1))return this['writeBuffer'];let _0x1fd4b4=0x1;for(let _0x2bd6e1=0x0;_0x2bd6e1<this['writeBuffer']['length'];_0x2bd6e1++){const _0x51b54d=this['writeBuffer'][_0x2bd6e1]['data'];if(_0x51b54d&&(_0x1fd4b4+=_0x111258(_0x51b54d)),_0x2bd6e1>0x0&&_0x1fd4b4>this['maxPayload'])return this['writeBuffer']['slice'](0x0,_0x2bd6e1);_0x1fd4b4+=0x2;}return this['writeBuffer'];}['write'](_0x46a7e7,_0xf32d41,_0x4b4a64){return this['sendPacket']('message',_0x46a7e7,_0xf32d41,_0x4b4a64),this;}['send'](_0x303337,_0x1c73e7,_0x5004b3){return this['sendPacket']('message',_0x303337,_0x1c73e7,_0x5004b3),this;}['sendPacket'](_0x438c24,_0x2ba25c,_0x48cd53,_0x23edf9){if('function'==typeof _0x2ba25c&&(_0x23edf9=_0x2ba25c,_0x2ba25c=void 0x0),'function'==typeof _0x48cd53&&(_0x23edf9=_0x48cd53,_0x48cd53=null),'closing'===this['readyState']||'closed'===this['readyState'])return;(_0x48cd53=_0x48cd53||{})['compress']=!0x1!==_0x48cd53['compress'];const _0x36ee7f={'type':_0x438c24,'data':_0x2ba25c,'options':_0x48cd53};this['emitReserved']('packetCreate',_0x36ee7f),this['writeBuffer']['push'](_0x36ee7f),_0x23edf9&&this['once']('flush',_0x23edf9),this['flush']();}['close'](){const _0x2bd5a9=()=>{this['onClose']('forced\x20close'),this['transport']['close']();},_0xaa7043=()=>{this['off']('upgrade',_0xaa7043),this['off']('upgradeError',_0xaa7043),_0x2bd5a9();},_0x53ba86=()=>{this['once']('upgrade',_0xaa7043),this['once']('upgradeError',_0xaa7043);};return'opening'!==this['readyState']&&'open'!==this['readyState']||(this['readyState']='closing',this['writeBuffer']['length']?this['once']('drain',()=>{this['upgrading']?_0x53ba86():_0x2bd5a9();}):this['upgrading']?_0x53ba86():_0x2bd5a9()),this;}['onError'](_0x1cf3d5){Socket$1['priorWebsocketSuccess']=!0x1,this['emitReserved']('error',_0x1cf3d5),this['onClose']('transport\x20error',_0x1cf3d5);}['onClose'](_0x5659f2,_0x13390d){'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',_0x5659f2,_0x13390d),this['writeBuffer']=[],this['prevBufferLen']=0x0);}['filterUpgrades'](_0x402740){const _0x1ad1da=[];let _0x316728=0x0;const _0x2fc029=_0x402740['length'];for(;_0x316728<_0x2fc029;_0x316728++)~this['transports']['indexOf'](_0x402740[_0x316728])&&_0x1ad1da['push'](_0x402740[_0x316728]);return _0x1ad1da;}};_0x1679af['protocol']=0x4,_0x1679af['protocol'];const _0x267503='function'==typeof ArrayBuffer,_0x311dfe=Object['prototype']['toString'],_0x14adb7='function'==typeof Blob||'undefined'!=typeof Blob&&'[object\x20BlobConstructor]'===_0x311dfe['call'](Blob),_0x5d2b01='function'==typeof File||'undefined'!=typeof File&&'[object\x20FileConstructor]'===_0x311dfe['call'](File);function _0xff29d(_0xc6cfd7){return _0x267503&&(_0xc6cfd7 instanceof ArrayBuffer||(_0x2d8cb5=>'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x2d8cb5):_0x2d8cb5['buffer']instanceof ArrayBuffer)(_0xc6cfd7))||_0x14adb7&&_0xc6cfd7 instanceof Blob||_0x5d2b01&&_0xc6cfd7 instanceof File;}function _0x4266d1(_0x26ccd2,_0x2d83d6){if(!_0x26ccd2||'object'!=typeof _0x26ccd2)return!0x1;if(Array['isArray'](_0x26ccd2)){for(let _0x286705=0x0,_0x414968=_0x26ccd2['length'];_0x286705<_0x414968;_0x286705++)if(_0x4266d1(_0x26ccd2[_0x286705]))return!0x0;return!0x1;}if(_0xff29d(_0x26ccd2))return!0x0;if(_0x26ccd2['toJSON']&&'function'==typeof _0x26ccd2['toJSON']&&0x1===arguments['length'])return _0x4266d1(_0x26ccd2['toJSON'](),!0x0);for(const _0xf6f350 in _0x26ccd2)if(Object['prototype']['hasOwnProperty']['call'](_0x26ccd2,_0xf6f350)&&_0x4266d1(_0x26ccd2[_0xf6f350]))return!0x0;return!0x1;}function _0x40cb57(_0x239595){const _0x345c43=[],_0x88ccc4=_0x239595['data'],_0x5481c5=_0x239595;return _0x5481c5['data']=_0x27fc64(_0x88ccc4,_0x345c43),_0x5481c5['attachments']=_0x345c43['length'],{'packet':_0x5481c5,'buffers':_0x345c43};}function _0x27fc64(_0x56bea7,_0x212508){if(!_0x56bea7)return _0x56bea7;if(_0xff29d(_0x56bea7)){const _0x4bb8f7={'_placeholder':!0x0,'num':_0x212508['length']};return _0x212508['push'](_0x56bea7),_0x4bb8f7;}if(Array['isArray'](_0x56bea7)){const _0x407741=new Array(_0x56bea7['length']);for(let _0x414e7c=0x0;_0x414e7c<_0x56bea7['length'];_0x414e7c++)_0x407741[_0x414e7c]=_0x27fc64(_0x56bea7[_0x414e7c],_0x212508);return _0x407741;}if('object'==typeof _0x56bea7&&!(_0x56bea7 instanceof Date)){const _0xb2f2ef={};for(const _0x4ca80c in _0x56bea7)Object['prototype']['hasOwnProperty']['call'](_0x56bea7,_0x4ca80c)&&(_0xb2f2ef[_0x4ca80c]=_0x27fc64(_0x56bea7[_0x4ca80c],_0x212508));return _0xb2f2ef;}return _0x56bea7;}function _0x1cd1ac(_0x31ef0d,_0x1f5dfa){return _0x31ef0d['data']=_0x1bc008(_0x31ef0d['data'],_0x1f5dfa),delete _0x31ef0d['attachments'],_0x31ef0d;}function _0x1bc008(_0x145d0a,_0x32c7c8){if(!_0x145d0a)return _0x145d0a;if(_0x145d0a&&!0x0===_0x145d0a['_placeholder']){if('number'==typeof _0x145d0a['num']&&_0x145d0a['num']>=0x0&&_0x145d0a['num']<_0x32c7c8['length'])return _0x32c7c8[_0x145d0a['num']];throw new Error('illegal\x20attachments');}if(Array['isArray'](_0x145d0a)){for(let _0x19e5e1=0x0;_0x19e5e1<_0x145d0a['length'];_0x19e5e1++)_0x145d0a[_0x19e5e1]=_0x1bc008(_0x145d0a[_0x19e5e1],_0x32c7c8);}else{if('object'==typeof _0x145d0a){for(const _0x4ee353 in _0x145d0a)Object['prototype']['hasOwnProperty']['call'](_0x145d0a,_0x4ee353)&&(_0x145d0a[_0x4ee353]=_0x1bc008(_0x145d0a[_0x4ee353],_0x32c7c8));}}return _0x145d0a;}var _0x439c52=_0x159dd3({'Decoder':()=>_0x3d468b,'Encoder':()=>t_,'PacketType':()=>_0x3141de,'isPacketValid':()=>_0x24d0e3,'protocol':()=>0x5});const _0x4aa4c8=['connect','connect_error','disconnect','disconnecting','newListener','removeListener'];var _0x3141de;!function(_0x336134){_0x336134[_0x336134['CONNECT']=0x0]='CONNECT',_0x336134[_0x336134['DISCONNECT']=0x1]='DISCONNECT',_0x336134[_0x336134['EVENT']=0x2]='EVENT',_0x336134[_0x336134['ACK']=0x3]='ACK',_0x336134[_0x336134['CONNECT_ERROR']=0x4]='CONNECT_ERROR',_0x336134[_0x336134['BINARY_EVENT']=0x5]='BINARY_EVENT',_0x336134[_0x336134['BINARY_ACK']=0x6]='BINARY_ACK';}(_0x3141de||(_0x3141de={}));var t_=class{constructor(_0x3fbeb3){this['replacer']=_0x3fbeb3;}['encode'](_0x3e445a){return _0x3e445a['type']!==_0x3141de['EVENT']&&_0x3e445a['type']!==_0x3141de['ACK']||!_0x4266d1(_0x3e445a)?[this['encodeAsString'](_0x3e445a)]:this['encodeAsBinary']({'type':_0x3e445a['type']===_0x3141de['EVENT']?_0x3141de['BINARY_EVENT']:_0x3141de['BINARY_ACK'],'nsp':_0x3e445a['nsp'],'data':_0x3e445a['data'],'id':_0x3e445a['id']});}['encodeAsString'](_0x13dab4){let _0x1d3c0d=''+_0x13dab4['type'];return _0x13dab4['type']!==_0x3141de['BINARY_EVENT']&&_0x13dab4['type']!==_0x3141de['BINARY_ACK']||(_0x1d3c0d+=_0x13dab4['attachments']+'-'),_0x13dab4['nsp']&&'/'!==_0x13dab4['nsp']&&(_0x1d3c0d+=_0x13dab4['nsp']+','),null!=_0x13dab4['id']&&(_0x1d3c0d+=_0x13dab4['id']),null!=_0x13dab4['data']&&(_0x1d3c0d+=JSON['stringify'](_0x13dab4['data'],this['replacer'])),_0x1d3c0d;}['encodeAsBinary'](_0x11faf4){const _0x3a1d3b=_0x40cb57(_0x11faf4),_0x43e92a=this['encodeAsString'](_0x3a1d3b['packet']),_0x16f8e5=_0x3a1d3b['buffers'];return _0x16f8e5['unshift'](_0x43e92a),_0x16f8e5;}},_0x3d468b=class _0x4d3904 extends _0x5646f9{constructor(_0x58627d){super(),this['opts']=Object['assign']({'reviver':void 0x0,'maxAttachments':0xa},'function'==typeof _0x58627d?{'reviver':_0x58627d}:_0x58627d);}['add'](_0x45c7c9){let _0x42ef3a;if('string'==typeof _0x45c7c9){if(this['reconstructor'])throw new Error('got\x20plaintext\x20data\x20when\x20reconstructing\x20a\x20packet');_0x42ef3a=this['decodeString'](_0x45c7c9);const _0x397372=_0x42ef3a['type']===_0x3141de['BINARY_EVENT'];_0x397372||_0x42ef3a['type']===_0x3141de['BINARY_ACK']?(_0x42ef3a['type']=_0x397372?_0x3141de['EVENT']:_0x3141de['ACK'],this['reconstructor']=new _0x5aa57b(_0x42ef3a),0x0===_0x42ef3a['attachments']&&super['emitReserved']('decoded',_0x42ef3a)):super['emitReserved']('decoded',_0x42ef3a);}else{if(!_0xff29d(_0x45c7c9)&&!_0x45c7c9['base64'])throw new Error('Unknown\x20type:\x20'+_0x45c7c9);if(!this['reconstructor'])throw new Error('got\x20binary\x20data\x20when\x20not\x20reconstructing\x20a\x20packet');_0x42ef3a=this['reconstructor']['takeBinaryData'](_0x45c7c9),_0x42ef3a&&(this['reconstructor']=null,super['emitReserved']('decoded',_0x42ef3a));}}['decodeString'](_0x17017c){let _0x4d3b85=0x0;const _0x28c2de={'type':Number(_0x17017c['charAt'](0x0))};if(void 0x0===_0x3141de[_0x28c2de['type']])throw new Error('unknown\x20packet\x20type\x20'+_0x28c2de['type']);if(_0x28c2de['type']===_0x3141de['BINARY_EVENT']||_0x28c2de['type']===_0x3141de['BINARY_ACK']){const _0x5ded33=_0x4d3b85+0x1;for(;'-'!==_0x17017c['charAt'](++_0x4d3b85)&&_0x4d3b85!=_0x17017c['length'];);const _0xc9f762=_0x17017c['substring'](_0x5ded33,_0x4d3b85);if(_0xc9f762!=Number(_0xc9f762)||'-'!==_0x17017c['charAt'](_0x4d3b85))throw new Error('Illegal\x20attachments');const _0x2e9c0b=Number(_0xc9f762);if(!_0xd2eb8a(_0x2e9c0b)||_0x2e9c0b<0x0)throw new Error('Illegal\x20attachments');if(_0x2e9c0b>this['opts']['maxAttachments'])throw new Error('too\x20many\x20attachments');_0x28c2de['attachments']=_0x2e9c0b;}if('/'===_0x17017c['charAt'](_0x4d3b85+0x1)){const _0x28eb14=_0x4d3b85+0x1;for(;++_0x4d3b85&&','!==_0x17017c['charAt'](_0x4d3b85)&&_0x4d3b85!==_0x17017c['length'];);_0x28c2de['nsp']=_0x17017c['substring'](_0x28eb14,_0x4d3b85);}else _0x28c2de['nsp']='/';const _0x1ca152=_0x17017c['charAt'](_0x4d3b85+0x1);if(''!==_0x1ca152&&Number(_0x1ca152)==_0x1ca152){const _0x42bba2=_0x4d3b85+0x1;for(;++_0x4d3b85;){const _0x1ada4f=_0x17017c['charAt'](_0x4d3b85);if(null==_0x1ada4f||Number(_0x1ada4f)!=_0x1ada4f){--_0x4d3b85;break;}if(_0x4d3b85===_0x17017c['length'])break;}_0x28c2de['id']=Number(_0x17017c['substring'](_0x42bba2,_0x4d3b85+0x1));}if(_0x17017c['charAt'](++_0x4d3b85)){const _0x19785a=this['tryParse'](_0x17017c['substr'](_0x4d3b85));if(!_0x4d3904['isPayloadValid'](_0x28c2de['type'],_0x19785a))throw new Error('invalid\x20payload');_0x28c2de['data']=_0x19785a;}return _0x28c2de;}['tryParse'](_0x2658df){try{return JSON['parse'](_0x2658df,this['opts']['reviver']);}catch(_0x4ab300){return!0x1;}}static['isPayloadValid'](_0x518e7a,_0x17e1a5){switch(_0x518e7a){case _0x3141de['CONNECT']:return _0x52d49(_0x17e1a5);case _0x3141de['DISCONNECT']:return void 0x0===_0x17e1a5;case _0x3141de['CONNECT_ERROR']:return'string'==typeof _0x17e1a5||_0x52d49(_0x17e1a5);case _0x3141de['EVENT']:case _0x3141de['BINARY_EVENT']:return Array['isArray'](_0x17e1a5)&&('number'==typeof _0x17e1a5[0x0]||'string'==typeof _0x17e1a5[0x0]&&-0x1===_0x4aa4c8['indexOf'](_0x17e1a5[0x0]));case _0x3141de['ACK']:case _0x3141de['BINARY_ACK']:return Array['isArray'](_0x17e1a5);}}['destroy'](){this['reconstructor']&&(this['reconstructor']['finishedReconstruction'](),this['reconstructor']=null);}},_0x5aa57b=class{constructor(_0x42e795){this['packet']=_0x42e795,this['buffers']=[],this['reconPack']=_0x42e795;}['takeBinaryData'](_0x558867){if(this['buffers']['push'](_0x558867),this['buffers']['length']===this['reconPack']['attachments']){const _0x174cb6=_0x1cd1ac(this['reconPack'],this['buffers']);return this['finishedReconstruction'](),_0x174cb6;}return null;}['finishedReconstruction'](){this['reconPack']=null,this['buffers']=[];}};const _0xd2eb8a=Number['isInteger']||function(_0x561471){return'number'==typeof _0x561471&&isFinite(_0x561471)&&Math['floor'](_0x561471)===_0x561471;};function _0x52d49(_0x535ea5){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x535ea5);}function _0x24d0e3(_0x4489ac){return'string'==typeof _0x4489ac['nsp']&&function(_0x4760a2){return void 0x0===_0x4760a2||_0xd2eb8a(_0x4760a2);}(_0x4489ac['id'])&&function(_0x9d3605,_0x1e54f0){switch(_0x9d3605){case _0x3141de['CONNECT']:return void 0x0===_0x1e54f0||_0x52d49(_0x1e54f0);case _0x3141de['DISCONNECT']:return void 0x0===_0x1e54f0;case _0x3141de['EVENT']:return Array['isArray'](_0x1e54f0)&&('number'==typeof _0x1e54f0[0x0]||'string'==typeof _0x1e54f0[0x0]&&-0x1===_0x4aa4c8['indexOf'](_0x1e54f0[0x0]));case _0x3141de['ACK']:return Array['isArray'](_0x1e54f0);case _0x3141de['CONNECT_ERROR']:return'string'==typeof _0x1e54f0||_0x52d49(_0x1e54f0);default:return!0x1;}}(_0x4489ac['type'],_0x4489ac['data']);}function _0x495090(_0x51ed8e,_0x1b2ce0,_0x15ae47){return _0x51ed8e['on'](_0x1b2ce0,_0x15ae47),function(){_0x51ed8e['off'](_0x1b2ce0,_0x15ae47);};}const _0x190daf=Object['freeze']({'connect':0x1,'connect_error':0x1,'disconnect':0x1,'disconnecting':0x1,'newListener':0x1,'removeListener':0x1});var _0x269868=class extends _0x5646f9{constructor(_0xe956c9,_0x374d90,_0x4deb66){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']=_0xe956c9,this['nsp']=_0x374d90,_0x4deb66&&_0x4deb66['auth']&&(this['auth']=_0x4deb66['auth']),this['_opts']=Object['assign']({},_0x4deb66),this['io']['_autoConnect']&&this['open']();}get['disconnected'](){return!this['connected'];}['subEvents'](){if(this['subs'])return;const _0x43abf8=this['io'];this['subs']=[_0x495090(_0x43abf8,'open',this['onopen']['bind'](this)),_0x495090(_0x43abf8,'packet',this['onpacket']['bind'](this)),_0x495090(_0x43abf8,'error',this['onerror']['bind'](this)),_0x495090(_0x43abf8,'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'](..._0xf6c4c0){return _0xf6c4c0['unshift']('message'),this['emit']['apply'](this,_0xf6c4c0),this;}['emit'](_0x3805f4,..._0x3ff314){if(_0x190daf['hasOwnProperty'](_0x3805f4))throw new Error('\x22'+_0x3805f4['toString']()+'\x22\x20is\x20a\x20reserved\x20event\x20name');if(_0x3ff314['unshift'](_0x3805f4),this['_opts']['retries']&&!this['flags']['fromQueue']&&!this['flags']['volatile'])return this['_addToQueue'](_0x3ff314),this;const _0x3dd8b1={'type':_0x3141de['EVENT'],'data':_0x3ff314,'options':{}};if(_0x3dd8b1['options']['compress']=!0x1!==this['flags']['compress'],'function'==typeof _0x3ff314[_0x3ff314['length']-0x1]){const _0x197278=this['ids']++,_0x26212b=_0x3ff314['pop']();this['_registerAckCallback'](_0x197278,_0x26212b),_0x3dd8b1['id']=_0x197278;}const _0xca03ac=this['io']['engine']&&this['io']['engine']['transport']&&this['io']['engine']['transport']['writable'];return(!this['flags']['volatile']||_0xca03ac&&this['connected'])&&(this['connected']?(this['notifyOutgoingListeners'](_0x3dd8b1),this['packet'](_0x3dd8b1)):this['sendBuffer']['push'](_0x3dd8b1)),this['flags']={},this;}['_registerAckCallback'](_0x1a52e0,_0x3d8387){var _0x4776d6;const _0x492b2d=null!==(_0x4776d6=this['flags']['timeout'])&&void 0x0!==_0x4776d6?_0x4776d6:this['_opts']['ackTimeout'];if(void 0x0===_0x492b2d)return void(this['acks'][_0x1a52e0]=_0x3d8387);const _0x3cb23d=this['io']['setTimeoutFn'](()=>{delete this['acks'][_0x1a52e0];for(let _0x36161b=0x0;_0x36161b<this['sendBuffer']['length'];_0x36161b++)this['sendBuffer'][_0x36161b]['id']===_0x1a52e0&&this['sendBuffer']['splice'](_0x36161b,0x1);_0x3d8387['call'](this,new Error('operation\x20has\x20timed\x20out'));},_0x492b2d);this['acks'][_0x1a52e0]=(..._0x375365)=>{this['io']['clearTimeoutFn'](_0x3cb23d),_0x3d8387['apply'](this,[null,..._0x375365]);};}['emitWithAck'](_0x59a95b,..._0x5a9181){const _0x22534c=void 0x0!==this['flags']['timeout']||void 0x0!==this['_opts']['ackTimeout'];return new Promise((_0x63f923,_0x572839)=>{_0x5a9181['push']((_0x206b19,_0x24aaf0)=>_0x22534c?_0x206b19?_0x572839(_0x206b19):_0x63f923(_0x24aaf0):_0x63f923(_0x206b19)),this['emit'](_0x59a95b,..._0x5a9181);});}['_addToQueue'](_0x2814f8){let _0x39ffd0;'function'==typeof _0x2814f8[_0x2814f8['length']-0x1]&&(_0x39ffd0=_0x2814f8['pop']());const _0x3b3bcd={'id':this['_queueSeq']++,'tryCount':0x0,'pending':!0x1,'args':_0x2814f8,'flags':Object['assign']({'fromQueue':!0x0},this['flags'])};_0x2814f8['push']((_0x3a75a0,..._0xdcd4ab)=>{if(_0x3b3bcd===this['_queue'][0x0])return null!==_0x3a75a0?_0x3b3bcd['tryCount']>this['_opts']['retries']&&(this['_queue']['shift'](),_0x39ffd0&&_0x39ffd0(_0x3a75a0)):(this['_queue']['shift'](),_0x39ffd0&&_0x39ffd0(null,..._0xdcd4ab)),_0x3b3bcd['pending']=!0x1,this['_drainQueue']();}),this['_queue']['push'](_0x3b3bcd),this['_drainQueue']();}['_drainQueue'](_0x207a1d=!0x1){if(!this['connected']||0x0===this['_queue']['length'])return;const _0x4798b9=this['_queue'][0x0];_0x4798b9['pending']&&!_0x207a1d||(_0x4798b9['pending']=!0x0,_0x4798b9['tryCount']++,this['flags']=_0x4798b9['flags'],this['emit']['apply'](this,_0x4798b9['args']));}['packet'](_0x2d6690){_0x2d6690['nsp']=this['nsp'],this['io']['_packet'](_0x2d6690);}['onopen'](){'function'==typeof this['auth']?this['auth'](_0x5b5def=>{this['_sendConnectPacket'](_0x5b5def);}):this['_sendConnectPacket'](this['auth']);}['_sendConnectPacket'](_0x839baa){this['packet']({'type':_0x3141de['CONNECT'],'data':this['_pid']?Object['assign']({'pid':this['_pid'],'offset':this['_lastOffset']},_0x839baa):_0x839baa});}['onerror'](_0x3ff62d){this['connected']||this['emitReserved']('connect_error',_0x3ff62d);}['onclose'](_0x13859f,_0x15027a){this['connected']=!0x1,delete this['id'],this['emitReserved']('disconnect',_0x13859f,_0x15027a);}['onpacket'](_0xb228e3){if(_0xb228e3['nsp']===this['nsp'])switch(_0xb228e3['type']){case _0x3141de['CONNECT']:_0xb228e3['data']&&_0xb228e3['data']['sid']?this['onconnect'](_0xb228e3['data']['sid'],_0xb228e3['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 _0x3141de['EVENT']:case _0x3141de['BINARY_EVENT']:this['onevent'](_0xb228e3);break;case _0x3141de['ACK']:case _0x3141de['BINARY_ACK']:this['onack'](_0xb228e3);break;case _0x3141de['DISCONNECT']:this['ondisconnect']();break;case _0x3141de['CONNECT_ERROR']:this['destroy']();const _0x282954=new Error(_0xb228e3['data']['message']);_0x282954['data']=_0xb228e3['data']['data'],this['emitReserved']('connect_error',_0x282954);}}['onevent'](_0x49edfc){const _0x2c2109=_0x49edfc['data']||[];null!=_0x49edfc['id']&&_0x2c2109['push'](this['ack'](_0x49edfc['id'])),this['connected']?this['emitEvent'](_0x2c2109):this['receiveBuffer']['push'](Object['freeze'](_0x2c2109));}['emitEvent'](_0x5d779a){if(this['_anyListeners']&&this['_anyListeners']['length']){const _0x1eb433=this['_anyListeners']['slice']();for(const _0x1f7b90 of _0x1eb433)_0x1f7b90['apply'](this,_0x5d779a);}super['emit']['apply'](this,_0x5d779a),this['_pid']&&_0x5d779a['length']&&'string'==typeof _0x5d779a[_0x5d779a['length']-0x1]&&(this['_lastOffset']=_0x5d779a[_0x5d779a['length']-0x1]);}['ack'](_0x4de44f){const _0x6adce9=this;let _0x23b014=!0x1;return function(..._0x67604){_0x23b014||(_0x23b014=!0x0,_0x6adce9['packet']({'type':_0x3141de['ACK'],'id':_0x4de44f,'data':_0x67604}));};}['onack'](_0x2986af){const _0x4def77=this['acks'][_0x2986af['id']];'function'==typeof _0x4def77&&(_0x4def77['apply'](this,_0x2986af['data']),delete this['acks'][_0x2986af['id']]);}['onconnect'](_0x5d9fd6,_0x5020d1){this['id']=_0x5d9fd6,this['recovered']=_0x5020d1&&this['_pid']===_0x5020d1,this['_pid']=_0x5020d1,this['connected']=!0x0,this['emitBuffered'](),this['emitReserved']('connect'),this['_drainQueue'](!0x0);}['emitBuffered'](){this['receiveBuffer']['forEach'](_0x1abb00=>this['emitEvent'](_0x1abb00)),this['receiveBuffer']=[],this['sendBuffer']['forEach'](_0x5bff72=>{this['notifyOutgoingListeners'](_0x5bff72),this['packet'](_0x5bff72);}),this['sendBuffer']=[];}['ondisconnect'](){this['destroy'](),this['onclose']('io\x20server\x20disconnect');}['destroy'](){this['subs']&&(this['subs']['forEach'](_0x1aaf74=>_0x1aaf74()),this['subs']=void 0x0),this['io']['_destroy'](this);}['disconnect'](){return this['connected']&&this['packet']({'type':_0x3141de['DISCONNECT']}),this['destroy'](),this['connected']&&this['onclose']('io\x20client\x20disconnect'),this;}['close'](){return this['disconnect']();}['compress'](_0x3b546e){return this['flags']['compress']=_0x3b546e,this;}get['volatile'](){return this['flags']['volatile']=!0x0,this;}['timeout'](_0x1e5663){return this['flags']['timeout']=_0x1e5663,this;}['onAny'](_0x5dbd99){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['push'](_0x5dbd99),this;}['prependAny'](_0x5d6b22){return this['_anyListeners']=this['_anyListeners']||[],this['_anyListeners']['unshift'](_0x5d6b22),this;}['offAny'](_0x313ed4){if(!this['_anyListeners'])return this;if(_0x313ed4){const _0x854976=this['_anyListeners'];for(let _0x28e770=0x0;_0x28e770<_0x854976['length'];_0x28e770++)if(_0x313ed4===_0x854976[_0x28e770])return _0x854976['splice'](_0x28e770,0x1),this;}else this['_anyListeners']=[];return this;}['listenersAny'](){return this['_anyListeners']||[];}['onAnyOutgoing'](_0x143ae3){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['push'](_0x143ae3),this;}['prependAnyOutgoing'](_0x3f913d){return this['_anyOutgoingListeners']=this['_anyOutgoingListeners']||[],this['_anyOutgoingListeners']['unshift'](_0x3f913d),this;}['offAnyOutgoing'](_0xed06bb){if(!this['_anyOutgoingListeners'])return this;if(_0xed06bb){const _0x16ba65=this['_anyOutgoingListeners'];for(let _0x51231c=0x0;_0x51231c<_0x16ba65['length'];_0x51231c++)if(_0xed06bb===_0x16ba65[_0x51231c])return _0x16ba65['splice'](_0x51231c,0x1),this;}else this['_anyOutgoingListeners']=[];return this;}['listenersAnyOutgoing'](){return this['_anyOutgoingListeners']||[];}['notifyOutgoingListeners'](_0x57a42a){if(this['_anyOutgoingListeners']&&this['_anyOutgoingListeners']['length']){const _0x56850c=this['_anyOutgoingListeners']['slice']();for(const _0x5e85be of _0x56850c)_0x5e85be['apply'](this,_0x57a42a['data']);}}};function _0xc180c6(_0xbaf638){_0xbaf638=_0xbaf638||{},this['ms']=_0xbaf638['min']||0x64,this['max']=_0xbaf638['max']||0x2710,this['factor']=_0xbaf638['factor']||0x2,this['jitter']=_0xbaf638['jitter']>0x0&&_0xbaf638['jitter']<=0x1?_0xbaf638['jitter']:0x0,this['attempts']=0x0;}_0xc180c6['prototype']['duration']=function(){var _0x1b26e1=this['ms']*Math['pow'](this['factor'],this['attempts']++);if(this['jitter']){var _0x21821b=Math['random'](),_0x31a32d=Math['floor'](_0x21821b*this['jitter']*_0x1b26e1);_0x1b26e1=0x1&Math['floor'](0xa*_0x21821b)?_0x1b26e1+_0x31a32d:_0x1b26e1-_0x31a32d;}return 0x0|Math['min'](_0x1b26e1,this['max']);},_0xc180c6['prototype']['reset']=function(){this['attempts']=0x0;},_0xc180c6['prototype']['setMin']=function(_0x40b40f){this['ms']=_0x40b40f;},_0xc180c6['prototype']['setMax']=function(_0x30733f){this['max']=_0x30733f;},_0xc180c6['prototype']['setJitter']=function(_0x11bc94){this['jitter']=_0x11bc94;};var _0x2492b1=class extends _0x5646f9{constructor(_0x4271d6,_0x995218){var _0x5e38ea;super(),this['nsps']={},this['subs']=[],_0x4271d6&&'object'==typeof _0x4271d6&&(_0x995218=_0x4271d6,_0x4271d6=void 0x0),(_0x995218=_0x995218||{})['path']=_0x995218['path']||'/socket.io',this['opts']=_0x995218,_0x5518a8(this,_0x995218),this['reconnection'](!0x1!==_0x995218['reconnection']),this['reconnectionAttempts'](_0x995218['reconnectionAttempts']||0x1/0x0),this['reconnectionDelay'](_0x995218['reconnectionDelay']||0x3e8),this['reconnectionDelayMax'](_0x995218['reconnectionDelayMax']||0x1388),this['randomizationFactor'](null!==(_0x5e38ea=_0x995218['randomizationFactor'])&&void 0x0!==_0x5e38ea?_0x5e38ea:0.5),this['backoff']=new _0xc180c6({'min':this['reconnectionDelay'](),'max':this['reconnectionDelayMax'](),'jitter':this['randomizationFactor']()}),this['timeout'](null==_0x995218['timeout']?0x4e20:_0x995218['timeout']),this['_readyState']='closed',this['uri']=_0x4271d6;const _0x1320b9=_0x995218['parser']||_0x439c52;this['encoder']=new _0x1320b9['Encoder'](),this['decoder']=new _0x1320b9['Decoder'](),this['_autoConnect']=!0x1!==_0x995218['autoConnect'],this['_autoConnect']&&this['open']();}['reconnection'](_0x46bde4){return arguments['length']?(this['_reconnection']=!!_0x46bde4,this):this['_reconnection'];}['reconnectionAttempts'](_0x32f79a){return void 0x0===_0x32f79a?this['_reconnectionAttempts']:(this['_reconnectionAttempts']=_0x32f79a,this);}['reconnectionDelay'](_0xfc7a81){var _0x3cd00d;return void 0x0===_0xfc7a81?this['_reconnectionDelay']:(this['_reconnectionDelay']=_0xfc7a81,null===(_0x3cd00d=this['backoff'])||void 0x0===_0x3cd00d||_0x3cd00d['setMin'](_0xfc7a81),this);}['randomizationFactor'](_0xfee987){var _0x268463;return void 0x0===_0xfee987?this['_randomizationFactor']:(this['_randomizationFactor']=_0xfee987,null===(_0x268463=this['backoff'])||void 0x0===_0x268463||_0x268463['setJitter'](_0xfee987),this);}['reconnectionDelayMax'](_0x4407a7){var _0x52378c;return void 0x0===_0x4407a7?this['_reconnectionDelayMax']:(this['_reconnectionDelayMax']=_0x4407a7,null===(_0x52378c=this['backoff'])||void 0x0===_0x52378c||_0x52378c['setMax'](_0x4407a7),this);}['timeout'](_0xc4924b){return arguments['length']?(this['_timeout']=_0xc4924b,this):this['_timeout'];}['maybeReconnectOnOpen'](){!this['_reconnecting']&&this['_reconnection']&&0x0===this['backoff']['attempts']&&this['reconnect']();}['open'](_0x34ce68){if(~this['_readyState']['indexOf']('open'))return this;this['engine']=new _0x1679af(this['uri'],this['opts']);const _0x27e6cc=this['engine'],_0x1a3b90=this;this['_readyState']='opening',this['skipReconnect']=!0x1;const _0x8ab0a5=_0x495090(_0x27e6cc,'open',function(){_0x1a3b90['onopen'](),_0x34ce68&&_0x34ce68();}),_0x4288d2=_0xfb61a3=>{this['cleanup'](),this['_readyState']='closed',this['emitReserved']('error',_0xfb61a3),_0x34ce68?_0x34ce68(_0xfb61a3):this['maybeReconnectOnOpen']();},_0x3c5064=_0x495090(_0x27e6cc,'error',_0x4288d2);if(!0x1!==this['_timeout']){const _0x242183=this['_timeout'],_0x40d5c3=this['setTimeoutFn'](()=>{_0x8ab0a5(),_0x4288d2(new Error('timeout')),_0x27e6cc['close']();},_0x242183);this['opts']['autoUnref']&&_0x40d5c3['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x40d5c3);});}return this['subs']['push'](_0x8ab0a5),this['subs']['push'](_0x3c5064),this;}['connect'](_0x2fbf9b){return this['open'](_0x2fbf9b);}['onopen'](){this['cleanup'](),this['_readyState']='open',this['emitReserved']('open');const _0x4dd0b3=this['engine'];this['subs']['push'](_0x495090(_0x4dd0b3,'ping',this['onping']['bind'](this)),_0x495090(_0x4dd0b3,'data',this['ondata']['bind'](this)),_0x495090(_0x4dd0b3,'error',this['onerror']['bind'](this)),_0x495090(_0x4dd0b3,'close',this['onclose']['bind'](this)),_0x495090(this['decoder'],'decoded',this['ondecoded']['bind'](this)));}['onping'](){this['emitReserved']('ping');}['ondata'](_0x2c5db4){try{this['decoder']['add'](_0x2c5db4);}catch(_0x14c3bb){this['onclose']('parse\x20error',_0x14c3bb);}}['ondecoded'](_0x1ad946){_0x21a0ce(()=>{this['emitReserved']('packet',_0x1ad946);},this['setTimeoutFn']);}['onerror'](_0x21ca99){this['emitReserved']('error',_0x21ca99);}['socket'](_0x5e2e02,_0x2aecbc){let _0x4faf55=this['nsps'][_0x5e2e02];return _0x4faf55?this['_autoConnect']&&!_0x4faf55['active']&&_0x4faf55['connect']():(_0x4faf55=new _0x269868(this,_0x5e2e02,_0x2aecbc),this['nsps'][_0x5e2e02]=_0x4faf55),_0x4faf55;}['_destroy'](_0x27b8a9){const _0x275f62=Object['keys'](this['nsps']);for(const _0x4bf712 of _0x275f62)if(this['nsps'][_0x4bf712]['active'])return;this['_close']();}['_packet'](_0x20ec88){const _0x5407da=this['encoder']['encode'](_0x20ec88);for(let _0x38a44e=0x0;_0x38a44e<_0x5407da['length'];_0x38a44e++)this['engine']['write'](_0x5407da[_0x38a44e],_0x20ec88['options']);}['cleanup'](){this['subs']['forEach'](_0xba18cb=>_0xba18cb()),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'](_0x330a05,_0x23e5a5){this['cleanup'](),this['backoff']['reset'](),this['_readyState']='closed',this['emitReserved']('close',_0x330a05,_0x23e5a5),this['_reconnection']&&!this['skipReconnect']&&this['reconnect']();}['reconnect'](){if(this['_reconnecting']||this['skipReconnect'])return this;const _0x409270=this;if(this['backoff']['attempts']>=this['_reconnectionAttempts'])this['backoff']['reset'](),this['emitReserved']('reconnect_failed'),this['_reconnecting']=!0x1;else{const _0x538c36=this['backoff']['duration']();this['_reconnecting']=!0x0;const _0x39640f=this['setTimeoutFn'](()=>{_0x409270['skipReconnect']||(this['emitReserved']('reconnect_attempt',_0x409270['backoff']['attempts']),_0x409270['skipReconnect']||_0x409270['open'](_0x11a25d=>{_0x11a25d?(_0x409270['_reconnecting']=!0x1,_0x409270['reconnect'](),this['emitReserved']('reconnect_error',_0x11a25d)):_0x409270['onreconnect']();}));},_0x538c36);this['opts']['autoUnref']&&_0x39640f['unref'](),this['subs']['push'](()=>{this['clearTimeoutFn'](_0x39640f);});}}['onreconnect'](){const _0x2f9136=this['backoff']['attempts'];this['_reconnecting']=!0x1,this['backoff']['reset'](),this['emitReserved']('reconnect',_0x2f9136);}};const _0x13ee41={};function _0x5eb10b(_0x293395,_0x7b0c78){'object'==typeof _0x293395&&(_0x7b0c78=_0x293395,_0x293395=void 0x0);const _0x3e05db=function(_0x32fdfe,_0x19b10a='',_0x30383d){let _0x2344f9=_0x32fdfe;_0x30383d=_0x30383d||'undefined'!=typeof location&&location,null==_0x32fdfe&&(_0x32fdfe=_0x30383d['protocol']+'//'+_0x30383d['host']),'string'==typeof _0x32fdfe&&('/'===_0x32fdfe['charAt'](0x0)&&(_0x32fdfe='/'===_0x32fdfe['charAt'](0x1)?_0x30383d['protocol']+_0x32fdfe:_0x30383d['host']+_0x32fdfe),/^(https?|wss?):\/\//['test'](_0x32fdfe)||(_0x32fdfe=void 0x0!==_0x30383d?_0x30383d['protocol']+'//'+_0x32fdfe:'https://'+_0x32fdfe),_0x2344f9=_0x442532(_0x32fdfe)),_0x2344f9['port']||(/^(http|ws)$/['test'](_0x2344f9['protocol'])?_0x2344f9['port']='80':/^(http|ws)s$/['test'](_0x2344f9['protocol'])&&(_0x2344f9['port']='443')),_0x2344f9['path']=_0x2344f9['path']||'/';const _0x4d38be=-0x1!==_0x2344f9['host']['indexOf'](':')?'['+_0x2344f9['host']+']':_0x2344f9['host'];return _0x2344f9['id']=_0x2344f9['protocol']+'://'+_0x4d38be+':'+_0x2344f9['port']+_0x19b10a,_0x2344f9['href']=_0x2344f9['protocol']+'://'+_0x4d38be+(_0x30383d&&_0x30383d['port']===_0x2344f9['port']?'':':'+_0x2344f9['port']),_0x2344f9;}(_0x293395,(_0x7b0c78=_0x7b0c78||{})['path']||'/socket.io'),_0x2db14f=_0x3e05db['source'],_0x277a48=_0x3e05db['id'],_0x3b5798=_0x3e05db['path'],_0xbddf84=_0x13ee41[_0x277a48]&&_0x3b5798 in _0x13ee41[_0x277a48]['nsps'];let _0x466cdb;return _0x7b0c78['forceNew']||_0x7b0c78['force\x20new\x20connection']||!0x1===_0x7b0c78['multiplex']||_0xbddf84?_0x466cdb=new _0x2492b1(_0x2db14f,_0x7b0c78):(_0x13ee41[_0x277a48]||(_0x13ee41[_0x277a48]=new _0x2492b1(_0x2db14f,_0x7b0c78)),_0x466cdb=_0x13ee41[_0x277a48]),_0x3e05db['query']&&!_0x7b0c78['query']&&(_0x7b0c78['query']=_0x3e05db['queryKey']),_0x466cdb['socket'](_0x3e05db['path'],_0x7b0c78);}Object['assign'](_0x5eb10b,{'Manager':_0x2492b1,'Socket':_0x269868,'io':_0x5eb10b,'connect':_0x5eb10b});var _0x3d9ff6=_0x583040((_0x1483a2,_0x50bd37)=>{_0x50bd37['exports']=function(_0x9d8e16,_0x98a8a){if(_0x98a8a=_0x98a8a['split'](':')[0x0],!(_0x9d8e16=+_0x9d8e16))return!0x1;switch(_0x98a8a){case'http':case'ws':return 0x50!==_0x9d8e16;case'https':case'wss':return 0x1bb!==_0x9d8e16;case'ftp':return 0x15!==_0x9d8e16;case'gopher':return 0x46!==_0x9d8e16;case'file':return!0x1;}return 0x0!==_0x9d8e16;};}),_0xa9d96d=_0x583040(_0x676848=>{var _0xf6814d=Object['prototype']['hasOwnProperty'];function _0x4afe74(_0xa7de70){try{return decodeURIComponent(_0xa7de70['replace'](/\+/g,'\x20'));}catch(_0x42317e){return null;}}function _0xf29ce(_0x1c7e8b){try{return encodeURIComponent(_0x1c7e8b);}catch(_0x527710){return null;}}_0x676848['stringify']=function(_0x492cdf,_0x4a4029){_0x4a4029=_0x4a4029||'';var _0x3588f9,_0x2b2da8,_0x52b5c7=[];for(_0x2b2da8 in('string'!=typeof _0x4a4029&&(_0x4a4029='?'),_0x492cdf))if(_0xf6814d['call'](_0x492cdf,_0x2b2da8)){if((_0x3588f9=_0x492cdf[_0x2b2da8])||null!=_0x3588f9&&!isNaN(_0x3588f9)||(_0x3588f9=''),_0x2b2da8=_0xf29ce(_0x2b2da8),_0x3588f9=_0xf29ce(_0x3588f9),null===_0x2b2da8||null===_0x3588f9)continue;_0x52b5c7['push'](_0x2b2da8+'='+_0x3588f9);}return _0x52b5c7['length']?_0x4a4029+_0x52b5c7['join']('&'):'';},_0x676848['parse']=function(_0x410518){for(var _0x8547d2,_0x2ced1c=/([^=?#&]+)=?([^&]*)/g,_0x5e9dc2={};_0x8547d2=_0x2ced1c['exec'](_0x410518);){var _0x4b9098=_0x4afe74(_0x8547d2[0x1]),_0x98793=_0x4afe74(_0x8547d2[0x2]);null===_0x4b9098||null===_0x98793||_0x4b9098 in _0x5e9dc2||(_0x5e9dc2[_0x4b9098]=_0x98793);}return _0x5e9dc2;};}),_0x96897c=_0x583040((_0x8b85f5,_0x3d4521)=>{var _0x1016e7=_0x3d9ff6(),_0x4c1b42=_0xa9d96d(),_0x3db5d0=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,_0x1ecef0=/[\n\r\t]/g,_0x46a4ed=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,_0x96340d=/:\d+$/,_0x12161b=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,_0x431e28=/^[a-zA-Z]:/;function _0x4ead06(_0x21fa3c){return(_0x21fa3c||'')['toString']()['replace'](_0x3db5d0,'');}var _0x2a0f45=[['#','hash'],['?','query'],function(_0x370bf5,_0x51a2f2){return _0x34632f(_0x51a2f2['protocol'])?_0x370bf5['replace'](/\\/g,'/'):_0x370bf5;},['/','pathname'],['@','auth',0x1],[NaN,'host',void 0x0,0x1,0x1],[/:(\d*)$/,'port',void 0x0,0x1],[NaN,'hostname',void 0x0,0x1,0x1]],_0x5f2680={'hash':0x1,'query':0x1};function _0x116d96(_0xbd94ab){var _0x453fa5,_0x3ec162=('undefined'!=typeof window?window:'undefined'!=typeof global?global:'undefined'!=typeof self?self:{})['location']||{},_0x5ea8c6={},_0x2ff4f6=typeof(_0xbd94ab=_0xbd94ab||_0x3ec162);if('blob:'===_0xbd94ab['protocol'])_0x5ea8c6=new _0x5475c8(unescape(_0xbd94ab['pathname']),{});else{if('string'===_0x2ff4f6){for(_0x453fa5 in(_0x5ea8c6=new _0x5475c8(_0xbd94ab,{}),_0x5f2680))delete _0x5ea8c6[_0x453fa5];}else{if('object'===_0x2ff4f6){for(_0x453fa5 in _0xbd94ab)_0x453fa5 in _0x5f2680||(_0x5ea8c6[_0x453fa5]=_0xbd94ab[_0x453fa5]);void 0x0===_0x5ea8c6['slashes']&&(_0x5ea8c6['slashes']=_0x46a4ed['test'](_0xbd94ab['href']));}}}return _0x5ea8c6;}function _0x34632f(_0x592dd7){return'file:'===_0x592dd7||'ftp:'===_0x592dd7||'http:'===_0x592dd7||'https:'===_0x592dd7||'ws:'===_0x592dd7||'wss:'===_0x592dd7;}function _0xd347f(_0x1889d6,_0x47030d){_0x1889d6=(_0x1889d6=_0x4ead06(_0x1889d6))['replace'](_0x1ecef0,''),_0x47030d=_0x47030d||{};var _0x5e9d2e,_0x3f2c24=_0x12161b['exec'](_0x1889d6),_0x2b0ab0=_0x3f2c24[0x1]?_0x3f2c24[0x1]['toLowerCase']():'',_0x3e6022=!!_0x3f2c24[0x2],_0x361404=!!_0x3f2c24[0x3],_0xd30770=0x0;return _0x3e6022?_0x361404?(_0x5e9d2e=_0x3f2c24[0x2]+_0x3f2c24[0x3]+_0x3f2c24[0x4],_0xd30770=_0x3f2c24[0x2]['length']+_0x3f2c24[0x3]['length']):(_0x5e9d2e=_0x3f2c24[0x2]+_0x3f2c24[0x4],_0xd30770=_0x3f2c24[0x2]['length']):_0x361404?(_0x5e9d2e=_0x3f2c24[0x3]+_0x3f2c24[0x4],_0xd30770=_0x3f2c24[0x3]['length']):_0x5e9d2e=_0x3f2c24[0x4],'file:'===_0x2b0ab0?_0xd30770>=0x2&&(_0x5e9d2e=_0x5e9d2e['slice'](0x2)):_0x34632f(_0x2b0ab0)?_0x5e9d2e=_0x3f2c24[0x4]:_0x2b0ab0?_0x3e6022&&(_0x5e9d2e=_0x5e9d2e['slice'](0x2)):_0xd30770>=0x2&&_0x34632f(_0x47030d['protocol'])&&(_0x5e9d2e=_0x3f2c24[0x4]),{'protocol':_0x2b0ab0,'slashes':_0x3e6022||_0x34632f(_0x2b0ab0),'slashesCount':_0xd30770,'rest':_0x5e9d2e};}function _0x5475c8(_0x301e74,_0x83c7a9,_0xb9f008){if(_0x301e74=(_0x301e74=_0x4ead06(_0x301e74))['replace'](_0x1ecef0,''),!(this instanceof _0x5475c8))return new _0x5475c8(_0x301e74,_0x83c7a9,_0xb9f008);var _0x5a9b95,_0x5dbcbd,_0x3ebb93,_0x4afd01,_0xd3d85d,_0x1d3358,_0x2a444d=_0x2a0f45['slice'](),_0x36b99a=typeof _0x83c7a9,_0x3b5bd1=this,_0xe2408c=0x0;for('object'!==_0x36b99a&&'string'!==_0x36b99a&&(_0xb9f008=_0x83c7a9,_0x83c7a9=null),_0xb9f008&&'function'!=typeof _0xb9f008&&(_0xb9f008=_0x4c1b42['parse']),_0x5a9b95=!(_0x5dbcbd=_0xd347f(_0x301e74||'',_0x83c7a9=_0x116d96(_0x83c7a9)))['protocol']&&!_0x5dbcbd['slashes'],_0x3b5bd1['slashes']=_0x5dbcbd['slashes']||_0x5a9b95&&_0x83c7a9['slashes'],_0x3b5bd1['protocol']=_0x5dbcbd['protocol']||_0x83c7a9['protocol']||'',_0x301e74=_0x5dbcbd['rest'],('file:'===_0x5dbcbd['protocol']&&(0x2!==_0x5dbcbd['slashesCount']||_0x431e28['test'](_0x301e74))||!_0x5dbcbd['slashes']&&(_0x5dbcbd['protocol']||_0x5dbcbd['slashesCount']<0x2||!_0x34632f(_0x3b5bd1['protocol'])))&&(_0x2a444d[0x3]=[/(.*)/,'pathname']);_0xe2408c<_0x2a444d['length'];_0xe2408c++)'function'!=typeof(_0x4afd01=_0x2a444d[_0xe2408c])?(_0x3ebb93=_0x4afd01[0x0],_0x1d3358=_0x4afd01[0x1],_0x3ebb93!=_0x3ebb93?_0x3b5bd1[_0x1d3358]=_0x301e74:'string'==typeof _0x3ebb93?~(_0xd3d85d='@'===_0x3ebb93?_0x301e74['lastIndexOf'](_0x3ebb93):_0x301e74['indexOf'](_0x3ebb93))&&('number'==typeof _0x4afd01[0x2]?(_0x3b5bd1[_0x1d3358]=_0x301e74['slice'](0x0,_0xd3d85d),_0x301e74=_0x301e74['slice'](_0xd3d85d+_0x4afd01[0x2])):(_0x3b5bd1[_0x1d3358]=_0x301e74['slice'](_0xd3d85d),_0x301e74=_0x301e74['slice'](0x0,_0xd3d85d))):(_0xd3d85d=_0x3ebb93['exec'](_0x301e74))&&(_0x3b5bd1[_0x1d3358]=_0xd3d85d[0x1],_0x301e74=_0x301e74['slice'](0x0,_0xd3d85d['index'])),_0x3b5bd1[_0x1d3358]=_0x3b5bd1[_0x1d3358]||_0x5a9b95&&_0x4afd01[0x3]&&_0x83c7a9[_0x1d3358]||'',_0x4afd01[0x4]&&(_0x3b5bd1[_0x1d3358]=_0x3b5bd1[_0x1d3358]['toLowerCase']())):_0x301e74=_0x4afd01(_0x301e74,_0x3b5bd1);_0xb9f008&&(_0x3b5bd1['query']=_0xb9f008(_0x3b5bd1['query'])),_0x5a9b95&&_0x83c7a9['slashes']&&'/'!==_0x3b5bd1['pathname']['charAt'](0x0)&&(''!==_0x3b5bd1['pathname']||''!==_0x83c7a9['pathname'])&&(_0x3b5bd1['pathname']=function(_0x58ef0a,_0x1743f2){if(''===_0x58ef0a)return _0x1743f2;for(var _0x3083aa=(_0x1743f2||'/')['split']('/')['slice'](0x0,-0x1)['concat'](_0x58ef0a['split']('/')),_0x5a7910=_0x3083aa['length'],_0x123004=_0x3083aa[_0x5a7910-0x1],_0x2e293b=!0x1,_0x130518=0x0;_0x5a7910--;)'.'===_0x3083aa[_0x5a7910]?_0x3083aa['splice'](_0x5a7910,0x1):'..'===_0x3083aa[_0x5a7910]?(_0x3083aa['splice'](_0x5a7910,0x1),_0x130518++):_0x130518&&(0x0===_0x5a7910&&(_0x2e293b=!0x0),_0x3083aa['splice'](_0x5a7910,0x1),_0x130518--);return _0x2e293b&&_0x3083aa['unshift'](''),'.'!==_0x123004&&'..'!==_0x123004||_0x3083aa['push'](''),_0x3083aa['join']('/');}(_0x3b5bd1['pathname'],_0x83c7a9['pathname'])),'/'!==_0x3b5bd1['pathname']['charAt'](0x0)&&_0x34632f(_0x3b5bd1['protocol'])&&(_0x3b5bd1['pathname']='/'+_0x3b5bd1['pathname']),_0x1016e7(_0x3b5bd1['port'],_0x3b5bd1['protocol'])||(_0x3b5bd1['host']=_0x3b5bd1['hostname'],_0x3b5bd1['port']=''),_0x3b5bd1['username']=_0x3b5bd1['password']='',_0x3b5bd1['auth']&&(~(_0xd3d85d=_0x3b5bd1['auth']['indexOf'](':'))?(_0x3b5bd1['username']=_0x3b5bd1['auth']['slice'](0x0,_0xd3d85d),_0x3b5bd1['username']=encodeURIComponent(decodeURIComponent(_0x3b5bd1['username'])),_0x3b5bd1['password']=_0x3b5bd1['auth']['slice'](_0xd3d85d+0x1),_0x3b5bd1['password']=encodeURIComponent(decodeURIComponent(_0x3b5bd1['password']))):_0x3b5bd1['username']=encodeURIComponent(decodeURIComponent(_0x3b5bd1['auth'])),_0x3b5bd1['auth']=_0x3b5bd1['password']?_0x3b5bd1['username']+':'+_0x3b5bd1['password']:_0x3b5bd1['username']),_0x3b5bd1['origin']='file:'!==_0x3b5bd1['protocol']&&_0x34632f(_0x3b5bd1['protocol'])&&_0x3b5bd1['host']?_0x3b5bd1['protocol']+'//'+_0x3b5bd1['host']:'null',_0x3b5bd1['href']=_0x3b5bd1['toString']();}_0x5475c8['prototype']={'set':function(_0xba5f21,_0x4646fe,_0x464ae1){var _0x4f6c6a=this;switch(_0xba5f21){case'query':'string'==typeof _0x4646fe&&_0x4646fe['length']&&(_0x4646fe=(_0x464ae1||_0x4c1b42['parse'])(_0x4646fe)),_0x4f6c6a[_0xba5f21]=_0x4646fe;break;case'port':_0x4f6c6a[_0xba5f21]=_0x4646fe,_0x1016e7(_0x4646fe,_0x4f6c6a['protocol'])?_0x4646fe&&(_0x4f6c6a['host']=_0x4f6c6a['hostname']+':'+_0x4646fe):(_0x4f6c6a['host']=_0x4f6c6a['hostname'],_0x4f6c6a[_0xba5f21]='');break;case'hostname':_0x4f6c6a[_0xba5f21]=_0x4646fe,_0x4f6c6a['port']&&(_0x4646fe+=':'+_0x4f6c6a['port']),_0x4f6c6a['host']=_0x4646fe;break;case'host':_0x4f6c6a[_0xba5f21]=_0x4646fe,_0x96340d['test'](_0x4646fe)?(_0x4646fe=_0x4646fe['split'](':'),_0x4f6c6a['port']=_0x4646fe['pop'](),_0x4f6c6a['hostname']=_0x4646fe['join'](':')):(_0x4f6c6a['hostname']=_0x4646fe,_0x4f6c6a['port']='');break;case'protocol':_0x4f6c6a['protocol']=_0x4646fe['toLowerCase'](),_0x4f6c6a['slashes']=!_0x464ae1;break;case'pathname':case'hash':if(_0x4646fe){var _0x8d86b4='pathname'===_0xba5f21?'/':'#';_0x4f6c6a[_0xba5f21]=_0x4646fe['charAt'](0x0)!==_0x8d86b4?_0x8d86b4+_0x4646fe:_0x4646fe;}else _0x4f6c6a[_0xba5f21]=_0x4646fe;break;case'username':case'password':_0x4f6c6a[_0xba5f21]=encodeURIComponent(_0x4646fe);break;case'auth':var _0x3b5d3e=_0x4646fe['indexOf'](':');~_0x3b5d3e?(_0x4f6c6a['username']=_0x4646fe['slice'](0x0,_0x3b5d3e),_0x4f6c6a['username']=encodeURIComponent(decodeURIComponent(_0x4f6c6a['username'])),_0x4f6c6a['password']=_0x4646fe['slice'](_0x3b5d3e+0x1),_0x4f6c6a['password']=encodeURIComponent(decodeURIComponent(_0x4f6c6a['password']))):_0x4f6c6a['username']=encodeURIComponent(decodeURIComponent(_0x4646fe));}for(var _0x3306af=0x0;_0x3306af<_0x2a0f45['length'];_0x3306af++){var _0x2c3811=_0x2a0f45[_0x3306af];_0x2c3811[0x4]&&(_0x4f6c6a[_0x2c3811[0x1]]=_0x4f6c6a[_0x2c3811[0x1]]['toLowerCase']());}return _0x4f6c6a['auth']=_0x4f6c6a['password']?_0x4f6c6a['username']+':'+_0x4f6c6a['password']:_0x4f6c6a['username'],_0x4f6c6a['origin']='file:'!==_0x4f6c6a['protocol']&&_0x34632f(_0x4f6c6a['protocol'])&&_0x4f6c6a['host']?_0x4f6c6a['protocol']+'//'+_0x4f6c6a['host']:'null',_0x4f6c6a['href']=_0x4f6c6a['toString'](),_0x4f6c6a;},'toString':function(_0x35cb7a){_0x35cb7a&&'function'==typeof _0x35cb7a||(_0x35cb7a=_0x4c1b42['stringify']);var _0x44bcf6,_0x1015b6=this,_0x42bab7=_0x1015b6['host'],_0x174dde=_0x1015b6['protocol'];_0x174dde&&':'!==_0x174dde['charAt'](_0x174dde['length']-0x1)&&(_0x174dde+=':');var _0x4fa7eb=_0x174dde+(_0x1015b6['protocol']&&_0x1015b6['slashes']||_0x34632f(_0x1015b6['protocol'])?'//':'');return _0x1015b6['username']?(_0x4fa7eb+=_0x1015b6['username'],_0x1015b6['password']&&(_0x4fa7eb+=':'+_0x1015b6['password']),_0x4fa7eb+='@'):_0x1015b6['password']?(_0x4fa7eb+=':'+_0x1015b6['password'],_0x4fa7eb+='@'):'file:'!==_0x1015b6['protocol']&&_0x34632f(_0x1015b6['protocol'])&&!_0x42bab7&&'/'!==_0x1015b6['pathname']&&(_0x4fa7eb+='@'),(':'===_0x42bab7[_0x42bab7['length']-0x1]||_0x96340d['test'](_0x1015b6['hostname'])&&!_0x1015b6['port'])&&(_0x42bab7+=':'),_0x4fa7eb+=_0x42bab7+_0x1015b6['pathname'],(_0x44bcf6='object'==typeof _0x1015b6['query']?_0x35cb7a(_0x1015b6['query']):_0x1015b6['query'])&&(_0x4fa7eb+='?'!==_0x44bcf6['charAt'](0x0)?'?'+_0x44bcf6:_0x44bcf6),_0x1015b6['hash']&&(_0x4fa7eb+=_0x1015b6['hash']),_0x4fa7eb;}},_0x5475c8['extractProtocol']=_0xd347f,_0x5475c8['location']=_0x116d96,_0x5475c8['trimLeft']=_0x4ead06,_0x5475c8['qs']=_0x4c1b42,_0x3d4521['exports']=_0x5475c8;});const _0x190183=new Uint8Array(0x10),_0x462cb3=[];for(let _0x138795=0x0;_0x138795<0x100;++_0x138795)_0x462cb3['push']((_0x138795+0x100)['toString'](0x10)['slice'](0x1));function _0x5bf8c1(_0x224532,_0xb89917,_0x3998a0){return _0xb89917||_0x224532||!crypto['randomUUID']?function(_0x4fbb1e,_0x108cc1,_0x1236ee){_0x4fbb1e=_0x4fbb1e||{};const _0x27c691=_0x4fbb1e['random']??_0x4fbb1e['rng']?.()??crypto['getRandomValues'](_0x190183);if(_0x27c691['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');if(_0x27c691[0x6]=0xf&_0x27c691[0x6]|0x40,_0x27c691[0x8]=0x3f&_0x27c691[0x8]|0x80,_0x108cc1){if((_0x1236ee=_0x1236ee||0x0)<0x0||_0x1236ee+0x10>_0x108cc1['length'])throw new RangeError('UUID\x20byte\x20range\x20'+_0x1236ee+':'+(_0x1236ee+0xf)+'\x20is\x20out\x20of\x20buffer\x20bounds');for(let _0x10ba7d=0x0;_0x10ba7d<0x10;++_0x10ba7d)_0x108cc1[_0x1236ee+_0x10ba7d]=_0x27c691[_0x10ba7d];return _0x108cc1;}return function(_0xe85d4a,_0x212236=0x0){return(_0x462cb3[_0xe85d4a[_0x212236+0x0]]+_0x462cb3[_0xe85d4a[_0x212236+0x1]]+_0x462cb3[_0xe85d4a[_0x212236+0x2]]+_0x462cb3[_0xe85d4a[_0x212236+0x3]]+'-'+_0x462cb3[_0xe85d4a[_0x212236+0x4]]+_0x462cb3[_0xe85d4a[_0x212236+0x5]]+'-'+_0x462cb3[_0xe85d4a[_0x212236+0x6]]+_0x462cb3[_0xe85d4a[_0x212236+0x7]]+'-'+_0x462cb3[_0xe85d4a[_0x212236+0x8]]+_0x462cb3[_0xe85d4a[_0x212236+0x9]]+'-'+_0x462cb3[_0xe85d4a[_0x212236+0xa]]+_0x462cb3[_0xe85d4a[_0x212236+0xb]]+_0x462cb3[_0xe85d4a[_0x212236+0xc]]+_0x462cb3[_0xe85d4a[_0x212236+0xd]]+_0x462cb3[_0xe85d4a[_0x212236+0xe]]+_0x462cb3[_0xe85d4a[_0x212236+0xf]])['toLowerCase']();}(_0x27c691);}(_0x224532,_0xb89917,_0x3998a0):crypto['randomUUID']();}var _0x371d34=_0x5a534b(_0x987a89(),0x1),_0x29900d=_0x5a534b(_0x96897c(),0x1),_0x596fc5=class{static ['DESCRIPTOR_NAME'];static ['DESCRIPTOR'];constructor(..._0x35d721){}},_0x199557=class extends _0x596fc5{static ['TYPE']='1000';static ['READABLE_TYPE_NAME'];constructor(..._0x5b4d2f){super();}static['fromJSON'](_0x4fb58d){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}},_0x4c38b5=class GetUserMessage extends _0x199557{['id'];static ['TYPE']='21';static ['READABLE_TYPE_NAME']='getUser';static ['DESCRIPTOR_NAME']='GetUserMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x533863){super(),this['id']=_0x533863;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x55e4ba){return new GetUserMessage(_0x55e4ba['id']);}},_0x357d2a=class GetUserResponse extends _0x199557{['attributes'];static ['DESCRIPTOR_NAME']='GetUserResponse';static ['DESCRIPTOR']={'fields':{'attributes':{'rule':'repeated','type':'KeyValueDescriptor','id':0x1}}};constructor(_0x5648b2){super(),this['attributes']=_0x5648b2;}['toJSON'](){return{'attributes':Object['keys'](this['attributes'])['map'](_0x2a1e81=>({'key':_0x2a1e81,'value':JSON['stringify'](this['attributes'][_0x2a1e81])}))};}static['fromJSON'](_0x2cd51e){return new GetUserResponse(_0x2cd51e['attributes']['reduce']((_0x178165,_0x5c39b4)=>(_0x178165[_0x5c39b4['key']]=_0x5c39b4['value']?JSON['parse'](_0x5c39b4['value']):null,_0x178165),{}));}};const _0x12f8c7=((()=>{var _0x105dc2=_0x371d34['default']['Reader'],_0x55d9b7=_0x371d34['default']['Writer'],_0x222891=_0x371d34['default']['util'],_0xbccd8d=_0x371d34['default']['roots']['default']||(_0x371d34['default']['roots']['default']={});return _0xbccd8d['StringStringPacketDataMessage']=(function(){function _0x18fb4e(_0x5b0188){if(_0x5b0188){for(var _0x565f58=Object['keys'](_0x5b0188),_0x49660b=0x0;_0x49660b<_0x565f58['length'];++_0x49660b)null!=_0x5b0188[_0x565f58[_0x49660b]]&&'__proto__'!==_0x565f58[_0x49660b]&&(this[_0x565f58[_0x49660b]]=_0x5b0188[_0x565f58[_0x49660b]]);}}return _0x18fb4e['prototype']['data']='',_0x18fb4e['prototype']['data1']='',_0x18fb4e['create']=function(_0x14cea9){return new _0x18fb4e(_0x14cea9);},_0x18fb4e['encode']=function(_0x11a08f,_0x243334,_0x3ed1c6){if(_0x243334||(_0x243334=_0x55d9b7['create']()),void 0x0===_0x3ed1c6&&(_0x3ed1c6=0x0),_0x3ed1c6>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x11a08f['data']&&Object['hasOwnProperty']['call'](_0x11a08f,'data')&&_0x243334['uint32'](0xa)['string'](_0x11a08f['data']),null!=_0x11a08f['data1']&&Object['hasOwnProperty']['call'](_0x11a08f,'data1')&&_0x243334['uint32'](0x12)['string'](_0x11a08f['data1']),_0x243334;},_0x18fb4e['encodeDelimited']=function(_0x1b16dc,_0x583d65){return this['encode'](_0x1b16dc,_0x583d65)['ldelim']();},_0x18fb4e['decode']=function(_0x5c5d76,_0x5241b9,_0x1da10e,_0xb5e7f5){if(_0x5c5d76 instanceof _0x105dc2||(_0x5c5d76=_0x105dc2['create'](_0x5c5d76)),void 0x0===_0xb5e7f5&&(_0xb5e7f5=0x0),_0xb5e7f5>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x58f907=void 0x0===_0x5241b9?_0x5c5d76['len']:_0x5c5d76['pos']+_0x5241b9,_0x56b4f7=new _0xbccd8d['StringStringPacketDataMessage']();_0x5c5d76['pos']<_0x58f907;){var _0x5c1d74=_0x5c5d76['uint32']();if(_0x5c1d74===_0x1da10e)break;switch(_0x5c1d74>>>0x3){case 0x1:_0x56b4f7['data']=_0x5c5d76['string']();break;case 0x2:_0x56b4f7['data1']=_0x5c5d76['string']();break;default:_0x5c5d76['skipType'](0x7&_0x5c1d74,_0xb5e7f5);}}return _0x56b4f7;},_0x18fb4e['decodeDelimited']=function(_0x17c090){return _0x17c090 instanceof _0x105dc2||(_0x17c090=new _0x105dc2(_0x17c090)),this['decode'](_0x17c090,_0x17c090['uint32']());},_0x18fb4e['verify']=function(_0x1515cb,_0x2e0db9){return'object'!=typeof _0x1515cb||null===_0x1515cb?'object\x20expected':(void 0x0===_0x2e0db9&&(_0x2e0db9=0x0),_0x2e0db9>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1515cb['data']&&Object['hasOwnProperty']['call'](_0x1515cb,'data')&&!_0x222891['isString'](_0x1515cb['data'])?'data:\x20string\x20expected':null!=_0x1515cb['data1']&&Object['hasOwnProperty']['call'](_0x1515cb,'data1')&&!_0x222891['isString'](_0x1515cb['data1'])?'data1:\x20string\x20expected':null);},_0x18fb4e['fromObject']=function(_0x30717c,_0x34f9e6){if(_0x30717c instanceof _0xbccd8d['StringStringPacketDataMessage'])return _0x30717c;if(!_0x222891['isObject'](_0x30717c))throw TypeError('.StringStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x34f9e6&&(_0x34f9e6=0x0),_0x34f9e6>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x32796d=new _0xbccd8d['StringStringPacketDataMessage']();return null!=_0x30717c['data']&&(_0x32796d['data']=String(_0x30717c['data'])),null!=_0x30717c['data1']&&(_0x32796d['data1']=String(_0x30717c['data1'])),_0x32796d;},_0x18fb4e['toObject']=function(_0x3fdda8,_0x2bd7ad,_0x5f17db){if(_0x2bd7ad||(_0x2bd7ad={}),void 0x0===_0x5f17db&&(_0x5f17db=0x0),_0x5f17db>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1bd89b={};return _0x2bd7ad['defaults']&&(_0x1bd89b['data']='',_0x1bd89b['data1']=''),null!=_0x3fdda8['data']&&Object['hasOwnProperty']['call'](_0x3fdda8,'data')&&(_0x1bd89b['data']=_0x3fdda8['data']),null!=_0x3fdda8['data1']&&Object['hasOwnProperty']['call'](_0x3fdda8,'data1')&&(_0x1bd89b['data1']=_0x3fdda8['data1']),_0x1bd89b;},_0x18fb4e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x18fb4e['getTypeUrl']=function(_0x511b2a){return void 0x0===_0x511b2a&&(_0x511b2a='type.googleapis.com'),_0x511b2a+'/StringStringPacketDataMessage';},_0x18fb4e;}()),_0xbccd8d['StringObjectPacketDataMessage']=(function(){function _0x3eb780(_0x34151b){if(_0x34151b){for(var _0x17bb91=Object['keys'](_0x34151b),_0x452a68=0x0;_0x452a68<_0x17bb91['length'];++_0x452a68)null!=_0x34151b[_0x17bb91[_0x452a68]]&&'__proto__'!==_0x17bb91[_0x452a68]&&(this[_0x17bb91[_0x452a68]]=_0x34151b[_0x17bb91[_0x452a68]]);}}return _0x3eb780['prototype']['data']='',_0x3eb780['prototype']['data1']='',_0x3eb780['create']=function(_0x2ab401){return new _0x3eb780(_0x2ab401);},_0x3eb780['encode']=function(_0x485658,_0x414983,_0x36178e){if(_0x414983||(_0x414983=_0x55d9b7['create']()),void 0x0===_0x36178e&&(_0x36178e=0x0),_0x36178e>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x485658['data']&&Object['hasOwnProperty']['call'](_0x485658,'data')&&_0x414983['uint32'](0xa)['string'](_0x485658['data']),null!=_0x485658['data1']&&Object['hasOwnProperty']['call'](_0x485658,'data1')&&_0x414983['uint32'](0x12)['string'](_0x485658['data1']),_0x414983;},_0x3eb780['encodeDelimited']=function(_0xc42202,_0x2150c0){return this['encode'](_0xc42202,_0x2150c0)['ldelim']();},_0x3eb780['decode']=function(_0x23acdd,_0x2fba44,_0x155e3c,_0x362e02){if(_0x23acdd instanceof _0x105dc2||(_0x23acdd=_0x105dc2['create'](_0x23acdd)),void 0x0===_0x362e02&&(_0x362e02=0x0),_0x362e02>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4bbf57=void 0x0===_0x2fba44?_0x23acdd['len']:_0x23acdd['pos']+_0x2fba44,_0x507304=new _0xbccd8d['StringObjectPacketDataMessage']();_0x23acdd['pos']<_0x4bbf57;){var _0x5b95aa=_0x23acdd['uint32']();if(_0x5b95aa===_0x155e3c)break;switch(_0x5b95aa>>>0x3){case 0x1:_0x507304['data']=_0x23acdd['string']();break;case 0x2:_0x507304['data1']=_0x23acdd['string']();break;default:_0x23acdd['skipType'](0x7&_0x5b95aa,_0x362e02);}}return _0x507304;},_0x3eb780['decodeDelimited']=function(_0x29b45c){return _0x29b45c instanceof _0x105dc2||(_0x29b45c=new _0x105dc2(_0x29b45c)),this['decode'](_0x29b45c,_0x29b45c['uint32']());},_0x3eb780['verify']=function(_0x2070b3,_0x245f8b){return'object'!=typeof _0x2070b3||null===_0x2070b3?'object\x20expected':(void 0x0===_0x245f8b&&(_0x245f8b=0x0),_0x245f8b>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2070b3['data']&&Object['hasOwnProperty']['call'](_0x2070b3,'data')&&!_0x222891['isString'](_0x2070b3['data'])?'data:\x20string\x20expected':null!=_0x2070b3['data1']&&Object['hasOwnProperty']['call'](_0x2070b3,'data1')&&!_0x222891['isString'](_0x2070b3['data1'])?'data1:\x20string\x20expected':null);},_0x3eb780['fromObject']=function(_0x3bf0a3,_0x3bba31){if(_0x3bf0a3 instanceof _0xbccd8d['StringObjectPacketDataMessage'])return _0x3bf0a3;if(!_0x222891['isObject'](_0x3bf0a3))throw TypeError('.StringObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x3bba31&&(_0x3bba31=0x0),_0x3bba31>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x445662=new _0xbccd8d['StringObjectPacketDataMessage']();return null!=_0x3bf0a3['data']&&(_0x445662['data']=String(_0x3bf0a3['data'])),null!=_0x3bf0a3['data1']&&(_0x445662['data1']=String(_0x3bf0a3['data1'])),_0x445662;},_0x3eb780['toObject']=function(_0x556021,_0x114382,_0x2ea7e1){if(_0x114382||(_0x114382={}),void 0x0===_0x2ea7e1&&(_0x2ea7e1=0x0),_0x2ea7e1>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4cb501={};return _0x114382['defaults']&&(_0x4cb501['data']='',_0x4cb501['data1']=''),null!=_0x556021['data']&&Object['hasOwnProperty']['call'](_0x556021,'data')&&(_0x4cb501['data']=_0x556021['data']),null!=_0x556021['data1']&&Object['hasOwnProperty']['call'](_0x556021,'data1')&&(_0x4cb501['data1']=_0x556021['data1']),_0x4cb501;},_0x3eb780['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3eb780['getTypeUrl']=function(_0x537b6a){return void 0x0===_0x537b6a&&(_0x537b6a='type.googleapis.com'),_0x537b6a+'/StringObjectPacketDataMessage';},_0x3eb780;}()),_0xbccd8d['StringNumberPacketDataMessage']=(function(){function _0x38e82d(_0x2624b9){if(_0x2624b9){for(var _0x13c542=Object['keys'](_0x2624b9),_0x530ceb=0x0;_0x530ceb<_0x13c542['length'];++_0x530ceb)null!=_0x2624b9[_0x13c542[_0x530ceb]]&&'__proto__'!==_0x13c542[_0x530ceb]&&(this[_0x13c542[_0x530ceb]]=_0x2624b9[_0x13c542[_0x530ceb]]);}}return _0x38e82d['prototype']['data']='',_0x38e82d['prototype']['data1']=0x0,_0x38e82d['create']=function(_0x4e46be){return new _0x38e82d(_0x4e46be);},_0x38e82d['encode']=function(_0x548c4e,_0x191a1e,_0x26bc17){if(_0x191a1e||(_0x191a1e=_0x55d9b7['create']()),void 0x0===_0x26bc17&&(_0x26bc17=0x0),_0x26bc17>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x548c4e['data']&&Object['hasOwnProperty']['call'](_0x548c4e,'data')&&_0x191a1e['uint32'](0xa)['string'](_0x548c4e['data']),null!=_0x548c4e['data1']&&Object['hasOwnProperty']['call'](_0x548c4e,'data1')&&_0x191a1e['uint32'](0x10)['uint32'](_0x548c4e['data1']),_0x191a1e;},_0x38e82d['encodeDelimited']=function(_0x14a750,_0x17d5a1){return this['encode'](_0x14a750,_0x17d5a1)['ldelim']();},_0x38e82d['decode']=function(_0x551e95,_0x25a39d,_0x175ff5,_0x29c8b8){if(_0x551e95 instanceof _0x105dc2||(_0x551e95=_0x105dc2['create'](_0x551e95)),void 0x0===_0x29c8b8&&(_0x29c8b8=0x0),_0x29c8b8>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x15b0ec=void 0x0===_0x25a39d?_0x551e95['len']:_0x551e95['pos']+_0x25a39d,_0x4b408e=new _0xbccd8d['StringNumberPacketDataMessage']();_0x551e95['pos']<_0x15b0ec;){var _0x4ee235=_0x551e95['uint32']();if(_0x4ee235===_0x175ff5)break;switch(_0x4ee235>>>0x3){case 0x1:_0x4b408e['data']=_0x551e95['string']();break;case 0x2:_0x4b408e['data1']=_0x551e95['uint32']();break;default:_0x551e95['skipType'](0x7&_0x4ee235,_0x29c8b8);}}return _0x4b408e;},_0x38e82d['decodeDelimited']=function(_0x1c31ca){return _0x1c31ca instanceof _0x105dc2||(_0x1c31ca=new _0x105dc2(_0x1c31ca)),this['decode'](_0x1c31ca,_0x1c31ca['uint32']());},_0x38e82d['verify']=function(_0x150684,_0x4c1c5c){return'object'!=typeof _0x150684||null===_0x150684?'object\x20expected':(void 0x0===_0x4c1c5c&&(_0x4c1c5c=0x0),_0x4c1c5c>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x150684['data']&&Object['hasOwnProperty']['call'](_0x150684,'data')&&!_0x222891['isString'](_0x150684['data'])?'data:\x20string\x20expected':null!=_0x150684['data1']&&Object['hasOwnProperty']['call'](_0x150684,'data1')&&!_0x222891['isInteger'](_0x150684['data1'])?'data1:\x20integer\x20expected':null);},_0x38e82d['fromObject']=function(_0x57327a,_0x182417){if(_0x57327a instanceof _0xbccd8d['StringNumberPacketDataMessage'])return _0x57327a;if(!_0x222891['isObject'](_0x57327a))throw TypeError('.StringNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x182417&&(_0x182417=0x0),_0x182417>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1fc58a=new _0xbccd8d['StringNumberPacketDataMessage']();return null!=_0x57327a['data']&&(_0x1fc58a['data']=String(_0x57327a['data'])),null!=_0x57327a['data1']&&(_0x1fc58a['data1']=_0x57327a['data1']>>>0x0),_0x1fc58a;},_0x38e82d['toObject']=function(_0x46e5bb,_0x115f08,_0x4d9f38){if(_0x115f08||(_0x115f08={}),void 0x0===_0x4d9f38&&(_0x4d9f38=0x0),_0x4d9f38>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4cfc90={};return _0x115f08['defaults']&&(_0x4cfc90['data']='',_0x4cfc90['data1']=0x0),null!=_0x46e5bb['data']&&Object['hasOwnProperty']['call'](_0x46e5bb,'data')&&(_0x4cfc90['data']=_0x46e5bb['data']),null!=_0x46e5bb['data1']&&Object['hasOwnProperty']['call'](_0x46e5bb,'data1')&&(_0x4cfc90['data1']=_0x46e5bb['data1']),_0x4cfc90;},_0x38e82d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x38e82d['getTypeUrl']=function(_0x36e9d3){return void 0x0===_0x36e9d3&&(_0x36e9d3='type.googleapis.com'),_0x36e9d3+'/StringNumberPacketDataMessage';},_0x38e82d;}()),_0xbccd8d['StringBytesPacketDataMessage']=(function(){function _0x3113ad(_0x44d170){if(_0x44d170){for(var _0x1af3d8=Object['keys'](_0x44d170),_0x1819c4=0x0;_0x1819c4<_0x1af3d8['length'];++_0x1819c4)null!=_0x44d170[_0x1af3d8[_0x1819c4]]&&'__proto__'!==_0x1af3d8[_0x1819c4]&&(this[_0x1af3d8[_0x1819c4]]=_0x44d170[_0x1af3d8[_0x1819c4]]);}}return _0x3113ad['prototype']['data']='',_0x3113ad['prototype']['data1']=_0x222891['newBuffer']([]),_0x3113ad['create']=function(_0x4c26fb){return new _0x3113ad(_0x4c26fb);},_0x3113ad['encode']=function(_0x15eec0,_0x55234b,_0x2fcc4a){if(_0x55234b||(_0x55234b=_0x55d9b7['create']()),void 0x0===_0x2fcc4a&&(_0x2fcc4a=0x0),_0x2fcc4a>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x15eec0['data']&&Object['hasOwnProperty']['call'](_0x15eec0,'data')&&_0x55234b['uint32'](0xa)['string'](_0x15eec0['data']),null!=_0x15eec0['data1']&&Object['hasOwnProperty']['call'](_0x15eec0,'data1')&&_0x55234b['uint32'](0x12)['bytes'](_0x15eec0['data1']),_0x55234b;},_0x3113ad['encodeDelimited']=function(_0x2d0d5c,_0x568bdc){return this['encode'](_0x2d0d5c,_0x568bdc)['ldelim']();},_0x3113ad['decode']=function(_0x3b10b8,_0x524ab6,_0x27a282,_0x677b84){if(_0x3b10b8 instanceof _0x105dc2||(_0x3b10b8=_0x105dc2['create'](_0x3b10b8)),void 0x0===_0x677b84&&(_0x677b84=0x0),_0x677b84>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x58c24a=void 0x0===_0x524ab6?_0x3b10b8['len']:_0x3b10b8['pos']+_0x524ab6,_0x2c6ebf=new _0xbccd8d['StringBytesPacketDataMessage']();_0x3b10b8['pos']<_0x58c24a;){var _0x16928f=_0x3b10b8['uint32']();if(_0x16928f===_0x27a282)break;switch(_0x16928f>>>0x3){case 0x1:_0x2c6ebf['data']=_0x3b10b8['string']();break;case 0x2:_0x2c6ebf['data1']=_0x3b10b8['bytes']();break;default:_0x3b10b8['skipType'](0x7&_0x16928f,_0x677b84);}}return _0x2c6ebf;},_0x3113ad['decodeDelimited']=function(_0x4056ed){return _0x4056ed instanceof _0x105dc2||(_0x4056ed=new _0x105dc2(_0x4056ed)),this['decode'](_0x4056ed,_0x4056ed['uint32']());},_0x3113ad['verify']=function(_0xd8685f,_0x2c3e9d){return'object'!=typeof _0xd8685f||null===_0xd8685f?'object\x20expected':(void 0x0===_0x2c3e9d&&(_0x2c3e9d=0x0),_0x2c3e9d>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xd8685f['data']&&Object['hasOwnProperty']['call'](_0xd8685f,'data')&&!_0x222891['isString'](_0xd8685f['data'])?'data:\x20string\x20expected':null!=_0xd8685f['data1']&&Object['hasOwnProperty']['call'](_0xd8685f,'data1')&&!(_0xd8685f['data1']&&'number'==typeof _0xd8685f['data1']['length']||_0x222891['isString'](_0xd8685f['data1']))?'data1:\x20buffer\x20expected':null);},_0x3113ad['fromObject']=function(_0x571743,_0x25f54c){if(_0x571743 instanceof _0xbccd8d['StringBytesPacketDataMessage'])return _0x571743;if(!_0x222891['isObject'](_0x571743))throw TypeError('.StringBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x25f54c&&(_0x25f54c=0x0),_0x25f54c>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x228178=new _0xbccd8d['StringBytesPacketDataMessage']();return null!=_0x571743['data']&&(_0x228178['data']=String(_0x571743['data'])),null!=_0x571743['data1']&&('string'==typeof _0x571743['data1']?_0x222891['base64']['decode'](_0x571743['data1'],_0x228178['data1']=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x571743['data1'])),0x0):_0x571743['data1']['length']>=0x0&&(_0x228178['data1']=_0x571743['data1'])),_0x228178;},_0x3113ad['toObject']=function(_0x2775e2,_0x3a752a,_0x1aacba){if(_0x3a752a||(_0x3a752a={}),void 0x0===_0x1aacba&&(_0x1aacba=0x0),_0x1aacba>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x566daa={};return _0x3a752a['defaults']&&(_0x566daa['data']='',_0x3a752a['bytes']===String?_0x566daa['data1']='':(_0x566daa['data1']=[],_0x3a752a['bytes']!==Array&&(_0x566daa['data1']=_0x222891['newBuffer'](_0x566daa['data1'])))),null!=_0x2775e2['data']&&Object['hasOwnProperty']['call'](_0x2775e2,'data')&&(_0x566daa['data']=_0x2775e2['data']),null!=_0x2775e2['data1']&&Object['hasOwnProperty']['call'](_0x2775e2,'data1')&&(_0x566daa['data1']=_0x3a752a['bytes']===String?_0x222891['base64']['encode'](_0x2775e2['data1'],0x0,_0x2775e2['data1']['length']):_0x3a752a['bytes']===Array?Array['prototype']['slice']['call'](_0x2775e2['data1']):_0x2775e2['data1']),_0x566daa;},_0x3113ad['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3113ad['getTypeUrl']=function(_0x18eab9){return void 0x0===_0x18eab9&&(_0x18eab9='type.googleapis.com'),_0x18eab9+'/StringBytesPacketDataMessage';},_0x3113ad;}()),_0xbccd8d['PacketOptionsMessage']=(function(){function _0x5aabcb(_0xf02854){if(this['rooms']=[],this['except']=[],_0xf02854){for(var _0x556ac0=Object['keys'](_0xf02854),_0x1d9fbd=0x0;_0x1d9fbd<_0x556ac0['length'];++_0x1d9fbd)null!=_0xf02854[_0x556ac0[_0x1d9fbd]]&&'__proto__'!==_0x556ac0[_0x1d9fbd]&&(this[_0x556ac0[_0x1d9fbd]]=_0xf02854[_0x556ac0[_0x1d9fbd]]);}}return _0x5aabcb['prototype']['flags']='',_0x5aabcb['prototype']['rooms']=_0x222891['emptyArray'],_0x5aabcb['prototype']['except']=_0x222891['emptyArray'],_0x5aabcb['create']=function(_0x13c7e6){return new _0x5aabcb(_0x13c7e6);},_0x5aabcb['encode']=function(_0x34e1f4,_0x5ee921,_0x2f5a7c){if(_0x5ee921||(_0x5ee921=_0x55d9b7['create']()),void 0x0===_0x2f5a7c&&(_0x2f5a7c=0x0),_0x2f5a7c>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x34e1f4['flags']&&Object['hasOwnProperty']['call'](_0x34e1f4,'flags')&&_0x5ee921['uint32'](0xa)['string'](_0x34e1f4['flags']),null!=_0x34e1f4['rooms']&&_0x34e1f4['rooms']['length']){for(var _0x54ce7a=0x0;_0x54ce7a<_0x34e1f4['rooms']['length'];++_0x54ce7a)_0x5ee921['uint32'](0x12)['string'](_0x34e1f4['rooms'][_0x54ce7a]);}if(null!=_0x34e1f4['except']&&_0x34e1f4['except']['length']){for(_0x54ce7a=0x0;_0x54ce7a<_0x34e1f4['except']['length'];++_0x54ce7a)_0x5ee921['uint32'](0x1a)['string'](_0x34e1f4['except'][_0x54ce7a]);}return _0x5ee921;},_0x5aabcb['encodeDelimited']=function(_0x2d90eb,_0x12e2c1){return this['encode'](_0x2d90eb,_0x12e2c1)['ldelim']();},_0x5aabcb['decode']=function(_0x5e91e1,_0x5e37ca,_0x209fe7,_0x43b4a1){if(_0x5e91e1 instanceof _0x105dc2||(_0x5e91e1=_0x105dc2['create'](_0x5e91e1)),void 0x0===_0x43b4a1&&(_0x43b4a1=0x0),_0x43b4a1>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1d4280=void 0x0===_0x5e37ca?_0x5e91e1['len']:_0x5e91e1['pos']+_0x5e37ca,_0x3cfe77=new _0xbccd8d['PacketOptionsMessage']();_0x5e91e1['pos']<_0x1d4280;){var _0x24415d=_0x5e91e1['uint32']();if(_0x24415d===_0x209fe7)break;switch(_0x24415d>>>0x3){case 0x1:_0x3cfe77['flags']=_0x5e91e1['string']();break;case 0x2:_0x3cfe77['rooms']&&_0x3cfe77['rooms']['length']||(_0x3cfe77['rooms']=[]),_0x3cfe77['rooms']['push'](_0x5e91e1['string']());break;case 0x3:_0x3cfe77['except']&&_0x3cfe77['except']['length']||(_0x3cfe77['except']=[]),_0x3cfe77['except']['push'](_0x5e91e1['string']());break;default:_0x5e91e1['skipType'](0x7&_0x24415d,_0x43b4a1);}}return _0x3cfe77;},_0x5aabcb['decodeDelimited']=function(_0x40a34c){return _0x40a34c instanceof _0x105dc2||(_0x40a34c=new _0x105dc2(_0x40a34c)),this['decode'](_0x40a34c,_0x40a34c['uint32']());},_0x5aabcb['verify']=function(_0x2c24ff,_0x3217eb){if('object'!=typeof _0x2c24ff||null===_0x2c24ff)return'object\x20expected';if(void 0x0===_0x3217eb&&(_0x3217eb=0x0),_0x3217eb>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x2c24ff['flags']&&Object['hasOwnProperty']['call'](_0x2c24ff,'flags')&&!_0x222891['isString'](_0x2c24ff['flags']))return'flags:\x20string\x20expected';if(null!=_0x2c24ff['rooms']&&Object['hasOwnProperty']['call'](_0x2c24ff,'rooms')){if(!Array['isArray'](_0x2c24ff['rooms']))return'rooms:\x20array\x20expected';for(var _0x3cc795=0x0;_0x3cc795<_0x2c24ff['rooms']['length'];++_0x3cc795)if(!_0x222891['isString'](_0x2c24ff['rooms'][_0x3cc795]))return'rooms:\x20string[]\x20expected';}if(null!=_0x2c24ff['except']&&Object['hasOwnProperty']['call'](_0x2c24ff,'except')){if(!Array['isArray'](_0x2c24ff['except']))return'except:\x20array\x20expected';for(_0x3cc795=0x0;_0x3cc795<_0x2c24ff['except']['length'];++_0x3cc795)if(!_0x222891['isString'](_0x2c24ff['except'][_0x3cc795]))return'except:\x20string[]\x20expected';}return null;},_0x5aabcb['fromObject']=function(_0x83aca,_0x530712){if(_0x83aca instanceof _0xbccd8d['PacketOptionsMessage'])return _0x83aca;if(!_0x222891['isObject'](_0x83aca))throw TypeError('.PacketOptionsMessage:\x20object\x20expected');if(void 0x0===_0x530712&&(_0x530712=0x0),_0x530712>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x41c39f=new _0xbccd8d['PacketOptionsMessage']();if(null!=_0x83aca['flags']&&(_0x41c39f['flags']=String(_0x83aca['flags'])),_0x83aca['rooms']){if(!Array['isArray'](_0x83aca['rooms']))throw TypeError('.PacketOptionsMessage.rooms:\x20array\x20expected');_0x41c39f['rooms']=[];for(var _0x2c5e91=0x0;_0x2c5e91<_0x83aca['rooms']['length'];++_0x2c5e91)_0x41c39f['rooms'][_0x2c5e91]=String(_0x83aca['rooms'][_0x2c5e91]);}if(_0x83aca['except']){if(!Array['isArray'](_0x83aca['except']))throw TypeError('.PacketOptionsMessage.except:\x20array\x20expected');for(_0x41c39f['except']=[],_0x2c5e91=0x0;_0x2c5e91<_0x83aca['except']['length'];++_0x2c5e91)_0x41c39f['except'][_0x2c5e91]=String(_0x83aca['except'][_0x2c5e91]);}return _0x41c39f;},_0x5aabcb['toObject']=function(_0x357b80,_0x22deb6,_0x2ec843){if(_0x22deb6||(_0x22deb6={}),void 0x0===_0x2ec843&&(_0x2ec843=0x0),_0x2ec843>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4ec554={};if((_0x22deb6['arrays']||_0x22deb6['defaults'])&&(_0x4ec554['rooms']=[],_0x4ec554['except']=[]),_0x22deb6['defaults']&&(_0x4ec554['flags']=''),null!=_0x357b80['flags']&&Object['hasOwnProperty']['call'](_0x357b80,'flags')&&(_0x4ec554['flags']=_0x357b80['flags']),_0x357b80['rooms']&&_0x357b80['rooms']['length']){_0x4ec554['rooms']=[];for(var _0xe2b8c8=0x0;_0xe2b8c8<_0x357b80['rooms']['length'];++_0xe2b8c8)_0x4ec554['rooms'][_0xe2b8c8]=_0x357b80['rooms'][_0xe2b8c8];}if(_0x357b80['except']&&_0x357b80['except']['length']){for(_0x4ec554['except']=[],_0xe2b8c8=0x0;_0xe2b8c8<_0x357b80['except']['length'];++_0xe2b8c8)_0x4ec554['except'][_0xe2b8c8]=_0x357b80['except'][_0xe2b8c8];}return _0x4ec554;},_0x5aabcb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5aabcb['getTypeUrl']=function(_0x36bb00){return void 0x0===_0x36bb00&&(_0x36bb00='type.googleapis.com'),_0x36bb00+'/PacketOptionsMessage';},_0x5aabcb;}()),_0xbccd8d['PacketMessage']=(function(){function _0x295ac6(_0x18369a){if(_0x18369a){for(var _0x59ac6f=Object['keys'](_0x18369a),_0x519e93=0x0;_0x519e93<_0x59ac6f['length'];++_0x519e93)null!=_0x18369a[_0x59ac6f[_0x519e93]]&&'__proto__'!==_0x59ac6f[_0x519e93]&&(this[_0x59ac6f[_0x519e93]]=_0x18369a[_0x59ac6f[_0x519e93]]);}}return _0x295ac6['prototype']['type']=0x0,_0x295ac6['prototype']['id']=0x0,_0x295ac6['prototype']['nsp']='',_0x295ac6['prototype']['data']=_0x222891['newBuffer']([]),_0x295ac6['prototype']['options']=_0x222891['newBuffer']([]),_0x295ac6['create']=function(_0xf420df){return new _0x295ac6(_0xf420df);},_0x295ac6['encode']=function(_0x46ff26,_0x288ab5,_0x231dd7){if(_0x288ab5||(_0x288ab5=_0x55d9b7['create']()),void 0x0===_0x231dd7&&(_0x231dd7=0x0),_0x231dd7>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x46ff26['type']&&Object['hasOwnProperty']['call'](_0x46ff26,'type')&&_0x288ab5['uint32'](0x8)['uint32'](_0x46ff26['type']),null!=_0x46ff26['id']&&Object['hasOwnProperty']['call'](_0x46ff26,'id')&&_0x288ab5['uint32'](0x10)['uint32'](_0x46ff26['id']),null!=_0x46ff26['nsp']&&Object['hasOwnProperty']['call'](_0x46ff26,'nsp')&&_0x288ab5['uint32'](0x1a)['string'](_0x46ff26['nsp']),null!=_0x46ff26['data']&&Object['hasOwnProperty']['call'](_0x46ff26,'data')&&_0x288ab5['uint32'](0x22)['bytes'](_0x46ff26['data']),null!=_0x46ff26['options']&&Object['hasOwnProperty']['call'](_0x46ff26,'options')&&_0x288ab5['uint32'](0x2a)['bytes'](_0x46ff26['options']),_0x288ab5;},_0x295ac6['encodeDelimited']=function(_0x40bc66,_0x246b76){return this['encode'](_0x40bc66,_0x246b76)['ldelim']();},_0x295ac6['decode']=function(_0x1afac3,_0x557d22,_0x3b1b12,_0x1f39da){if(_0x1afac3 instanceof _0x105dc2||(_0x1afac3=_0x105dc2['create'](_0x1afac3)),void 0x0===_0x1f39da&&(_0x1f39da=0x0),_0x1f39da>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x170860=void 0x0===_0x557d22?_0x1afac3['len']:_0x1afac3['pos']+_0x557d22,_0x23bf7f=new _0xbccd8d['PacketMessage']();_0x1afac3['pos']<_0x170860;){var _0x528216=_0x1afac3['uint32']();if(_0x528216===_0x3b1b12)break;switch(_0x528216>>>0x3){case 0x1:_0x23bf7f['type']=_0x1afac3['uint32']();break;case 0x2:_0x23bf7f['id']=_0x1afac3['uint32']();break;case 0x3:_0x23bf7f['nsp']=_0x1afac3['string']();break;case 0x4:_0x23bf7f['data']=_0x1afac3['bytes']();break;case 0x5:_0x23bf7f['options']=_0x1afac3['bytes']();break;default:_0x1afac3['skipType'](0x7&_0x528216,_0x1f39da);}}return _0x23bf7f;},_0x295ac6['decodeDelimited']=function(_0x3ab07b){return _0x3ab07b instanceof _0x105dc2||(_0x3ab07b=new _0x105dc2(_0x3ab07b)),this['decode'](_0x3ab07b,_0x3ab07b['uint32']());},_0x295ac6['verify']=function(_0x4cbb98,_0xb044dc){return'object'!=typeof _0x4cbb98||null===_0x4cbb98?'object\x20expected':(void 0x0===_0xb044dc&&(_0xb044dc=0x0),_0xb044dc>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4cbb98['type']&&Object['hasOwnProperty']['call'](_0x4cbb98,'type')&&!_0x222891['isInteger'](_0x4cbb98['type'])?'type:\x20integer\x20expected':null!=_0x4cbb98['id']&&Object['hasOwnProperty']['call'](_0x4cbb98,'id')&&!_0x222891['isInteger'](_0x4cbb98['id'])?'id:\x20integer\x20expected':null!=_0x4cbb98['nsp']&&Object['hasOwnProperty']['call'](_0x4cbb98,'nsp')&&!_0x222891['isString'](_0x4cbb98['nsp'])?'nsp:\x20string\x20expected':null!=_0x4cbb98['data']&&Object['hasOwnProperty']['call'](_0x4cbb98,'data')&&!(_0x4cbb98['data']&&'number'==typeof _0x4cbb98['data']['length']||_0x222891['isString'](_0x4cbb98['data']))?'data:\x20buffer\x20expected':null!=_0x4cbb98['options']&&Object['hasOwnProperty']['call'](_0x4cbb98,'options')&&!(_0x4cbb98['options']&&'number'==typeof _0x4cbb98['options']['length']||_0x222891['isString'](_0x4cbb98['options']))?'options:\x20buffer\x20expected':null);},_0x295ac6['fromObject']=function(_0x1d01c2,_0x145fcb){if(_0x1d01c2 instanceof _0xbccd8d['PacketMessage'])return _0x1d01c2;if(!_0x222891['isObject'](_0x1d01c2))throw TypeError('.PacketMessage:\x20object\x20expected');if(void 0x0===_0x145fcb&&(_0x145fcb=0x0),_0x145fcb>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5c2104=new _0xbccd8d['PacketMessage']();return null!=_0x1d01c2['type']&&(_0x5c2104['type']=_0x1d01c2['type']>>>0x0),null!=_0x1d01c2['id']&&(_0x5c2104['id']=_0x1d01c2['id']>>>0x0),null!=_0x1d01c2['nsp']&&(_0x5c2104['nsp']=String(_0x1d01c2['nsp'])),null!=_0x1d01c2['data']&&('string'==typeof _0x1d01c2['data']?_0x222891['base64']['decode'](_0x1d01c2['data'],_0x5c2104['data']=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x1d01c2['data'])),0x0):_0x1d01c2['data']['length']>=0x0&&(_0x5c2104['data']=_0x1d01c2['data'])),null!=_0x1d01c2['options']&&('string'==typeof _0x1d01c2['options']?_0x222891['base64']['decode'](_0x1d01c2['options'],_0x5c2104['options']=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x1d01c2['options'])),0x0):_0x1d01c2['options']['length']>=0x0&&(_0x5c2104['options']=_0x1d01c2['options'])),_0x5c2104;},_0x295ac6['toObject']=function(_0x4a6cc9,_0xb597d8,_0xea07c4){if(_0xb597d8||(_0xb597d8={}),void 0x0===_0xea07c4&&(_0xea07c4=0x0),_0xea07c4>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3f718d={};return _0xb597d8['defaults']&&(_0x3f718d['type']=0x0,_0x3f718d['id']=0x0,_0x3f718d['nsp']='',_0xb597d8['bytes']===String?_0x3f718d['data']='':(_0x3f718d['data']=[],_0xb597d8['bytes']!==Array&&(_0x3f718d['data']=_0x222891['newBuffer'](_0x3f718d['data']))),_0xb597d8['bytes']===String?_0x3f718d['options']='':(_0x3f718d['options']=[],_0xb597d8['bytes']!==Array&&(_0x3f718d['options']=_0x222891['newBuffer'](_0x3f718d['options'])))),null!=_0x4a6cc9['type']&&Object['hasOwnProperty']['call'](_0x4a6cc9,'type')&&(_0x3f718d['type']=_0x4a6cc9['type']),null!=_0x4a6cc9['id']&&Object['hasOwnProperty']['call'](_0x4a6cc9,'id')&&(_0x3f718d['id']=_0x4a6cc9['id']),null!=_0x4a6cc9['nsp']&&Object['hasOwnProperty']['call'](_0x4a6cc9,'nsp')&&(_0x3f718d['nsp']=_0x4a6cc9['nsp']),null!=_0x4a6cc9['data']&&Object['hasOwnProperty']['call'](_0x4a6cc9,'data')&&(_0x3f718d['data']=_0xb597d8['bytes']===String?_0x222891['base64']['encode'](_0x4a6cc9['data'],0x0,_0x4a6cc9['data']['length']):_0xb597d8['bytes']===Array?Array['prototype']['slice']['call'](_0x4a6cc9['data']):_0x4a6cc9['data']),null!=_0x4a6cc9['options']&&Object['hasOwnProperty']['call'](_0x4a6cc9,'options')&&(_0x3f718d['options']=_0xb597d8['bytes']===String?_0x222891['base64']['encode'](_0x4a6cc9['options'],0x0,_0x4a6cc9['options']['length']):_0xb597d8['bytes']===Array?Array['prototype']['slice']['call'](_0x4a6cc9['options']):_0x4a6cc9['options']),_0x3f718d;},_0x295ac6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x295ac6['getTypeUrl']=function(_0x431ab9){return void 0x0===_0x431ab9&&(_0x431ab9='type.googleapis.com'),_0x431ab9+'/PacketMessage';},_0x295ac6;}()),_0xbccd8d['ObjectObjectPacketDataMessage']=(function(){function _0x9ba654(_0x3bed1a){if(_0x3bed1a){for(var _0x557877=Object['keys'](_0x3bed1a),_0x5b9b76=0x0;_0x5b9b76<_0x557877['length'];++_0x5b9b76)null!=_0x3bed1a[_0x557877[_0x5b9b76]]&&'__proto__'!==_0x557877[_0x5b9b76]&&(this[_0x557877[_0x5b9b76]]=_0x3bed1a[_0x557877[_0x5b9b76]]);}}return _0x9ba654['prototype']['data']='',_0x9ba654['prototype']['data1']='',_0x9ba654['create']=function(_0x533266){return new _0x9ba654(_0x533266);},_0x9ba654['encode']=function(_0x2aa986,_0x22cd96,_0x2365c6){if(_0x22cd96||(_0x22cd96=_0x55d9b7['create']()),void 0x0===_0x2365c6&&(_0x2365c6=0x0),_0x2365c6>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2aa986['data']&&Object['hasOwnProperty']['call'](_0x2aa986,'data')&&_0x22cd96['uint32'](0xa)['string'](_0x2aa986['data']),null!=_0x2aa986['data1']&&Object['hasOwnProperty']['call'](_0x2aa986,'data1')&&_0x22cd96['uint32'](0x12)['string'](_0x2aa986['data1']),_0x22cd96;},_0x9ba654['encodeDelimited']=function(_0x3c37df,_0x534153){return this['encode'](_0x3c37df,_0x534153)['ldelim']();},_0x9ba654['decode']=function(_0x37c657,_0x2acd3b,_0x5ecc1d,_0x1a0dfd){if(_0x37c657 instanceof _0x105dc2||(_0x37c657=_0x105dc2['create'](_0x37c657)),void 0x0===_0x1a0dfd&&(_0x1a0dfd=0x0),_0x1a0dfd>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x432415=void 0x0===_0x2acd3b?_0x37c657['len']:_0x37c657['pos']+_0x2acd3b,_0x511f93=new _0xbccd8d['ObjectObjectPacketDataMessage']();_0x37c657['pos']<_0x432415;){var _0x99e3aa=_0x37c657['uint32']();if(_0x99e3aa===_0x5ecc1d)break;switch(_0x99e3aa>>>0x3){case 0x1:_0x511f93['data']=_0x37c657['string']();break;case 0x2:_0x511f93['data1']=_0x37c657['string']();break;default:_0x37c657['skipType'](0x7&_0x99e3aa,_0x1a0dfd);}}return _0x511f93;},_0x9ba654['decodeDelimited']=function(_0x597ac5){return _0x597ac5 instanceof _0x105dc2||(_0x597ac5=new _0x105dc2(_0x597ac5)),this['decode'](_0x597ac5,_0x597ac5['uint32']());},_0x9ba654['verify']=function(_0x5ee9fa,_0x5c5f47){return'object'!=typeof _0x5ee9fa||null===_0x5ee9fa?'object\x20expected':(void 0x0===_0x5c5f47&&(_0x5c5f47=0x0),_0x5c5f47>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5ee9fa['data']&&Object['hasOwnProperty']['call'](_0x5ee9fa,'data')&&!_0x222891['isString'](_0x5ee9fa['data'])?'data:\x20string\x20expected':null!=_0x5ee9fa['data1']&&Object['hasOwnProperty']['call'](_0x5ee9fa,'data1')&&!_0x222891['isString'](_0x5ee9fa['data1'])?'data1:\x20string\x20expected':null);},_0x9ba654['fromObject']=function(_0x5846ce,_0x1988dd){if(_0x5846ce instanceof _0xbccd8d['ObjectObjectPacketDataMessage'])return _0x5846ce;if(!_0x222891['isObject'](_0x5846ce))throw TypeError('.ObjectObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x1988dd&&(_0x1988dd=0x0),_0x1988dd>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x59cf44=new _0xbccd8d['ObjectObjectPacketDataMessage']();return null!=_0x5846ce['data']&&(_0x59cf44['data']=String(_0x5846ce['data'])),null!=_0x5846ce['data1']&&(_0x59cf44['data1']=String(_0x5846ce['data1'])),_0x59cf44;},_0x9ba654['toObject']=function(_0x4e4f24,_0x34fd58,_0x257b84){if(_0x34fd58||(_0x34fd58={}),void 0x0===_0x257b84&&(_0x257b84=0x0),_0x257b84>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x392e29={};return _0x34fd58['defaults']&&(_0x392e29['data']='',_0x392e29['data1']=''),null!=_0x4e4f24['data']&&Object['hasOwnProperty']['call'](_0x4e4f24,'data')&&(_0x392e29['data']=_0x4e4f24['data']),null!=_0x4e4f24['data1']&&Object['hasOwnProperty']['call'](_0x4e4f24,'data1')&&(_0x392e29['data1']=_0x4e4f24['data1']),_0x392e29;},_0x9ba654['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x9ba654['getTypeUrl']=function(_0x252e50){return void 0x0===_0x252e50&&(_0x252e50='type.googleapis.com'),_0x252e50+'/ObjectObjectPacketDataMessage';},_0x9ba654;}()),_0xbccd8d['ObjectBufferPacketDataMessage']=(function(){function _0x2dad94(_0x5b92f4){if(_0x5b92f4){for(var _0x5a14a7=Object['keys'](_0x5b92f4),_0x50ba86=0x0;_0x50ba86<_0x5a14a7['length'];++_0x50ba86)null!=_0x5b92f4[_0x5a14a7[_0x50ba86]]&&'__proto__'!==_0x5a14a7[_0x50ba86]&&(this[_0x5a14a7[_0x50ba86]]=_0x5b92f4[_0x5a14a7[_0x50ba86]]);}}return _0x2dad94['prototype']['data']='',_0x2dad94['prototype']['data1']=_0x222891['newBuffer']([]),_0x2dad94['create']=function(_0xaeb015){return new _0x2dad94(_0xaeb015);},_0x2dad94['encode']=function(_0x5cdeb2,_0x3d4354,_0x3a3977){if(_0x3d4354||(_0x3d4354=_0x55d9b7['create']()),void 0x0===_0x3a3977&&(_0x3a3977=0x0),_0x3a3977>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5cdeb2['data']&&Object['hasOwnProperty']['call'](_0x5cdeb2,'data')&&_0x3d4354['uint32'](0xa)['string'](_0x5cdeb2['data']),null!=_0x5cdeb2['data1']&&Object['hasOwnProperty']['call'](_0x5cdeb2,'data1')&&_0x3d4354['uint32'](0x12)['bytes'](_0x5cdeb2['data1']),_0x3d4354;},_0x2dad94['encodeDelimited']=function(_0x4341f3,_0x2e1e79){return this['encode'](_0x4341f3,_0x2e1e79)['ldelim']();},_0x2dad94['decode']=function(_0xf26fa0,_0x3a9ce2,_0x382aae,_0x5f178c){if(_0xf26fa0 instanceof _0x105dc2||(_0xf26fa0=_0x105dc2['create'](_0xf26fa0)),void 0x0===_0x5f178c&&(_0x5f178c=0x0),_0x5f178c>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5ca951=void 0x0===_0x3a9ce2?_0xf26fa0['len']:_0xf26fa0['pos']+_0x3a9ce2,_0x144a0e=new _0xbccd8d['ObjectBufferPacketDataMessage']();_0xf26fa0['pos']<_0x5ca951;){var _0x5b3dc3=_0xf26fa0['uint32']();if(_0x5b3dc3===_0x382aae)break;switch(_0x5b3dc3>>>0x3){case 0x1:_0x144a0e['data']=_0xf26fa0['string']();break;case 0x2:_0x144a0e['data1']=_0xf26fa0['bytes']();break;default:_0xf26fa0['skipType'](0x7&_0x5b3dc3,_0x5f178c);}}return _0x144a0e;},_0x2dad94['decodeDelimited']=function(_0x593faa){return _0x593faa instanceof _0x105dc2||(_0x593faa=new _0x105dc2(_0x593faa)),this['decode'](_0x593faa,_0x593faa['uint32']());},_0x2dad94['verify']=function(_0x53f205,_0xca0085){return'object'!=typeof _0x53f205||null===_0x53f205?'object\x20expected':(void 0x0===_0xca0085&&(_0xca0085=0x0),_0xca0085>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x53f205['data']&&Object['hasOwnProperty']['call'](_0x53f205,'data')&&!_0x222891['isString'](_0x53f205['data'])?'data:\x20string\x20expected':null!=_0x53f205['data1']&&Object['hasOwnProperty']['call'](_0x53f205,'data1')&&!(_0x53f205['data1']&&'number'==typeof _0x53f205['data1']['length']||_0x222891['isString'](_0x53f205['data1']))?'data1:\x20buffer\x20expected':null);},_0x2dad94['fromObject']=function(_0x1ae428,_0x5c8447){if(_0x1ae428 instanceof _0xbccd8d['ObjectBufferPacketDataMessage'])return _0x1ae428;if(!_0x222891['isObject'](_0x1ae428))throw TypeError('.ObjectBufferPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x5c8447&&(_0x5c8447=0x0),_0x5c8447>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x236958=new _0xbccd8d['ObjectBufferPacketDataMessage']();return null!=_0x1ae428['data']&&(_0x236958['data']=String(_0x1ae428['data'])),null!=_0x1ae428['data1']&&('string'==typeof _0x1ae428['data1']?_0x222891['base64']['decode'](_0x1ae428['data1'],_0x236958['data1']=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x1ae428['data1'])),0x0):_0x1ae428['data1']['length']>=0x0&&(_0x236958['data1']=_0x1ae428['data1'])),_0x236958;},_0x2dad94['toObject']=function(_0x8add8d,_0xa1da98,_0x56ec4a){if(_0xa1da98||(_0xa1da98={}),void 0x0===_0x56ec4a&&(_0x56ec4a=0x0),_0x56ec4a>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xc12dc0={};return _0xa1da98['defaults']&&(_0xc12dc0['data']='',_0xa1da98['bytes']===String?_0xc12dc0['data1']='':(_0xc12dc0['data1']=[],_0xa1da98['bytes']!==Array&&(_0xc12dc0['data1']=_0x222891['newBuffer'](_0xc12dc0['data1'])))),null!=_0x8add8d['data']&&Object['hasOwnProperty']['call'](_0x8add8d,'data')&&(_0xc12dc0['data']=_0x8add8d['data']),null!=_0x8add8d['data1']&&Object['hasOwnProperty']['call'](_0x8add8d,'data1')&&(_0xc12dc0['data1']=_0xa1da98['bytes']===String?_0x222891['base64']['encode'](_0x8add8d['data1'],0x0,_0x8add8d['data1']['length']):_0xa1da98['bytes']===Array?Array['prototype']['slice']['call'](_0x8add8d['data1']):_0x8add8d['data1']),_0xc12dc0;},_0x2dad94['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x2dad94['getTypeUrl']=function(_0x87a758){return void 0x0===_0x87a758&&(_0x87a758='type.googleapis.com'),_0x87a758+'/ObjectBufferPacketDataMessage';},_0x2dad94;}()),_0xbccd8d['NumberStringPacketDataMessage']=(function(){function _0x3e32da(_0x30899a){if(_0x30899a){for(var _0x5c3149=Object['keys'](_0x30899a),_0x3208dd=0x0;_0x3208dd<_0x5c3149['length'];++_0x3208dd)null!=_0x30899a[_0x5c3149[_0x3208dd]]&&'__proto__'!==_0x5c3149[_0x3208dd]&&(this[_0x5c3149[_0x3208dd]]=_0x30899a[_0x5c3149[_0x3208dd]]);}}return _0x3e32da['prototype']['data']=0x0,_0x3e32da['prototype']['data1']='',_0x3e32da['create']=function(_0x25a70e){return new _0x3e32da(_0x25a70e);},_0x3e32da['encode']=function(_0x52222f,_0x260175,_0x1fbc4c){if(_0x260175||(_0x260175=_0x55d9b7['create']()),void 0x0===_0x1fbc4c&&(_0x1fbc4c=0x0),_0x1fbc4c>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x52222f['data']&&Object['hasOwnProperty']['call'](_0x52222f,'data')&&_0x260175['uint32'](0x8)['uint32'](_0x52222f['data']),null!=_0x52222f['data1']&&Object['hasOwnProperty']['call'](_0x52222f,'data1')&&_0x260175['uint32'](0x12)['string'](_0x52222f['data1']),_0x260175;},_0x3e32da['encodeDelimited']=function(_0x42d955,_0x29728e){return this['encode'](_0x42d955,_0x29728e)['ldelim']();},_0x3e32da['decode']=function(_0x33ecd5,_0x56688f,_0xcdaf35,_0x28af2f){if(_0x33ecd5 instanceof _0x105dc2||(_0x33ecd5=_0x105dc2['create'](_0x33ecd5)),void 0x0===_0x28af2f&&(_0x28af2f=0x0),_0x28af2f>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2ee994=void 0x0===_0x56688f?_0x33ecd5['len']:_0x33ecd5['pos']+_0x56688f,_0x273c7f=new _0xbccd8d['NumberStringPacketDataMessage']();_0x33ecd5['pos']<_0x2ee994;){var _0x371c63=_0x33ecd5['uint32']();if(_0x371c63===_0xcdaf35)break;switch(_0x371c63>>>0x3){case 0x1:_0x273c7f['data']=_0x33ecd5['uint32']();break;case 0x2:_0x273c7f['data1']=_0x33ecd5['string']();break;default:_0x33ecd5['skipType'](0x7&_0x371c63,_0x28af2f);}}return _0x273c7f;},_0x3e32da['decodeDelimited']=function(_0x45a36f){return _0x45a36f instanceof _0x105dc2||(_0x45a36f=new _0x105dc2(_0x45a36f)),this['decode'](_0x45a36f,_0x45a36f['uint32']());},_0x3e32da['verify']=function(_0x4dd941,_0x5214cf){return'object'!=typeof _0x4dd941||null===_0x4dd941?'object\x20expected':(void 0x0===_0x5214cf&&(_0x5214cf=0x0),_0x5214cf>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4dd941['data']&&Object['hasOwnProperty']['call'](_0x4dd941,'data')&&!_0x222891['isInteger'](_0x4dd941['data'])?'data:\x20integer\x20expected':null!=_0x4dd941['data1']&&Object['hasOwnProperty']['call'](_0x4dd941,'data1')&&!_0x222891['isString'](_0x4dd941['data1'])?'data1:\x20string\x20expected':null);},_0x3e32da['fromObject']=function(_0x1b856a,_0x11f493){if(_0x1b856a instanceof _0xbccd8d['NumberStringPacketDataMessage'])return _0x1b856a;if(!_0x222891['isObject'](_0x1b856a))throw TypeError('.NumberStringPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x11f493&&(_0x11f493=0x0),_0x11f493>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x29aeab=new _0xbccd8d['NumberStringPacketDataMessage']();return null!=_0x1b856a['data']&&(_0x29aeab['data']=_0x1b856a['data']>>>0x0),null!=_0x1b856a['data1']&&(_0x29aeab['data1']=String(_0x1b856a['data1'])),_0x29aeab;},_0x3e32da['toObject']=function(_0x333c9a,_0x2be913,_0x1d8e25){if(_0x2be913||(_0x2be913={}),void 0x0===_0x1d8e25&&(_0x1d8e25=0x0),_0x1d8e25>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x570976={};return _0x2be913['defaults']&&(_0x570976['data']=0x0,_0x570976['data1']=''),null!=_0x333c9a['data']&&Object['hasOwnProperty']['call'](_0x333c9a,'data')&&(_0x570976['data']=_0x333c9a['data']),null!=_0x333c9a['data1']&&Object['hasOwnProperty']['call'](_0x333c9a,'data1')&&(_0x570976['data1']=_0x333c9a['data1']),_0x570976;},_0x3e32da['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3e32da['getTypeUrl']=function(_0x3b92cd){return void 0x0===_0x3b92cd&&(_0x3b92cd='type.googleapis.com'),_0x3b92cd+'/NumberStringPacketDataMessage';},_0x3e32da;}()),_0xbccd8d['NumberObjectPacketDataMessage']=(function(){function _0x5ecf4d(_0x45efee){if(_0x45efee){for(var _0x48fb98=Object['keys'](_0x45efee),_0xcae131=0x0;_0xcae131<_0x48fb98['length'];++_0xcae131)null!=_0x45efee[_0x48fb98[_0xcae131]]&&'__proto__'!==_0x48fb98[_0xcae131]&&(this[_0x48fb98[_0xcae131]]=_0x45efee[_0x48fb98[_0xcae131]]);}}return _0x5ecf4d['prototype']['data']=0x0,_0x5ecf4d['prototype']['data1']='',_0x5ecf4d['create']=function(_0x4c2280){return new _0x5ecf4d(_0x4c2280);},_0x5ecf4d['encode']=function(_0x225487,_0x346526,_0x5f2a6b){if(_0x346526||(_0x346526=_0x55d9b7['create']()),void 0x0===_0x5f2a6b&&(_0x5f2a6b=0x0),_0x5f2a6b>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x225487['data']&&Object['hasOwnProperty']['call'](_0x225487,'data')&&_0x346526['uint32'](0x8)['uint32'](_0x225487['data']),null!=_0x225487['data1']&&Object['hasOwnProperty']['call'](_0x225487,'data1')&&_0x346526['uint32'](0x12)['string'](_0x225487['data1']),_0x346526;},_0x5ecf4d['encodeDelimited']=function(_0x4d5f22,_0x450108){return this['encode'](_0x4d5f22,_0x450108)['ldelim']();},_0x5ecf4d['decode']=function(_0xd24c75,_0x2791ad,_0x33f362,_0x328cab){if(_0xd24c75 instanceof _0x105dc2||(_0xd24c75=_0x105dc2['create'](_0xd24c75)),void 0x0===_0x328cab&&(_0x328cab=0x0),_0x328cab>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x72c913=void 0x0===_0x2791ad?_0xd24c75['len']:_0xd24c75['pos']+_0x2791ad,_0x3f0876=new _0xbccd8d['NumberObjectPacketDataMessage']();_0xd24c75['pos']<_0x72c913;){var _0x29ec67=_0xd24c75['uint32']();if(_0x29ec67===_0x33f362)break;switch(_0x29ec67>>>0x3){case 0x1:_0x3f0876['data']=_0xd24c75['uint32']();break;case 0x2:_0x3f0876['data1']=_0xd24c75['string']();break;default:_0xd24c75['skipType'](0x7&_0x29ec67,_0x328cab);}}return _0x3f0876;},_0x5ecf4d['decodeDelimited']=function(_0x270d57){return _0x270d57 instanceof _0x105dc2||(_0x270d57=new _0x105dc2(_0x270d57)),this['decode'](_0x270d57,_0x270d57['uint32']());},_0x5ecf4d['verify']=function(_0x263b9e,_0x397c35){return'object'!=typeof _0x263b9e||null===_0x263b9e?'object\x20expected':(void 0x0===_0x397c35&&(_0x397c35=0x0),_0x397c35>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x263b9e['data']&&Object['hasOwnProperty']['call'](_0x263b9e,'data')&&!_0x222891['isInteger'](_0x263b9e['data'])?'data:\x20integer\x20expected':null!=_0x263b9e['data1']&&Object['hasOwnProperty']['call'](_0x263b9e,'data1')&&!_0x222891['isString'](_0x263b9e['data1'])?'data1:\x20string\x20expected':null);},_0x5ecf4d['fromObject']=function(_0x42dd05,_0xd2b22a){if(_0x42dd05 instanceof _0xbccd8d['NumberObjectPacketDataMessage'])return _0x42dd05;if(!_0x222891['isObject'](_0x42dd05))throw TypeError('.NumberObjectPacketDataMessage:\x20object\x20expected');if(void 0x0===_0xd2b22a&&(_0xd2b22a=0x0),_0xd2b22a>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3b80b4=new _0xbccd8d['NumberObjectPacketDataMessage']();return null!=_0x42dd05['data']&&(_0x3b80b4['data']=_0x42dd05['data']>>>0x0),null!=_0x42dd05['data1']&&(_0x3b80b4['data1']=String(_0x42dd05['data1'])),_0x3b80b4;},_0x5ecf4d['toObject']=function(_0x347554,_0x5ae658,_0x54d25a){if(_0x5ae658||(_0x5ae658={}),void 0x0===_0x54d25a&&(_0x54d25a=0x0),_0x54d25a>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x17f9b1={};return _0x5ae658['defaults']&&(_0x17f9b1['data']=0x0,_0x17f9b1['data1']=''),null!=_0x347554['data']&&Object['hasOwnProperty']['call'](_0x347554,'data')&&(_0x17f9b1['data']=_0x347554['data']),null!=_0x347554['data1']&&Object['hasOwnProperty']['call'](_0x347554,'data1')&&(_0x17f9b1['data1']=_0x347554['data1']),_0x17f9b1;},_0x5ecf4d['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5ecf4d['getTypeUrl']=function(_0x2bd932){return void 0x0===_0x2bd932&&(_0x2bd932='type.googleapis.com'),_0x2bd932+'/NumberObjectPacketDataMessage';},_0x5ecf4d;}()),_0xbccd8d['NumberNumberPacketDataMessage']=(function(){function _0x1c7ba8(_0x47c680){if(_0x47c680){for(var _0x2b40c=Object['keys'](_0x47c680),_0x99493=0x0;_0x99493<_0x2b40c['length'];++_0x99493)null!=_0x47c680[_0x2b40c[_0x99493]]&&'__proto__'!==_0x2b40c[_0x99493]&&(this[_0x2b40c[_0x99493]]=_0x47c680[_0x2b40c[_0x99493]]);}}return _0x1c7ba8['prototype']['data']=0x0,_0x1c7ba8['prototype']['data1']=0x0,_0x1c7ba8['create']=function(_0x15fe18){return new _0x1c7ba8(_0x15fe18);},_0x1c7ba8['encode']=function(_0x500f52,_0x4505fe,_0x4873b2){if(_0x4505fe||(_0x4505fe=_0x55d9b7['create']()),void 0x0===_0x4873b2&&(_0x4873b2=0x0),_0x4873b2>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x500f52['data']&&Object['hasOwnProperty']['call'](_0x500f52,'data')&&_0x4505fe['uint32'](0x8)['uint32'](_0x500f52['data']),null!=_0x500f52['data1']&&Object['hasOwnProperty']['call'](_0x500f52,'data1')&&_0x4505fe['uint32'](0x10)['uint32'](_0x500f52['data1']),_0x4505fe;},_0x1c7ba8['encodeDelimited']=function(_0x21c6d4,_0x3b2a3b){return this['encode'](_0x21c6d4,_0x3b2a3b)['ldelim']();},_0x1c7ba8['decode']=function(_0x2d03d5,_0x51231e,_0x2da4a7,_0x58c72f){if(_0x2d03d5 instanceof _0x105dc2||(_0x2d03d5=_0x105dc2['create'](_0x2d03d5)),void 0x0===_0x58c72f&&(_0x58c72f=0x0),_0x58c72f>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x553ded=void 0x0===_0x51231e?_0x2d03d5['len']:_0x2d03d5['pos']+_0x51231e,_0x5cf2ed=new _0xbccd8d['NumberNumberPacketDataMessage']();_0x2d03d5['pos']<_0x553ded;){var _0xee190a=_0x2d03d5['uint32']();if(_0xee190a===_0x2da4a7)break;switch(_0xee190a>>>0x3){case 0x1:_0x5cf2ed['data']=_0x2d03d5['uint32']();break;case 0x2:_0x5cf2ed['data1']=_0x2d03d5['uint32']();break;default:_0x2d03d5['skipType'](0x7&_0xee190a,_0x58c72f);}}return _0x5cf2ed;},_0x1c7ba8['decodeDelimited']=function(_0x5aa395){return _0x5aa395 instanceof _0x105dc2||(_0x5aa395=new _0x105dc2(_0x5aa395)),this['decode'](_0x5aa395,_0x5aa395['uint32']());},_0x1c7ba8['verify']=function(_0x23f2cd,_0x20b4bd){return'object'!=typeof _0x23f2cd||null===_0x23f2cd?'object\x20expected':(void 0x0===_0x20b4bd&&(_0x20b4bd=0x0),_0x20b4bd>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x23f2cd['data']&&Object['hasOwnProperty']['call'](_0x23f2cd,'data')&&!_0x222891['isInteger'](_0x23f2cd['data'])?'data:\x20integer\x20expected':null!=_0x23f2cd['data1']&&Object['hasOwnProperty']['call'](_0x23f2cd,'data1')&&!_0x222891['isInteger'](_0x23f2cd['data1'])?'data1:\x20integer\x20expected':null);},_0x1c7ba8['fromObject']=function(_0x61163f,_0x276eb8){if(_0x61163f instanceof _0xbccd8d['NumberNumberPacketDataMessage'])return _0x61163f;if(!_0x222891['isObject'](_0x61163f))throw TypeError('.NumberNumberPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x276eb8&&(_0x276eb8=0x0),_0x276eb8>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x440f78=new _0xbccd8d['NumberNumberPacketDataMessage']();return null!=_0x61163f['data']&&(_0x440f78['data']=_0x61163f['data']>>>0x0),null!=_0x61163f['data1']&&(_0x440f78['data1']=_0x61163f['data1']>>>0x0),_0x440f78;},_0x1c7ba8['toObject']=function(_0x4f13ae,_0x1e9b56,_0x13d822){if(_0x1e9b56||(_0x1e9b56={}),void 0x0===_0x13d822&&(_0x13d822=0x0),_0x13d822>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xe23e82={};return _0x1e9b56['defaults']&&(_0xe23e82['data']=0x0,_0xe23e82['data1']=0x0),null!=_0x4f13ae['data']&&Object['hasOwnProperty']['call'](_0x4f13ae,'data')&&(_0xe23e82['data']=_0x4f13ae['data']),null!=_0x4f13ae['data1']&&Object['hasOwnProperty']['call'](_0x4f13ae,'data1')&&(_0xe23e82['data1']=_0x4f13ae['data1']),_0xe23e82;},_0x1c7ba8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x1c7ba8['getTypeUrl']=function(_0x4ee94c){return void 0x0===_0x4ee94c&&(_0x4ee94c='type.googleapis.com'),_0x4ee94c+'/NumberNumberPacketDataMessage';},_0x1c7ba8;}()),_0xbccd8d['NumberBytesPacketDataMessage']=(function(){function _0x26185f(_0x20cc10){if(_0x20cc10){for(var _0x48d9d3=Object['keys'](_0x20cc10),_0x25f510=0x0;_0x25f510<_0x48d9d3['length'];++_0x25f510)null!=_0x20cc10[_0x48d9d3[_0x25f510]]&&'__proto__'!==_0x48d9d3[_0x25f510]&&(this[_0x48d9d3[_0x25f510]]=_0x20cc10[_0x48d9d3[_0x25f510]]);}}return _0x26185f['prototype']['data']=0x0,_0x26185f['prototype']['data1']=_0x222891['newBuffer']([]),_0x26185f['create']=function(_0x53b549){return new _0x26185f(_0x53b549);},_0x26185f['encode']=function(_0x1b32f0,_0x5b00d6,_0x1ef12d){if(_0x5b00d6||(_0x5b00d6=_0x55d9b7['create']()),void 0x0===_0x1ef12d&&(_0x1ef12d=0x0),_0x1ef12d>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1b32f0['data']&&Object['hasOwnProperty']['call'](_0x1b32f0,'data')&&_0x5b00d6['uint32'](0x8)['uint32'](_0x1b32f0['data']),null!=_0x1b32f0['data1']&&Object['hasOwnProperty']['call'](_0x1b32f0,'data1')&&_0x5b00d6['uint32'](0x12)['bytes'](_0x1b32f0['data1']),_0x5b00d6;},_0x26185f['encodeDelimited']=function(_0x2aebd4,_0x40e588){return this['encode'](_0x2aebd4,_0x40e588)['ldelim']();},_0x26185f['decode']=function(_0x1e8689,_0x1facfd,_0x15ada9,_0x18d30a){if(_0x1e8689 instanceof _0x105dc2||(_0x1e8689=_0x105dc2['create'](_0x1e8689)),void 0x0===_0x18d30a&&(_0x18d30a=0x0),_0x18d30a>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x226423=void 0x0===_0x1facfd?_0x1e8689['len']:_0x1e8689['pos']+_0x1facfd,_0x4f2a75=new _0xbccd8d['NumberBytesPacketDataMessage']();_0x1e8689['pos']<_0x226423;){var _0x2c95d6=_0x1e8689['uint32']();if(_0x2c95d6===_0x15ada9)break;switch(_0x2c95d6>>>0x3){case 0x1:_0x4f2a75['data']=_0x1e8689['uint32']();break;case 0x2:_0x4f2a75['data1']=_0x1e8689['bytes']();break;default:_0x1e8689['skipType'](0x7&_0x2c95d6,_0x18d30a);}}return _0x4f2a75;},_0x26185f['decodeDelimited']=function(_0xc606b6){return _0xc606b6 instanceof _0x105dc2||(_0xc606b6=new _0x105dc2(_0xc606b6)),this['decode'](_0xc606b6,_0xc606b6['uint32']());},_0x26185f['verify']=function(_0x274581,_0x5c9904){return'object'!=typeof _0x274581||null===_0x274581?'object\x20expected':(void 0x0===_0x5c9904&&(_0x5c9904=0x0),_0x5c9904>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x274581['data']&&Object['hasOwnProperty']['call'](_0x274581,'data')&&!_0x222891['isInteger'](_0x274581['data'])?'data:\x20integer\x20expected':null!=_0x274581['data1']&&Object['hasOwnProperty']['call'](_0x274581,'data1')&&!(_0x274581['data1']&&'number'==typeof _0x274581['data1']['length']||_0x222891['isString'](_0x274581['data1']))?'data1:\x20buffer\x20expected':null);},_0x26185f['fromObject']=function(_0x18764a,_0x64196){if(_0x18764a instanceof _0xbccd8d['NumberBytesPacketDataMessage'])return _0x18764a;if(!_0x222891['isObject'](_0x18764a))throw TypeError('.NumberBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x64196&&(_0x64196=0x0),_0x64196>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4d4ef4=new _0xbccd8d['NumberBytesPacketDataMessage']();return null!=_0x18764a['data']&&(_0x4d4ef4['data']=_0x18764a['data']>>>0x0),null!=_0x18764a['data1']&&('string'==typeof _0x18764a['data1']?_0x222891['base64']['decode'](_0x18764a['data1'],_0x4d4ef4['data1']=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x18764a['data1'])),0x0):_0x18764a['data1']['length']>=0x0&&(_0x4d4ef4['data1']=_0x18764a['data1'])),_0x4d4ef4;},_0x26185f['toObject']=function(_0x59ec02,_0x3c03bd,_0x479f25){if(_0x3c03bd||(_0x3c03bd={}),void 0x0===_0x479f25&&(_0x479f25=0x0),_0x479f25>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x413573={};return _0x3c03bd['defaults']&&(_0x413573['data']=0x0,_0x3c03bd['bytes']===String?_0x413573['data1']='':(_0x413573['data1']=[],_0x3c03bd['bytes']!==Array&&(_0x413573['data1']=_0x222891['newBuffer'](_0x413573['data1'])))),null!=_0x59ec02['data']&&Object['hasOwnProperty']['call'](_0x59ec02,'data')&&(_0x413573['data']=_0x59ec02['data']),null!=_0x59ec02['data1']&&Object['hasOwnProperty']['call'](_0x59ec02,'data1')&&(_0x413573['data1']=_0x3c03bd['bytes']===String?_0x222891['base64']['encode'](_0x59ec02['data1'],0x0,_0x59ec02['data1']['length']):_0x3c03bd['bytes']===Array?Array['prototype']['slice']['call'](_0x59ec02['data1']):_0x59ec02['data1']),_0x413573;},_0x26185f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x26185f['getTypeUrl']=function(_0x327876){return void 0x0===_0x327876&&(_0x327876='type.googleapis.com'),_0x327876+'/NumberBytesPacketDataMessage';},_0x26185f;}()),_0xbccd8d['BytesBytesPacketDataMessage']=(function(){function _0x537de1(_0x36def6){if(_0x36def6){for(var _0xfc4076=Object['keys'](_0x36def6),_0x4ee89c=0x0;_0x4ee89c<_0xfc4076['length'];++_0x4ee89c)null!=_0x36def6[_0xfc4076[_0x4ee89c]]&&'__proto__'!==_0xfc4076[_0x4ee89c]&&(this[_0xfc4076[_0x4ee89c]]=_0x36def6[_0xfc4076[_0x4ee89c]]);}}return _0x537de1['prototype']['data']=_0x222891['newBuffer']([]),_0x537de1['prototype']['data1']=_0x222891['newBuffer']([]),_0x537de1['create']=function(_0x42b72f){return new _0x537de1(_0x42b72f);},_0x537de1['encode']=function(_0x12b6dd,_0xd62416,_0x1c9347){if(_0xd62416||(_0xd62416=_0x55d9b7['create']()),void 0x0===_0x1c9347&&(_0x1c9347=0x0),_0x1c9347>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x12b6dd['data']&&Object['hasOwnProperty']['call'](_0x12b6dd,'data')&&_0xd62416['uint32'](0xa)['bytes'](_0x12b6dd['data']),null!=_0x12b6dd['data1']&&Object['hasOwnProperty']['call'](_0x12b6dd,'data1')&&_0xd62416['uint32'](0x12)['bytes'](_0x12b6dd['data1']),_0xd62416;},_0x537de1['encodeDelimited']=function(_0x5b67c1,_0x451e00){return this['encode'](_0x5b67c1,_0x451e00)['ldelim']();},_0x537de1['decode']=function(_0xfc3dc4,_0x5ce687,_0x3a5aee,_0x307252){if(_0xfc3dc4 instanceof _0x105dc2||(_0xfc3dc4=_0x105dc2['create'](_0xfc3dc4)),void 0x0===_0x307252&&(_0x307252=0x0),_0x307252>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3d169a=void 0x0===_0x5ce687?_0xfc3dc4['len']:_0xfc3dc4['pos']+_0x5ce687,_0x2fafee=new _0xbccd8d['BytesBytesPacketDataMessage']();_0xfc3dc4['pos']<_0x3d169a;){var _0x43dec9=_0xfc3dc4['uint32']();if(_0x43dec9===_0x3a5aee)break;switch(_0x43dec9>>>0x3){case 0x1:_0x2fafee['data']=_0xfc3dc4['bytes']();break;case 0x2:_0x2fafee['data1']=_0xfc3dc4['bytes']();break;default:_0xfc3dc4['skipType'](0x7&_0x43dec9,_0x307252);}}return _0x2fafee;},_0x537de1['decodeDelimited']=function(_0x4fed62){return _0x4fed62 instanceof _0x105dc2||(_0x4fed62=new _0x105dc2(_0x4fed62)),this['decode'](_0x4fed62,_0x4fed62['uint32']());},_0x537de1['verify']=function(_0x237382,_0x1d2635){return'object'!=typeof _0x237382||null===_0x237382?'object\x20expected':(void 0x0===_0x1d2635&&(_0x1d2635=0x0),_0x1d2635>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x237382['data']&&Object['hasOwnProperty']['call'](_0x237382,'data')&&!(_0x237382['data']&&'number'==typeof _0x237382['data']['length']||_0x222891['isString'](_0x237382['data']))?'data:\x20buffer\x20expected':null!=_0x237382['data1']&&Object['hasOwnProperty']['call'](_0x237382,'data1')&&!(_0x237382['data1']&&'number'==typeof _0x237382['data1']['length']||_0x222891['isString'](_0x237382['data1']))?'data1:\x20buffer\x20expected':null);},_0x537de1['fromObject']=function(_0x3ebd1c,_0x3e29a2){if(_0x3ebd1c instanceof _0xbccd8d['BytesBytesPacketDataMessage'])return _0x3ebd1c;if(!_0x222891['isObject'](_0x3ebd1c))throw TypeError('.BytesBytesPacketDataMessage:\x20object\x20expected');if(void 0x0===_0x3e29a2&&(_0x3e29a2=0x0),_0x3e29a2>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2c8779=new _0xbccd8d['BytesBytesPacketDataMessage']();return null!=_0x3ebd1c['data']&&('string'==typeof _0x3ebd1c['data']?_0x222891['base64']['decode'](_0x3ebd1c['data'],_0x2c8779['data']=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x3ebd1c['data'])),0x0):_0x3ebd1c['data']['length']>=0x0&&(_0x2c8779['data']=_0x3ebd1c['data'])),null!=_0x3ebd1c['data1']&&('string'==typeof _0x3ebd1c['data1']?_0x222891['base64']['decode'](_0x3ebd1c['data1'],_0x2c8779['data1']=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x3ebd1c['data1'])),0x0):_0x3ebd1c['data1']['length']>=0x0&&(_0x2c8779['data1']=_0x3ebd1c['data1'])),_0x2c8779;},_0x537de1['toObject']=function(_0x5a1c9e,_0x4f6082,_0x59628d){if(_0x4f6082||(_0x4f6082={}),void 0x0===_0x59628d&&(_0x59628d=0x0),_0x59628d>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x59fbb7={};return _0x4f6082['defaults']&&(_0x4f6082['bytes']===String?_0x59fbb7['data']='':(_0x59fbb7['data']=[],_0x4f6082['bytes']!==Array&&(_0x59fbb7['data']=_0x222891['newBuffer'](_0x59fbb7['data']))),_0x4f6082['bytes']===String?_0x59fbb7['data1']='':(_0x59fbb7['data1']=[],_0x4f6082['bytes']!==Array&&(_0x59fbb7['data1']=_0x222891['newBuffer'](_0x59fbb7['data1'])))),null!=_0x5a1c9e['data']&&Object['hasOwnProperty']['call'](_0x5a1c9e,'data')&&(_0x59fbb7['data']=_0x4f6082['bytes']===String?_0x222891['base64']['encode'](_0x5a1c9e['data'],0x0,_0x5a1c9e['data']['length']):_0x4f6082['bytes']===Array?Array['prototype']['slice']['call'](_0x5a1c9e['data']):_0x5a1c9e['data']),null!=_0x5a1c9e['data1']&&Object['hasOwnProperty']['call'](_0x5a1c9e,'data1')&&(_0x59fbb7['data1']=_0x4f6082['bytes']===String?_0x222891['base64']['encode'](_0x5a1c9e['data1'],0x0,_0x5a1c9e['data1']['length']):_0x4f6082['bytes']===Array?Array['prototype']['slice']['call'](_0x5a1c9e['data1']):_0x5a1c9e['data1']),_0x59fbb7;},_0x537de1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x537de1['getTypeUrl']=function(_0xfb681e){return void 0x0===_0xfb681e&&(_0xfb681e='type.googleapis.com'),_0xfb681e+'/BytesBytesPacketDataMessage';},_0x537de1;}()),_0xbccd8d['ChannelMessage']=(function(){function _0x486c5f(_0x5f1de8){if(_0x5f1de8){for(var _0xa99c32=Object['keys'](_0x5f1de8),_0x3afec2=0x0;_0x3afec2<_0xa99c32['length'];++_0x3afec2)null!=_0x5f1de8[_0xa99c32[_0x3afec2]]&&'__proto__'!==_0xa99c32[_0x3afec2]&&(this[_0xa99c32[_0x3afec2]]=_0x5f1de8[_0xa99c32[_0x3afec2]]);}}return _0x486c5f['prototype']['type']=0x0,_0x486c5f['prototype']['socketId']='',_0x486c5f['prototype']['data']=_0x222891['newBuffer']([]),_0x486c5f['create']=function(_0x4d5af8){return new _0x486c5f(_0x4d5af8);},_0x486c5f['encode']=function(_0x4a6a9e,_0x16bb76,_0x30c970){if(_0x16bb76||(_0x16bb76=_0x55d9b7['create']()),void 0x0===_0x30c970&&(_0x30c970=0x0),_0x30c970>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4a6a9e['type']&&Object['hasOwnProperty']['call'](_0x4a6a9e,'type')&&_0x16bb76['uint32'](0x8)['uint32'](_0x4a6a9e['type']),null!=_0x4a6a9e['socketId']&&Object['hasOwnProperty']['call'](_0x4a6a9e,'socketId')&&_0x16bb76['uint32'](0x12)['string'](_0x4a6a9e['socketId']),null!=_0x4a6a9e['data']&&Object['hasOwnProperty']['call'](_0x4a6a9e,'data')&&_0x16bb76['uint32'](0x1a)['bytes'](_0x4a6a9e['data']),_0x16bb76;},_0x486c5f['encodeDelimited']=function(_0x58b134,_0x2fe5e1){return this['encode'](_0x58b134,_0x2fe5e1)['ldelim']();},_0x486c5f['decode']=function(_0x483933,_0x473f36,_0x3550cb,_0x128fff){if(_0x483933 instanceof _0x105dc2||(_0x483933=_0x105dc2['create'](_0x483933)),void 0x0===_0x128fff&&(_0x128fff=0x0),_0x128fff>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b144d=void 0x0===_0x473f36?_0x483933['len']:_0x483933['pos']+_0x473f36,_0x33591d=new _0xbccd8d['ChannelMessage']();_0x483933['pos']<_0x2b144d;){var _0x2da7e3=_0x483933['uint32']();if(_0x2da7e3===_0x3550cb)break;switch(_0x2da7e3>>>0x3){case 0x1:_0x33591d['type']=_0x483933['uint32']();break;case 0x2:_0x33591d['socketId']=_0x483933['string']();break;case 0x3:_0x33591d['data']=_0x483933['bytes']();break;default:_0x483933['skipType'](0x7&_0x2da7e3,_0x128fff);}}return _0x33591d;},_0x486c5f['decodeDelimited']=function(_0x400aa1){return _0x400aa1 instanceof _0x105dc2||(_0x400aa1=new _0x105dc2(_0x400aa1)),this['decode'](_0x400aa1,_0x400aa1['uint32']());},_0x486c5f['verify']=function(_0x355b25,_0xe9aef9){return'object'!=typeof _0x355b25||null===_0x355b25?'object\x20expected':(void 0x0===_0xe9aef9&&(_0xe9aef9=0x0),_0xe9aef9>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x355b25['type']&&Object['hasOwnProperty']['call'](_0x355b25,'type')&&!_0x222891['isInteger'](_0x355b25['type'])?'type:\x20integer\x20expected':null!=_0x355b25['socketId']&&Object['hasOwnProperty']['call'](_0x355b25,'socketId')&&!_0x222891['isString'](_0x355b25['socketId'])?'socketId:\x20string\x20expected':null!=_0x355b25['data']&&Object['hasOwnProperty']['call'](_0x355b25,'data')&&!(_0x355b25['data']&&'number'==typeof _0x355b25['data']['length']||_0x222891['isString'](_0x355b25['data']))?'data:\x20buffer\x20expected':null);},_0x486c5f['fromObject']=function(_0x1b3ee4,_0xf0d70f){if(_0x1b3ee4 instanceof _0xbccd8d['ChannelMessage'])return _0x1b3ee4;if(!_0x222891['isObject'](_0x1b3ee4))throw TypeError('.ChannelMessage:\x20object\x20expected');if(void 0x0===_0xf0d70f&&(_0xf0d70f=0x0),_0xf0d70f>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x39b959=new _0xbccd8d['ChannelMessage']();return null!=_0x1b3ee4['type']&&(_0x39b959['type']=_0x1b3ee4['type']>>>0x0),null!=_0x1b3ee4['socketId']&&(_0x39b959['socketId']=String(_0x1b3ee4['socketId'])),null!=_0x1b3ee4['data']&&('string'==typeof _0x1b3ee4['data']?_0x222891['base64']['decode'](_0x1b3ee4['data'],_0x39b959['data']=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x1b3ee4['data'])),0x0):_0x1b3ee4['data']['length']>=0x0&&(_0x39b959['data']=_0x1b3ee4['data'])),_0x39b959;},_0x486c5f['toObject']=function(_0x24f2b2,_0x4148cf,_0x1e068d){if(_0x4148cf||(_0x4148cf={}),void 0x0===_0x1e068d&&(_0x1e068d=0x0),_0x1e068d>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x54de34={};return _0x4148cf['defaults']&&(_0x54de34['type']=0x0,_0x54de34['socketId']='',_0x4148cf['bytes']===String?_0x54de34['data']='':(_0x54de34['data']=[],_0x4148cf['bytes']!==Array&&(_0x54de34['data']=_0x222891['newBuffer'](_0x54de34['data'])))),null!=_0x24f2b2['type']&&Object['hasOwnProperty']['call'](_0x24f2b2,'type')&&(_0x54de34['type']=_0x24f2b2['type']),null!=_0x24f2b2['socketId']&&Object['hasOwnProperty']['call'](_0x24f2b2,'socketId')&&(_0x54de34['socketId']=_0x24f2b2['socketId']),null!=_0x24f2b2['data']&&Object['hasOwnProperty']['call'](_0x24f2b2,'data')&&(_0x54de34['data']=_0x4148cf['bytes']===String?_0x222891['base64']['encode'](_0x24f2b2['data'],0x0,_0x24f2b2['data']['length']):_0x4148cf['bytes']===Array?Array['prototype']['slice']['call'](_0x24f2b2['data']):_0x24f2b2['data']),_0x54de34;},_0x486c5f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x486c5f['getTypeUrl']=function(_0x5ba35c){return void 0x0===_0x5ba35c&&(_0x5ba35c='type.googleapis.com'),_0x5ba35c+'/ChannelMessage';},_0x486c5f;}()),_0xbccd8d['ChannelDisconnectedMessage']=(function(){function _0x20f4e6(_0xbeefba){if(_0xbeefba){for(var _0x55f91d=Object['keys'](_0xbeefba),_0x5c0ed9=0x0;_0x5c0ed9<_0x55f91d['length'];++_0x5c0ed9)null!=_0xbeefba[_0x55f91d[_0x5c0ed9]]&&'__proto__'!==_0x55f91d[_0x5c0ed9]&&(this[_0x55f91d[_0x5c0ed9]]=_0xbeefba[_0x55f91d[_0x5c0ed9]]);}}return _0x20f4e6['create']=function(_0x148ea3){return new _0x20f4e6(_0x148ea3);},_0x20f4e6['encode']=function(_0x5db290,_0x28fe13,_0x4b6c54){if(_0x28fe13||(_0x28fe13=_0x55d9b7['create']()),void 0x0===_0x4b6c54&&(_0x4b6c54=0x0),_0x4b6c54>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return _0x28fe13;},_0x20f4e6['encodeDelimited']=function(_0x405a98,_0x44dd40){return this['encode'](_0x405a98,_0x44dd40)['ldelim']();},_0x20f4e6['decode']=function(_0x37cc57,_0x477179,_0x2aa20d,_0x2e7764){if(_0x37cc57 instanceof _0x105dc2||(_0x37cc57=_0x105dc2['create'](_0x37cc57)),void 0x0===_0x2e7764&&(_0x2e7764=0x0),_0x2e7764>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b6387=void 0x0===_0x477179?_0x37cc57['len']:_0x37cc57['pos']+_0x477179,_0x3d3c6b=new _0xbccd8d['ChannelDisconnectedMessage']();_0x37cc57['pos']<_0x2b6387;){var _0x2a873b=_0x37cc57['uint32']();if(_0x2a873b===_0x2aa20d)break;_0x37cc57['skipType'](0x7&_0x2a873b,_0x2e7764);}return _0x3d3c6b;},_0x20f4e6['decodeDelimited']=function(_0x8e09){return _0x8e09 instanceof _0x105dc2||(_0x8e09=new _0x105dc2(_0x8e09)),this['decode'](_0x8e09,_0x8e09['uint32']());},_0x20f4e6['verify']=function(_0x4690d5,_0x187b85){return'object'!=typeof _0x4690d5||null===_0x4690d5?'object\x20expected':(void 0x0===_0x187b85&&(_0x187b85=0x0),_0x187b85>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null);},_0x20f4e6['fromObject']=function(_0x423d16,_0x3bccbe){return _0x423d16 instanceof _0xbccd8d['ChannelDisconnectedMessage']?_0x423d16:new _0xbccd8d['ChannelDisconnectedMessage']();},_0x20f4e6['toObject']=function(){return{};},_0x20f4e6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x20f4e6['getTypeUrl']=function(_0x2ef904){return void 0x0===_0x2ef904&&(_0x2ef904='type.googleapis.com'),_0x2ef904+'/ChannelDisconnectedMessage';},_0x20f4e6;}()),_0xbccd8d['GetUserResponse']=(function(){function _0x4def9f(_0x69373f){if(this['attributes']=[],_0x69373f){for(var _0x3c3cc0=Object['keys'](_0x69373f),_0x55d46e=0x0;_0x55d46e<_0x3c3cc0['length'];++_0x55d46e)null!=_0x69373f[_0x3c3cc0[_0x55d46e]]&&'__proto__'!==_0x3c3cc0[_0x55d46e]&&(this[_0x3c3cc0[_0x55d46e]]=_0x69373f[_0x3c3cc0[_0x55d46e]]);}}return _0x4def9f['prototype']['attributes']=_0x222891['emptyArray'],_0x4def9f['create']=function(_0x5d372a){return new _0x4def9f(_0x5d372a);},_0x4def9f['encode']=function(_0x4f1b03,_0x3c2195,_0x2c5414){if(_0x3c2195||(_0x3c2195=_0x55d9b7['create']()),void 0x0===_0x2c5414&&(_0x2c5414=0x0),_0x2c5414>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x4f1b03['attributes']&&_0x4f1b03['attributes']['length']){for(var _0x427bd0=0x0;_0x427bd0<_0x4f1b03['attributes']['length'];++_0x427bd0)_0xbccd8d['KeyValueDescriptor']['encode'](_0x4f1b03['attributes'][_0x427bd0],_0x3c2195['uint32'](0xa)['fork'](),_0x2c5414+0x1)['ldelim']();}return _0x3c2195;},_0x4def9f['encodeDelimited']=function(_0x19c45e,_0x38b4ae){return this['encode'](_0x19c45e,_0x38b4ae)['ldelim']();},_0x4def9f['decode']=function(_0x518cf0,_0x119fe8,_0x4ef794,_0x25b0ad){if(_0x518cf0 instanceof _0x105dc2||(_0x518cf0=_0x105dc2['create'](_0x518cf0)),void 0x0===_0x25b0ad&&(_0x25b0ad=0x0),_0x25b0ad>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3587cd=void 0x0===_0x119fe8?_0x518cf0['len']:_0x518cf0['pos']+_0x119fe8,_0x39dd4d=new _0xbccd8d['GetUserResponse']();_0x518cf0['pos']<_0x3587cd;){var _0x445748=_0x518cf0['uint32']();if(_0x445748===_0x4ef794)break;_0x445748>>>0x3==0x1?(_0x39dd4d['attributes']&&_0x39dd4d['attributes']['length']||(_0x39dd4d['attributes']=[]),_0x39dd4d['attributes']['push'](_0xbccd8d['KeyValueDescriptor']['decode'](_0x518cf0,_0x518cf0['uint32'](),void 0x0,_0x25b0ad+0x1))):_0x518cf0['skipType'](0x7&_0x445748,_0x25b0ad);}return _0x39dd4d;},_0x4def9f['decodeDelimited']=function(_0x300c22){return _0x300c22 instanceof _0x105dc2||(_0x300c22=new _0x105dc2(_0x300c22)),this['decode'](_0x300c22,_0x300c22['uint32']());},_0x4def9f['verify']=function(_0x1b4deb,_0x888607){if('object'!=typeof _0x1b4deb||null===_0x1b4deb)return'object\x20expected';if(void 0x0===_0x888607&&(_0x888607=0x0),_0x888607>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1b4deb['attributes']&&Object['hasOwnProperty']['call'](_0x1b4deb,'attributes')){if(!Array['isArray'](_0x1b4deb['attributes']))return'attributes:\x20array\x20expected';for(var _0x3a2fa8=0x0;_0x3a2fa8<_0x1b4deb['attributes']['length'];++_0x3a2fa8){var _0x284c27=_0xbccd8d['KeyValueDescriptor']['verify'](_0x1b4deb['attributes'][_0x3a2fa8],_0x888607+0x1);if(_0x284c27)return'attributes.'+_0x284c27;}}return null;},_0x4def9f['fromObject']=function(_0x59320a,_0x167435){if(_0x59320a instanceof _0xbccd8d['GetUserResponse'])return _0x59320a;if(!_0x222891['isObject'](_0x59320a))throw TypeError('.GetUserResponse:\x20object\x20expected');if(void 0x0===_0x167435&&(_0x167435=0x0),_0x167435>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1449ea=new _0xbccd8d['GetUserResponse']();if(_0x59320a['attributes']){if(!Array['isArray'](_0x59320a['attributes']))throw TypeError('.GetUserResponse.attributes:\x20array\x20expected');_0x1449ea['attributes']=[];for(var _0x197f5b=0x0;_0x197f5b<_0x59320a['attributes']['length'];++_0x197f5b){if(!_0x222891['isObject'](_0x59320a['attributes'][_0x197f5b]))throw TypeError('.GetUserResponse.attributes:\x20object\x20expected');_0x1449ea['attributes'][_0x197f5b]=_0xbccd8d['KeyValueDescriptor']['fromObject'](_0x59320a['attributes'][_0x197f5b],_0x167435+0x1);}}return _0x1449ea;},_0x4def9f['toObject']=function(_0xc57405,_0x3ccb83,_0x2139b1){if(_0x3ccb83||(_0x3ccb83={}),void 0x0===_0x2139b1&&(_0x2139b1=0x0),_0x2139b1>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1cb988={};if((_0x3ccb83['arrays']||_0x3ccb83['defaults'])&&(_0x1cb988['attributes']=[]),_0xc57405['attributes']&&_0xc57405['attributes']['length']){_0x1cb988['attributes']=[];for(var _0x4cf0a0=0x0;_0x4cf0a0<_0xc57405['attributes']['length'];++_0x4cf0a0)_0x1cb988['attributes'][_0x4cf0a0]=_0xbccd8d['KeyValueDescriptor']['toObject'](_0xc57405['attributes'][_0x4cf0a0],_0x3ccb83,_0x2139b1+0x1);}return _0x1cb988;},_0x4def9f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x4def9f['getTypeUrl']=function(_0x2f9369){return void 0x0===_0x2f9369&&(_0x2f9369='type.googleapis.com'),_0x2f9369+'/GetUserResponse';},_0x4def9f;}()),_0xbccd8d['GetManyUsersResponse']=(function(){function _0x415515(_0xa51a36){if(this['users']=[],_0xa51a36){for(var _0x5e666c=Object['keys'](_0xa51a36),_0x323657=0x0;_0x323657<_0x5e666c['length'];++_0x323657)null!=_0xa51a36[_0x5e666c[_0x323657]]&&'__proto__'!==_0x5e666c[_0x323657]&&(this[_0x5e666c[_0x323657]]=_0xa51a36[_0x5e666c[_0x323657]]);}}return _0x415515['prototype']['users']=_0x222891['emptyArray'],_0x415515['create']=function(_0x559bfa){return new _0x415515(_0x559bfa);},_0x415515['encode']=function(_0x26fda9,_0x57e4fd,_0x358c5d){if(_0x57e4fd||(_0x57e4fd=_0x55d9b7['create']()),void 0x0===_0x358c5d&&(_0x358c5d=0x0),_0x358c5d>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x26fda9['users']&&_0x26fda9['users']['length']){for(var _0x491683=0x0;_0x491683<_0x26fda9['users']['length'];++_0x491683)_0xbccd8d['UserDescriptor']['encode'](_0x26fda9['users'][_0x491683],_0x57e4fd['uint32'](0xa)['fork'](),_0x358c5d+0x1)['ldelim']();}return _0x57e4fd;},_0x415515['encodeDelimited']=function(_0x1e90a4,_0x4afdb9){return this['encode'](_0x1e90a4,_0x4afdb9)['ldelim']();},_0x415515['decode']=function(_0x3886de,_0x2f86c7,_0x2e8f39,_0x2e9815){if(_0x3886de instanceof _0x105dc2||(_0x3886de=_0x105dc2['create'](_0x3886de)),void 0x0===_0x2e9815&&(_0x2e9815=0x0),_0x2e9815>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5210cc=void 0x0===_0x2f86c7?_0x3886de['len']:_0x3886de['pos']+_0x2f86c7,_0x4b5d6b=new _0xbccd8d['GetManyUsersResponse']();_0x3886de['pos']<_0x5210cc;){var _0x58aa62=_0x3886de['uint32']();if(_0x58aa62===_0x2e8f39)break;_0x58aa62>>>0x3==0x1?(_0x4b5d6b['users']&&_0x4b5d6b['users']['length']||(_0x4b5d6b['users']=[]),_0x4b5d6b['users']['push'](_0xbccd8d['UserDescriptor']['decode'](_0x3886de,_0x3886de['uint32'](),void 0x0,_0x2e9815+0x1))):_0x3886de['skipType'](0x7&_0x58aa62,_0x2e9815);}return _0x4b5d6b;},_0x415515['decodeDelimited']=function(_0x26ccbf){return _0x26ccbf instanceof _0x105dc2||(_0x26ccbf=new _0x105dc2(_0x26ccbf)),this['decode'](_0x26ccbf,_0x26ccbf['uint32']());},_0x415515['verify']=function(_0x1f645e,_0x292eb8){if('object'!=typeof _0x1f645e||null===_0x1f645e)return'object\x20expected';if(void 0x0===_0x292eb8&&(_0x292eb8=0x0),_0x292eb8>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1f645e['users']&&Object['hasOwnProperty']['call'](_0x1f645e,'users')){if(!Array['isArray'](_0x1f645e['users']))return'users:\x20array\x20expected';for(var _0x106c57=0x0;_0x106c57<_0x1f645e['users']['length'];++_0x106c57){var _0x3c0821=_0xbccd8d['UserDescriptor']['verify'](_0x1f645e['users'][_0x106c57],_0x292eb8+0x1);if(_0x3c0821)return'users.'+_0x3c0821;}}return null;},_0x415515['fromObject']=function(_0xf2a0eb,_0x15264d){if(_0xf2a0eb instanceof _0xbccd8d['GetManyUsersResponse'])return _0xf2a0eb;if(!_0x222891['isObject'](_0xf2a0eb))throw TypeError('.GetManyUsersResponse:\x20object\x20expected');if(void 0x0===_0x15264d&&(_0x15264d=0x0),_0x15264d>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x432f88=new _0xbccd8d['GetManyUsersResponse']();if(_0xf2a0eb['users']){if(!Array['isArray'](_0xf2a0eb['users']))throw TypeError('.GetManyUsersResponse.users:\x20array\x20expected');_0x432f88['users']=[];for(var _0xfff374=0x0;_0xfff374<_0xf2a0eb['users']['length'];++_0xfff374){if(!_0x222891['isObject'](_0xf2a0eb['users'][_0xfff374]))throw TypeError('.GetManyUsersResponse.users:\x20object\x20expected');_0x432f88['users'][_0xfff374]=_0xbccd8d['UserDescriptor']['fromObject'](_0xf2a0eb['users'][_0xfff374],_0x15264d+0x1);}}return _0x432f88;},_0x415515['toObject']=function(_0x12a242,_0x1fbe75,_0x9cdd10){if(_0x1fbe75||(_0x1fbe75={}),void 0x0===_0x9cdd10&&(_0x9cdd10=0x0),_0x9cdd10>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x587fa1={};if((_0x1fbe75['arrays']||_0x1fbe75['defaults'])&&(_0x587fa1['users']=[]),_0x12a242['users']&&_0x12a242['users']['length']){_0x587fa1['users']=[];for(var _0xc6820e=0x0;_0xc6820e<_0x12a242['users']['length'];++_0xc6820e)_0x587fa1['users'][_0xc6820e]=_0xbccd8d['UserDescriptor']['toObject'](_0x12a242['users'][_0xc6820e],_0x1fbe75,_0x9cdd10+0x1);}return _0x587fa1;},_0x415515['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x415515['getTypeUrl']=function(_0x4ec71b){return void 0x0===_0x4ec71b&&(_0x4ec71b='type.googleapis.com'),_0x4ec71b+'/GetManyUsersResponse';},_0x415515;}()),_0xbccd8d['GetUserMessage']=(function(){function _0x6d4431(_0x189079){if(_0x189079){for(var _0x5021a0=Object['keys'](_0x189079),_0x2ccf45=0x0;_0x2ccf45<_0x5021a0['length'];++_0x2ccf45)null!=_0x189079[_0x5021a0[_0x2ccf45]]&&'__proto__'!==_0x5021a0[_0x2ccf45]&&(this[_0x5021a0[_0x2ccf45]]=_0x189079[_0x5021a0[_0x2ccf45]]);}}return _0x6d4431['prototype']['id']='',_0x6d4431['create']=function(_0xcb696){return new _0x6d4431(_0xcb696);},_0x6d4431['encode']=function(_0x105c7a,_0x862c77,_0x4343c9){if(_0x862c77||(_0x862c77=_0x55d9b7['create']()),void 0x0===_0x4343c9&&(_0x4343c9=0x0),_0x4343c9>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x105c7a['id']&&Object['hasOwnProperty']['call'](_0x105c7a,'id')&&_0x862c77['uint32'](0xa)['string'](_0x105c7a['id']),_0x862c77;},_0x6d4431['encodeDelimited']=function(_0x167c07,_0x38aa3a){return this['encode'](_0x167c07,_0x38aa3a)['ldelim']();},_0x6d4431['decode']=function(_0x2aad24,_0x262e04,_0x5e1785,_0x44fafa){if(_0x2aad24 instanceof _0x105dc2||(_0x2aad24=_0x105dc2['create'](_0x2aad24)),void 0x0===_0x44fafa&&(_0x44fafa=0x0),_0x44fafa>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x436ca5=void 0x0===_0x262e04?_0x2aad24['len']:_0x2aad24['pos']+_0x262e04,_0x162b21=new _0xbccd8d['GetUserMessage']();_0x2aad24['pos']<_0x436ca5;){var _0x5b517f=_0x2aad24['uint32']();if(_0x5b517f===_0x5e1785)break;_0x5b517f>>>0x3==0x1?_0x162b21['id']=_0x2aad24['string']():_0x2aad24['skipType'](0x7&_0x5b517f,_0x44fafa);}return _0x162b21;},_0x6d4431['decodeDelimited']=function(_0x58d4ff){return _0x58d4ff instanceof _0x105dc2||(_0x58d4ff=new _0x105dc2(_0x58d4ff)),this['decode'](_0x58d4ff,_0x58d4ff['uint32']());},_0x6d4431['verify']=function(_0x338657,_0x2d7122){return'object'!=typeof _0x338657||null===_0x338657?'object\x20expected':(void 0x0===_0x2d7122&&(_0x2d7122=0x0),_0x2d7122>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x338657['id']&&Object['hasOwnProperty']['call'](_0x338657,'id')&&!_0x222891['isString'](_0x338657['id'])?'id:\x20string\x20expected':null);},_0x6d4431['fromObject']=function(_0x2864ae,_0x42dc0e){if(_0x2864ae instanceof _0xbccd8d['GetUserMessage'])return _0x2864ae;if(!_0x222891['isObject'](_0x2864ae))throw TypeError('.GetUserMessage:\x20object\x20expected');if(void 0x0===_0x42dc0e&&(_0x42dc0e=0x0),_0x42dc0e>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x55d2fb=new _0xbccd8d['GetUserMessage']();return null!=_0x2864ae['id']&&(_0x55d2fb['id']=String(_0x2864ae['id'])),_0x55d2fb;},_0x6d4431['toObject']=function(_0x961600,_0xfa957a,_0x42816c){if(_0xfa957a||(_0xfa957a={}),void 0x0===_0x42816c&&(_0x42816c=0x0),_0x42816c>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x26e859={};return _0xfa957a['defaults']&&(_0x26e859['id']=''),null!=_0x961600['id']&&Object['hasOwnProperty']['call'](_0x961600,'id')&&(_0x26e859['id']=_0x961600['id']),_0x26e859;},_0x6d4431['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x6d4431['getTypeUrl']=function(_0x4be1c5){return void 0x0===_0x4be1c5&&(_0x4be1c5='type.googleapis.com'),_0x4be1c5+'/GetUserMessage';},_0x6d4431;}()),_0xbccd8d['GetManyUsersMessage']=(function(){function _0x51186a(_0x55212b){if(this['ids']=[],_0x55212b){for(var _0x1d3c75=Object['keys'](_0x55212b),_0x232f36=0x0;_0x232f36<_0x1d3c75['length'];++_0x232f36)null!=_0x55212b[_0x1d3c75[_0x232f36]]&&'__proto__'!==_0x1d3c75[_0x232f36]&&(this[_0x1d3c75[_0x232f36]]=_0x55212b[_0x1d3c75[_0x232f36]]);}}return _0x51186a['prototype']['ids']=_0x222891['emptyArray'],_0x51186a['create']=function(_0x4a1df3){return new _0x51186a(_0x4a1df3);},_0x51186a['encode']=function(_0x3f409a,_0x1335a1,_0x3426e3){if(_0x1335a1||(_0x1335a1=_0x55d9b7['create']()),void 0x0===_0x3426e3&&(_0x3426e3=0x0),_0x3426e3>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3f409a['ids']&&_0x3f409a['ids']['length']){for(var _0x41f8e7=0x0;_0x41f8e7<_0x3f409a['ids']['length'];++_0x41f8e7)_0x1335a1['uint32'](0xa)['string'](_0x3f409a['ids'][_0x41f8e7]);}return _0x1335a1;},_0x51186a['encodeDelimited']=function(_0x21f0ba,_0xfaf51d){return this['encode'](_0x21f0ba,_0xfaf51d)['ldelim']();},_0x51186a['decode']=function(_0x232f18,_0x3b32f1,_0x594f8a,_0x3b2689){if(_0x232f18 instanceof _0x105dc2||(_0x232f18=_0x105dc2['create'](_0x232f18)),void 0x0===_0x3b2689&&(_0x3b2689=0x0),_0x3b2689>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x7188df=void 0x0===_0x3b32f1?_0x232f18['len']:_0x232f18['pos']+_0x3b32f1,_0x2ad13f=new _0xbccd8d['GetManyUsersMessage']();_0x232f18['pos']<_0x7188df;){var _0x3331e9=_0x232f18['uint32']();if(_0x3331e9===_0x594f8a)break;_0x3331e9>>>0x3==0x1?(_0x2ad13f['ids']&&_0x2ad13f['ids']['length']||(_0x2ad13f['ids']=[]),_0x2ad13f['ids']['push'](_0x232f18['string']())):_0x232f18['skipType'](0x7&_0x3331e9,_0x3b2689);}return _0x2ad13f;},_0x51186a['decodeDelimited']=function(_0x26ac94){return _0x26ac94 instanceof _0x105dc2||(_0x26ac94=new _0x105dc2(_0x26ac94)),this['decode'](_0x26ac94,_0x26ac94['uint32']());},_0x51186a['verify']=function(_0x574d45,_0x499003){if('object'!=typeof _0x574d45||null===_0x574d45)return'object\x20expected';if(void 0x0===_0x499003&&(_0x499003=0x0),_0x499003>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x574d45['ids']&&Object['hasOwnProperty']['call'](_0x574d45,'ids')){if(!Array['isArray'](_0x574d45['ids']))return'ids:\x20array\x20expected';for(var _0x2e8118=0x0;_0x2e8118<_0x574d45['ids']['length'];++_0x2e8118)if(!_0x222891['isString'](_0x574d45['ids'][_0x2e8118]))return'ids:\x20string[]\x20expected';}return null;},_0x51186a['fromObject']=function(_0x448b31,_0x1a47af){if(_0x448b31 instanceof _0xbccd8d['GetManyUsersMessage'])return _0x448b31;if(!_0x222891['isObject'](_0x448b31))throw TypeError('.GetManyUsersMessage:\x20object\x20expected');if(void 0x0===_0x1a47af&&(_0x1a47af=0x0),_0x1a47af>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5c86fe=new _0xbccd8d['GetManyUsersMessage']();if(_0x448b31['ids']){if(!Array['isArray'](_0x448b31['ids']))throw TypeError('.GetManyUsersMessage.ids:\x20array\x20expected');_0x5c86fe['ids']=[];for(var _0x40643c=0x0;_0x40643c<_0x448b31['ids']['length'];++_0x40643c)_0x5c86fe['ids'][_0x40643c]=String(_0x448b31['ids'][_0x40643c]);}return _0x5c86fe;},_0x51186a['toObject']=function(_0x2afec5,_0x208c80,_0x6cb94b){if(_0x208c80||(_0x208c80={}),void 0x0===_0x6cb94b&&(_0x6cb94b=0x0),_0x6cb94b>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x52747e={};if((_0x208c80['arrays']||_0x208c80['defaults'])&&(_0x52747e['ids']=[]),_0x2afec5['ids']&&_0x2afec5['ids']['length']){_0x52747e['ids']=[];for(var _0x1638b3=0x0;_0x1638b3<_0x2afec5['ids']['length'];++_0x1638b3)_0x52747e['ids'][_0x1638b3]=_0x2afec5['ids'][_0x1638b3];}return _0x52747e;},_0x51186a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x51186a['getTypeUrl']=function(_0x3ee807){return void 0x0===_0x3ee807&&(_0x3ee807='type.googleapis.com'),_0x3ee807+'/GetManyUsersMessage';},_0x51186a;}()),_0xbccd8d['UserDescriptor']=(function(){function _0x566eb8(_0x56b2c0){if(this['attributes']=[],_0x56b2c0){for(var _0x3f27af=Object['keys'](_0x56b2c0),_0x502fd5=0x0;_0x502fd5<_0x3f27af['length'];++_0x502fd5)null!=_0x56b2c0[_0x3f27af[_0x502fd5]]&&'__proto__'!==_0x3f27af[_0x502fd5]&&(this[_0x3f27af[_0x502fd5]]=_0x56b2c0[_0x3f27af[_0x502fd5]]);}}return _0x566eb8['prototype']['attributes']=_0x222891['emptyArray'],_0x566eb8['create']=function(_0x505658){return new _0x566eb8(_0x505658);},_0x566eb8['encode']=function(_0x2475cf,_0x2c39f5,_0x1945df){if(_0x2c39f5||(_0x2c39f5=_0x55d9b7['create']()),void 0x0===_0x1945df&&(_0x1945df=0x0),_0x1945df>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2475cf['attributes']&&_0x2475cf['attributes']['length']){for(var _0x115cda=0x0;_0x115cda<_0x2475cf['attributes']['length'];++_0x115cda)_0xbccd8d['KeyValueDescriptor']['encode'](_0x2475cf['attributes'][_0x115cda],_0x2c39f5['uint32'](0xa)['fork'](),_0x1945df+0x1)['ldelim']();}return _0x2c39f5;},_0x566eb8['encodeDelimited']=function(_0x5bde80,_0x5aae39){return this['encode'](_0x5bde80,_0x5aae39)['ldelim']();},_0x566eb8['decode']=function(_0x1df69e,_0x3b38b5,_0x5c25a4,_0x3a1380){if(_0x1df69e instanceof _0x105dc2||(_0x1df69e=_0x105dc2['create'](_0x1df69e)),void 0x0===_0x3a1380&&(_0x3a1380=0x0),_0x3a1380>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x418fc1=void 0x0===_0x3b38b5?_0x1df69e['len']:_0x1df69e['pos']+_0x3b38b5,_0x55c170=new _0xbccd8d['UserDescriptor']();_0x1df69e['pos']<_0x418fc1;){var _0x10f168=_0x1df69e['uint32']();if(_0x10f168===_0x5c25a4)break;_0x10f168>>>0x3==0x1?(_0x55c170['attributes']&&_0x55c170['attributes']['length']||(_0x55c170['attributes']=[]),_0x55c170['attributes']['push'](_0xbccd8d['KeyValueDescriptor']['decode'](_0x1df69e,_0x1df69e['uint32'](),void 0x0,_0x3a1380+0x1))):_0x1df69e['skipType'](0x7&_0x10f168,_0x3a1380);}return _0x55c170;},_0x566eb8['decodeDelimited']=function(_0x1ca68a){return _0x1ca68a instanceof _0x105dc2||(_0x1ca68a=new _0x105dc2(_0x1ca68a)),this['decode'](_0x1ca68a,_0x1ca68a['uint32']());},_0x566eb8['verify']=function(_0x37b92e,_0x3bda16){if('object'!=typeof _0x37b92e||null===_0x37b92e)return'object\x20expected';if(void 0x0===_0x3bda16&&(_0x3bda16=0x0),_0x3bda16>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x37b92e['attributes']&&Object['hasOwnProperty']['call'](_0x37b92e,'attributes')){if(!Array['isArray'](_0x37b92e['attributes']))return'attributes:\x20array\x20expected';for(var _0x434e75=0x0;_0x434e75<_0x37b92e['attributes']['length'];++_0x434e75){var _0x15d006=_0xbccd8d['KeyValueDescriptor']['verify'](_0x37b92e['attributes'][_0x434e75],_0x3bda16+0x1);if(_0x15d006)return'attributes.'+_0x15d006;}}return null;},_0x566eb8['fromObject']=function(_0x355c85,_0x18139c){if(_0x355c85 instanceof _0xbccd8d['UserDescriptor'])return _0x355c85;if(!_0x222891['isObject'](_0x355c85))throw TypeError('.UserDescriptor:\x20object\x20expected');if(void 0x0===_0x18139c&&(_0x18139c=0x0),_0x18139c>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1a7fee=new _0xbccd8d['UserDescriptor']();if(_0x355c85['attributes']){if(!Array['isArray'](_0x355c85['attributes']))throw TypeError('.UserDescriptor.attributes:\x20array\x20expected');_0x1a7fee['attributes']=[];for(var _0x1ee992=0x0;_0x1ee992<_0x355c85['attributes']['length'];++_0x1ee992){if(!_0x222891['isObject'](_0x355c85['attributes'][_0x1ee992]))throw TypeError('.UserDescriptor.attributes:\x20object\x20expected');_0x1a7fee['attributes'][_0x1ee992]=_0xbccd8d['KeyValueDescriptor']['fromObject'](_0x355c85['attributes'][_0x1ee992],_0x18139c+0x1);}}return _0x1a7fee;},_0x566eb8['toObject']=function(_0x8c3d84,_0x3d1009,_0x32cf8e){if(_0x3d1009||(_0x3d1009={}),void 0x0===_0x32cf8e&&(_0x32cf8e=0x0),_0x32cf8e>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x51d204={};if((_0x3d1009['arrays']||_0x3d1009['defaults'])&&(_0x51d204['attributes']=[]),_0x8c3d84['attributes']&&_0x8c3d84['attributes']['length']){_0x51d204['attributes']=[];for(var _0x343e28=0x0;_0x343e28<_0x8c3d84['attributes']['length'];++_0x343e28)_0x51d204['attributes'][_0x343e28]=_0xbccd8d['KeyValueDescriptor']['toObject'](_0x8c3d84['attributes'][_0x343e28],_0x3d1009,_0x32cf8e+0x1);}return _0x51d204;},_0x566eb8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x566eb8['getTypeUrl']=function(_0x512df2){return void 0x0===_0x512df2&&(_0x512df2='type.googleapis.com'),_0x512df2+'/UserDescriptor';},_0x566eb8;}()),_0xbccd8d['TrackChangesGetSuggestionResponse']=(function(){function _0x4777d4(_0x57308a){if(_0x57308a){for(var _0x20e8fc=Object['keys'](_0x57308a),_0x297f4d=0x0;_0x297f4d<_0x20e8fc['length'];++_0x297f4d)null!=_0x57308a[_0x20e8fc[_0x297f4d]]&&'__proto__'!==_0x20e8fc[_0x297f4d]&&(this[_0x20e8fc[_0x297f4d]]=_0x57308a[_0x20e8fc[_0x297f4d]]);}}return _0x4777d4['prototype']['id']='',_0x4777d4['prototype']['authorId']='',_0x4777d4['prototype']['type']='',_0x4777d4['prototype']['createdAt']='',_0x4777d4['prototype']['data']='',_0x4777d4['prototype']['hasComments']=!0x1,_0x4777d4['prototype']['state']='',_0x4777d4['prototype']['attributes']='',_0x4777d4['create']=function(_0xd3ae21){return new _0x4777d4(_0xd3ae21);},_0x4777d4['encode']=function(_0x17a4df,_0x39d62e,_0xdceabf){if(_0x39d62e||(_0x39d62e=_0x55d9b7['create']()),void 0x0===_0xdceabf&&(_0xdceabf=0x0),_0xdceabf>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x17a4df['id']&&Object['hasOwnProperty']['call'](_0x17a4df,'id')&&_0x39d62e['uint32'](0xa)['string'](_0x17a4df['id']),null!=_0x17a4df['authorId']&&Object['hasOwnProperty']['call'](_0x17a4df,'authorId')&&_0x39d62e['uint32'](0x12)['string'](_0x17a4df['authorId']),null!=_0x17a4df['type']&&Object['hasOwnProperty']['call'](_0x17a4df,'type')&&_0x39d62e['uint32'](0x1a)['string'](_0x17a4df['type']),null!=_0x17a4df['createdAt']&&Object['hasOwnProperty']['call'](_0x17a4df,'createdAt')&&_0x39d62e['uint32'](0x22)['string'](_0x17a4df['createdAt']),null!=_0x17a4df['data']&&Object['hasOwnProperty']['call'](_0x17a4df,'data')&&_0x39d62e['uint32'](0x2a)['string'](_0x17a4df['data']),null!=_0x17a4df['hasComments']&&Object['hasOwnProperty']['call'](_0x17a4df,'hasComments')&&_0x39d62e['uint32'](0x30)['bool'](_0x17a4df['hasComments']),null!=_0x17a4df['state']&&Object['hasOwnProperty']['call'](_0x17a4df,'state')&&_0x39d62e['uint32'](0x3a)['string'](_0x17a4df['state']),null!=_0x17a4df['attributes']&&Object['hasOwnProperty']['call'](_0x17a4df,'attributes')&&_0x39d62e['uint32'](0x42)['string'](_0x17a4df['attributes']),_0x39d62e;},_0x4777d4['encodeDelimited']=function(_0x3d469c,_0x1c9266){return this['encode'](_0x3d469c,_0x1c9266)['ldelim']();},_0x4777d4['decode']=function(_0x14d9cf,_0x5f3292,_0x5ce4a8,_0x469101){if(_0x14d9cf instanceof _0x105dc2||(_0x14d9cf=_0x105dc2['create'](_0x14d9cf)),void 0x0===_0x469101&&(_0x469101=0x0),_0x469101>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x45c32d=void 0x0===_0x5f3292?_0x14d9cf['len']:_0x14d9cf['pos']+_0x5f3292,_0x5ba593=new _0xbccd8d['TrackChangesGetSuggestionResponse']();_0x14d9cf['pos']<_0x45c32d;){var _0x277e11=_0x14d9cf['uint32']();if(_0x277e11===_0x5ce4a8)break;switch(_0x277e11>>>0x3){case 0x1:_0x5ba593['id']=_0x14d9cf['string']();break;case 0x2:_0x5ba593['authorId']=_0x14d9cf['string']();break;case 0x3:_0x5ba593['type']=_0x14d9cf['string']();break;case 0x4:_0x5ba593['createdAt']=_0x14d9cf['string']();break;case 0x5:_0x5ba593['data']=_0x14d9cf['string']();break;case 0x6:_0x5ba593['hasComments']=_0x14d9cf['bool']();break;case 0x7:_0x5ba593['state']=_0x14d9cf['string']();break;case 0x8:_0x5ba593['attributes']=_0x14d9cf['string']();break;default:_0x14d9cf['skipType'](0x7&_0x277e11,_0x469101);}}return _0x5ba593;},_0x4777d4['decodeDelimited']=function(_0x1bf273){return _0x1bf273 instanceof _0x105dc2||(_0x1bf273=new _0x105dc2(_0x1bf273)),this['decode'](_0x1bf273,_0x1bf273['uint32']());},_0x4777d4['verify']=function(_0x1812a2,_0x3ac944){return'object'!=typeof _0x1812a2||null===_0x1812a2?'object\x20expected':(void 0x0===_0x3ac944&&(_0x3ac944=0x0),_0x3ac944>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1812a2['id']&&Object['hasOwnProperty']['call'](_0x1812a2,'id')&&!_0x222891['isString'](_0x1812a2['id'])?'id:\x20string\x20expected':null!=_0x1812a2['authorId']&&Object['hasOwnProperty']['call'](_0x1812a2,'authorId')&&!_0x222891['isString'](_0x1812a2['authorId'])?'authorId:\x20string\x20expected':null!=_0x1812a2['type']&&Object['hasOwnProperty']['call'](_0x1812a2,'type')&&!_0x222891['isString'](_0x1812a2['type'])?'type:\x20string\x20expected':null!=_0x1812a2['createdAt']&&Object['hasOwnProperty']['call'](_0x1812a2,'createdAt')&&!_0x222891['isString'](_0x1812a2['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1812a2['data']&&Object['hasOwnProperty']['call'](_0x1812a2,'data')&&!_0x222891['isString'](_0x1812a2['data'])?'data:\x20string\x20expected':null!=_0x1812a2['hasComments']&&Object['hasOwnProperty']['call'](_0x1812a2,'hasComments')&&'boolean'!=typeof _0x1812a2['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1812a2['state']&&Object['hasOwnProperty']['call'](_0x1812a2,'state')&&!_0x222891['isString'](_0x1812a2['state'])?'state:\x20string\x20expected':null!=_0x1812a2['attributes']&&Object['hasOwnProperty']['call'](_0x1812a2,'attributes')&&!_0x222891['isString'](_0x1812a2['attributes'])?'attributes:\x20string\x20expected':null);},_0x4777d4['fromObject']=function(_0x40cf7f,_0x24eae0){if(_0x40cf7f instanceof _0xbccd8d['TrackChangesGetSuggestionResponse'])return _0x40cf7f;if(!_0x222891['isObject'](_0x40cf7f))throw TypeError('.TrackChangesGetSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x24eae0&&(_0x24eae0=0x0),_0x24eae0>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x7dec14=new _0xbccd8d['TrackChangesGetSuggestionResponse']();return null!=_0x40cf7f['id']&&(_0x7dec14['id']=String(_0x40cf7f['id'])),null!=_0x40cf7f['authorId']&&(_0x7dec14['authorId']=String(_0x40cf7f['authorId'])),null!=_0x40cf7f['type']&&(_0x7dec14['type']=String(_0x40cf7f['type'])),null!=_0x40cf7f['createdAt']&&(_0x7dec14['createdAt']=String(_0x40cf7f['createdAt'])),null!=_0x40cf7f['data']&&(_0x7dec14['data']=String(_0x40cf7f['data'])),null!=_0x40cf7f['hasComments']&&(_0x7dec14['hasComments']=Boolean(_0x40cf7f['hasComments'])),null!=_0x40cf7f['state']&&(_0x7dec14['state']=String(_0x40cf7f['state'])),null!=_0x40cf7f['attributes']&&(_0x7dec14['attributes']=String(_0x40cf7f['attributes'])),_0x7dec14;},_0x4777d4['toObject']=function(_0x25500d,_0x4048e5,_0xd68ec){if(_0x4048e5||(_0x4048e5={}),void 0x0===_0xd68ec&&(_0xd68ec=0x0),_0xd68ec>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x597a03={};return _0x4048e5['defaults']&&(_0x597a03['id']='',_0x597a03['authorId']='',_0x597a03['type']='',_0x597a03['createdAt']='',_0x597a03['data']='',_0x597a03['hasComments']=!0x1,_0x597a03['state']='',_0x597a03['attributes']=''),null!=_0x25500d['id']&&Object['hasOwnProperty']['call'](_0x25500d,'id')&&(_0x597a03['id']=_0x25500d['id']),null!=_0x25500d['authorId']&&Object['hasOwnProperty']['call'](_0x25500d,'authorId')&&(_0x597a03['authorId']=_0x25500d['authorId']),null!=_0x25500d['type']&&Object['hasOwnProperty']['call'](_0x25500d,'type')&&(_0x597a03['type']=_0x25500d['type']),null!=_0x25500d['createdAt']&&Object['hasOwnProperty']['call'](_0x25500d,'createdAt')&&(_0x597a03['createdAt']=_0x25500d['createdAt']),null!=_0x25500d['data']&&Object['hasOwnProperty']['call'](_0x25500d,'data')&&(_0x597a03['data']=_0x25500d['data']),null!=_0x25500d['hasComments']&&Object['hasOwnProperty']['call'](_0x25500d,'hasComments')&&(_0x597a03['hasComments']=_0x25500d['hasComments']),null!=_0x25500d['state']&&Object['hasOwnProperty']['call'](_0x25500d,'state')&&(_0x597a03['state']=_0x25500d['state']),null!=_0x25500d['attributes']&&Object['hasOwnProperty']['call'](_0x25500d,'attributes')&&(_0x597a03['attributes']=_0x25500d['attributes']),_0x597a03;},_0x4777d4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x4777d4['getTypeUrl']=function(_0x1f17f9){return void 0x0===_0x1f17f9&&(_0x1f17f9='type.googleapis.com'),_0x1f17f9+'/TrackChangesGetSuggestionResponse';},_0x4777d4;}()),_0xbccd8d['TrackChangesGetAllSuggestionsResponse']=(function(){function _0x5a0933(_0x4d652b){if(this['suggestions']=[],this['suggestionsV2']=[],_0x4d652b){for(var _0x28b8e2=Object['keys'](_0x4d652b),_0x35f635=0x0;_0x35f635<_0x28b8e2['length'];++_0x35f635)null!=_0x4d652b[_0x28b8e2[_0x35f635]]&&'__proto__'!==_0x28b8e2[_0x35f635]&&(this[_0x28b8e2[_0x35f635]]=_0x4d652b[_0x28b8e2[_0x35f635]]);}}return _0x5a0933['prototype']['suggestions']=_0x222891['emptyArray'],_0x5a0933['prototype']['suggestionsV2']=_0x222891['emptyArray'],_0x5a0933['create']=function(_0x1dc802){return new _0x5a0933(_0x1dc802);},_0x5a0933['encode']=function(_0x5550c7,_0x5df8c6,_0x31886f){if(_0x5df8c6||(_0x5df8c6=_0x55d9b7['create']()),void 0x0===_0x31886f&&(_0x31886f=0x0),_0x31886f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x5550c7['suggestions']&&_0x5550c7['suggestions']['length']){for(var _0x455707=0x0;_0x455707<_0x5550c7['suggestions']['length'];++_0x455707)_0x5df8c6['uint32'](0xa)['string'](_0x5550c7['suggestions'][_0x455707]);}if(null!=_0x5550c7['suggestionsV2']&&_0x5550c7['suggestionsV2']['length']){for(_0x455707=0x0;_0x455707<_0x5550c7['suggestionsV2']['length'];++_0x455707)_0xbccd8d['SuggestionDescriptor']['encode'](_0x5550c7['suggestionsV2'][_0x455707],_0x5df8c6['uint32'](0x12)['fork'](),_0x31886f+0x1)['ldelim']();}return _0x5df8c6;},_0x5a0933['encodeDelimited']=function(_0x3af69a,_0x2f7f4e){return this['encode'](_0x3af69a,_0x2f7f4e)['ldelim']();},_0x5a0933['decode']=function(_0x53f4b1,_0x2bc7e5,_0x23c889,_0x38e5f6){if(_0x53f4b1 instanceof _0x105dc2||(_0x53f4b1=_0x105dc2['create'](_0x53f4b1)),void 0x0===_0x38e5f6&&(_0x38e5f6=0x0),_0x38e5f6>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5a68b9=void 0x0===_0x2bc7e5?_0x53f4b1['len']:_0x53f4b1['pos']+_0x2bc7e5,_0x28b740=new _0xbccd8d['TrackChangesGetAllSuggestionsResponse']();_0x53f4b1['pos']<_0x5a68b9;){var _0x2ddac6=_0x53f4b1['uint32']();if(_0x2ddac6===_0x23c889)break;switch(_0x2ddac6>>>0x3){case 0x1:_0x28b740['suggestions']&&_0x28b740['suggestions']['length']||(_0x28b740['suggestions']=[]),_0x28b740['suggestions']['push'](_0x53f4b1['string']());break;case 0x2:_0x28b740['suggestionsV2']&&_0x28b740['suggestionsV2']['length']||(_0x28b740['suggestionsV2']=[]),_0x28b740['suggestionsV2']['push'](_0xbccd8d['SuggestionDescriptor']['decode'](_0x53f4b1,_0x53f4b1['uint32'](),void 0x0,_0x38e5f6+0x1));break;default:_0x53f4b1['skipType'](0x7&_0x2ddac6,_0x38e5f6);}}return _0x28b740;},_0x5a0933['decodeDelimited']=function(_0x165bd2){return _0x165bd2 instanceof _0x105dc2||(_0x165bd2=new _0x105dc2(_0x165bd2)),this['decode'](_0x165bd2,_0x165bd2['uint32']());},_0x5a0933['verify']=function(_0x4e6cfe,_0x1c20ca){if('object'!=typeof _0x4e6cfe||null===_0x4e6cfe)return'object\x20expected';if(void 0x0===_0x1c20ca&&(_0x1c20ca=0x0),_0x1c20ca>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4e6cfe['suggestions']&&Object['hasOwnProperty']['call'](_0x4e6cfe,'suggestions')){if(!Array['isArray'](_0x4e6cfe['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x4a26d4=0x0;_0x4a26d4<_0x4e6cfe['suggestions']['length'];++_0x4a26d4)if(!_0x222891['isString'](_0x4e6cfe['suggestions'][_0x4a26d4]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x4e6cfe['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x4e6cfe,'suggestionsV2')){if(!Array['isArray'](_0x4e6cfe['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x4a26d4=0x0;_0x4a26d4<_0x4e6cfe['suggestionsV2']['length'];++_0x4a26d4){var _0x49fa07=_0xbccd8d['SuggestionDescriptor']['verify'](_0x4e6cfe['suggestionsV2'][_0x4a26d4],_0x1c20ca+0x1);if(_0x49fa07)return'suggestionsV2.'+_0x49fa07;}}return null;},_0x5a0933['fromObject']=function(_0x327aeb,_0x43f0d7){if(_0x327aeb instanceof _0xbccd8d['TrackChangesGetAllSuggestionsResponse'])return _0x327aeb;if(!_0x222891['isObject'](_0x327aeb))throw TypeError('.TrackChangesGetAllSuggestionsResponse:\x20object\x20expected');if(void 0x0===_0x43f0d7&&(_0x43f0d7=0x0),_0x43f0d7>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5d02b4=new _0xbccd8d['TrackChangesGetAllSuggestionsResponse']();if(_0x327aeb['suggestions']){if(!Array['isArray'](_0x327aeb['suggestions']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestions:\x20array\x20expected');_0x5d02b4['suggestions']=[];for(var _0x91992d=0x0;_0x91992d<_0x327aeb['suggestions']['length'];++_0x91992d)_0x5d02b4['suggestions'][_0x91992d]=String(_0x327aeb['suggestions'][_0x91992d]);}if(_0x327aeb['suggestionsV2']){if(!Array['isArray'](_0x327aeb['suggestionsV2']))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20array\x20expected');for(_0x5d02b4['suggestionsV2']=[],_0x91992d=0x0;_0x91992d<_0x327aeb['suggestionsV2']['length'];++_0x91992d){if(!_0x222891['isObject'](_0x327aeb['suggestionsV2'][_0x91992d]))throw TypeError('.TrackChangesGetAllSuggestionsResponse.suggestionsV2:\x20object\x20expected');_0x5d02b4['suggestionsV2'][_0x91992d]=_0xbccd8d['SuggestionDescriptor']['fromObject'](_0x327aeb['suggestionsV2'][_0x91992d],_0x43f0d7+0x1);}}return _0x5d02b4;},_0x5a0933['toObject']=function(_0xba98de,_0xf1fee8,_0xca81be){if(_0xf1fee8||(_0xf1fee8={}),void 0x0===_0xca81be&&(_0xca81be=0x0),_0xca81be>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1d8ad3={};if((_0xf1fee8['arrays']||_0xf1fee8['defaults'])&&(_0x1d8ad3['suggestions']=[],_0x1d8ad3['suggestionsV2']=[]),_0xba98de['suggestions']&&_0xba98de['suggestions']['length']){_0x1d8ad3['suggestions']=[];for(var _0xdf94ab=0x0;_0xdf94ab<_0xba98de['suggestions']['length'];++_0xdf94ab)_0x1d8ad3['suggestions'][_0xdf94ab]=_0xba98de['suggestions'][_0xdf94ab];}if(_0xba98de['suggestionsV2']&&_0xba98de['suggestionsV2']['length']){for(_0x1d8ad3['suggestionsV2']=[],_0xdf94ab=0x0;_0xdf94ab<_0xba98de['suggestionsV2']['length'];++_0xdf94ab)_0x1d8ad3['suggestionsV2'][_0xdf94ab]=_0xbccd8d['SuggestionDescriptor']['toObject'](_0xba98de['suggestionsV2'][_0xdf94ab],_0xf1fee8,_0xca81be+0x1);}return _0x1d8ad3;},_0x5a0933['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5a0933['getTypeUrl']=function(_0x15acb8){return void 0x0===_0x15acb8&&(_0x15acb8='type.googleapis.com'),_0x15acb8+'/TrackChangesGetAllSuggestionsResponse';},_0x5a0933;}()),_0xbccd8d['TrackChangesConnectResponse']=(function(){function _0x56d812(_0x38216d){if(this['suggestions']=[],this['suggestionsV2']=[],_0x38216d){for(var _0x13edbe=Object['keys'](_0x38216d),_0x56798d=0x0;_0x56798d<_0x13edbe['length'];++_0x56798d)null!=_0x38216d[_0x13edbe[_0x56798d]]&&'__proto__'!==_0x13edbe[_0x56798d]&&(this[_0x13edbe[_0x56798d]]=_0x38216d[_0x13edbe[_0x56798d]]);}}return _0x56d812['prototype']['channel']='',_0x56d812['prototype']['suggestions']=_0x222891['emptyArray'],_0x56d812['prototype']['suggestionsV2']=_0x222891['emptyArray'],_0x56d812['create']=function(_0x339977){return new _0x56d812(_0x339977);},_0x56d812['encode']=function(_0x2cde39,_0x3ed2d6,_0x459152){if(_0x3ed2d6||(_0x3ed2d6=_0x55d9b7['create']()),void 0x0===_0x459152&&(_0x459152=0x0),_0x459152>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2cde39['channel']&&Object['hasOwnProperty']['call'](_0x2cde39,'channel')&&_0x3ed2d6['uint32'](0xa)['string'](_0x2cde39['channel']),null!=_0x2cde39['suggestions']&&_0x2cde39['suggestions']['length']){for(var _0x4252a4=0x0;_0x4252a4<_0x2cde39['suggestions']['length'];++_0x4252a4)_0x3ed2d6['uint32'](0x12)['string'](_0x2cde39['suggestions'][_0x4252a4]);}if(null!=_0x2cde39['suggestionsV2']&&_0x2cde39['suggestionsV2']['length']){for(_0x4252a4=0x0;_0x4252a4<_0x2cde39['suggestionsV2']['length'];++_0x4252a4)_0xbccd8d['SuggestionDescriptor']['encode'](_0x2cde39['suggestionsV2'][_0x4252a4],_0x3ed2d6['uint32'](0x1a)['fork'](),_0x459152+0x1)['ldelim']();}return _0x3ed2d6;},_0x56d812['encodeDelimited']=function(_0x45bccc,_0x3e78fb){return this['encode'](_0x45bccc,_0x3e78fb)['ldelim']();},_0x56d812['decode']=function(_0x3b9378,_0x167dae,_0x51722a,_0x2080e6){if(_0x3b9378 instanceof _0x105dc2||(_0x3b9378=_0x105dc2['create'](_0x3b9378)),void 0x0===_0x2080e6&&(_0x2080e6=0x0),_0x2080e6>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2244ea=void 0x0===_0x167dae?_0x3b9378['len']:_0x3b9378['pos']+_0x167dae,_0x528921=new _0xbccd8d['TrackChangesConnectResponse']();_0x3b9378['pos']<_0x2244ea;){var _0x37307c=_0x3b9378['uint32']();if(_0x37307c===_0x51722a)break;switch(_0x37307c>>>0x3){case 0x1:_0x528921['channel']=_0x3b9378['string']();break;case 0x2:_0x528921['suggestions']&&_0x528921['suggestions']['length']||(_0x528921['suggestions']=[]),_0x528921['suggestions']['push'](_0x3b9378['string']());break;case 0x3:_0x528921['suggestionsV2']&&_0x528921['suggestionsV2']['length']||(_0x528921['suggestionsV2']=[]),_0x528921['suggestionsV2']['push'](_0xbccd8d['SuggestionDescriptor']['decode'](_0x3b9378,_0x3b9378['uint32'](),void 0x0,_0x2080e6+0x1));break;default:_0x3b9378['skipType'](0x7&_0x37307c,_0x2080e6);}}return _0x528921;},_0x56d812['decodeDelimited']=function(_0x840e4e){return _0x840e4e instanceof _0x105dc2||(_0x840e4e=new _0x105dc2(_0x840e4e)),this['decode'](_0x840e4e,_0x840e4e['uint32']());},_0x56d812['verify']=function(_0x6567e6,_0x159e9c){if('object'!=typeof _0x6567e6||null===_0x6567e6)return'object\x20expected';if(void 0x0===_0x159e9c&&(_0x159e9c=0x0),_0x159e9c>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x6567e6['channel']&&Object['hasOwnProperty']['call'](_0x6567e6,'channel')&&!_0x222891['isString'](_0x6567e6['channel']))return'channel:\x20string\x20expected';if(null!=_0x6567e6['suggestions']&&Object['hasOwnProperty']['call'](_0x6567e6,'suggestions')){if(!Array['isArray'](_0x6567e6['suggestions']))return'suggestions:\x20array\x20expected';for(var _0x5679ce=0x0;_0x5679ce<_0x6567e6['suggestions']['length'];++_0x5679ce)if(!_0x222891['isString'](_0x6567e6['suggestions'][_0x5679ce]))return'suggestions:\x20string[]\x20expected';}if(null!=_0x6567e6['suggestionsV2']&&Object['hasOwnProperty']['call'](_0x6567e6,'suggestionsV2')){if(!Array['isArray'](_0x6567e6['suggestionsV2']))return'suggestionsV2:\x20array\x20expected';for(_0x5679ce=0x0;_0x5679ce<_0x6567e6['suggestionsV2']['length'];++_0x5679ce){var _0x178191=_0xbccd8d['SuggestionDescriptor']['verify'](_0x6567e6['suggestionsV2'][_0x5679ce],_0x159e9c+0x1);if(_0x178191)return'suggestionsV2.'+_0x178191;}}return null;},_0x56d812['fromObject']=function(_0x1ff6ae,_0x442a17){if(_0x1ff6ae instanceof _0xbccd8d['TrackChangesConnectResponse'])return _0x1ff6ae;if(!_0x222891['isObject'](_0x1ff6ae))throw TypeError('.TrackChangesConnectResponse:\x20object\x20expected');if(void 0x0===_0x442a17&&(_0x442a17=0x0),_0x442a17>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x17efc3=new _0xbccd8d['TrackChangesConnectResponse']();if(null!=_0x1ff6ae['channel']&&(_0x17efc3['channel']=String(_0x1ff6ae['channel'])),_0x1ff6ae['suggestions']){if(!Array['isArray'](_0x1ff6ae['suggestions']))throw TypeError('.TrackChangesConnectResponse.suggestions:\x20array\x20expected');_0x17efc3['suggestions']=[];for(var _0x2b5e17=0x0;_0x2b5e17<_0x1ff6ae['suggestions']['length'];++_0x2b5e17)_0x17efc3['suggestions'][_0x2b5e17]=String(_0x1ff6ae['suggestions'][_0x2b5e17]);}if(_0x1ff6ae['suggestionsV2']){if(!Array['isArray'](_0x1ff6ae['suggestionsV2']))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20array\x20expected');for(_0x17efc3['suggestionsV2']=[],_0x2b5e17=0x0;_0x2b5e17<_0x1ff6ae['suggestionsV2']['length'];++_0x2b5e17){if(!_0x222891['isObject'](_0x1ff6ae['suggestionsV2'][_0x2b5e17]))throw TypeError('.TrackChangesConnectResponse.suggestionsV2:\x20object\x20expected');_0x17efc3['suggestionsV2'][_0x2b5e17]=_0xbccd8d['SuggestionDescriptor']['fromObject'](_0x1ff6ae['suggestionsV2'][_0x2b5e17],_0x442a17+0x1);}}return _0x17efc3;},_0x56d812['toObject']=function(_0x56c21c,_0x1a1b43,_0x232016){if(_0x1a1b43||(_0x1a1b43={}),void 0x0===_0x232016&&(_0x232016=0x0),_0x232016>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1776cd={};if((_0x1a1b43['arrays']||_0x1a1b43['defaults'])&&(_0x1776cd['suggestions']=[],_0x1776cd['suggestionsV2']=[]),_0x1a1b43['defaults']&&(_0x1776cd['channel']=''),null!=_0x56c21c['channel']&&Object['hasOwnProperty']['call'](_0x56c21c,'channel')&&(_0x1776cd['channel']=_0x56c21c['channel']),_0x56c21c['suggestions']&&_0x56c21c['suggestions']['length']){_0x1776cd['suggestions']=[];for(var _0x39a600=0x0;_0x39a600<_0x56c21c['suggestions']['length'];++_0x39a600)_0x1776cd['suggestions'][_0x39a600]=_0x56c21c['suggestions'][_0x39a600];}if(_0x56c21c['suggestionsV2']&&_0x56c21c['suggestionsV2']['length']){for(_0x1776cd['suggestionsV2']=[],_0x39a600=0x0;_0x39a600<_0x56c21c['suggestionsV2']['length'];++_0x39a600)_0x1776cd['suggestionsV2'][_0x39a600]=_0xbccd8d['SuggestionDescriptor']['toObject'](_0x56c21c['suggestionsV2'][_0x39a600],_0x1a1b43,_0x232016+0x1);}return _0x1776cd;},_0x56d812['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x56d812['getTypeUrl']=function(_0x3daaa4){return void 0x0===_0x3daaa4&&(_0x3daaa4='type.googleapis.com'),_0x3daaa4+'/TrackChangesConnectResponse';},_0x56d812;}()),_0xbccd8d['TrackChangesAddSuggestionResponse']=(function(){function _0x308a32(_0x453df6){if(_0x453df6){for(var _0x2e2720=Object['keys'](_0x453df6),_0x4a6fe4=0x0;_0x4a6fe4<_0x2e2720['length'];++_0x4a6fe4)null!=_0x453df6[_0x2e2720[_0x4a6fe4]]&&'__proto__'!==_0x2e2720[_0x4a6fe4]&&(this[_0x2e2720[_0x4a6fe4]]=_0x453df6[_0x2e2720[_0x4a6fe4]]);}}return _0x308a32['prototype']['id']='',_0x308a32['prototype']['authorId']='',_0x308a32['prototype']['type']='',_0x308a32['prototype']['createdAt']='',_0x308a32['prototype']['data']='',_0x308a32['prototype']['hasComments']=!0x1,_0x308a32['prototype']['state']='',_0x308a32['prototype']['attributes']='',_0x308a32['create']=function(_0x325073){return new _0x308a32(_0x325073);},_0x308a32['encode']=function(_0x7ec7f9,_0xc4e16b,_0x26dc9a){if(_0xc4e16b||(_0xc4e16b=_0x55d9b7['create']()),void 0x0===_0x26dc9a&&(_0x26dc9a=0x0),_0x26dc9a>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x7ec7f9['id']&&Object['hasOwnProperty']['call'](_0x7ec7f9,'id')&&_0xc4e16b['uint32'](0xa)['string'](_0x7ec7f9['id']),null!=_0x7ec7f9['authorId']&&Object['hasOwnProperty']['call'](_0x7ec7f9,'authorId')&&_0xc4e16b['uint32'](0x12)['string'](_0x7ec7f9['authorId']),null!=_0x7ec7f9['type']&&Object['hasOwnProperty']['call'](_0x7ec7f9,'type')&&_0xc4e16b['uint32'](0x1a)['string'](_0x7ec7f9['type']),null!=_0x7ec7f9['createdAt']&&Object['hasOwnProperty']['call'](_0x7ec7f9,'createdAt')&&_0xc4e16b['uint32'](0x22)['string'](_0x7ec7f9['createdAt']),null!=_0x7ec7f9['data']&&Object['hasOwnProperty']['call'](_0x7ec7f9,'data')&&_0xc4e16b['uint32'](0x2a)['string'](_0x7ec7f9['data']),null!=_0x7ec7f9['hasComments']&&Object['hasOwnProperty']['call'](_0x7ec7f9,'hasComments')&&_0xc4e16b['uint32'](0x30)['bool'](_0x7ec7f9['hasComments']),null!=_0x7ec7f9['state']&&Object['hasOwnProperty']['call'](_0x7ec7f9,'state')&&_0xc4e16b['uint32'](0x3a)['string'](_0x7ec7f9['state']),null!=_0x7ec7f9['attributes']&&Object['hasOwnProperty']['call'](_0x7ec7f9,'attributes')&&_0xc4e16b['uint32'](0x42)['string'](_0x7ec7f9['attributes']),_0xc4e16b;},_0x308a32['encodeDelimited']=function(_0x34e854,_0x4df31f){return this['encode'](_0x34e854,_0x4df31f)['ldelim']();},_0x308a32['decode']=function(_0x296956,_0x5314bd,_0x2291a0,_0xc5aa23){if(_0x296956 instanceof _0x105dc2||(_0x296956=_0x105dc2['create'](_0x296956)),void 0x0===_0xc5aa23&&(_0xc5aa23=0x0),_0xc5aa23>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2ea0f5=void 0x0===_0x5314bd?_0x296956['len']:_0x296956['pos']+_0x5314bd,_0xbe0a18=new _0xbccd8d['TrackChangesAddSuggestionResponse']();_0x296956['pos']<_0x2ea0f5;){var _0x4037b1=_0x296956['uint32']();if(_0x4037b1===_0x2291a0)break;switch(_0x4037b1>>>0x3){case 0x1:_0xbe0a18['id']=_0x296956['string']();break;case 0x2:_0xbe0a18['authorId']=_0x296956['string']();break;case 0x3:_0xbe0a18['type']=_0x296956['string']();break;case 0x4:_0xbe0a18['createdAt']=_0x296956['string']();break;case 0x5:_0xbe0a18['data']=_0x296956['string']();break;case 0x6:_0xbe0a18['hasComments']=_0x296956['bool']();break;case 0x7:_0xbe0a18['state']=_0x296956['string']();break;case 0x8:_0xbe0a18['attributes']=_0x296956['string']();break;default:_0x296956['skipType'](0x7&_0x4037b1,_0xc5aa23);}}return _0xbe0a18;},_0x308a32['decodeDelimited']=function(_0x4dd2c0){return _0x4dd2c0 instanceof _0x105dc2||(_0x4dd2c0=new _0x105dc2(_0x4dd2c0)),this['decode'](_0x4dd2c0,_0x4dd2c0['uint32']());},_0x308a32['verify']=function(_0x24764f,_0x26b65f){return'object'!=typeof _0x24764f||null===_0x24764f?'object\x20expected':(void 0x0===_0x26b65f&&(_0x26b65f=0x0),_0x26b65f>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x24764f['id']&&Object['hasOwnProperty']['call'](_0x24764f,'id')&&!_0x222891['isString'](_0x24764f['id'])?'id:\x20string\x20expected':null!=_0x24764f['authorId']&&Object['hasOwnProperty']['call'](_0x24764f,'authorId')&&!_0x222891['isString'](_0x24764f['authorId'])?'authorId:\x20string\x20expected':null!=_0x24764f['type']&&Object['hasOwnProperty']['call'](_0x24764f,'type')&&!_0x222891['isString'](_0x24764f['type'])?'type:\x20string\x20expected':null!=_0x24764f['createdAt']&&Object['hasOwnProperty']['call'](_0x24764f,'createdAt')&&!_0x222891['isString'](_0x24764f['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x24764f['data']&&Object['hasOwnProperty']['call'](_0x24764f,'data')&&!_0x222891['isString'](_0x24764f['data'])?'data:\x20string\x20expected':null!=_0x24764f['hasComments']&&Object['hasOwnProperty']['call'](_0x24764f,'hasComments')&&'boolean'!=typeof _0x24764f['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x24764f['state']&&Object['hasOwnProperty']['call'](_0x24764f,'state')&&!_0x222891['isString'](_0x24764f['state'])?'state:\x20string\x20expected':null!=_0x24764f['attributes']&&Object['hasOwnProperty']['call'](_0x24764f,'attributes')&&!_0x222891['isString'](_0x24764f['attributes'])?'attributes:\x20string\x20expected':null);},_0x308a32['fromObject']=function(_0x316205,_0x4ba721){if(_0x316205 instanceof _0xbccd8d['TrackChangesAddSuggestionResponse'])return _0x316205;if(!_0x222891['isObject'](_0x316205))throw TypeError('.TrackChangesAddSuggestionResponse:\x20object\x20expected');if(void 0x0===_0x4ba721&&(_0x4ba721=0x0),_0x4ba721>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x11067b=new _0xbccd8d['TrackChangesAddSuggestionResponse']();return null!=_0x316205['id']&&(_0x11067b['id']=String(_0x316205['id'])),null!=_0x316205['authorId']&&(_0x11067b['authorId']=String(_0x316205['authorId'])),null!=_0x316205['type']&&(_0x11067b['type']=String(_0x316205['type'])),null!=_0x316205['createdAt']&&(_0x11067b['createdAt']=String(_0x316205['createdAt'])),null!=_0x316205['data']&&(_0x11067b['data']=String(_0x316205['data'])),null!=_0x316205['hasComments']&&(_0x11067b['hasComments']=Boolean(_0x316205['hasComments'])),null!=_0x316205['state']&&(_0x11067b['state']=String(_0x316205['state'])),null!=_0x316205['attributes']&&(_0x11067b['attributes']=String(_0x316205['attributes'])),_0x11067b;},_0x308a32['toObject']=function(_0x557cad,_0x3ec06a,_0x3291b8){if(_0x3ec06a||(_0x3ec06a={}),void 0x0===_0x3291b8&&(_0x3291b8=0x0),_0x3291b8>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x33caf2={};return _0x3ec06a['defaults']&&(_0x33caf2['id']='',_0x33caf2['authorId']='',_0x33caf2['type']='',_0x33caf2['createdAt']='',_0x33caf2['data']='',_0x33caf2['hasComments']=!0x1,_0x33caf2['state']='',_0x33caf2['attributes']=''),null!=_0x557cad['id']&&Object['hasOwnProperty']['call'](_0x557cad,'id')&&(_0x33caf2['id']=_0x557cad['id']),null!=_0x557cad['authorId']&&Object['hasOwnProperty']['call'](_0x557cad,'authorId')&&(_0x33caf2['authorId']=_0x557cad['authorId']),null!=_0x557cad['type']&&Object['hasOwnProperty']['call'](_0x557cad,'type')&&(_0x33caf2['type']=_0x557cad['type']),null!=_0x557cad['createdAt']&&Object['hasOwnProperty']['call'](_0x557cad,'createdAt')&&(_0x33caf2['createdAt']=_0x557cad['createdAt']),null!=_0x557cad['data']&&Object['hasOwnProperty']['call'](_0x557cad,'data')&&(_0x33caf2['data']=_0x557cad['data']),null!=_0x557cad['hasComments']&&Object['hasOwnProperty']['call'](_0x557cad,'hasComments')&&(_0x33caf2['hasComments']=_0x557cad['hasComments']),null!=_0x557cad['state']&&Object['hasOwnProperty']['call'](_0x557cad,'state')&&(_0x33caf2['state']=_0x557cad['state']),null!=_0x557cad['attributes']&&Object['hasOwnProperty']['call'](_0x557cad,'attributes')&&(_0x33caf2['attributes']=_0x557cad['attributes']),_0x33caf2;},_0x308a32['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x308a32['getTypeUrl']=function(_0x5730b6){return void 0x0===_0x5730b6&&(_0x5730b6='type.googleapis.com'),_0x5730b6+'/TrackChangesAddSuggestionResponse';},_0x308a32;}()),_0xbccd8d['TrackChangesUpdateSuggestionMessage']=(function(){function _0x2636a5(_0x427d69){if(_0x427d69){for(var _0x40485d=Object['keys'](_0x427d69),_0x143c3f=0x0;_0x143c3f<_0x40485d['length'];++_0x143c3f)null!=_0x427d69[_0x40485d[_0x143c3f]]&&'__proto__'!==_0x40485d[_0x143c3f]&&(this[_0x40485d[_0x143c3f]]=_0x427d69[_0x40485d[_0x143c3f]]);}}return _0x2636a5['prototype']['id']='',_0x2636a5['prototype']['documentId']='',_0x2636a5['prototype']['hasComments']=!0x1,_0x2636a5['prototype']['isHasCommentsModified']=!0x1,_0x2636a5['prototype']['state']='',_0x2636a5['prototype']['attributes']='',_0x2636a5['create']=function(_0x3fef41){return new _0x2636a5(_0x3fef41);},_0x2636a5['encode']=function(_0x403538,_0x2a81f4,_0x51d00f){if(_0x2a81f4||(_0x2a81f4=_0x55d9b7['create']()),void 0x0===_0x51d00f&&(_0x51d00f=0x0),_0x51d00f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x403538['id']&&Object['hasOwnProperty']['call'](_0x403538,'id')&&_0x2a81f4['uint32'](0xa)['string'](_0x403538['id']),null!=_0x403538['documentId']&&Object['hasOwnProperty']['call'](_0x403538,'documentId')&&_0x2a81f4['uint32'](0x12)['string'](_0x403538['documentId']),null!=_0x403538['hasComments']&&Object['hasOwnProperty']['call'](_0x403538,'hasComments')&&_0x2a81f4['uint32'](0x18)['bool'](_0x403538['hasComments']),null!=_0x403538['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x403538,'isHasCommentsModified')&&_0x2a81f4['uint32'](0x20)['bool'](_0x403538['isHasCommentsModified']),null!=_0x403538['state']&&Object['hasOwnProperty']['call'](_0x403538,'state')&&_0x2a81f4['uint32'](0x2a)['string'](_0x403538['state']),null!=_0x403538['attributes']&&Object['hasOwnProperty']['call'](_0x403538,'attributes')&&_0x2a81f4['uint32'](0x32)['string'](_0x403538['attributes']),_0x2a81f4;},_0x2636a5['encodeDelimited']=function(_0x16be97,_0x4f5487){return this['encode'](_0x16be97,_0x4f5487)['ldelim']();},_0x2636a5['decode']=function(_0x1f5ac7,_0x2735d4,_0x370aa8,_0x38d442){if(_0x1f5ac7 instanceof _0x105dc2||(_0x1f5ac7=_0x105dc2['create'](_0x1f5ac7)),void 0x0===_0x38d442&&(_0x38d442=0x0),_0x38d442>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x36261a=void 0x0===_0x2735d4?_0x1f5ac7['len']:_0x1f5ac7['pos']+_0x2735d4,_0x46422e=new _0xbccd8d['TrackChangesUpdateSuggestionMessage']();_0x1f5ac7['pos']<_0x36261a;){var _0x540f20=_0x1f5ac7['uint32']();if(_0x540f20===_0x370aa8)break;switch(_0x540f20>>>0x3){case 0x1:_0x46422e['id']=_0x1f5ac7['string']();break;case 0x2:_0x46422e['documentId']=_0x1f5ac7['string']();break;case 0x3:_0x46422e['hasComments']=_0x1f5ac7['bool']();break;case 0x4:_0x46422e['isHasCommentsModified']=_0x1f5ac7['bool']();break;case 0x5:_0x46422e['state']=_0x1f5ac7['string']();break;case 0x6:_0x46422e['attributes']=_0x1f5ac7['string']();break;default:_0x1f5ac7['skipType'](0x7&_0x540f20,_0x38d442);}}return _0x46422e;},_0x2636a5['decodeDelimited']=function(_0x5c7b0d){return _0x5c7b0d instanceof _0x105dc2||(_0x5c7b0d=new _0x105dc2(_0x5c7b0d)),this['decode'](_0x5c7b0d,_0x5c7b0d['uint32']());},_0x2636a5['verify']=function(_0x55fc8c,_0x232493){return'object'!=typeof _0x55fc8c||null===_0x55fc8c?'object\x20expected':(void 0x0===_0x232493&&(_0x232493=0x0),_0x232493>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x55fc8c['id']&&Object['hasOwnProperty']['call'](_0x55fc8c,'id')&&!_0x222891['isString'](_0x55fc8c['id'])?'id:\x20string\x20expected':null!=_0x55fc8c['documentId']&&Object['hasOwnProperty']['call'](_0x55fc8c,'documentId')&&!_0x222891['isString'](_0x55fc8c['documentId'])?'documentId:\x20string\x20expected':null!=_0x55fc8c['hasComments']&&Object['hasOwnProperty']['call'](_0x55fc8c,'hasComments')&&'boolean'!=typeof _0x55fc8c['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x55fc8c['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x55fc8c,'isHasCommentsModified')&&'boolean'!=typeof _0x55fc8c['isHasCommentsModified']?'isHasCommentsModified:\x20boolean\x20expected':null!=_0x55fc8c['state']&&Object['hasOwnProperty']['call'](_0x55fc8c,'state')&&!_0x222891['isString'](_0x55fc8c['state'])?'state:\x20string\x20expected':null!=_0x55fc8c['attributes']&&Object['hasOwnProperty']['call'](_0x55fc8c,'attributes')&&!_0x222891['isString'](_0x55fc8c['attributes'])?'attributes:\x20string\x20expected':null);},_0x2636a5['fromObject']=function(_0x5a12c5,_0x488d83){if(_0x5a12c5 instanceof _0xbccd8d['TrackChangesUpdateSuggestionMessage'])return _0x5a12c5;if(!_0x222891['isObject'](_0x5a12c5))throw TypeError('.TrackChangesUpdateSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x488d83&&(_0x488d83=0x0),_0x488d83>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x203f19=new _0xbccd8d['TrackChangesUpdateSuggestionMessage']();return null!=_0x5a12c5['id']&&(_0x203f19['id']=String(_0x5a12c5['id'])),null!=_0x5a12c5['documentId']&&(_0x203f19['documentId']=String(_0x5a12c5['documentId'])),null!=_0x5a12c5['hasComments']&&(_0x203f19['hasComments']=Boolean(_0x5a12c5['hasComments'])),null!=_0x5a12c5['isHasCommentsModified']&&(_0x203f19['isHasCommentsModified']=Boolean(_0x5a12c5['isHasCommentsModified'])),null!=_0x5a12c5['state']&&(_0x203f19['state']=String(_0x5a12c5['state'])),null!=_0x5a12c5['attributes']&&(_0x203f19['attributes']=String(_0x5a12c5['attributes'])),_0x203f19;},_0x2636a5['toObject']=function(_0x211282,_0x15d931,_0x3f5a31){if(_0x15d931||(_0x15d931={}),void 0x0===_0x3f5a31&&(_0x3f5a31=0x0),_0x3f5a31>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2540cc={};return _0x15d931['defaults']&&(_0x2540cc['id']='',_0x2540cc['documentId']='',_0x2540cc['hasComments']=!0x1,_0x2540cc['isHasCommentsModified']=!0x1,_0x2540cc['state']='',_0x2540cc['attributes']=''),null!=_0x211282['id']&&Object['hasOwnProperty']['call'](_0x211282,'id')&&(_0x2540cc['id']=_0x211282['id']),null!=_0x211282['documentId']&&Object['hasOwnProperty']['call'](_0x211282,'documentId')&&(_0x2540cc['documentId']=_0x211282['documentId']),null!=_0x211282['hasComments']&&Object['hasOwnProperty']['call'](_0x211282,'hasComments')&&(_0x2540cc['hasComments']=_0x211282['hasComments']),null!=_0x211282['isHasCommentsModified']&&Object['hasOwnProperty']['call'](_0x211282,'isHasCommentsModified')&&(_0x2540cc['isHasCommentsModified']=_0x211282['isHasCommentsModified']),null!=_0x211282['state']&&Object['hasOwnProperty']['call'](_0x211282,'state')&&(_0x2540cc['state']=_0x211282['state']),null!=_0x211282['attributes']&&Object['hasOwnProperty']['call'](_0x211282,'attributes')&&(_0x2540cc['attributes']=_0x211282['attributes']),_0x2540cc;},_0x2636a5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x2636a5['getTypeUrl']=function(_0xa11d01){return void 0x0===_0xa11d01&&(_0xa11d01='type.googleapis.com'),_0xa11d01+'/TrackChangesUpdateSuggestionMessage';},_0x2636a5;}()),_0xbccd8d['TrackChangesGetSuggestionMessage']=(function(){function _0x2a1f53(_0x22f583){if(_0x22f583){for(var _0x4ae7b5=Object['keys'](_0x22f583),_0x5db316=0x0;_0x5db316<_0x4ae7b5['length'];++_0x5db316)null!=_0x22f583[_0x4ae7b5[_0x5db316]]&&'__proto__'!==_0x4ae7b5[_0x5db316]&&(this[_0x4ae7b5[_0x5db316]]=_0x22f583[_0x4ae7b5[_0x5db316]]);}}return _0x2a1f53['prototype']['id']='',_0x2a1f53['prototype']['documentId']='',_0x2a1f53['create']=function(_0x3507b3){return new _0x2a1f53(_0x3507b3);},_0x2a1f53['encode']=function(_0x378252,_0x3f0984,_0x513cc6){if(_0x3f0984||(_0x3f0984=_0x55d9b7['create']()),void 0x0===_0x513cc6&&(_0x513cc6=0x0),_0x513cc6>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x378252['id']&&Object['hasOwnProperty']['call'](_0x378252,'id')&&_0x3f0984['uint32'](0xa)['string'](_0x378252['id']),null!=_0x378252['documentId']&&Object['hasOwnProperty']['call'](_0x378252,'documentId')&&_0x3f0984['uint32'](0x12)['string'](_0x378252['documentId']),_0x3f0984;},_0x2a1f53['encodeDelimited']=function(_0x25ce2b,_0x2572af){return this['encode'](_0x25ce2b,_0x2572af)['ldelim']();},_0x2a1f53['decode']=function(_0xe7eabb,_0x2e84f4,_0x4e5c95,_0xdfacdc){if(_0xe7eabb instanceof _0x105dc2||(_0xe7eabb=_0x105dc2['create'](_0xe7eabb)),void 0x0===_0xdfacdc&&(_0xdfacdc=0x0),_0xdfacdc>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x489401=void 0x0===_0x2e84f4?_0xe7eabb['len']:_0xe7eabb['pos']+_0x2e84f4,_0x471a3d=new _0xbccd8d['TrackChangesGetSuggestionMessage']();_0xe7eabb['pos']<_0x489401;){var _0x5a5389=_0xe7eabb['uint32']();if(_0x5a5389===_0x4e5c95)break;switch(_0x5a5389>>>0x3){case 0x1:_0x471a3d['id']=_0xe7eabb['string']();break;case 0x2:_0x471a3d['documentId']=_0xe7eabb['string']();break;default:_0xe7eabb['skipType'](0x7&_0x5a5389,_0xdfacdc);}}return _0x471a3d;},_0x2a1f53['decodeDelimited']=function(_0x4809d4){return _0x4809d4 instanceof _0x105dc2||(_0x4809d4=new _0x105dc2(_0x4809d4)),this['decode'](_0x4809d4,_0x4809d4['uint32']());},_0x2a1f53['verify']=function(_0x30a177,_0xf557d6){return'object'!=typeof _0x30a177||null===_0x30a177?'object\x20expected':(void 0x0===_0xf557d6&&(_0xf557d6=0x0),_0xf557d6>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x30a177['id']&&Object['hasOwnProperty']['call'](_0x30a177,'id')&&!_0x222891['isString'](_0x30a177['id'])?'id:\x20string\x20expected':null!=_0x30a177['documentId']&&Object['hasOwnProperty']['call'](_0x30a177,'documentId')&&!_0x222891['isString'](_0x30a177['documentId'])?'documentId:\x20string\x20expected':null);},_0x2a1f53['fromObject']=function(_0x5761ae,_0xc7be4f){if(_0x5761ae instanceof _0xbccd8d['TrackChangesGetSuggestionMessage'])return _0x5761ae;if(!_0x222891['isObject'](_0x5761ae))throw TypeError('.TrackChangesGetSuggestionMessage:\x20object\x20expected');if(void 0x0===_0xc7be4f&&(_0xc7be4f=0x0),_0xc7be4f>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4f1f2d=new _0xbccd8d['TrackChangesGetSuggestionMessage']();return null!=_0x5761ae['id']&&(_0x4f1f2d['id']=String(_0x5761ae['id'])),null!=_0x5761ae['documentId']&&(_0x4f1f2d['documentId']=String(_0x5761ae['documentId'])),_0x4f1f2d;},_0x2a1f53['toObject']=function(_0x795e41,_0x1cd766,_0x26a86d){if(_0x1cd766||(_0x1cd766={}),void 0x0===_0x26a86d&&(_0x26a86d=0x0),_0x26a86d>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1124a3={};return _0x1cd766['defaults']&&(_0x1124a3['id']='',_0x1124a3['documentId']=''),null!=_0x795e41['id']&&Object['hasOwnProperty']['call'](_0x795e41,'id')&&(_0x1124a3['id']=_0x795e41['id']),null!=_0x795e41['documentId']&&Object['hasOwnProperty']['call'](_0x795e41,'documentId')&&(_0x1124a3['documentId']=_0x795e41['documentId']),_0x1124a3;},_0x2a1f53['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x2a1f53['getTypeUrl']=function(_0xd1f690){return void 0x0===_0xd1f690&&(_0xd1f690='type.googleapis.com'),_0xd1f690+'/TrackChangesGetSuggestionMessage';},_0x2a1f53;}()),_0xbccd8d['TrackChangesGetAllSuggestionMessage']=(function(){function _0x54c449(_0x2060f3){if(_0x2060f3){for(var _0x3062a5=Object['keys'](_0x2060f3),_0x1e34e3=0x0;_0x1e34e3<_0x3062a5['length'];++_0x1e34e3)null!=_0x2060f3[_0x3062a5[_0x1e34e3]]&&'__proto__'!==_0x3062a5[_0x1e34e3]&&(this[_0x3062a5[_0x1e34e3]]=_0x2060f3[_0x3062a5[_0x1e34e3]]);}}return _0x54c449['prototype']['documentId']='',_0x54c449['create']=function(_0x14b145){return new _0x54c449(_0x14b145);},_0x54c449['encode']=function(_0x5405e0,_0x8a804f,_0x3c9284){if(_0x8a804f||(_0x8a804f=_0x55d9b7['create']()),void 0x0===_0x3c9284&&(_0x3c9284=0x0),_0x3c9284>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5405e0['documentId']&&Object['hasOwnProperty']['call'](_0x5405e0,'documentId')&&_0x8a804f['uint32'](0xa)['string'](_0x5405e0['documentId']),_0x8a804f;},_0x54c449['encodeDelimited']=function(_0x959962,_0x1cf297){return this['encode'](_0x959962,_0x1cf297)['ldelim']();},_0x54c449['decode']=function(_0x16e2d3,_0x115368,_0x401316,_0x16d43e){if(_0x16e2d3 instanceof _0x105dc2||(_0x16e2d3=_0x105dc2['create'](_0x16e2d3)),void 0x0===_0x16d43e&&(_0x16d43e=0x0),_0x16d43e>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3f703e=void 0x0===_0x115368?_0x16e2d3['len']:_0x16e2d3['pos']+_0x115368,_0x1c3527=new _0xbccd8d['TrackChangesGetAllSuggestionMessage']();_0x16e2d3['pos']<_0x3f703e;){var _0x477918=_0x16e2d3['uint32']();if(_0x477918===_0x401316)break;_0x477918>>>0x3==0x1?_0x1c3527['documentId']=_0x16e2d3['string']():_0x16e2d3['skipType'](0x7&_0x477918,_0x16d43e);}return _0x1c3527;},_0x54c449['decodeDelimited']=function(_0x17ba3c){return _0x17ba3c instanceof _0x105dc2||(_0x17ba3c=new _0x105dc2(_0x17ba3c)),this['decode'](_0x17ba3c,_0x17ba3c['uint32']());},_0x54c449['verify']=function(_0x30b381,_0x52e10f){return'object'!=typeof _0x30b381||null===_0x30b381?'object\x20expected':(void 0x0===_0x52e10f&&(_0x52e10f=0x0),_0x52e10f>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x30b381['documentId']&&Object['hasOwnProperty']['call'](_0x30b381,'documentId')&&!_0x222891['isString'](_0x30b381['documentId'])?'documentId:\x20string\x20expected':null);},_0x54c449['fromObject']=function(_0x1846f3,_0x222c56){if(_0x1846f3 instanceof _0xbccd8d['TrackChangesGetAllSuggestionMessage'])return _0x1846f3;if(!_0x222891['isObject'](_0x1846f3))throw TypeError('.TrackChangesGetAllSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x222c56&&(_0x222c56=0x0),_0x222c56>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x382bd1=new _0xbccd8d['TrackChangesGetAllSuggestionMessage']();return null!=_0x1846f3['documentId']&&(_0x382bd1['documentId']=String(_0x1846f3['documentId'])),_0x382bd1;},_0x54c449['toObject']=function(_0x444996,_0x549624,_0x963722){if(_0x549624||(_0x549624={}),void 0x0===_0x963722&&(_0x963722=0x0),_0x963722>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3647b2={};return _0x549624['defaults']&&(_0x3647b2['documentId']=''),null!=_0x444996['documentId']&&Object['hasOwnProperty']['call'](_0x444996,'documentId')&&(_0x3647b2['documentId']=_0x444996['documentId']),_0x3647b2;},_0x54c449['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x54c449['getTypeUrl']=function(_0x3bcdce){return void 0x0===_0x3bcdce&&(_0x3bcdce='type.googleapis.com'),_0x3bcdce+'/TrackChangesGetAllSuggestionMessage';},_0x54c449;}()),_0xbccd8d['TrackChangesConnectMessage']=(function(){function _0x33ff21(_0x336800){if(_0x336800){for(var _0x3a33a5=Object['keys'](_0x336800),_0x210d1b=0x0;_0x210d1b<_0x3a33a5['length'];++_0x210d1b)null!=_0x336800[_0x3a33a5[_0x210d1b]]&&'__proto__'!==_0x3a33a5[_0x210d1b]&&(this[_0x3a33a5[_0x210d1b]]=_0x336800[_0x3a33a5[_0x210d1b]]);}}return _0x33ff21['prototype']['documentId']='',_0x33ff21['create']=function(_0x244bd1){return new _0x33ff21(_0x244bd1);},_0x33ff21['encode']=function(_0x1f464f,_0x105b77,_0x4b7c4f){if(_0x105b77||(_0x105b77=_0x55d9b7['create']()),void 0x0===_0x4b7c4f&&(_0x4b7c4f=0x0),_0x4b7c4f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1f464f['documentId']&&Object['hasOwnProperty']['call'](_0x1f464f,'documentId')&&_0x105b77['uint32'](0xa)['string'](_0x1f464f['documentId']),_0x105b77;},_0x33ff21['encodeDelimited']=function(_0xe7e9f7,_0xdd25a9){return this['encode'](_0xe7e9f7,_0xdd25a9)['ldelim']();},_0x33ff21['decode']=function(_0x465735,_0xa467eb,_0x516c5f,_0x135cf9){if(_0x465735 instanceof _0x105dc2||(_0x465735=_0x105dc2['create'](_0x465735)),void 0x0===_0x135cf9&&(_0x135cf9=0x0),_0x135cf9>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x234fd0=void 0x0===_0xa467eb?_0x465735['len']:_0x465735['pos']+_0xa467eb,_0x2047e3=new _0xbccd8d['TrackChangesConnectMessage']();_0x465735['pos']<_0x234fd0;){var _0x554f4e=_0x465735['uint32']();if(_0x554f4e===_0x516c5f)break;_0x554f4e>>>0x3==0x1?_0x2047e3['documentId']=_0x465735['string']():_0x465735['skipType'](0x7&_0x554f4e,_0x135cf9);}return _0x2047e3;},_0x33ff21['decodeDelimited']=function(_0x499d24){return _0x499d24 instanceof _0x105dc2||(_0x499d24=new _0x105dc2(_0x499d24)),this['decode'](_0x499d24,_0x499d24['uint32']());},_0x33ff21['verify']=function(_0x5d3422,_0x57d6f4){return'object'!=typeof _0x5d3422||null===_0x5d3422?'object\x20expected':(void 0x0===_0x57d6f4&&(_0x57d6f4=0x0),_0x57d6f4>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5d3422['documentId']&&Object['hasOwnProperty']['call'](_0x5d3422,'documentId')&&!_0x222891['isString'](_0x5d3422['documentId'])?'documentId:\x20string\x20expected':null);},_0x33ff21['fromObject']=function(_0x2f7701,_0x2a2833){if(_0x2f7701 instanceof _0xbccd8d['TrackChangesConnectMessage'])return _0x2f7701;if(!_0x222891['isObject'](_0x2f7701))throw TypeError('.TrackChangesConnectMessage:\x20object\x20expected');if(void 0x0===_0x2a2833&&(_0x2a2833=0x0),_0x2a2833>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xe5f558=new _0xbccd8d['TrackChangesConnectMessage']();return null!=_0x2f7701['documentId']&&(_0xe5f558['documentId']=String(_0x2f7701['documentId'])),_0xe5f558;},_0x33ff21['toObject']=function(_0x527857,_0x254f27,_0x45256f){if(_0x254f27||(_0x254f27={}),void 0x0===_0x45256f&&(_0x45256f=0x0),_0x45256f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x504f18={};return _0x254f27['defaults']&&(_0x504f18['documentId']=''),null!=_0x527857['documentId']&&Object['hasOwnProperty']['call'](_0x527857,'documentId')&&(_0x504f18['documentId']=_0x527857['documentId']),_0x504f18;},_0x33ff21['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x33ff21['getTypeUrl']=function(_0x191f88){return void 0x0===_0x191f88&&(_0x191f88='type.googleapis.com'),_0x191f88+'/TrackChangesConnectMessage';},_0x33ff21;}()),_0xbccd8d['TrackChangesBatchUpdateSuggestionsStateMessage']=(function(){function _0xbc2f68(_0x3d5218){if(this['ids']=[],_0x3d5218){for(var _0x2ec60=Object['keys'](_0x3d5218),_0x2ee2a2=0x0;_0x2ee2a2<_0x2ec60['length'];++_0x2ee2a2)null!=_0x3d5218[_0x2ec60[_0x2ee2a2]]&&'__proto__'!==_0x2ec60[_0x2ee2a2]&&(this[_0x2ec60[_0x2ee2a2]]=_0x3d5218[_0x2ec60[_0x2ee2a2]]);}}return _0xbc2f68['prototype']['ids']=_0x222891['emptyArray'],_0xbc2f68['prototype']['documentId']='',_0xbc2f68['prototype']['state']='',_0xbc2f68['create']=function(_0x283b89){return new _0xbc2f68(_0x283b89);},_0xbc2f68['encode']=function(_0x3328b2,_0xcdf318,_0x3b385f){if(_0xcdf318||(_0xcdf318=_0x55d9b7['create']()),void 0x0===_0x3b385f&&(_0x3b385f=0x0),_0x3b385f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3328b2['ids']&&_0x3328b2['ids']['length']){for(var _0x573300=0x0;_0x573300<_0x3328b2['ids']['length'];++_0x573300)_0xcdf318['uint32'](0xa)['string'](_0x3328b2['ids'][_0x573300]);}return null!=_0x3328b2['documentId']&&Object['hasOwnProperty']['call'](_0x3328b2,'documentId')&&_0xcdf318['uint32'](0x12)['string'](_0x3328b2['documentId']),null!=_0x3328b2['state']&&Object['hasOwnProperty']['call'](_0x3328b2,'state')&&_0xcdf318['uint32'](0x1a)['string'](_0x3328b2['state']),_0xcdf318;},_0xbc2f68['encodeDelimited']=function(_0x428fb2,_0x54d7a5){return this['encode'](_0x428fb2,_0x54d7a5)['ldelim']();},_0xbc2f68['decode']=function(_0x267881,_0x10037e,_0xe2b285,_0xe5e796){if(_0x267881 instanceof _0x105dc2||(_0x267881=_0x105dc2['create'](_0x267881)),void 0x0===_0xe5e796&&(_0xe5e796=0x0),_0xe5e796>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2175bc=void 0x0===_0x10037e?_0x267881['len']:_0x267881['pos']+_0x10037e,_0x2f3440=new _0xbccd8d['TrackChangesBatchUpdateSuggestionsStateMessage']();_0x267881['pos']<_0x2175bc;){var _0x214389=_0x267881['uint32']();if(_0x214389===_0xe2b285)break;switch(_0x214389>>>0x3){case 0x1:_0x2f3440['ids']&&_0x2f3440['ids']['length']||(_0x2f3440['ids']=[]),_0x2f3440['ids']['push'](_0x267881['string']());break;case 0x2:_0x2f3440['documentId']=_0x267881['string']();break;case 0x3:_0x2f3440['state']=_0x267881['string']();break;default:_0x267881['skipType'](0x7&_0x214389,_0xe5e796);}}return _0x2f3440;},_0xbc2f68['decodeDelimited']=function(_0x17fee9){return _0x17fee9 instanceof _0x105dc2||(_0x17fee9=new _0x105dc2(_0x17fee9)),this['decode'](_0x17fee9,_0x17fee9['uint32']());},_0xbc2f68['verify']=function(_0x32005c,_0x4507e1){if('object'!=typeof _0x32005c||null===_0x32005c)return'object\x20expected';if(void 0x0===_0x4507e1&&(_0x4507e1=0x0),_0x4507e1>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x32005c['ids']&&Object['hasOwnProperty']['call'](_0x32005c,'ids')){if(!Array['isArray'](_0x32005c['ids']))return'ids:\x20array\x20expected';for(var _0x16b7dd=0x0;_0x16b7dd<_0x32005c['ids']['length'];++_0x16b7dd)if(!_0x222891['isString'](_0x32005c['ids'][_0x16b7dd]))return'ids:\x20string[]\x20expected';}return null!=_0x32005c['documentId']&&Object['hasOwnProperty']['call'](_0x32005c,'documentId')&&!_0x222891['isString'](_0x32005c['documentId'])?'documentId:\x20string\x20expected':null!=_0x32005c['state']&&Object['hasOwnProperty']['call'](_0x32005c,'state')&&!_0x222891['isString'](_0x32005c['state'])?'state:\x20string\x20expected':null;},_0xbc2f68['fromObject']=function(_0x3e1072,_0x3b3922){if(_0x3e1072 instanceof _0xbccd8d['TrackChangesBatchUpdateSuggestionsStateMessage'])return _0x3e1072;if(!_0x222891['isObject'](_0x3e1072))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage:\x20object\x20expected');if(void 0x0===_0x3b3922&&(_0x3b3922=0x0),_0x3b3922>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2f408a=new _0xbccd8d['TrackChangesBatchUpdateSuggestionsStateMessage']();if(_0x3e1072['ids']){if(!Array['isArray'](_0x3e1072['ids']))throw TypeError('.TrackChangesBatchUpdateSuggestionsStateMessage.ids:\x20array\x20expected');_0x2f408a['ids']=[];for(var _0x2b3e87=0x0;_0x2b3e87<_0x3e1072['ids']['length'];++_0x2b3e87)_0x2f408a['ids'][_0x2b3e87]=String(_0x3e1072['ids'][_0x2b3e87]);}return null!=_0x3e1072['documentId']&&(_0x2f408a['documentId']=String(_0x3e1072['documentId'])),null!=_0x3e1072['state']&&(_0x2f408a['state']=String(_0x3e1072['state'])),_0x2f408a;},_0xbc2f68['toObject']=function(_0x3c983f,_0x520528,_0x2005db){if(_0x520528||(_0x520528={}),void 0x0===_0x2005db&&(_0x2005db=0x0),_0x2005db>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x557bc7={};if((_0x520528['arrays']||_0x520528['defaults'])&&(_0x557bc7['ids']=[]),_0x520528['defaults']&&(_0x557bc7['documentId']='',_0x557bc7['state']=''),_0x3c983f['ids']&&_0x3c983f['ids']['length']){_0x557bc7['ids']=[];for(var _0x41fdc2=0x0;_0x41fdc2<_0x3c983f['ids']['length'];++_0x41fdc2)_0x557bc7['ids'][_0x41fdc2]=_0x3c983f['ids'][_0x41fdc2];}return null!=_0x3c983f['documentId']&&Object['hasOwnProperty']['call'](_0x3c983f,'documentId')&&(_0x557bc7['documentId']=_0x3c983f['documentId']),null!=_0x3c983f['state']&&Object['hasOwnProperty']['call'](_0x3c983f,'state')&&(_0x557bc7['state']=_0x3c983f['state']),_0x557bc7;},_0xbc2f68['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0xbc2f68['getTypeUrl']=function(_0x3f81ac){return void 0x0===_0x3f81ac&&(_0x3f81ac='type.googleapis.com'),_0x3f81ac+'/TrackChangesBatchUpdateSuggestionsStateMessage';},_0xbc2f68;}()),_0xbccd8d['TrackChangesAddSuggestionMessage']=(function(){function _0x5821df(_0x41f3a4){if(_0x41f3a4){for(var _0x55e0e3=Object['keys'](_0x41f3a4),_0x4c0e79=0x0;_0x4c0e79<_0x55e0e3['length'];++_0x4c0e79)null!=_0x41f3a4[_0x55e0e3[_0x4c0e79]]&&'__proto__'!==_0x55e0e3[_0x4c0e79]&&(this[_0x55e0e3[_0x4c0e79]]=_0x41f3a4[_0x55e0e3[_0x4c0e79]]);}}return _0x5821df['prototype']['id']='',_0x5821df['prototype']['documentId']='',_0x5821df['prototype']['type']='',_0x5821df['prototype']['data']='',_0x5821df['prototype']['originalSuggestionId']='',_0x5821df['prototype']['attributes']='',_0x5821df['create']=function(_0x10ca08){return new _0x5821df(_0x10ca08);},_0x5821df['encode']=function(_0x18d5e6,_0x2eda97,_0x1c1bb5){if(_0x2eda97||(_0x2eda97=_0x55d9b7['create']()),void 0x0===_0x1c1bb5&&(_0x1c1bb5=0x0),_0x1c1bb5>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x18d5e6['id']&&Object['hasOwnProperty']['call'](_0x18d5e6,'id')&&_0x2eda97['uint32'](0xa)['string'](_0x18d5e6['id']),null!=_0x18d5e6['documentId']&&Object['hasOwnProperty']['call'](_0x18d5e6,'documentId')&&_0x2eda97['uint32'](0x12)['string'](_0x18d5e6['documentId']),null!=_0x18d5e6['type']&&Object['hasOwnProperty']['call'](_0x18d5e6,'type')&&_0x2eda97['uint32'](0x1a)['string'](_0x18d5e6['type']),null!=_0x18d5e6['data']&&Object['hasOwnProperty']['call'](_0x18d5e6,'data')&&_0x2eda97['uint32'](0x22)['string'](_0x18d5e6['data']),null!=_0x18d5e6['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x18d5e6,'originalSuggestionId')&&_0x2eda97['uint32'](0x2a)['string'](_0x18d5e6['originalSuggestionId']),null!=_0x18d5e6['attributes']&&Object['hasOwnProperty']['call'](_0x18d5e6,'attributes')&&_0x2eda97['uint32'](0x32)['string'](_0x18d5e6['attributes']),_0x2eda97;},_0x5821df['encodeDelimited']=function(_0x836ee,_0x297704){return this['encode'](_0x836ee,_0x297704)['ldelim']();},_0x5821df['decode']=function(_0x4c42f4,_0x4f1c51,_0xac44c2,_0x4ea516){if(_0x4c42f4 instanceof _0x105dc2||(_0x4c42f4=_0x105dc2['create'](_0x4c42f4)),void 0x0===_0x4ea516&&(_0x4ea516=0x0),_0x4ea516>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xb07357=void 0x0===_0x4f1c51?_0x4c42f4['len']:_0x4c42f4['pos']+_0x4f1c51,_0x2d7bc7=new _0xbccd8d['TrackChangesAddSuggestionMessage']();_0x4c42f4['pos']<_0xb07357;){var _0x67e274=_0x4c42f4['uint32']();if(_0x67e274===_0xac44c2)break;switch(_0x67e274>>>0x3){case 0x1:_0x2d7bc7['id']=_0x4c42f4['string']();break;case 0x2:_0x2d7bc7['documentId']=_0x4c42f4['string']();break;case 0x3:_0x2d7bc7['type']=_0x4c42f4['string']();break;case 0x4:_0x2d7bc7['data']=_0x4c42f4['string']();break;case 0x5:_0x2d7bc7['originalSuggestionId']=_0x4c42f4['string']();break;case 0x6:_0x2d7bc7['attributes']=_0x4c42f4['string']();break;default:_0x4c42f4['skipType'](0x7&_0x67e274,_0x4ea516);}}return _0x2d7bc7;},_0x5821df['decodeDelimited']=function(_0x56aa1a){return _0x56aa1a instanceof _0x105dc2||(_0x56aa1a=new _0x105dc2(_0x56aa1a)),this['decode'](_0x56aa1a,_0x56aa1a['uint32']());},_0x5821df['verify']=function(_0x2bd5e2,_0x4fdcc1){return'object'!=typeof _0x2bd5e2||null===_0x2bd5e2?'object\x20expected':(void 0x0===_0x4fdcc1&&(_0x4fdcc1=0x0),_0x4fdcc1>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x2bd5e2['id']&&Object['hasOwnProperty']['call'](_0x2bd5e2,'id')&&!_0x222891['isString'](_0x2bd5e2['id'])?'id:\x20string\x20expected':null!=_0x2bd5e2['documentId']&&Object['hasOwnProperty']['call'](_0x2bd5e2,'documentId')&&!_0x222891['isString'](_0x2bd5e2['documentId'])?'documentId:\x20string\x20expected':null!=_0x2bd5e2['type']&&Object['hasOwnProperty']['call'](_0x2bd5e2,'type')&&!_0x222891['isString'](_0x2bd5e2['type'])?'type:\x20string\x20expected':null!=_0x2bd5e2['data']&&Object['hasOwnProperty']['call'](_0x2bd5e2,'data')&&!_0x222891['isString'](_0x2bd5e2['data'])?'data:\x20string\x20expected':null!=_0x2bd5e2['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x2bd5e2,'originalSuggestionId')&&!_0x222891['isString'](_0x2bd5e2['originalSuggestionId'])?'originalSuggestionId:\x20string\x20expected':null!=_0x2bd5e2['attributes']&&Object['hasOwnProperty']['call'](_0x2bd5e2,'attributes')&&!_0x222891['isString'](_0x2bd5e2['attributes'])?'attributes:\x20string\x20expected':null);},_0x5821df['fromObject']=function(_0x527265,_0x3dbef2){if(_0x527265 instanceof _0xbccd8d['TrackChangesAddSuggestionMessage'])return _0x527265;if(!_0x222891['isObject'](_0x527265))throw TypeError('.TrackChangesAddSuggestionMessage:\x20object\x20expected');if(void 0x0===_0x3dbef2&&(_0x3dbef2=0x0),_0x3dbef2>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1bca7e=new _0xbccd8d['TrackChangesAddSuggestionMessage']();return null!=_0x527265['id']&&(_0x1bca7e['id']=String(_0x527265['id'])),null!=_0x527265['documentId']&&(_0x1bca7e['documentId']=String(_0x527265['documentId'])),null!=_0x527265['type']&&(_0x1bca7e['type']=String(_0x527265['type'])),null!=_0x527265['data']&&(_0x1bca7e['data']=String(_0x527265['data'])),null!=_0x527265['originalSuggestionId']&&(_0x1bca7e['originalSuggestionId']=String(_0x527265['originalSuggestionId'])),null!=_0x527265['attributes']&&(_0x1bca7e['attributes']=String(_0x527265['attributes'])),_0x1bca7e;},_0x5821df['toObject']=function(_0x5f2635,_0x291c9b,_0x1de038){if(_0x291c9b||(_0x291c9b={}),void 0x0===_0x1de038&&(_0x1de038=0x0),_0x1de038>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xd358e1={};return _0x291c9b['defaults']&&(_0xd358e1['id']='',_0xd358e1['documentId']='',_0xd358e1['type']='',_0xd358e1['data']='',_0xd358e1['originalSuggestionId']='',_0xd358e1['attributes']=''),null!=_0x5f2635['id']&&Object['hasOwnProperty']['call'](_0x5f2635,'id')&&(_0xd358e1['id']=_0x5f2635['id']),null!=_0x5f2635['documentId']&&Object['hasOwnProperty']['call'](_0x5f2635,'documentId')&&(_0xd358e1['documentId']=_0x5f2635['documentId']),null!=_0x5f2635['type']&&Object['hasOwnProperty']['call'](_0x5f2635,'type')&&(_0xd358e1['type']=_0x5f2635['type']),null!=_0x5f2635['data']&&Object['hasOwnProperty']['call'](_0x5f2635,'data')&&(_0xd358e1['data']=_0x5f2635['data']),null!=_0x5f2635['originalSuggestionId']&&Object['hasOwnProperty']['call'](_0x5f2635,'originalSuggestionId')&&(_0xd358e1['originalSuggestionId']=_0x5f2635['originalSuggestionId']),null!=_0x5f2635['attributes']&&Object['hasOwnProperty']['call'](_0x5f2635,'attributes')&&(_0xd358e1['attributes']=_0x5f2635['attributes']),_0xd358e1;},_0x5821df['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5821df['getTypeUrl']=function(_0x332258){return void 0x0===_0x332258&&(_0x332258='type.googleapis.com'),_0x332258+'/TrackChangesAddSuggestionMessage';},_0x5821df;}()),_0xbccd8d['SuggestionDescriptor']=(function(){function _0x2afd5c(_0x4c2e62){if(_0x4c2e62){for(var _0x199629=Object['keys'](_0x4c2e62),_0x363db6=0x0;_0x363db6<_0x199629['length'];++_0x363db6)null!=_0x4c2e62[_0x199629[_0x363db6]]&&'__proto__'!==_0x199629[_0x363db6]&&(this[_0x199629[_0x363db6]]=_0x4c2e62[_0x199629[_0x363db6]]);}}return _0x2afd5c['prototype']['id']='',_0x2afd5c['prototype']['authorId']='',_0x2afd5c['prototype']['type']='',_0x2afd5c['prototype']['createdAt']='',_0x2afd5c['prototype']['data']='',_0x2afd5c['prototype']['hasComments']=!0x1,_0x2afd5c['prototype']['state']='',_0x2afd5c['prototype']['attributes']='',_0x2afd5c['create']=function(_0x405564){return new _0x2afd5c(_0x405564);},_0x2afd5c['encode']=function(_0x149470,_0x1eb26d,_0xcd2d4d){if(_0x1eb26d||(_0x1eb26d=_0x55d9b7['create']()),void 0x0===_0xcd2d4d&&(_0xcd2d4d=0x0),_0xcd2d4d>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x149470['id']&&Object['hasOwnProperty']['call'](_0x149470,'id')&&_0x1eb26d['uint32'](0xa)['string'](_0x149470['id']),null!=_0x149470['authorId']&&Object['hasOwnProperty']['call'](_0x149470,'authorId')&&_0x1eb26d['uint32'](0x12)['string'](_0x149470['authorId']),null!=_0x149470['type']&&Object['hasOwnProperty']['call'](_0x149470,'type')&&_0x1eb26d['uint32'](0x1a)['string'](_0x149470['type']),null!=_0x149470['createdAt']&&Object['hasOwnProperty']['call'](_0x149470,'createdAt')&&_0x1eb26d['uint32'](0x22)['string'](_0x149470['createdAt']),null!=_0x149470['data']&&Object['hasOwnProperty']['call'](_0x149470,'data')&&_0x1eb26d['uint32'](0x2a)['string'](_0x149470['data']),null!=_0x149470['hasComments']&&Object['hasOwnProperty']['call'](_0x149470,'hasComments')&&_0x1eb26d['uint32'](0x30)['bool'](_0x149470['hasComments']),null!=_0x149470['state']&&Object['hasOwnProperty']['call'](_0x149470,'state')&&_0x1eb26d['uint32'](0x3a)['string'](_0x149470['state']),null!=_0x149470['attributes']&&Object['hasOwnProperty']['call'](_0x149470,'attributes')&&_0x1eb26d['uint32'](0x42)['string'](_0x149470['attributes']),_0x1eb26d;},_0x2afd5c['encodeDelimited']=function(_0x103c3c,_0xc26b8e){return this['encode'](_0x103c3c,_0xc26b8e)['ldelim']();},_0x2afd5c['decode']=function(_0xfa53e4,_0x479843,_0x336267,_0x2f4652){if(_0xfa53e4 instanceof _0x105dc2||(_0xfa53e4=_0x105dc2['create'](_0xfa53e4)),void 0x0===_0x2f4652&&(_0x2f4652=0x0),_0x2f4652>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x418e88=void 0x0===_0x479843?_0xfa53e4['len']:_0xfa53e4['pos']+_0x479843,_0x5667a0=new _0xbccd8d['SuggestionDescriptor']();_0xfa53e4['pos']<_0x418e88;){var _0x3770c8=_0xfa53e4['uint32']();if(_0x3770c8===_0x336267)break;switch(_0x3770c8>>>0x3){case 0x1:_0x5667a0['id']=_0xfa53e4['string']();break;case 0x2:_0x5667a0['authorId']=_0xfa53e4['string']();break;case 0x3:_0x5667a0['type']=_0xfa53e4['string']();break;case 0x4:_0x5667a0['createdAt']=_0xfa53e4['string']();break;case 0x5:_0x5667a0['data']=_0xfa53e4['string']();break;case 0x6:_0x5667a0['hasComments']=_0xfa53e4['bool']();break;case 0x7:_0x5667a0['state']=_0xfa53e4['string']();break;case 0x8:_0x5667a0['attributes']=_0xfa53e4['string']();break;default:_0xfa53e4['skipType'](0x7&_0x3770c8,_0x2f4652);}}return _0x5667a0;},_0x2afd5c['decodeDelimited']=function(_0x49858d){return _0x49858d instanceof _0x105dc2||(_0x49858d=new _0x105dc2(_0x49858d)),this['decode'](_0x49858d,_0x49858d['uint32']());},_0x2afd5c['verify']=function(_0x1888d8,_0x8ac4d5){return'object'!=typeof _0x1888d8||null===_0x1888d8?'object\x20expected':(void 0x0===_0x8ac4d5&&(_0x8ac4d5=0x0),_0x8ac4d5>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1888d8['id']&&Object['hasOwnProperty']['call'](_0x1888d8,'id')&&!_0x222891['isString'](_0x1888d8['id'])?'id:\x20string\x20expected':null!=_0x1888d8['authorId']&&Object['hasOwnProperty']['call'](_0x1888d8,'authorId')&&!_0x222891['isString'](_0x1888d8['authorId'])?'authorId:\x20string\x20expected':null!=_0x1888d8['type']&&Object['hasOwnProperty']['call'](_0x1888d8,'type')&&!_0x222891['isString'](_0x1888d8['type'])?'type:\x20string\x20expected':null!=_0x1888d8['createdAt']&&Object['hasOwnProperty']['call'](_0x1888d8,'createdAt')&&!_0x222891['isString'](_0x1888d8['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x1888d8['data']&&Object['hasOwnProperty']['call'](_0x1888d8,'data')&&!_0x222891['isString'](_0x1888d8['data'])?'data:\x20string\x20expected':null!=_0x1888d8['hasComments']&&Object['hasOwnProperty']['call'](_0x1888d8,'hasComments')&&'boolean'!=typeof _0x1888d8['hasComments']?'hasComments:\x20boolean\x20expected':null!=_0x1888d8['state']&&Object['hasOwnProperty']['call'](_0x1888d8,'state')&&!_0x222891['isString'](_0x1888d8['state'])?'state:\x20string\x20expected':null!=_0x1888d8['attributes']&&Object['hasOwnProperty']['call'](_0x1888d8,'attributes')&&!_0x222891['isString'](_0x1888d8['attributes'])?'attributes:\x20string\x20expected':null);},_0x2afd5c['fromObject']=function(_0x5ba4a2,_0x21c05c){if(_0x5ba4a2 instanceof _0xbccd8d['SuggestionDescriptor'])return _0x5ba4a2;if(!_0x222891['isObject'](_0x5ba4a2))throw TypeError('.SuggestionDescriptor:\x20object\x20expected');if(void 0x0===_0x21c05c&&(_0x21c05c=0x0),_0x21c05c>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4c4196=new _0xbccd8d['SuggestionDescriptor']();return null!=_0x5ba4a2['id']&&(_0x4c4196['id']=String(_0x5ba4a2['id'])),null!=_0x5ba4a2['authorId']&&(_0x4c4196['authorId']=String(_0x5ba4a2['authorId'])),null!=_0x5ba4a2['type']&&(_0x4c4196['type']=String(_0x5ba4a2['type'])),null!=_0x5ba4a2['createdAt']&&(_0x4c4196['createdAt']=String(_0x5ba4a2['createdAt'])),null!=_0x5ba4a2['data']&&(_0x4c4196['data']=String(_0x5ba4a2['data'])),null!=_0x5ba4a2['hasComments']&&(_0x4c4196['hasComments']=Boolean(_0x5ba4a2['hasComments'])),null!=_0x5ba4a2['state']&&(_0x4c4196['state']=String(_0x5ba4a2['state'])),null!=_0x5ba4a2['attributes']&&(_0x4c4196['attributes']=String(_0x5ba4a2['attributes'])),_0x4c4196;},_0x2afd5c['toObject']=function(_0x349fe6,_0x4c9247,_0x37d7f3){if(_0x4c9247||(_0x4c9247={}),void 0x0===_0x37d7f3&&(_0x37d7f3=0x0),_0x37d7f3>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x216f35={};return _0x4c9247['defaults']&&(_0x216f35['id']='',_0x216f35['authorId']='',_0x216f35['type']='',_0x216f35['createdAt']='',_0x216f35['data']='',_0x216f35['hasComments']=!0x1,_0x216f35['state']='',_0x216f35['attributes']=''),null!=_0x349fe6['id']&&Object['hasOwnProperty']['call'](_0x349fe6,'id')&&(_0x216f35['id']=_0x349fe6['id']),null!=_0x349fe6['authorId']&&Object['hasOwnProperty']['call'](_0x349fe6,'authorId')&&(_0x216f35['authorId']=_0x349fe6['authorId']),null!=_0x349fe6['type']&&Object['hasOwnProperty']['call'](_0x349fe6,'type')&&(_0x216f35['type']=_0x349fe6['type']),null!=_0x349fe6['createdAt']&&Object['hasOwnProperty']['call'](_0x349fe6,'createdAt')&&(_0x216f35['createdAt']=_0x349fe6['createdAt']),null!=_0x349fe6['data']&&Object['hasOwnProperty']['call'](_0x349fe6,'data')&&(_0x216f35['data']=_0x349fe6['data']),null!=_0x349fe6['hasComments']&&Object['hasOwnProperty']['call'](_0x349fe6,'hasComments')&&(_0x216f35['hasComments']=_0x349fe6['hasComments']),null!=_0x349fe6['state']&&Object['hasOwnProperty']['call'](_0x349fe6,'state')&&(_0x216f35['state']=_0x349fe6['state']),null!=_0x349fe6['attributes']&&Object['hasOwnProperty']['call'](_0x349fe6,'attributes')&&(_0x216f35['attributes']=_0x349fe6['attributes']),_0x216f35;},_0x2afd5c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x2afd5c['getTypeUrl']=function(_0xeb87e1){return void 0x0===_0xeb87e1&&(_0xeb87e1='type.googleapis.com'),_0xeb87e1+'/SuggestionDescriptor';},_0x2afd5c;}()),_0xbccd8d['SessionsConnectResponse']=(function(){function _0xd4afae(_0x30860d){if(this['sockets']=[],_0x30860d){for(var _0x2ba879=Object['keys'](_0x30860d),_0x35e9c5=0x0;_0x35e9c5<_0x2ba879['length'];++_0x35e9c5)null!=_0x30860d[_0x2ba879[_0x35e9c5]]&&'__proto__'!==_0x2ba879[_0x35e9c5]&&(this[_0x2ba879[_0x35e9c5]]=_0x30860d[_0x2ba879[_0x35e9c5]]);}}return _0xd4afae['prototype']['channel']='',_0xd4afae['prototype']['sockets']=_0x222891['emptyArray'],_0xd4afae['create']=function(_0xebc821){return new _0xd4afae(_0xebc821);},_0xd4afae['encode']=function(_0x457404,_0x2eb91d,_0x94d993){if(_0x2eb91d||(_0x2eb91d=_0x55d9b7['create']()),void 0x0===_0x94d993&&(_0x94d993=0x0),_0x94d993>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x457404['channel']&&Object['hasOwnProperty']['call'](_0x457404,'channel')&&_0x2eb91d['uint32'](0xa)['string'](_0x457404['channel']),null!=_0x457404['sockets']&&_0x457404['sockets']['length']){for(var _0x399c9b=0x0;_0x399c9b<_0x457404['sockets']['length'];++_0x399c9b)_0xbccd8d['SessionsSocketDescriptor']['encode'](_0x457404['sockets'][_0x399c9b],_0x2eb91d['uint32'](0x12)['fork'](),_0x94d993+0x1)['ldelim']();}return _0x2eb91d;},_0xd4afae['encodeDelimited']=function(_0x343247,_0x2be9db){return this['encode'](_0x343247,_0x2be9db)['ldelim']();},_0xd4afae['decode']=function(_0x165a36,_0x5853ef,_0x1dbe06,_0x515f20){if(_0x165a36 instanceof _0x105dc2||(_0x165a36=_0x105dc2['create'](_0x165a36)),void 0x0===_0x515f20&&(_0x515f20=0x0),_0x515f20>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xd841e=void 0x0===_0x5853ef?_0x165a36['len']:_0x165a36['pos']+_0x5853ef,_0x4c2185=new _0xbccd8d['SessionsConnectResponse']();_0x165a36['pos']<_0xd841e;){var _0x4ad555=_0x165a36['uint32']();if(_0x4ad555===_0x1dbe06)break;switch(_0x4ad555>>>0x3){case 0x1:_0x4c2185['channel']=_0x165a36['string']();break;case 0x2:_0x4c2185['sockets']&&_0x4c2185['sockets']['length']||(_0x4c2185['sockets']=[]),_0x4c2185['sockets']['push'](_0xbccd8d['SessionsSocketDescriptor']['decode'](_0x165a36,_0x165a36['uint32'](),void 0x0,_0x515f20+0x1));break;default:_0x165a36['skipType'](0x7&_0x4ad555,_0x515f20);}}return _0x4c2185;},_0xd4afae['decodeDelimited']=function(_0x463e4f){return _0x463e4f instanceof _0x105dc2||(_0x463e4f=new _0x105dc2(_0x463e4f)),this['decode'](_0x463e4f,_0x463e4f['uint32']());},_0xd4afae['verify']=function(_0x59c1ea,_0x48ee9c){if('object'!=typeof _0x59c1ea||null===_0x59c1ea)return'object\x20expected';if(void 0x0===_0x48ee9c&&(_0x48ee9c=0x0),_0x48ee9c>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x59c1ea['channel']&&Object['hasOwnProperty']['call'](_0x59c1ea,'channel')&&!_0x222891['isString'](_0x59c1ea['channel']))return'channel:\x20string\x20expected';if(null!=_0x59c1ea['sockets']&&Object['hasOwnProperty']['call'](_0x59c1ea,'sockets')){if(!Array['isArray'](_0x59c1ea['sockets']))return'sockets:\x20array\x20expected';for(var _0x38a366=0x0;_0x38a366<_0x59c1ea['sockets']['length'];++_0x38a366){var _0x1f998a=_0xbccd8d['SessionsSocketDescriptor']['verify'](_0x59c1ea['sockets'][_0x38a366],_0x48ee9c+0x1);if(_0x1f998a)return'sockets.'+_0x1f998a;}}return null;},_0xd4afae['fromObject']=function(_0x417578,_0x4fd88d){if(_0x417578 instanceof _0xbccd8d['SessionsConnectResponse'])return _0x417578;if(!_0x222891['isObject'](_0x417578))throw TypeError('.SessionsConnectResponse:\x20object\x20expected');if(void 0x0===_0x4fd88d&&(_0x4fd88d=0x0),_0x4fd88d>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x100a78=new _0xbccd8d['SessionsConnectResponse']();if(null!=_0x417578['channel']&&(_0x100a78['channel']=String(_0x417578['channel'])),_0x417578['sockets']){if(!Array['isArray'](_0x417578['sockets']))throw TypeError('.SessionsConnectResponse.sockets:\x20array\x20expected');_0x100a78['sockets']=[];for(var _0x3d3f1a=0x0;_0x3d3f1a<_0x417578['sockets']['length'];++_0x3d3f1a){if(!_0x222891['isObject'](_0x417578['sockets'][_0x3d3f1a]))throw TypeError('.SessionsConnectResponse.sockets:\x20object\x20expected');_0x100a78['sockets'][_0x3d3f1a]=_0xbccd8d['SessionsSocketDescriptor']['fromObject'](_0x417578['sockets'][_0x3d3f1a],_0x4fd88d+0x1);}}return _0x100a78;},_0xd4afae['toObject']=function(_0x382cc7,_0x1df606,_0x24d0d9){if(_0x1df606||(_0x1df606={}),void 0x0===_0x24d0d9&&(_0x24d0d9=0x0),_0x24d0d9>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x50c97c={};if((_0x1df606['arrays']||_0x1df606['defaults'])&&(_0x50c97c['sockets']=[]),_0x1df606['defaults']&&(_0x50c97c['channel']=''),null!=_0x382cc7['channel']&&Object['hasOwnProperty']['call'](_0x382cc7,'channel')&&(_0x50c97c['channel']=_0x382cc7['channel']),_0x382cc7['sockets']&&_0x382cc7['sockets']['length']){_0x50c97c['sockets']=[];for(var _0x40136b=0x0;_0x40136b<_0x382cc7['sockets']['length'];++_0x40136b)_0x50c97c['sockets'][_0x40136b]=_0xbccd8d['SessionsSocketDescriptor']['toObject'](_0x382cc7['sockets'][_0x40136b],_0x1df606,_0x24d0d9+0x1);}return _0x50c97c;},_0xd4afae['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0xd4afae['getTypeUrl']=function(_0xc1425b){return void 0x0===_0xc1425b&&(_0xc1425b='type.googleapis.com'),_0xc1425b+'/SessionsConnectResponse';},_0xd4afae;}()),_0xbccd8d['SocketDisconnectMessage']=(function(){function _0x3f20be(_0x1ca13d){if(_0x1ca13d){for(var _0x4d93ff=Object['keys'](_0x1ca13d),_0x370165=0x0;_0x370165<_0x4d93ff['length'];++_0x370165)null!=_0x1ca13d[_0x4d93ff[_0x370165]]&&'__proto__'!==_0x4d93ff[_0x370165]&&(this[_0x4d93ff[_0x370165]]=_0x1ca13d[_0x4d93ff[_0x370165]]);}}return _0x3f20be['prototype']['id']='',_0x3f20be['create']=function(_0x346463){return new _0x3f20be(_0x346463);},_0x3f20be['encode']=function(_0x2c5458,_0x52633b,_0x42a050){if(_0x52633b||(_0x52633b=_0x55d9b7['create']()),void 0x0===_0x42a050&&(_0x42a050=0x0),_0x42a050>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2c5458['id']&&Object['hasOwnProperty']['call'](_0x2c5458,'id')&&_0x52633b['uint32'](0xa)['string'](_0x2c5458['id']),_0x52633b;},_0x3f20be['encodeDelimited']=function(_0x293cd9,_0x39ad75){return this['encode'](_0x293cd9,_0x39ad75)['ldelim']();},_0x3f20be['decode']=function(_0x46a142,_0x355619,_0x10dae7,_0x5b6294){if(_0x46a142 instanceof _0x105dc2||(_0x46a142=_0x105dc2['create'](_0x46a142)),void 0x0===_0x5b6294&&(_0x5b6294=0x0),_0x5b6294>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x340386=void 0x0===_0x355619?_0x46a142['len']:_0x46a142['pos']+_0x355619,_0x15e7a5=new _0xbccd8d['SocketDisconnectMessage']();_0x46a142['pos']<_0x340386;){var _0x25aa1a=_0x46a142['uint32']();if(_0x25aa1a===_0x10dae7)break;_0x25aa1a>>>0x3==0x1?_0x15e7a5['id']=_0x46a142['string']():_0x46a142['skipType'](0x7&_0x25aa1a,_0x5b6294);}return _0x15e7a5;},_0x3f20be['decodeDelimited']=function(_0x252f39){return _0x252f39 instanceof _0x105dc2||(_0x252f39=new _0x105dc2(_0x252f39)),this['decode'](_0x252f39,_0x252f39['uint32']());},_0x3f20be['verify']=function(_0x5c52d3,_0x6ee397){return'object'!=typeof _0x5c52d3||null===_0x5c52d3?'object\x20expected':(void 0x0===_0x6ee397&&(_0x6ee397=0x0),_0x6ee397>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5c52d3['id']&&Object['hasOwnProperty']['call'](_0x5c52d3,'id')&&!_0x222891['isString'](_0x5c52d3['id'])?'id:\x20string\x20expected':null);},_0x3f20be['fromObject']=function(_0x5039ce,_0x3f05ec){if(_0x5039ce instanceof _0xbccd8d['SocketDisconnectMessage'])return _0x5039ce;if(!_0x222891['isObject'](_0x5039ce))throw TypeError('.SocketDisconnectMessage:\x20object\x20expected');if(void 0x0===_0x3f05ec&&(_0x3f05ec=0x0),_0x3f05ec>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x411f4b=new _0xbccd8d['SocketDisconnectMessage']();return null!=_0x5039ce['id']&&(_0x411f4b['id']=String(_0x5039ce['id'])),_0x411f4b;},_0x3f20be['toObject']=function(_0x37f77c,_0x1ce56c,_0x1126b8){if(_0x1ce56c||(_0x1ce56c={}),void 0x0===_0x1126b8&&(_0x1126b8=0x0),_0x1126b8>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xc98adc={};return _0x1ce56c['defaults']&&(_0xc98adc['id']=''),null!=_0x37f77c['id']&&Object['hasOwnProperty']['call'](_0x37f77c,'id')&&(_0xc98adc['id']=_0x37f77c['id']),_0xc98adc;},_0x3f20be['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3f20be['getTypeUrl']=function(_0xf1ab1c){return void 0x0===_0xf1ab1c&&(_0xf1ab1c='type.googleapis.com'),_0xf1ab1c+'/SocketDisconnectMessage';},_0x3f20be;}()),_0xbccd8d['SocketConnectMessage']=(function(){function _0x320e1a(_0x1d7a8e){if(this['permissions']=[],_0x1d7a8e){for(var _0x55f421=Object['keys'](_0x1d7a8e),_0x40db93=0x0;_0x40db93<_0x55f421['length'];++_0x40db93)null!=_0x1d7a8e[_0x55f421[_0x40db93]]&&'__proto__'!==_0x55f421[_0x40db93]&&(this[_0x55f421[_0x40db93]]=_0x1d7a8e[_0x55f421[_0x40db93]]);}}return _0x320e1a['prototype']['id']='',_0x320e1a['prototype']['userId']='',_0x320e1a['prototype']['role']='',_0x320e1a['prototype']['permissions']=_0x222891['emptyArray'],_0x320e1a['create']=function(_0x33ac25){return new _0x320e1a(_0x33ac25);},_0x320e1a['encode']=function(_0x173104,_0x4d3250,_0x50b838){if(_0x4d3250||(_0x4d3250=_0x55d9b7['create']()),void 0x0===_0x50b838&&(_0x50b838=0x0),_0x50b838>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x173104['id']&&Object['hasOwnProperty']['call'](_0x173104,'id')&&_0x4d3250['uint32'](0xa)['string'](_0x173104['id']),null!=_0x173104['userId']&&Object['hasOwnProperty']['call'](_0x173104,'userId')&&_0x4d3250['uint32'](0x12)['string'](_0x173104['userId']),null!=_0x173104['role']&&Object['hasOwnProperty']['call'](_0x173104,'role')&&_0x4d3250['uint32'](0x1a)['string'](_0x173104['role']),null!=_0x173104['permissions']&&_0x173104['permissions']['length']){for(var _0x449864=0x0;_0x449864<_0x173104['permissions']['length'];++_0x449864)_0x4d3250['uint32'](0x22)['string'](_0x173104['permissions'][_0x449864]);}return _0x4d3250;},_0x320e1a['encodeDelimited']=function(_0x1db623,_0x32d84e){return this['encode'](_0x1db623,_0x32d84e)['ldelim']();},_0x320e1a['decode']=function(_0x411136,_0x31942e,_0x4641c8,_0x1520cc){if(_0x411136 instanceof _0x105dc2||(_0x411136=_0x105dc2['create'](_0x411136)),void 0x0===_0x1520cc&&(_0x1520cc=0x0),_0x1520cc>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3a0c93=void 0x0===_0x31942e?_0x411136['len']:_0x411136['pos']+_0x31942e,_0x48e48c=new _0xbccd8d['SocketConnectMessage']();_0x411136['pos']<_0x3a0c93;){var _0x27c8a5=_0x411136['uint32']();if(_0x27c8a5===_0x4641c8)break;switch(_0x27c8a5>>>0x3){case 0x1:_0x48e48c['id']=_0x411136['string']();break;case 0x2:_0x48e48c['userId']=_0x411136['string']();break;case 0x3:_0x48e48c['role']=_0x411136['string']();break;case 0x4:_0x48e48c['permissions']&&_0x48e48c['permissions']['length']||(_0x48e48c['permissions']=[]),_0x48e48c['permissions']['push'](_0x411136['string']());break;default:_0x411136['skipType'](0x7&_0x27c8a5,_0x1520cc);}}return _0x48e48c;},_0x320e1a['decodeDelimited']=function(_0x33162b){return _0x33162b instanceof _0x105dc2||(_0x33162b=new _0x105dc2(_0x33162b)),this['decode'](_0x33162b,_0x33162b['uint32']());},_0x320e1a['verify']=function(_0xf78fa,_0x1fab9a){if('object'!=typeof _0xf78fa||null===_0xf78fa)return'object\x20expected';if(void 0x0===_0x1fab9a&&(_0x1fab9a=0x0),_0x1fab9a>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0xf78fa['id']&&Object['hasOwnProperty']['call'](_0xf78fa,'id')&&!_0x222891['isString'](_0xf78fa['id']))return'id:\x20string\x20expected';if(null!=_0xf78fa['userId']&&Object['hasOwnProperty']['call'](_0xf78fa,'userId')&&!_0x222891['isString'](_0xf78fa['userId']))return'userId:\x20string\x20expected';if(null!=_0xf78fa['role']&&Object['hasOwnProperty']['call'](_0xf78fa,'role')&&!_0x222891['isString'](_0xf78fa['role']))return'role:\x20string\x20expected';if(null!=_0xf78fa['permissions']&&Object['hasOwnProperty']['call'](_0xf78fa,'permissions')){if(!Array['isArray'](_0xf78fa['permissions']))return'permissions:\x20array\x20expected';for(var _0x2e659b=0x0;_0x2e659b<_0xf78fa['permissions']['length'];++_0x2e659b)if(!_0x222891['isString'](_0xf78fa['permissions'][_0x2e659b]))return'permissions:\x20string[]\x20expected';}return null;},_0x320e1a['fromObject']=function(_0x2cc83b,_0x4361f6){if(_0x2cc83b instanceof _0xbccd8d['SocketConnectMessage'])return _0x2cc83b;if(!_0x222891['isObject'](_0x2cc83b))throw TypeError('.SocketConnectMessage:\x20object\x20expected');if(void 0x0===_0x4361f6&&(_0x4361f6=0x0),_0x4361f6>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4e261a=new _0xbccd8d['SocketConnectMessage']();if(null!=_0x2cc83b['id']&&(_0x4e261a['id']=String(_0x2cc83b['id'])),null!=_0x2cc83b['userId']&&(_0x4e261a['userId']=String(_0x2cc83b['userId'])),null!=_0x2cc83b['role']&&(_0x4e261a['role']=String(_0x2cc83b['role'])),_0x2cc83b['permissions']){if(!Array['isArray'](_0x2cc83b['permissions']))throw TypeError('.SocketConnectMessage.permissions:\x20array\x20expected');_0x4e261a['permissions']=[];for(var _0x54429d=0x0;_0x54429d<_0x2cc83b['permissions']['length'];++_0x54429d)_0x4e261a['permissions'][_0x54429d]=String(_0x2cc83b['permissions'][_0x54429d]);}return _0x4e261a;},_0x320e1a['toObject']=function(_0x4e2d10,_0x8cb6b8,_0x513c8e){if(_0x8cb6b8||(_0x8cb6b8={}),void 0x0===_0x513c8e&&(_0x513c8e=0x0),_0x513c8e>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1425d3={};if((_0x8cb6b8['arrays']||_0x8cb6b8['defaults'])&&(_0x1425d3['permissions']=[]),_0x8cb6b8['defaults']&&(_0x1425d3['id']='',_0x1425d3['userId']='',_0x1425d3['role']=''),null!=_0x4e2d10['id']&&Object['hasOwnProperty']['call'](_0x4e2d10,'id')&&(_0x1425d3['id']=_0x4e2d10['id']),null!=_0x4e2d10['userId']&&Object['hasOwnProperty']['call'](_0x4e2d10,'userId')&&(_0x1425d3['userId']=_0x4e2d10['userId']),null!=_0x4e2d10['role']&&Object['hasOwnProperty']['call'](_0x4e2d10,'role')&&(_0x1425d3['role']=_0x4e2d10['role']),_0x4e2d10['permissions']&&_0x4e2d10['permissions']['length']){_0x1425d3['permissions']=[];for(var _0x41948e=0x0;_0x41948e<_0x4e2d10['permissions']['length'];++_0x41948e)_0x1425d3['permissions'][_0x41948e]=_0x4e2d10['permissions'][_0x41948e];}return _0x1425d3;},_0x320e1a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x320e1a['getTypeUrl']=function(_0x41052c){return void 0x0===_0x41052c&&(_0x41052c='type.googleapis.com'),_0x41052c+'/SocketConnectMessage';},_0x320e1a;}()),_0xbccd8d['SessionsConnectMessage']=(function(){function _0x529c0a(_0x136c72){if(_0x136c72){for(var _0x5c4eae=Object['keys'](_0x136c72),_0xb964f3=0x0;_0xb964f3<_0x5c4eae['length'];++_0xb964f3)null!=_0x136c72[_0x5c4eae[_0xb964f3]]&&'__proto__'!==_0x5c4eae[_0xb964f3]&&(this[_0x5c4eae[_0xb964f3]]=_0x136c72[_0x5c4eae[_0xb964f3]]);}}return _0x529c0a['prototype']['id']='',_0x529c0a['prototype']['sessionType']=0x0,_0x529c0a['create']=function(_0x2eadee){return new _0x529c0a(_0x2eadee);},_0x529c0a['encode']=function(_0x924a76,_0x48e39a,_0x2a7a0d){if(_0x48e39a||(_0x48e39a=_0x55d9b7['create']()),void 0x0===_0x2a7a0d&&(_0x2a7a0d=0x0),_0x2a7a0d>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x924a76['id']&&Object['hasOwnProperty']['call'](_0x924a76,'id')&&_0x48e39a['uint32'](0xa)['string'](_0x924a76['id']),null!=_0x924a76['sessionType']&&Object['hasOwnProperty']['call'](_0x924a76,'sessionType')&&_0x48e39a['uint32'](0x10)['uint32'](_0x924a76['sessionType']),_0x48e39a;},_0x529c0a['encodeDelimited']=function(_0x4c5201,_0x4f0b49){return this['encode'](_0x4c5201,_0x4f0b49)['ldelim']();},_0x529c0a['decode']=function(_0x2b6b75,_0x1d804b,_0x286a54,_0x5009e5){if(_0x2b6b75 instanceof _0x105dc2||(_0x2b6b75=_0x105dc2['create'](_0x2b6b75)),void 0x0===_0x5009e5&&(_0x5009e5=0x0),_0x5009e5>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x41eb56=void 0x0===_0x1d804b?_0x2b6b75['len']:_0x2b6b75['pos']+_0x1d804b,_0x372339=new _0xbccd8d['SessionsConnectMessage']();_0x2b6b75['pos']<_0x41eb56;){var _0x1207fd=_0x2b6b75['uint32']();if(_0x1207fd===_0x286a54)break;switch(_0x1207fd>>>0x3){case 0x1:_0x372339['id']=_0x2b6b75['string']();break;case 0x2:_0x372339['sessionType']=_0x2b6b75['uint32']();break;default:_0x2b6b75['skipType'](0x7&_0x1207fd,_0x5009e5);}}return _0x372339;},_0x529c0a['decodeDelimited']=function(_0x486114){return _0x486114 instanceof _0x105dc2||(_0x486114=new _0x105dc2(_0x486114)),this['decode'](_0x486114,_0x486114['uint32']());},_0x529c0a['verify']=function(_0x544177,_0x1c6f5d){return'object'!=typeof _0x544177||null===_0x544177?'object\x20expected':(void 0x0===_0x1c6f5d&&(_0x1c6f5d=0x0),_0x1c6f5d>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x544177['id']&&Object['hasOwnProperty']['call'](_0x544177,'id')&&!_0x222891['isString'](_0x544177['id'])?'id:\x20string\x20expected':null!=_0x544177['sessionType']&&Object['hasOwnProperty']['call'](_0x544177,'sessionType')&&!_0x222891['isInteger'](_0x544177['sessionType'])?'sessionType:\x20integer\x20expected':null);},_0x529c0a['fromObject']=function(_0x235fee,_0x5be7d7){if(_0x235fee instanceof _0xbccd8d['SessionsConnectMessage'])return _0x235fee;if(!_0x222891['isObject'](_0x235fee))throw TypeError('.SessionsConnectMessage:\x20object\x20expected');if(void 0x0===_0x5be7d7&&(_0x5be7d7=0x0),_0x5be7d7>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x79332=new _0xbccd8d['SessionsConnectMessage']();return null!=_0x235fee['id']&&(_0x79332['id']=String(_0x235fee['id'])),null!=_0x235fee['sessionType']&&(_0x79332['sessionType']=_0x235fee['sessionType']>>>0x0),_0x79332;},_0x529c0a['toObject']=function(_0x344261,_0xc73164,_0xd2e254){if(_0xc73164||(_0xc73164={}),void 0x0===_0xd2e254&&(_0xd2e254=0x0),_0xd2e254>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x917eaa={};return _0xc73164['defaults']&&(_0x917eaa['id']='',_0x917eaa['sessionType']=0x0),null!=_0x344261['id']&&Object['hasOwnProperty']['call'](_0x344261,'id')&&(_0x917eaa['id']=_0x344261['id']),null!=_0x344261['sessionType']&&Object['hasOwnProperty']['call'](_0x344261,'sessionType')&&(_0x917eaa['sessionType']=_0x344261['sessionType']),_0x917eaa;},_0x529c0a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x529c0a['getTypeUrl']=function(_0x57f7d7){return void 0x0===_0x57f7d7&&(_0x57f7d7='type.googleapis.com'),_0x57f7d7+'/SessionsConnectMessage';},_0x529c0a;}()),_0xbccd8d['SessionsSocketDescriptor']=(function(){function _0x1eb783(_0x3fc7af){if(this['permissions']=[],_0x3fc7af){for(var _0x5b12a1=Object['keys'](_0x3fc7af),_0x5594d1=0x0;_0x5594d1<_0x5b12a1['length'];++_0x5594d1)null!=_0x3fc7af[_0x5b12a1[_0x5594d1]]&&'__proto__'!==_0x5b12a1[_0x5594d1]&&(this[_0x5b12a1[_0x5594d1]]=_0x3fc7af[_0x5b12a1[_0x5594d1]]);}}return _0x1eb783['prototype']['session']='',_0x1eb783['prototype']['user']='',_0x1eb783['prototype']['role']='',_0x1eb783['prototype']['permissions']=_0x222891['emptyArray'],_0x1eb783['create']=function(_0xbe2108){return new _0x1eb783(_0xbe2108);},_0x1eb783['encode']=function(_0x39f176,_0x581d59,_0x50291c){if(_0x581d59||(_0x581d59=_0x55d9b7['create']()),void 0x0===_0x50291c&&(_0x50291c=0x0),_0x50291c>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x39f176['session']&&Object['hasOwnProperty']['call'](_0x39f176,'session')&&_0x581d59['uint32'](0xa)['string'](_0x39f176['session']),null!=_0x39f176['user']&&Object['hasOwnProperty']['call'](_0x39f176,'user')&&_0x581d59['uint32'](0x12)['string'](_0x39f176['user']),null!=_0x39f176['role']&&Object['hasOwnProperty']['call'](_0x39f176,'role')&&_0x581d59['uint32'](0x1a)['string'](_0x39f176['role']),null!=_0x39f176['permissions']&&_0x39f176['permissions']['length']){for(var _0x210b44=0x0;_0x210b44<_0x39f176['permissions']['length'];++_0x210b44)_0x581d59['uint32'](0x22)['string'](_0x39f176['permissions'][_0x210b44]);}return _0x581d59;},_0x1eb783['encodeDelimited']=function(_0x176cbf,_0x1c8792){return this['encode'](_0x176cbf,_0x1c8792)['ldelim']();},_0x1eb783['decode']=function(_0x31f83a,_0xa0dedf,_0x391e1d,_0x13c54d){if(_0x31f83a instanceof _0x105dc2||(_0x31f83a=_0x105dc2['create'](_0x31f83a)),void 0x0===_0x13c54d&&(_0x13c54d=0x0),_0x13c54d>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x55c77e=void 0x0===_0xa0dedf?_0x31f83a['len']:_0x31f83a['pos']+_0xa0dedf,_0x221eb6=new _0xbccd8d['SessionsSocketDescriptor']();_0x31f83a['pos']<_0x55c77e;){var _0x1ada7e=_0x31f83a['uint32']();if(_0x1ada7e===_0x391e1d)break;switch(_0x1ada7e>>>0x3){case 0x1:_0x221eb6['session']=_0x31f83a['string']();break;case 0x2:_0x221eb6['user']=_0x31f83a['string']();break;case 0x3:_0x221eb6['role']=_0x31f83a['string']();break;case 0x4:_0x221eb6['permissions']&&_0x221eb6['permissions']['length']||(_0x221eb6['permissions']=[]),_0x221eb6['permissions']['push'](_0x31f83a['string']());break;default:_0x31f83a['skipType'](0x7&_0x1ada7e,_0x13c54d);}}return _0x221eb6;},_0x1eb783['decodeDelimited']=function(_0x2890bd){return _0x2890bd instanceof _0x105dc2||(_0x2890bd=new _0x105dc2(_0x2890bd)),this['decode'](_0x2890bd,_0x2890bd['uint32']());},_0x1eb783['verify']=function(_0x26fe76,_0x3ee6fb){if('object'!=typeof _0x26fe76||null===_0x26fe76)return'object\x20expected';if(void 0x0===_0x3ee6fb&&(_0x3ee6fb=0x0),_0x3ee6fb>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x26fe76['session']&&Object['hasOwnProperty']['call'](_0x26fe76,'session')&&!_0x222891['isString'](_0x26fe76['session']))return'session:\x20string\x20expected';if(null!=_0x26fe76['user']&&Object['hasOwnProperty']['call'](_0x26fe76,'user')&&!_0x222891['isString'](_0x26fe76['user']))return'user:\x20string\x20expected';if(null!=_0x26fe76['role']&&Object['hasOwnProperty']['call'](_0x26fe76,'role')&&!_0x222891['isString'](_0x26fe76['role']))return'role:\x20string\x20expected';if(null!=_0x26fe76['permissions']&&Object['hasOwnProperty']['call'](_0x26fe76,'permissions')){if(!Array['isArray'](_0x26fe76['permissions']))return'permissions:\x20array\x20expected';for(var _0x4c8e6b=0x0;_0x4c8e6b<_0x26fe76['permissions']['length'];++_0x4c8e6b)if(!_0x222891['isString'](_0x26fe76['permissions'][_0x4c8e6b]))return'permissions:\x20string[]\x20expected';}return null;},_0x1eb783['fromObject']=function(_0xb3a8bc,_0x115cb5){if(_0xb3a8bc instanceof _0xbccd8d['SessionsSocketDescriptor'])return _0xb3a8bc;if(!_0x222891['isObject'](_0xb3a8bc))throw TypeError('.SessionsSocketDescriptor:\x20object\x20expected');if(void 0x0===_0x115cb5&&(_0x115cb5=0x0),_0x115cb5>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4b430d=new _0xbccd8d['SessionsSocketDescriptor']();if(null!=_0xb3a8bc['session']&&(_0x4b430d['session']=String(_0xb3a8bc['session'])),null!=_0xb3a8bc['user']&&(_0x4b430d['user']=String(_0xb3a8bc['user'])),null!=_0xb3a8bc['role']&&(_0x4b430d['role']=String(_0xb3a8bc['role'])),_0xb3a8bc['permissions']){if(!Array['isArray'](_0xb3a8bc['permissions']))throw TypeError('.SessionsSocketDescriptor.permissions:\x20array\x20expected');_0x4b430d['permissions']=[];for(var _0x3fe23a=0x0;_0x3fe23a<_0xb3a8bc['permissions']['length'];++_0x3fe23a)_0x4b430d['permissions'][_0x3fe23a]=String(_0xb3a8bc['permissions'][_0x3fe23a]);}return _0x4b430d;},_0x1eb783['toObject']=function(_0x4a703e,_0x1894e3,_0x4ab097){if(_0x1894e3||(_0x1894e3={}),void 0x0===_0x4ab097&&(_0x4ab097=0x0),_0x4ab097>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x28fe65={};if((_0x1894e3['arrays']||_0x1894e3['defaults'])&&(_0x28fe65['permissions']=[]),_0x1894e3['defaults']&&(_0x28fe65['session']='',_0x28fe65['user']='',_0x28fe65['role']=''),null!=_0x4a703e['session']&&Object['hasOwnProperty']['call'](_0x4a703e,'session')&&(_0x28fe65['session']=_0x4a703e['session']),null!=_0x4a703e['user']&&Object['hasOwnProperty']['call'](_0x4a703e,'user')&&(_0x28fe65['user']=_0x4a703e['user']),null!=_0x4a703e['role']&&Object['hasOwnProperty']['call'](_0x4a703e,'role')&&(_0x28fe65['role']=_0x4a703e['role']),_0x4a703e['permissions']&&_0x4a703e['permissions']['length']){_0x28fe65['permissions']=[];for(var _0x409bc4=0x0;_0x409bc4<_0x4a703e['permissions']['length'];++_0x409bc4)_0x28fe65['permissions'][_0x409bc4]=_0x4a703e['permissions'][_0x409bc4];}return _0x28fe65;},_0x1eb783['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x1eb783['getTypeUrl']=function(_0x32fa0e){return void 0x0===_0x32fa0e&&(_0x32fa0e='type.googleapis.com'),_0x32fa0e+'/SessionsSocketDescriptor';},_0x1eb783;}()),_0xbccd8d['RevisionHistoryUpdateRevisionsResponse']=(function(){function _0x4d2b36(_0x468b03){if(_0x468b03){for(var _0x3012b6=Object['keys'](_0x468b03),_0x446cf9=0x0;_0x446cf9<_0x3012b6['length'];++_0x446cf9)null!=_0x468b03[_0x3012b6[_0x446cf9]]&&'__proto__'!==_0x3012b6[_0x446cf9]&&(this[_0x3012b6[_0x446cf9]]=_0x468b03[_0x3012b6[_0x446cf9]]);}}return _0x4d2b36['prototype']['requestId']=0x0,_0x4d2b36['create']=function(_0x4a93ce){return new _0x4d2b36(_0x4a93ce);},_0x4d2b36['encode']=function(_0x209d01,_0xa2e7af,_0x3e932e){if(_0xa2e7af||(_0xa2e7af=_0x55d9b7['create']()),void 0x0===_0x3e932e&&(_0x3e932e=0x0),_0x3e932e>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x209d01['requestId']&&Object['hasOwnProperty']['call'](_0x209d01,'requestId')&&_0xa2e7af['uint32'](0x8)['uint32'](_0x209d01['requestId']),_0xa2e7af;},_0x4d2b36['encodeDelimited']=function(_0x4f8135,_0x4b9e18){return this['encode'](_0x4f8135,_0x4b9e18)['ldelim']();},_0x4d2b36['decode']=function(_0x520041,_0x29bd83,_0x1c610c,_0x400ad8){if(_0x520041 instanceof _0x105dc2||(_0x520041=_0x105dc2['create'](_0x520041)),void 0x0===_0x400ad8&&(_0x400ad8=0x0),_0x400ad8>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1981c5=void 0x0===_0x29bd83?_0x520041['len']:_0x520041['pos']+_0x29bd83,_0x2b40ba=new _0xbccd8d['RevisionHistoryUpdateRevisionsResponse']();_0x520041['pos']<_0x1981c5;){var _0x18494d=_0x520041['uint32']();if(_0x18494d===_0x1c610c)break;_0x18494d>>>0x3==0x1?_0x2b40ba['requestId']=_0x520041['uint32']():_0x520041['skipType'](0x7&_0x18494d,_0x400ad8);}return _0x2b40ba;},_0x4d2b36['decodeDelimited']=function(_0x3c37ed){return _0x3c37ed instanceof _0x105dc2||(_0x3c37ed=new _0x105dc2(_0x3c37ed)),this['decode'](_0x3c37ed,_0x3c37ed['uint32']());},_0x4d2b36['verify']=function(_0x280d78,_0x9bc932){return'object'!=typeof _0x280d78||null===_0x280d78?'object\x20expected':(void 0x0===_0x9bc932&&(_0x9bc932=0x0),_0x9bc932>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x280d78['requestId']&&Object['hasOwnProperty']['call'](_0x280d78,'requestId')&&!_0x222891['isInteger'](_0x280d78['requestId'])?'requestId:\x20integer\x20expected':null);},_0x4d2b36['fromObject']=function(_0x5cbbad,_0x24323a){if(_0x5cbbad instanceof _0xbccd8d['RevisionHistoryUpdateRevisionsResponse'])return _0x5cbbad;if(!_0x222891['isObject'](_0x5cbbad))throw TypeError('.RevisionHistoryUpdateRevisionsResponse:\x20object\x20expected');if(void 0x0===_0x24323a&&(_0x24323a=0x0),_0x24323a>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x37c165=new _0xbccd8d['RevisionHistoryUpdateRevisionsResponse']();return null!=_0x5cbbad['requestId']&&(_0x37c165['requestId']=_0x5cbbad['requestId']>>>0x0),_0x37c165;},_0x4d2b36['toObject']=function(_0x1bb198,_0xe182fb,_0xb22f1){if(_0xe182fb||(_0xe182fb={}),void 0x0===_0xb22f1&&(_0xb22f1=0x0),_0xb22f1>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5b6652={};return _0xe182fb['defaults']&&(_0x5b6652['requestId']=0x0),null!=_0x1bb198['requestId']&&Object['hasOwnProperty']['call'](_0x1bb198,'requestId')&&(_0x5b6652['requestId']=_0x1bb198['requestId']),_0x5b6652;},_0x4d2b36['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x4d2b36['getTypeUrl']=function(_0x316b18){return void 0x0===_0x316b18&&(_0x316b18='type.googleapis.com'),_0x316b18+'/RevisionHistoryUpdateRevisionsResponse';},_0x4d2b36;}()),_0xbccd8d['RevisionHistoryGetRevisionResponse']=(function(){function _0x4547aa(_0x2e888e){if(_0x2e888e){for(var _0x200346=Object['keys'](_0x2e888e),_0x5b9fb7=0x0;_0x5b9fb7<_0x200346['length'];++_0x5b9fb7)null!=_0x2e888e[_0x200346[_0x5b9fb7]]&&'__proto__'!==_0x200346[_0x5b9fb7]&&(this[_0x200346[_0x5b9fb7]]=_0x2e888e[_0x200346[_0x5b9fb7]]);}}return _0x4547aa['prototype']['revisionId']='',_0x4547aa['prototype']['name']='',_0x4547aa['prototype']['creatorId']='',_0x4547aa['prototype']['authorsIds']='',_0x4547aa['prototype']['diffData']='',_0x4547aa['prototype']['createdAt']='',_0x4547aa['prototype']['attributes']='',_0x4547aa['prototype']['toVersion']=0x0,_0x4547aa['prototype']['fromVersion']=0x0,_0x4547aa['prototype']['isEmptyCurrent']=!0x1,_0x4547aa['create']=function(_0xa2831c){return new _0x4547aa(_0xa2831c);},_0x4547aa['encode']=function(_0x4c829e,_0x5dc7e6,_0x23e529){if(_0x5dc7e6||(_0x5dc7e6=_0x55d9b7['create']()),void 0x0===_0x23e529&&(_0x23e529=0x0),_0x23e529>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x4c829e['revisionId']&&Object['hasOwnProperty']['call'](_0x4c829e,'revisionId')&&_0x5dc7e6['uint32'](0xa)['string'](_0x4c829e['revisionId']),null!=_0x4c829e['name']&&Object['hasOwnProperty']['call'](_0x4c829e,'name')&&_0x5dc7e6['uint32'](0x12)['string'](_0x4c829e['name']),null!=_0x4c829e['creatorId']&&Object['hasOwnProperty']['call'](_0x4c829e,'creatorId')&&_0x5dc7e6['uint32'](0x1a)['string'](_0x4c829e['creatorId']),null!=_0x4c829e['authorsIds']&&Object['hasOwnProperty']['call'](_0x4c829e,'authorsIds')&&_0x5dc7e6['uint32'](0x22)['string'](_0x4c829e['authorsIds']),null!=_0x4c829e['diffData']&&Object['hasOwnProperty']['call'](_0x4c829e,'diffData')&&_0x5dc7e6['uint32'](0x2a)['string'](_0x4c829e['diffData']),null!=_0x4c829e['createdAt']&&Object['hasOwnProperty']['call'](_0x4c829e,'createdAt')&&_0x5dc7e6['uint32'](0x32)['string'](_0x4c829e['createdAt']),null!=_0x4c829e['attributes']&&Object['hasOwnProperty']['call'](_0x4c829e,'attributes')&&_0x5dc7e6['uint32'](0x3a)['string'](_0x4c829e['attributes']),null!=_0x4c829e['toVersion']&&Object['hasOwnProperty']['call'](_0x4c829e,'toVersion')&&_0x5dc7e6['uint32'](0x40)['uint32'](_0x4c829e['toVersion']),null!=_0x4c829e['fromVersion']&&Object['hasOwnProperty']['call'](_0x4c829e,'fromVersion')&&_0x5dc7e6['uint32'](0x48)['uint32'](_0x4c829e['fromVersion']),null!=_0x4c829e['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x4c829e,'isEmptyCurrent')&&_0x5dc7e6['uint32'](0x50)['bool'](_0x4c829e['isEmptyCurrent']),_0x5dc7e6;},_0x4547aa['encodeDelimited']=function(_0x47961e,_0xcbc7fc){return this['encode'](_0x47961e,_0xcbc7fc)['ldelim']();},_0x4547aa['decode']=function(_0x178efa,_0x1dd7f3,_0x4cdd2b,_0x20466e){if(_0x178efa instanceof _0x105dc2||(_0x178efa=_0x105dc2['create'](_0x178efa)),void 0x0===_0x20466e&&(_0x20466e=0x0),_0x20466e>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x20dd7a=void 0x0===_0x1dd7f3?_0x178efa['len']:_0x178efa['pos']+_0x1dd7f3,_0x2d3a04=new _0xbccd8d['RevisionHistoryGetRevisionResponse']();_0x178efa['pos']<_0x20dd7a;){var _0x17625d=_0x178efa['uint32']();if(_0x17625d===_0x4cdd2b)break;switch(_0x17625d>>>0x3){case 0x1:_0x2d3a04['revisionId']=_0x178efa['string']();break;case 0x2:_0x2d3a04['name']=_0x178efa['string']();break;case 0x3:_0x2d3a04['creatorId']=_0x178efa['string']();break;case 0x4:_0x2d3a04['authorsIds']=_0x178efa['string']();break;case 0x5:_0x2d3a04['diffData']=_0x178efa['string']();break;case 0x6:_0x2d3a04['createdAt']=_0x178efa['string']();break;case 0x7:_0x2d3a04['attributes']=_0x178efa['string']();break;case 0x8:_0x2d3a04['toVersion']=_0x178efa['uint32']();break;case 0x9:_0x2d3a04['fromVersion']=_0x178efa['uint32']();break;case 0xa:_0x2d3a04['isEmptyCurrent']=_0x178efa['bool']();break;default:_0x178efa['skipType'](0x7&_0x17625d,_0x20466e);}}return _0x2d3a04;},_0x4547aa['decodeDelimited']=function(_0xa2ce9e){return _0xa2ce9e instanceof _0x105dc2||(_0xa2ce9e=new _0x105dc2(_0xa2ce9e)),this['decode'](_0xa2ce9e,_0xa2ce9e['uint32']());},_0x4547aa['verify']=function(_0x423ec8,_0x39c4d8){return'object'!=typeof _0x423ec8||null===_0x423ec8?'object\x20expected':(void 0x0===_0x39c4d8&&(_0x39c4d8=0x0),_0x39c4d8>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x423ec8['revisionId']&&Object['hasOwnProperty']['call'](_0x423ec8,'revisionId')&&!_0x222891['isString'](_0x423ec8['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x423ec8['name']&&Object['hasOwnProperty']['call'](_0x423ec8,'name')&&!_0x222891['isString'](_0x423ec8['name'])?'name:\x20string\x20expected':null!=_0x423ec8['creatorId']&&Object['hasOwnProperty']['call'](_0x423ec8,'creatorId')&&!_0x222891['isString'](_0x423ec8['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x423ec8['authorsIds']&&Object['hasOwnProperty']['call'](_0x423ec8,'authorsIds')&&!_0x222891['isString'](_0x423ec8['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x423ec8['diffData']&&Object['hasOwnProperty']['call'](_0x423ec8,'diffData')&&!_0x222891['isString'](_0x423ec8['diffData'])?'diffData:\x20string\x20expected':null!=_0x423ec8['createdAt']&&Object['hasOwnProperty']['call'](_0x423ec8,'createdAt')&&!_0x222891['isString'](_0x423ec8['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x423ec8['attributes']&&Object['hasOwnProperty']['call'](_0x423ec8,'attributes')&&!_0x222891['isString'](_0x423ec8['attributes'])?'attributes:\x20string\x20expected':null!=_0x423ec8['toVersion']&&Object['hasOwnProperty']['call'](_0x423ec8,'toVersion')&&!_0x222891['isInteger'](_0x423ec8['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x423ec8['fromVersion']&&Object['hasOwnProperty']['call'](_0x423ec8,'fromVersion')&&!_0x222891['isInteger'](_0x423ec8['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x423ec8['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x423ec8,'isEmptyCurrent')&&'boolean'!=typeof _0x423ec8['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x4547aa['fromObject']=function(_0x321271,_0x31255d){if(_0x321271 instanceof _0xbccd8d['RevisionHistoryGetRevisionResponse'])return _0x321271;if(!_0x222891['isObject'](_0x321271))throw TypeError('.RevisionHistoryGetRevisionResponse:\x20object\x20expected');if(void 0x0===_0x31255d&&(_0x31255d=0x0),_0x31255d>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5c739b=new _0xbccd8d['RevisionHistoryGetRevisionResponse']();return null!=_0x321271['revisionId']&&(_0x5c739b['revisionId']=String(_0x321271['revisionId'])),null!=_0x321271['name']&&(_0x5c739b['name']=String(_0x321271['name'])),null!=_0x321271['creatorId']&&(_0x5c739b['creatorId']=String(_0x321271['creatorId'])),null!=_0x321271['authorsIds']&&(_0x5c739b['authorsIds']=String(_0x321271['authorsIds'])),null!=_0x321271['diffData']&&(_0x5c739b['diffData']=String(_0x321271['diffData'])),null!=_0x321271['createdAt']&&(_0x5c739b['createdAt']=String(_0x321271['createdAt'])),null!=_0x321271['attributes']&&(_0x5c739b['attributes']=String(_0x321271['attributes'])),null!=_0x321271['toVersion']&&(_0x5c739b['toVersion']=_0x321271['toVersion']>>>0x0),null!=_0x321271['fromVersion']&&(_0x5c739b['fromVersion']=_0x321271['fromVersion']>>>0x0),null!=_0x321271['isEmptyCurrent']&&(_0x5c739b['isEmptyCurrent']=Boolean(_0x321271['isEmptyCurrent'])),_0x5c739b;},_0x4547aa['toObject']=function(_0x23e10a,_0x1b66e7,_0x2fcaf9){if(_0x1b66e7||(_0x1b66e7={}),void 0x0===_0x2fcaf9&&(_0x2fcaf9=0x0),_0x2fcaf9>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xbf3170={};return _0x1b66e7['defaults']&&(_0xbf3170['revisionId']='',_0xbf3170['name']='',_0xbf3170['creatorId']='',_0xbf3170['authorsIds']='',_0xbf3170['diffData']='',_0xbf3170['createdAt']='',_0xbf3170['attributes']='',_0xbf3170['toVersion']=0x0,_0xbf3170['fromVersion']=0x0,_0xbf3170['isEmptyCurrent']=!0x1),null!=_0x23e10a['revisionId']&&Object['hasOwnProperty']['call'](_0x23e10a,'revisionId')&&(_0xbf3170['revisionId']=_0x23e10a['revisionId']),null!=_0x23e10a['name']&&Object['hasOwnProperty']['call'](_0x23e10a,'name')&&(_0xbf3170['name']=_0x23e10a['name']),null!=_0x23e10a['creatorId']&&Object['hasOwnProperty']['call'](_0x23e10a,'creatorId')&&(_0xbf3170['creatorId']=_0x23e10a['creatorId']),null!=_0x23e10a['authorsIds']&&Object['hasOwnProperty']['call'](_0x23e10a,'authorsIds')&&(_0xbf3170['authorsIds']=_0x23e10a['authorsIds']),null!=_0x23e10a['diffData']&&Object['hasOwnProperty']['call'](_0x23e10a,'diffData')&&(_0xbf3170['diffData']=_0x23e10a['diffData']),null!=_0x23e10a['createdAt']&&Object['hasOwnProperty']['call'](_0x23e10a,'createdAt')&&(_0xbf3170['createdAt']=_0x23e10a['createdAt']),null!=_0x23e10a['attributes']&&Object['hasOwnProperty']['call'](_0x23e10a,'attributes')&&(_0xbf3170['attributes']=_0x23e10a['attributes']),null!=_0x23e10a['toVersion']&&Object['hasOwnProperty']['call'](_0x23e10a,'toVersion')&&(_0xbf3170['toVersion']=_0x23e10a['toVersion']),null!=_0x23e10a['fromVersion']&&Object['hasOwnProperty']['call'](_0x23e10a,'fromVersion')&&(_0xbf3170['fromVersion']=_0x23e10a['fromVersion']),null!=_0x23e10a['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x23e10a,'isEmptyCurrent')&&(_0xbf3170['isEmptyCurrent']=_0x23e10a['isEmptyCurrent']),_0xbf3170;},_0x4547aa['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x4547aa['getTypeUrl']=function(_0x796825){return void 0x0===_0x796825&&(_0x796825='type.googleapis.com'),_0x796825+'/RevisionHistoryGetRevisionResponse';},_0x4547aa;}()),_0xbccd8d['RevisionHistoryConnectResponse']=(function(){function _0x12d471(_0x16a741){if(this['revisions']=[],_0x16a741){for(var _0x541e3f=Object['keys'](_0x16a741),_0xc2e7a9=0x0;_0xc2e7a9<_0x541e3f['length'];++_0xc2e7a9)null!=_0x16a741[_0x541e3f[_0xc2e7a9]]&&'__proto__'!==_0x541e3f[_0xc2e7a9]&&(this[_0x541e3f[_0xc2e7a9]]=_0x16a741[_0x541e3f[_0xc2e7a9]]);}}return _0x12d471['prototype']['channel']='',_0x12d471['prototype']['requestId']=0x0,_0x12d471['prototype']['revisions']=_0x222891['emptyArray'],_0x12d471['create']=function(_0xb6f6aa){return new _0x12d471(_0xb6f6aa);},_0x12d471['encode']=function(_0xd15fdc,_0x1a1c14,_0x4d492b){if(_0x1a1c14||(_0x1a1c14=_0x55d9b7['create']()),void 0x0===_0x4d492b&&(_0x4d492b=0x0),_0x4d492b>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xd15fdc['channel']&&Object['hasOwnProperty']['call'](_0xd15fdc,'channel')&&_0x1a1c14['uint32'](0xa)['string'](_0xd15fdc['channel']),null!=_0xd15fdc['requestId']&&Object['hasOwnProperty']['call'](_0xd15fdc,'requestId')&&_0x1a1c14['uint32'](0x10)['uint32'](_0xd15fdc['requestId']),null!=_0xd15fdc['revisions']&&_0xd15fdc['revisions']['length']){for(var _0x4052d8=0x0;_0x4052d8<_0xd15fdc['revisions']['length'];++_0x4052d8)_0xbccd8d['RevisionDescriptor']['encode'](_0xd15fdc['revisions'][_0x4052d8],_0x1a1c14['uint32'](0x1a)['fork'](),_0x4d492b+0x1)['ldelim']();}return _0x1a1c14;},_0x12d471['encodeDelimited']=function(_0x5ab4c0,_0xc39bd2){return this['encode'](_0x5ab4c0,_0xc39bd2)['ldelim']();},_0x12d471['decode']=function(_0x549bca,_0x3b49d4,_0x22a54f,_0x2b35f8){if(_0x549bca instanceof _0x105dc2||(_0x549bca=_0x105dc2['create'](_0x549bca)),void 0x0===_0x2b35f8&&(_0x2b35f8=0x0),_0x2b35f8>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x15a7ae=void 0x0===_0x3b49d4?_0x549bca['len']:_0x549bca['pos']+_0x3b49d4,_0x227555=new _0xbccd8d['RevisionHistoryConnectResponse']();_0x549bca['pos']<_0x15a7ae;){var _0x1d6ed3=_0x549bca['uint32']();if(_0x1d6ed3===_0x22a54f)break;switch(_0x1d6ed3>>>0x3){case 0x1:_0x227555['channel']=_0x549bca['string']();break;case 0x2:_0x227555['requestId']=_0x549bca['uint32']();break;case 0x3:_0x227555['revisions']&&_0x227555['revisions']['length']||(_0x227555['revisions']=[]),_0x227555['revisions']['push'](_0xbccd8d['RevisionDescriptor']['decode'](_0x549bca,_0x549bca['uint32'](),void 0x0,_0x2b35f8+0x1));break;default:_0x549bca['skipType'](0x7&_0x1d6ed3,_0x2b35f8);}}return _0x227555;},_0x12d471['decodeDelimited']=function(_0x372cd4){return _0x372cd4 instanceof _0x105dc2||(_0x372cd4=new _0x105dc2(_0x372cd4)),this['decode'](_0x372cd4,_0x372cd4['uint32']());},_0x12d471['verify']=function(_0x87f998,_0x1cfe3e){if('object'!=typeof _0x87f998||null===_0x87f998)return'object\x20expected';if(void 0x0===_0x1cfe3e&&(_0x1cfe3e=0x0),_0x1cfe3e>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x87f998['channel']&&Object['hasOwnProperty']['call'](_0x87f998,'channel')&&!_0x222891['isString'](_0x87f998['channel']))return'channel:\x20string\x20expected';if(null!=_0x87f998['requestId']&&Object['hasOwnProperty']['call'](_0x87f998,'requestId')&&!_0x222891['isInteger'](_0x87f998['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x87f998['revisions']&&Object['hasOwnProperty']['call'](_0x87f998,'revisions')){if(!Array['isArray'](_0x87f998['revisions']))return'revisions:\x20array\x20expected';for(var _0x381d51=0x0;_0x381d51<_0x87f998['revisions']['length'];++_0x381d51){var _0x32ccbb=_0xbccd8d['RevisionDescriptor']['verify'](_0x87f998['revisions'][_0x381d51],_0x1cfe3e+0x1);if(_0x32ccbb)return'revisions.'+_0x32ccbb;}}return null;},_0x12d471['fromObject']=function(_0x4ed61c,_0x2e9493){if(_0x4ed61c instanceof _0xbccd8d['RevisionHistoryConnectResponse'])return _0x4ed61c;if(!_0x222891['isObject'](_0x4ed61c))throw TypeError('.RevisionHistoryConnectResponse:\x20object\x20expected');if(void 0x0===_0x2e9493&&(_0x2e9493=0x0),_0x2e9493>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5eb16d=new _0xbccd8d['RevisionHistoryConnectResponse']();if(null!=_0x4ed61c['channel']&&(_0x5eb16d['channel']=String(_0x4ed61c['channel'])),null!=_0x4ed61c['requestId']&&(_0x5eb16d['requestId']=_0x4ed61c['requestId']>>>0x0),_0x4ed61c['revisions']){if(!Array['isArray'](_0x4ed61c['revisions']))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20array\x20expected');_0x5eb16d['revisions']=[];for(var _0x1fdba0=0x0;_0x1fdba0<_0x4ed61c['revisions']['length'];++_0x1fdba0){if(!_0x222891['isObject'](_0x4ed61c['revisions'][_0x1fdba0]))throw TypeError('.RevisionHistoryConnectResponse.revisions:\x20object\x20expected');_0x5eb16d['revisions'][_0x1fdba0]=_0xbccd8d['RevisionDescriptor']['fromObject'](_0x4ed61c['revisions'][_0x1fdba0],_0x2e9493+0x1);}}return _0x5eb16d;},_0x12d471['toObject']=function(_0x18bb82,_0x16e36f,_0x196cdf){if(_0x16e36f||(_0x16e36f={}),void 0x0===_0x196cdf&&(_0x196cdf=0x0),_0x196cdf>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5a53fd={};if((_0x16e36f['arrays']||_0x16e36f['defaults'])&&(_0x5a53fd['revisions']=[]),_0x16e36f['defaults']&&(_0x5a53fd['channel']='',_0x5a53fd['requestId']=0x0),null!=_0x18bb82['channel']&&Object['hasOwnProperty']['call'](_0x18bb82,'channel')&&(_0x5a53fd['channel']=_0x18bb82['channel']),null!=_0x18bb82['requestId']&&Object['hasOwnProperty']['call'](_0x18bb82,'requestId')&&(_0x5a53fd['requestId']=_0x18bb82['requestId']),_0x18bb82['revisions']&&_0x18bb82['revisions']['length']){_0x5a53fd['revisions']=[];for(var _0x47777c=0x0;_0x47777c<_0x18bb82['revisions']['length'];++_0x47777c)_0x5a53fd['revisions'][_0x47777c]=_0xbccd8d['RevisionDescriptor']['toObject'](_0x18bb82['revisions'][_0x47777c],_0x16e36f,_0x196cdf+0x1);}return _0x5a53fd;},_0x12d471['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x12d471['getTypeUrl']=function(_0x33d0d7){return void 0x0===_0x33d0d7&&(_0x33d0d7='type.googleapis.com'),_0x33d0d7+'/RevisionHistoryConnectResponse';},_0x12d471;}()),_0xbccd8d['RevisionHistoryUpdateRevisionsMessage']=(function(){function _0x2db2f4(_0x2739ea){if(this['revisions']=[],_0x2739ea){for(var _0x306a4a=Object['keys'](_0x2739ea),_0xf3b53c=0x0;_0xf3b53c<_0x306a4a['length'];++_0xf3b53c)null!=_0x2739ea[_0x306a4a[_0xf3b53c]]&&'__proto__'!==_0x306a4a[_0xf3b53c]&&(this[_0x306a4a[_0xf3b53c]]=_0x2739ea[_0x306a4a[_0xf3b53c]]);}}return _0x2db2f4['prototype']['documentId']='',_0x2db2f4['prototype']['requestId']=0x0,_0x2db2f4['prototype']['revisions']=_0x222891['emptyArray'],_0x2db2f4['create']=function(_0x521c19){return new _0x2db2f4(_0x521c19);},_0x2db2f4['encode']=function(_0x3e579c,_0x4e8332,_0xfcfb45){if(_0x4e8332||(_0x4e8332=_0x55d9b7['create']()),void 0x0===_0xfcfb45&&(_0xfcfb45=0x0),_0xfcfb45>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3e579c['documentId']&&Object['hasOwnProperty']['call'](_0x3e579c,'documentId')&&_0x4e8332['uint32'](0xa)['string'](_0x3e579c['documentId']),null!=_0x3e579c['requestId']&&Object['hasOwnProperty']['call'](_0x3e579c,'requestId')&&_0x4e8332['uint32'](0x10)['uint32'](_0x3e579c['requestId']),null!=_0x3e579c['revisions']&&_0x3e579c['revisions']['length']){for(var _0x2a3065=0x0;_0x2a3065<_0x3e579c['revisions']['length'];++_0x2a3065)_0xbccd8d['RevisionDescriptor']['encode'](_0x3e579c['revisions'][_0x2a3065],_0x4e8332['uint32'](0x1a)['fork'](),_0xfcfb45+0x1)['ldelim']();}return _0x4e8332;},_0x2db2f4['encodeDelimited']=function(_0x13a849,_0x2b5a1b){return this['encode'](_0x13a849,_0x2b5a1b)['ldelim']();},_0x2db2f4['decode']=function(_0x5250a3,_0x288cda,_0x3a5c46,_0x14e3a0){if(_0x5250a3 instanceof _0x105dc2||(_0x5250a3=_0x105dc2['create'](_0x5250a3)),void 0x0===_0x14e3a0&&(_0x14e3a0=0x0),_0x14e3a0>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x10c05c=void 0x0===_0x288cda?_0x5250a3['len']:_0x5250a3['pos']+_0x288cda,_0x10deae=new _0xbccd8d['RevisionHistoryUpdateRevisionsMessage']();_0x5250a3['pos']<_0x10c05c;){var _0x1bd1f1=_0x5250a3['uint32']();if(_0x1bd1f1===_0x3a5c46)break;switch(_0x1bd1f1>>>0x3){case 0x1:_0x10deae['documentId']=_0x5250a3['string']();break;case 0x2:_0x10deae['requestId']=_0x5250a3['uint32']();break;case 0x3:_0x10deae['revisions']&&_0x10deae['revisions']['length']||(_0x10deae['revisions']=[]),_0x10deae['revisions']['push'](_0xbccd8d['RevisionDescriptor']['decode'](_0x5250a3,_0x5250a3['uint32'](),void 0x0,_0x14e3a0+0x1));break;default:_0x5250a3['skipType'](0x7&_0x1bd1f1,_0x14e3a0);}}return _0x10deae;},_0x2db2f4['decodeDelimited']=function(_0x18361f){return _0x18361f instanceof _0x105dc2||(_0x18361f=new _0x105dc2(_0x18361f)),this['decode'](_0x18361f,_0x18361f['uint32']());},_0x2db2f4['verify']=function(_0x1e6e7d,_0x2f83fd){if('object'!=typeof _0x1e6e7d||null===_0x1e6e7d)return'object\x20expected';if(void 0x0===_0x2f83fd&&(_0x2f83fd=0x0),_0x2f83fd>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1e6e7d['documentId']&&Object['hasOwnProperty']['call'](_0x1e6e7d,'documentId')&&!_0x222891['isString'](_0x1e6e7d['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x1e6e7d['requestId']&&Object['hasOwnProperty']['call'](_0x1e6e7d,'requestId')&&!_0x222891['isInteger'](_0x1e6e7d['requestId']))return'requestId:\x20integer\x20expected';if(null!=_0x1e6e7d['revisions']&&Object['hasOwnProperty']['call'](_0x1e6e7d,'revisions')){if(!Array['isArray'](_0x1e6e7d['revisions']))return'revisions:\x20array\x20expected';for(var _0x54672b=0x0;_0x54672b<_0x1e6e7d['revisions']['length'];++_0x54672b){var _0x22da81=_0xbccd8d['RevisionDescriptor']['verify'](_0x1e6e7d['revisions'][_0x54672b],_0x2f83fd+0x1);if(_0x22da81)return'revisions.'+_0x22da81;}}return null;},_0x2db2f4['fromObject']=function(_0x34a1cc,_0x3fc372){if(_0x34a1cc instanceof _0xbccd8d['RevisionHistoryUpdateRevisionsMessage'])return _0x34a1cc;if(!_0x222891['isObject'](_0x34a1cc))throw TypeError('.RevisionHistoryUpdateRevisionsMessage:\x20object\x20expected');if(void 0x0===_0x3fc372&&(_0x3fc372=0x0),_0x3fc372>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x30eacb=new _0xbccd8d['RevisionHistoryUpdateRevisionsMessage']();if(null!=_0x34a1cc['documentId']&&(_0x30eacb['documentId']=String(_0x34a1cc['documentId'])),null!=_0x34a1cc['requestId']&&(_0x30eacb['requestId']=_0x34a1cc['requestId']>>>0x0),_0x34a1cc['revisions']){if(!Array['isArray'](_0x34a1cc['revisions']))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20array\x20expected');_0x30eacb['revisions']=[];for(var _0x223fab=0x0;_0x223fab<_0x34a1cc['revisions']['length'];++_0x223fab){if(!_0x222891['isObject'](_0x34a1cc['revisions'][_0x223fab]))throw TypeError('.RevisionHistoryUpdateRevisionsMessage.revisions:\x20object\x20expected');_0x30eacb['revisions'][_0x223fab]=_0xbccd8d['RevisionDescriptor']['fromObject'](_0x34a1cc['revisions'][_0x223fab],_0x3fc372+0x1);}}return _0x30eacb;},_0x2db2f4['toObject']=function(_0x480f07,_0x3b175a,_0x5167bf){if(_0x3b175a||(_0x3b175a={}),void 0x0===_0x5167bf&&(_0x5167bf=0x0),_0x5167bf>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3995af={};if((_0x3b175a['arrays']||_0x3b175a['defaults'])&&(_0x3995af['revisions']=[]),_0x3b175a['defaults']&&(_0x3995af['documentId']='',_0x3995af['requestId']=0x0),null!=_0x480f07['documentId']&&Object['hasOwnProperty']['call'](_0x480f07,'documentId')&&(_0x3995af['documentId']=_0x480f07['documentId']),null!=_0x480f07['requestId']&&Object['hasOwnProperty']['call'](_0x480f07,'requestId')&&(_0x3995af['requestId']=_0x480f07['requestId']),_0x480f07['revisions']&&_0x480f07['revisions']['length']){_0x3995af['revisions']=[];for(var _0x4d4de3=0x0;_0x4d4de3<_0x480f07['revisions']['length'];++_0x4d4de3)_0x3995af['revisions'][_0x4d4de3]=_0xbccd8d['RevisionDescriptor']['toObject'](_0x480f07['revisions'][_0x4d4de3],_0x3b175a,_0x5167bf+0x1);}return _0x3995af;},_0x2db2f4['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x2db2f4['getTypeUrl']=function(_0x48c795){return void 0x0===_0x48c795&&(_0x48c795='type.googleapis.com'),_0x48c795+'/RevisionHistoryUpdateRevisionsMessage';},_0x2db2f4;}()),_0xbccd8d['RevisionHistoryReconnectMessage']=(function(){function _0x3d742e(_0x8ed5cc){if(_0x8ed5cc){for(var _0x24e306=Object['keys'](_0x8ed5cc),_0x2dd459=0x0;_0x2dd459<_0x24e306['length'];++_0x2dd459)null!=_0x8ed5cc[_0x24e306[_0x2dd459]]&&'__proto__'!==_0x24e306[_0x2dd459]&&(this[_0x24e306[_0x2dd459]]=_0x8ed5cc[_0x24e306[_0x2dd459]]);}}return _0x3d742e['prototype']['documentId']='',_0x3d742e['prototype']['requestId']=0x0,_0x3d742e['create']=function(_0xc7f522){return new _0x3d742e(_0xc7f522);},_0x3d742e['encode']=function(_0x2af124,_0x231ebd,_0x43fb47){if(_0x231ebd||(_0x231ebd=_0x55d9b7['create']()),void 0x0===_0x43fb47&&(_0x43fb47=0x0),_0x43fb47>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2af124['documentId']&&Object['hasOwnProperty']['call'](_0x2af124,'documentId')&&_0x231ebd['uint32'](0xa)['string'](_0x2af124['documentId']),null!=_0x2af124['requestId']&&Object['hasOwnProperty']['call'](_0x2af124,'requestId')&&_0x231ebd['uint32'](0x10)['uint32'](_0x2af124['requestId']),_0x231ebd;},_0x3d742e['encodeDelimited']=function(_0x234e0c,_0xc1cd95){return this['encode'](_0x234e0c,_0xc1cd95)['ldelim']();},_0x3d742e['decode']=function(_0x5e434b,_0x2e0ff5,_0x127666,_0x3d9171){if(_0x5e434b instanceof _0x105dc2||(_0x5e434b=_0x105dc2['create'](_0x5e434b)),void 0x0===_0x3d9171&&(_0x3d9171=0x0),_0x3d9171>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1cb817=void 0x0===_0x2e0ff5?_0x5e434b['len']:_0x5e434b['pos']+_0x2e0ff5,_0xb53f38=new _0xbccd8d['RevisionHistoryReconnectMessage']();_0x5e434b['pos']<_0x1cb817;){var _0x263021=_0x5e434b['uint32']();if(_0x263021===_0x127666)break;switch(_0x263021>>>0x3){case 0x1:_0xb53f38['documentId']=_0x5e434b['string']();break;case 0x2:_0xb53f38['requestId']=_0x5e434b['uint32']();break;default:_0x5e434b['skipType'](0x7&_0x263021,_0x3d9171);}}return _0xb53f38;},_0x3d742e['decodeDelimited']=function(_0x4da617){return _0x4da617 instanceof _0x105dc2||(_0x4da617=new _0x105dc2(_0x4da617)),this['decode'](_0x4da617,_0x4da617['uint32']());},_0x3d742e['verify']=function(_0x43d9ce,_0x122179){return'object'!=typeof _0x43d9ce||null===_0x43d9ce?'object\x20expected':(void 0x0===_0x122179&&(_0x122179=0x0),_0x122179>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x43d9ce['documentId']&&Object['hasOwnProperty']['call'](_0x43d9ce,'documentId')&&!_0x222891['isString'](_0x43d9ce['documentId'])?'documentId:\x20string\x20expected':null!=_0x43d9ce['requestId']&&Object['hasOwnProperty']['call'](_0x43d9ce,'requestId')&&!_0x222891['isInteger'](_0x43d9ce['requestId'])?'requestId:\x20integer\x20expected':null);},_0x3d742e['fromObject']=function(_0x218fda,_0x4a8baa){if(_0x218fda instanceof _0xbccd8d['RevisionHistoryReconnectMessage'])return _0x218fda;if(!_0x222891['isObject'](_0x218fda))throw TypeError('.RevisionHistoryReconnectMessage:\x20object\x20expected');if(void 0x0===_0x4a8baa&&(_0x4a8baa=0x0),_0x4a8baa>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1e1e6c=new _0xbccd8d['RevisionHistoryReconnectMessage']();return null!=_0x218fda['documentId']&&(_0x1e1e6c['documentId']=String(_0x218fda['documentId'])),null!=_0x218fda['requestId']&&(_0x1e1e6c['requestId']=_0x218fda['requestId']>>>0x0),_0x1e1e6c;},_0x3d742e['toObject']=function(_0x203067,_0x5e951b,_0x4c14d9){if(_0x5e951b||(_0x5e951b={}),void 0x0===_0x4c14d9&&(_0x4c14d9=0x0),_0x4c14d9>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x426453={};return _0x5e951b['defaults']&&(_0x426453['documentId']='',_0x426453['requestId']=0x0),null!=_0x203067['documentId']&&Object['hasOwnProperty']['call'](_0x203067,'documentId')&&(_0x426453['documentId']=_0x203067['documentId']),null!=_0x203067['requestId']&&Object['hasOwnProperty']['call'](_0x203067,'requestId')&&(_0x426453['requestId']=_0x203067['requestId']),_0x426453;},_0x3d742e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3d742e['getTypeUrl']=function(_0xd91480){return void 0x0===_0xd91480&&(_0xd91480='type.googleapis.com'),_0xd91480+'/RevisionHistoryReconnectMessage';},_0x3d742e;}()),_0xbccd8d['RevisionHistoryGetRevisionMessage']=(function(){function _0x5ce7c2(_0xbefe7d){if(_0xbefe7d){for(var _0x2a66e7=Object['keys'](_0xbefe7d),_0x2d1c9d=0x0;_0x2d1c9d<_0x2a66e7['length'];++_0x2d1c9d)null!=_0xbefe7d[_0x2a66e7[_0x2d1c9d]]&&'__proto__'!==_0x2a66e7[_0x2d1c9d]&&(this[_0x2a66e7[_0x2d1c9d]]=_0xbefe7d[_0x2a66e7[_0x2d1c9d]]);}}return _0x5ce7c2['prototype']['documentId']='',_0x5ce7c2['prototype']['revisionId']='',_0x5ce7c2['create']=function(_0x119481){return new _0x5ce7c2(_0x119481);},_0x5ce7c2['encode']=function(_0x3d8956,_0x4b3b69,_0x21bf54){if(_0x4b3b69||(_0x4b3b69=_0x55d9b7['create']()),void 0x0===_0x21bf54&&(_0x21bf54=0x0),_0x21bf54>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3d8956['documentId']&&Object['hasOwnProperty']['call'](_0x3d8956,'documentId')&&_0x4b3b69['uint32'](0xa)['string'](_0x3d8956['documentId']),null!=_0x3d8956['revisionId']&&Object['hasOwnProperty']['call'](_0x3d8956,'revisionId')&&_0x4b3b69['uint32'](0x12)['string'](_0x3d8956['revisionId']),_0x4b3b69;},_0x5ce7c2['encodeDelimited']=function(_0x432e4c,_0x3015ac){return this['encode'](_0x432e4c,_0x3015ac)['ldelim']();},_0x5ce7c2['decode']=function(_0x476f7f,_0x30136d,_0x4bc1d9,_0x1613f3){if(_0x476f7f instanceof _0x105dc2||(_0x476f7f=_0x105dc2['create'](_0x476f7f)),void 0x0===_0x1613f3&&(_0x1613f3=0x0),_0x1613f3>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x177e4e=void 0x0===_0x30136d?_0x476f7f['len']:_0x476f7f['pos']+_0x30136d,_0x57bd30=new _0xbccd8d['RevisionHistoryGetRevisionMessage']();_0x476f7f['pos']<_0x177e4e;){var _0x586f45=_0x476f7f['uint32']();if(_0x586f45===_0x4bc1d9)break;switch(_0x586f45>>>0x3){case 0x1:_0x57bd30['documentId']=_0x476f7f['string']();break;case 0x2:_0x57bd30['revisionId']=_0x476f7f['string']();break;default:_0x476f7f['skipType'](0x7&_0x586f45,_0x1613f3);}}return _0x57bd30;},_0x5ce7c2['decodeDelimited']=function(_0x9f0cde){return _0x9f0cde instanceof _0x105dc2||(_0x9f0cde=new _0x105dc2(_0x9f0cde)),this['decode'](_0x9f0cde,_0x9f0cde['uint32']());},_0x5ce7c2['verify']=function(_0x5a6f0e,_0x1d1cb6){return'object'!=typeof _0x5a6f0e||null===_0x5a6f0e?'object\x20expected':(void 0x0===_0x1d1cb6&&(_0x1d1cb6=0x0),_0x1d1cb6>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x5a6f0e['documentId']&&Object['hasOwnProperty']['call'](_0x5a6f0e,'documentId')&&!_0x222891['isString'](_0x5a6f0e['documentId'])?'documentId:\x20string\x20expected':null!=_0x5a6f0e['revisionId']&&Object['hasOwnProperty']['call'](_0x5a6f0e,'revisionId')&&!_0x222891['isString'](_0x5a6f0e['revisionId'])?'revisionId:\x20string\x20expected':null);},_0x5ce7c2['fromObject']=function(_0x302ed4,_0x28145b){if(_0x302ed4 instanceof _0xbccd8d['RevisionHistoryGetRevisionMessage'])return _0x302ed4;if(!_0x222891['isObject'](_0x302ed4))throw TypeError('.RevisionHistoryGetRevisionMessage:\x20object\x20expected');if(void 0x0===_0x28145b&&(_0x28145b=0x0),_0x28145b>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xa11ee7=new _0xbccd8d['RevisionHistoryGetRevisionMessage']();return null!=_0x302ed4['documentId']&&(_0xa11ee7['documentId']=String(_0x302ed4['documentId'])),null!=_0x302ed4['revisionId']&&(_0xa11ee7['revisionId']=String(_0x302ed4['revisionId'])),_0xa11ee7;},_0x5ce7c2['toObject']=function(_0x46cfd8,_0x2e68ae,_0x242dd6){if(_0x2e68ae||(_0x2e68ae={}),void 0x0===_0x242dd6&&(_0x242dd6=0x0),_0x242dd6>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3b29a7={};return _0x2e68ae['defaults']&&(_0x3b29a7['documentId']='',_0x3b29a7['revisionId']=''),null!=_0x46cfd8['documentId']&&Object['hasOwnProperty']['call'](_0x46cfd8,'documentId')&&(_0x3b29a7['documentId']=_0x46cfd8['documentId']),null!=_0x46cfd8['revisionId']&&Object['hasOwnProperty']['call'](_0x46cfd8,'revisionId')&&(_0x3b29a7['revisionId']=_0x46cfd8['revisionId']),_0x3b29a7;},_0x5ce7c2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5ce7c2['getTypeUrl']=function(_0xb74629){return void 0x0===_0xb74629&&(_0xb74629='type.googleapis.com'),_0xb74629+'/RevisionHistoryGetRevisionMessage';},_0x5ce7c2;}()),_0xbccd8d['RevisionHistoryConnectMessage']=(function(){function _0x388143(_0x5e703b){if(_0x5e703b){for(var _0x2f2b4e=Object['keys'](_0x5e703b),_0x474bdf=0x0;_0x474bdf<_0x2f2b4e['length'];++_0x474bdf)null!=_0x5e703b[_0x2f2b4e[_0x474bdf]]&&'__proto__'!==_0x2f2b4e[_0x474bdf]&&(this[_0x2f2b4e[_0x474bdf]]=_0x5e703b[_0x2f2b4e[_0x474bdf]]);}}return _0x388143['prototype']['documentId']='',_0x388143['create']=function(_0x158424){return new _0x388143(_0x158424);},_0x388143['encode']=function(_0x2bad29,_0x4a215b,_0x52dd77){if(_0x4a215b||(_0x4a215b=_0x55d9b7['create']()),void 0x0===_0x52dd77&&(_0x52dd77=0x0),_0x52dd77>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x2bad29['documentId']&&Object['hasOwnProperty']['call'](_0x2bad29,'documentId')&&_0x4a215b['uint32'](0xa)['string'](_0x2bad29['documentId']),_0x4a215b;},_0x388143['encodeDelimited']=function(_0x3d75a1,_0x4b0aa6){return this['encode'](_0x3d75a1,_0x4b0aa6)['ldelim']();},_0x388143['decode']=function(_0x14c715,_0x3b4d90,_0x273a59,_0x3b760b){if(_0x14c715 instanceof _0x105dc2||(_0x14c715=_0x105dc2['create'](_0x14c715)),void 0x0===_0x3b760b&&(_0x3b760b=0x0),_0x3b760b>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1d3f05=void 0x0===_0x3b4d90?_0x14c715['len']:_0x14c715['pos']+_0x3b4d90,_0x309540=new _0xbccd8d['RevisionHistoryConnectMessage']();_0x14c715['pos']<_0x1d3f05;){var _0x1eba79=_0x14c715['uint32']();if(_0x1eba79===_0x273a59)break;_0x1eba79>>>0x3==0x1?_0x309540['documentId']=_0x14c715['string']():_0x14c715['skipType'](0x7&_0x1eba79,_0x3b760b);}return _0x309540;},_0x388143['decodeDelimited']=function(_0x4b811f){return _0x4b811f instanceof _0x105dc2||(_0x4b811f=new _0x105dc2(_0x4b811f)),this['decode'](_0x4b811f,_0x4b811f['uint32']());},_0x388143['verify']=function(_0x21684a,_0x113b95){return'object'!=typeof _0x21684a||null===_0x21684a?'object\x20expected':(void 0x0===_0x113b95&&(_0x113b95=0x0),_0x113b95>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x21684a['documentId']&&Object['hasOwnProperty']['call'](_0x21684a,'documentId')&&!_0x222891['isString'](_0x21684a['documentId'])?'documentId:\x20string\x20expected':null);},_0x388143['fromObject']=function(_0x31c08d,_0xe28d2c){if(_0x31c08d instanceof _0xbccd8d['RevisionHistoryConnectMessage'])return _0x31c08d;if(!_0x222891['isObject'](_0x31c08d))throw TypeError('.RevisionHistoryConnectMessage:\x20object\x20expected');if(void 0x0===_0xe28d2c&&(_0xe28d2c=0x0),_0xe28d2c>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1ad84a=new _0xbccd8d['RevisionHistoryConnectMessage']();return null!=_0x31c08d['documentId']&&(_0x1ad84a['documentId']=String(_0x31c08d['documentId'])),_0x1ad84a;},_0x388143['toObject']=function(_0x4193fd,_0x2253b8,_0x3a8e03){if(_0x2253b8||(_0x2253b8={}),void 0x0===_0x3a8e03&&(_0x3a8e03=0x0),_0x3a8e03>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1b41d3={};return _0x2253b8['defaults']&&(_0x1b41d3['documentId']=''),null!=_0x4193fd['documentId']&&Object['hasOwnProperty']['call'](_0x4193fd,'documentId')&&(_0x1b41d3['documentId']=_0x4193fd['documentId']),_0x1b41d3;},_0x388143['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x388143['getTypeUrl']=function(_0x58910c){return void 0x0===_0x58910c&&(_0x58910c='type.googleapis.com'),_0x58910c+'/RevisionHistoryConnectMessage';},_0x388143;}()),_0xbccd8d['RevisionDescriptor']=(function(){function _0x533c33(_0xdfed09){if(_0xdfed09){for(var _0x8ce037=Object['keys'](_0xdfed09),_0x5895a2=0x0;_0x5895a2<_0x8ce037['length'];++_0x5895a2)null!=_0xdfed09[_0x8ce037[_0x5895a2]]&&'__proto__'!==_0x8ce037[_0x5895a2]&&(this[_0x8ce037[_0x5895a2]]=_0xdfed09[_0x8ce037[_0x5895a2]]);}}return _0x533c33['prototype']['revisionId']='',_0x533c33['prototype']['name']='',_0x533c33['prototype']['creatorId']='',_0x533c33['prototype']['authorsIds']='',_0x533c33['prototype']['diffData']='',_0x533c33['prototype']['createdAt']='',_0x533c33['prototype']['attributes']='',_0x533c33['prototype']['toVersion']=0x0,_0x533c33['prototype']['fromVersion']=0x0,_0x533c33['prototype']['isEmptyCurrent']=!0x1,_0x533c33['create']=function(_0x3572b3){return new _0x533c33(_0x3572b3);},_0x533c33['encode']=function(_0x5851e0,_0x5dd89f,_0x5bda2c){if(_0x5dd89f||(_0x5dd89f=_0x55d9b7['create']()),void 0x0===_0x5bda2c&&(_0x5bda2c=0x0),_0x5bda2c>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5851e0['revisionId']&&Object['hasOwnProperty']['call'](_0x5851e0,'revisionId')&&_0x5dd89f['uint32'](0xa)['string'](_0x5851e0['revisionId']),null!=_0x5851e0['name']&&Object['hasOwnProperty']['call'](_0x5851e0,'name')&&_0x5dd89f['uint32'](0x12)['string'](_0x5851e0['name']),null!=_0x5851e0['creatorId']&&Object['hasOwnProperty']['call'](_0x5851e0,'creatorId')&&_0x5dd89f['uint32'](0x1a)['string'](_0x5851e0['creatorId']),null!=_0x5851e0['authorsIds']&&Object['hasOwnProperty']['call'](_0x5851e0,'authorsIds')&&_0x5dd89f['uint32'](0x22)['string'](_0x5851e0['authorsIds']),null!=_0x5851e0['diffData']&&Object['hasOwnProperty']['call'](_0x5851e0,'diffData')&&_0x5dd89f['uint32'](0x2a)['string'](_0x5851e0['diffData']),null!=_0x5851e0['createdAt']&&Object['hasOwnProperty']['call'](_0x5851e0,'createdAt')&&_0x5dd89f['uint32'](0x32)['string'](_0x5851e0['createdAt']),null!=_0x5851e0['attributes']&&Object['hasOwnProperty']['call'](_0x5851e0,'attributes')&&_0x5dd89f['uint32'](0x3a)['string'](_0x5851e0['attributes']),null!=_0x5851e0['toVersion']&&Object['hasOwnProperty']['call'](_0x5851e0,'toVersion')&&_0x5dd89f['uint32'](0x40)['uint32'](_0x5851e0['toVersion']),null!=_0x5851e0['fromVersion']&&Object['hasOwnProperty']['call'](_0x5851e0,'fromVersion')&&_0x5dd89f['uint32'](0x48)['uint32'](_0x5851e0['fromVersion']),null!=_0x5851e0['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x5851e0,'isEmptyCurrent')&&_0x5dd89f['uint32'](0x50)['bool'](_0x5851e0['isEmptyCurrent']),_0x5dd89f;},_0x533c33['encodeDelimited']=function(_0x3956a0,_0x37f437){return this['encode'](_0x3956a0,_0x37f437)['ldelim']();},_0x533c33['decode']=function(_0x57efdd,_0x13af6d,_0x98826d,_0x2876a7){if(_0x57efdd instanceof _0x105dc2||(_0x57efdd=_0x105dc2['create'](_0x57efdd)),void 0x0===_0x2876a7&&(_0x2876a7=0x0),_0x2876a7>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4fe6c9=void 0x0===_0x13af6d?_0x57efdd['len']:_0x57efdd['pos']+_0x13af6d,_0x5e1b45=new _0xbccd8d['RevisionDescriptor']();_0x57efdd['pos']<_0x4fe6c9;){var _0x2ea1d8=_0x57efdd['uint32']();if(_0x2ea1d8===_0x98826d)break;switch(_0x2ea1d8>>>0x3){case 0x1:_0x5e1b45['revisionId']=_0x57efdd['string']();break;case 0x2:_0x5e1b45['name']=_0x57efdd['string']();break;case 0x3:_0x5e1b45['creatorId']=_0x57efdd['string']();break;case 0x4:_0x5e1b45['authorsIds']=_0x57efdd['string']();break;case 0x5:_0x5e1b45['diffData']=_0x57efdd['string']();break;case 0x6:_0x5e1b45['createdAt']=_0x57efdd['string']();break;case 0x7:_0x5e1b45['attributes']=_0x57efdd['string']();break;case 0x8:_0x5e1b45['toVersion']=_0x57efdd['uint32']();break;case 0x9:_0x5e1b45['fromVersion']=_0x57efdd['uint32']();break;case 0xa:_0x5e1b45['isEmptyCurrent']=_0x57efdd['bool']();break;default:_0x57efdd['skipType'](0x7&_0x2ea1d8,_0x2876a7);}}return _0x5e1b45;},_0x533c33['decodeDelimited']=function(_0x4b1630){return _0x4b1630 instanceof _0x105dc2||(_0x4b1630=new _0x105dc2(_0x4b1630)),this['decode'](_0x4b1630,_0x4b1630['uint32']());},_0x533c33['verify']=function(_0x33f900,_0x488446){return'object'!=typeof _0x33f900||null===_0x33f900?'object\x20expected':(void 0x0===_0x488446&&(_0x488446=0x0),_0x488446>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x33f900['revisionId']&&Object['hasOwnProperty']['call'](_0x33f900,'revisionId')&&!_0x222891['isString'](_0x33f900['revisionId'])?'revisionId:\x20string\x20expected':null!=_0x33f900['name']&&Object['hasOwnProperty']['call'](_0x33f900,'name')&&!_0x222891['isString'](_0x33f900['name'])?'name:\x20string\x20expected':null!=_0x33f900['creatorId']&&Object['hasOwnProperty']['call'](_0x33f900,'creatorId')&&!_0x222891['isString'](_0x33f900['creatorId'])?'creatorId:\x20string\x20expected':null!=_0x33f900['authorsIds']&&Object['hasOwnProperty']['call'](_0x33f900,'authorsIds')&&!_0x222891['isString'](_0x33f900['authorsIds'])?'authorsIds:\x20string\x20expected':null!=_0x33f900['diffData']&&Object['hasOwnProperty']['call'](_0x33f900,'diffData')&&!_0x222891['isString'](_0x33f900['diffData'])?'diffData:\x20string\x20expected':null!=_0x33f900['createdAt']&&Object['hasOwnProperty']['call'](_0x33f900,'createdAt')&&!_0x222891['isString'](_0x33f900['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x33f900['attributes']&&Object['hasOwnProperty']['call'](_0x33f900,'attributes')&&!_0x222891['isString'](_0x33f900['attributes'])?'attributes:\x20string\x20expected':null!=_0x33f900['toVersion']&&Object['hasOwnProperty']['call'](_0x33f900,'toVersion')&&!_0x222891['isInteger'](_0x33f900['toVersion'])?'toVersion:\x20integer\x20expected':null!=_0x33f900['fromVersion']&&Object['hasOwnProperty']['call'](_0x33f900,'fromVersion')&&!_0x222891['isInteger'](_0x33f900['fromVersion'])?'fromVersion:\x20integer\x20expected':null!=_0x33f900['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x33f900,'isEmptyCurrent')&&'boolean'!=typeof _0x33f900['isEmptyCurrent']?'isEmptyCurrent:\x20boolean\x20expected':null);},_0x533c33['fromObject']=function(_0x49fb33,_0x315ad1){if(_0x49fb33 instanceof _0xbccd8d['RevisionDescriptor'])return _0x49fb33;if(!_0x222891['isObject'](_0x49fb33))throw TypeError('.RevisionDescriptor:\x20object\x20expected');if(void 0x0===_0x315ad1&&(_0x315ad1=0x0),_0x315ad1>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xa0a999=new _0xbccd8d['RevisionDescriptor']();return null!=_0x49fb33['revisionId']&&(_0xa0a999['revisionId']=String(_0x49fb33['revisionId'])),null!=_0x49fb33['name']&&(_0xa0a999['name']=String(_0x49fb33['name'])),null!=_0x49fb33['creatorId']&&(_0xa0a999['creatorId']=String(_0x49fb33['creatorId'])),null!=_0x49fb33['authorsIds']&&(_0xa0a999['authorsIds']=String(_0x49fb33['authorsIds'])),null!=_0x49fb33['diffData']&&(_0xa0a999['diffData']=String(_0x49fb33['diffData'])),null!=_0x49fb33['createdAt']&&(_0xa0a999['createdAt']=String(_0x49fb33['createdAt'])),null!=_0x49fb33['attributes']&&(_0xa0a999['attributes']=String(_0x49fb33['attributes'])),null!=_0x49fb33['toVersion']&&(_0xa0a999['toVersion']=_0x49fb33['toVersion']>>>0x0),null!=_0x49fb33['fromVersion']&&(_0xa0a999['fromVersion']=_0x49fb33['fromVersion']>>>0x0),null!=_0x49fb33['isEmptyCurrent']&&(_0xa0a999['isEmptyCurrent']=Boolean(_0x49fb33['isEmptyCurrent'])),_0xa0a999;},_0x533c33['toObject']=function(_0x2008fd,_0x14afe6,_0xd6595d){if(_0x14afe6||(_0x14afe6={}),void 0x0===_0xd6595d&&(_0xd6595d=0x0),_0xd6595d>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x5128d9={};return _0x14afe6['defaults']&&(_0x5128d9['revisionId']='',_0x5128d9['name']='',_0x5128d9['creatorId']='',_0x5128d9['authorsIds']='',_0x5128d9['diffData']='',_0x5128d9['createdAt']='',_0x5128d9['attributes']='',_0x5128d9['toVersion']=0x0,_0x5128d9['fromVersion']=0x0,_0x5128d9['isEmptyCurrent']=!0x1),null!=_0x2008fd['revisionId']&&Object['hasOwnProperty']['call'](_0x2008fd,'revisionId')&&(_0x5128d9['revisionId']=_0x2008fd['revisionId']),null!=_0x2008fd['name']&&Object['hasOwnProperty']['call'](_0x2008fd,'name')&&(_0x5128d9['name']=_0x2008fd['name']),null!=_0x2008fd['creatorId']&&Object['hasOwnProperty']['call'](_0x2008fd,'creatorId')&&(_0x5128d9['creatorId']=_0x2008fd['creatorId']),null!=_0x2008fd['authorsIds']&&Object['hasOwnProperty']['call'](_0x2008fd,'authorsIds')&&(_0x5128d9['authorsIds']=_0x2008fd['authorsIds']),null!=_0x2008fd['diffData']&&Object['hasOwnProperty']['call'](_0x2008fd,'diffData')&&(_0x5128d9['diffData']=_0x2008fd['diffData']),null!=_0x2008fd['createdAt']&&Object['hasOwnProperty']['call'](_0x2008fd,'createdAt')&&(_0x5128d9['createdAt']=_0x2008fd['createdAt']),null!=_0x2008fd['attributes']&&Object['hasOwnProperty']['call'](_0x2008fd,'attributes')&&(_0x5128d9['attributes']=_0x2008fd['attributes']),null!=_0x2008fd['toVersion']&&Object['hasOwnProperty']['call'](_0x2008fd,'toVersion')&&(_0x5128d9['toVersion']=_0x2008fd['toVersion']),null!=_0x2008fd['fromVersion']&&Object['hasOwnProperty']['call'](_0x2008fd,'fromVersion')&&(_0x5128d9['fromVersion']=_0x2008fd['fromVersion']),null!=_0x2008fd['isEmptyCurrent']&&Object['hasOwnProperty']['call'](_0x2008fd,'isEmptyCurrent')&&(_0x5128d9['isEmptyCurrent']=_0x2008fd['isEmptyCurrent']),_0x5128d9;},_0x533c33['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x533c33['getTypeUrl']=function(_0xd3c21d){return void 0x0===_0xd3c21d&&(_0xd3c21d='type.googleapis.com'),_0xd3c21d+'/RevisionDescriptor';},_0x533c33;}()),_0xbccd8d['IsEditorBundleUploadedResponse']=(function(){function _0x3e02e9(_0x16d0f0){if(_0x16d0f0){for(var _0x55cd60=Object['keys'](_0x16d0f0),_0x5c03fa=0x0;_0x5c03fa<_0x55cd60['length'];++_0x5c03fa)null!=_0x16d0f0[_0x55cd60[_0x5c03fa]]&&'__proto__'!==_0x55cd60[_0x5c03fa]&&(this[_0x55cd60[_0x5c03fa]]=_0x16d0f0[_0x55cd60[_0x5c03fa]]);}}return _0x3e02e9['prototype']['isUploaded']=!0x1,_0x3e02e9['create']=function(_0x53d4a6){return new _0x3e02e9(_0x53d4a6);},_0x3e02e9['encode']=function(_0x7ce5ae,_0xfaf1c2,_0x52bd84){if(_0xfaf1c2||(_0xfaf1c2=_0x55d9b7['create']()),void 0x0===_0x52bd84&&(_0x52bd84=0x0),_0x52bd84>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x7ce5ae['isUploaded']&&Object['hasOwnProperty']['call'](_0x7ce5ae,'isUploaded')&&_0xfaf1c2['uint32'](0x8)['bool'](_0x7ce5ae['isUploaded']),_0xfaf1c2;},_0x3e02e9['encodeDelimited']=function(_0x4fdc75,_0x3b85f0){return this['encode'](_0x4fdc75,_0x3b85f0)['ldelim']();},_0x3e02e9['decode']=function(_0x349bd2,_0x327588,_0x371ade,_0x425ce0){if(_0x349bd2 instanceof _0x105dc2||(_0x349bd2=_0x105dc2['create'](_0x349bd2)),void 0x0===_0x425ce0&&(_0x425ce0=0x0),_0x425ce0>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4b42d1=void 0x0===_0x327588?_0x349bd2['len']:_0x349bd2['pos']+_0x327588,_0x32c3e0=new _0xbccd8d['IsEditorBundleUploadedResponse']();_0x349bd2['pos']<_0x4b42d1;){var _0x1276a9=_0x349bd2['uint32']();if(_0x1276a9===_0x371ade)break;_0x1276a9>>>0x3==0x1?_0x32c3e0['isUploaded']=_0x349bd2['bool']():_0x349bd2['skipType'](0x7&_0x1276a9,_0x425ce0);}return _0x32c3e0;},_0x3e02e9['decodeDelimited']=function(_0x159620){return _0x159620 instanceof _0x105dc2||(_0x159620=new _0x105dc2(_0x159620)),this['decode'](_0x159620,_0x159620['uint32']());},_0x3e02e9['verify']=function(_0x31b9ac,_0x42ee72){return'object'!=typeof _0x31b9ac||null===_0x31b9ac?'object\x20expected':(void 0x0===_0x42ee72&&(_0x42ee72=0x0),_0x42ee72>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x31b9ac['isUploaded']&&Object['hasOwnProperty']['call'](_0x31b9ac,'isUploaded')&&'boolean'!=typeof _0x31b9ac['isUploaded']?'isUploaded:\x20boolean\x20expected':null);},_0x3e02e9['fromObject']=function(_0x4f95b3,_0x7b189f){if(_0x4f95b3 instanceof _0xbccd8d['IsEditorBundleUploadedResponse'])return _0x4f95b3;if(!_0x222891['isObject'](_0x4f95b3))throw TypeError('.IsEditorBundleUploadedResponse:\x20object\x20expected');if(void 0x0===_0x7b189f&&(_0x7b189f=0x0),_0x7b189f>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ddc55=new _0xbccd8d['IsEditorBundleUploadedResponse']();return null!=_0x4f95b3['isUploaded']&&(_0x4ddc55['isUploaded']=Boolean(_0x4f95b3['isUploaded'])),_0x4ddc55;},_0x3e02e9['toObject']=function(_0x9d4dbb,_0x14c61c,_0xd7609b){if(_0x14c61c||(_0x14c61c={}),void 0x0===_0xd7609b&&(_0xd7609b=0x0),_0xd7609b>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3f5ab7={};return _0x14c61c['defaults']&&(_0x3f5ab7['isUploaded']=!0x1),null!=_0x9d4dbb['isUploaded']&&Object['hasOwnProperty']['call'](_0x9d4dbb,'isUploaded')&&(_0x3f5ab7['isUploaded']=_0x9d4dbb['isUploaded']),_0x3f5ab7;},_0x3e02e9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3e02e9['getTypeUrl']=function(_0x334ed4){return void 0x0===_0x334ed4&&(_0x334ed4='type.googleapis.com'),_0x334ed4+'/IsEditorBundleUploadedResponse';},_0x3e02e9;}()),_0xbccd8d['IsEditorBundleUploadedMessage']=(function(){function _0x40ec02(_0xf80b20){if(_0xf80b20){for(var _0x42e17c=Object['keys'](_0xf80b20),_0x259dd0=0x0;_0x259dd0<_0x42e17c['length'];++_0x259dd0)null!=_0xf80b20[_0x42e17c[_0x259dd0]]&&'__proto__'!==_0x42e17c[_0x259dd0]&&(this[_0x42e17c[_0x259dd0]]=_0xf80b20[_0x42e17c[_0x259dd0]]);}}return _0x40ec02['prototype']['bundleVersion']='',_0x40ec02['create']=function(_0x59d184){return new _0x40ec02(_0x59d184);},_0x40ec02['encode']=function(_0x3b0411,_0x29820e,_0xf5c003){if(_0x29820e||(_0x29820e=_0x55d9b7['create']()),void 0x0===_0xf5c003&&(_0xf5c003=0x0),_0xf5c003>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3b0411['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3b0411,'bundleVersion')&&_0x29820e['uint32'](0xa)['string'](_0x3b0411['bundleVersion']),_0x29820e;},_0x40ec02['encodeDelimited']=function(_0x1d1925,_0x5e2fe5){return this['encode'](_0x1d1925,_0x5e2fe5)['ldelim']();},_0x40ec02['decode']=function(_0x182bbd,_0x482f99,_0x511015,_0x4691af){if(_0x182bbd instanceof _0x105dc2||(_0x182bbd=_0x105dc2['create'](_0x182bbd)),void 0x0===_0x4691af&&(_0x4691af=0x0),_0x4691af>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x49f955=void 0x0===_0x482f99?_0x182bbd['len']:_0x182bbd['pos']+_0x482f99,_0x50c8a8=new _0xbccd8d['IsEditorBundleUploadedMessage']();_0x182bbd['pos']<_0x49f955;){var _0x446b5d=_0x182bbd['uint32']();if(_0x446b5d===_0x511015)break;_0x446b5d>>>0x3==0x1?_0x50c8a8['bundleVersion']=_0x182bbd['string']():_0x182bbd['skipType'](0x7&_0x446b5d,_0x4691af);}return _0x50c8a8;},_0x40ec02['decodeDelimited']=function(_0x43eb49){return _0x43eb49 instanceof _0x105dc2||(_0x43eb49=new _0x105dc2(_0x43eb49)),this['decode'](_0x43eb49,_0x43eb49['uint32']());},_0x40ec02['verify']=function(_0x14cd01,_0x5aab80){return'object'!=typeof _0x14cd01||null===_0x14cd01?'object\x20expected':(void 0x0===_0x5aab80&&(_0x5aab80=0x0),_0x5aab80>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x14cd01['bundleVersion']&&Object['hasOwnProperty']['call'](_0x14cd01,'bundleVersion')&&!_0x222891['isString'](_0x14cd01['bundleVersion'])?'bundleVersion:\x20string\x20expected':null);},_0x40ec02['fromObject']=function(_0x39f26f,_0x27a154){if(_0x39f26f instanceof _0xbccd8d['IsEditorBundleUploadedMessage'])return _0x39f26f;if(!_0x222891['isObject'](_0x39f26f))throw TypeError('.IsEditorBundleUploadedMessage:\x20object\x20expected');if(void 0x0===_0x27a154&&(_0x27a154=0x0),_0x27a154>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3ae6fe=new _0xbccd8d['IsEditorBundleUploadedMessage']();return null!=_0x39f26f['bundleVersion']&&(_0x3ae6fe['bundleVersion']=String(_0x39f26f['bundleVersion'])),_0x3ae6fe;},_0x40ec02['toObject']=function(_0x29714f,_0x365cfa,_0x542f89){if(_0x365cfa||(_0x365cfa={}),void 0x0===_0x542f89&&(_0x542f89=0x0),_0x542f89>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2d49ff={};return _0x365cfa['defaults']&&(_0x2d49ff['bundleVersion']=''),null!=_0x29714f['bundleVersion']&&Object['hasOwnProperty']['call'](_0x29714f,'bundleVersion')&&(_0x2d49ff['bundleVersion']=_0x29714f['bundleVersion']),_0x2d49ff;},_0x40ec02['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x40ec02['getTypeUrl']=function(_0x4c4298){return void 0x0===_0x4c4298&&(_0x4c4298='type.googleapis.com'),_0x4c4298+'/IsEditorBundleUploadedMessage';},_0x40ec02;}()),_0xbccd8d['KeyValueDescriptor']=(function(){function _0x294158(_0x2b6ea0){if(_0x2b6ea0){for(var _0x66057a=Object['keys'](_0x2b6ea0),_0x24ed92=0x0;_0x24ed92<_0x66057a['length'];++_0x24ed92)null!=_0x2b6ea0[_0x66057a[_0x24ed92]]&&'__proto__'!==_0x66057a[_0x24ed92]&&(this[_0x66057a[_0x24ed92]]=_0x2b6ea0[_0x66057a[_0x24ed92]]);}}return _0x294158['prototype']['key']='',_0x294158['prototype']['value']='',_0x294158['create']=function(_0x47b67f){return new _0x294158(_0x47b67f);},_0x294158['encode']=function(_0x125213,_0x5a7256,_0x8f1e18){if(_0x5a7256||(_0x5a7256=_0x55d9b7['create']()),void 0x0===_0x8f1e18&&(_0x8f1e18=0x0),_0x8f1e18>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x125213['key']&&Object['hasOwnProperty']['call'](_0x125213,'key')&&_0x5a7256['uint32'](0xa)['string'](_0x125213['key']),null!=_0x125213['value']&&Object['hasOwnProperty']['call'](_0x125213,'value')&&_0x5a7256['uint32'](0x12)['string'](_0x125213['value']),_0x5a7256;},_0x294158['encodeDelimited']=function(_0x6db513,_0x392785){return this['encode'](_0x6db513,_0x392785)['ldelim']();},_0x294158['decode']=function(_0x3a7b40,_0x1a2d83,_0x3b1a2d,_0x1acf96){if(_0x3a7b40 instanceof _0x105dc2||(_0x3a7b40=_0x105dc2['create'](_0x3a7b40)),void 0x0===_0x1acf96&&(_0x1acf96=0x0),_0x1acf96>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1a30c8=void 0x0===_0x1a2d83?_0x3a7b40['len']:_0x3a7b40['pos']+_0x1a2d83,_0x19fa13=new _0xbccd8d['KeyValueDescriptor']();_0x3a7b40['pos']<_0x1a30c8;){var _0x3cfb19=_0x3a7b40['uint32']();if(_0x3cfb19===_0x3b1a2d)break;switch(_0x3cfb19>>>0x3){case 0x1:_0x19fa13['key']=_0x3a7b40['string']();break;case 0x2:_0x19fa13['value']=_0x3a7b40['string']();break;default:_0x3a7b40['skipType'](0x7&_0x3cfb19,_0x1acf96);}}return _0x19fa13;},_0x294158['decodeDelimited']=function(_0x8d7541){return _0x8d7541 instanceof _0x105dc2||(_0x8d7541=new _0x105dc2(_0x8d7541)),this['decode'](_0x8d7541,_0x8d7541['uint32']());},_0x294158['verify']=function(_0x47bd1f,_0x4704e4){return'object'!=typeof _0x47bd1f||null===_0x47bd1f?'object\x20expected':(void 0x0===_0x4704e4&&(_0x4704e4=0x0),_0x4704e4>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x47bd1f['key']&&Object['hasOwnProperty']['call'](_0x47bd1f,'key')&&!_0x222891['isString'](_0x47bd1f['key'])?'key:\x20string\x20expected':null!=_0x47bd1f['value']&&Object['hasOwnProperty']['call'](_0x47bd1f,'value')&&!_0x222891['isString'](_0x47bd1f['value'])?'value:\x20string\x20expected':null);},_0x294158['fromObject']=function(_0x3e4230,_0x36ae47){if(_0x3e4230 instanceof _0xbccd8d['KeyValueDescriptor'])return _0x3e4230;if(!_0x222891['isObject'](_0x3e4230))throw TypeError('.KeyValueDescriptor:\x20object\x20expected');if(void 0x0===_0x36ae47&&(_0x36ae47=0x0),_0x36ae47>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xa96176=new _0xbccd8d['KeyValueDescriptor']();return null!=_0x3e4230['key']&&(_0xa96176['key']=String(_0x3e4230['key'])),null!=_0x3e4230['value']&&(_0xa96176['value']=String(_0x3e4230['value'])),_0xa96176;},_0x294158['toObject']=function(_0xb0f2d7,_0x3fcd5f,_0x5db436){if(_0x3fcd5f||(_0x3fcd5f={}),void 0x0===_0x5db436&&(_0x5db436=0x0),_0x5db436>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2db71c={};return _0x3fcd5f['defaults']&&(_0x2db71c['key']='',_0x2db71c['value']=''),null!=_0xb0f2d7['key']&&Object['hasOwnProperty']['call'](_0xb0f2d7,'key')&&(_0x2db71c['key']=_0xb0f2d7['key']),null!=_0xb0f2d7['value']&&Object['hasOwnProperty']['call'](_0xb0f2d7,'value')&&(_0x2db71c['value']=_0xb0f2d7['value']),_0x2db71c;},_0x294158['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x294158['getTypeUrl']=function(_0x43e5e0){return void 0x0===_0x43e5e0&&(_0x43e5e0='type.googleapis.com'),_0x43e5e0+'/KeyValueDescriptor';},_0x294158;}()),_0xbccd8d['CommentsV2GetDocumentThreadsResponse']=(function(){function _0x46d854(_0x9d63e3){if(this['threads']=[],this['threadsV2']=[],_0x9d63e3){for(var _0x4ae974=Object['keys'](_0x9d63e3),_0x5d4af8=0x0;_0x5d4af8<_0x4ae974['length'];++_0x5d4af8)null!=_0x9d63e3[_0x4ae974[_0x5d4af8]]&&'__proto__'!==_0x4ae974[_0x5d4af8]&&(this[_0x4ae974[_0x5d4af8]]=_0x9d63e3[_0x4ae974[_0x5d4af8]]);}}return _0x46d854['prototype']['threads']=_0x222891['emptyArray'],_0x46d854['prototype']['threadsV2']=_0x222891['emptyArray'],_0x46d854['create']=function(_0x38fe0b){return new _0x46d854(_0x38fe0b);},_0x46d854['encode']=function(_0x20896c,_0x3091ff,_0x13c44f){if(_0x3091ff||(_0x3091ff=_0x55d9b7['create']()),void 0x0===_0x13c44f&&(_0x13c44f=0x0),_0x13c44f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x20896c['threads']&&_0x20896c['threads']['length']){for(var _0x496e0a=0x0;_0x496e0a<_0x20896c['threads']['length'];++_0x496e0a)_0x3091ff['uint32'](0xa)['string'](_0x20896c['threads'][_0x496e0a]);}if(null!=_0x20896c['threadsV2']&&_0x20896c['threadsV2']['length']){for(_0x496e0a=0x0;_0x496e0a<_0x20896c['threadsV2']['length'];++_0x496e0a)_0xbccd8d['CommentsThreadDescriptor']['encode'](_0x20896c['threadsV2'][_0x496e0a],_0x3091ff['uint32'](0x12)['fork'](),_0x13c44f+0x1)['ldelim']();}return _0x3091ff;},_0x46d854['encodeDelimited']=function(_0x2a118b,_0x4ab21a){return this['encode'](_0x2a118b,_0x4ab21a)['ldelim']();},_0x46d854['decode']=function(_0x2a5cb6,_0x226559,_0x4b0cdb,_0xef721a){if(_0x2a5cb6 instanceof _0x105dc2||(_0x2a5cb6=_0x105dc2['create'](_0x2a5cb6)),void 0x0===_0xef721a&&(_0xef721a=0x0),_0xef721a>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1b2366=void 0x0===_0x226559?_0x2a5cb6['len']:_0x2a5cb6['pos']+_0x226559,_0x16be48=new _0xbccd8d['CommentsV2GetDocumentThreadsResponse']();_0x2a5cb6['pos']<_0x1b2366;){var _0x2a672d=_0x2a5cb6['uint32']();if(_0x2a672d===_0x4b0cdb)break;switch(_0x2a672d>>>0x3){case 0x1:_0x16be48['threads']&&_0x16be48['threads']['length']||(_0x16be48['threads']=[]),_0x16be48['threads']['push'](_0x2a5cb6['string']());break;case 0x2:_0x16be48['threadsV2']&&_0x16be48['threadsV2']['length']||(_0x16be48['threadsV2']=[]),_0x16be48['threadsV2']['push'](_0xbccd8d['CommentsThreadDescriptor']['decode'](_0x2a5cb6,_0x2a5cb6['uint32'](),void 0x0,_0xef721a+0x1));break;default:_0x2a5cb6['skipType'](0x7&_0x2a672d,_0xef721a);}}return _0x16be48;},_0x46d854['decodeDelimited']=function(_0x5ce588){return _0x5ce588 instanceof _0x105dc2||(_0x5ce588=new _0x105dc2(_0x5ce588)),this['decode'](_0x5ce588,_0x5ce588['uint32']());},_0x46d854['verify']=function(_0x337217,_0x59fb35){if('object'!=typeof _0x337217||null===_0x337217)return'object\x20expected';if(void 0x0===_0x59fb35&&(_0x59fb35=0x0),_0x59fb35>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x337217['threads']&&Object['hasOwnProperty']['call'](_0x337217,'threads')){if(!Array['isArray'](_0x337217['threads']))return'threads:\x20array\x20expected';for(var _0x5a51dd=0x0;_0x5a51dd<_0x337217['threads']['length'];++_0x5a51dd)if(!_0x222891['isString'](_0x337217['threads'][_0x5a51dd]))return'threads:\x20string[]\x20expected';}if(null!=_0x337217['threadsV2']&&Object['hasOwnProperty']['call'](_0x337217,'threadsV2')){if(!Array['isArray'](_0x337217['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0x5a51dd=0x0;_0x5a51dd<_0x337217['threadsV2']['length'];++_0x5a51dd){var _0x31d641=_0xbccd8d['CommentsThreadDescriptor']['verify'](_0x337217['threadsV2'][_0x5a51dd],_0x59fb35+0x1);if(_0x31d641)return'threadsV2.'+_0x31d641;}}return null;},_0x46d854['fromObject']=function(_0x571179,_0x1e79fa){if(_0x571179 instanceof _0xbccd8d['CommentsV2GetDocumentThreadsResponse'])return _0x571179;if(!_0x222891['isObject'](_0x571179))throw TypeError('.CommentsV2GetDocumentThreadsResponse:\x20object\x20expected');if(void 0x0===_0x1e79fa&&(_0x1e79fa=0x0),_0x1e79fa>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x354525=new _0xbccd8d['CommentsV2GetDocumentThreadsResponse']();if(_0x571179['threads']){if(!Array['isArray'](_0x571179['threads']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threads:\x20array\x20expected');_0x354525['threads']=[];for(var _0x2730c4=0x0;_0x2730c4<_0x571179['threads']['length'];++_0x2730c4)_0x354525['threads'][_0x2730c4]=String(_0x571179['threads'][_0x2730c4]);}if(_0x571179['threadsV2']){if(!Array['isArray'](_0x571179['threadsV2']))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20array\x20expected');for(_0x354525['threadsV2']=[],_0x2730c4=0x0;_0x2730c4<_0x571179['threadsV2']['length'];++_0x2730c4){if(!_0x222891['isObject'](_0x571179['threadsV2'][_0x2730c4]))throw TypeError('.CommentsV2GetDocumentThreadsResponse.threadsV2:\x20object\x20expected');_0x354525['threadsV2'][_0x2730c4]=_0xbccd8d['CommentsThreadDescriptor']['fromObject'](_0x571179['threadsV2'][_0x2730c4],_0x1e79fa+0x1);}}return _0x354525;},_0x46d854['toObject']=function(_0x19729d,_0x1b4a95,_0x238251){if(_0x1b4a95||(_0x1b4a95={}),void 0x0===_0x238251&&(_0x238251=0x0),_0x238251>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x31cf12={};if((_0x1b4a95['arrays']||_0x1b4a95['defaults'])&&(_0x31cf12['threads']=[],_0x31cf12['threadsV2']=[]),_0x19729d['threads']&&_0x19729d['threads']['length']){_0x31cf12['threads']=[];for(var _0x5885f6=0x0;_0x5885f6<_0x19729d['threads']['length'];++_0x5885f6)_0x31cf12['threads'][_0x5885f6]=_0x19729d['threads'][_0x5885f6];}if(_0x19729d['threadsV2']&&_0x19729d['threadsV2']['length']){for(_0x31cf12['threadsV2']=[],_0x5885f6=0x0;_0x5885f6<_0x19729d['threadsV2']['length'];++_0x5885f6)_0x31cf12['threadsV2'][_0x5885f6]=_0xbccd8d['CommentsThreadDescriptor']['toObject'](_0x19729d['threadsV2'][_0x5885f6],_0x1b4a95,_0x238251+0x1);}return _0x31cf12;},_0x46d854['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x46d854['getTypeUrl']=function(_0x56033a){return void 0x0===_0x56033a&&(_0x56033a='type.googleapis.com'),_0x56033a+'/CommentsV2GetDocumentThreadsResponse';},_0x46d854;}()),_0xbccd8d['CommentsV2GetCommentThreadResponse']=(function(){function _0x3b9c9a(_0xbb5d){if(this['comments']=[],this['commentsV2']=[],_0xbb5d){for(var _0x39e627=Object['keys'](_0xbb5d),_0x532e88=0x0;_0x532e88<_0x39e627['length'];++_0x532e88)null!=_0xbb5d[_0x39e627[_0x532e88]]&&'__proto__'!==_0x39e627[_0x532e88]&&(this[_0x39e627[_0x532e88]]=_0xbb5d[_0x39e627[_0x532e88]]);}}return _0x3b9c9a['prototype']['commentThreadId']='',_0x3b9c9a['prototype']['comments']=_0x222891['emptyArray'],_0x3b9c9a['prototype']['commentsV2']=_0x222891['emptyArray'],_0x3b9c9a['prototype']['resolvedAt']='',_0x3b9c9a['prototype']['resolvedBy']='',_0x3b9c9a['prototype']['context']='',_0x3b9c9a['prototype']['createdAt']='',_0x3b9c9a['prototype']['deletedAt']='',_0x3b9c9a['prototype']['attributes']='',_0x3b9c9a['prototype']['unlinkedAt']='',_0x3b9c9a['create']=function(_0x5e8a9a){return new _0x3b9c9a(_0x5e8a9a);},_0x3b9c9a['encode']=function(_0x54e08b,_0xa86bd6,_0x5678f8){if(_0xa86bd6||(_0xa86bd6=_0x55d9b7['create']()),void 0x0===_0x5678f8&&(_0x5678f8=0x0),_0x5678f8>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x54e08b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x54e08b,'commentThreadId')&&_0xa86bd6['uint32'](0xa)['string'](_0x54e08b['commentThreadId']),null!=_0x54e08b['comments']&&_0x54e08b['comments']['length']){for(var _0xbcf05b=0x0;_0xbcf05b<_0x54e08b['comments']['length'];++_0xbcf05b)_0xa86bd6['uint32'](0x12)['string'](_0x54e08b['comments'][_0xbcf05b]);}if(null!=_0x54e08b['commentsV2']&&_0x54e08b['commentsV2']['length']){for(_0xbcf05b=0x0;_0xbcf05b<_0x54e08b['commentsV2']['length'];++_0xbcf05b)_0xbccd8d['CommentDescriptor']['encode'](_0x54e08b['commentsV2'][_0xbcf05b],_0xa86bd6['uint32'](0x1a)['fork'](),_0x5678f8+0x1)['ldelim']();}return null!=_0x54e08b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x54e08b,'resolvedAt')&&_0xa86bd6['uint32'](0x22)['string'](_0x54e08b['resolvedAt']),null!=_0x54e08b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x54e08b,'resolvedBy')&&_0xa86bd6['uint32'](0x2a)['string'](_0x54e08b['resolvedBy']),null!=_0x54e08b['context']&&Object['hasOwnProperty']['call'](_0x54e08b,'context')&&_0xa86bd6['uint32'](0x32)['string'](_0x54e08b['context']),null!=_0x54e08b['createdAt']&&Object['hasOwnProperty']['call'](_0x54e08b,'createdAt')&&_0xa86bd6['uint32'](0x3a)['string'](_0x54e08b['createdAt']),null!=_0x54e08b['deletedAt']&&Object['hasOwnProperty']['call'](_0x54e08b,'deletedAt')&&_0xa86bd6['uint32'](0x42)['string'](_0x54e08b['deletedAt']),null!=_0x54e08b['attributes']&&Object['hasOwnProperty']['call'](_0x54e08b,'attributes')&&_0xa86bd6['uint32'](0x4a)['string'](_0x54e08b['attributes']),null!=_0x54e08b['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x54e08b,'unlinkedAt')&&_0xa86bd6['uint32'](0x52)['string'](_0x54e08b['unlinkedAt']),_0xa86bd6;},_0x3b9c9a['encodeDelimited']=function(_0x310a5a,_0x35a55e){return this['encode'](_0x310a5a,_0x35a55e)['ldelim']();},_0x3b9c9a['decode']=function(_0x4180df,_0x20ad80,_0x438dac,_0x8ff435){if(_0x4180df instanceof _0x105dc2||(_0x4180df=_0x105dc2['create'](_0x4180df)),void 0x0===_0x8ff435&&(_0x8ff435=0x0),_0x8ff435>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x133ce1=void 0x0===_0x20ad80?_0x4180df['len']:_0x4180df['pos']+_0x20ad80,_0x172ce4=new _0xbccd8d['CommentsV2GetCommentThreadResponse']();_0x4180df['pos']<_0x133ce1;){var _0x431900=_0x4180df['uint32']();if(_0x431900===_0x438dac)break;switch(_0x431900>>>0x3){case 0x1:_0x172ce4['commentThreadId']=_0x4180df['string']();break;case 0x2:_0x172ce4['comments']&&_0x172ce4['comments']['length']||(_0x172ce4['comments']=[]),_0x172ce4['comments']['push'](_0x4180df['string']());break;case 0x3:_0x172ce4['commentsV2']&&_0x172ce4['commentsV2']['length']||(_0x172ce4['commentsV2']=[]),_0x172ce4['commentsV2']['push'](_0xbccd8d['CommentDescriptor']['decode'](_0x4180df,_0x4180df['uint32'](),void 0x0,_0x8ff435+0x1));break;case 0x4:_0x172ce4['resolvedAt']=_0x4180df['string']();break;case 0x5:_0x172ce4['resolvedBy']=_0x4180df['string']();break;case 0x6:_0x172ce4['context']=_0x4180df['string']();break;case 0x7:_0x172ce4['createdAt']=_0x4180df['string']();break;case 0x8:_0x172ce4['deletedAt']=_0x4180df['string']();break;case 0x9:_0x172ce4['attributes']=_0x4180df['string']();break;case 0xa:_0x172ce4['unlinkedAt']=_0x4180df['string']();break;default:_0x4180df['skipType'](0x7&_0x431900,_0x8ff435);}}return _0x172ce4;},_0x3b9c9a['decodeDelimited']=function(_0x4945ed){return _0x4945ed instanceof _0x105dc2||(_0x4945ed=new _0x105dc2(_0x4945ed)),this['decode'](_0x4945ed,_0x4945ed['uint32']());},_0x3b9c9a['verify']=function(_0x5d6690,_0x2489d8){if('object'!=typeof _0x5d6690||null===_0x5d6690)return'object\x20expected';if(void 0x0===_0x2489d8&&(_0x2489d8=0x0),_0x2489d8>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5d6690['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5d6690,'commentThreadId')&&!_0x222891['isString'](_0x5d6690['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x5d6690['comments']&&Object['hasOwnProperty']['call'](_0x5d6690,'comments')){if(!Array['isArray'](_0x5d6690['comments']))return'comments:\x20array\x20expected';for(var _0x56fcdd=0x0;_0x56fcdd<_0x5d6690['comments']['length'];++_0x56fcdd)if(!_0x222891['isString'](_0x5d6690['comments'][_0x56fcdd]))return'comments:\x20string[]\x20expected';}if(null!=_0x5d6690['commentsV2']&&Object['hasOwnProperty']['call'](_0x5d6690,'commentsV2')){if(!Array['isArray'](_0x5d6690['commentsV2']))return'commentsV2:\x20array\x20expected';for(_0x56fcdd=0x0;_0x56fcdd<_0x5d6690['commentsV2']['length'];++_0x56fcdd){var _0x519d2=_0xbccd8d['CommentDescriptor']['verify'](_0x5d6690['commentsV2'][_0x56fcdd],_0x2489d8+0x1);if(_0x519d2)return'commentsV2.'+_0x519d2;}}return null!=_0x5d6690['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5d6690,'resolvedAt')&&!_0x222891['isString'](_0x5d6690['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x5d6690['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5d6690,'resolvedBy')&&!_0x222891['isString'](_0x5d6690['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x5d6690['context']&&Object['hasOwnProperty']['call'](_0x5d6690,'context')&&!_0x222891['isString'](_0x5d6690['context'])?'context:\x20string\x20expected':null!=_0x5d6690['createdAt']&&Object['hasOwnProperty']['call'](_0x5d6690,'createdAt')&&!_0x222891['isString'](_0x5d6690['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x5d6690['deletedAt']&&Object['hasOwnProperty']['call'](_0x5d6690,'deletedAt')&&!_0x222891['isString'](_0x5d6690['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x5d6690['attributes']&&Object['hasOwnProperty']['call'](_0x5d6690,'attributes')&&!_0x222891['isString'](_0x5d6690['attributes'])?'attributes:\x20string\x20expected':null!=_0x5d6690['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5d6690,'unlinkedAt')&&!_0x222891['isString'](_0x5d6690['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x3b9c9a['fromObject']=function(_0x10232b,_0x2e7f08){if(_0x10232b instanceof _0xbccd8d['CommentsV2GetCommentThreadResponse'])return _0x10232b;if(!_0x222891['isObject'](_0x10232b))throw TypeError('.CommentsV2GetCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x2e7f08&&(_0x2e7f08=0x0),_0x2e7f08>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4ef1fb=new _0xbccd8d['CommentsV2GetCommentThreadResponse']();if(null!=_0x10232b['commentThreadId']&&(_0x4ef1fb['commentThreadId']=String(_0x10232b['commentThreadId'])),_0x10232b['comments']){if(!Array['isArray'](_0x10232b['comments']))throw TypeError('.CommentsV2GetCommentThreadResponse.comments:\x20array\x20expected');_0x4ef1fb['comments']=[];for(var _0x4c0b96=0x0;_0x4c0b96<_0x10232b['comments']['length'];++_0x4c0b96)_0x4ef1fb['comments'][_0x4c0b96]=String(_0x10232b['comments'][_0x4c0b96]);}if(_0x10232b['commentsV2']){if(!Array['isArray'](_0x10232b['commentsV2']))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20array\x20expected');for(_0x4ef1fb['commentsV2']=[],_0x4c0b96=0x0;_0x4c0b96<_0x10232b['commentsV2']['length'];++_0x4c0b96){if(!_0x222891['isObject'](_0x10232b['commentsV2'][_0x4c0b96]))throw TypeError('.CommentsV2GetCommentThreadResponse.commentsV2:\x20object\x20expected');_0x4ef1fb['commentsV2'][_0x4c0b96]=_0xbccd8d['CommentDescriptor']['fromObject'](_0x10232b['commentsV2'][_0x4c0b96],_0x2e7f08+0x1);}}return null!=_0x10232b['resolvedAt']&&(_0x4ef1fb['resolvedAt']=String(_0x10232b['resolvedAt'])),null!=_0x10232b['resolvedBy']&&(_0x4ef1fb['resolvedBy']=String(_0x10232b['resolvedBy'])),null!=_0x10232b['context']&&(_0x4ef1fb['context']=String(_0x10232b['context'])),null!=_0x10232b['createdAt']&&(_0x4ef1fb['createdAt']=String(_0x10232b['createdAt'])),null!=_0x10232b['deletedAt']&&(_0x4ef1fb['deletedAt']=String(_0x10232b['deletedAt'])),null!=_0x10232b['attributes']&&(_0x4ef1fb['attributes']=String(_0x10232b['attributes'])),null!=_0x10232b['unlinkedAt']&&(_0x4ef1fb['unlinkedAt']=String(_0x10232b['unlinkedAt'])),_0x4ef1fb;},_0x3b9c9a['toObject']=function(_0xf65ba2,_0x24fc5f,_0x349d30){if(_0x24fc5f||(_0x24fc5f={}),void 0x0===_0x349d30&&(_0x349d30=0x0),_0x349d30>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x28990a={};if((_0x24fc5f['arrays']||_0x24fc5f['defaults'])&&(_0x28990a['comments']=[],_0x28990a['commentsV2']=[]),_0x24fc5f['defaults']&&(_0x28990a['commentThreadId']='',_0x28990a['resolvedAt']='',_0x28990a['resolvedBy']='',_0x28990a['context']='',_0x28990a['createdAt']='',_0x28990a['deletedAt']='',_0x28990a['attributes']='',_0x28990a['unlinkedAt']=''),null!=_0xf65ba2['commentThreadId']&&Object['hasOwnProperty']['call'](_0xf65ba2,'commentThreadId')&&(_0x28990a['commentThreadId']=_0xf65ba2['commentThreadId']),_0xf65ba2['comments']&&_0xf65ba2['comments']['length']){_0x28990a['comments']=[];for(var _0x218762=0x0;_0x218762<_0xf65ba2['comments']['length'];++_0x218762)_0x28990a['comments'][_0x218762]=_0xf65ba2['comments'][_0x218762];}if(_0xf65ba2['commentsV2']&&_0xf65ba2['commentsV2']['length']){for(_0x28990a['commentsV2']=[],_0x218762=0x0;_0x218762<_0xf65ba2['commentsV2']['length'];++_0x218762)_0x28990a['commentsV2'][_0x218762]=_0xbccd8d['CommentDescriptor']['toObject'](_0xf65ba2['commentsV2'][_0x218762],_0x24fc5f,_0x349d30+0x1);}return null!=_0xf65ba2['resolvedAt']&&Object['hasOwnProperty']['call'](_0xf65ba2,'resolvedAt')&&(_0x28990a['resolvedAt']=_0xf65ba2['resolvedAt']),null!=_0xf65ba2['resolvedBy']&&Object['hasOwnProperty']['call'](_0xf65ba2,'resolvedBy')&&(_0x28990a['resolvedBy']=_0xf65ba2['resolvedBy']),null!=_0xf65ba2['context']&&Object['hasOwnProperty']['call'](_0xf65ba2,'context')&&(_0x28990a['context']=_0xf65ba2['context']),null!=_0xf65ba2['createdAt']&&Object['hasOwnProperty']['call'](_0xf65ba2,'createdAt')&&(_0x28990a['createdAt']=_0xf65ba2['createdAt']),null!=_0xf65ba2['deletedAt']&&Object['hasOwnProperty']['call'](_0xf65ba2,'deletedAt')&&(_0x28990a['deletedAt']=_0xf65ba2['deletedAt']),null!=_0xf65ba2['attributes']&&Object['hasOwnProperty']['call'](_0xf65ba2,'attributes')&&(_0x28990a['attributes']=_0xf65ba2['attributes']),null!=_0xf65ba2['unlinkedAt']&&Object['hasOwnProperty']['call'](_0xf65ba2,'unlinkedAt')&&(_0x28990a['unlinkedAt']=_0xf65ba2['unlinkedAt']),_0x28990a;},_0x3b9c9a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3b9c9a['getTypeUrl']=function(_0x479ee8){return void 0x0===_0x479ee8&&(_0x479ee8='type.googleapis.com'),_0x479ee8+'/CommentsV2GetCommentThreadResponse';},_0x3b9c9a;}()),_0xbccd8d['CommentsV2ConnectResponse']=(function(){function _0x30eeeb(_0x472bec){if(this['threads']=[],this['threadsV2']=[],_0x472bec){for(var _0x98b84e=Object['keys'](_0x472bec),_0x43d8ba=0x0;_0x43d8ba<_0x98b84e['length'];++_0x43d8ba)null!=_0x472bec[_0x98b84e[_0x43d8ba]]&&'__proto__'!==_0x98b84e[_0x43d8ba]&&(this[_0x98b84e[_0x43d8ba]]=_0x472bec[_0x98b84e[_0x43d8ba]]);}}return _0x30eeeb['prototype']['channel']='',_0x30eeeb['prototype']['threads']=_0x222891['emptyArray'],_0x30eeeb['prototype']['threadsV2']=_0x222891['emptyArray'],_0x30eeeb['create']=function(_0x43acb1){return new _0x30eeeb(_0x43acb1);},_0x30eeeb['encode']=function(_0x23d544,_0x5397b5,_0x395624){if(_0x5397b5||(_0x5397b5=_0x55d9b7['create']()),void 0x0===_0x395624&&(_0x395624=0x0),_0x395624>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x23d544['channel']&&Object['hasOwnProperty']['call'](_0x23d544,'channel')&&_0x5397b5['uint32'](0xa)['string'](_0x23d544['channel']),null!=_0x23d544['threads']&&_0x23d544['threads']['length']){for(var _0x3e271b=0x0;_0x3e271b<_0x23d544['threads']['length'];++_0x3e271b)_0x5397b5['uint32'](0x12)['string'](_0x23d544['threads'][_0x3e271b]);}if(null!=_0x23d544['threadsV2']&&_0x23d544['threadsV2']['length']){for(_0x3e271b=0x0;_0x3e271b<_0x23d544['threadsV2']['length'];++_0x3e271b)_0xbccd8d['CommentsThreadDescriptor']['encode'](_0x23d544['threadsV2'][_0x3e271b],_0x5397b5['uint32'](0x1a)['fork'](),_0x395624+0x1)['ldelim']();}return _0x5397b5;},_0x30eeeb['encodeDelimited']=function(_0x1f6062,_0x5255a3){return this['encode'](_0x1f6062,_0x5255a3)['ldelim']();},_0x30eeeb['decode']=function(_0x4e86c5,_0x54aff9,_0x1af7a2,_0x478065){if(_0x4e86c5 instanceof _0x105dc2||(_0x4e86c5=_0x105dc2['create'](_0x4e86c5)),void 0x0===_0x478065&&(_0x478065=0x0),_0x478065>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x422830=void 0x0===_0x54aff9?_0x4e86c5['len']:_0x4e86c5['pos']+_0x54aff9,_0x2f81df=new _0xbccd8d['CommentsV2ConnectResponse']();_0x4e86c5['pos']<_0x422830;){var _0x169110=_0x4e86c5['uint32']();if(_0x169110===_0x1af7a2)break;switch(_0x169110>>>0x3){case 0x1:_0x2f81df['channel']=_0x4e86c5['string']();break;case 0x2:_0x2f81df['threads']&&_0x2f81df['threads']['length']||(_0x2f81df['threads']=[]),_0x2f81df['threads']['push'](_0x4e86c5['string']());break;case 0x3:_0x2f81df['threadsV2']&&_0x2f81df['threadsV2']['length']||(_0x2f81df['threadsV2']=[]),_0x2f81df['threadsV2']['push'](_0xbccd8d['CommentsThreadDescriptor']['decode'](_0x4e86c5,_0x4e86c5['uint32'](),void 0x0,_0x478065+0x1));break;default:_0x4e86c5['skipType'](0x7&_0x169110,_0x478065);}}return _0x2f81df;},_0x30eeeb['decodeDelimited']=function(_0x225b7c){return _0x225b7c instanceof _0x105dc2||(_0x225b7c=new _0x105dc2(_0x225b7c)),this['decode'](_0x225b7c,_0x225b7c['uint32']());},_0x30eeeb['verify']=function(_0x51b713,_0x3edd01){if('object'!=typeof _0x51b713||null===_0x51b713)return'object\x20expected';if(void 0x0===_0x3edd01&&(_0x3edd01=0x0),_0x3edd01>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x51b713['channel']&&Object['hasOwnProperty']['call'](_0x51b713,'channel')&&!_0x222891['isString'](_0x51b713['channel']))return'channel:\x20string\x20expected';if(null!=_0x51b713['threads']&&Object['hasOwnProperty']['call'](_0x51b713,'threads')){if(!Array['isArray'](_0x51b713['threads']))return'threads:\x20array\x20expected';for(var _0xe4818f=0x0;_0xe4818f<_0x51b713['threads']['length'];++_0xe4818f)if(!_0x222891['isString'](_0x51b713['threads'][_0xe4818f]))return'threads:\x20string[]\x20expected';}if(null!=_0x51b713['threadsV2']&&Object['hasOwnProperty']['call'](_0x51b713,'threadsV2')){if(!Array['isArray'](_0x51b713['threadsV2']))return'threadsV2:\x20array\x20expected';for(_0xe4818f=0x0;_0xe4818f<_0x51b713['threadsV2']['length'];++_0xe4818f){var _0x486e18=_0xbccd8d['CommentsThreadDescriptor']['verify'](_0x51b713['threadsV2'][_0xe4818f],_0x3edd01+0x1);if(_0x486e18)return'threadsV2.'+_0x486e18;}}return null;},_0x30eeeb['fromObject']=function(_0x29d3a4,_0x145eee){if(_0x29d3a4 instanceof _0xbccd8d['CommentsV2ConnectResponse'])return _0x29d3a4;if(!_0x222891['isObject'](_0x29d3a4))throw TypeError('.CommentsV2ConnectResponse:\x20object\x20expected');if(void 0x0===_0x145eee&&(_0x145eee=0x0),_0x145eee>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x532d5b=new _0xbccd8d['CommentsV2ConnectResponse']();if(null!=_0x29d3a4['channel']&&(_0x532d5b['channel']=String(_0x29d3a4['channel'])),_0x29d3a4['threads']){if(!Array['isArray'](_0x29d3a4['threads']))throw TypeError('.CommentsV2ConnectResponse.threads:\x20array\x20expected');_0x532d5b['threads']=[];for(var _0x339dec=0x0;_0x339dec<_0x29d3a4['threads']['length'];++_0x339dec)_0x532d5b['threads'][_0x339dec]=String(_0x29d3a4['threads'][_0x339dec]);}if(_0x29d3a4['threadsV2']){if(!Array['isArray'](_0x29d3a4['threadsV2']))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20array\x20expected');for(_0x532d5b['threadsV2']=[],_0x339dec=0x0;_0x339dec<_0x29d3a4['threadsV2']['length'];++_0x339dec){if(!_0x222891['isObject'](_0x29d3a4['threadsV2'][_0x339dec]))throw TypeError('.CommentsV2ConnectResponse.threadsV2:\x20object\x20expected');_0x532d5b['threadsV2'][_0x339dec]=_0xbccd8d['CommentsThreadDescriptor']['fromObject'](_0x29d3a4['threadsV2'][_0x339dec],_0x145eee+0x1);}}return _0x532d5b;},_0x30eeeb['toObject']=function(_0x370ea0,_0x5bf988,_0x8b00db){if(_0x5bf988||(_0x5bf988={}),void 0x0===_0x8b00db&&(_0x8b00db=0x0),_0x8b00db>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2cdd4d={};if((_0x5bf988['arrays']||_0x5bf988['defaults'])&&(_0x2cdd4d['threads']=[],_0x2cdd4d['threadsV2']=[]),_0x5bf988['defaults']&&(_0x2cdd4d['channel']=''),null!=_0x370ea0['channel']&&Object['hasOwnProperty']['call'](_0x370ea0,'channel')&&(_0x2cdd4d['channel']=_0x370ea0['channel']),_0x370ea0['threads']&&_0x370ea0['threads']['length']){_0x2cdd4d['threads']=[];for(var _0x3b4092=0x0;_0x3b4092<_0x370ea0['threads']['length'];++_0x3b4092)_0x2cdd4d['threads'][_0x3b4092]=_0x370ea0['threads'][_0x3b4092];}if(_0x370ea0['threadsV2']&&_0x370ea0['threadsV2']['length']){for(_0x2cdd4d['threadsV2']=[],_0x3b4092=0x0;_0x3b4092<_0x370ea0['threadsV2']['length'];++_0x3b4092)_0x2cdd4d['threadsV2'][_0x3b4092]=_0xbccd8d['CommentsThreadDescriptor']['toObject'](_0x370ea0['threadsV2'][_0x3b4092],_0x5bf988,_0x8b00db+0x1);}return _0x2cdd4d;},_0x30eeeb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x30eeeb['getTypeUrl']=function(_0x2ae6b5){return void 0x0===_0x2ae6b5&&(_0x2ae6b5='type.googleapis.com'),_0x2ae6b5+'/CommentsV2ConnectResponse';},_0x30eeeb;}()),_0xbccd8d['CommentsV2AddCommentResponse']=(function(){function _0x33d8b1(_0x30b1e6){if(_0x30b1e6){for(var _0xeb21b3=Object['keys'](_0x30b1e6),_0x1c2638=0x0;_0x1c2638<_0xeb21b3['length'];++_0x1c2638)null!=_0x30b1e6[_0xeb21b3[_0x1c2638]]&&'__proto__'!==_0xeb21b3[_0x1c2638]&&(this[_0xeb21b3[_0x1c2638]]=_0x30b1e6[_0xeb21b3[_0x1c2638]]);}}return _0x33d8b1['prototype']['commentThreadId']='',_0x33d8b1['prototype']['commentId']='',_0x33d8b1['prototype']['createdAt']='',_0x33d8b1['create']=function(_0x147ef9){return new _0x33d8b1(_0x147ef9);},_0x33d8b1['encode']=function(_0x31524c,_0x2b5070,_0x270b21){if(_0x2b5070||(_0x2b5070=_0x55d9b7['create']()),void 0x0===_0x270b21&&(_0x270b21=0x0),_0x270b21>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x31524c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x31524c,'commentThreadId')&&_0x2b5070['uint32'](0xa)['string'](_0x31524c['commentThreadId']),null!=_0x31524c['commentId']&&Object['hasOwnProperty']['call'](_0x31524c,'commentId')&&_0x2b5070['uint32'](0x12)['string'](_0x31524c['commentId']),null!=_0x31524c['createdAt']&&Object['hasOwnProperty']['call'](_0x31524c,'createdAt')&&_0x2b5070['uint32'](0x1a)['string'](_0x31524c['createdAt']),_0x2b5070;},_0x33d8b1['encodeDelimited']=function(_0x78ce18,_0x1cce6e){return this['encode'](_0x78ce18,_0x1cce6e)['ldelim']();},_0x33d8b1['decode']=function(_0x37614c,_0x4b73e4,_0x1470cc,_0x923edb){if(_0x37614c instanceof _0x105dc2||(_0x37614c=_0x105dc2['create'](_0x37614c)),void 0x0===_0x923edb&&(_0x923edb=0x0),_0x923edb>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1b9657=void 0x0===_0x4b73e4?_0x37614c['len']:_0x37614c['pos']+_0x4b73e4,_0x200d22=new _0xbccd8d['CommentsV2AddCommentResponse']();_0x37614c['pos']<_0x1b9657;){var _0xf59b82=_0x37614c['uint32']();if(_0xf59b82===_0x1470cc)break;switch(_0xf59b82>>>0x3){case 0x1:_0x200d22['commentThreadId']=_0x37614c['string']();break;case 0x2:_0x200d22['commentId']=_0x37614c['string']();break;case 0x3:_0x200d22['createdAt']=_0x37614c['string']();break;default:_0x37614c['skipType'](0x7&_0xf59b82,_0x923edb);}}return _0x200d22;},_0x33d8b1['decodeDelimited']=function(_0x5841b9){return _0x5841b9 instanceof _0x105dc2||(_0x5841b9=new _0x105dc2(_0x5841b9)),this['decode'](_0x5841b9,_0x5841b9['uint32']());},_0x33d8b1['verify']=function(_0x431fcf,_0x590d3c){return'object'!=typeof _0x431fcf||null===_0x431fcf?'object\x20expected':(void 0x0===_0x590d3c&&(_0x590d3c=0x0),_0x590d3c>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x431fcf['commentThreadId']&&Object['hasOwnProperty']['call'](_0x431fcf,'commentThreadId')&&!_0x222891['isString'](_0x431fcf['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x431fcf['commentId']&&Object['hasOwnProperty']['call'](_0x431fcf,'commentId')&&!_0x222891['isString'](_0x431fcf['commentId'])?'commentId:\x20string\x20expected':null!=_0x431fcf['createdAt']&&Object['hasOwnProperty']['call'](_0x431fcf,'createdAt')&&!_0x222891['isString'](_0x431fcf['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x33d8b1['fromObject']=function(_0xfe1ab2,_0x5f0929){if(_0xfe1ab2 instanceof _0xbccd8d['CommentsV2AddCommentResponse'])return _0xfe1ab2;if(!_0x222891['isObject'](_0xfe1ab2))throw TypeError('.CommentsV2AddCommentResponse:\x20object\x20expected');if(void 0x0===_0x5f0929&&(_0x5f0929=0x0),_0x5f0929>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x8a7dd2=new _0xbccd8d['CommentsV2AddCommentResponse']();return null!=_0xfe1ab2['commentThreadId']&&(_0x8a7dd2['commentThreadId']=String(_0xfe1ab2['commentThreadId'])),null!=_0xfe1ab2['commentId']&&(_0x8a7dd2['commentId']=String(_0xfe1ab2['commentId'])),null!=_0xfe1ab2['createdAt']&&(_0x8a7dd2['createdAt']=String(_0xfe1ab2['createdAt'])),_0x8a7dd2;},_0x33d8b1['toObject']=function(_0x571f9e,_0x5f12a0,_0x376348){if(_0x5f12a0||(_0x5f12a0={}),void 0x0===_0x376348&&(_0x376348=0x0),_0x376348>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x444c67={};return _0x5f12a0['defaults']&&(_0x444c67['commentThreadId']='',_0x444c67['commentId']='',_0x444c67['createdAt']=''),null!=_0x571f9e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x571f9e,'commentThreadId')&&(_0x444c67['commentThreadId']=_0x571f9e['commentThreadId']),null!=_0x571f9e['commentId']&&Object['hasOwnProperty']['call'](_0x571f9e,'commentId')&&(_0x444c67['commentId']=_0x571f9e['commentId']),null!=_0x571f9e['createdAt']&&Object['hasOwnProperty']['call'](_0x571f9e,'createdAt')&&(_0x444c67['createdAt']=_0x571f9e['createdAt']),_0x444c67;},_0x33d8b1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x33d8b1['getTypeUrl']=function(_0x3e0c18){return void 0x0===_0x3e0c18&&(_0x3e0c18='type.googleapis.com'),_0x3e0c18+'/CommentsV2AddCommentResponse';},_0x33d8b1;}()),_0xbccd8d['CommentsV2ResolveCommentThreadResponse']=(function(){function _0x2c4bd9(_0x340fd6){if(_0x340fd6){for(var _0x51f468=Object['keys'](_0x340fd6),_0x40b615=0x0;_0x40b615<_0x51f468['length'];++_0x40b615)null!=_0x340fd6[_0x51f468[_0x40b615]]&&'__proto__'!==_0x51f468[_0x40b615]&&(this[_0x51f468[_0x40b615]]=_0x340fd6[_0x51f468[_0x40b615]]);}}return _0x2c4bd9['prototype']['commentThreadId']='',_0x2c4bd9['prototype']['documentId']='',_0x2c4bd9['prototype']['resolvedAt']='',_0x2c4bd9['prototype']['resolvedBy']='',_0x2c4bd9['create']=function(_0xa731a1){return new _0x2c4bd9(_0xa731a1);},_0x2c4bd9['encode']=function(_0x1cd0f5,_0xccc397,_0x5b17ab){if(_0xccc397||(_0xccc397=_0x55d9b7['create']()),void 0x0===_0x5b17ab&&(_0x5b17ab=0x0),_0x5b17ab>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1cd0f5['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1cd0f5,'commentThreadId')&&_0xccc397['uint32'](0xa)['string'](_0x1cd0f5['commentThreadId']),null!=_0x1cd0f5['documentId']&&Object['hasOwnProperty']['call'](_0x1cd0f5,'documentId')&&_0xccc397['uint32'](0x12)['string'](_0x1cd0f5['documentId']),null!=_0x1cd0f5['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1cd0f5,'resolvedAt')&&_0xccc397['uint32'](0x1a)['string'](_0x1cd0f5['resolvedAt']),null!=_0x1cd0f5['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1cd0f5,'resolvedBy')&&_0xccc397['uint32'](0x22)['string'](_0x1cd0f5['resolvedBy']),_0xccc397;},_0x2c4bd9['encodeDelimited']=function(_0x25e6d7,_0x2653cc){return this['encode'](_0x25e6d7,_0x2653cc)['ldelim']();},_0x2c4bd9['decode']=function(_0x29ebf2,_0x3eed3f,_0x4adfca,_0x578171){if(_0x29ebf2 instanceof _0x105dc2||(_0x29ebf2=_0x105dc2['create'](_0x29ebf2)),void 0x0===_0x578171&&(_0x578171=0x0),_0x578171>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xab14b1=void 0x0===_0x3eed3f?_0x29ebf2['len']:_0x29ebf2['pos']+_0x3eed3f,_0x5ea0cc=new _0xbccd8d['CommentsV2ResolveCommentThreadResponse']();_0x29ebf2['pos']<_0xab14b1;){var _0x20a6bb=_0x29ebf2['uint32']();if(_0x20a6bb===_0x4adfca)break;switch(_0x20a6bb>>>0x3){case 0x1:_0x5ea0cc['commentThreadId']=_0x29ebf2['string']();break;case 0x2:_0x5ea0cc['documentId']=_0x29ebf2['string']();break;case 0x3:_0x5ea0cc['resolvedAt']=_0x29ebf2['string']();break;case 0x4:_0x5ea0cc['resolvedBy']=_0x29ebf2['string']();break;default:_0x29ebf2['skipType'](0x7&_0x20a6bb,_0x578171);}}return _0x5ea0cc;},_0x2c4bd9['decodeDelimited']=function(_0x2c5dbe){return _0x2c5dbe instanceof _0x105dc2||(_0x2c5dbe=new _0x105dc2(_0x2c5dbe)),this['decode'](_0x2c5dbe,_0x2c5dbe['uint32']());},_0x2c4bd9['verify']=function(_0x19263d,_0x2098db){return'object'!=typeof _0x19263d||null===_0x19263d?'object\x20expected':(void 0x0===_0x2098db&&(_0x2098db=0x0),_0x2098db>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x19263d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x19263d,'commentThreadId')&&!_0x222891['isString'](_0x19263d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x19263d['documentId']&&Object['hasOwnProperty']['call'](_0x19263d,'documentId')&&!_0x222891['isString'](_0x19263d['documentId'])?'documentId:\x20string\x20expected':null!=_0x19263d['resolvedAt']&&Object['hasOwnProperty']['call'](_0x19263d,'resolvedAt')&&!_0x222891['isString'](_0x19263d['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x19263d['resolvedBy']&&Object['hasOwnProperty']['call'](_0x19263d,'resolvedBy')&&!_0x222891['isString'](_0x19263d['resolvedBy'])?'resolvedBy:\x20string\x20expected':null);},_0x2c4bd9['fromObject']=function(_0x35384a,_0x587c62){if(_0x35384a instanceof _0xbccd8d['CommentsV2ResolveCommentThreadResponse'])return _0x35384a;if(!_0x222891['isObject'](_0x35384a))throw TypeError('.CommentsV2ResolveCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x587c62&&(_0x587c62=0x0),_0x587c62>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3680f2=new _0xbccd8d['CommentsV2ResolveCommentThreadResponse']();return null!=_0x35384a['commentThreadId']&&(_0x3680f2['commentThreadId']=String(_0x35384a['commentThreadId'])),null!=_0x35384a['documentId']&&(_0x3680f2['documentId']=String(_0x35384a['documentId'])),null!=_0x35384a['resolvedAt']&&(_0x3680f2['resolvedAt']=String(_0x35384a['resolvedAt'])),null!=_0x35384a['resolvedBy']&&(_0x3680f2['resolvedBy']=String(_0x35384a['resolvedBy'])),_0x3680f2;},_0x2c4bd9['toObject']=function(_0x1fe8da,_0x2f57d7,_0x3f3d0a){if(_0x2f57d7||(_0x2f57d7={}),void 0x0===_0x3f3d0a&&(_0x3f3d0a=0x0),_0x3f3d0a>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xc0b6f4={};return _0x2f57d7['defaults']&&(_0xc0b6f4['commentThreadId']='',_0xc0b6f4['documentId']='',_0xc0b6f4['resolvedAt']='',_0xc0b6f4['resolvedBy']=''),null!=_0x1fe8da['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1fe8da,'commentThreadId')&&(_0xc0b6f4['commentThreadId']=_0x1fe8da['commentThreadId']),null!=_0x1fe8da['documentId']&&Object['hasOwnProperty']['call'](_0x1fe8da,'documentId')&&(_0xc0b6f4['documentId']=_0x1fe8da['documentId']),null!=_0x1fe8da['resolvedAt']&&Object['hasOwnProperty']['call'](_0x1fe8da,'resolvedAt')&&(_0xc0b6f4['resolvedAt']=_0x1fe8da['resolvedAt']),null!=_0x1fe8da['resolvedBy']&&Object['hasOwnProperty']['call'](_0x1fe8da,'resolvedBy')&&(_0xc0b6f4['resolvedBy']=_0x1fe8da['resolvedBy']),_0xc0b6f4;},_0x2c4bd9['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x2c4bd9['getTypeUrl']=function(_0x39bf17){return void 0x0===_0x39bf17&&(_0x39bf17='type.googleapis.com'),_0x39bf17+'/CommentsV2ResolveCommentThreadResponse';},_0x2c4bd9;}()),_0xbccd8d['CommentsV2AddCommentThreadResponse']=(function(){function _0xccce8(_0x3e3e0e){if(this['comments']=[],_0x3e3e0e){for(var _0x40ea04=Object['keys'](_0x3e3e0e),_0x3be68f=0x0;_0x3be68f<_0x40ea04['length'];++_0x3be68f)null!=_0x3e3e0e[_0x40ea04[_0x3be68f]]&&'__proto__'!==_0x40ea04[_0x3be68f]&&(this[_0x40ea04[_0x3be68f]]=_0x3e3e0e[_0x40ea04[_0x3be68f]]);}}return _0xccce8['prototype']['commentThreadId']='',_0xccce8['prototype']['createdAt']='',_0xccce8['prototype']['comments']=_0x222891['emptyArray'],_0xccce8['create']=function(_0x22b75d){return new _0xccce8(_0x22b75d);},_0xccce8['encode']=function(_0xca9263,_0x25deac,_0x28d43c){if(_0x25deac||(_0x25deac=_0x55d9b7['create']()),void 0x0===_0x28d43c&&(_0x28d43c=0x0),_0x28d43c>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0xca9263['commentThreadId']&&Object['hasOwnProperty']['call'](_0xca9263,'commentThreadId')&&_0x25deac['uint32'](0xa)['string'](_0xca9263['commentThreadId']),null!=_0xca9263['createdAt']&&Object['hasOwnProperty']['call'](_0xca9263,'createdAt')&&_0x25deac['uint32'](0x12)['string'](_0xca9263['createdAt']),null!=_0xca9263['comments']&&_0xca9263['comments']['length']){for(var _0x50b52e=0x0;_0x50b52e<_0xca9263['comments']['length'];++_0x50b52e)_0xbccd8d['CommentThreadAddedCommentDescriptor']['encode'](_0xca9263['comments'][_0x50b52e],_0x25deac['uint32'](0x1a)['fork'](),_0x28d43c+0x1)['ldelim']();}return _0x25deac;},_0xccce8['encodeDelimited']=function(_0x1bba7b,_0x204b5d){return this['encode'](_0x1bba7b,_0x204b5d)['ldelim']();},_0xccce8['decode']=function(_0x22cfa3,_0x427777,_0x284224,_0x188820){if(_0x22cfa3 instanceof _0x105dc2||(_0x22cfa3=_0x105dc2['create'](_0x22cfa3)),void 0x0===_0x188820&&(_0x188820=0x0),_0x188820>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5847ad=void 0x0===_0x427777?_0x22cfa3['len']:_0x22cfa3['pos']+_0x427777,_0x154e27=new _0xbccd8d['CommentsV2AddCommentThreadResponse']();_0x22cfa3['pos']<_0x5847ad;){var _0x56dca6=_0x22cfa3['uint32']();if(_0x56dca6===_0x284224)break;switch(_0x56dca6>>>0x3){case 0x1:_0x154e27['commentThreadId']=_0x22cfa3['string']();break;case 0x2:_0x154e27['createdAt']=_0x22cfa3['string']();break;case 0x3:_0x154e27['comments']&&_0x154e27['comments']['length']||(_0x154e27['comments']=[]),_0x154e27['comments']['push'](_0xbccd8d['CommentThreadAddedCommentDescriptor']['decode'](_0x22cfa3,_0x22cfa3['uint32'](),void 0x0,_0x188820+0x1));break;default:_0x22cfa3['skipType'](0x7&_0x56dca6,_0x188820);}}return _0x154e27;},_0xccce8['decodeDelimited']=function(_0x3301d7){return _0x3301d7 instanceof _0x105dc2||(_0x3301d7=new _0x105dc2(_0x3301d7)),this['decode'](_0x3301d7,_0x3301d7['uint32']());},_0xccce8['verify']=function(_0x769ed,_0x4cac04){if('object'!=typeof _0x769ed||null===_0x769ed)return'object\x20expected';if(void 0x0===_0x4cac04&&(_0x4cac04=0x0),_0x4cac04>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x769ed['commentThreadId']&&Object['hasOwnProperty']['call'](_0x769ed,'commentThreadId')&&!_0x222891['isString'](_0x769ed['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x769ed['createdAt']&&Object['hasOwnProperty']['call'](_0x769ed,'createdAt')&&!_0x222891['isString'](_0x769ed['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x769ed['comments']&&Object['hasOwnProperty']['call'](_0x769ed,'comments')){if(!Array['isArray'](_0x769ed['comments']))return'comments:\x20array\x20expected';for(var _0x44c93b=0x0;_0x44c93b<_0x769ed['comments']['length'];++_0x44c93b){var _0x5c4d47=_0xbccd8d['CommentThreadAddedCommentDescriptor']['verify'](_0x769ed['comments'][_0x44c93b],_0x4cac04+0x1);if(_0x5c4d47)return'comments.'+_0x5c4d47;}}return null;},_0xccce8['fromObject']=function(_0x31b27d,_0x1a8a81){if(_0x31b27d instanceof _0xbccd8d['CommentsV2AddCommentThreadResponse'])return _0x31b27d;if(!_0x222891['isObject'](_0x31b27d))throw TypeError('.CommentsV2AddCommentThreadResponse:\x20object\x20expected');if(void 0x0===_0x1a8a81&&(_0x1a8a81=0x0),_0x1a8a81>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1bd36f=new _0xbccd8d['CommentsV2AddCommentThreadResponse']();if(null!=_0x31b27d['commentThreadId']&&(_0x1bd36f['commentThreadId']=String(_0x31b27d['commentThreadId'])),null!=_0x31b27d['createdAt']&&(_0x1bd36f['createdAt']=String(_0x31b27d['createdAt'])),_0x31b27d['comments']){if(!Array['isArray'](_0x31b27d['comments']))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20array\x20expected');_0x1bd36f['comments']=[];for(var _0x15b53c=0x0;_0x15b53c<_0x31b27d['comments']['length'];++_0x15b53c){if(!_0x222891['isObject'](_0x31b27d['comments'][_0x15b53c]))throw TypeError('.CommentsV2AddCommentThreadResponse.comments:\x20object\x20expected');_0x1bd36f['comments'][_0x15b53c]=_0xbccd8d['CommentThreadAddedCommentDescriptor']['fromObject'](_0x31b27d['comments'][_0x15b53c],_0x1a8a81+0x1);}}return _0x1bd36f;},_0xccce8['toObject']=function(_0x1166b2,_0x5b3fa5,_0x586ba3){if(_0x5b3fa5||(_0x5b3fa5={}),void 0x0===_0x586ba3&&(_0x586ba3=0x0),_0x586ba3>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x31b43c={};if((_0x5b3fa5['arrays']||_0x5b3fa5['defaults'])&&(_0x31b43c['comments']=[]),_0x5b3fa5['defaults']&&(_0x31b43c['commentThreadId']='',_0x31b43c['createdAt']=''),null!=_0x1166b2['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1166b2,'commentThreadId')&&(_0x31b43c['commentThreadId']=_0x1166b2['commentThreadId']),null!=_0x1166b2['createdAt']&&Object['hasOwnProperty']['call'](_0x1166b2,'createdAt')&&(_0x31b43c['createdAt']=_0x1166b2['createdAt']),_0x1166b2['comments']&&_0x1166b2['comments']['length']){_0x31b43c['comments']=[];for(var _0x37cf24=0x0;_0x37cf24<_0x1166b2['comments']['length'];++_0x37cf24)_0x31b43c['comments'][_0x37cf24]=_0xbccd8d['CommentThreadAddedCommentDescriptor']['toObject'](_0x1166b2['comments'][_0x37cf24],_0x5b3fa5,_0x586ba3+0x1);}return _0x31b43c;},_0xccce8['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0xccce8['getTypeUrl']=function(_0xac6cbe){return void 0x0===_0xac6cbe&&(_0xac6cbe='type.googleapis.com'),_0xac6cbe+'/CommentsV2AddCommentThreadResponse';},_0xccce8;}()),_0xbccd8d['CommentsV2UpdateCommentMessage']=(function(){function _0x7769cb(_0x30e0d5){if(_0x30e0d5){for(var _0xf1d8f1=Object['keys'](_0x30e0d5),_0x1b309a=0x0;_0x1b309a<_0xf1d8f1['length'];++_0x1b309a)null!=_0x30e0d5[_0xf1d8f1[_0x1b309a]]&&'__proto__'!==_0xf1d8f1[_0x1b309a]&&(this[_0xf1d8f1[_0x1b309a]]=_0x30e0d5[_0xf1d8f1[_0x1b309a]]);}}return _0x7769cb['prototype']['commentThreadId']='',_0x7769cb['prototype']['commentId']='',_0x7769cb['prototype']['content']='',_0x7769cb['prototype']['documentId']='',_0x7769cb['prototype']['attributes']='',_0x7769cb['prototype']['isAttributesUpdated']=!0x1,_0x7769cb['prototype']['commentThread']=null,_0x7769cb['create']=function(_0x34dc09){return new _0x7769cb(_0x34dc09);},_0x7769cb['encode']=function(_0x226085,_0x332587,_0x13f6e8){if(_0x332587||(_0x332587=_0x55d9b7['create']()),void 0x0===_0x13f6e8&&(_0x13f6e8=0x0),_0x13f6e8>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x226085['commentThreadId']&&Object['hasOwnProperty']['call'](_0x226085,'commentThreadId')&&_0x332587['uint32'](0xa)['string'](_0x226085['commentThreadId']),null!=_0x226085['commentId']&&Object['hasOwnProperty']['call'](_0x226085,'commentId')&&_0x332587['uint32'](0x12)['string'](_0x226085['commentId']),null!=_0x226085['content']&&Object['hasOwnProperty']['call'](_0x226085,'content')&&_0x332587['uint32'](0x1a)['string'](_0x226085['content']),null!=_0x226085['documentId']&&Object['hasOwnProperty']['call'](_0x226085,'documentId')&&_0x332587['uint32'](0x22)['string'](_0x226085['documentId']),null!=_0x226085['attributes']&&Object['hasOwnProperty']['call'](_0x226085,'attributes')&&_0x332587['uint32'](0x2a)['string'](_0x226085['attributes']),null!=_0x226085['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x226085,'isAttributesUpdated')&&_0x332587['uint32'](0x30)['bool'](_0x226085['isAttributesUpdated']),null!=_0x226085['commentThread']&&Object['hasOwnProperty']['call'](_0x226085,'commentThread')&&_0xbccd8d['CommentsThreadDescriptor']['encode'](_0x226085['commentThread'],_0x332587['uint32'](0x3a)['fork'](),_0x13f6e8+0x1)['ldelim'](),_0x332587;},_0x7769cb['encodeDelimited']=function(_0x53a0e7,_0xc68e9){return this['encode'](_0x53a0e7,_0xc68e9)['ldelim']();},_0x7769cb['decode']=function(_0x504080,_0x319388,_0x156543,_0x684b2b){if(_0x504080 instanceof _0x105dc2||(_0x504080=_0x105dc2['create'](_0x504080)),void 0x0===_0x684b2b&&(_0x684b2b=0x0),_0x684b2b>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x549d89=void 0x0===_0x319388?_0x504080['len']:_0x504080['pos']+_0x319388,_0x8adf7e=new _0xbccd8d['CommentsV2UpdateCommentMessage']();_0x504080['pos']<_0x549d89;){var _0x24213e=_0x504080['uint32']();if(_0x24213e===_0x156543)break;switch(_0x24213e>>>0x3){case 0x1:_0x8adf7e['commentThreadId']=_0x504080['string']();break;case 0x2:_0x8adf7e['commentId']=_0x504080['string']();break;case 0x3:_0x8adf7e['content']=_0x504080['string']();break;case 0x4:_0x8adf7e['documentId']=_0x504080['string']();break;case 0x5:_0x8adf7e['attributes']=_0x504080['string']();break;case 0x6:_0x8adf7e['isAttributesUpdated']=_0x504080['bool']();break;case 0x7:_0x8adf7e['commentThread']=_0xbccd8d['CommentsThreadDescriptor']['decode'](_0x504080,_0x504080['uint32'](),void 0x0,_0x684b2b+0x1);break;default:_0x504080['skipType'](0x7&_0x24213e,_0x684b2b);}}return _0x8adf7e;},_0x7769cb['decodeDelimited']=function(_0x21bb2f){return _0x21bb2f instanceof _0x105dc2||(_0x21bb2f=new _0x105dc2(_0x21bb2f)),this['decode'](_0x21bb2f,_0x21bb2f['uint32']());},_0x7769cb['verify']=function(_0x748c34,_0x4e0381){if('object'!=typeof _0x748c34||null===_0x748c34)return'object\x20expected';if(void 0x0===_0x4e0381&&(_0x4e0381=0x0),_0x4e0381>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x748c34['commentThreadId']&&Object['hasOwnProperty']['call'](_0x748c34,'commentThreadId')&&!_0x222891['isString'](_0x748c34['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x748c34['commentId']&&Object['hasOwnProperty']['call'](_0x748c34,'commentId')&&!_0x222891['isString'](_0x748c34['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x748c34['content']&&Object['hasOwnProperty']['call'](_0x748c34,'content')&&!_0x222891['isString'](_0x748c34['content']))return'content:\x20string\x20expected';if(null!=_0x748c34['documentId']&&Object['hasOwnProperty']['call'](_0x748c34,'documentId')&&!_0x222891['isString'](_0x748c34['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x748c34['attributes']&&Object['hasOwnProperty']['call'](_0x748c34,'attributes')&&!_0x222891['isString'](_0x748c34['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x748c34['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0x748c34,'isAttributesUpdated')&&'boolean'!=typeof _0x748c34['isAttributesUpdated'])return'isAttributesUpdated:\x20boolean\x20expected';if(null!=_0x748c34['commentThread']&&Object['hasOwnProperty']['call'](_0x748c34,'commentThread')){var _0x4506c0=_0xbccd8d['CommentsThreadDescriptor']['verify'](_0x748c34['commentThread'],_0x4e0381+0x1);if(_0x4506c0)return'commentThread.'+_0x4506c0;}return null;},_0x7769cb['fromObject']=function(_0x41090c,_0x5baa51){if(_0x41090c instanceof _0xbccd8d['CommentsV2UpdateCommentMessage'])return _0x41090c;if(!_0x222891['isObject'](_0x41090c))throw TypeError('.CommentsV2UpdateCommentMessage:\x20object\x20expected');if(void 0x0===_0x5baa51&&(_0x5baa51=0x0),_0x5baa51>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x4de923=new _0xbccd8d['CommentsV2UpdateCommentMessage']();if(null!=_0x41090c['commentThreadId']&&(_0x4de923['commentThreadId']=String(_0x41090c['commentThreadId'])),null!=_0x41090c['commentId']&&(_0x4de923['commentId']=String(_0x41090c['commentId'])),null!=_0x41090c['content']&&(_0x4de923['content']=String(_0x41090c['content'])),null!=_0x41090c['documentId']&&(_0x4de923['documentId']=String(_0x41090c['documentId'])),null!=_0x41090c['attributes']&&(_0x4de923['attributes']=String(_0x41090c['attributes'])),null!=_0x41090c['isAttributesUpdated']&&(_0x4de923['isAttributesUpdated']=Boolean(_0x41090c['isAttributesUpdated'])),null!=_0x41090c['commentThread']){if(!_0x222891['isObject'](_0x41090c['commentThread']))throw TypeError('.CommentsV2UpdateCommentMessage.commentThread:\x20object\x20expected');_0x4de923['commentThread']=_0xbccd8d['CommentsThreadDescriptor']['fromObject'](_0x41090c['commentThread'],_0x5baa51+0x1);}return _0x4de923;},_0x7769cb['toObject']=function(_0xc0d677,_0x57d50f,_0x48695e){if(_0x57d50f||(_0x57d50f={}),void 0x0===_0x48695e&&(_0x48695e=0x0),_0x48695e>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x1eee03={};return _0x57d50f['defaults']&&(_0x1eee03['commentThreadId']='',_0x1eee03['commentId']='',_0x1eee03['content']='',_0x1eee03['documentId']='',_0x1eee03['attributes']='',_0x1eee03['isAttributesUpdated']=!0x1,_0x1eee03['commentThread']=null),null!=_0xc0d677['commentThreadId']&&Object['hasOwnProperty']['call'](_0xc0d677,'commentThreadId')&&(_0x1eee03['commentThreadId']=_0xc0d677['commentThreadId']),null!=_0xc0d677['commentId']&&Object['hasOwnProperty']['call'](_0xc0d677,'commentId')&&(_0x1eee03['commentId']=_0xc0d677['commentId']),null!=_0xc0d677['content']&&Object['hasOwnProperty']['call'](_0xc0d677,'content')&&(_0x1eee03['content']=_0xc0d677['content']),null!=_0xc0d677['documentId']&&Object['hasOwnProperty']['call'](_0xc0d677,'documentId')&&(_0x1eee03['documentId']=_0xc0d677['documentId']),null!=_0xc0d677['attributes']&&Object['hasOwnProperty']['call'](_0xc0d677,'attributes')&&(_0x1eee03['attributes']=_0xc0d677['attributes']),null!=_0xc0d677['isAttributesUpdated']&&Object['hasOwnProperty']['call'](_0xc0d677,'isAttributesUpdated')&&(_0x1eee03['isAttributesUpdated']=_0xc0d677['isAttributesUpdated']),null!=_0xc0d677['commentThread']&&Object['hasOwnProperty']['call'](_0xc0d677,'commentThread')&&(_0x1eee03['commentThread']=_0xbccd8d['CommentsThreadDescriptor']['toObject'](_0xc0d677['commentThread'],_0x57d50f,_0x48695e+0x1)),_0x1eee03;},_0x7769cb['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x7769cb['getTypeUrl']=function(_0x3f98bc){return void 0x0===_0x3f98bc&&(_0x3f98bc='type.googleapis.com'),_0x3f98bc+'/CommentsV2UpdateCommentMessage';},_0x7769cb;}()),_0xbccd8d['CommentsV2RemoveCommentThreadMessage']=(function(){function _0x2b6791(_0x297ee8){if(_0x297ee8){for(var _0x4d00f6=Object['keys'](_0x297ee8),_0xf9e1b8=0x0;_0xf9e1b8<_0x4d00f6['length'];++_0xf9e1b8)null!=_0x297ee8[_0x4d00f6[_0xf9e1b8]]&&'__proto__'!==_0x4d00f6[_0xf9e1b8]&&(this[_0x4d00f6[_0xf9e1b8]]=_0x297ee8[_0x4d00f6[_0xf9e1b8]]);}}return _0x2b6791['prototype']['commentThreadId']='',_0x2b6791['prototype']['documentId']='',_0x2b6791['create']=function(_0x419eaa){return new _0x2b6791(_0x419eaa);},_0x2b6791['encode']=function(_0x14407e,_0x4889aa,_0x1713af){if(_0x4889aa||(_0x4889aa=_0x55d9b7['create']()),void 0x0===_0x1713af&&(_0x1713af=0x0),_0x1713af>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x14407e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x14407e,'commentThreadId')&&_0x4889aa['uint32'](0xa)['string'](_0x14407e['commentThreadId']),null!=_0x14407e['documentId']&&Object['hasOwnProperty']['call'](_0x14407e,'documentId')&&_0x4889aa['uint32'](0x12)['string'](_0x14407e['documentId']),_0x4889aa;},_0x2b6791['encodeDelimited']=function(_0x5bb9fa,_0x127c8c){return this['encode'](_0x5bb9fa,_0x127c8c)['ldelim']();},_0x2b6791['decode']=function(_0xc56461,_0x48ed93,_0x33361c,_0x5dac97){if(_0xc56461 instanceof _0x105dc2||(_0xc56461=_0x105dc2['create'](_0xc56461)),void 0x0===_0x5dac97&&(_0x5dac97=0x0),_0x5dac97>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x44d75d=void 0x0===_0x48ed93?_0xc56461['len']:_0xc56461['pos']+_0x48ed93,_0x2fb90c=new _0xbccd8d['CommentsV2RemoveCommentThreadMessage']();_0xc56461['pos']<_0x44d75d;){var _0x31f8ca=_0xc56461['uint32']();if(_0x31f8ca===_0x33361c)break;switch(_0x31f8ca>>>0x3){case 0x1:_0x2fb90c['commentThreadId']=_0xc56461['string']();break;case 0x2:_0x2fb90c['documentId']=_0xc56461['string']();break;default:_0xc56461['skipType'](0x7&_0x31f8ca,_0x5dac97);}}return _0x2fb90c;},_0x2b6791['decodeDelimited']=function(_0x3ada71){return _0x3ada71 instanceof _0x105dc2||(_0x3ada71=new _0x105dc2(_0x3ada71)),this['decode'](_0x3ada71,_0x3ada71['uint32']());},_0x2b6791['verify']=function(_0x54e043,_0x3d14bb){return'object'!=typeof _0x54e043||null===_0x54e043?'object\x20expected':(void 0x0===_0x3d14bb&&(_0x3d14bb=0x0),_0x3d14bb>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x54e043['commentThreadId']&&Object['hasOwnProperty']['call'](_0x54e043,'commentThreadId')&&!_0x222891['isString'](_0x54e043['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x54e043['documentId']&&Object['hasOwnProperty']['call'](_0x54e043,'documentId')&&!_0x222891['isString'](_0x54e043['documentId'])?'documentId:\x20string\x20expected':null);},_0x2b6791['fromObject']=function(_0x1919cb,_0x21f086){if(_0x1919cb instanceof _0xbccd8d['CommentsV2RemoveCommentThreadMessage'])return _0x1919cb;if(!_0x222891['isObject'](_0x1919cb))throw TypeError('.CommentsV2RemoveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x21f086&&(_0x21f086=0x0),_0x21f086>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x57d60e=new _0xbccd8d['CommentsV2RemoveCommentThreadMessage']();return null!=_0x1919cb['commentThreadId']&&(_0x57d60e['commentThreadId']=String(_0x1919cb['commentThreadId'])),null!=_0x1919cb['documentId']&&(_0x57d60e['documentId']=String(_0x1919cb['documentId'])),_0x57d60e;},_0x2b6791['toObject']=function(_0x253793,_0x796d16,_0x54c0f0){if(_0x796d16||(_0x796d16={}),void 0x0===_0x54c0f0&&(_0x54c0f0=0x0),_0x54c0f0>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x486f00={};return _0x796d16['defaults']&&(_0x486f00['commentThreadId']='',_0x486f00['documentId']=''),null!=_0x253793['commentThreadId']&&Object['hasOwnProperty']['call'](_0x253793,'commentThreadId')&&(_0x486f00['commentThreadId']=_0x253793['commentThreadId']),null!=_0x253793['documentId']&&Object['hasOwnProperty']['call'](_0x253793,'documentId')&&(_0x486f00['documentId']=_0x253793['documentId']),_0x486f00;},_0x2b6791['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x2b6791['getTypeUrl']=function(_0x372111){return void 0x0===_0x372111&&(_0x372111='type.googleapis.com'),_0x372111+'/CommentsV2RemoveCommentThreadMessage';},_0x2b6791;}()),_0xbccd8d['CommentsV2RemoveCommentMessage']=(function(){function _0xc85e39(_0x4112c5){if(_0x4112c5){for(var _0x3a01f3=Object['keys'](_0x4112c5),_0x19522a=0x0;_0x19522a<_0x3a01f3['length'];++_0x19522a)null!=_0x4112c5[_0x3a01f3[_0x19522a]]&&'__proto__'!==_0x3a01f3[_0x19522a]&&(this[_0x3a01f3[_0x19522a]]=_0x4112c5[_0x3a01f3[_0x19522a]]);}}return _0xc85e39['prototype']['commentThreadId']='',_0xc85e39['prototype']['commentId']='',_0xc85e39['prototype']['documentId']='',_0xc85e39['create']=function(_0x1f758b){return new _0xc85e39(_0x1f758b);},_0xc85e39['encode']=function(_0x1c8639,_0x3366d4,_0x4afa71){if(_0x3366d4||(_0x3366d4=_0x55d9b7['create']()),void 0x0===_0x4afa71&&(_0x4afa71=0x0),_0x4afa71>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1c8639['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1c8639,'commentThreadId')&&_0x3366d4['uint32'](0xa)['string'](_0x1c8639['commentThreadId']),null!=_0x1c8639['commentId']&&Object['hasOwnProperty']['call'](_0x1c8639,'commentId')&&_0x3366d4['uint32'](0x12)['string'](_0x1c8639['commentId']),null!=_0x1c8639['documentId']&&Object['hasOwnProperty']['call'](_0x1c8639,'documentId')&&_0x3366d4['uint32'](0x1a)['string'](_0x1c8639['documentId']),_0x3366d4;},_0xc85e39['encodeDelimited']=function(_0xd80bda,_0x38d110){return this['encode'](_0xd80bda,_0x38d110)['ldelim']();},_0xc85e39['decode']=function(_0x39c842,_0x9ff0ea,_0x1bd649,_0x4d0378){if(_0x39c842 instanceof _0x105dc2||(_0x39c842=_0x105dc2['create'](_0x39c842)),void 0x0===_0x4d0378&&(_0x4d0378=0x0),_0x4d0378>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x24f0e7=void 0x0===_0x9ff0ea?_0x39c842['len']:_0x39c842['pos']+_0x9ff0ea,_0x1f5c91=new _0xbccd8d['CommentsV2RemoveCommentMessage']();_0x39c842['pos']<_0x24f0e7;){var _0x35b74d=_0x39c842['uint32']();if(_0x35b74d===_0x1bd649)break;switch(_0x35b74d>>>0x3){case 0x1:_0x1f5c91['commentThreadId']=_0x39c842['string']();break;case 0x2:_0x1f5c91['commentId']=_0x39c842['string']();break;case 0x3:_0x1f5c91['documentId']=_0x39c842['string']();break;default:_0x39c842['skipType'](0x7&_0x35b74d,_0x4d0378);}}return _0x1f5c91;},_0xc85e39['decodeDelimited']=function(_0x504410){return _0x504410 instanceof _0x105dc2||(_0x504410=new _0x105dc2(_0x504410)),this['decode'](_0x504410,_0x504410['uint32']());},_0xc85e39['verify']=function(_0x56614e,_0x5154cb){return'object'!=typeof _0x56614e||null===_0x56614e?'object\x20expected':(void 0x0===_0x5154cb&&(_0x5154cb=0x0),_0x5154cb>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x56614e['commentThreadId']&&Object['hasOwnProperty']['call'](_0x56614e,'commentThreadId')&&!_0x222891['isString'](_0x56614e['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x56614e['commentId']&&Object['hasOwnProperty']['call'](_0x56614e,'commentId')&&!_0x222891['isString'](_0x56614e['commentId'])?'commentId:\x20string\x20expected':null!=_0x56614e['documentId']&&Object['hasOwnProperty']['call'](_0x56614e,'documentId')&&!_0x222891['isString'](_0x56614e['documentId'])?'documentId:\x20string\x20expected':null);},_0xc85e39['fromObject']=function(_0x5ac563,_0x317493){if(_0x5ac563 instanceof _0xbccd8d['CommentsV2RemoveCommentMessage'])return _0x5ac563;if(!_0x222891['isObject'](_0x5ac563))throw TypeError('.CommentsV2RemoveCommentMessage:\x20object\x20expected');if(void 0x0===_0x317493&&(_0x317493=0x0),_0x317493>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1d18ef=new _0xbccd8d['CommentsV2RemoveCommentMessage']();return null!=_0x5ac563['commentThreadId']&&(_0x1d18ef['commentThreadId']=String(_0x5ac563['commentThreadId'])),null!=_0x5ac563['commentId']&&(_0x1d18ef['commentId']=String(_0x5ac563['commentId'])),null!=_0x5ac563['documentId']&&(_0x1d18ef['documentId']=String(_0x5ac563['documentId'])),_0x1d18ef;},_0xc85e39['toObject']=function(_0xa32328,_0x2512df,_0x322e9e){if(_0x2512df||(_0x2512df={}),void 0x0===_0x322e9e&&(_0x322e9e=0x0),_0x322e9e>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2198ee={};return _0x2512df['defaults']&&(_0x2198ee['commentThreadId']='',_0x2198ee['commentId']='',_0x2198ee['documentId']=''),null!=_0xa32328['commentThreadId']&&Object['hasOwnProperty']['call'](_0xa32328,'commentThreadId')&&(_0x2198ee['commentThreadId']=_0xa32328['commentThreadId']),null!=_0xa32328['commentId']&&Object['hasOwnProperty']['call'](_0xa32328,'commentId')&&(_0x2198ee['commentId']=_0xa32328['commentId']),null!=_0xa32328['documentId']&&Object['hasOwnProperty']['call'](_0xa32328,'documentId')&&(_0x2198ee['documentId']=_0xa32328['documentId']),_0x2198ee;},_0xc85e39['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0xc85e39['getTypeUrl']=function(_0x25f7a6){return void 0x0===_0x25f7a6&&(_0x25f7a6='type.googleapis.com'),_0x25f7a6+'/CommentsV2RemoveCommentMessage';},_0xc85e39;}()),_0xbccd8d['CommentsV2GetDocumentThreadsMessage']=(function(){function _0x114ea5(_0x5b74ac){if(_0x5b74ac){for(var _0x5b0fe6=Object['keys'](_0x5b74ac),_0x1e0b8c=0x0;_0x1e0b8c<_0x5b0fe6['length'];++_0x1e0b8c)null!=_0x5b74ac[_0x5b0fe6[_0x1e0b8c]]&&'__proto__'!==_0x5b0fe6[_0x1e0b8c]&&(this[_0x5b0fe6[_0x1e0b8c]]=_0x5b74ac[_0x5b0fe6[_0x1e0b8c]]);}}return _0x114ea5['prototype']['documentId']='',_0x114ea5['create']=function(_0x127c96){return new _0x114ea5(_0x127c96);},_0x114ea5['encode']=function(_0x31414c,_0xe6d74e,_0x26016f){if(_0xe6d74e||(_0xe6d74e=_0x55d9b7['create']()),void 0x0===_0x26016f&&(_0x26016f=0x0),_0x26016f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x31414c['documentId']&&Object['hasOwnProperty']['call'](_0x31414c,'documentId')&&_0xe6d74e['uint32'](0xa)['string'](_0x31414c['documentId']),_0xe6d74e;},_0x114ea5['encodeDelimited']=function(_0x57584c,_0x48b008){return this['encode'](_0x57584c,_0x48b008)['ldelim']();},_0x114ea5['decode']=function(_0x3a02ec,_0x588a33,_0x46be6b,_0x585f0b){if(_0x3a02ec instanceof _0x105dc2||(_0x3a02ec=_0x105dc2['create'](_0x3a02ec)),void 0x0===_0x585f0b&&(_0x585f0b=0x0),_0x585f0b>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5e7fb4=void 0x0===_0x588a33?_0x3a02ec['len']:_0x3a02ec['pos']+_0x588a33,_0x42d5ff=new _0xbccd8d['CommentsV2GetDocumentThreadsMessage']();_0x3a02ec['pos']<_0x5e7fb4;){var _0x57d954=_0x3a02ec['uint32']();if(_0x57d954===_0x46be6b)break;_0x57d954>>>0x3==0x1?_0x42d5ff['documentId']=_0x3a02ec['string']():_0x3a02ec['skipType'](0x7&_0x57d954,_0x585f0b);}return _0x42d5ff;},_0x114ea5['decodeDelimited']=function(_0x252a5b){return _0x252a5b instanceof _0x105dc2||(_0x252a5b=new _0x105dc2(_0x252a5b)),this['decode'](_0x252a5b,_0x252a5b['uint32']());},_0x114ea5['verify']=function(_0x17b8d9,_0x3a3c6a){return'object'!=typeof _0x17b8d9||null===_0x17b8d9?'object\x20expected':(void 0x0===_0x3a3c6a&&(_0x3a3c6a=0x0),_0x3a3c6a>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x17b8d9['documentId']&&Object['hasOwnProperty']['call'](_0x17b8d9,'documentId')&&!_0x222891['isString'](_0x17b8d9['documentId'])?'documentId:\x20string\x20expected':null);},_0x114ea5['fromObject']=function(_0x8c9eb9,_0x638ade){if(_0x8c9eb9 instanceof _0xbccd8d['CommentsV2GetDocumentThreadsMessage'])return _0x8c9eb9;if(!_0x222891['isObject'](_0x8c9eb9))throw TypeError('.CommentsV2GetDocumentThreadsMessage:\x20object\x20expected');if(void 0x0===_0x638ade&&(_0x638ade=0x0),_0x638ade>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xcfa603=new _0xbccd8d['CommentsV2GetDocumentThreadsMessage']();return null!=_0x8c9eb9['documentId']&&(_0xcfa603['documentId']=String(_0x8c9eb9['documentId'])),_0xcfa603;},_0x114ea5['toObject']=function(_0x2a0a74,_0x1ea6da,_0x59312d){if(_0x1ea6da||(_0x1ea6da={}),void 0x0===_0x59312d&&(_0x59312d=0x0),_0x59312d>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xedeaae={};return _0x1ea6da['defaults']&&(_0xedeaae['documentId']=''),null!=_0x2a0a74['documentId']&&Object['hasOwnProperty']['call'](_0x2a0a74,'documentId')&&(_0xedeaae['documentId']=_0x2a0a74['documentId']),_0xedeaae;},_0x114ea5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x114ea5['getTypeUrl']=function(_0xbdc8d8){return void 0x0===_0xbdc8d8&&(_0xbdc8d8='type.googleapis.com'),_0xbdc8d8+'/CommentsV2GetDocumentThreadsMessage';},_0x114ea5;}()),_0xbccd8d['CommentsV2GetCommentThreadMessage']=(function(){function _0x3f9e08(_0xf4bc38){if(_0xf4bc38){for(var _0x4b872a=Object['keys'](_0xf4bc38),_0x263ed3=0x0;_0x263ed3<_0x4b872a['length'];++_0x263ed3)null!=_0xf4bc38[_0x4b872a[_0x263ed3]]&&'__proto__'!==_0x4b872a[_0x263ed3]&&(this[_0x4b872a[_0x263ed3]]=_0xf4bc38[_0x4b872a[_0x263ed3]]);}}return _0x3f9e08['prototype']['commentThreadId']='',_0x3f9e08['prototype']['documentId']='',_0x3f9e08['create']=function(_0x43916d){return new _0x3f9e08(_0x43916d);},_0x3f9e08['encode']=function(_0x628ac1,_0x424f75,_0x5697f8){if(_0x424f75||(_0x424f75=_0x55d9b7['create']()),void 0x0===_0x5697f8&&(_0x5697f8=0x0),_0x5697f8>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x628ac1['commentThreadId']&&Object['hasOwnProperty']['call'](_0x628ac1,'commentThreadId')&&_0x424f75['uint32'](0xa)['string'](_0x628ac1['commentThreadId']),null!=_0x628ac1['documentId']&&Object['hasOwnProperty']['call'](_0x628ac1,'documentId')&&_0x424f75['uint32'](0x12)['string'](_0x628ac1['documentId']),_0x424f75;},_0x3f9e08['encodeDelimited']=function(_0x15fe16,_0x5abd28){return this['encode'](_0x15fe16,_0x5abd28)['ldelim']();},_0x3f9e08['decode']=function(_0x5695c1,_0x44e896,_0x9ebd69,_0x3e08d8){if(_0x5695c1 instanceof _0x105dc2||(_0x5695c1=_0x105dc2['create'](_0x5695c1)),void 0x0===_0x3e08d8&&(_0x3e08d8=0x0),_0x3e08d8>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4f4bf0=void 0x0===_0x44e896?_0x5695c1['len']:_0x5695c1['pos']+_0x44e896,_0x58b4a4=new _0xbccd8d['CommentsV2GetCommentThreadMessage']();_0x5695c1['pos']<_0x4f4bf0;){var _0xd1e7c0=_0x5695c1['uint32']();if(_0xd1e7c0===_0x9ebd69)break;switch(_0xd1e7c0>>>0x3){case 0x1:_0x58b4a4['commentThreadId']=_0x5695c1['string']();break;case 0x2:_0x58b4a4['documentId']=_0x5695c1['string']();break;default:_0x5695c1['skipType'](0x7&_0xd1e7c0,_0x3e08d8);}}return _0x58b4a4;},_0x3f9e08['decodeDelimited']=function(_0x2107b4){return _0x2107b4 instanceof _0x105dc2||(_0x2107b4=new _0x105dc2(_0x2107b4)),this['decode'](_0x2107b4,_0x2107b4['uint32']());},_0x3f9e08['verify']=function(_0x489d5d,_0x1a0c01){return'object'!=typeof _0x489d5d||null===_0x489d5d?'object\x20expected':(void 0x0===_0x1a0c01&&(_0x1a0c01=0x0),_0x1a0c01>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x489d5d['commentThreadId']&&Object['hasOwnProperty']['call'](_0x489d5d,'commentThreadId')&&!_0x222891['isString'](_0x489d5d['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x489d5d['documentId']&&Object['hasOwnProperty']['call'](_0x489d5d,'documentId')&&!_0x222891['isString'](_0x489d5d['documentId'])?'documentId:\x20string\x20expected':null);},_0x3f9e08['fromObject']=function(_0x558677,_0x4836c1){if(_0x558677 instanceof _0xbccd8d['CommentsV2GetCommentThreadMessage'])return _0x558677;if(!_0x222891['isObject'](_0x558677))throw TypeError('.CommentsV2GetCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x4836c1&&(_0x4836c1=0x0),_0x4836c1>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x21984b=new _0xbccd8d['CommentsV2GetCommentThreadMessage']();return null!=_0x558677['commentThreadId']&&(_0x21984b['commentThreadId']=String(_0x558677['commentThreadId'])),null!=_0x558677['documentId']&&(_0x21984b['documentId']=String(_0x558677['documentId'])),_0x21984b;},_0x3f9e08['toObject']=function(_0x210314,_0x24e453,_0x2d65df){if(_0x24e453||(_0x24e453={}),void 0x0===_0x2d65df&&(_0x2d65df=0x0),_0x2d65df>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4425b={};return _0x24e453['defaults']&&(_0x4425b['commentThreadId']='',_0x4425b['documentId']=''),null!=_0x210314['commentThreadId']&&Object['hasOwnProperty']['call'](_0x210314,'commentThreadId')&&(_0x4425b['commentThreadId']=_0x210314['commentThreadId']),null!=_0x210314['documentId']&&Object['hasOwnProperty']['call'](_0x210314,'documentId')&&(_0x4425b['documentId']=_0x210314['documentId']),_0x4425b;},_0x3f9e08['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3f9e08['getTypeUrl']=function(_0x6f8156){return void 0x0===_0x6f8156&&(_0x6f8156='type.googleapis.com'),_0x6f8156+'/CommentsV2GetCommentThreadMessage';},_0x3f9e08;}()),_0xbccd8d['CommentsV2ConnectMessage']=(function(){function _0x276f06(_0x1a4d0c){if(_0x1a4d0c){for(var _0x431131=Object['keys'](_0x1a4d0c),_0x409426=0x0;_0x409426<_0x431131['length'];++_0x409426)null!=_0x1a4d0c[_0x431131[_0x409426]]&&'__proto__'!==_0x431131[_0x409426]&&(this[_0x431131[_0x409426]]=_0x1a4d0c[_0x431131[_0x409426]]);}}return _0x276f06['prototype']['documentId']='',_0x276f06['create']=function(_0x44480d){return new _0x276f06(_0x44480d);},_0x276f06['encode']=function(_0x42a7ab,_0xe655b6,_0x1751d0){if(_0xe655b6||(_0xe655b6=_0x55d9b7['create']()),void 0x0===_0x1751d0&&(_0x1751d0=0x0),_0x1751d0>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x42a7ab['documentId']&&Object['hasOwnProperty']['call'](_0x42a7ab,'documentId')&&_0xe655b6['uint32'](0xa)['string'](_0x42a7ab['documentId']),_0xe655b6;},_0x276f06['encodeDelimited']=function(_0x1e99b9,_0x1a77cc){return this['encode'](_0x1e99b9,_0x1a77cc)['ldelim']();},_0x276f06['decode']=function(_0x2d294f,_0x5bec37,_0x3d3854,_0x4bf742){if(_0x2d294f instanceof _0x105dc2||(_0x2d294f=_0x105dc2['create'](_0x2d294f)),void 0x0===_0x4bf742&&(_0x4bf742=0x0),_0x4bf742>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x95ae40=void 0x0===_0x5bec37?_0x2d294f['len']:_0x2d294f['pos']+_0x5bec37,_0x58de9c=new _0xbccd8d['CommentsV2ConnectMessage']();_0x2d294f['pos']<_0x95ae40;){var _0x202bd0=_0x2d294f['uint32']();if(_0x202bd0===_0x3d3854)break;_0x202bd0>>>0x3==0x1?_0x58de9c['documentId']=_0x2d294f['string']():_0x2d294f['skipType'](0x7&_0x202bd0,_0x4bf742);}return _0x58de9c;},_0x276f06['decodeDelimited']=function(_0x49ccd2){return _0x49ccd2 instanceof _0x105dc2||(_0x49ccd2=new _0x105dc2(_0x49ccd2)),this['decode'](_0x49ccd2,_0x49ccd2['uint32']());},_0x276f06['verify']=function(_0x276db5,_0x407342){return'object'!=typeof _0x276db5||null===_0x276db5?'object\x20expected':(void 0x0===_0x407342&&(_0x407342=0x0),_0x407342>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x276db5['documentId']&&Object['hasOwnProperty']['call'](_0x276db5,'documentId')&&!_0x222891['isString'](_0x276db5['documentId'])?'documentId:\x20string\x20expected':null);},_0x276f06['fromObject']=function(_0xafaf0e,_0x55bc59){if(_0xafaf0e instanceof _0xbccd8d['CommentsV2ConnectMessage'])return _0xafaf0e;if(!_0x222891['isObject'](_0xafaf0e))throw TypeError('.CommentsV2ConnectMessage:\x20object\x20expected');if(void 0x0===_0x55bc59&&(_0x55bc59=0x0),_0x55bc59>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x288ea7=new _0xbccd8d['CommentsV2ConnectMessage']();return null!=_0xafaf0e['documentId']&&(_0x288ea7['documentId']=String(_0xafaf0e['documentId'])),_0x288ea7;},_0x276f06['toObject']=function(_0x1c14c7,_0x148d9c,_0x398e31){if(_0x148d9c||(_0x148d9c={}),void 0x0===_0x398e31&&(_0x398e31=0x0),_0x398e31>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2b5c9a={};return _0x148d9c['defaults']&&(_0x2b5c9a['documentId']=''),null!=_0x1c14c7['documentId']&&Object['hasOwnProperty']['call'](_0x1c14c7,'documentId')&&(_0x2b5c9a['documentId']=_0x1c14c7['documentId']),_0x2b5c9a;},_0x276f06['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x276f06['getTypeUrl']=function(_0x33cf20){return void 0x0===_0x33cf20&&(_0x33cf20='type.googleapis.com'),_0x33cf20+'/CommentsV2ConnectMessage';},_0x276f06;}()),_0xbccd8d['CommentsV2AddCommentMessage']=(function(){function _0x26bbb5(_0x5b2139){if(_0x5b2139){for(var _0x1170e6=Object['keys'](_0x5b2139),_0x550140=0x0;_0x550140<_0x1170e6['length'];++_0x550140)null!=_0x5b2139[_0x1170e6[_0x550140]]&&'__proto__'!==_0x1170e6[_0x550140]&&(this[_0x1170e6[_0x550140]]=_0x5b2139[_0x1170e6[_0x550140]]);}}return _0x26bbb5['prototype']['commentThreadId']='',_0x26bbb5['prototype']['content']='',_0x26bbb5['prototype']['documentId']='',_0x26bbb5['prototype']['commentId']='',_0x26bbb5['prototype']['createdAt']='',_0x26bbb5['prototype']['userId']='',_0x26bbb5['prototype']['attributes']='',_0x26bbb5['prototype']['commentThread']=null,_0x26bbb5['create']=function(_0xeb90e3){return new _0x26bbb5(_0xeb90e3);},_0x26bbb5['encode']=function(_0x55ba3a,_0x2cad87,_0x4565dc){if(_0x2cad87||(_0x2cad87=_0x55d9b7['create']()),void 0x0===_0x4565dc&&(_0x4565dc=0x0),_0x4565dc>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x55ba3a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x55ba3a,'commentThreadId')&&_0x2cad87['uint32'](0xa)['string'](_0x55ba3a['commentThreadId']),null!=_0x55ba3a['content']&&Object['hasOwnProperty']['call'](_0x55ba3a,'content')&&_0x2cad87['uint32'](0x12)['string'](_0x55ba3a['content']),null!=_0x55ba3a['documentId']&&Object['hasOwnProperty']['call'](_0x55ba3a,'documentId')&&_0x2cad87['uint32'](0x1a)['string'](_0x55ba3a['documentId']),null!=_0x55ba3a['commentId']&&Object['hasOwnProperty']['call'](_0x55ba3a,'commentId')&&_0x2cad87['uint32'](0x22)['string'](_0x55ba3a['commentId']),null!=_0x55ba3a['createdAt']&&Object['hasOwnProperty']['call'](_0x55ba3a,'createdAt')&&_0x2cad87['uint32'](0x2a)['string'](_0x55ba3a['createdAt']),null!=_0x55ba3a['userId']&&Object['hasOwnProperty']['call'](_0x55ba3a,'userId')&&_0x2cad87['uint32'](0x32)['string'](_0x55ba3a['userId']),null!=_0x55ba3a['attributes']&&Object['hasOwnProperty']['call'](_0x55ba3a,'attributes')&&_0x2cad87['uint32'](0x3a)['string'](_0x55ba3a['attributes']),null!=_0x55ba3a['commentThread']&&Object['hasOwnProperty']['call'](_0x55ba3a,'commentThread')&&_0xbccd8d['CommentsThreadDescriptor']['encode'](_0x55ba3a['commentThread'],_0x2cad87['uint32'](0x42)['fork'](),_0x4565dc+0x1)['ldelim'](),_0x2cad87;},_0x26bbb5['encodeDelimited']=function(_0xc3d360,_0x313c7c){return this['encode'](_0xc3d360,_0x313c7c)['ldelim']();},_0x26bbb5['decode']=function(_0x5efb9e,_0x546b20,_0x3952dd,_0x31d2b4){if(_0x5efb9e instanceof _0x105dc2||(_0x5efb9e=_0x105dc2['create'](_0x5efb9e)),void 0x0===_0x31d2b4&&(_0x31d2b4=0x0),_0x31d2b4>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2a8385=void 0x0===_0x546b20?_0x5efb9e['len']:_0x5efb9e['pos']+_0x546b20,_0x284211=new _0xbccd8d['CommentsV2AddCommentMessage']();_0x5efb9e['pos']<_0x2a8385;){var _0x421b57=_0x5efb9e['uint32']();if(_0x421b57===_0x3952dd)break;switch(_0x421b57>>>0x3){case 0x1:_0x284211['commentThreadId']=_0x5efb9e['string']();break;case 0x2:_0x284211['content']=_0x5efb9e['string']();break;case 0x3:_0x284211['documentId']=_0x5efb9e['string']();break;case 0x4:_0x284211['commentId']=_0x5efb9e['string']();break;case 0x5:_0x284211['createdAt']=_0x5efb9e['string']();break;case 0x6:_0x284211['userId']=_0x5efb9e['string']();break;case 0x7:_0x284211['attributes']=_0x5efb9e['string']();break;case 0x8:_0x284211['commentThread']=_0xbccd8d['CommentsThreadDescriptor']['decode'](_0x5efb9e,_0x5efb9e['uint32'](),void 0x0,_0x31d2b4+0x1);break;default:_0x5efb9e['skipType'](0x7&_0x421b57,_0x31d2b4);}}return _0x284211;},_0x26bbb5['decodeDelimited']=function(_0xf9fb7){return _0xf9fb7 instanceof _0x105dc2||(_0xf9fb7=new _0x105dc2(_0xf9fb7)),this['decode'](_0xf9fb7,_0xf9fb7['uint32']());},_0x26bbb5['verify']=function(_0x4dcced,_0xfd2fed){if('object'!=typeof _0x4dcced||null===_0x4dcced)return'object\x20expected';if(void 0x0===_0xfd2fed&&(_0xfd2fed=0x0),_0xfd2fed>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x4dcced['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4dcced,'commentThreadId')&&!_0x222891['isString'](_0x4dcced['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x4dcced['content']&&Object['hasOwnProperty']['call'](_0x4dcced,'content')&&!_0x222891['isString'](_0x4dcced['content']))return'content:\x20string\x20expected';if(null!=_0x4dcced['documentId']&&Object['hasOwnProperty']['call'](_0x4dcced,'documentId')&&!_0x222891['isString'](_0x4dcced['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x4dcced['commentId']&&Object['hasOwnProperty']['call'](_0x4dcced,'commentId')&&!_0x222891['isString'](_0x4dcced['commentId']))return'commentId:\x20string\x20expected';if(null!=_0x4dcced['createdAt']&&Object['hasOwnProperty']['call'](_0x4dcced,'createdAt')&&!_0x222891['isString'](_0x4dcced['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x4dcced['userId']&&Object['hasOwnProperty']['call'](_0x4dcced,'userId')&&!_0x222891['isString'](_0x4dcced['userId']))return'userId:\x20string\x20expected';if(null!=_0x4dcced['attributes']&&Object['hasOwnProperty']['call'](_0x4dcced,'attributes')&&!_0x222891['isString'](_0x4dcced['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x4dcced['commentThread']&&Object['hasOwnProperty']['call'](_0x4dcced,'commentThread')){var _0x1bd725=_0xbccd8d['CommentsThreadDescriptor']['verify'](_0x4dcced['commentThread'],_0xfd2fed+0x1);if(_0x1bd725)return'commentThread.'+_0x1bd725;}return null;},_0x26bbb5['fromObject']=function(_0xb5ae9e,_0x2ad38c){if(_0xb5ae9e instanceof _0xbccd8d['CommentsV2AddCommentMessage'])return _0xb5ae9e;if(!_0x222891['isObject'](_0xb5ae9e))throw TypeError('.CommentsV2AddCommentMessage:\x20object\x20expected');if(void 0x0===_0x2ad38c&&(_0x2ad38c=0x0),_0x2ad38c>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd91235=new _0xbccd8d['CommentsV2AddCommentMessage']();if(null!=_0xb5ae9e['commentThreadId']&&(_0xd91235['commentThreadId']=String(_0xb5ae9e['commentThreadId'])),null!=_0xb5ae9e['content']&&(_0xd91235['content']=String(_0xb5ae9e['content'])),null!=_0xb5ae9e['documentId']&&(_0xd91235['documentId']=String(_0xb5ae9e['documentId'])),null!=_0xb5ae9e['commentId']&&(_0xd91235['commentId']=String(_0xb5ae9e['commentId'])),null!=_0xb5ae9e['createdAt']&&(_0xd91235['createdAt']=String(_0xb5ae9e['createdAt'])),null!=_0xb5ae9e['userId']&&(_0xd91235['userId']=String(_0xb5ae9e['userId'])),null!=_0xb5ae9e['attributes']&&(_0xd91235['attributes']=String(_0xb5ae9e['attributes'])),null!=_0xb5ae9e['commentThread']){if(!_0x222891['isObject'](_0xb5ae9e['commentThread']))throw TypeError('.CommentsV2AddCommentMessage.commentThread:\x20object\x20expected');_0xd91235['commentThread']=_0xbccd8d['CommentsThreadDescriptor']['fromObject'](_0xb5ae9e['commentThread'],_0x2ad38c+0x1);}return _0xd91235;},_0x26bbb5['toObject']=function(_0x72684a,_0x48a32e,_0xb69854){if(_0x48a32e||(_0x48a32e={}),void 0x0===_0xb69854&&(_0xb69854=0x0),_0xb69854>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x137b0b={};return _0x48a32e['defaults']&&(_0x137b0b['commentThreadId']='',_0x137b0b['content']='',_0x137b0b['documentId']='',_0x137b0b['commentId']='',_0x137b0b['createdAt']='',_0x137b0b['userId']='',_0x137b0b['attributes']='',_0x137b0b['commentThread']=null),null!=_0x72684a['commentThreadId']&&Object['hasOwnProperty']['call'](_0x72684a,'commentThreadId')&&(_0x137b0b['commentThreadId']=_0x72684a['commentThreadId']),null!=_0x72684a['content']&&Object['hasOwnProperty']['call'](_0x72684a,'content')&&(_0x137b0b['content']=_0x72684a['content']),null!=_0x72684a['documentId']&&Object['hasOwnProperty']['call'](_0x72684a,'documentId')&&(_0x137b0b['documentId']=_0x72684a['documentId']),null!=_0x72684a['commentId']&&Object['hasOwnProperty']['call'](_0x72684a,'commentId')&&(_0x137b0b['commentId']=_0x72684a['commentId']),null!=_0x72684a['createdAt']&&Object['hasOwnProperty']['call'](_0x72684a,'createdAt')&&(_0x137b0b['createdAt']=_0x72684a['createdAt']),null!=_0x72684a['userId']&&Object['hasOwnProperty']['call'](_0x72684a,'userId')&&(_0x137b0b['userId']=_0x72684a['userId']),null!=_0x72684a['attributes']&&Object['hasOwnProperty']['call'](_0x72684a,'attributes')&&(_0x137b0b['attributes']=_0x72684a['attributes']),null!=_0x72684a['commentThread']&&Object['hasOwnProperty']['call'](_0x72684a,'commentThread')&&(_0x137b0b['commentThread']=_0xbccd8d['CommentsThreadDescriptor']['toObject'](_0x72684a['commentThread'],_0x48a32e,_0xb69854+0x1)),_0x137b0b;},_0x26bbb5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x26bbb5['getTypeUrl']=function(_0xcad914){return void 0x0===_0xcad914&&(_0xcad914='type.googleapis.com'),_0xcad914+'/CommentsV2AddCommentMessage';},_0x26bbb5;}()),_0xbccd8d['CommentsV2UpdateCommentThreadMessage']=(function(){function _0x3e2955(_0x103d20){if(_0x103d20){for(var _0xdfd608=Object['keys'](_0x103d20),_0x453133=0x0;_0x453133<_0xdfd608['length'];++_0x453133)null!=_0x103d20[_0xdfd608[_0x453133]]&&'__proto__'!==_0xdfd608[_0x453133]&&(this[_0xdfd608[_0x453133]]=_0x103d20[_0xdfd608[_0x453133]]);}}return _0x3e2955['prototype']['commentThreadId']='',_0x3e2955['prototype']['documentId']='',_0x3e2955['prototype']['context']='',_0x3e2955['prototype']['attributes']='',_0x3e2955['prototype']['unlinkedAt']='',_0x3e2955['create']=function(_0x51b71a){return new _0x3e2955(_0x51b71a);},_0x3e2955['encode']=function(_0x1da316,_0x2a3994,_0x4110bf){if(_0x2a3994||(_0x2a3994=_0x55d9b7['create']()),void 0x0===_0x4110bf&&(_0x4110bf=0x0),_0x4110bf>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x1da316['commentThreadId']&&Object['hasOwnProperty']['call'](_0x1da316,'commentThreadId')&&_0x2a3994['uint32'](0xa)['string'](_0x1da316['commentThreadId']),null!=_0x1da316['documentId']&&Object['hasOwnProperty']['call'](_0x1da316,'documentId')&&_0x2a3994['uint32'](0x12)['string'](_0x1da316['documentId']),null!=_0x1da316['context']&&Object['hasOwnProperty']['call'](_0x1da316,'context')&&_0x2a3994['uint32'](0x1a)['string'](_0x1da316['context']),null!=_0x1da316['attributes']&&Object['hasOwnProperty']['call'](_0x1da316,'attributes')&&_0x2a3994['uint32'](0x22)['string'](_0x1da316['attributes']),null!=_0x1da316['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x1da316,'unlinkedAt')&&_0x2a3994['uint32'](0x2a)['string'](_0x1da316['unlinkedAt']),_0x2a3994;},_0x3e2955['encodeDelimited']=function(_0x4f8bcc,_0x311fcf){return this['encode'](_0x4f8bcc,_0x311fcf)['ldelim']();},_0x3e2955['decode']=function(_0x236772,_0x4a166e,_0x366806,_0x2b9490){if(_0x236772 instanceof _0x105dc2||(_0x236772=_0x105dc2['create'](_0x236772)),void 0x0===_0x2b9490&&(_0x2b9490=0x0),_0x2b9490>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x7f398f=void 0x0===_0x4a166e?_0x236772['len']:_0x236772['pos']+_0x4a166e,_0x3b8827=new _0xbccd8d['CommentsV2UpdateCommentThreadMessage']();_0x236772['pos']<_0x7f398f;){var _0x11bf21=_0x236772['uint32']();if(_0x11bf21===_0x366806)break;switch(_0x11bf21>>>0x3){case 0x1:_0x3b8827['commentThreadId']=_0x236772['string']();break;case 0x2:_0x3b8827['documentId']=_0x236772['string']();break;case 0x3:_0x3b8827['context']=_0x236772['string']();break;case 0x4:_0x3b8827['attributes']=_0x236772['string']();break;case 0x5:_0x3b8827['unlinkedAt']=_0x236772['string']();break;default:_0x236772['skipType'](0x7&_0x11bf21,_0x2b9490);}}return _0x3b8827;},_0x3e2955['decodeDelimited']=function(_0xbf91d8){return _0xbf91d8 instanceof _0x105dc2||(_0xbf91d8=new _0x105dc2(_0xbf91d8)),this['decode'](_0xbf91d8,_0xbf91d8['uint32']());},_0x3e2955['verify']=function(_0xd5cfc8,_0x4b70b2){return'object'!=typeof _0xd5cfc8||null===_0xd5cfc8?'object\x20expected':(void 0x0===_0x4b70b2&&(_0x4b70b2=0x0),_0x4b70b2>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0xd5cfc8['commentThreadId']&&Object['hasOwnProperty']['call'](_0xd5cfc8,'commentThreadId')&&!_0x222891['isString'](_0xd5cfc8['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0xd5cfc8['documentId']&&Object['hasOwnProperty']['call'](_0xd5cfc8,'documentId')&&!_0x222891['isString'](_0xd5cfc8['documentId'])?'documentId:\x20string\x20expected':null!=_0xd5cfc8['context']&&Object['hasOwnProperty']['call'](_0xd5cfc8,'context')&&!_0x222891['isString'](_0xd5cfc8['context'])?'context:\x20string\x20expected':null!=_0xd5cfc8['attributes']&&Object['hasOwnProperty']['call'](_0xd5cfc8,'attributes')&&!_0x222891['isString'](_0xd5cfc8['attributes'])?'attributes:\x20string\x20expected':null!=_0xd5cfc8['unlinkedAt']&&Object['hasOwnProperty']['call'](_0xd5cfc8,'unlinkedAt')&&!_0x222891['isString'](_0xd5cfc8['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null);},_0x3e2955['fromObject']=function(_0x279630,_0x16d97e){if(_0x279630 instanceof _0xbccd8d['CommentsV2UpdateCommentThreadMessage'])return _0x279630;if(!_0x222891['isObject'](_0x279630))throw TypeError('.CommentsV2UpdateCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x16d97e&&(_0x16d97e=0x0),_0x16d97e>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x136088=new _0xbccd8d['CommentsV2UpdateCommentThreadMessage']();return null!=_0x279630['commentThreadId']&&(_0x136088['commentThreadId']=String(_0x279630['commentThreadId'])),null!=_0x279630['documentId']&&(_0x136088['documentId']=String(_0x279630['documentId'])),null!=_0x279630['context']&&(_0x136088['context']=String(_0x279630['context'])),null!=_0x279630['attributes']&&(_0x136088['attributes']=String(_0x279630['attributes'])),null!=_0x279630['unlinkedAt']&&(_0x136088['unlinkedAt']=String(_0x279630['unlinkedAt'])),_0x136088;},_0x3e2955['toObject']=function(_0x5d1071,_0x3eaa50,_0x1c4faf){if(_0x3eaa50||(_0x3eaa50={}),void 0x0===_0x1c4faf&&(_0x1c4faf=0x0),_0x1c4faf>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3e4ba9={};return _0x3eaa50['defaults']&&(_0x3e4ba9['commentThreadId']='',_0x3e4ba9['documentId']='',_0x3e4ba9['context']='',_0x3e4ba9['attributes']='',_0x3e4ba9['unlinkedAt']=''),null!=_0x5d1071['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5d1071,'commentThreadId')&&(_0x3e4ba9['commentThreadId']=_0x5d1071['commentThreadId']),null!=_0x5d1071['documentId']&&Object['hasOwnProperty']['call'](_0x5d1071,'documentId')&&(_0x3e4ba9['documentId']=_0x5d1071['documentId']),null!=_0x5d1071['context']&&Object['hasOwnProperty']['call'](_0x5d1071,'context')&&(_0x3e4ba9['context']=_0x5d1071['context']),null!=_0x5d1071['attributes']&&Object['hasOwnProperty']['call'](_0x5d1071,'attributes')&&(_0x3e4ba9['attributes']=_0x5d1071['attributes']),null!=_0x5d1071['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5d1071,'unlinkedAt')&&(_0x3e4ba9['unlinkedAt']=_0x5d1071['unlinkedAt']),_0x3e4ba9;},_0x3e2955['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3e2955['getTypeUrl']=function(_0xe2c290){return void 0x0===_0xe2c290&&(_0xe2c290='type.googleapis.com'),_0xe2c290+'/CommentsV2UpdateCommentThreadMessage';},_0x3e2955;}()),_0xbccd8d['CommentsV2ResolveCommentThreadMessage']=(function(){function _0x559c62(_0x47f8d9){if(_0x47f8d9){for(var _0x575e24=Object['keys'](_0x47f8d9),_0x45840d=0x0;_0x45840d<_0x575e24['length'];++_0x45840d)null!=_0x47f8d9[_0x575e24[_0x45840d]]&&'__proto__'!==_0x575e24[_0x45840d]&&(this[_0x575e24[_0x45840d]]=_0x47f8d9[_0x575e24[_0x45840d]]);}}return _0x559c62['prototype']['commentThreadId']='',_0x559c62['prototype']['documentId']='',_0x559c62['prototype']['resolvedBy']='',_0x559c62['prototype']['resolvedAt']='',_0x559c62['create']=function(_0x5c71c9){return new _0x559c62(_0x5c71c9);},_0x559c62['encode']=function(_0x5cc132,_0xc32bbb,_0x476c0a){if(_0xc32bbb||(_0xc32bbb=_0x55d9b7['create']()),void 0x0===_0x476c0a&&(_0x476c0a=0x0),_0x476c0a>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5cc132['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5cc132,'commentThreadId')&&_0xc32bbb['uint32'](0xa)['string'](_0x5cc132['commentThreadId']),null!=_0x5cc132['documentId']&&Object['hasOwnProperty']['call'](_0x5cc132,'documentId')&&_0xc32bbb['uint32'](0x12)['string'](_0x5cc132['documentId']),null!=_0x5cc132['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5cc132,'resolvedBy')&&_0xc32bbb['uint32'](0x1a)['string'](_0x5cc132['resolvedBy']),null!=_0x5cc132['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5cc132,'resolvedAt')&&_0xc32bbb['uint32'](0x22)['string'](_0x5cc132['resolvedAt']),_0xc32bbb;},_0x559c62['encodeDelimited']=function(_0x2cb08c,_0x2b80c3){return this['encode'](_0x2cb08c,_0x2b80c3)['ldelim']();},_0x559c62['decode']=function(_0x57564e,_0x35fa7f,_0x1fd4f9,_0x45038d){if(_0x57564e instanceof _0x105dc2||(_0x57564e=_0x105dc2['create'](_0x57564e)),void 0x0===_0x45038d&&(_0x45038d=0x0),_0x45038d>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2305bb=void 0x0===_0x35fa7f?_0x57564e['len']:_0x57564e['pos']+_0x35fa7f,_0x5d3d04=new _0xbccd8d['CommentsV2ResolveCommentThreadMessage']();_0x57564e['pos']<_0x2305bb;){var _0x2db686=_0x57564e['uint32']();if(_0x2db686===_0x1fd4f9)break;switch(_0x2db686>>>0x3){case 0x1:_0x5d3d04['commentThreadId']=_0x57564e['string']();break;case 0x2:_0x5d3d04['documentId']=_0x57564e['string']();break;case 0x3:_0x5d3d04['resolvedBy']=_0x57564e['string']();break;case 0x4:_0x5d3d04['resolvedAt']=_0x57564e['string']();break;default:_0x57564e['skipType'](0x7&_0x2db686,_0x45038d);}}return _0x5d3d04;},_0x559c62['decodeDelimited']=function(_0x28fe40){return _0x28fe40 instanceof _0x105dc2||(_0x28fe40=new _0x105dc2(_0x28fe40)),this['decode'](_0x28fe40,_0x28fe40['uint32']());},_0x559c62['verify']=function(_0x192f11,_0x2751c2){return'object'!=typeof _0x192f11||null===_0x192f11?'object\x20expected':(void 0x0===_0x2751c2&&(_0x2751c2=0x0),_0x2751c2>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x192f11['commentThreadId']&&Object['hasOwnProperty']['call'](_0x192f11,'commentThreadId')&&!_0x222891['isString'](_0x192f11['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x192f11['documentId']&&Object['hasOwnProperty']['call'](_0x192f11,'documentId')&&!_0x222891['isString'](_0x192f11['documentId'])?'documentId:\x20string\x20expected':null!=_0x192f11['resolvedBy']&&Object['hasOwnProperty']['call'](_0x192f11,'resolvedBy')&&!_0x222891['isString'](_0x192f11['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x192f11['resolvedAt']&&Object['hasOwnProperty']['call'](_0x192f11,'resolvedAt')&&!_0x222891['isString'](_0x192f11['resolvedAt'])?'resolvedAt:\x20string\x20expected':null);},_0x559c62['fromObject']=function(_0x11f5d7,_0x1b9ef5){if(_0x11f5d7 instanceof _0xbccd8d['CommentsV2ResolveCommentThreadMessage'])return _0x11f5d7;if(!_0x222891['isObject'](_0x11f5d7))throw TypeError('.CommentsV2ResolveCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x1b9ef5&&(_0x1b9ef5=0x0),_0x1b9ef5>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5cc13d=new _0xbccd8d['CommentsV2ResolveCommentThreadMessage']();return null!=_0x11f5d7['commentThreadId']&&(_0x5cc13d['commentThreadId']=String(_0x11f5d7['commentThreadId'])),null!=_0x11f5d7['documentId']&&(_0x5cc13d['documentId']=String(_0x11f5d7['documentId'])),null!=_0x11f5d7['resolvedBy']&&(_0x5cc13d['resolvedBy']=String(_0x11f5d7['resolvedBy'])),null!=_0x11f5d7['resolvedAt']&&(_0x5cc13d['resolvedAt']=String(_0x11f5d7['resolvedAt'])),_0x5cc13d;},_0x559c62['toObject']=function(_0x47440b,_0x64e9f5,_0x935660){if(_0x64e9f5||(_0x64e9f5={}),void 0x0===_0x935660&&(_0x935660=0x0),_0x935660>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x39c9d4={};return _0x64e9f5['defaults']&&(_0x39c9d4['commentThreadId']='',_0x39c9d4['documentId']='',_0x39c9d4['resolvedBy']='',_0x39c9d4['resolvedAt']=''),null!=_0x47440b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x47440b,'commentThreadId')&&(_0x39c9d4['commentThreadId']=_0x47440b['commentThreadId']),null!=_0x47440b['documentId']&&Object['hasOwnProperty']['call'](_0x47440b,'documentId')&&(_0x39c9d4['documentId']=_0x47440b['documentId']),null!=_0x47440b['resolvedBy']&&Object['hasOwnProperty']['call'](_0x47440b,'resolvedBy')&&(_0x39c9d4['resolvedBy']=_0x47440b['resolvedBy']),null!=_0x47440b['resolvedAt']&&Object['hasOwnProperty']['call'](_0x47440b,'resolvedAt')&&(_0x39c9d4['resolvedAt']=_0x47440b['resolvedAt']),_0x39c9d4;},_0x559c62['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x559c62['getTypeUrl']=function(_0x18517f){return void 0x0===_0x18517f&&(_0x18517f='type.googleapis.com'),_0x18517f+'/CommentsV2ResolveCommentThreadMessage';},_0x559c62;}()),_0xbccd8d['CommentsV2ReopenCommentThreadMessage']=(function(){function _0x10be8b(_0x3c1b2d){if(_0x3c1b2d){for(var _0x16fc27=Object['keys'](_0x3c1b2d),_0x5c7184=0x0;_0x5c7184<_0x16fc27['length'];++_0x5c7184)null!=_0x3c1b2d[_0x16fc27[_0x5c7184]]&&'__proto__'!==_0x16fc27[_0x5c7184]&&(this[_0x16fc27[_0x5c7184]]=_0x3c1b2d[_0x16fc27[_0x5c7184]]);}}return _0x10be8b['prototype']['commentThreadId']='',_0x10be8b['prototype']['documentId']='',_0x10be8b['create']=function(_0x118a29){return new _0x10be8b(_0x118a29);},_0x10be8b['encode']=function(_0x47c97f,_0x2a69f0,_0x223226){if(_0x2a69f0||(_0x2a69f0=_0x55d9b7['create']()),void 0x0===_0x223226&&(_0x223226=0x0),_0x223226>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x47c97f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x47c97f,'commentThreadId')&&_0x2a69f0['uint32'](0xa)['string'](_0x47c97f['commentThreadId']),null!=_0x47c97f['documentId']&&Object['hasOwnProperty']['call'](_0x47c97f,'documentId')&&_0x2a69f0['uint32'](0x12)['string'](_0x47c97f['documentId']),_0x2a69f0;},_0x10be8b['encodeDelimited']=function(_0x5a29c8,_0x4afd17){return this['encode'](_0x5a29c8,_0x4afd17)['ldelim']();},_0x10be8b['decode']=function(_0x14451a,_0x20c81e,_0x571ec7,_0x1558d6){if(_0x14451a instanceof _0x105dc2||(_0x14451a=_0x105dc2['create'](_0x14451a)),void 0x0===_0x1558d6&&(_0x1558d6=0x0),_0x1558d6>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x14c928=void 0x0===_0x20c81e?_0x14451a['len']:_0x14451a['pos']+_0x20c81e,_0x1f1e9a=new _0xbccd8d['CommentsV2ReopenCommentThreadMessage']();_0x14451a['pos']<_0x14c928;){var _0x476551=_0x14451a['uint32']();if(_0x476551===_0x571ec7)break;switch(_0x476551>>>0x3){case 0x1:_0x1f1e9a['commentThreadId']=_0x14451a['string']();break;case 0x2:_0x1f1e9a['documentId']=_0x14451a['string']();break;default:_0x14451a['skipType'](0x7&_0x476551,_0x1558d6);}}return _0x1f1e9a;},_0x10be8b['decodeDelimited']=function(_0x10a5f2){return _0x10a5f2 instanceof _0x105dc2||(_0x10a5f2=new _0x105dc2(_0x10a5f2)),this['decode'](_0x10a5f2,_0x10a5f2['uint32']());},_0x10be8b['verify']=function(_0x4a6ae8,_0xf42819){return'object'!=typeof _0x4a6ae8||null===_0x4a6ae8?'object\x20expected':(void 0x0===_0xf42819&&(_0xf42819=0x0),_0xf42819>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4a6ae8['commentThreadId']&&Object['hasOwnProperty']['call'](_0x4a6ae8,'commentThreadId')&&!_0x222891['isString'](_0x4a6ae8['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x4a6ae8['documentId']&&Object['hasOwnProperty']['call'](_0x4a6ae8,'documentId')&&!_0x222891['isString'](_0x4a6ae8['documentId'])?'documentId:\x20string\x20expected':null);},_0x10be8b['fromObject']=function(_0x5d3aed,_0x4e890e){if(_0x5d3aed instanceof _0xbccd8d['CommentsV2ReopenCommentThreadMessage'])return _0x5d3aed;if(!_0x222891['isObject'](_0x5d3aed))throw TypeError('.CommentsV2ReopenCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x4e890e&&(_0x4e890e=0x0),_0x4e890e>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x521405=new _0xbccd8d['CommentsV2ReopenCommentThreadMessage']();return null!=_0x5d3aed['commentThreadId']&&(_0x521405['commentThreadId']=String(_0x5d3aed['commentThreadId'])),null!=_0x5d3aed['documentId']&&(_0x521405['documentId']=String(_0x5d3aed['documentId'])),_0x521405;},_0x10be8b['toObject']=function(_0x54fa5b,_0x2d4894,_0x2ad12f){if(_0x2d4894||(_0x2d4894={}),void 0x0===_0x2ad12f&&(_0x2ad12f=0x0),_0x2ad12f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x17ffa4={};return _0x2d4894['defaults']&&(_0x17ffa4['commentThreadId']='',_0x17ffa4['documentId']=''),null!=_0x54fa5b['commentThreadId']&&Object['hasOwnProperty']['call'](_0x54fa5b,'commentThreadId')&&(_0x17ffa4['commentThreadId']=_0x54fa5b['commentThreadId']),null!=_0x54fa5b['documentId']&&Object['hasOwnProperty']['call'](_0x54fa5b,'documentId')&&(_0x17ffa4['documentId']=_0x54fa5b['documentId']),_0x17ffa4;},_0x10be8b['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x10be8b['getTypeUrl']=function(_0x527a31){return void 0x0===_0x527a31&&(_0x527a31='type.googleapis.com'),_0x527a31+'/CommentsV2ReopenCommentThreadMessage';},_0x10be8b;}()),_0xbccd8d['CommentsV2AddCommentThreadMessage']=(function(){function _0x1721fd(_0x5f32a4){if(this['comments']=[],_0x5f32a4){for(var _0x19ec57=Object['keys'](_0x5f32a4),_0x187a12=0x0;_0x187a12<_0x19ec57['length'];++_0x187a12)null!=_0x5f32a4[_0x19ec57[_0x187a12]]&&'__proto__'!==_0x19ec57[_0x187a12]&&(this[_0x19ec57[_0x187a12]]=_0x5f32a4[_0x19ec57[_0x187a12]]);}}return _0x1721fd['prototype']['documentId']='',_0x1721fd['prototype']['commentThreadId']='',_0x1721fd['prototype']['context']='',_0x1721fd['prototype']['createdAt']='',_0x1721fd['prototype']['resolvedAt']='',_0x1721fd['prototype']['resolvedBy']='',_0x1721fd['prototype']['attributes']='',_0x1721fd['prototype']['deletedAt']='',_0x1721fd['prototype']['comments']=_0x222891['emptyArray'],_0x1721fd['create']=function(_0xc890f2){return new _0x1721fd(_0xc890f2);},_0x1721fd['encode']=function(_0x27154c,_0x477833,_0x5f5536){if(_0x477833||(_0x477833=_0x55d9b7['create']()),void 0x0===_0x5f5536&&(_0x5f5536=0x0),_0x5f5536>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x27154c['documentId']&&Object['hasOwnProperty']['call'](_0x27154c,'documentId')&&_0x477833['uint32'](0xa)['string'](_0x27154c['documentId']),null!=_0x27154c['commentThreadId']&&Object['hasOwnProperty']['call'](_0x27154c,'commentThreadId')&&_0x477833['uint32'](0x12)['string'](_0x27154c['commentThreadId']),null!=_0x27154c['context']&&Object['hasOwnProperty']['call'](_0x27154c,'context')&&_0x477833['uint32'](0x1a)['string'](_0x27154c['context']),null!=_0x27154c['createdAt']&&Object['hasOwnProperty']['call'](_0x27154c,'createdAt')&&_0x477833['uint32'](0x22)['string'](_0x27154c['createdAt']),null!=_0x27154c['resolvedAt']&&Object['hasOwnProperty']['call'](_0x27154c,'resolvedAt')&&_0x477833['uint32'](0x2a)['string'](_0x27154c['resolvedAt']),null!=_0x27154c['resolvedBy']&&Object['hasOwnProperty']['call'](_0x27154c,'resolvedBy')&&_0x477833['uint32'](0x32)['string'](_0x27154c['resolvedBy']),null!=_0x27154c['attributes']&&Object['hasOwnProperty']['call'](_0x27154c,'attributes')&&_0x477833['uint32'](0x3a)['string'](_0x27154c['attributes']),null!=_0x27154c['deletedAt']&&Object['hasOwnProperty']['call'](_0x27154c,'deletedAt')&&_0x477833['uint32'](0x42)['string'](_0x27154c['deletedAt']),null!=_0x27154c['comments']&&_0x27154c['comments']['length']){for(var _0x27c0f8=0x0;_0x27c0f8<_0x27154c['comments']['length'];++_0x27c0f8)_0xbccd8d['CommentDescriptor']['encode'](_0x27154c['comments'][_0x27c0f8],_0x477833['uint32'](0x4a)['fork'](),_0x5f5536+0x1)['ldelim']();}return _0x477833;},_0x1721fd['encodeDelimited']=function(_0x112342,_0x178157){return this['encode'](_0x112342,_0x178157)['ldelim']();},_0x1721fd['decode']=function(_0x260b86,_0x6bf4a8,_0x5801ba,_0x5b3a77){if(_0x260b86 instanceof _0x105dc2||(_0x260b86=_0x105dc2['create'](_0x260b86)),void 0x0===_0x5b3a77&&(_0x5b3a77=0x0),_0x5b3a77>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2219e0=void 0x0===_0x6bf4a8?_0x260b86['len']:_0x260b86['pos']+_0x6bf4a8,_0x35a15c=new _0xbccd8d['CommentsV2AddCommentThreadMessage']();_0x260b86['pos']<_0x2219e0;){var _0x1e1af5=_0x260b86['uint32']();if(_0x1e1af5===_0x5801ba)break;switch(_0x1e1af5>>>0x3){case 0x1:_0x35a15c['documentId']=_0x260b86['string']();break;case 0x2:_0x35a15c['commentThreadId']=_0x260b86['string']();break;case 0x3:_0x35a15c['context']=_0x260b86['string']();break;case 0x4:_0x35a15c['createdAt']=_0x260b86['string']();break;case 0x5:_0x35a15c['resolvedAt']=_0x260b86['string']();break;case 0x6:_0x35a15c['resolvedBy']=_0x260b86['string']();break;case 0x7:_0x35a15c['attributes']=_0x260b86['string']();break;case 0x8:_0x35a15c['deletedAt']=_0x260b86['string']();break;case 0x9:_0x35a15c['comments']&&_0x35a15c['comments']['length']||(_0x35a15c['comments']=[]),_0x35a15c['comments']['push'](_0xbccd8d['CommentDescriptor']['decode'](_0x260b86,_0x260b86['uint32'](),void 0x0,_0x5b3a77+0x1));break;default:_0x260b86['skipType'](0x7&_0x1e1af5,_0x5b3a77);}}return _0x35a15c;},_0x1721fd['decodeDelimited']=function(_0x3f41ad){return _0x3f41ad instanceof _0x105dc2||(_0x3f41ad=new _0x105dc2(_0x3f41ad)),this['decode'](_0x3f41ad,_0x3f41ad['uint32']());},_0x1721fd['verify']=function(_0x29eef1,_0x14151d){if('object'!=typeof _0x29eef1||null===_0x29eef1)return'object\x20expected';if(void 0x0===_0x14151d&&(_0x14151d=0x0),_0x14151d>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x29eef1['documentId']&&Object['hasOwnProperty']['call'](_0x29eef1,'documentId')&&!_0x222891['isString'](_0x29eef1['documentId']))return'documentId:\x20string\x20expected';if(null!=_0x29eef1['commentThreadId']&&Object['hasOwnProperty']['call'](_0x29eef1,'commentThreadId')&&!_0x222891['isString'](_0x29eef1['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x29eef1['context']&&Object['hasOwnProperty']['call'](_0x29eef1,'context')&&!_0x222891['isString'](_0x29eef1['context']))return'context:\x20string\x20expected';if(null!=_0x29eef1['createdAt']&&Object['hasOwnProperty']['call'](_0x29eef1,'createdAt')&&!_0x222891['isString'](_0x29eef1['createdAt']))return'createdAt:\x20string\x20expected';if(null!=_0x29eef1['resolvedAt']&&Object['hasOwnProperty']['call'](_0x29eef1,'resolvedAt')&&!_0x222891['isString'](_0x29eef1['resolvedAt']))return'resolvedAt:\x20string\x20expected';if(null!=_0x29eef1['resolvedBy']&&Object['hasOwnProperty']['call'](_0x29eef1,'resolvedBy')&&!_0x222891['isString'](_0x29eef1['resolvedBy']))return'resolvedBy:\x20string\x20expected';if(null!=_0x29eef1['attributes']&&Object['hasOwnProperty']['call'](_0x29eef1,'attributes')&&!_0x222891['isString'](_0x29eef1['attributes']))return'attributes:\x20string\x20expected';if(null!=_0x29eef1['deletedAt']&&Object['hasOwnProperty']['call'](_0x29eef1,'deletedAt')&&!_0x222891['isString'](_0x29eef1['deletedAt']))return'deletedAt:\x20string\x20expected';if(null!=_0x29eef1['comments']&&Object['hasOwnProperty']['call'](_0x29eef1,'comments')){if(!Array['isArray'](_0x29eef1['comments']))return'comments:\x20array\x20expected';for(var _0x40031f=0x0;_0x40031f<_0x29eef1['comments']['length'];++_0x40031f){var _0x5337a2=_0xbccd8d['CommentDescriptor']['verify'](_0x29eef1['comments'][_0x40031f],_0x14151d+0x1);if(_0x5337a2)return'comments.'+_0x5337a2;}}return null;},_0x1721fd['fromObject']=function(_0x17b0c5,_0x27b673){if(_0x17b0c5 instanceof _0xbccd8d['CommentsV2AddCommentThreadMessage'])return _0x17b0c5;if(!_0x222891['isObject'](_0x17b0c5))throw TypeError('.CommentsV2AddCommentThreadMessage:\x20object\x20expected');if(void 0x0===_0x27b673&&(_0x27b673=0x0),_0x27b673>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x5254bf=new _0xbccd8d['CommentsV2AddCommentThreadMessage']();if(null!=_0x17b0c5['documentId']&&(_0x5254bf['documentId']=String(_0x17b0c5['documentId'])),null!=_0x17b0c5['commentThreadId']&&(_0x5254bf['commentThreadId']=String(_0x17b0c5['commentThreadId'])),null!=_0x17b0c5['context']&&(_0x5254bf['context']=String(_0x17b0c5['context'])),null!=_0x17b0c5['createdAt']&&(_0x5254bf['createdAt']=String(_0x17b0c5['createdAt'])),null!=_0x17b0c5['resolvedAt']&&(_0x5254bf['resolvedAt']=String(_0x17b0c5['resolvedAt'])),null!=_0x17b0c5['resolvedBy']&&(_0x5254bf['resolvedBy']=String(_0x17b0c5['resolvedBy'])),null!=_0x17b0c5['attributes']&&(_0x5254bf['attributes']=String(_0x17b0c5['attributes'])),null!=_0x17b0c5['deletedAt']&&(_0x5254bf['deletedAt']=String(_0x17b0c5['deletedAt'])),_0x17b0c5['comments']){if(!Array['isArray'](_0x17b0c5['comments']))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20array\x20expected');_0x5254bf['comments']=[];for(var _0x349128=0x0;_0x349128<_0x17b0c5['comments']['length'];++_0x349128){if(!_0x222891['isObject'](_0x17b0c5['comments'][_0x349128]))throw TypeError('.CommentsV2AddCommentThreadMessage.comments:\x20object\x20expected');_0x5254bf['comments'][_0x349128]=_0xbccd8d['CommentDescriptor']['fromObject'](_0x17b0c5['comments'][_0x349128],_0x27b673+0x1);}}return _0x5254bf;},_0x1721fd['toObject']=function(_0x5e05cd,_0x59891c,_0x2aef8f){if(_0x59891c||(_0x59891c={}),void 0x0===_0x2aef8f&&(_0x2aef8f=0x0),_0x2aef8f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x284160={};if((_0x59891c['arrays']||_0x59891c['defaults'])&&(_0x284160['comments']=[]),_0x59891c['defaults']&&(_0x284160['documentId']='',_0x284160['commentThreadId']='',_0x284160['context']='',_0x284160['createdAt']='',_0x284160['resolvedAt']='',_0x284160['resolvedBy']='',_0x284160['attributes']='',_0x284160['deletedAt']=''),null!=_0x5e05cd['documentId']&&Object['hasOwnProperty']['call'](_0x5e05cd,'documentId')&&(_0x284160['documentId']=_0x5e05cd['documentId']),null!=_0x5e05cd['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5e05cd,'commentThreadId')&&(_0x284160['commentThreadId']=_0x5e05cd['commentThreadId']),null!=_0x5e05cd['context']&&Object['hasOwnProperty']['call'](_0x5e05cd,'context')&&(_0x284160['context']=_0x5e05cd['context']),null!=_0x5e05cd['createdAt']&&Object['hasOwnProperty']['call'](_0x5e05cd,'createdAt')&&(_0x284160['createdAt']=_0x5e05cd['createdAt']),null!=_0x5e05cd['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5e05cd,'resolvedAt')&&(_0x284160['resolvedAt']=_0x5e05cd['resolvedAt']),null!=_0x5e05cd['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5e05cd,'resolvedBy')&&(_0x284160['resolvedBy']=_0x5e05cd['resolvedBy']),null!=_0x5e05cd['attributes']&&Object['hasOwnProperty']['call'](_0x5e05cd,'attributes')&&(_0x284160['attributes']=_0x5e05cd['attributes']),null!=_0x5e05cd['deletedAt']&&Object['hasOwnProperty']['call'](_0x5e05cd,'deletedAt')&&(_0x284160['deletedAt']=_0x5e05cd['deletedAt']),_0x5e05cd['comments']&&_0x5e05cd['comments']['length']){_0x284160['comments']=[];for(var _0x481aaa=0x0;_0x481aaa<_0x5e05cd['comments']['length'];++_0x481aaa)_0x284160['comments'][_0x481aaa]=_0xbccd8d['CommentDescriptor']['toObject'](_0x5e05cd['comments'][_0x481aaa],_0x59891c,_0x2aef8f+0x1);}return _0x284160;},_0x1721fd['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x1721fd['getTypeUrl']=function(_0x4e3ad5){return void 0x0===_0x4e3ad5&&(_0x4e3ad5='type.googleapis.com'),_0x4e3ad5+'/CommentsV2AddCommentThreadMessage';},_0x1721fd;}()),_0xbccd8d['CommentThreadAddedCommentDescriptor']=(function(){function _0x3ef66e(_0x1d8006){if(_0x1d8006){for(var _0x4ccd40=Object['keys'](_0x1d8006),_0x4be704=0x0;_0x4be704<_0x4ccd40['length'];++_0x4be704)null!=_0x1d8006[_0x4ccd40[_0x4be704]]&&'__proto__'!==_0x4ccd40[_0x4be704]&&(this[_0x4ccd40[_0x4be704]]=_0x1d8006[_0x4ccd40[_0x4be704]]);}}return _0x3ef66e['prototype']['commentId']='',_0x3ef66e['prototype']['createdAt']='',_0x3ef66e['create']=function(_0x2a2b8e){return new _0x3ef66e(_0x2a2b8e);},_0x3ef66e['encode']=function(_0x5e6b94,_0x3f28b8,_0x213eef){if(_0x3f28b8||(_0x3f28b8=_0x55d9b7['create']()),void 0x0===_0x213eef&&(_0x213eef=0x0),_0x213eef>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5e6b94['commentId']&&Object['hasOwnProperty']['call'](_0x5e6b94,'commentId')&&_0x3f28b8['uint32'](0xa)['string'](_0x5e6b94['commentId']),null!=_0x5e6b94['createdAt']&&Object['hasOwnProperty']['call'](_0x5e6b94,'createdAt')&&_0x3f28b8['uint32'](0x12)['string'](_0x5e6b94['createdAt']),_0x3f28b8;},_0x3ef66e['encodeDelimited']=function(_0x426bfe,_0x57bf27){return this['encode'](_0x426bfe,_0x57bf27)['ldelim']();},_0x3ef66e['decode']=function(_0x43fd53,_0xef428e,_0x347147,_0x146016){if(_0x43fd53 instanceof _0x105dc2||(_0x43fd53=_0x105dc2['create'](_0x43fd53)),void 0x0===_0x146016&&(_0x146016=0x0),_0x146016>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0xf70100=void 0x0===_0xef428e?_0x43fd53['len']:_0x43fd53['pos']+_0xef428e,_0x4d376c=new _0xbccd8d['CommentThreadAddedCommentDescriptor']();_0x43fd53['pos']<_0xf70100;){var _0x49dce5=_0x43fd53['uint32']();if(_0x49dce5===_0x347147)break;switch(_0x49dce5>>>0x3){case 0x1:_0x4d376c['commentId']=_0x43fd53['string']();break;case 0x2:_0x4d376c['createdAt']=_0x43fd53['string']();break;default:_0x43fd53['skipType'](0x7&_0x49dce5,_0x146016);}}return _0x4d376c;},_0x3ef66e['decodeDelimited']=function(_0x51c39a){return _0x51c39a instanceof _0x105dc2||(_0x51c39a=new _0x105dc2(_0x51c39a)),this['decode'](_0x51c39a,_0x51c39a['uint32']());},_0x3ef66e['verify']=function(_0x261bee,_0x2365b6){return'object'!=typeof _0x261bee||null===_0x261bee?'object\x20expected':(void 0x0===_0x2365b6&&(_0x2365b6=0x0),_0x2365b6>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x261bee['commentId']&&Object['hasOwnProperty']['call'](_0x261bee,'commentId')&&!_0x222891['isString'](_0x261bee['commentId'])?'commentId:\x20string\x20expected':null!=_0x261bee['createdAt']&&Object['hasOwnProperty']['call'](_0x261bee,'createdAt')&&!_0x222891['isString'](_0x261bee['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x3ef66e['fromObject']=function(_0x4c8751,_0x3193ab){if(_0x4c8751 instanceof _0xbccd8d['CommentThreadAddedCommentDescriptor'])return _0x4c8751;if(!_0x222891['isObject'](_0x4c8751))throw TypeError('.CommentThreadAddedCommentDescriptor:\x20object\x20expected');if(void 0x0===_0x3193ab&&(_0x3193ab=0x0),_0x3193ab>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x450cd2=new _0xbccd8d['CommentThreadAddedCommentDescriptor']();return null!=_0x4c8751['commentId']&&(_0x450cd2['commentId']=String(_0x4c8751['commentId'])),null!=_0x4c8751['createdAt']&&(_0x450cd2['createdAt']=String(_0x4c8751['createdAt'])),_0x450cd2;},_0x3ef66e['toObject']=function(_0x559c61,_0x525600,_0x4af1cc){if(_0x525600||(_0x525600={}),void 0x0===_0x4af1cc&&(_0x4af1cc=0x0),_0x4af1cc>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4f25ba={};return _0x525600['defaults']&&(_0x4f25ba['commentId']='',_0x4f25ba['createdAt']=''),null!=_0x559c61['commentId']&&Object['hasOwnProperty']['call'](_0x559c61,'commentId')&&(_0x4f25ba['commentId']=_0x559c61['commentId']),null!=_0x559c61['createdAt']&&Object['hasOwnProperty']['call'](_0x559c61,'createdAt')&&(_0x4f25ba['createdAt']=_0x559c61['createdAt']),_0x4f25ba;},_0x3ef66e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3ef66e['getTypeUrl']=function(_0x91456){return void 0x0===_0x91456&&(_0x91456='type.googleapis.com'),_0x91456+'/CommentThreadAddedCommentDescriptor';},_0x3ef66e;}()),_0xbccd8d['CommentsThreadDescriptor']=(function(){function _0x52ebb5(_0x2a79b6){if(this['comments']=[],_0x2a79b6){for(var _0x52fdce=Object['keys'](_0x2a79b6),_0x591000=0x0;_0x591000<_0x52fdce['length'];++_0x591000)null!=_0x2a79b6[_0x52fdce[_0x591000]]&&'__proto__'!==_0x52fdce[_0x591000]&&(this[_0x52fdce[_0x591000]]=_0x2a79b6[_0x52fdce[_0x591000]]);}}return _0x52ebb5['prototype']['commentThreadId']='',_0x52ebb5['prototype']['comments']=_0x222891['emptyArray'],_0x52ebb5['prototype']['resolvedAt']='',_0x52ebb5['prototype']['resolvedBy']='',_0x52ebb5['prototype']['context']='',_0x52ebb5['prototype']['createdAt']='',_0x52ebb5['prototype']['deletedAt']='',_0x52ebb5['prototype']['attributes']='',_0x52ebb5['prototype']['unlinkedAt']='',_0x52ebb5['create']=function(_0x287abd){return new _0x52ebb5(_0x287abd);},_0x52ebb5['encode']=function(_0x258331,_0x21a1a8,_0x113f1b){if(_0x21a1a8||(_0x21a1a8=_0x55d9b7['create']()),void 0x0===_0x113f1b&&(_0x113f1b=0x0),_0x113f1b>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x258331['commentThreadId']&&Object['hasOwnProperty']['call'](_0x258331,'commentThreadId')&&_0x21a1a8['uint32'](0xa)['string'](_0x258331['commentThreadId']),null!=_0x258331['comments']&&_0x258331['comments']['length']){for(var _0x17c477=0x0;_0x17c477<_0x258331['comments']['length'];++_0x17c477)_0xbccd8d['CommentDescriptor']['encode'](_0x258331['comments'][_0x17c477],_0x21a1a8['uint32'](0x12)['fork'](),_0x113f1b+0x1)['ldelim']();}return null!=_0x258331['resolvedAt']&&Object['hasOwnProperty']['call'](_0x258331,'resolvedAt')&&_0x21a1a8['uint32'](0x1a)['string'](_0x258331['resolvedAt']),null!=_0x258331['resolvedBy']&&Object['hasOwnProperty']['call'](_0x258331,'resolvedBy')&&_0x21a1a8['uint32'](0x22)['string'](_0x258331['resolvedBy']),null!=_0x258331['context']&&Object['hasOwnProperty']['call'](_0x258331,'context')&&_0x21a1a8['uint32'](0x2a)['string'](_0x258331['context']),null!=_0x258331['createdAt']&&Object['hasOwnProperty']['call'](_0x258331,'createdAt')&&_0x21a1a8['uint32'](0x32)['string'](_0x258331['createdAt']),null!=_0x258331['deletedAt']&&Object['hasOwnProperty']['call'](_0x258331,'deletedAt')&&_0x21a1a8['uint32'](0x3a)['string'](_0x258331['deletedAt']),null!=_0x258331['attributes']&&Object['hasOwnProperty']['call'](_0x258331,'attributes')&&_0x21a1a8['uint32'](0x42)['string'](_0x258331['attributes']),null!=_0x258331['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x258331,'unlinkedAt')&&_0x21a1a8['uint32'](0x4a)['string'](_0x258331['unlinkedAt']),_0x21a1a8;},_0x52ebb5['encodeDelimited']=function(_0x40d95b,_0x143313){return this['encode'](_0x40d95b,_0x143313)['ldelim']();},_0x52ebb5['decode']=function(_0x3c80cb,_0x4f2b6a,_0x33fb7c,_0x442a54){if(_0x3c80cb instanceof _0x105dc2||(_0x3c80cb=_0x105dc2['create'](_0x3c80cb)),void 0x0===_0x442a54&&(_0x442a54=0x0),_0x442a54>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x59e3d0=void 0x0===_0x4f2b6a?_0x3c80cb['len']:_0x3c80cb['pos']+_0x4f2b6a,_0x2682a9=new _0xbccd8d['CommentsThreadDescriptor']();_0x3c80cb['pos']<_0x59e3d0;){var _0x2ffcdd=_0x3c80cb['uint32']();if(_0x2ffcdd===_0x33fb7c)break;switch(_0x2ffcdd>>>0x3){case 0x1:_0x2682a9['commentThreadId']=_0x3c80cb['string']();break;case 0x2:_0x2682a9['comments']&&_0x2682a9['comments']['length']||(_0x2682a9['comments']=[]),_0x2682a9['comments']['push'](_0xbccd8d['CommentDescriptor']['decode'](_0x3c80cb,_0x3c80cb['uint32'](),void 0x0,_0x442a54+0x1));break;case 0x3:_0x2682a9['resolvedAt']=_0x3c80cb['string']();break;case 0x4:_0x2682a9['resolvedBy']=_0x3c80cb['string']();break;case 0x5:_0x2682a9['context']=_0x3c80cb['string']();break;case 0x6:_0x2682a9['createdAt']=_0x3c80cb['string']();break;case 0x7:_0x2682a9['deletedAt']=_0x3c80cb['string']();break;case 0x8:_0x2682a9['attributes']=_0x3c80cb['string']();break;case 0x9:_0x2682a9['unlinkedAt']=_0x3c80cb['string']();break;default:_0x3c80cb['skipType'](0x7&_0x2ffcdd,_0x442a54);}}return _0x2682a9;},_0x52ebb5['decodeDelimited']=function(_0x1cf5dc){return _0x1cf5dc instanceof _0x105dc2||(_0x1cf5dc=new _0x105dc2(_0x1cf5dc)),this['decode'](_0x1cf5dc,_0x1cf5dc['uint32']());},_0x52ebb5['verify']=function(_0x3a7eae,_0x5c6bc5){if('object'!=typeof _0x3a7eae||null===_0x3a7eae)return'object\x20expected';if(void 0x0===_0x5c6bc5&&(_0x5c6bc5=0x0),_0x5c6bc5>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x3a7eae['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3a7eae,'commentThreadId')&&!_0x222891['isString'](_0x3a7eae['commentThreadId']))return'commentThreadId:\x20string\x20expected';if(null!=_0x3a7eae['comments']&&Object['hasOwnProperty']['call'](_0x3a7eae,'comments')){if(!Array['isArray'](_0x3a7eae['comments']))return'comments:\x20array\x20expected';for(var _0x3b35e2=0x0;_0x3b35e2<_0x3a7eae['comments']['length'];++_0x3b35e2){var _0xa823da=_0xbccd8d['CommentDescriptor']['verify'](_0x3a7eae['comments'][_0x3b35e2],_0x5c6bc5+0x1);if(_0xa823da)return'comments.'+_0xa823da;}}return null!=_0x3a7eae['resolvedAt']&&Object['hasOwnProperty']['call'](_0x3a7eae,'resolvedAt')&&!_0x222891['isString'](_0x3a7eae['resolvedAt'])?'resolvedAt:\x20string\x20expected':null!=_0x3a7eae['resolvedBy']&&Object['hasOwnProperty']['call'](_0x3a7eae,'resolvedBy')&&!_0x222891['isString'](_0x3a7eae['resolvedBy'])?'resolvedBy:\x20string\x20expected':null!=_0x3a7eae['context']&&Object['hasOwnProperty']['call'](_0x3a7eae,'context')&&!_0x222891['isString'](_0x3a7eae['context'])?'context:\x20string\x20expected':null!=_0x3a7eae['createdAt']&&Object['hasOwnProperty']['call'](_0x3a7eae,'createdAt')&&!_0x222891['isString'](_0x3a7eae['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x3a7eae['deletedAt']&&Object['hasOwnProperty']['call'](_0x3a7eae,'deletedAt')&&!_0x222891['isString'](_0x3a7eae['deletedAt'])?'deletedAt:\x20string\x20expected':null!=_0x3a7eae['attributes']&&Object['hasOwnProperty']['call'](_0x3a7eae,'attributes')&&!_0x222891['isString'](_0x3a7eae['attributes'])?'attributes:\x20string\x20expected':null!=_0x3a7eae['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x3a7eae,'unlinkedAt')&&!_0x222891['isString'](_0x3a7eae['unlinkedAt'])?'unlinkedAt:\x20string\x20expected':null;},_0x52ebb5['fromObject']=function(_0x37a550,_0x2d7c9a){if(_0x37a550 instanceof _0xbccd8d['CommentsThreadDescriptor'])return _0x37a550;if(!_0x222891['isObject'](_0x37a550))throw TypeError('.CommentsThreadDescriptor:\x20object\x20expected');if(void 0x0===_0x2d7c9a&&(_0x2d7c9a=0x0),_0x2d7c9a>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x583755=new _0xbccd8d['CommentsThreadDescriptor']();if(null!=_0x37a550['commentThreadId']&&(_0x583755['commentThreadId']=String(_0x37a550['commentThreadId'])),_0x37a550['comments']){if(!Array['isArray'](_0x37a550['comments']))throw TypeError('.CommentsThreadDescriptor.comments:\x20array\x20expected');_0x583755['comments']=[];for(var _0x50c7b2=0x0;_0x50c7b2<_0x37a550['comments']['length'];++_0x50c7b2){if(!_0x222891['isObject'](_0x37a550['comments'][_0x50c7b2]))throw TypeError('.CommentsThreadDescriptor.comments:\x20object\x20expected');_0x583755['comments'][_0x50c7b2]=_0xbccd8d['CommentDescriptor']['fromObject'](_0x37a550['comments'][_0x50c7b2],_0x2d7c9a+0x1);}}return null!=_0x37a550['resolvedAt']&&(_0x583755['resolvedAt']=String(_0x37a550['resolvedAt'])),null!=_0x37a550['resolvedBy']&&(_0x583755['resolvedBy']=String(_0x37a550['resolvedBy'])),null!=_0x37a550['context']&&(_0x583755['context']=String(_0x37a550['context'])),null!=_0x37a550['createdAt']&&(_0x583755['createdAt']=String(_0x37a550['createdAt'])),null!=_0x37a550['deletedAt']&&(_0x583755['deletedAt']=String(_0x37a550['deletedAt'])),null!=_0x37a550['attributes']&&(_0x583755['attributes']=String(_0x37a550['attributes'])),null!=_0x37a550['unlinkedAt']&&(_0x583755['unlinkedAt']=String(_0x37a550['unlinkedAt'])),_0x583755;},_0x52ebb5['toObject']=function(_0x5b3bb2,_0x56c498,_0x18719e){if(_0x56c498||(_0x56c498={}),void 0x0===_0x18719e&&(_0x18719e=0x0),_0x18719e>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x2c592d={};if((_0x56c498['arrays']||_0x56c498['defaults'])&&(_0x2c592d['comments']=[]),_0x56c498['defaults']&&(_0x2c592d['commentThreadId']='',_0x2c592d['resolvedAt']='',_0x2c592d['resolvedBy']='',_0x2c592d['context']='',_0x2c592d['createdAt']='',_0x2c592d['deletedAt']='',_0x2c592d['attributes']='',_0x2c592d['unlinkedAt']=''),null!=_0x5b3bb2['commentThreadId']&&Object['hasOwnProperty']['call'](_0x5b3bb2,'commentThreadId')&&(_0x2c592d['commentThreadId']=_0x5b3bb2['commentThreadId']),_0x5b3bb2['comments']&&_0x5b3bb2['comments']['length']){_0x2c592d['comments']=[];for(var _0x372b0d=0x0;_0x372b0d<_0x5b3bb2['comments']['length'];++_0x372b0d)_0x2c592d['comments'][_0x372b0d]=_0xbccd8d['CommentDescriptor']['toObject'](_0x5b3bb2['comments'][_0x372b0d],_0x56c498,_0x18719e+0x1);}return null!=_0x5b3bb2['resolvedAt']&&Object['hasOwnProperty']['call'](_0x5b3bb2,'resolvedAt')&&(_0x2c592d['resolvedAt']=_0x5b3bb2['resolvedAt']),null!=_0x5b3bb2['resolvedBy']&&Object['hasOwnProperty']['call'](_0x5b3bb2,'resolvedBy')&&(_0x2c592d['resolvedBy']=_0x5b3bb2['resolvedBy']),null!=_0x5b3bb2['context']&&Object['hasOwnProperty']['call'](_0x5b3bb2,'context')&&(_0x2c592d['context']=_0x5b3bb2['context']),null!=_0x5b3bb2['createdAt']&&Object['hasOwnProperty']['call'](_0x5b3bb2,'createdAt')&&(_0x2c592d['createdAt']=_0x5b3bb2['createdAt']),null!=_0x5b3bb2['deletedAt']&&Object['hasOwnProperty']['call'](_0x5b3bb2,'deletedAt')&&(_0x2c592d['deletedAt']=_0x5b3bb2['deletedAt']),null!=_0x5b3bb2['attributes']&&Object['hasOwnProperty']['call'](_0x5b3bb2,'attributes')&&(_0x2c592d['attributes']=_0x5b3bb2['attributes']),null!=_0x5b3bb2['unlinkedAt']&&Object['hasOwnProperty']['call'](_0x5b3bb2,'unlinkedAt')&&(_0x2c592d['unlinkedAt']=_0x5b3bb2['unlinkedAt']),_0x2c592d;},_0x52ebb5['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x52ebb5['getTypeUrl']=function(_0x2185be){return void 0x0===_0x2185be&&(_0x2185be='type.googleapis.com'),_0x2185be+'/CommentsThreadDescriptor';},_0x52ebb5;}()),_0xbccd8d['CommentDescriptor']=(function(){function _0x41250c(_0x5b3713){if(_0x5b3713){for(var _0x178730=Object['keys'](_0x5b3713),_0x1aa619=0x0;_0x1aa619<_0x178730['length'];++_0x1aa619)null!=_0x5b3713[_0x178730[_0x1aa619]]&&'__proto__'!==_0x178730[_0x1aa619]&&(this[_0x178730[_0x1aa619]]=_0x5b3713[_0x178730[_0x1aa619]]);}}return _0x41250c['prototype']['commentId']='',_0x41250c['prototype']['commentThreadId']='',_0x41250c['prototype']['userId']='',_0x41250c['prototype']['content']='',_0x41250c['prototype']['documentId']='',_0x41250c['prototype']['createdAt']='',_0x41250c['prototype']['attributes']='',_0x41250c['create']=function(_0x1f0ba2){return new _0x41250c(_0x1f0ba2);},_0x41250c['encode']=function(_0x3e685f,_0x3a8a7f,_0x204bc4){if(_0x3a8a7f||(_0x3a8a7f=_0x55d9b7['create']()),void 0x0===_0x204bc4&&(_0x204bc4=0x0),_0x204bc4>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x3e685f['commentId']&&Object['hasOwnProperty']['call'](_0x3e685f,'commentId')&&_0x3a8a7f['uint32'](0xa)['string'](_0x3e685f['commentId']),null!=_0x3e685f['commentThreadId']&&Object['hasOwnProperty']['call'](_0x3e685f,'commentThreadId')&&_0x3a8a7f['uint32'](0x12)['string'](_0x3e685f['commentThreadId']),null!=_0x3e685f['userId']&&Object['hasOwnProperty']['call'](_0x3e685f,'userId')&&_0x3a8a7f['uint32'](0x1a)['string'](_0x3e685f['userId']),null!=_0x3e685f['content']&&Object['hasOwnProperty']['call'](_0x3e685f,'content')&&_0x3a8a7f['uint32'](0x22)['string'](_0x3e685f['content']),null!=_0x3e685f['documentId']&&Object['hasOwnProperty']['call'](_0x3e685f,'documentId')&&_0x3a8a7f['uint32'](0x2a)['string'](_0x3e685f['documentId']),null!=_0x3e685f['createdAt']&&Object['hasOwnProperty']['call'](_0x3e685f,'createdAt')&&_0x3a8a7f['uint32'](0x32)['string'](_0x3e685f['createdAt']),null!=_0x3e685f['attributes']&&Object['hasOwnProperty']['call'](_0x3e685f,'attributes')&&_0x3a8a7f['uint32'](0x3a)['string'](_0x3e685f['attributes']),_0x3a8a7f;},_0x41250c['encodeDelimited']=function(_0x331154,_0x53671b){return this['encode'](_0x331154,_0x53671b)['ldelim']();},_0x41250c['decode']=function(_0x5775b8,_0x58dfe3,_0x58acb8,_0x561931){if(_0x5775b8 instanceof _0x105dc2||(_0x5775b8=_0x105dc2['create'](_0x5775b8)),void 0x0===_0x561931&&(_0x561931=0x0),_0x561931>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2ca3fe=void 0x0===_0x58dfe3?_0x5775b8['len']:_0x5775b8['pos']+_0x58dfe3,_0x4a62ce=new _0xbccd8d['CommentDescriptor']();_0x5775b8['pos']<_0x2ca3fe;){var _0x39f779=_0x5775b8['uint32']();if(_0x39f779===_0x58acb8)break;switch(_0x39f779>>>0x3){case 0x1:_0x4a62ce['commentId']=_0x5775b8['string']();break;case 0x2:_0x4a62ce['commentThreadId']=_0x5775b8['string']();break;case 0x3:_0x4a62ce['userId']=_0x5775b8['string']();break;case 0x4:_0x4a62ce['content']=_0x5775b8['string']();break;case 0x5:_0x4a62ce['documentId']=_0x5775b8['string']();break;case 0x6:_0x4a62ce['createdAt']=_0x5775b8['string']();break;case 0x7:_0x4a62ce['attributes']=_0x5775b8['string']();break;default:_0x5775b8['skipType'](0x7&_0x39f779,_0x561931);}}return _0x4a62ce;},_0x41250c['decodeDelimited']=function(_0x170507){return _0x170507 instanceof _0x105dc2||(_0x170507=new _0x105dc2(_0x170507)),this['decode'](_0x170507,_0x170507['uint32']());},_0x41250c['verify']=function(_0x57ce46,_0x29b4de){return'object'!=typeof _0x57ce46||null===_0x57ce46?'object\x20expected':(void 0x0===_0x29b4de&&(_0x29b4de=0x0),_0x29b4de>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x57ce46['commentId']&&Object['hasOwnProperty']['call'](_0x57ce46,'commentId')&&!_0x222891['isString'](_0x57ce46['commentId'])?'commentId:\x20string\x20expected':null!=_0x57ce46['commentThreadId']&&Object['hasOwnProperty']['call'](_0x57ce46,'commentThreadId')&&!_0x222891['isString'](_0x57ce46['commentThreadId'])?'commentThreadId:\x20string\x20expected':null!=_0x57ce46['userId']&&Object['hasOwnProperty']['call'](_0x57ce46,'userId')&&!_0x222891['isString'](_0x57ce46['userId'])?'userId:\x20string\x20expected':null!=_0x57ce46['content']&&Object['hasOwnProperty']['call'](_0x57ce46,'content')&&!_0x222891['isString'](_0x57ce46['content'])?'content:\x20string\x20expected':null!=_0x57ce46['documentId']&&Object['hasOwnProperty']['call'](_0x57ce46,'documentId')&&!_0x222891['isString'](_0x57ce46['documentId'])?'documentId:\x20string\x20expected':null!=_0x57ce46['createdAt']&&Object['hasOwnProperty']['call'](_0x57ce46,'createdAt')&&!_0x222891['isString'](_0x57ce46['createdAt'])?'createdAt:\x20string\x20expected':null!=_0x57ce46['attributes']&&Object['hasOwnProperty']['call'](_0x57ce46,'attributes')&&!_0x222891['isString'](_0x57ce46['attributes'])?'attributes:\x20string\x20expected':null);},_0x41250c['fromObject']=function(_0x3655d8,_0x1e2277){if(_0x3655d8 instanceof _0xbccd8d['CommentDescriptor'])return _0x3655d8;if(!_0x222891['isObject'](_0x3655d8))throw TypeError('.CommentDescriptor:\x20object\x20expected');if(void 0x0===_0x1e2277&&(_0x1e2277=0x0),_0x1e2277>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x15cade=new _0xbccd8d['CommentDescriptor']();return null!=_0x3655d8['commentId']&&(_0x15cade['commentId']=String(_0x3655d8['commentId'])),null!=_0x3655d8['commentThreadId']&&(_0x15cade['commentThreadId']=String(_0x3655d8['commentThreadId'])),null!=_0x3655d8['userId']&&(_0x15cade['userId']=String(_0x3655d8['userId'])),null!=_0x3655d8['content']&&(_0x15cade['content']=String(_0x3655d8['content'])),null!=_0x3655d8['documentId']&&(_0x15cade['documentId']=String(_0x3655d8['documentId'])),null!=_0x3655d8['createdAt']&&(_0x15cade['createdAt']=String(_0x3655d8['createdAt'])),null!=_0x3655d8['attributes']&&(_0x15cade['attributes']=String(_0x3655d8['attributes'])),_0x15cade;},_0x41250c['toObject']=function(_0x427acc,_0x3c402d,_0x3aa4d9){if(_0x3c402d||(_0x3c402d={}),void 0x0===_0x3aa4d9&&(_0x3aa4d9=0x0),_0x3aa4d9>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x162fb6={};return _0x3c402d['defaults']&&(_0x162fb6['commentId']='',_0x162fb6['commentThreadId']='',_0x162fb6['userId']='',_0x162fb6['content']='',_0x162fb6['documentId']='',_0x162fb6['createdAt']='',_0x162fb6['attributes']=''),null!=_0x427acc['commentId']&&Object['hasOwnProperty']['call'](_0x427acc,'commentId')&&(_0x162fb6['commentId']=_0x427acc['commentId']),null!=_0x427acc['commentThreadId']&&Object['hasOwnProperty']['call'](_0x427acc,'commentThreadId')&&(_0x162fb6['commentThreadId']=_0x427acc['commentThreadId']),null!=_0x427acc['userId']&&Object['hasOwnProperty']['call'](_0x427acc,'userId')&&(_0x162fb6['userId']=_0x427acc['userId']),null!=_0x427acc['content']&&Object['hasOwnProperty']['call'](_0x427acc,'content')&&(_0x162fb6['content']=_0x427acc['content']),null!=_0x427acc['documentId']&&Object['hasOwnProperty']['call'](_0x427acc,'documentId')&&(_0x162fb6['documentId']=_0x427acc['documentId']),null!=_0x427acc['createdAt']&&Object['hasOwnProperty']['call'](_0x427acc,'createdAt')&&(_0x162fb6['createdAt']=_0x427acc['createdAt']),null!=_0x427acc['attributes']&&Object['hasOwnProperty']['call'](_0x427acc,'attributes')&&(_0x162fb6['attributes']=_0x427acc['attributes']),_0x162fb6;},_0x41250c['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x41250c['getTypeUrl']=function(_0x48a255){return void 0x0===_0x48a255&&(_0x48a255='type.googleapis.com'),_0x48a255+'/CommentDescriptor';},_0x41250c;}()),_0xbccd8d['GetDocumentDetailsResponse']=(function(){function _0x1de019(_0x109811){if(_0x109811){for(var _0x3b6dfb=Object['keys'](_0x109811),_0x4f0072=0x0;_0x4f0072<_0x3b6dfb['length'];++_0x4f0072)null!=_0x109811[_0x3b6dfb[_0x4f0072]]&&'__proto__'!==_0x3b6dfb[_0x4f0072]&&(this[_0x3b6dfb[_0x4f0072]]=_0x109811[_0x3b6dfb[_0x4f0072]]);}}return _0x1de019['prototype']['lastDocumentSessionId']='',_0x1de019['prototype']['lastDocumentSessionOperationId']='',_0x1de019['prototype']['currentDocumentSessionId']='',_0x1de019['prototype']['currentDocumentSessionVersion']=0x0,_0x1de019['prototype']['currentDocumentSessionOperationId']='',_0x1de019['create']=function(_0x5e3729){return new _0x1de019(_0x5e3729);},_0x1de019['encode']=function(_0xcd8597,_0x5ed9ec,_0x525d62){if(_0x5ed9ec||(_0x5ed9ec=_0x55d9b7['create']()),void 0x0===_0x525d62&&(_0x525d62=0x0),_0x525d62>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0xcd8597['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xcd8597,'lastDocumentSessionId')&&_0x5ed9ec['uint32'](0xa)['string'](_0xcd8597['lastDocumentSessionId']),null!=_0xcd8597['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xcd8597,'lastDocumentSessionOperationId')&&_0x5ed9ec['uint32'](0x12)['string'](_0xcd8597['lastDocumentSessionOperationId']),null!=_0xcd8597['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0xcd8597,'currentDocumentSessionId')&&_0x5ed9ec['uint32'](0x1a)['string'](_0xcd8597['currentDocumentSessionId']),null!=_0xcd8597['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0xcd8597,'currentDocumentSessionVersion')&&_0x5ed9ec['uint32'](0x20)['uint32'](_0xcd8597['currentDocumentSessionVersion']),null!=_0xcd8597['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0xcd8597,'currentDocumentSessionOperationId')&&_0x5ed9ec['uint32'](0x2a)['string'](_0xcd8597['currentDocumentSessionOperationId']),_0x5ed9ec;},_0x1de019['encodeDelimited']=function(_0x5eabf8,_0x121a08){return this['encode'](_0x5eabf8,_0x121a08)['ldelim']();},_0x1de019['decode']=function(_0x4a2a01,_0x486ef0,_0x4623dc,_0x123c41){if(_0x4a2a01 instanceof _0x105dc2||(_0x4a2a01=_0x105dc2['create'](_0x4a2a01)),void 0x0===_0x123c41&&(_0x123c41=0x0),_0x123c41>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x297bed=void 0x0===_0x486ef0?_0x4a2a01['len']:_0x4a2a01['pos']+_0x486ef0,_0x4ae5f2=new _0xbccd8d['GetDocumentDetailsResponse']();_0x4a2a01['pos']<_0x297bed;){var _0x5812cb=_0x4a2a01['uint32']();if(_0x5812cb===_0x4623dc)break;switch(_0x5812cb>>>0x3){case 0x1:_0x4ae5f2['lastDocumentSessionId']=_0x4a2a01['string']();break;case 0x2:_0x4ae5f2['lastDocumentSessionOperationId']=_0x4a2a01['string']();break;case 0x3:_0x4ae5f2['currentDocumentSessionId']=_0x4a2a01['string']();break;case 0x4:_0x4ae5f2['currentDocumentSessionVersion']=_0x4a2a01['uint32']();break;case 0x5:_0x4ae5f2['currentDocumentSessionOperationId']=_0x4a2a01['string']();break;default:_0x4a2a01['skipType'](0x7&_0x5812cb,_0x123c41);}}return _0x4ae5f2;},_0x1de019['decodeDelimited']=function(_0x56bfe7){return _0x56bfe7 instanceof _0x105dc2||(_0x56bfe7=new _0x105dc2(_0x56bfe7)),this['decode'](_0x56bfe7,_0x56bfe7['uint32']());},_0x1de019['verify']=function(_0x289a5b,_0x4dfece){return'object'!=typeof _0x289a5b||null===_0x289a5b?'object\x20expected':(void 0x0===_0x4dfece&&(_0x4dfece=0x0),_0x4dfece>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x289a5b['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x289a5b,'lastDocumentSessionId')&&!_0x222891['isString'](_0x289a5b['lastDocumentSessionId'])?'lastDocumentSessionId:\x20string\x20expected':null!=_0x289a5b['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x289a5b,'lastDocumentSessionOperationId')&&!_0x222891['isString'](_0x289a5b['lastDocumentSessionOperationId'])?'lastDocumentSessionOperationId:\x20string\x20expected':null!=_0x289a5b['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x289a5b,'currentDocumentSessionId')&&!_0x222891['isString'](_0x289a5b['currentDocumentSessionId'])?'currentDocumentSessionId:\x20string\x20expected':null!=_0x289a5b['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x289a5b,'currentDocumentSessionVersion')&&!_0x222891['isInteger'](_0x289a5b['currentDocumentSessionVersion'])?'currentDocumentSessionVersion:\x20integer\x20expected':null!=_0x289a5b['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x289a5b,'currentDocumentSessionOperationId')&&!_0x222891['isString'](_0x289a5b['currentDocumentSessionOperationId'])?'currentDocumentSessionOperationId:\x20string\x20expected':null);},_0x1de019['fromObject']=function(_0x51e132,_0x4773d){if(_0x51e132 instanceof _0xbccd8d['GetDocumentDetailsResponse'])return _0x51e132;if(!_0x222891['isObject'](_0x51e132))throw TypeError('.GetDocumentDetailsResponse:\x20object\x20expected');if(void 0x0===_0x4773d&&(_0x4773d=0x0),_0x4773d>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x48487e=new _0xbccd8d['GetDocumentDetailsResponse']();return null!=_0x51e132['lastDocumentSessionId']&&(_0x48487e['lastDocumentSessionId']=String(_0x51e132['lastDocumentSessionId'])),null!=_0x51e132['lastDocumentSessionOperationId']&&(_0x48487e['lastDocumentSessionOperationId']=String(_0x51e132['lastDocumentSessionOperationId'])),null!=_0x51e132['currentDocumentSessionId']&&(_0x48487e['currentDocumentSessionId']=String(_0x51e132['currentDocumentSessionId'])),null!=_0x51e132['currentDocumentSessionVersion']&&(_0x48487e['currentDocumentSessionVersion']=_0x51e132['currentDocumentSessionVersion']>>>0x0),null!=_0x51e132['currentDocumentSessionOperationId']&&(_0x48487e['currentDocumentSessionOperationId']=String(_0x51e132['currentDocumentSessionOperationId'])),_0x48487e;},_0x1de019['toObject']=function(_0x3e16c5,_0x55e760,_0xcdeb75){if(_0x55e760||(_0x55e760={}),void 0x0===_0xcdeb75&&(_0xcdeb75=0x0),_0xcdeb75>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xdbd1c5={};return _0x55e760['defaults']&&(_0xdbd1c5['lastDocumentSessionId']='',_0xdbd1c5['lastDocumentSessionOperationId']='',_0xdbd1c5['currentDocumentSessionId']='',_0xdbd1c5['currentDocumentSessionVersion']=0x0,_0xdbd1c5['currentDocumentSessionOperationId']=''),null!=_0x3e16c5['lastDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x3e16c5,'lastDocumentSessionId')&&(_0xdbd1c5['lastDocumentSessionId']=_0x3e16c5['lastDocumentSessionId']),null!=_0x3e16c5['lastDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x3e16c5,'lastDocumentSessionOperationId')&&(_0xdbd1c5['lastDocumentSessionOperationId']=_0x3e16c5['lastDocumentSessionOperationId']),null!=_0x3e16c5['currentDocumentSessionId']&&Object['hasOwnProperty']['call'](_0x3e16c5,'currentDocumentSessionId')&&(_0xdbd1c5['currentDocumentSessionId']=_0x3e16c5['currentDocumentSessionId']),null!=_0x3e16c5['currentDocumentSessionVersion']&&Object['hasOwnProperty']['call'](_0x3e16c5,'currentDocumentSessionVersion')&&(_0xdbd1c5['currentDocumentSessionVersion']=_0x3e16c5['currentDocumentSessionVersion']),null!=_0x3e16c5['currentDocumentSessionOperationId']&&Object['hasOwnProperty']['call'](_0x3e16c5,'currentDocumentSessionOperationId')&&(_0xdbd1c5['currentDocumentSessionOperationId']=_0x3e16c5['currentDocumentSessionOperationId']),_0xdbd1c5;},_0x1de019['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x1de019['getTypeUrl']=function(_0x4b2407){return void 0x0===_0x4b2407&&(_0x4b2407='type.googleapis.com'),_0x4b2407+'/GetDocumentDetailsResponse';},_0x1de019;}()),_0xbccd8d['CollaborativeEditingResponse']=(function(){function _0x4574c2(_0x25db0e){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x25db0e){for(var _0x331586=Object['keys'](_0x25db0e),_0x39dab9=0x0;_0x39dab9<_0x331586['length'];++_0x39dab9)null!=_0x25db0e[_0x331586[_0x39dab9]]&&'__proto__'!==_0x331586[_0x39dab9]&&(this[_0x331586[_0x39dab9]]=_0x25db0e[_0x331586[_0x39dab9]]);}}return _0x4574c2['prototype']['version']=0x0,_0x4574c2['prototype']['buffers']=_0x222891['emptyArray'],_0x4574c2['prototype']['types']=_0x222891['emptyArray'],_0x4574c2['prototype']['metadata']=_0x222891['emptyArray'],_0x4574c2['prototype']['lastOperationId']='',_0x4574c2['prototype']['lastOperationAcceptedAt']='',_0x4574c2['create']=function(_0x4dbd00){return new _0x4574c2(_0x4dbd00);},_0x4574c2['encode']=function(_0x2067cf,_0x3508b6,_0x42b287){if(_0x3508b6||(_0x3508b6=_0x55d9b7['create']()),void 0x0===_0x42b287&&(_0x42b287=0x0),_0x42b287>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2067cf['version']&&Object['hasOwnProperty']['call'](_0x2067cf,'version')&&_0x3508b6['uint32'](0x8)['uint32'](_0x2067cf['version']),null!=_0x2067cf['buffers']&&_0x2067cf['buffers']['length']){for(var _0x393af6=0x0;_0x393af6<_0x2067cf['buffers']['length'];++_0x393af6)_0x3508b6['uint32'](0x12)['bytes'](_0x2067cf['buffers'][_0x393af6]);}if(null!=_0x2067cf['types']&&_0x2067cf['types']['length']){for(_0x3508b6['uint32'](0x1a)['fork'](),_0x393af6=0x0;_0x393af6<_0x2067cf['types']['length'];++_0x393af6)_0x3508b6['uint32'](_0x2067cf['types'][_0x393af6]);_0x3508b6['ldelim']();}if(null!=_0x2067cf['metadata']&&_0x2067cf['metadata']['length']){for(_0x393af6=0x0;_0x393af6<_0x2067cf['metadata']['length'];++_0x393af6)_0xbccd8d['OperationMetadataDescriptor']['encode'](_0x2067cf['metadata'][_0x393af6],_0x3508b6['uint32'](0x2a)['fork'](),_0x42b287+0x1)['ldelim']();}return null!=_0x2067cf['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2067cf,'lastOperationId')&&_0x3508b6['uint32'](0x32)['string'](_0x2067cf['lastOperationId']),null!=_0x2067cf['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x2067cf,'lastOperationAcceptedAt')&&_0x3508b6['uint32'](0x3a)['string'](_0x2067cf['lastOperationAcceptedAt']),_0x3508b6;},_0x4574c2['encodeDelimited']=function(_0x212e6b,_0xf4b6ee){return this['encode'](_0x212e6b,_0xf4b6ee)['ldelim']();},_0x4574c2['decode']=function(_0x3974cf,_0x488dca,_0x349c8d,_0xe6ad40){if(_0x3974cf instanceof _0x105dc2||(_0x3974cf=_0x105dc2['create'](_0x3974cf)),void 0x0===_0xe6ad40&&(_0xe6ad40=0x0),_0xe6ad40>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2db2c1=void 0x0===_0x488dca?_0x3974cf['len']:_0x3974cf['pos']+_0x488dca,_0x13e1ae=new _0xbccd8d['CollaborativeEditingResponse']();_0x3974cf['pos']<_0x2db2c1;){var _0x142f45=_0x3974cf['uint32']();if(_0x142f45===_0x349c8d)break;switch(_0x142f45>>>0x3){case 0x1:_0x13e1ae['version']=_0x3974cf['uint32']();break;case 0x2:_0x13e1ae['buffers']&&_0x13e1ae['buffers']['length']||(_0x13e1ae['buffers']=[]),_0x13e1ae['buffers']['push'](_0x3974cf['bytes']());break;case 0x3:if(_0x13e1ae['types']&&_0x13e1ae['types']['length']||(_0x13e1ae['types']=[]),0x2==(0x7&_0x142f45)){for(var _0xdc126f=_0x3974cf['uint32']()+_0x3974cf['pos'];_0x3974cf['pos']<_0xdc126f;)_0x13e1ae['types']['push'](_0x3974cf['uint32']());}else _0x13e1ae['types']['push'](_0x3974cf['uint32']());break;case 0x5:_0x13e1ae['metadata']&&_0x13e1ae['metadata']['length']||(_0x13e1ae['metadata']=[]),_0x13e1ae['metadata']['push'](_0xbccd8d['OperationMetadataDescriptor']['decode'](_0x3974cf,_0x3974cf['uint32'](),void 0x0,_0xe6ad40+0x1));break;case 0x6:_0x13e1ae['lastOperationId']=_0x3974cf['string']();break;case 0x7:_0x13e1ae['lastOperationAcceptedAt']=_0x3974cf['string']();break;default:_0x3974cf['skipType'](0x7&_0x142f45,_0xe6ad40);}}return _0x13e1ae;},_0x4574c2['decodeDelimited']=function(_0x43d4d6){return _0x43d4d6 instanceof _0x105dc2||(_0x43d4d6=new _0x105dc2(_0x43d4d6)),this['decode'](_0x43d4d6,_0x43d4d6['uint32']());},_0x4574c2['verify']=function(_0x13b069,_0x4c067a){if('object'!=typeof _0x13b069||null===_0x13b069)return'object\x20expected';if(void 0x0===_0x4c067a&&(_0x4c067a=0x0),_0x4c067a>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x13b069['version']&&Object['hasOwnProperty']['call'](_0x13b069,'version')&&!_0x222891['isInteger'](_0x13b069['version']))return'version:\x20integer\x20expected';if(null!=_0x13b069['buffers']&&Object['hasOwnProperty']['call'](_0x13b069,'buffers')){if(!Array['isArray'](_0x13b069['buffers']))return'buffers:\x20array\x20expected';for(var _0x4fa9cd=0x0;_0x4fa9cd<_0x13b069['buffers']['length'];++_0x4fa9cd)if(!(_0x13b069['buffers'][_0x4fa9cd]&&'number'==typeof _0x13b069['buffers'][_0x4fa9cd]['length']||_0x222891['isString'](_0x13b069['buffers'][_0x4fa9cd])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x13b069['types']&&Object['hasOwnProperty']['call'](_0x13b069,'types')){if(!Array['isArray'](_0x13b069['types']))return'types:\x20array\x20expected';for(_0x4fa9cd=0x0;_0x4fa9cd<_0x13b069['types']['length'];++_0x4fa9cd)if(!_0x222891['isInteger'](_0x13b069['types'][_0x4fa9cd]))return'types:\x20integer[]\x20expected';}if(null!=_0x13b069['metadata']&&Object['hasOwnProperty']['call'](_0x13b069,'metadata')){if(!Array['isArray'](_0x13b069['metadata']))return'metadata:\x20array\x20expected';for(_0x4fa9cd=0x0;_0x4fa9cd<_0x13b069['metadata']['length'];++_0x4fa9cd){var _0x5e816c=_0xbccd8d['OperationMetadataDescriptor']['verify'](_0x13b069['metadata'][_0x4fa9cd],_0x4c067a+0x1);if(_0x5e816c)return'metadata.'+_0x5e816c;}}return null!=_0x13b069['lastOperationId']&&Object['hasOwnProperty']['call'](_0x13b069,'lastOperationId')&&!_0x222891['isString'](_0x13b069['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x13b069['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x13b069,'lastOperationAcceptedAt')&&!_0x222891['isString'](_0x13b069['lastOperationAcceptedAt'])?'lastOperationAcceptedAt:\x20string\x20expected':null;},_0x4574c2['fromObject']=function(_0x507a7b,_0x10160d){if(_0x507a7b instanceof _0xbccd8d['CollaborativeEditingResponse'])return _0x507a7b;if(!_0x222891['isObject'](_0x507a7b))throw TypeError('.CollaborativeEditingResponse:\x20object\x20expected');if(void 0x0===_0x10160d&&(_0x10160d=0x0),_0x10160d>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x341891=new _0xbccd8d['CollaborativeEditingResponse']();if(null!=_0x507a7b['version']&&(_0x341891['version']=_0x507a7b['version']>>>0x0),_0x507a7b['buffers']){if(!Array['isArray'](_0x507a7b['buffers']))throw TypeError('.CollaborativeEditingResponse.buffers:\x20array\x20expected');_0x341891['buffers']=[];for(var _0x4c1987=0x0;_0x4c1987<_0x507a7b['buffers']['length'];++_0x4c1987)'string'==typeof _0x507a7b['buffers'][_0x4c1987]?_0x222891['base64']['decode'](_0x507a7b['buffers'][_0x4c1987],_0x341891['buffers'][_0x4c1987]=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x507a7b['buffers'][_0x4c1987])),0x0):_0x507a7b['buffers'][_0x4c1987]['length']>=0x0&&(_0x341891['buffers'][_0x4c1987]=_0x507a7b['buffers'][_0x4c1987]);}if(_0x507a7b['types']){if(!Array['isArray'](_0x507a7b['types']))throw TypeError('.CollaborativeEditingResponse.types:\x20array\x20expected');for(_0x341891['types']=[],_0x4c1987=0x0;_0x4c1987<_0x507a7b['types']['length'];++_0x4c1987)_0x341891['types'][_0x4c1987]=_0x507a7b['types'][_0x4c1987]>>>0x0;}if(_0x507a7b['metadata']){if(!Array['isArray'](_0x507a7b['metadata']))throw TypeError('.CollaborativeEditingResponse.metadata:\x20array\x20expected');for(_0x341891['metadata']=[],_0x4c1987=0x0;_0x4c1987<_0x507a7b['metadata']['length'];++_0x4c1987){if(!_0x222891['isObject'](_0x507a7b['metadata'][_0x4c1987]))throw TypeError('.CollaborativeEditingResponse.metadata:\x20object\x20expected');_0x341891['metadata'][_0x4c1987]=_0xbccd8d['OperationMetadataDescriptor']['fromObject'](_0x507a7b['metadata'][_0x4c1987],_0x10160d+0x1);}}return null!=_0x507a7b['lastOperationId']&&(_0x341891['lastOperationId']=String(_0x507a7b['lastOperationId'])),null!=_0x507a7b['lastOperationAcceptedAt']&&(_0x341891['lastOperationAcceptedAt']=String(_0x507a7b['lastOperationAcceptedAt'])),_0x341891;},_0x4574c2['toObject']=function(_0x2437f1,_0x256dd3,_0x2810a1){if(_0x256dd3||(_0x256dd3={}),void 0x0===_0x2810a1&&(_0x2810a1=0x0),_0x2810a1>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x198ae0={};if((_0x256dd3['arrays']||_0x256dd3['defaults'])&&(_0x198ae0['buffers']=[],_0x198ae0['types']=[],_0x198ae0['metadata']=[]),_0x256dd3['defaults']&&(_0x198ae0['version']=0x0,_0x198ae0['lastOperationId']='',_0x198ae0['lastOperationAcceptedAt']=''),null!=_0x2437f1['version']&&Object['hasOwnProperty']['call'](_0x2437f1,'version')&&(_0x198ae0['version']=_0x2437f1['version']),_0x2437f1['buffers']&&_0x2437f1['buffers']['length']){_0x198ae0['buffers']=[];for(var _0x14c340=0x0;_0x14c340<_0x2437f1['buffers']['length'];++_0x14c340)_0x198ae0['buffers'][_0x14c340]=_0x256dd3['bytes']===String?_0x222891['base64']['encode'](_0x2437f1['buffers'][_0x14c340],0x0,_0x2437f1['buffers'][_0x14c340]['length']):_0x256dd3['bytes']===Array?Array['prototype']['slice']['call'](_0x2437f1['buffers'][_0x14c340]):_0x2437f1['buffers'][_0x14c340];}if(_0x2437f1['types']&&_0x2437f1['types']['length']){for(_0x198ae0['types']=[],_0x14c340=0x0;_0x14c340<_0x2437f1['types']['length'];++_0x14c340)_0x198ae0['types'][_0x14c340]=_0x2437f1['types'][_0x14c340];}if(_0x2437f1['metadata']&&_0x2437f1['metadata']['length']){for(_0x198ae0['metadata']=[],_0x14c340=0x0;_0x14c340<_0x2437f1['metadata']['length'];++_0x14c340)_0x198ae0['metadata'][_0x14c340]=_0xbccd8d['OperationMetadataDescriptor']['toObject'](_0x2437f1['metadata'][_0x14c340],_0x256dd3,_0x2810a1+0x1);}return null!=_0x2437f1['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2437f1,'lastOperationId')&&(_0x198ae0['lastOperationId']=_0x2437f1['lastOperationId']),null!=_0x2437f1['lastOperationAcceptedAt']&&Object['hasOwnProperty']['call'](_0x2437f1,'lastOperationAcceptedAt')&&(_0x198ae0['lastOperationAcceptedAt']=_0x2437f1['lastOperationAcceptedAt']),_0x198ae0;},_0x4574c2['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x4574c2['getTypeUrl']=function(_0x3575c8){return void 0x0===_0x3575c8&&(_0x3575c8='type.googleapis.com'),_0x3575c8+'/CollaborativeEditingResponse';},_0x4574c2;}()),_0xbccd8d['CollaborativeEditingConnectResponse']=(function(){function _0x5ca111(_0x16ee9e){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x16ee9e){for(var _0x562040=Object['keys'](_0x16ee9e),_0xe750e5=0x0;_0xe750e5<_0x562040['length'];++_0xe750e5)null!=_0x16ee9e[_0x562040[_0xe750e5]]&&'__proto__'!==_0x562040[_0xe750e5]&&(this[_0x562040[_0xe750e5]]=_0x16ee9e[_0x562040[_0xe750e5]]);}}return _0x5ca111['prototype']['channel']='',_0x5ca111['prototype']['offset']=0x0,_0x5ca111['prototype']['version']=0x0,_0x5ca111['prototype']['buffers']=_0x222891['emptyArray'],_0x5ca111['prototype']['types']=_0x222891['emptyArray'],_0x5ca111['prototype']['metadata']=_0x222891['emptyArray'],_0x5ca111['prototype']['initData']='',_0x5ca111['prototype']['isInitialized']=!0x1,_0x5ca111['prototype']['sessionId']='',_0x5ca111['prototype']['lastOperationId']='',_0x5ca111['prototype']['sessionCreatedAt']='',_0x5ca111['create']=function(_0xa13f56){return new _0x5ca111(_0xa13f56);},_0x5ca111['encode']=function(_0x2fbaae,_0x513f40,_0x5ea473){if(_0x513f40||(_0x513f40=_0x55d9b7['create']()),void 0x0===_0x5ea473&&(_0x5ea473=0x0),_0x5ea473>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x2fbaae['channel']&&Object['hasOwnProperty']['call'](_0x2fbaae,'channel')&&_0x513f40['uint32'](0xa)['string'](_0x2fbaae['channel']),null!=_0x2fbaae['offset']&&Object['hasOwnProperty']['call'](_0x2fbaae,'offset')&&_0x513f40['uint32'](0x10)['uint32'](_0x2fbaae['offset']),null!=_0x2fbaae['version']&&Object['hasOwnProperty']['call'](_0x2fbaae,'version')&&_0x513f40['uint32'](0x18)['uint32'](_0x2fbaae['version']),null!=_0x2fbaae['buffers']&&_0x2fbaae['buffers']['length']){for(var _0x23da40=0x0;_0x23da40<_0x2fbaae['buffers']['length'];++_0x23da40)_0x513f40['uint32'](0x22)['bytes'](_0x2fbaae['buffers'][_0x23da40]);}if(null!=_0x2fbaae['types']&&_0x2fbaae['types']['length']){for(_0x513f40['uint32'](0x2a)['fork'](),_0x23da40=0x0;_0x23da40<_0x2fbaae['types']['length'];++_0x23da40)_0x513f40['uint32'](_0x2fbaae['types'][_0x23da40]);_0x513f40['ldelim']();}if(null!=_0x2fbaae['metadata']&&_0x2fbaae['metadata']['length']){for(_0x23da40=0x0;_0x23da40<_0x2fbaae['metadata']['length'];++_0x23da40)_0xbccd8d['OperationMetadataDescriptor']['encode'](_0x2fbaae['metadata'][_0x23da40],_0x513f40['uint32'](0x3a)['fork'](),_0x5ea473+0x1)['ldelim']();}return null!=_0x2fbaae['initData']&&Object['hasOwnProperty']['call'](_0x2fbaae,'initData')&&_0x513f40['uint32'](0x42)['string'](_0x2fbaae['initData']),null!=_0x2fbaae['isInitialized']&&Object['hasOwnProperty']['call'](_0x2fbaae,'isInitialized')&&_0x513f40['uint32'](0x48)['bool'](_0x2fbaae['isInitialized']),null!=_0x2fbaae['sessionId']&&Object['hasOwnProperty']['call'](_0x2fbaae,'sessionId')&&_0x513f40['uint32'](0x52)['string'](_0x2fbaae['sessionId']),null!=_0x2fbaae['lastOperationId']&&Object['hasOwnProperty']['call'](_0x2fbaae,'lastOperationId')&&_0x513f40['uint32'](0x5a)['string'](_0x2fbaae['lastOperationId']),null!=_0x2fbaae['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x2fbaae,'sessionCreatedAt')&&_0x513f40['uint32'](0x62)['string'](_0x2fbaae['sessionCreatedAt']),_0x513f40;},_0x5ca111['encodeDelimited']=function(_0xfca188,_0x51e46f){return this['encode'](_0xfca188,_0x51e46f)['ldelim']();},_0x5ca111['decode']=function(_0x51c764,_0x149a05,_0x1bedf6,_0x5be890){if(_0x51c764 instanceof _0x105dc2||(_0x51c764=_0x105dc2['create'](_0x51c764)),void 0x0===_0x5be890&&(_0x5be890=0x0),_0x5be890>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x35b2da=void 0x0===_0x149a05?_0x51c764['len']:_0x51c764['pos']+_0x149a05,_0x58597c=new _0xbccd8d['CollaborativeEditingConnectResponse']();_0x51c764['pos']<_0x35b2da;){var _0x229011=_0x51c764['uint32']();if(_0x229011===_0x1bedf6)break;switch(_0x229011>>>0x3){case 0x1:_0x58597c['channel']=_0x51c764['string']();break;case 0x2:_0x58597c['offset']=_0x51c764['uint32']();break;case 0x3:_0x58597c['version']=_0x51c764['uint32']();break;case 0x4:_0x58597c['buffers']&&_0x58597c['buffers']['length']||(_0x58597c['buffers']=[]),_0x58597c['buffers']['push'](_0x51c764['bytes']());break;case 0x5:if(_0x58597c['types']&&_0x58597c['types']['length']||(_0x58597c['types']=[]),0x2==(0x7&_0x229011)){for(var _0x1aa844=_0x51c764['uint32']()+_0x51c764['pos'];_0x51c764['pos']<_0x1aa844;)_0x58597c['types']['push'](_0x51c764['uint32']());}else _0x58597c['types']['push'](_0x51c764['uint32']());break;case 0x7:_0x58597c['metadata']&&_0x58597c['metadata']['length']||(_0x58597c['metadata']=[]),_0x58597c['metadata']['push'](_0xbccd8d['OperationMetadataDescriptor']['decode'](_0x51c764,_0x51c764['uint32'](),void 0x0,_0x5be890+0x1));break;case 0x8:_0x58597c['initData']=_0x51c764['string']();break;case 0x9:_0x58597c['isInitialized']=_0x51c764['bool']();break;case 0xa:_0x58597c['sessionId']=_0x51c764['string']();break;case 0xb:_0x58597c['lastOperationId']=_0x51c764['string']();break;case 0xc:_0x58597c['sessionCreatedAt']=_0x51c764['string']();break;default:_0x51c764['skipType'](0x7&_0x229011,_0x5be890);}}return _0x58597c;},_0x5ca111['decodeDelimited']=function(_0x309fb9){return _0x309fb9 instanceof _0x105dc2||(_0x309fb9=new _0x105dc2(_0x309fb9)),this['decode'](_0x309fb9,_0x309fb9['uint32']());},_0x5ca111['verify']=function(_0x205aba,_0x566a60){if('object'!=typeof _0x205aba||null===_0x205aba)return'object\x20expected';if(void 0x0===_0x566a60&&(_0x566a60=0x0),_0x566a60>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x205aba['channel']&&Object['hasOwnProperty']['call'](_0x205aba,'channel')&&!_0x222891['isString'](_0x205aba['channel']))return'channel:\x20string\x20expected';if(null!=_0x205aba['offset']&&Object['hasOwnProperty']['call'](_0x205aba,'offset')&&!_0x222891['isInteger'](_0x205aba['offset']))return'offset:\x20integer\x20expected';if(null!=_0x205aba['version']&&Object['hasOwnProperty']['call'](_0x205aba,'version')&&!_0x222891['isInteger'](_0x205aba['version']))return'version:\x20integer\x20expected';if(null!=_0x205aba['buffers']&&Object['hasOwnProperty']['call'](_0x205aba,'buffers')){if(!Array['isArray'](_0x205aba['buffers']))return'buffers:\x20array\x20expected';for(var _0x10313d=0x0;_0x10313d<_0x205aba['buffers']['length'];++_0x10313d)if(!(_0x205aba['buffers'][_0x10313d]&&'number'==typeof _0x205aba['buffers'][_0x10313d]['length']||_0x222891['isString'](_0x205aba['buffers'][_0x10313d])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x205aba['types']&&Object['hasOwnProperty']['call'](_0x205aba,'types')){if(!Array['isArray'](_0x205aba['types']))return'types:\x20array\x20expected';for(_0x10313d=0x0;_0x10313d<_0x205aba['types']['length'];++_0x10313d)if(!_0x222891['isInteger'](_0x205aba['types'][_0x10313d]))return'types:\x20integer[]\x20expected';}if(null!=_0x205aba['metadata']&&Object['hasOwnProperty']['call'](_0x205aba,'metadata')){if(!Array['isArray'](_0x205aba['metadata']))return'metadata:\x20array\x20expected';for(_0x10313d=0x0;_0x10313d<_0x205aba['metadata']['length'];++_0x10313d){var _0x19a335=_0xbccd8d['OperationMetadataDescriptor']['verify'](_0x205aba['metadata'][_0x10313d],_0x566a60+0x1);if(_0x19a335)return'metadata.'+_0x19a335;}}return null!=_0x205aba['initData']&&Object['hasOwnProperty']['call'](_0x205aba,'initData')&&!_0x222891['isString'](_0x205aba['initData'])?'initData:\x20string\x20expected':null!=_0x205aba['isInitialized']&&Object['hasOwnProperty']['call'](_0x205aba,'isInitialized')&&'boolean'!=typeof _0x205aba['isInitialized']?'isInitialized:\x20boolean\x20expected':null!=_0x205aba['sessionId']&&Object['hasOwnProperty']['call'](_0x205aba,'sessionId')&&!_0x222891['isString'](_0x205aba['sessionId'])?'sessionId:\x20string\x20expected':null!=_0x205aba['lastOperationId']&&Object['hasOwnProperty']['call'](_0x205aba,'lastOperationId')&&!_0x222891['isString'](_0x205aba['lastOperationId'])?'lastOperationId:\x20string\x20expected':null!=_0x205aba['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x205aba,'sessionCreatedAt')&&!_0x222891['isString'](_0x205aba['sessionCreatedAt'])?'sessionCreatedAt:\x20string\x20expected':null;},_0x5ca111['fromObject']=function(_0x367f31,_0x12b0b6){if(_0x367f31 instanceof _0xbccd8d['CollaborativeEditingConnectResponse'])return _0x367f31;if(!_0x222891['isObject'](_0x367f31))throw TypeError('.CollaborativeEditingConnectResponse:\x20object\x20expected');if(void 0x0===_0x12b0b6&&(_0x12b0b6=0x0),_0x12b0b6>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x9f1d14=new _0xbccd8d['CollaborativeEditingConnectResponse']();if(null!=_0x367f31['channel']&&(_0x9f1d14['channel']=String(_0x367f31['channel'])),null!=_0x367f31['offset']&&(_0x9f1d14['offset']=_0x367f31['offset']>>>0x0),null!=_0x367f31['version']&&(_0x9f1d14['version']=_0x367f31['version']>>>0x0),_0x367f31['buffers']){if(!Array['isArray'](_0x367f31['buffers']))throw TypeError('.CollaborativeEditingConnectResponse.buffers:\x20array\x20expected');_0x9f1d14['buffers']=[];for(var _0x1b12c5=0x0;_0x1b12c5<_0x367f31['buffers']['length'];++_0x1b12c5)'string'==typeof _0x367f31['buffers'][_0x1b12c5]?_0x222891['base64']['decode'](_0x367f31['buffers'][_0x1b12c5],_0x9f1d14['buffers'][_0x1b12c5]=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x367f31['buffers'][_0x1b12c5])),0x0):_0x367f31['buffers'][_0x1b12c5]['length']>=0x0&&(_0x9f1d14['buffers'][_0x1b12c5]=_0x367f31['buffers'][_0x1b12c5]);}if(_0x367f31['types']){if(!Array['isArray'](_0x367f31['types']))throw TypeError('.CollaborativeEditingConnectResponse.types:\x20array\x20expected');for(_0x9f1d14['types']=[],_0x1b12c5=0x0;_0x1b12c5<_0x367f31['types']['length'];++_0x1b12c5)_0x9f1d14['types'][_0x1b12c5]=_0x367f31['types'][_0x1b12c5]>>>0x0;}if(_0x367f31['metadata']){if(!Array['isArray'](_0x367f31['metadata']))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20array\x20expected');for(_0x9f1d14['metadata']=[],_0x1b12c5=0x0;_0x1b12c5<_0x367f31['metadata']['length'];++_0x1b12c5){if(!_0x222891['isObject'](_0x367f31['metadata'][_0x1b12c5]))throw TypeError('.CollaborativeEditingConnectResponse.metadata:\x20object\x20expected');_0x9f1d14['metadata'][_0x1b12c5]=_0xbccd8d['OperationMetadataDescriptor']['fromObject'](_0x367f31['metadata'][_0x1b12c5],_0x12b0b6+0x1);}}return null!=_0x367f31['initData']&&(_0x9f1d14['initData']=String(_0x367f31['initData'])),null!=_0x367f31['isInitialized']&&(_0x9f1d14['isInitialized']=Boolean(_0x367f31['isInitialized'])),null!=_0x367f31['sessionId']&&(_0x9f1d14['sessionId']=String(_0x367f31['sessionId'])),null!=_0x367f31['lastOperationId']&&(_0x9f1d14['lastOperationId']=String(_0x367f31['lastOperationId'])),null!=_0x367f31['sessionCreatedAt']&&(_0x9f1d14['sessionCreatedAt']=String(_0x367f31['sessionCreatedAt'])),_0x9f1d14;},_0x5ca111['toObject']=function(_0x3d1443,_0x2a9e7b,_0x458f55){if(_0x2a9e7b||(_0x2a9e7b={}),void 0x0===_0x458f55&&(_0x458f55=0x0),_0x458f55>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x4c32ef={};if((_0x2a9e7b['arrays']||_0x2a9e7b['defaults'])&&(_0x4c32ef['buffers']=[],_0x4c32ef['types']=[],_0x4c32ef['metadata']=[]),_0x2a9e7b['defaults']&&(_0x4c32ef['channel']='',_0x4c32ef['offset']=0x0,_0x4c32ef['version']=0x0,_0x4c32ef['initData']='',_0x4c32ef['isInitialized']=!0x1,_0x4c32ef['sessionId']='',_0x4c32ef['lastOperationId']='',_0x4c32ef['sessionCreatedAt']=''),null!=_0x3d1443['channel']&&Object['hasOwnProperty']['call'](_0x3d1443,'channel')&&(_0x4c32ef['channel']=_0x3d1443['channel']),null!=_0x3d1443['offset']&&Object['hasOwnProperty']['call'](_0x3d1443,'offset')&&(_0x4c32ef['offset']=_0x3d1443['offset']),null!=_0x3d1443['version']&&Object['hasOwnProperty']['call'](_0x3d1443,'version')&&(_0x4c32ef['version']=_0x3d1443['version']),_0x3d1443['buffers']&&_0x3d1443['buffers']['length']){_0x4c32ef['buffers']=[];for(var _0x42210d=0x0;_0x42210d<_0x3d1443['buffers']['length'];++_0x42210d)_0x4c32ef['buffers'][_0x42210d]=_0x2a9e7b['bytes']===String?_0x222891['base64']['encode'](_0x3d1443['buffers'][_0x42210d],0x0,_0x3d1443['buffers'][_0x42210d]['length']):_0x2a9e7b['bytes']===Array?Array['prototype']['slice']['call'](_0x3d1443['buffers'][_0x42210d]):_0x3d1443['buffers'][_0x42210d];}if(_0x3d1443['types']&&_0x3d1443['types']['length']){for(_0x4c32ef['types']=[],_0x42210d=0x0;_0x42210d<_0x3d1443['types']['length'];++_0x42210d)_0x4c32ef['types'][_0x42210d]=_0x3d1443['types'][_0x42210d];}if(_0x3d1443['metadata']&&_0x3d1443['metadata']['length']){for(_0x4c32ef['metadata']=[],_0x42210d=0x0;_0x42210d<_0x3d1443['metadata']['length'];++_0x42210d)_0x4c32ef['metadata'][_0x42210d]=_0xbccd8d['OperationMetadataDescriptor']['toObject'](_0x3d1443['metadata'][_0x42210d],_0x2a9e7b,_0x458f55+0x1);}return null!=_0x3d1443['initData']&&Object['hasOwnProperty']['call'](_0x3d1443,'initData')&&(_0x4c32ef['initData']=_0x3d1443['initData']),null!=_0x3d1443['isInitialized']&&Object['hasOwnProperty']['call'](_0x3d1443,'isInitialized')&&(_0x4c32ef['isInitialized']=_0x3d1443['isInitialized']),null!=_0x3d1443['sessionId']&&Object['hasOwnProperty']['call'](_0x3d1443,'sessionId')&&(_0x4c32ef['sessionId']=_0x3d1443['sessionId']),null!=_0x3d1443['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3d1443,'lastOperationId')&&(_0x4c32ef['lastOperationId']=_0x3d1443['lastOperationId']),null!=_0x3d1443['sessionCreatedAt']&&Object['hasOwnProperty']['call'](_0x3d1443,'sessionCreatedAt')&&(_0x4c32ef['sessionCreatedAt']=_0x3d1443['sessionCreatedAt']),_0x4c32ef;},_0x5ca111['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5ca111['getTypeUrl']=function(_0x1dbff9){return void 0x0===_0x1dbff9&&(_0x1dbff9='type.googleapis.com'),_0x1dbff9+'/CollaborativeEditingConnectResponse';},_0x5ca111;}()),_0xbccd8d['GetDocumentDetailsMessage']=(function(){function _0xc9b111(_0x3eb62b){if(_0x3eb62b){for(var _0x54bd40=Object['keys'](_0x3eb62b),_0x157fd3=0x0;_0x157fd3<_0x54bd40['length'];++_0x157fd3)null!=_0x3eb62b[_0x54bd40[_0x157fd3]]&&'__proto__'!==_0x54bd40[_0x157fd3]&&(this[_0x54bd40[_0x157fd3]]=_0x3eb62b[_0x54bd40[_0x157fd3]]);}}return _0xc9b111['prototype']['documentId']='',_0xc9b111['prototype']['environmentId']='',_0xc9b111['create']=function(_0xc99311){return new _0xc9b111(_0xc99311);},_0xc9b111['encode']=function(_0x53772c,_0x1083ed,_0xc5074e){if(_0x1083ed||(_0x1083ed=_0x55d9b7['create']()),void 0x0===_0xc5074e&&(_0xc5074e=0x0),_0xc5074e>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x53772c['documentId']&&Object['hasOwnProperty']['call'](_0x53772c,'documentId')&&_0x1083ed['uint32'](0xa)['string'](_0x53772c['documentId']),null!=_0x53772c['environmentId']&&Object['hasOwnProperty']['call'](_0x53772c,'environmentId')&&_0x1083ed['uint32'](0x12)['string'](_0x53772c['environmentId']),_0x1083ed;},_0xc9b111['encodeDelimited']=function(_0x47bf64,_0x53f3d6){return this['encode'](_0x47bf64,_0x53f3d6)['ldelim']();},_0xc9b111['decode']=function(_0x171714,_0x246f62,_0x2bd023,_0x91a5bd){if(_0x171714 instanceof _0x105dc2||(_0x171714=_0x105dc2['create'](_0x171714)),void 0x0===_0x91a5bd&&(_0x91a5bd=0x0),_0x91a5bd>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x45a270=void 0x0===_0x246f62?_0x171714['len']:_0x171714['pos']+_0x246f62,_0x541366=new _0xbccd8d['GetDocumentDetailsMessage']();_0x171714['pos']<_0x45a270;){var _0x38c8ca=_0x171714['uint32']();if(_0x38c8ca===_0x2bd023)break;switch(_0x38c8ca>>>0x3){case 0x1:_0x541366['documentId']=_0x171714['string']();break;case 0x2:_0x541366['environmentId']=_0x171714['string']();break;default:_0x171714['skipType'](0x7&_0x38c8ca,_0x91a5bd);}}return _0x541366;},_0xc9b111['decodeDelimited']=function(_0x592a22){return _0x592a22 instanceof _0x105dc2||(_0x592a22=new _0x105dc2(_0x592a22)),this['decode'](_0x592a22,_0x592a22['uint32']());},_0xc9b111['verify']=function(_0x349e81,_0x362d44){return'object'!=typeof _0x349e81||null===_0x349e81?'object\x20expected':(void 0x0===_0x362d44&&(_0x362d44=0x0),_0x362d44>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x349e81['documentId']&&Object['hasOwnProperty']['call'](_0x349e81,'documentId')&&!_0x222891['isString'](_0x349e81['documentId'])?'documentId:\x20string\x20expected':null!=_0x349e81['environmentId']&&Object['hasOwnProperty']['call'](_0x349e81,'environmentId')&&!_0x222891['isString'](_0x349e81['environmentId'])?'environmentId:\x20string\x20expected':null);},_0xc9b111['fromObject']=function(_0x6bf85,_0x1b7327){if(_0x6bf85 instanceof _0xbccd8d['GetDocumentDetailsMessage'])return _0x6bf85;if(!_0x222891['isObject'](_0x6bf85))throw TypeError('.GetDocumentDetailsMessage:\x20object\x20expected');if(void 0x0===_0x1b7327&&(_0x1b7327=0x0),_0x1b7327>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x213381=new _0xbccd8d['GetDocumentDetailsMessage']();return null!=_0x6bf85['documentId']&&(_0x213381['documentId']=String(_0x6bf85['documentId'])),null!=_0x6bf85['environmentId']&&(_0x213381['environmentId']=String(_0x6bf85['environmentId'])),_0x213381;},_0xc9b111['toObject']=function(_0x3aeafa,_0x12bda2,_0x5cf8a5){if(_0x12bda2||(_0x12bda2={}),void 0x0===_0x5cf8a5&&(_0x5cf8a5=0x0),_0x5cf8a5>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x3c7dd8={};return _0x12bda2['defaults']&&(_0x3c7dd8['documentId']='',_0x3c7dd8['environmentId']=''),null!=_0x3aeafa['documentId']&&Object['hasOwnProperty']['call'](_0x3aeafa,'documentId')&&(_0x3c7dd8['documentId']=_0x3aeafa['documentId']),null!=_0x3aeafa['environmentId']&&Object['hasOwnProperty']['call'](_0x3aeafa,'environmentId')&&(_0x3c7dd8['environmentId']=_0x3aeafa['environmentId']),_0x3c7dd8;},_0xc9b111['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0xc9b111['getTypeUrl']=function(_0x4b1f5e){return void 0x0===_0x4b1f5e&&(_0x4b1f5e='type.googleapis.com'),_0x4b1f5e+'/GetDocumentDetailsMessage';},_0xc9b111;}()),_0xbccd8d['CollaborativeEditingUpdateMessage']=(function(){function _0x4abcfe(_0x4ef3c4){if(this['buffers']=[],this['types']=[],this['metadata']=[],_0x4ef3c4){for(var _0x520464=Object['keys'](_0x4ef3c4),_0x3628bc=0x0;_0x3628bc<_0x520464['length'];++_0x3628bc)null!=_0x4ef3c4[_0x520464[_0x3628bc]]&&'__proto__'!==_0x520464[_0x3628bc]&&(this[_0x520464[_0x3628bc]]=_0x4ef3c4[_0x520464[_0x3628bc]]);}}return _0x4abcfe['prototype']['id']='',_0x4abcfe['prototype']['baseVersion']=0x0,_0x4abcfe['prototype']['buffers']=_0x222891['emptyArray'],_0x4abcfe['prototype']['types']=_0x222891['emptyArray'],_0x4abcfe['prototype']['metadata']=_0x222891['emptyArray'],_0x4abcfe['prototype']['lastOperationId']='',_0x4abcfe['create']=function(_0x2a3bd4){return new _0x4abcfe(_0x2a3bd4);},_0x4abcfe['encode']=function(_0x22c0ee,_0x21334a,_0x412e88){if(_0x21334a||(_0x21334a=_0x55d9b7['create']()),void 0x0===_0x412e88&&(_0x412e88=0x0),_0x412e88>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x22c0ee['id']&&Object['hasOwnProperty']['call'](_0x22c0ee,'id')&&_0x21334a['uint32'](0xa)['string'](_0x22c0ee['id']),null!=_0x22c0ee['baseVersion']&&Object['hasOwnProperty']['call'](_0x22c0ee,'baseVersion')&&_0x21334a['uint32'](0x10)['uint32'](_0x22c0ee['baseVersion']),null!=_0x22c0ee['buffers']&&_0x22c0ee['buffers']['length']){for(var _0x1e68fe=0x0;_0x1e68fe<_0x22c0ee['buffers']['length'];++_0x1e68fe)_0x21334a['uint32'](0x1a)['bytes'](_0x22c0ee['buffers'][_0x1e68fe]);}if(null!=_0x22c0ee['types']&&_0x22c0ee['types']['length']){for(_0x21334a['uint32'](0x22)['fork'](),_0x1e68fe=0x0;_0x1e68fe<_0x22c0ee['types']['length'];++_0x1e68fe)_0x21334a['uint32'](_0x22c0ee['types'][_0x1e68fe]);_0x21334a['ldelim']();}if(null!=_0x22c0ee['metadata']&&_0x22c0ee['metadata']['length']){for(_0x1e68fe=0x0;_0x1e68fe<_0x22c0ee['metadata']['length'];++_0x1e68fe)_0xbccd8d['OperationMetadataDescriptor']['encode'](_0x22c0ee['metadata'][_0x1e68fe],_0x21334a['uint32'](0x32)['fork'](),_0x412e88+0x1)['ldelim']();}return null!=_0x22c0ee['lastOperationId']&&Object['hasOwnProperty']['call'](_0x22c0ee,'lastOperationId')&&_0x21334a['uint32'](0x3a)['string'](_0x22c0ee['lastOperationId']),_0x21334a;},_0x4abcfe['encodeDelimited']=function(_0x47e4fa,_0x54bf32){return this['encode'](_0x47e4fa,_0x54bf32)['ldelim']();},_0x4abcfe['decode']=function(_0x1277a1,_0x43529e,_0x4afb5d,_0x3f1576){if(_0x1277a1 instanceof _0x105dc2||(_0x1277a1=_0x105dc2['create'](_0x1277a1)),void 0x0===_0x3f1576&&(_0x3f1576=0x0),_0x3f1576>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x2b1b98=void 0x0===_0x43529e?_0x1277a1['len']:_0x1277a1['pos']+_0x43529e,_0x5df730=new _0xbccd8d['CollaborativeEditingUpdateMessage']();_0x1277a1['pos']<_0x2b1b98;){var _0x3a37ad=_0x1277a1['uint32']();if(_0x3a37ad===_0x4afb5d)break;switch(_0x3a37ad>>>0x3){case 0x1:_0x5df730['id']=_0x1277a1['string']();break;case 0x2:_0x5df730['baseVersion']=_0x1277a1['uint32']();break;case 0x3:_0x5df730['buffers']&&_0x5df730['buffers']['length']||(_0x5df730['buffers']=[]),_0x5df730['buffers']['push'](_0x1277a1['bytes']());break;case 0x4:if(_0x5df730['types']&&_0x5df730['types']['length']||(_0x5df730['types']=[]),0x2==(0x7&_0x3a37ad)){for(var _0x5e0e55=_0x1277a1['uint32']()+_0x1277a1['pos'];_0x1277a1['pos']<_0x5e0e55;)_0x5df730['types']['push'](_0x1277a1['uint32']());}else _0x5df730['types']['push'](_0x1277a1['uint32']());break;case 0x6:_0x5df730['metadata']&&_0x5df730['metadata']['length']||(_0x5df730['metadata']=[]),_0x5df730['metadata']['push'](_0xbccd8d['OperationMetadataDescriptor']['decode'](_0x1277a1,_0x1277a1['uint32'](),void 0x0,_0x3f1576+0x1));break;case 0x7:_0x5df730['lastOperationId']=_0x1277a1['string']();break;default:_0x1277a1['skipType'](0x7&_0x3a37ad,_0x3f1576);}}return _0x5df730;},_0x4abcfe['decodeDelimited']=function(_0x5806e2){return _0x5806e2 instanceof _0x105dc2||(_0x5806e2=new _0x105dc2(_0x5806e2)),this['decode'](_0x5806e2,_0x5806e2['uint32']());},_0x4abcfe['verify']=function(_0x5babf9,_0x465cd3){if('object'!=typeof _0x5babf9||null===_0x5babf9)return'object\x20expected';if(void 0x0===_0x465cd3&&(_0x465cd3=0x0),_0x465cd3>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x5babf9['id']&&Object['hasOwnProperty']['call'](_0x5babf9,'id')&&!_0x222891['isString'](_0x5babf9['id']))return'id:\x20string\x20expected';if(null!=_0x5babf9['baseVersion']&&Object['hasOwnProperty']['call'](_0x5babf9,'baseVersion')&&!_0x222891['isInteger'](_0x5babf9['baseVersion']))return'baseVersion:\x20integer\x20expected';if(null!=_0x5babf9['buffers']&&Object['hasOwnProperty']['call'](_0x5babf9,'buffers')){if(!Array['isArray'](_0x5babf9['buffers']))return'buffers:\x20array\x20expected';for(var _0xa0eb89=0x0;_0xa0eb89<_0x5babf9['buffers']['length'];++_0xa0eb89)if(!(_0x5babf9['buffers'][_0xa0eb89]&&'number'==typeof _0x5babf9['buffers'][_0xa0eb89]['length']||_0x222891['isString'](_0x5babf9['buffers'][_0xa0eb89])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x5babf9['types']&&Object['hasOwnProperty']['call'](_0x5babf9,'types')){if(!Array['isArray'](_0x5babf9['types']))return'types:\x20array\x20expected';for(_0xa0eb89=0x0;_0xa0eb89<_0x5babf9['types']['length'];++_0xa0eb89)if(!_0x222891['isInteger'](_0x5babf9['types'][_0xa0eb89]))return'types:\x20integer[]\x20expected';}if(null!=_0x5babf9['metadata']&&Object['hasOwnProperty']['call'](_0x5babf9,'metadata')){if(!Array['isArray'](_0x5babf9['metadata']))return'metadata:\x20array\x20expected';for(_0xa0eb89=0x0;_0xa0eb89<_0x5babf9['metadata']['length'];++_0xa0eb89){var _0x1517a6=_0xbccd8d['OperationMetadataDescriptor']['verify'](_0x5babf9['metadata'][_0xa0eb89],_0x465cd3+0x1);if(_0x1517a6)return'metadata.'+_0x1517a6;}}return null!=_0x5babf9['lastOperationId']&&Object['hasOwnProperty']['call'](_0x5babf9,'lastOperationId')&&!_0x222891['isString'](_0x5babf9['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x4abcfe['fromObject']=function(_0x171dc4,_0x380880){if(_0x171dc4 instanceof _0xbccd8d['CollaborativeEditingUpdateMessage'])return _0x171dc4;if(!_0x222891['isObject'](_0x171dc4))throw TypeError('.CollaborativeEditingUpdateMessage:\x20object\x20expected');if(void 0x0===_0x380880&&(_0x380880=0x0),_0x380880>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x44181a=new _0xbccd8d['CollaborativeEditingUpdateMessage']();if(null!=_0x171dc4['id']&&(_0x44181a['id']=String(_0x171dc4['id'])),null!=_0x171dc4['baseVersion']&&(_0x44181a['baseVersion']=_0x171dc4['baseVersion']>>>0x0),_0x171dc4['buffers']){if(!Array['isArray'](_0x171dc4['buffers']))throw TypeError('.CollaborativeEditingUpdateMessage.buffers:\x20array\x20expected');_0x44181a['buffers']=[];for(var _0x1a8b67=0x0;_0x1a8b67<_0x171dc4['buffers']['length'];++_0x1a8b67)'string'==typeof _0x171dc4['buffers'][_0x1a8b67]?_0x222891['base64']['decode'](_0x171dc4['buffers'][_0x1a8b67],_0x44181a['buffers'][_0x1a8b67]=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x171dc4['buffers'][_0x1a8b67])),0x0):_0x171dc4['buffers'][_0x1a8b67]['length']>=0x0&&(_0x44181a['buffers'][_0x1a8b67]=_0x171dc4['buffers'][_0x1a8b67]);}if(_0x171dc4['types']){if(!Array['isArray'](_0x171dc4['types']))throw TypeError('.CollaborativeEditingUpdateMessage.types:\x20array\x20expected');for(_0x44181a['types']=[],_0x1a8b67=0x0;_0x1a8b67<_0x171dc4['types']['length'];++_0x1a8b67)_0x44181a['types'][_0x1a8b67]=_0x171dc4['types'][_0x1a8b67]>>>0x0;}if(_0x171dc4['metadata']){if(!Array['isArray'](_0x171dc4['metadata']))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20array\x20expected');for(_0x44181a['metadata']=[],_0x1a8b67=0x0;_0x1a8b67<_0x171dc4['metadata']['length'];++_0x1a8b67){if(!_0x222891['isObject'](_0x171dc4['metadata'][_0x1a8b67]))throw TypeError('.CollaborativeEditingUpdateMessage.metadata:\x20object\x20expected');_0x44181a['metadata'][_0x1a8b67]=_0xbccd8d['OperationMetadataDescriptor']['fromObject'](_0x171dc4['metadata'][_0x1a8b67],_0x380880+0x1);}}return null!=_0x171dc4['lastOperationId']&&(_0x44181a['lastOperationId']=String(_0x171dc4['lastOperationId'])),_0x44181a;},_0x4abcfe['toObject']=function(_0x3db102,_0x10c365,_0x4f997b){if(_0x10c365||(_0x10c365={}),void 0x0===_0x4f997b&&(_0x4f997b=0x0),_0x4f997b>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x39715d={};if((_0x10c365['arrays']||_0x10c365['defaults'])&&(_0x39715d['buffers']=[],_0x39715d['types']=[],_0x39715d['metadata']=[]),_0x10c365['defaults']&&(_0x39715d['id']='',_0x39715d['baseVersion']=0x0,_0x39715d['lastOperationId']=''),null!=_0x3db102['id']&&Object['hasOwnProperty']['call'](_0x3db102,'id')&&(_0x39715d['id']=_0x3db102['id']),null!=_0x3db102['baseVersion']&&Object['hasOwnProperty']['call'](_0x3db102,'baseVersion')&&(_0x39715d['baseVersion']=_0x3db102['baseVersion']),_0x3db102['buffers']&&_0x3db102['buffers']['length']){_0x39715d['buffers']=[];for(var _0x43072c=0x0;_0x43072c<_0x3db102['buffers']['length'];++_0x43072c)_0x39715d['buffers'][_0x43072c]=_0x10c365['bytes']===String?_0x222891['base64']['encode'](_0x3db102['buffers'][_0x43072c],0x0,_0x3db102['buffers'][_0x43072c]['length']):_0x10c365['bytes']===Array?Array['prototype']['slice']['call'](_0x3db102['buffers'][_0x43072c]):_0x3db102['buffers'][_0x43072c];}if(_0x3db102['types']&&_0x3db102['types']['length']){for(_0x39715d['types']=[],_0x43072c=0x0;_0x43072c<_0x3db102['types']['length'];++_0x43072c)_0x39715d['types'][_0x43072c]=_0x3db102['types'][_0x43072c];}if(_0x3db102['metadata']&&_0x3db102['metadata']['length']){for(_0x39715d['metadata']=[],_0x43072c=0x0;_0x43072c<_0x3db102['metadata']['length'];++_0x43072c)_0x39715d['metadata'][_0x43072c]=_0xbccd8d['OperationMetadataDescriptor']['toObject'](_0x3db102['metadata'][_0x43072c],_0x10c365,_0x4f997b+0x1);}return null!=_0x3db102['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3db102,'lastOperationId')&&(_0x39715d['lastOperationId']=_0x3db102['lastOperationId']),_0x39715d;},_0x4abcfe['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x4abcfe['getTypeUrl']=function(_0x53f603){return void 0x0===_0x53f603&&(_0x53f603='type.googleapis.com'),_0x53f603+'/CollaborativeEditingUpdateMessage';},_0x4abcfe;}()),_0xbccd8d['CollaborativeEditingReconnectMessage']=(function(){function _0x3e4423(_0x34c98b){if(_0x34c98b){for(var _0xf6898b=Object['keys'](_0x34c98b),_0x330322=0x0;_0x330322<_0xf6898b['length'];++_0x330322)null!=_0x34c98b[_0xf6898b[_0x330322]]&&'__proto__'!==_0xf6898b[_0x330322]&&(this[_0xf6898b[_0x330322]]=_0x34c98b[_0xf6898b[_0x330322]]);}}return _0x3e4423['prototype']['id']='',_0x3e4423['prototype']['bundleVersion']='',_0x3e4423['prototype']['lastKnowVersion']=0x0,_0x3e4423['create']=function(_0x4ada7c){return new _0x3e4423(_0x4ada7c);},_0x3e4423['encode']=function(_0x5c8fa6,_0x24b190,_0x5cd85f){if(_0x24b190||(_0x24b190=_0x55d9b7['create']()),void 0x0===_0x5cd85f&&(_0x5cd85f=0x0),_0x5cd85f>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x5c8fa6['id']&&Object['hasOwnProperty']['call'](_0x5c8fa6,'id')&&_0x24b190['uint32'](0xa)['string'](_0x5c8fa6['id']),null!=_0x5c8fa6['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5c8fa6,'bundleVersion')&&_0x24b190['uint32'](0x12)['string'](_0x5c8fa6['bundleVersion']),null!=_0x5c8fa6['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x5c8fa6,'lastKnowVersion')&&_0x24b190['uint32'](0x18)['uint32'](_0x5c8fa6['lastKnowVersion']),_0x24b190;},_0x3e4423['encodeDelimited']=function(_0x7e6f88,_0x318ed7){return this['encode'](_0x7e6f88,_0x318ed7)['ldelim']();},_0x3e4423['decode']=function(_0x3a448e,_0x474c22,_0x52e36c,_0x4f0321){if(_0x3a448e instanceof _0x105dc2||(_0x3a448e=_0x105dc2['create'](_0x3a448e)),void 0x0===_0x4f0321&&(_0x4f0321=0x0),_0x4f0321>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x5d6a61=void 0x0===_0x474c22?_0x3a448e['len']:_0x3a448e['pos']+_0x474c22,_0x42fa5a=new _0xbccd8d['CollaborativeEditingReconnectMessage']();_0x3a448e['pos']<_0x5d6a61;){var _0x400180=_0x3a448e['uint32']();if(_0x400180===_0x52e36c)break;switch(_0x400180>>>0x3){case 0x1:_0x42fa5a['id']=_0x3a448e['string']();break;case 0x2:_0x42fa5a['bundleVersion']=_0x3a448e['string']();break;case 0x3:_0x42fa5a['lastKnowVersion']=_0x3a448e['uint32']();break;default:_0x3a448e['skipType'](0x7&_0x400180,_0x4f0321);}}return _0x42fa5a;},_0x3e4423['decodeDelimited']=function(_0x5a6773){return _0x5a6773 instanceof _0x105dc2||(_0x5a6773=new _0x105dc2(_0x5a6773)),this['decode'](_0x5a6773,_0x5a6773['uint32']());},_0x3e4423['verify']=function(_0x1c94c6,_0x196584){return'object'!=typeof _0x1c94c6||null===_0x1c94c6?'object\x20expected':(void 0x0===_0x196584&&(_0x196584=0x0),_0x196584>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x1c94c6['id']&&Object['hasOwnProperty']['call'](_0x1c94c6,'id')&&!_0x222891['isString'](_0x1c94c6['id'])?'id:\x20string\x20expected':null!=_0x1c94c6['bundleVersion']&&Object['hasOwnProperty']['call'](_0x1c94c6,'bundleVersion')&&!_0x222891['isString'](_0x1c94c6['bundleVersion'])?'bundleVersion:\x20string\x20expected':null!=_0x1c94c6['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x1c94c6,'lastKnowVersion')&&!_0x222891['isInteger'](_0x1c94c6['lastKnowVersion'])?'lastKnowVersion:\x20integer\x20expected':null);},_0x3e4423['fromObject']=function(_0x2f0c49,_0x6db9d2){if(_0x2f0c49 instanceof _0xbccd8d['CollaborativeEditingReconnectMessage'])return _0x2f0c49;if(!_0x222891['isObject'](_0x2f0c49))throw TypeError('.CollaborativeEditingReconnectMessage:\x20object\x20expected');if(void 0x0===_0x6db9d2&&(_0x6db9d2=0x0),_0x6db9d2>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x32e7e6=new _0xbccd8d['CollaborativeEditingReconnectMessage']();return null!=_0x2f0c49['id']&&(_0x32e7e6['id']=String(_0x2f0c49['id'])),null!=_0x2f0c49['bundleVersion']&&(_0x32e7e6['bundleVersion']=String(_0x2f0c49['bundleVersion'])),null!=_0x2f0c49['lastKnowVersion']&&(_0x32e7e6['lastKnowVersion']=_0x2f0c49['lastKnowVersion']>>>0x0),_0x32e7e6;},_0x3e4423['toObject']=function(_0x5649eb,_0x42e1ff,_0x37451e){if(_0x42e1ff||(_0x42e1ff={}),void 0x0===_0x37451e&&(_0x37451e=0x0),_0x37451e>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xbe5ac5={};return _0x42e1ff['defaults']&&(_0xbe5ac5['id']='',_0xbe5ac5['bundleVersion']='',_0xbe5ac5['lastKnowVersion']=0x0),null!=_0x5649eb['id']&&Object['hasOwnProperty']['call'](_0x5649eb,'id')&&(_0xbe5ac5['id']=_0x5649eb['id']),null!=_0x5649eb['bundleVersion']&&Object['hasOwnProperty']['call'](_0x5649eb,'bundleVersion')&&(_0xbe5ac5['bundleVersion']=_0x5649eb['bundleVersion']),null!=_0x5649eb['lastKnowVersion']&&Object['hasOwnProperty']['call'](_0x5649eb,'lastKnowVersion')&&(_0xbe5ac5['lastKnowVersion']=_0x5649eb['lastKnowVersion']),_0xbe5ac5;},_0x3e4423['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x3e4423['getTypeUrl']=function(_0x547c5a){return void 0x0===_0x547c5a&&(_0x547c5a='type.googleapis.com'),_0x547c5a+'/CollaborativeEditingReconnectMessage';},_0x3e4423;}()),_0xbccd8d['CollaborativeEditingConnectMessage']=(function(){function _0x1cd596(_0x3c94b8){if(this['buffers']=[],this['types']=[],_0x3c94b8){for(var _0x396e5f=Object['keys'](_0x3c94b8),_0x32fe0a=0x0;_0x32fe0a<_0x396e5f['length'];++_0x32fe0a)null!=_0x3c94b8[_0x396e5f[_0x32fe0a]]&&'__proto__'!==_0x396e5f[_0x32fe0a]&&(this[_0x396e5f[_0x32fe0a]]=_0x3c94b8[_0x396e5f[_0x32fe0a]]);}}return _0x1cd596['prototype']['id']='',_0x1cd596['prototype']['bundleVersion']='',_0x1cd596['prototype']['buffers']=_0x222891['emptyArray'],_0x1cd596['prototype']['types']=_0x222891['emptyArray'],_0x1cd596['prototype']['lastOperationId']='',_0x1cd596['create']=function(_0x3941d7){return new _0x1cd596(_0x3941d7);},_0x1cd596['encode']=function(_0x3440e6,_0x4d3b14,_0x2ab3a1){if(_0x4d3b14||(_0x4d3b14=_0x55d9b7['create']()),void 0x0===_0x2ab3a1&&(_0x2ab3a1=0x0),_0x2ab3a1>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');if(null!=_0x3440e6['id']&&Object['hasOwnProperty']['call'](_0x3440e6,'id')&&_0x4d3b14['uint32'](0xa)['string'](_0x3440e6['id']),null!=_0x3440e6['bundleVersion']&&Object['hasOwnProperty']['call'](_0x3440e6,'bundleVersion')&&_0x4d3b14['uint32'](0x12)['string'](_0x3440e6['bundleVersion']),null!=_0x3440e6['buffers']&&_0x3440e6['buffers']['length']){for(var _0x4cc5d6=0x0;_0x4cc5d6<_0x3440e6['buffers']['length'];++_0x4cc5d6)_0x4d3b14['uint32'](0x1a)['bytes'](_0x3440e6['buffers'][_0x4cc5d6]);}if(null!=_0x3440e6['types']&&_0x3440e6['types']['length']){for(_0x4d3b14['uint32'](0x22)['fork'](),_0x4cc5d6=0x0;_0x4cc5d6<_0x3440e6['types']['length'];++_0x4cc5d6)_0x4d3b14['uint32'](_0x3440e6['types'][_0x4cc5d6]);_0x4d3b14['ldelim']();}return null!=_0x3440e6['lastOperationId']&&Object['hasOwnProperty']['call'](_0x3440e6,'lastOperationId')&&_0x4d3b14['uint32'](0x2a)['string'](_0x3440e6['lastOperationId']),_0x4d3b14;},_0x1cd596['encodeDelimited']=function(_0x13a452,_0x1dc8cf){return this['encode'](_0x13a452,_0x1dc8cf)['ldelim']();},_0x1cd596['decode']=function(_0x29adb1,_0x29ad03,_0x5bff6d,_0x23a5ad){if(_0x29adb1 instanceof _0x105dc2||(_0x29adb1=_0x105dc2['create'](_0x29adb1)),void 0x0===_0x23a5ad&&(_0x23a5ad=0x0),_0x23a5ad>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x749970=void 0x0===_0x29ad03?_0x29adb1['len']:_0x29adb1['pos']+_0x29ad03,_0x149da2=new _0xbccd8d['CollaborativeEditingConnectMessage']();_0x29adb1['pos']<_0x749970;){var _0x22c2c2=_0x29adb1['uint32']();if(_0x22c2c2===_0x5bff6d)break;switch(_0x22c2c2>>>0x3){case 0x1:_0x149da2['id']=_0x29adb1['string']();break;case 0x2:_0x149da2['bundleVersion']=_0x29adb1['string']();break;case 0x3:_0x149da2['buffers']&&_0x149da2['buffers']['length']||(_0x149da2['buffers']=[]),_0x149da2['buffers']['push'](_0x29adb1['bytes']());break;case 0x4:if(_0x149da2['types']&&_0x149da2['types']['length']||(_0x149da2['types']=[]),0x2==(0x7&_0x22c2c2)){for(var _0x11b9c2=_0x29adb1['uint32']()+_0x29adb1['pos'];_0x29adb1['pos']<_0x11b9c2;)_0x149da2['types']['push'](_0x29adb1['uint32']());}else _0x149da2['types']['push'](_0x29adb1['uint32']());break;case 0x5:_0x149da2['lastOperationId']=_0x29adb1['string']();break;default:_0x29adb1['skipType'](0x7&_0x22c2c2,_0x23a5ad);}}return _0x149da2;},_0x1cd596['decodeDelimited']=function(_0x4ad6d9){return _0x4ad6d9 instanceof _0x105dc2||(_0x4ad6d9=new _0x105dc2(_0x4ad6d9)),this['decode'](_0x4ad6d9,_0x4ad6d9['uint32']());},_0x1cd596['verify']=function(_0x480f25,_0x695d50){if('object'!=typeof _0x480f25||null===_0x480f25)return'object\x20expected';if(void 0x0===_0x695d50&&(_0x695d50=0x0),_0x695d50>_0x222891['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x480f25['id']&&Object['hasOwnProperty']['call'](_0x480f25,'id')&&!_0x222891['isString'](_0x480f25['id']))return'id:\x20string\x20expected';if(null!=_0x480f25['bundleVersion']&&Object['hasOwnProperty']['call'](_0x480f25,'bundleVersion')&&!_0x222891['isString'](_0x480f25['bundleVersion']))return'bundleVersion:\x20string\x20expected';if(null!=_0x480f25['buffers']&&Object['hasOwnProperty']['call'](_0x480f25,'buffers')){if(!Array['isArray'](_0x480f25['buffers']))return'buffers:\x20array\x20expected';for(var _0x119aa4=0x0;_0x119aa4<_0x480f25['buffers']['length'];++_0x119aa4)if(!(_0x480f25['buffers'][_0x119aa4]&&'number'==typeof _0x480f25['buffers'][_0x119aa4]['length']||_0x222891['isString'](_0x480f25['buffers'][_0x119aa4])))return'buffers:\x20buffer[]\x20expected';}if(null!=_0x480f25['types']&&Object['hasOwnProperty']['call'](_0x480f25,'types')){if(!Array['isArray'](_0x480f25['types']))return'types:\x20array\x20expected';for(_0x119aa4=0x0;_0x119aa4<_0x480f25['types']['length'];++_0x119aa4)if(!_0x222891['isInteger'](_0x480f25['types'][_0x119aa4]))return'types:\x20integer[]\x20expected';}return null!=_0x480f25['lastOperationId']&&Object['hasOwnProperty']['call'](_0x480f25,'lastOperationId')&&!_0x222891['isString'](_0x480f25['lastOperationId'])?'lastOperationId:\x20string\x20expected':null;},_0x1cd596['fromObject']=function(_0x55d4d9,_0x3b2858){if(_0x55d4d9 instanceof _0xbccd8d['CollaborativeEditingConnectMessage'])return _0x55d4d9;if(!_0x222891['isObject'](_0x55d4d9))throw TypeError('.CollaborativeEditingConnectMessage:\x20object\x20expected');if(void 0x0===_0x3b2858&&(_0x3b2858=0x0),_0x3b2858>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x322da9=new _0xbccd8d['CollaborativeEditingConnectMessage']();if(null!=_0x55d4d9['id']&&(_0x322da9['id']=String(_0x55d4d9['id'])),null!=_0x55d4d9['bundleVersion']&&(_0x322da9['bundleVersion']=String(_0x55d4d9['bundleVersion'])),_0x55d4d9['buffers']){if(!Array['isArray'](_0x55d4d9['buffers']))throw TypeError('.CollaborativeEditingConnectMessage.buffers:\x20array\x20expected');_0x322da9['buffers']=[];for(var _0x3e40c9=0x0;_0x3e40c9<_0x55d4d9['buffers']['length'];++_0x3e40c9)'string'==typeof _0x55d4d9['buffers'][_0x3e40c9]?_0x222891['base64']['decode'](_0x55d4d9['buffers'][_0x3e40c9],_0x322da9['buffers'][_0x3e40c9]=_0x222891['newBuffer'](_0x222891['base64']['length'](_0x55d4d9['buffers'][_0x3e40c9])),0x0):_0x55d4d9['buffers'][_0x3e40c9]['length']>=0x0&&(_0x322da9['buffers'][_0x3e40c9]=_0x55d4d9['buffers'][_0x3e40c9]);}if(_0x55d4d9['types']){if(!Array['isArray'](_0x55d4d9['types']))throw TypeError('.CollaborativeEditingConnectMessage.types:\x20array\x20expected');for(_0x322da9['types']=[],_0x3e40c9=0x0;_0x3e40c9<_0x55d4d9['types']['length'];++_0x3e40c9)_0x322da9['types'][_0x3e40c9]=_0x55d4d9['types'][_0x3e40c9]>>>0x0;}return null!=_0x55d4d9['lastOperationId']&&(_0x322da9['lastOperationId']=String(_0x55d4d9['lastOperationId'])),_0x322da9;},_0x1cd596['toObject']=function(_0x22a60,_0x5ce00c,_0x4beece){if(_0x5ce00c||(_0x5ce00c={}),void 0x0===_0x4beece&&(_0x4beece=0x0),_0x4beece>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0xa6c871={};if((_0x5ce00c['arrays']||_0x5ce00c['defaults'])&&(_0xa6c871['buffers']=[],_0xa6c871['types']=[]),_0x5ce00c['defaults']&&(_0xa6c871['id']='',_0xa6c871['bundleVersion']='',_0xa6c871['lastOperationId']=''),null!=_0x22a60['id']&&Object['hasOwnProperty']['call'](_0x22a60,'id')&&(_0xa6c871['id']=_0x22a60['id']),null!=_0x22a60['bundleVersion']&&Object['hasOwnProperty']['call'](_0x22a60,'bundleVersion')&&(_0xa6c871['bundleVersion']=_0x22a60['bundleVersion']),_0x22a60['buffers']&&_0x22a60['buffers']['length']){_0xa6c871['buffers']=[];for(var _0x5cba2f=0x0;_0x5cba2f<_0x22a60['buffers']['length'];++_0x5cba2f)_0xa6c871['buffers'][_0x5cba2f]=_0x5ce00c['bytes']===String?_0x222891['base64']['encode'](_0x22a60['buffers'][_0x5cba2f],0x0,_0x22a60['buffers'][_0x5cba2f]['length']):_0x5ce00c['bytes']===Array?Array['prototype']['slice']['call'](_0x22a60['buffers'][_0x5cba2f]):_0x22a60['buffers'][_0x5cba2f];}if(_0x22a60['types']&&_0x22a60['types']['length']){for(_0xa6c871['types']=[],_0x5cba2f=0x0;_0x5cba2f<_0x22a60['types']['length'];++_0x5cba2f)_0xa6c871['types'][_0x5cba2f]=_0x22a60['types'][_0x5cba2f];}return null!=_0x22a60['lastOperationId']&&Object['hasOwnProperty']['call'](_0x22a60,'lastOperationId')&&(_0xa6c871['lastOperationId']=_0x22a60['lastOperationId']),_0xa6c871;},_0x1cd596['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x1cd596['getTypeUrl']=function(_0x346950){return void 0x0===_0x346950&&(_0x346950='type.googleapis.com'),_0x346950+'/CollaborativeEditingConnectMessage';},_0x1cd596;}()),_0xbccd8d['OperationMetadataDescriptor']=(function(){function _0x5a116a(_0x24b291){if(_0x24b291){for(var _0x2edf03=Object['keys'](_0x24b291),_0x28af8b=0x0;_0x28af8b<_0x2edf03['length'];++_0x28af8b)null!=_0x24b291[_0x2edf03[_0x28af8b]]&&'__proto__'!==_0x2edf03[_0x28af8b]&&(this[_0x2edf03[_0x28af8b]]=_0x24b291[_0x2edf03[_0x28af8b]]);}}return _0x5a116a['prototype']['userId']='',_0x5a116a['prototype']['type']='',_0x5a116a['prototype']['createdAt']='',_0x5a116a['create']=function(_0x4324db){return new _0x5a116a(_0x4324db);},_0x5a116a['encode']=function(_0x59bb4b,_0x44b41d,_0x552e73){if(_0x44b41d||(_0x44b41d=_0x55d9b7['create']()),void 0x0===_0x552e73&&(_0x552e73=0x0),_0x552e73>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');return null!=_0x59bb4b['userId']&&Object['hasOwnProperty']['call'](_0x59bb4b,'userId')&&_0x44b41d['uint32'](0xa)['string'](_0x59bb4b['userId']),null!=_0x59bb4b['type']&&Object['hasOwnProperty']['call'](_0x59bb4b,'type')&&_0x44b41d['uint32'](0x12)['string'](_0x59bb4b['type']),null!=_0x59bb4b['createdAt']&&Object['hasOwnProperty']['call'](_0x59bb4b,'createdAt')&&_0x44b41d['uint32'](0x1a)['string'](_0x59bb4b['createdAt']),_0x44b41d;},_0x5a116a['encodeDelimited']=function(_0x5e1d24,_0x563603){return this['encode'](_0x5e1d24,_0x563603)['ldelim']();},_0x5a116a['decode']=function(_0x27ab25,_0x587e72,_0x443255,_0x4c434a){if(_0x27ab25 instanceof _0x105dc2||(_0x27ab25=_0x105dc2['create'](_0x27ab25)),void 0x0===_0x4c434a&&(_0x4c434a=0x0),_0x4c434a>_0x105dc2['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x4759d1=void 0x0===_0x587e72?_0x27ab25['len']:_0x27ab25['pos']+_0x587e72,_0x272d0a=new _0xbccd8d['OperationMetadataDescriptor']();_0x27ab25['pos']<_0x4759d1;){var _0x24e85a=_0x27ab25['uint32']();if(_0x24e85a===_0x443255)break;switch(_0x24e85a>>>0x3){case 0x1:_0x272d0a['userId']=_0x27ab25['string']();break;case 0x2:_0x272d0a['type']=_0x27ab25['string']();break;case 0x3:_0x272d0a['createdAt']=_0x27ab25['string']();break;default:_0x27ab25['skipType'](0x7&_0x24e85a,_0x4c434a);}}return _0x272d0a;},_0x5a116a['decodeDelimited']=function(_0x20c989){return _0x20c989 instanceof _0x105dc2||(_0x20c989=new _0x105dc2(_0x20c989)),this['decode'](_0x20c989,_0x20c989['uint32']());},_0x5a116a['verify']=function(_0x29be41,_0x5cef95){return'object'!=typeof _0x29be41||null===_0x29be41?'object\x20expected':(void 0x0===_0x5cef95&&(_0x5cef95=0x0),_0x5cef95>_0x222891['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x29be41['userId']&&Object['hasOwnProperty']['call'](_0x29be41,'userId')&&!_0x222891['isString'](_0x29be41['userId'])?'userId:\x20string\x20expected':null!=_0x29be41['type']&&Object['hasOwnProperty']['call'](_0x29be41,'type')&&!_0x222891['isString'](_0x29be41['type'])?'type:\x20string\x20expected':null!=_0x29be41['createdAt']&&Object['hasOwnProperty']['call'](_0x29be41,'createdAt')&&!_0x222891['isString'](_0x29be41['createdAt'])?'createdAt:\x20string\x20expected':null);},_0x5a116a['fromObject']=function(_0x42e53a,_0x3adb89){if(_0x42e53a instanceof _0xbccd8d['OperationMetadataDescriptor'])return _0x42e53a;if(!_0x222891['isObject'](_0x42e53a))throw TypeError('.OperationMetadataDescriptor:\x20object\x20expected');if(void 0x0===_0x3adb89&&(_0x3adb89=0x0),_0x3adb89>_0x222891['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x9b7711=new _0xbccd8d['OperationMetadataDescriptor']();return null!=_0x42e53a['userId']&&(_0x9b7711['userId']=String(_0x42e53a['userId'])),null!=_0x42e53a['type']&&(_0x9b7711['type']=String(_0x42e53a['type'])),null!=_0x42e53a['createdAt']&&(_0x9b7711['createdAt']=String(_0x42e53a['createdAt'])),_0x9b7711;},_0x5a116a['toObject']=function(_0x1dec90,_0x41e0d6,_0x5c7311){if(_0x41e0d6||(_0x41e0d6={}),void 0x0===_0x5c7311&&(_0x5c7311=0x0),_0x5c7311>_0x222891['recursionLimit'])throw Error('max\x20depth\x20exceeded');var _0x26fda4={};return _0x41e0d6['defaults']&&(_0x26fda4['userId']='',_0x26fda4['type']='',_0x26fda4['createdAt']=''),null!=_0x1dec90['userId']&&Object['hasOwnProperty']['call'](_0x1dec90,'userId')&&(_0x26fda4['userId']=_0x1dec90['userId']),null!=_0x1dec90['type']&&Object['hasOwnProperty']['call'](_0x1dec90,'type')&&(_0x26fda4['type']=_0x1dec90['type']),null!=_0x1dec90['createdAt']&&Object['hasOwnProperty']['call'](_0x1dec90,'createdAt')&&(_0x26fda4['createdAt']=_0x1dec90['createdAt']),_0x26fda4;},_0x5a116a['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5a116a['getTypeUrl']=function(_0xaf3b1){return void 0x0===_0xaf3b1&&(_0xaf3b1='type.googleapis.com'),_0xaf3b1+'/OperationMetadataDescriptor';},_0x5a116a;}()),_0xbccd8d;})());var _0x4e835b=class{static['decode'](_0x17b4d9,_0x10b433){const _0x482395=_0x527a61(_0x10b433)['decode']('undefined'==typeof window?_0x17b4d9:new Uint8Array(_0x17b4d9));return _0x10b433['fromJSON']({..._0x482395});}static['encode'](_0xf609f5){const _0x7cb4f=_0x527a61(_0xf609f5['constructor']),_0x20081b=_0xf609f5['toJSON'](),_0x1ac1ab=_0x7cb4f['verify'](_0x20081b);if(_0x1ac1ab)throw Error(_0x1ac1ab);return _0x7cb4f['encode'](_0x7cb4f['create'](_0x20081b))['finish']();}};function _0x527a61(_0x4acf6e){return _0x12f8c7[_0x4acf6e['DESCRIPTOR_NAME']];}var _0x125983=class GetManyUsersMessage extends _0x199557{['ids'];static ['TYPE']='22';static ['READABLE_TYPE_NAME']='getManyUsers';static ['DESCRIPTOR_NAME']='GetManyUsersMessage';static ['DESCRIPTOR']={'fields':{'ids':{'id':0x1,'type':'string','rule':'repeated'}}};constructor(_0x1e1147){super(),this['ids']=_0x1e1147;}['toJSON'](){return{'ids':this['ids']};}static['fromJSON'](_0x1122c1){return new GetManyUsersMessage(_0x1122c1['ids']);}},_0x2b8cdd=class GetManyUsersResponse extends _0x199557{['users'];static ['DESCRIPTOR_NAME']='GetManyUsersResponse';static ['DESCRIPTOR']={'fields':{'users':{'rule':'repeated','type':'UserDescriptor','id':0x1}}};constructor(_0x2e9434){super(),this['users']=_0x2e9434;}['toJSON'](){return{'users':this['users']['map'](_0x7530c0)};}static['fromJSON'](_0x1bbb84){return new GetManyUsersResponse(_0x1bbb84['users']['map'](_0x73a48d));}};function _0x7530c0(_0x36b563){return{'attributes':Object['keys'](_0x36b563)['map'](_0x58b60f=>({'key':_0x58b60f,'value':JSON['stringify'](_0x36b563[_0x58b60f])}))};}function _0x73a48d(_0x130aed){return _0x130aed['attributes']['reduce']((_0x5ef4b1,_0x1b8b63)=>(_0x5ef4b1[_0x1b8b63['key']]=_0x1b8b63['value']?JSON['parse'](_0x1b8b63['value']):null,_0x5ef4b1),{});}var _0x21bf6e=class _0x464da7{static ['_SERVICE']=0x2;constructor(_0x2f42c5={}){this['_attributes']=new Map();for(const _0x157cc7 of Object['keys'](_0x2f42c5))'id'!==_0x157cc7?(this['_attributes']['set'](_0x157cc7,_0x2f42c5[_0x157cc7]),Object['defineProperty'](this,_0x157cc7,{'enumerable':!0x0,'configurable':!0x1,'get':()=>this['_attributes']['get'](_0x157cc7)})):this['id']=_0x2f42c5['id'];}static['fromData'](_0x551b2d){return new _0x464da7(_0x551b2d);}static async['get'](_0x5d4188,_0xc88d67){const _0x32be08=new _0x4c38b5(_0xc88d67);try{const _0x427e2a=await _0x5d4188['_sendRequest'](_0x464da7['_SERVICE'],_0x4c38b5['TYPE'],_0x4e835b['encode'](_0x32be08));return new _0x464da7(_0x4e835b['decode'](_0x427e2a,_0x357d2a)['attributes']);}catch{return new _0x464da7({'id':_0xc88d67});}}static async['getMany'](_0x402278,_0x23290b){const _0x52a7ac=new _0x125983(_0x23290b);try{const _0x32473a=await _0x402278['_sendRequest'](_0x464da7['_SERVICE'],_0x125983['TYPE'],_0x4e835b['encode'](_0x52a7ac));return _0x4e835b['decode'](_0x32473a,_0x2b8cdd)['users']['map'](_0xc74903=>new _0x464da7(_0xc74903));}catch{return _0x23290b['map'](_0x3abd60=>new _0x464da7({'id':_0x3abd60}));}}},_0x1f69c4=class _0x5b5a8e extends _0x199557{['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(_0x2a52b4,_0x42ccf3,_0x211d1a){super(),this['type']=_0x2a52b4,this['socketId']=_0x42ccf3,this['data']=_0x211d1a;}['toJSON'](){return{'type':this['type'],'socketId':this['socketId'],'data':this['data']};}static['fromJSON'](_0x35b74e){return new _0x5b5a8e(_0x35b74e['type'],_0x35b74e['socketId'],_0x35b74e['data']);}},_0x4a56c9=class extends(0x0,_0x14e616['EmitterMixin'])(){['_channelName'];['_wsGateway'];['_socket'];constructor(_0x4437f5,_0x326c79,_0x318fd1){super(),this['_channelName']=_0x4437f5,this['_wsGateway']=_0x326c79,this['_socket']=_0x318fd1,this['_subscribeToChannel']();}['remove'](){this['_socket']['off'](this['_channelName']);}['getEventName'](_0x4ffc6b,_0x1c7d6b=!0x1){let _0x42d669='';return _0x1c7d6b&&(_0x42d669+='all:'),_0x42d669+='event',_0x4ffc6b&&(_0x42d669+=':'+_0x4ffc6b),_0x42d669;}['_subscribeToChannel'](){this['_socket']['on'](this['_channelName'],_0x478361=>{const _0xfcc9b=_0x4e835b['decode'](_0x478361,_0x1f69c4);this['fire'](this['getEventName'](_0xfcc9b['type'],!0x0),_0xfcc9b['data'],_0xfcc9b['socketId']),_0xfcc9b['socketId']!==this['_wsGateway']['socketId']&&this['fire'](this['getEventName'](_0xfcc9b['type']),_0xfcc9b['data'],_0xfcc9b['socketId']);});}},_0x1f3549=class CKEditorCloudServicesError extends Error{['context'];['code'];['data'];constructor(_0x1775b9,_0x5d2d56,_0x580773=null,_0x2ede07={}){super('cloud-services-internal-error:\x20'+_0x1775b9),this['context']=_0x5d2d56,this['code']=_0x580773,this['data']=_0x2ede07,this['name']='CKEditorError';}static['fromPublicError'](_0x501904){return new CKEditorCloudServicesError(function(_0x48f3c3){let _0x5e5fe4='cloud-services-error:\x20'+_0x48f3c3['message'];return _0x48f3c3['data']&&(_0x5e5fe4+='\x0aError\x20data:\x20'+JSON['stringify'](_0x48f3c3['data'])),_0x48f3c3['explanation']&&(_0x5e5fe4+='\x0aExplanation:\x20'+_0x48f3c3['explanation']),_0x48f3c3['action']&&(_0x5e5fe4+='\x0aAction:\x20'+_0x48f3c3['action']),_0x48f3c3['traceId']&&(_0x5e5fe4+='\x0aTraceId:\x20'+_0x48f3c3['traceId']),_0x48f3c3['code']&&(_0x5e5fe4+='\x0aCode:\x20'+_0x48f3c3['code']),_0x5e5fe4;}(_0x501904),_0x501904);}},_0x16a029=class CKEditorCloudServicesServerError extends Error{['code'];['traceId'];['data'];constructor(_0x52b2c6,_0x553719){super(),this['name']='CKEditorCloudServicesServerError',this['stack']=void 0x0,this['message']=_0x52b2c6,this['code']=_0x553719['code'],this['traceId']=_0x553719['traceId'],this['data']=_0x553719['data'];}static['fromPublicError'](_0x145f46){return new CKEditorCloudServicesServerError(function(_0x287dee){let _0x1d3418='cloud-services-server-error:\x20'+_0x287dee['message'];return _0x287dee['explanation']&&(_0x1d3418+='\x0aExplanation:\x20'+_0x287dee['explanation']),_0x287dee['action']&&(_0x1d3418+='\x0aAction:\x20'+_0x287dee['action']),_0x287dee['traceId']&&(_0x1d3418+='\x0aTraceId:\x20'+_0x287dee['traceId']),_0x287dee['code']&&(_0x1d3418+='\x0aCode:\x20'+_0x287dee['code']),_0x1d3418;}(_0x145f46),_0x145f46);}},_0x1638c9=class PacketOptionsMessage extends _0x199557{['flags'];['rooms'];['except'];static ['TYPE']=0xb;static ['DESCRIPTOR_NAME']='PacketOptionsMessage';static ['DESCRIPTOR']=((()=>({'fields':{'flags':{'type':'string','id':0x1},'rooms':{'type':'string','id':0x2,'rule':'repeated'},'except':{'type':'string','id':0x3,'rule':'repeated'}}}))());constructor(_0x58bc30,_0x1b2777=[],_0x18c562=[]){super(),this['flags']=_0x58bc30,this['rooms']=_0x1b2777,this['except']=_0x18c562;}['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'](_0x302322){return new PacketOptionsMessage(_0x302322['flags']&&JSON['parse'](_0x302322['flags']),_0x302322['rooms'],_0x302322['except']);}};const _0x16a1aa=((()=>!('undefined'==typeof process||!process['versions']?.['node']))());var _0x257ec7=class ParserUtils{static['getPacketType'](..._0x4af22b){let _0x5cce08=0x0;for(let _0x55c1ed=0x0;_0x55c1ed<_0x4af22b['length'];_0x55c1ed++)_0x5cce08+=_0x4af22b[_0x55c1ed]*Math['pow'](0xa,_0x4af22b['length']-_0x55c1ed-0x1);return _0x5cce08;}static['getType'](_0x366b2e){if(ParserUtils['isBuffer'](_0x366b2e))return 0x1;const _0x149646=typeof _0x366b2e;return'string'===_0x149646?0x2:'number'===_0x149646?0x3:0x4;}static['isBuffer'](_0x232a18){return _0x16a1aa&&Buffer['isBuffer'](_0x232a18)||_0x232a18 instanceof ArrayBuffer||_0x232a18 instanceof Uint8Array||this['_isBufferView'](_0x232a18);}static['_isBufferView'](_0x58d3ab){return'function'==typeof ArrayBuffer['isView']?ArrayBuffer['isView'](_0x58d3ab):_0x58d3ab['buffer']instanceof ArrayBuffer;}},_0x2b3dfd=class extends _0x199557{['data'];['data1'];static['create'](_0x57f6fe,_0x5b8eb2){throw new TypeError('Must\x20be\x20implemented\x20in\x20a\x20child\x20class!');}},_0x4e1fb0=class NumberBytesPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x3,0x1))());static ['DESCRIPTOR_NAME']='NumberBytesPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x1be250,_0x2b358b){super(),this['data']=_0x1be250,this['data1']=_0x2b358b;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x4b17f5){return new NumberBytesPacketDataMessage(_0x4b17f5['data'],_0x4b17f5['data1']);}static['create'](_0x51da3f,_0x4491ca){return new NumberBytesPacketDataMessage(_0x51da3f,_0x4491ca);}},_0x3e390f=class StringBytesPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x2,0x1))());static ['DESCRIPTOR_NAME']='StringBytesPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x3fdd00,_0x24f059){super(),this['data']=_0x3fdd00,this['data1']=_0x24f059;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x36fb4f){return new StringBytesPacketDataMessage(_0x36fb4f['data'],_0x36fb4f['data1']);}static['create'](_0x76b209,_0x34c451){return new StringBytesPacketDataMessage(_0x76b209,_0x34c451);}},_0x3a7890=class BytesBytesPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x1,0x1))());static ['DESCRIPTOR_NAME']='BytesBytesPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'bytes','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x2cdf04,_0x5cec4b){super(),this['data']=_0x2cdf04,this['data1']=_0x5cec4b;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x563f29){return new BytesBytesPacketDataMessage(_0x563f29['data'],_0x563f29['data1']);}static['create'](_0x170a27,_0x3026e2){return new BytesBytesPacketDataMessage(_0x170a27,_0x3026e2);}},_0x663821=class StringObjectPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x2,0x4))());static ['DESCRIPTOR_NAME']='StringObjectPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x4197b5,_0x30942f){super(),this['data']=_0x4197b5,this['data1']=_0x30942f;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x182c35){return new StringObjectPacketDataMessage(_0x182c35['data'],_0x182c35['data1']&&JSON['parse'](_0x182c35['data1']));}static['create'](_0x4ca2ad,_0x586557){return new StringObjectPacketDataMessage(_0x4ca2ad,_0x586557);}},_0x4c7397=class NumberObjectPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x3,0x4))());static ['DESCRIPTOR_NAME']='NumberObjectPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x10ba0f,_0x3ae305){super(),this['data']=_0x10ba0f,this['data1']=_0x3ae305;}['toJSON'](){return{'data':this['data'],'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x5ab590){return new NumberObjectPacketDataMessage(_0x5ab590['data'],_0x5ab590['data1']&&JSON['parse'](_0x5ab590['data1']));}static['create'](_0x4daf86,_0x207725){return new NumberObjectPacketDataMessage(_0x4daf86,_0x207725);}},_0x15690c=class ObjectObjectPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x4,0x4))());static ['DESCRIPTOR_NAME']='ObjectObjectPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x2a9ca4,_0x8254d5){super(),this['data']=_0x2a9ca4,this['data1']=_0x8254d5;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']?JSON['stringify'](this['data1']):void 0x0};}static['fromJSON'](_0x5be642){return new ObjectObjectPacketDataMessage(_0x5be642['data']&&JSON['parse'](_0x5be642['data']),_0x5be642['data1']&&JSON['parse'](_0x5be642['data1']));}static['create'](_0x398b38,_0x3dc903){return new ObjectObjectPacketDataMessage(_0x398b38,_0x3dc903);}},_0x178599=class ObjectBufferPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x4,0x1))());static ['DESCRIPTOR_NAME']='ObjectBufferPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'bytes','id':0x2}}}))());constructor(_0x487c59,_0x1f6959){super(),this['data']=_0x487c59,this['data1']=_0x1f6959;}['toJSON'](){return{'data':this['data']?JSON['stringify'](this['data']):void 0x0,'data1':this['data1']};}static['fromJSON'](_0x5dbc25){return new ObjectBufferPacketDataMessage(_0x5dbc25['data']&&JSON['parse'](_0x5dbc25['data']),_0x5dbc25['data1']);}static['create'](_0x38ac91,_0x1bef70){return new ObjectBufferPacketDataMessage(_0x38ac91,_0x1bef70);}},_0x1461af=class StringStringPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x2,0x2))());static ['DESCRIPTOR_NAME']='StringStringPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x5ec5c1,_0x1fcb87){super(),this['data']=_0x5ec5c1,this['data1']=_0x1fcb87;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x374f26){return new StringStringPacketDataMessage(_0x374f26['data'],_0x374f26['data1']);}static['create'](_0x3468b8,_0x30d20c){return new StringStringPacketDataMessage(_0x3468b8,_0x30d20c);}},_0x3ae094=class StringNumberPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x2,0x3))());static ['DESCRIPTOR_NAME']='StringNumberPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'string','id':0x1},'data1':{'type':'uint32','id':0x2}}}))());constructor(_0x4dfd53,_0x230566){super(),this['data']=_0x4dfd53,this['data1']=_0x230566;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x46d335){return new StringNumberPacketDataMessage(_0x46d335['data'],_0x46d335['data1']);}static['create'](_0x102b0c,_0x146b29){return new StringNumberPacketDataMessage(_0x102b0c,_0x146b29);}},_0x345e51=class NumberNumberPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x3,0x3))());static ['DESCRIPTOR_NAME']='NumberNumberPacketDataMessage';static ['DESCRIPTOR']={'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'uint32','id':0x2}}};constructor(_0x17880d,_0x3900cc){super(),this['data']=_0x17880d,this['data1']=_0x3900cc;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x138789){return new NumberNumberPacketDataMessage(_0x138789['data'],_0x138789['data1']);}static['create'](_0x23445,_0x40fe1b){return new NumberNumberPacketDataMessage(_0x23445,_0x40fe1b);}},_0x46efd6=class NumberStringPacketDataMessage extends _0x2b3dfd{['data'];['data1'];static ['TYPE']=((()=>_0x257ec7['getPacketType'](0x3,0x2))());static ['DESCRIPTOR_NAME']='NumberStringPacketDataMessage';static ['DESCRIPTOR']=((()=>({'fields':{'data':{'type':'uint32','id':0x1},'data1':{'type':'string','id':0x2}}}))());constructor(_0x1653c6,_0x5522f1){super(),this['data']=_0x1653c6,this['data1']=_0x5522f1;}['toJSON'](){return{'data':this['data'],'data1':this['data1']};}static['fromJSON'](_0x201fcf){return new NumberStringPacketDataMessage(_0x201fcf['data'],_0x201fcf['data1']);}static['create'](_0x40393d,_0x38024b){return new NumberStringPacketDataMessage(_0x40393d,_0x38024b);}};const _0x48a1cd=((()=>[_0x4e1fb0,_0x3e390f,_0x3a7890,_0x663821,_0x4c7397,_0x15690c,_0x178599,_0x1461af,_0x3ae094,_0x345e51,_0x46efd6]['reduce']((_0x333d2c,_0x200a18)=>(_0x333d2c[_0x200a18['TYPE']]=_0x200a18,_0x333d2c),{}))());var _0x20609f=class PacketMessage extends _0x199557{['type'];['data'];['id'];['nsp'];['options'];static ['TYPE']=0xa;static ['DESCRIPTOR_NAME']='PacketMessage';static ['DESCRIPTOR']=((()=>({'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(_0x34803b,_0xa7f4a7,_0x22bde5,_0x2c5c6c='/',_0x16c08c){super(),this['type']=_0x34803b,this['data']=_0xa7f4a7,this['id']=_0x22bde5,this['nsp']=_0x2c5c6c,this['options']=_0x16c08c??new _0x1638c9();}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 _0x4d03b8=_0x4e835b['encode'](this['options']),_0x2151eb=_0x4e835b['encode'](this['data']);return{'type':this['type']+0xa*this['data']['constructor']['TYPE'],'id':this['id'],'nsp':'/'===this['nsp']?void 0x0:this['nsp'],'data':_0x2151eb,'options':_0x4d03b8};}static['fromJSON'](_0x288934){const _0x5c345d=Math['floor'](_0x288934['type']/0xa);return new PacketMessage(_0x288934['type']-0xa*_0x5c345d,_0x4e835b['decode'](_0x288934['data'],_0x48a1cd[_0x5c345d]),_0x288934['id'],_0x288934['nsp'],_0x288934['options']?_0x4e835b['decode'](_0x288934['options'],_0x1638c9):new _0x1638c9());}static['create'](_0x1a9968,_0x3dde00={}){const _0x544221=_0x257ec7['getPacketType'](_0x257ec7['getType'](_0x1a9968['data'][0x0]),_0x257ec7['getType'](_0x1a9968['data'][0x1]??_0x1a9968['data'][0x0]));return new PacketMessage(_0x1a9968['type'],_0x48a1cd[_0x544221]['create'](_0x1a9968['data'][0x0],_0x1a9968['data'][0x1]),_0x1a9968['id'],_0x1a9968['nsp'],new _0x1638c9(_0x3dde00['flags'],_0x3dde00['rooms'],_0x3dde00['except']));}},tE=class{['encode'](_0x5f5bb7,_0x191f81,_0x2060f6,_0x4eaafb='/',_0x59e9af={}){if(_0x191f81['length']>0x2)throw new Error('PacketParser\x20supports\x20only\x202\x20elements\x20in\x20data');const _0x347b7b={'type':_0x5f5bb7,'data':_0x191f81,'id':_0x2060f6,'nsp':_0x4eaafb};return _0x4e835b['encode'](_0x20609f['create'](_0x347b7b,_0x59e9af));}['decode'](_0x40c305){const _0x1c53d2=_0x4e835b['decode'](_0x40c305,_0x20609f);return{'packet':{'id':_0x1c53d2['id'],'type':_0x1c53d2['type'],'data':_0x1c53d2['packetData'],'nsp':_0x1c53d2['nsp']},'options':{'flags':_0x1c53d2['options']['flags'],'rooms':_0x1c53d2['options']['rooms'],'except':_0x1c53d2['options']['except']}};}};const _0x2f349f=((()=>[_0x3141de['EVENT'],_0x3141de['ACK'],_0x3141de['BINARY_ACK'],_0x3141de['BINARY_EVENT']])());var _0x1d15d6=class extends t_{['_packetParser'];constructor(_0x4490ab){super(),this['_packetParser']=_0x4490ab??new tE();}['encode'](_0x22fdff){if(_0x2f349f['includes'](_0x22fdff['type']))try{return[this['_packetParser']['encode'](_0x22fdff['type'],_0x22fdff['data'],_0x22fdff['id'],_0x22fdff['nsp'])];}catch(_0x57d7b5){console['error']('Can\x20not\x20properly\x20serialize\x20or\x20deserialize\x20messages.\x20Check\x20the\x20original\x20error.',{'originalError':{'message':_0x57d7b5['message']}});}return super['encode'](_0x22fdff);}},_0x30b396=class extends _0x3d468b{['_packetParser'];constructor(_0x18dc52){super(),this['_packetParser']=_0x18dc52??new tE();}['add'](_0x4decd8){if(!_0x257ec7['isBuffer'](_0x4decd8))return super['add'](_0x4decd8);let _0x5550c4;try{_0x5550c4=this['_packetParser']['decode'](_0x4decd8)['packet'];}catch{return super['add'](_0x4decd8);}super['emitReserved']('decoded',_0x5550c4);}},_0x5c0d8a=class{['_context'];['_deferredPromise']=/* #__PURE__ -- @preserve */
_0x28002c();['timeout'];constructor(_0x1d4a64,_0x1e194b){this['_context']=_0x1d4a64,this['timeout']=setTimeout(()=>this['error'](new _0x1f3549('Request\x20timeout.',this['_context'])),_0x1e194b);}get['promise'](){return this['_deferredPromise']['promise'];}['response'](_0x342b9e){this['_deferredPromise']['resolve'](_0x342b9e);}['error'](_0x2edc28){this['_deferredPromise']['reject'](_0x2edc28);}},_0x4b9d15=class{['_context'];['_requests']=new Set();constructor(_0x6604dc){this['_context']=_0x6604dc;}async['send'](_0x387c7f,_0x36733c=0xafc8){const _0x2f51e7=this['_createRequest'](_0x36733c);try{return _0x387c7f(_0x2f51e7),await _0x2f51e7['promise'];}finally{this['_finishRequest'](_0x2f51e7);}}['errorAll'](_0x3a7d5b){for(const _0xa76699 of this['_requests'])_0xa76699['error'](_0x3a7d5b);}['waitForAllRequests'](_0x2062ef=0xafc8){return this['_waitForRequests'](_0x2062ef);}['_createRequest'](_0x385bd3){const _0x13ed06=new _0x5c0d8a(this['_context'],_0x385bd3);return this['_requests']['add'](_0x13ed06),_0x13ed06;}['_finishRequest'](_0x598497){this['_requests']['delete'](_0x598497),clearTimeout(_0x598497['timeout']);}async['_waitForRequests'](_0x2782e8=0x1388,_0x39f72b=0x0){return!this['_requests']['size']||_0x39f72b>=_0x2782e8/0x1f4?Promise['resolve']():(await new Promise(_0x562551=>{setTimeout(_0x562551,0x1f4);}),this['_waitForRequests'](_0x2782e8,_0x39f72b++));}};function _0x28002c(){let _0x2a9e58,_0x366f16;const _0x4b254b=new Promise((_0x3bc0f3,_0x189bf3)=>{_0x2a9e58=_0x3bc0f3,_0x366f16=_0x189bf3;});return{'resolve':_0x2a9e58,'reject':_0x366f16,'promise':_0x4b254b};}const _0x57ce19='disconnected',_0x334272='connecting',_0x341021='connected';var _0x2cd4c5=class WebSocketGateway$1 extends(0x0,_0x14e616['ObservableMixin'])(){['_requestsManager'];['_url'];['_socket'];['_socketAuth'];['_channels'];['_connectionAttempt']=0x0;['_token'];['_options'];['_connectionProvider'];['_userFactory'];static ['STATE_DISCONNECTED']=((()=>_0x57ce19)());static ['STATE_CONNECTING']=((()=>_0x334272)());static ['STATE_CONNECTED']=((()=>_0x341021)());static ['_CHANGE_STATE_EVENT_PRIORITY']=((()=>_0x14e616['priorities']['get']('highest')+0xf423f)());constructor(_0x26f7b3,_0x586124,_0x2a22df,_0x1e5b49,_0x5e9acf){if(super(),this['_token']=_0x586124,this['_options']=_0x2a22df??{},this['_connectionProvider']=_0x1e5b49??_0x5eb10b,this['_userFactory']=_0x5e9acf??_0x21bf6e['get'],this['_requestsManager']=new _0x4b9d15(this),this['_channels']=new Map(),!_0x26f7b3)throw new TypeError('Api\x20address\x20must\x20be\x20provided.');if(!this['_token'])throw new TypeError('Token\x20must\x20be\x20provided.');this['_options']['requestTimeout']??=0x4e20,this['_url']=(0x0,_0x29900d['default'])(_0x26f7b3['replace'](/^(?!(?:\w+:)?\/\/)/,'https://')),this['set']('state',_0x57ce19),this['set']('socketId',void 0x0),this['set']('me',void 0x0),this['on']('change:state',async(_0xe1428a,_0x455738,_0x2a8ddb)=>{if(this['_debugEvent']('ws-gw:change:state',_0x2a8ddb),_0x2a8ddb!==WebSocketGateway$1['STATE_CONNECTED']){if(_0x2a8ddb===WebSocketGateway$1['STATE_DISCONNECTED'])return this['_requestsManager']['errorAll'](new _0x1f3549('Not\x20connected.',this));}else try{this['me']=await this['_userFactory']['call'](_0x21bf6e,this,this['_socketAuth']?.['userId']);}catch{}},{'priority':WebSocketGateway$1['_CHANGE_STATE_EVENT_PRIORITY']}),this['on']('error',(_0x5c21fb,_0x5e6672)=>{this['_options']['onError']?this['_options']['onError'](_0x5e6672):console['error'](_0x5e6672);});}get['sessionId'](){return this['socketId'];}['waitForAllRequests'](_0x1db503){return this['_requestsManager']['waitForAllRequests'](_0x1db503);}['disconnect'](){this['state']!==_0x57ce19&&(this['_socket']?.['disconnect'](),this['_socket']=void 0x0,this['state']=_0x57ce19);}async['reconnect'](){this['_socket']||this['state']!==_0x57ce19||(await this['_token']['refreshToken'](),await this['_connect']());}static async['connect'](_0x405bdd,_0x270ceb='local.cs.dev:443/ws-v2',_0xf64be1={},_0xc36b84=_0x5eb10b,_0x4a0e09=_0x21bf6e['get']){const _0x7a79d4=new this(_0x270ceb,_0x405bdd,_0xf64be1,_0xc36b84,_0x4a0e09);return await _0x7a79d4['_connect'](),_0x7a79d4;}['_sendRequest'](_0x727aab,_0x590446,_0x3b43c0){if(!_0x727aab)throw new _0x1f3549('`serviceName`\x20must\x20be\x20provided.',this);if(this['state']!==WebSocketGateway$1['STATE_CONNECTED'])throw new _0x1f3549('Not\x20connected.',this);if(!this['_socketAuth']?.['isAuthenticated'])throw new _0x1f3549('Not\x20authenticated.',this);const _0x5186d6=new ArrayBuffer(_0x3b43c0['length']+0x2),_0x535d69=new Uint8Array(_0x5186d6);return _0x535d69[0x0]=_0x727aab,_0x535d69[0x1]=parseInt(_0x590446),_0x535d69['set'](_0x3b43c0,0x2),this['_emit'](0x1,_0x535d69);}['_getChannel'](_0x17cf36,_0x124900){const _0x39d00f=''+_0x17cf36+_0x124900;return!this['_channels']['has'](_0x39d00f)&&this['_socket']&&this['_channels']['set'](_0x39d00f,new _0x4a56c9(_0x39d00f,this,this['_socket'])),this['_channels']['get'](_0x39d00f);}['_connect'](){return new Promise((_0x4a9e52,_0x10c641)=>{const _0xcb7a2d=this['_setupSocket']();!this['socketId']&&_0xcb7a2d['io']['on']('reconnect_error',()=>{this['_debugEvent']('reconnect_error'),this['_reconnectionAttemptError'](_0x10c641);}),_0xcb7a2d['once']('connect',async()=>{this['_debugEvent']('once-connect');try{await this['_onConnect'](),_0x4a9e52();}catch(_0x157bed){_0x10c641(_0x157bed);}}),_0xcb7a2d['connect']();});}['_getPortByProtocol'](_0x3e03f7){return['http:','ws:']['includes'](_0x3e03f7)?0x50:0x1bb;}['_setupSocket'](){if(this['_socket'])return this['_socket'];const _0x3bee70=this['_url']['port']||this['_getPortByProtocol'](this['_url']['protocol']),_0x3c6dda=(this['_url']['protocol']||'https:')+'//'+this['_url']['hostname']+':'+_0x3bee70,_0x13492d=this['_url']['pathname']['match'](/^\/.*\/ws/)?this['_url']['pathname']['split']('/ws')[0x0]:'',_0x1e0976=this['_connectionProvider'](_0x3c6dda,{'parser':{'Encoder':_0x1d15d6,'Decoder':_0x30b396},'path':_0x13492d+'/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':'54.2.6'},'agent':this['_options']['agent']??!0x1,'closeOnBeforeunload':!0x1});return this['state']=_0x334272,_0x1e0976['on']('connect',()=>{this['_debugEvent']('connect'),this['socketId']=_0x1e0976['id'];}),_0x1e0976['on']('connect_error',_0x904c58=>{this['_debugEvent']('connect_error',_0x904c58);}),_0x1e0976['on']('disconnect',()=>{this['_debugEvent']('disconnect'),this['_onDisconnect']();}),_0x1e0976['io']['on']('reconnect',async()=>{this['_debugEvent']('reconnect'),await this['_onReconnect']();}),_0x1e0976['io']['on']('reconnect_attempt',_0x50a4e4=>{this['_debugEvent']('reconnect_attempt',_0x50a4e4),this['state']=_0x334272,this['_connectionAttempt']=_0x50a4e4;}),_0x1e0976['on']('unauthorized',_0x5b64dc=>{this['_debugEvent']('unauthorized'),this['_onUnauthorized'](_0x5b64dc);}),_0x1e0976['on']('authenticationRequest',async _0x57c5a8=>{this['_debugEvent']('authenticationRequest',_0x57c5a8['attempt']),await this['_onReconnect']();}),this['_socket']=_0x1e0976,_0x1e0976;}['_emit'](_0x2e8b49,_0x380183){const _0x3125c5=this['_socket'];return this['_requestsManager']['send'](_0x3cfd59=>{_0x3125c5['emit'](_0x2e8b49,_0x380183,(_0x1fa11f,_0x49a14c)=>{if(_0x1fa11f)return _0x3cfd59['error'](_0x16a029['fromPublicError'](_0x1fa11f));_0x3cfd59['response'](_0x49a14c);});},this['_options']['requestTimeout']);}['_addAuthData'](_0x244c39,_0x25c250){this['_socketAuth']={'environmentId':_0x244c39,'userId':_0x25c250,'isAuthenticated':!0x0};}['_removeAuthData'](){this['_socketAuth']=void 0x0;}async['_onConnect'](){await this['_authenticate'](this['_token']['value']),this['state']=_0x341021;const _0x28fbe4=async(_0x39bedb,_0x35d735,_0x464e47)=>{this['_debugEvent']('token:value:change');try{await this['_authenticate'](_0x464e47);}catch{}};this['_token']['on']('change:value',_0x28fbe4),this['_socket']['io']['off']('reconnect_error'),this['on']('disconnect',()=>{this['_token']['off']('change:value',_0x28fbe4);});}async['_onReconnect'](){await this['_token']['refreshToken'](),await this['_onConnect']();}['_onDisconnect'](){this['state']=_0x57ce19,this['_connectionAttempt']=0x0,this['fire']('disconnect');for(const _0x219199 of this['_channels']['values']())_0x219199['remove']();this['_channels']['clear'](),void 0x0===this['_options']['autoReconnect']||this['_options']['autoReconnect']||(this['_socket']=void 0x0);}['_debugEvent'](_0x597c80,_0x185d8f){if(!this['_isDebugModeEnabled']())return;const _0x18f3ac=void 0x0!==_0x185d8f?',\x20data:\x20'+_0x185d8f:'';console['info'](new Date()['toLocaleString']()+'\x20'+_0x597c80+_0x18f3ac);}['_reconnectionAttemptError'](_0x3c2d82){this['_connectionAttempt']>=0x2&&(this['disconnect'](),_0x3c2d82(_0x1f3549['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:_0x290b1d}){this['_removeAuthData'](),this['fire']('error',_0x16a029['fromPublicError'](_0x290b1d));}async['_authenticate'](_0x1355cc){try{this['_debugEvent']('authenticate:start');const _0x430ca6=await this['_emit'](0x2,{'token':_0x1355cc});this['_debugEvent']('authenticate:success','envId:\x20'+_0x430ca6['environmentId']+',\x20userId:\x20'+_0x430ca6['userId']),this['_addAuthData'](_0x430ca6['environmentId'],_0x430ca6['userId']);}catch(_0x4c0559){throw this['_debugEvent']('authenticate:error',_0x4c0559['message']),this['_removeAuthData'](),_0x4c0559;}}['_isDebugModeEnabled'](){return!!_0x14e616['global']['window']['localStorage']&&'true'===(_0x14e616['global']['window']['localStorage']['getItem']('csClientDebugMode')??'false')['toLowerCase']();}},_0x46226e=class IsEditorBundleUploadedMessage extends _0x199557{['bundleVersion'];static ['TYPE']='131';static ['READABLE_TYPE_NAME']='isEditorBundleUploaded';static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedMessage';static ['DESCRIPTOR']={'fields':{'bundleVersion':{'type':'string','id':0x1}}};constructor(_0x2b0cb8){super(),this['bundleVersion']=_0x2b0cb8;}['toJSON'](){return{'bundleVersion':this['bundleVersion']};}static['fromJSON'](_0x5ef0e8){return new IsEditorBundleUploadedMessage(_0x5ef0e8['bundleVersion']);}},_0x1fbf52=class IsEditorBundleUploadedResponse extends _0x199557{['isUploaded'];static ['DESCRIPTOR_NAME']='IsEditorBundleUploadedResponse';static ['DESCRIPTOR']={'fields':{'isUploaded':{'type':'bool','id':0x1}}};constructor(_0x1d2d49){super(),this['isUploaded']=_0x1d2d49;}['toJSON'](){return{'isUploaded':this['isUploaded']};}static['fromJSON'](_0x3220ad){return new IsEditorBundleUploadedResponse(_0x3220ad['isUploaded']);}},_0x127755=class EditorService extends(0x0,_0x14e616['EmitterMixin'])(){static ['_SERVICE']=0xd;static async['isBundleUploaded'](_0x901ad7,_0x3c444a){const _0x317004=new _0x46226e(_0x3c444a);if(_0x901ad7['state']!==_0x341021)throw new _0x1f3549('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x901ad7);const _0x20fb4a=await _0x901ad7['_sendRequest'](EditorService['_SERVICE'],_0x46226e['TYPE'],_0x4e835b['encode'](_0x317004));return _0x4e835b['decode'](_0x20fb4a,_0x1fbf52)['isUploaded'];}},_0x845234=class RevisionHistoryGetRevisionMessage extends _0x199557{['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(_0x3623d4,_0x46c137){super(),this['documentId']=_0x3623d4,this['revisionId']=_0x46c137;}['toJSON'](){return{'documentId':this['documentId'],'revisionId':this['revisionId']};}static['fromJSON'](_0x1a1305){return new RevisionHistoryGetRevisionMessage(_0x1a1305['documentId'],_0x1a1305['revisionId']);}},_0x364a54=class extends _0x596fc5{static ['DESCRIPTOR_NAME']='RevisionDescriptor';static ['DESCRIPTOR']=((()=>({'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'](_0x1f2578){return{'revisionId':_0x1f2578['id'],'name':_0x1f2578['name'],'creatorId':_0x1f2578['creatorId'],'createdAt':_0x1f2578['createdAt'],'fromVersion':_0x1f2578['fromVersion'],'toVersion':_0x1f2578['toVersion'],'isEmptyCurrent':_0x1f2578['isEmptyCurrent'],'diffData':_0x1f2578['diffData']?JSON['stringify'](_0x1f2578['diffData']):void 0x0,'attributes':_0x1f2578['attributes'],'authorsIds':_0x1f2578['authorsIds']};}static['toJSON'](_0x85bdf6){return{'revisionId':_0x85bdf6['revisionId'],'name':_0x85bdf6['name'],'creatorId':_0x85bdf6['creatorId'],'authorsIds':_0x85bdf6['authorsIds']?JSON['stringify'](_0x85bdf6['authorsIds']):void 0x0,'diffData':_0x85bdf6['diffData'],'createdAt':_0x85bdf6['createdAt']?.['toISOString'](),'attributes':_0x85bdf6['attributes']?JSON['stringify'](_0x85bdf6['attributes']):void 0x0,'toVersion':_0x85bdf6['toVersion'],'fromVersion':_0x85bdf6['fromVersion'],'isEmptyCurrent':_0x85bdf6['isEmptyCurrent']};}static['fromJSON'](_0x394cd1){return{'revisionId':(_0x394cd1={..._0x394cd1})['revisionId'],'name':_0x394cd1['name'],'creatorId':_0x394cd1['creatorId'],'authorsIds':_0x394cd1['authorsIds']?JSON['parse'](_0x394cd1['authorsIds']):void 0x0,'diffData':_0x394cd1['diffData'],'createdAt':_0x394cd1['createdAt']?new Date(_0x394cd1['createdAt']):void 0x0,'attributes':_0x394cd1['attributes']?JSON['parse'](_0x394cd1['attributes']):void 0x0,'toVersion':_0x394cd1['toVersion'],'fromVersion':_0x394cd1['fromVersion'],'isEmptyCurrent':_0x394cd1['isEmptyCurrent']};}static['toObject'](_0x43b811){return function(_0x4698d9){for(const [_0x3b8c1a,_0x2e9202]of Object['entries'](_0x4698d9))void 0x0===_0x2e9202&&delete _0x4698d9[_0x3b8c1a];return _0x4698d9;}({'id':_0x43b811['revisionId'],'name':_0x43b811['name'],'creatorId':_0x43b811['creatorId'],'createdAt':_0x43b811['createdAt'],'fromVersion':_0x43b811['fromVersion'],'toVersion':_0x43b811['toVersion'],'isEmptyCurrent':_0x43b811['isEmptyCurrent'],'diffData':_0x43b811['diffData']?JSON['parse'](_0x43b811['diffData']):void 0x0,'attributes':_0x43b811['attributes'],'authorsIds':_0x43b811['authorsIds']});}},_0x21fa25=class RevisionHistoryGetRevisionResponse extends _0x199557{['revisionId'];['name'];['creatorId'];['authorsIds'];['createdAt'];['diffData'];['attributes'];['fromVersion'];['toVersion'];['isEmptyCurrent'];static ['DESCRIPTOR_NAME']='RevisionHistoryGetRevisionResponse';static ['DESCRIPTOR']=((()=>_0x364a54['DESCRIPTOR'])());constructor(_0x5e4e5c,_0x470de3,_0x45d2b0,_0xd8a548,_0x36a01c,_0x2845af,_0x389d45,_0x540d5e,_0x1ce64c,_0x3d8d72){super(),this['revisionId']=_0x5e4e5c,this['name']=_0x470de3,this['creatorId']=_0x45d2b0,this['authorsIds']=_0xd8a548,this['createdAt']=_0x36a01c,this['diffData']=_0x2845af,this['attributes']=_0x389d45,this['fromVersion']=_0x540d5e,this['toVersion']=_0x1ce64c,this['isEmptyCurrent']=_0x3d8d72;}['toJSON'](){return _0x364a54['toJSON'](this);}['toObject'](){return _0x364a54['toObject'](this);}static['create'](_0x58c7cd){return new RevisionHistoryGetRevisionResponse(_0x58c7cd['revisionId'],_0x58c7cd['name'],_0x58c7cd['creatorId'],_0x58c7cd['authorsIds'],_0x58c7cd['createdAt'],_0x58c7cd['diffData'],_0x58c7cd['attributes'],_0x58c7cd['fromVersion'],_0x58c7cd['toVersion'],_0x58c7cd['isEmptyCurrent']);}static['fromJSON'](_0x1a4129){return new RevisionHistoryGetRevisionResponse(_0x1a4129['revisionId'],_0x1a4129['name'],_0x1a4129['creatorId'],_0x1a4129['authorsIds']?JSON['parse'](_0x1a4129['authorsIds']):void 0x0,_0x1a4129['createdAt']?new Date(_0x1a4129['createdAt']):void 0x0,_0x1a4129['diffData'],_0x1a4129['attributes']?JSON['parse'](_0x1a4129['attributes']):void 0x0,_0x1a4129['fromVersion'],_0x1a4129['toVersion'],_0x1a4129['isEmptyCurrent']);}},_0x49ef76=class RevisionHistoryUpdateRevisionsMessage extends _0x199557{['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(_0xe83923,_0x4f8ccc,_0x5a7c81){super(),this['documentId']=_0xe83923,this['requestId']=_0x4f8ccc,this['revisions']=_0x5a7c81;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](_0x364a54['toJSON'])};}['toObject'](){return{'documentId':this['documentId'],'requestId':this['requestId'],'revisions':this['revisions']['map'](_0x364a54['toObject'])};}static['create'](_0xf67975){return new RevisionHistoryUpdateRevisionsMessage(_0xf67975['documentId'],_0xf67975['requestId'],_0xf67975['revisions']['map'](_0x364a54['create']));}static['fromJSON'](_0x4290ef){return new RevisionHistoryUpdateRevisionsMessage(_0x4290ef['documentId'],_0x4290ef['requestId'],_0x4290ef['revisions']['map'](_0x364a54['fromJSON']));}},_0xac5c7e=class RevisionHistoryUpdateRevisionsResponse extends _0x199557{['requestId'];static ['DESCRIPTOR_NAME']='RevisionHistoryUpdateRevisionsResponse';static ['DESCRIPTOR']={'fields':{'requestId':{'type':'uint32','id':0x1}}};constructor(_0x4479ac){super(),this['requestId']=_0x4479ac;}['toJSON'](){return{'requestId':this['requestId']};}static['fromJSON'](_0x37100f){return new RevisionHistoryUpdateRevisionsResponse(_0x37100f['requestId']);}},_0x32be95=class RevisionHistoryConnectMessage extends _0x199557{['documentId'];static ['TYPE']='121';static ['READABLE_TYPE_NAME']='connectToRevisionHistory';static ['DESCRIPTOR_NAME']='RevisionHistoryConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x2e1867){super(),this['documentId']=_0x2e1867;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x250e49){return new RevisionHistoryConnectMessage(_0x250e49['documentId']);}},_0x3525b1=class RevisionHistoryConnectResponse extends _0x199557{['channel'];['requestId'];['revisions'];static ['DESCRIPTOR_NAME']='RevisionHistoryConnectResponse';static ['DESCRIPTOR']=((()=>({'fields':{'channel':{'type':'string','id':0x1},'requestId':{'type':'uint32','id':0x2},'revisions':{'type':'RevisionDescriptor','id':0x3,'rule':'repeated'}}}))());constructor(_0x570fb9,_0x319133,_0x432ff6){super(),this['channel']=_0x570fb9,this['requestId']=_0x319133,this['revisions']=_0x432ff6;}['toJSON'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](_0x364a54['toJSON'])};}['toObject'](){return{'channel':this['channel'],'requestId':this['requestId'],'revisions':this['revisions']['map'](_0x364a54['toObject'])};}static['fromJSON'](_0x17ab8a){return new RevisionHistoryConnectResponse(_0x17ab8a['channel'],_0x17ab8a['requestId'],_0x17ab8a['revisions']['map'](_0x364a54['fromJSON']));}},_0x18b850=class RevisionHistoryReconnectMessage extends _0x199557{['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(_0x4e0a91,_0x331d17){super(),this['documentId']=_0x4e0a91,this['requestId']=_0x331d17;}['toJSON'](){return{'documentId':this['documentId'],'requestId':this['requestId']};}static['fromJSON'](_0x3ea854){return new RevisionHistoryReconnectMessage(_0x3ea854['documentId'],_0x3ea854['requestId']);}},_0x31a38b=class ChannelDisconnectedMessage extends _0x199557{static ['TYPE']='15';static ['READABLE_TYPE_NAME']='channelDisconnected';static ['DESCRIPTOR_NAME']='ChannelDisconnectedMessage';static ['DESCRIPTOR']={'fields':{}};['toJSON'](){return{};}static['fromJSON'](){return new ChannelDisconnectedMessage();}},_0x1bf695=class extends _0x1f3549{constructor(_0x272a52,_0x54aaa8){super(_0x272a52+'\x20Service\x20is\x20not\x20connected.',_0x54aaa8);}},_0x257843=class RevisionHistoryService extends(0x0,_0x14e616['EmitterMixin'])(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xc;constructor(_0x5ac928){super(),this['_documentId']=_0x5ac928;}get['isConnected'](){return this['_isConnected'];}['connect'](_0x47e78d){return this['_isConnected']?Promise['resolve']():this['_connect'](_0x47e78d,new _0x32be95(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'](_0x43cd66,_0x1f26e1){if(this['isConnected'])throw new _0x1f3549('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x43cd66);return this['_connect'](_0x43cd66,new _0x18b850(this['_documentId'],_0x1f26e1));}async['updateRevisions'](_0x2ec574,_0x161bce){const _0x50624f=_0x49ef76['create']({'documentId':this['_documentId'],'requestId':_0x161bce,'revisions':_0x2ec574}),_0x1d2ae6=await this['_sendRequest'](_0x49ef76['TYPE'],_0x50624f),{requestId:_0x2aba95}=_0x4e835b['decode'](_0x1d2ae6,_0xac5c7e);return _0x2aba95;}async['getRevision'](_0x294866){const _0x1e738e=new _0x845234(this['_documentId'],_0x294866),_0x4b0c84=await this['_sendRequest'](_0x845234['TYPE'],_0x1e738e);return _0x4e835b['decode'](_0x4b0c84,_0x21fa25)['toObject']();}async['_connect'](_0x93a576,_0x41dc88){if(_0x93a576['state']!==_0x341021)throw new _0x1f3549('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x93a576);this['_wsGateway']=_0x93a576,this['stopListening'](_0x93a576,'change:state');const _0x5678e3=await _0x93a576['_sendRequest'](0xc,_0x41dc88['constructor']['TYPE'],_0x4e835b['encode'](_0x41dc88)),{channel:_0x5975ec,requestId:_0x124229,revisions:_0xdb4e7c}=_0x4e835b['decode'](_0x5678e3,_0x3525b1)['toObject']();return this['listenTo'](_0x93a576,'change:state',(_0x47eecf,_0x4745ba,_0x25c49f)=>this['_onWsGatewayStateChange'](_0x25c49f),{'priority':_0x2cd4c5['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x93a576,_0x5975ec),this['_isConnected']=!0x0,this['fire']('connected'),{'revisions':_0xdb4e7c,'requestId':_0x124229};}['_connectToChannel'](_0x3ba1da,_0x1642e8){this['_channel']=_0x3ba1da['_getChannel'](RevisionHistoryService['_SERVICE'],_0x1642e8),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x49ef76['TYPE']),(_0x469469,_0x268e4e)=>{const {documentId:_0x279236,requestId:_0x30944e,revisions:_0x2d39c1}=_0x4e835b['decode'](_0x268e4e,_0x49ef76)['toObject']();this['fire']('revisionsUpdated',{'documentId':_0x279236,'requestId':_0x30944e,'revisionsData':_0x2d39c1});}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x31a38b['TYPE']),()=>{this['disconnect']();}));}['_onWsGatewayStateChange'](_0x6b2315){_0x6b2315===_0x57ce19&&this['disconnect']();}['_sendRequest'](_0x113fba,_0x2ccb93){if(!this['_wsGateway']||!this['_isConnected'])throw new _0x1bf695('Revision\x20History',this);return this['_wsGateway']['_sendRequest'](0xc,_0x113fba,_0x4e835b['encode'](_0x2ccb93));}},_0x271e3f=class AddSuggestionMessage extends _0x199557{['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(_0x42983c,_0x119e78,_0x150ee3,_0x4443ce={},_0x2d609c=null,_0xbe002d=null){super(),this['id']=_0x42983c,this['documentId']=_0x119e78,this['type']=_0x150ee3,this['data']=_0x4443ce,this['originalSuggestionId']=_0x2d609c,this['attributes']=_0xbe002d;}['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'](_0xd469ac){return new AddSuggestionMessage(_0xd469ac['id'],_0xd469ac['documentId'],_0xd469ac['type'],JSON['parse'](_0xd469ac['data']),_0xd469ac['originalSuggestionId']??null,_0xd469ac['attributes']?JSON['parse'](_0xd469ac['attributes']):null);}},_0x199478=class AddSuggestionResponse extends _0x199557{['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(_0x3c3245,_0x176354,_0x49af5c,_0x405ae7,_0x5c8b77,_0x419ded,_0x5ad16e={},_0x479ae6=null){super(),this['id']=_0x3c3245,this['authorId']=_0x176354,this['type']=_0x49af5c,this['hasComments']=_0x5c8b77,this['state']=_0x419ded,this['data']=_0x5ad16e,this['attributes']=_0x479ae6,this['createdAt']=_0x405ae7?new Date(_0x405ae7):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'](_0x592f0c){return new AddSuggestionResponse(_0x592f0c['id'],_0x592f0c['authorId'],_0x592f0c['type'],_0x592f0c['createdAt'],_0x592f0c['hasComments'],_0x592f0c['state'],JSON['parse'](_0x592f0c['data']),_0x592f0c['attributes']?JSON['parse'](_0x592f0c['attributes']):null);}},_0x3eae0d=class GetSuggestionMessage extends _0x199557{['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(_0x7367e3,_0xe2167d){super(),this['id']=_0x7367e3,this['documentId']=_0xe2167d;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId']};}static['fromJSON'](_0x4ed81a){return new GetSuggestionMessage(_0x4ed81a['id'],_0x4ed81a['documentId']);}},_0x461bbc=class GetSuggestionResponse extends _0x199557{['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(_0x46194c,_0x2da9ae,_0x3ef5ae,_0xfe6093,_0x2cf893,_0x6bf414,_0x402b36={},_0x53f141=null){super(),this['id']=_0x46194c,this['authorId']=_0x2da9ae,this['type']=_0x3ef5ae,this['hasComments']=_0x2cf893,this['state']=_0x6bf414,this['data']=_0x402b36,this['attributes']=_0x53f141,this['createdAt']=new Date(_0xfe6093);}['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'](_0x594071){return new GetSuggestionResponse(_0x594071['id'],_0x594071['authorId'],_0x594071['type'],_0x594071['createdAt'],_0x594071['hasComments'],_0x594071['state'],JSON['parse'](_0x594071['data']),_0x594071['attributes']?JSON['parse'](_0x594071['attributes']):null);}},_0x3ab545=class GetAllSuggestionsMessage extends _0x199557{['documentId'];static ['TYPE']='102';static ['READABLE_TYPE_NAME']='getAllSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesGetAllSuggestionMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x18ec14){super(),this['documentId']=_0x18ec14;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x5f47ff){return new GetAllSuggestionsMessage(_0x5f47ff['documentId']);}},_0x1cc05d=class extends _0x596fc5{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'](_0x16c131){return{..._0x16c131,'data':_0x16c131['data']?JSON['stringify'](_0x16c131['data']):_0x16c131['data'],'attributes':_0x16c131['attributes']?JSON['stringify'](_0x16c131['attributes']):_0x16c131['attributes'],'createdAt':_0x16c131['createdAt']?.['toISOString']()};}static['fromJSON'](_0x519122){return{..._0x519122,'data':_0x519122['data']?JSON['parse'](_0x519122['data']):_0x519122['data'],'attributes':_0x519122['attributes']?JSON['parse'](_0x519122['attributes']):_0x519122['attributes'],'createdAt':_0x519122['createdAt']?new Date(_0x519122['createdAt']):void 0x0};}},_0x3163b2=class GetAllSuggestionResponse extends _0x199557{['_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(_0x5dc343,_0x4c5f9b){super(),this['_suggestions']=_0x5dc343,this['_suggestionsV2']=_0x4c5f9b,this['suggestions']=_0x4c5f9b?.['length']?_0x4c5f9b:_0x5dc343;}['toJSON'](){return{'suggestions':this['_suggestions']?.['map'](_0x10aa08=>JSON['stringify'](_0x10aa08)),'suggestionsV2':this['_suggestionsV2']?.['map'](_0x1cc05d['toJSON'])};}static['fromJSON'](_0x3e091d){return new GetAllSuggestionResponse(_0x3e091d['suggestions']?.['map'](_0xe0285b),_0x3e091d['suggestionsV2']?.['map'](_0x1cc05d['fromJSON']));}};function _0xe0285b(_0x4f4e02){const _0x51064f=JSON['parse'](_0x4f4e02);return _0x51064f['createdAt']=_0x51064f['createdAt']?new Date(_0x51064f['createdAt']):void 0x0,_0x51064f;}var _0x2ef318=class UpdateSuggestionMessage extends _0x199557{['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(_0x6313fa,_0x375f98,_0x268b94,_0x3a778e,_0x444e39,_0x33ce37=null){super(),this['id']=_0x6313fa,this['documentId']=_0x375f98,this['hasComments']=_0x268b94,this['isHasCommentsModified']=_0x3a778e,this['state']=_0x444e39,this['attributes']=_0x33ce37;}['toJSON'](){return{'id':this['id'],'documentId':this['documentId'],'hasComments':this['hasComments'],'isHasCommentsModified':this['isHasCommentsModified'],'state':this['state'],'attributes':JSON['stringify'](this['attributes'])};}static['fromJSON'](_0x1d7f3e){return new UpdateSuggestionMessage(_0x1d7f3e['id'],_0x1d7f3e['documentId'],_0x1d7f3e['hasComments'],_0x1d7f3e['isHasCommentsModified'],_0x1d7f3e['state'],_0x1d7f3e['attributes']?JSON['parse'](_0x1d7f3e['attributes']):null);}};let _0x517df8=class ConnectMessage extends _0x199557{['documentId'];static ['TYPE']='105';static ['READABLE_TYPE_NAME']='connectToSuggestions';static ['DESCRIPTOR_NAME']='TrackChangesConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x8c7e9a){super(),this['documentId']=_0x8c7e9a;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x48e47a){return new ConnectMessage(_0x48e47a['documentId']);}},_0x9781e=class ConnectResponse extends _0x199557{['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(_0x19360d,_0x4c3df0,_0x4f9443){super(),this['channel']=_0x19360d,this['_suggestions']=_0x4c3df0,this['_suggestionsV2']=_0x4f9443,this['suggestions']=_0x4f9443?.['length']?_0x4f9443:_0x4c3df0;}['toJSON'](){return{'channel':this['channel'],'suggestions':this['_suggestions']?.['map'](_0x53b05c=>JSON['stringify'](_0x53b05c)),'suggestionsV2':this['_suggestionsV2']?.['map'](_0x1cc05d['toJSON'])};}static['fromJSON'](_0x241e07){return new ConnectResponse(_0x241e07['channel'],_0x241e07['suggestions']?.['map'](_0x264364=>JSON['parse'](_0x264364)),_0x241e07['suggestionsV2']?.['map'](_0x1cc05d['fromJSON']));}};var _0x2c5036=class BatchUpdateSuggestionsStateMessage extends _0x199557{['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(_0x2eadd8,_0x15eb0b,_0x1f2ddd){super(),this['ids']=_0x2eadd8,this['documentId']=_0x15eb0b,this['state']=_0x1f2ddd;}['toJSON'](){return{'ids':this['ids'],'documentId':this['documentId'],'state':this['state']};}static['fromJSON'](_0x1add7c){return new BatchUpdateSuggestionsStateMessage(_0x1add7c['ids'],_0x1add7c['documentId'],_0x1add7c['state']);}},_0x3bb078=class _0x43f312 extends(0x0,_0x14e616['EmitterMixin'])(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];static ['_SERVICE']=0xa;constructor(_0x2404b7){super(),this['_documentId']=_0x2404b7;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x17de1f){if(this['_isConnected'])return;if(_0x17de1f['state']!==_0x341021)throw new _0x1f3549('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x17de1f);const _0xcb0f70=new _0x517df8(this['_documentId']);this['_wsGateway']=_0x17de1f,this['stopListening'](_0x17de1f,'change:state');const _0x5b08cb=await _0x17de1f['_sendRequest'](0xa,_0x517df8['TYPE'],_0x4e835b['encode'](_0xcb0f70)),_0x5377b0=_0x4e835b['decode'](_0x5b08cb,_0x9781e);return this['listenTo'](_0x17de1f,'change:state',(_0x49b01f,_0x461d61,_0x167f4b)=>this['_onWsGatewayStateChange'](_0x167f4b),{'priority':_0x2cd4c5['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x17de1f,_0x5377b0['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x5377b0['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'](_0x29d75c,_0x2aa59e,_0x5af1ef,_0xeacfe5=null,_0x5c146a){const _0x2b5d43=new _0x271e3f(_0x29d75c,this['_documentId'],_0x2aa59e,_0x5af1ef,_0xeacfe5,_0x5c146a),_0x3317b8=await this['_sendRequest'](_0x271e3f['TYPE'],_0x2b5d43);return _0x4e835b['decode'](_0x3317b8,_0x199478);}async['get'](_0x16725b,_0x405df7=0x1){const _0x3e183e=new _0x3eae0d(_0x16725b,this['_documentId']);try{const _0x311f1a=await this['_sendRequest'](_0x3eae0d['TYPE'],_0x3e183e);return _0x4e835b['decode'](_0x311f1a,_0x461bbc);}catch(_0x5a18ee){if('CKEditorCloudServicesServerError'===_0x5a18ee['name']&&'404'===_0x5a18ee['code']&&_0x405df7<0x5)return await(_0x469467=0x64*_0x405df7,new Promise(_0x46cbd3=>{setTimeout(_0x46cbd3,_0x469467);})),this['get'](_0x16725b,_0x405df7+0x1);if('CKEditorCloudServicesServerError'===_0x5a18ee['name'])throw _0x5a18ee;throw _0x16a029['fromPublicError'](_0x5a18ee);}var _0x469467;}async['getAll'](){const _0x1b6e1a=new _0x3ab545(this['_documentId']),_0x272da4=await this['_sendRequest'](_0x3ab545['TYPE'],_0x1b6e1a),{suggestions:_0x40d746}=_0x4e835b['decode'](_0x272da4,_0x3163b2);return _0x40d746;}async['update'](_0x177f47,_0x91a5dc={}){const {hasComments:_0x2a975e,state:_0x47b33b,attributes:_0x2171b9}=_0x91a5dc,_0x1d68d2=void 0x0!==_0x2a975e,_0x567ec4=new _0x2ef318(_0x177f47,this['_documentId'],_0x2a975e,_0x1d68d2,_0x47b33b,_0x2171b9);await this['_sendRequest'](_0x2ef318['TYPE'],_0x567ec4);}async['batchUpdateState'](_0x1f97b3){const _0x34a327=new _0x2c5036(_0x1f97b3['ids'],this['_documentId'],_0x1f97b3['state']);await this['_sendRequest'](_0x2c5036['TYPE'],_0x34a327);}['_connectToChannel'](_0x448e98,_0x10c926){this['_channel']=_0x448e98['_getChannel'](_0x43f312['_SERVICE'],_0x10c926),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x2ef318['TYPE']),(_0x187d5f,_0x4dc1ab)=>{const _0x218ced=_0x4e835b['decode'](_0x4dc1ab,_0x2ef318);this['fire']('suggestionUpdated',_0x218ced);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x31a38b['TYPE']),()=>{this['disconnect']();}));}['_onWsGatewayStateChange'](_0x106b4e){_0x106b4e===_0x57ce19&&this['disconnect']();}['_sendRequest'](_0x2ed366,_0x39b0aa){if(!this['_wsGateway']||!this['_isConnected'])throw new _0x1bf695('Track\x20Changes',this);return this['_wsGateway']['_sendRequest'](0xa,_0x2ed366,_0x4e835b['encode'](_0x39b0aa));}},_0x1ecf0b=class SessionsConnectResponse extends _0x199557{['channel'];['sockets'];static ['DESCRIPTOR_NAME']='SessionsConnectResponse';static ['DESCRIPTOR']={'fields':{'channel':{'type':'string','id':0x1},'sockets':{'rule':'repeated','type':'SessionsSocketDescriptor','id':0x2}}};constructor(_0x2289a4,_0x2de372=[]){super(),this['channel']=_0x2289a4,this['sockets']=_0x2de372;}['toJSON'](){return{'channel':this['channel'],'sockets':this['sockets']['map'](_0x2d374e=>({'user':_0x2d374e['userId'],'session':_0x2d374e['id'],'role':_0x2d374e['role'],'permissions':_0x2d374e['permissions']}))};}static['fromJSON'](_0x12b9cd){return new SessionsConnectResponse(_0x12b9cd['channel'],_0x12b9cd['sockets']['map'](_0x50d03a=>({'id':_0x50d03a['session'],'userId':_0x50d03a['user'],'role':_0x50d03a['role'],'permissions':_0x50d03a['permissions']})));}},_0x20cbbd=class SessionsConnectMessage extends _0x199557{['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(_0x7f18ae,_0x2a1d91){super(),this['id']=_0x7f18ae,this['sessionType']=_0x2a1d91;}['toJSON'](){return{'id':this['id'],'sessionType':this['sessionType']};}static['fromJSON'](_0x4dc0a1){return new SessionsConnectMessage(_0x4dc0a1['id'],_0x4dc0a1['sessionType']);}},_0x53db9a=class SocketConnectMessage extends _0x199557{['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(_0x5be442,_0x48d2ef,_0x1de12e,_0x8e6856){super(),this['id']=_0x5be442,this['userId']=_0x48d2ef,this['role']=_0x1de12e,this['permissions']=_0x8e6856;}['toJSON'](){return{'id':this['id'],'userId':this['userId']??void 0x0,'role':this['role']??void 0x0,'permissions':this['permissions']??void 0x0};}static['fromJSON'](_0x25e212){return new SocketConnectMessage(_0x25e212['id'],_0x25e212['userId'],_0x25e212['role'],_0x25e212['permissions']);}},_0x4011f1=class SocketDisconnectMessage extends _0x199557{['id'];static ['TYPE']='33';static ['READABLE_TYPE_NAME']='disconnectSocket';static ['DESCRIPTOR_NAME']='SocketDisconnectMessage';static ['DESCRIPTOR']={'fields':{'id':{'type':'string','id':0x1}}};constructor(_0x5e5a8e){super(),this['id']=_0x5e5a8e;}['toJSON'](){return{'id':this['id']};}static['fromJSON'](_0x4c7997){return new SocketDisconnectMessage(_0x4c7997['id']);}},_0x21ac17=class extends _0x14e616['Collection']{['_id'];['_sessionType'];['_handlers']=new Map();['_channel'];['_wsGateway'];['_connected'];['_eventsQueue']=[];['_isRunning']=!0x1;constructor(_0x297a34,_0xcb2463){super({'idProperty':'id'}),this['_id']=_0x297a34,this['_sessionType']=_0xcb2463;}async['connect'](_0xf85ab5){this['_wsGateway']=_0xf85ab5,this['stopListening'](_0xf85ab5,'change:state');const _0x36c91e=new _0x20cbbd(this['_id'],this['_sessionType']);let _0x2444ed;try{const _0x317cfa=await this['_wsGateway']['_sendRequest'](0x3,_0x20cbbd['TYPE'],_0x4e835b['encode'](_0x36c91e));_0x2444ed=_0x4e835b['decode'](_0x317cfa,_0x1ecf0b);}catch{_0x2444ed=new _0x1ecf0b(this['_id'],[]);}this['_connectToChannel'](this['_wsGateway'],_0x2444ed['channel'],this['_sessionType']);const _0x4fdd70=await async function(_0x577cb4,_0x163925){const _0x31c084=_0x163925['map'](_0x187906=>_0x187906['userId']),_0x1ae4d3=_0x31c084['length']?await _0x21bf6e['getMany'](_0x577cb4,_0x31c084):[];return _0x163925['map'](_0x399ea1=>{const _0x7e006c={'id':_0x399ea1['id'],'role':_0x399ea1['role'],'permissions':_0x399ea1['permissions']};return _0x7e006c['user']=_0x399ea1['userId']&&_0x1ae4d3['find'](_0x126b7f=>_0x126b7f['id']===_0x399ea1['userId'])||new _0x21bf6e(),_0x7e006c;});}(this['_wsGateway'],_0x2444ed['sockets']);for(const _0x10b8b1 of _0x4fdd70)super['add'](_0x10b8b1);this['_connected']=!0x0,this['fire']('connected'),this['listenTo'](this['_wsGateway'],'change:state',(_0x11e24a,_0x4410d1,_0x4b2ae6)=>this['_onWsGatewayStateChange'](_0x4b2ae6),{'priority':_0x2cd4c5['_CHANGE_STATE_EVENT_PRIORITY']}),await this['_runQueue']();}['disconnect'](_0x48a7b1=!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']&&_0x48a7b1&&(this['stopListening'](this['_wsGateway']),this['_wsGateway']=void 0x0),this['fire']('disconnected'),_0x48a7b1&&this['stopListening']();}}['add'](_0x1ab7b7,_0x22b66a){throw new TypeError('The\x20collection\x20is\x20read-only.');}['remove'](_0x2d6a3b){throw new TypeError('The\x20collection\x20is\x20read-only.');}['_connectToChannel'](_0x2b515e,_0x5718e8,_0xfeb516){this['_channel']=_0x2b515e['_getChannel'](_0xfeb516,_0x5718e8),this['_channel']&&(this['_addHandler'](this['_channel'],_0x53db9a['TYPE'],async _0x162fbe=>{const _0xf03bf9=_0x4e835b['decode'](_0x162fbe,_0x53db9a);if(-0x1===this['getIndex'](_0xf03bf9['id'])){const _0x526746={'id':_0xf03bf9['id'],'role':_0xf03bf9['role'],'permissions':_0xf03bf9['permissions']};_0xf03bf9['userId']&&(_0x526746['user']=await _0x21bf6e['get'](_0x2b515e,_0xf03bf9['userId'])),super['add'](_0x526746);}}),this['_addHandler'](this['_channel'],_0x4011f1['TYPE'],_0x17ad32=>{const _0x596fbc=_0x4e835b['decode'](_0x17ad32,_0x4011f1);-0x1!==this['getIndex'](_0x596fbc['id'])&&super['remove'](_0x596fbc['id']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x31a38b['TYPE']),()=>{this['disconnect']();}));}async['_onWsGatewayStateChange'](_0x13b616){_0x13b616===_0x2cd4c5['STATE_DISCONNECTED']&&this['disconnect'](!0x1),_0x13b616===_0x2cd4c5['STATE_CONNECTED']&&await this['connect'](this['_wsGateway']);}async['_runQueue'](){if(this['_isRunning']||!this['_connected'])return;let _0x125679;for(this['_isRunning']=!0x0;_0x125679=this['_eventsQueue']['shift']();){const _0x30e33c=this['_handlers']['get'](_0x125679['eventName']);_0x30e33c&&await _0x30e33c(_0x125679['data']);}this['_isRunning']=!0x1;}['_addHandler'](_0x37d70c,_0x181b4b,_0x1d2b1e){const _0x503b7d=_0x37d70c['getEventName'](_0x181b4b,!0x0);this['listenTo'](_0x37d70c,_0x503b7d,async(_0x23625f,_0x58bed0)=>{const _0x58d09a=_0x23625f['name'];this['_eventsQueue']['push']({'eventName':_0x58d09a,'data':_0x58bed0}),await this['_runQueue']();}),this['_handlers']['set'](_0x503b7d,_0x1d2b1e);}},_0x578fae=class{static async['getConnectedSessions'](_0x17693b,_0x66edf9,_0x304d50){const _0x498862=new _0x21ac17(_0x66edf9,_0x304d50);return await _0x498862['connect'](_0x17693b),_0x498862;}},_0x495fc1=class CollaborativeEditingConnectMessage extends _0x199557{['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(_0x39ee6c,_0x28b9ae,_0x5e3562,_0x68a90d,_0x453511=''){super(),this['id']=_0x39ee6c,this['buffers']=_0x28b9ae,this['types']=_0x5e3562,this['bundleVersion']=_0x68a90d,this['lastOperationId']=_0x453511;}['toJSON'](){return{'id':this['id'],'buffers':this['buffers'],'types':this['types'],'bundleVersion':this['bundleVersion'],'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x27ffed){return new CollaborativeEditingConnectMessage(_0x27ffed['id'],_0x27ffed['buffers'],_0x27ffed['types'],_0x27ffed['bundleVersion'],_0x27ffed['lastOperationId']);}},_0xf39e3c=class{static['prepareMetadataForOperations'](_0x53aa59,_0x2883f8){if(!_0x53aa59?.['length']||!_0x2883f8?.['length'])return[];const _0x4a1acb=[];let _0x4c9e1d=0x0;for(const _0x355e49 of _0x53aa59)if(0x0!==_0x355e49){if(!_0x2883f8[_0x4c9e1d])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x4a1acb['push'](_0x2883f8[_0x4c9e1d]),_0x4c9e1d++;}else _0x4a1acb['push'](_0x4a1acb[_0x4a1acb['length']-0x1]);return _0x4a1acb;}static['removeUnnecessaryMetadata'](_0x3ac3be,_0x5da8ab){if(!_0x3ac3be?.['length']||!_0x5da8ab?.['length'])return[];const _0x4df9b1=[];for(let _0x302f23=0x0;_0x302f23<_0x3ac3be['length'];_0x302f23++)if(0x0!==_0x3ac3be[_0x302f23]){if(!_0x5da8ab[_0x302f23])throw new Error('Missing\x20metadata\x20for\x20a\x20operation');_0x4df9b1['push'](_0x5da8ab[_0x302f23]);}return _0x4df9b1;}},_0x4b5953=class extends _0x596fc5{static ['DESCRIPTOR_NAME']='OperationMetadataDescriptor';static ['DESCRIPTOR']=((()=>({'fields':{'userId':{'type':'string','id':0x1},'type':{'type':'string','id':0x2},'createdAt':{'type':'string','id':0x3}}}))());static['toJSON']({createdAt:_0x580863,..._0x49032f}){const _0x257922={..._0x49032f};return _0x580863?.['toISOString']&&(_0x257922['createdAt']=_0x580863['toISOString']()),_0x257922;}static['fromJSON']({createdAt:_0x30fb0c,..._0x19eda9}){const _0x248872={..._0x19eda9};return _0x30fb0c&&(_0x248872['createdAt']=new Date(_0x30fb0c)),_0x248872;}},_0x32a574=class CollaborativeEditingUpdateMessage extends _0x199557{['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(_0x15be88,_0x33b63f,_0x3cdaee,_0x5eca87,_0x189de2=[],_0x4f736f=''){super(),this['id']=_0x15be88,this['buffers']=_0x33b63f,this['types']=_0x3cdaee,this['baseVersion']=_0x5eca87,this['metadata']=_0x189de2,this['lastOperationId']=_0x4f736f;}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':_0xf39e3c['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](_0x4b5953['toJSON']),'lastOperationId':this['lastOperationId']};}static['fromJSON'](_0x17603a){return new CollaborativeEditingUpdateMessage(_0x17603a['id'],_0x17603a['buffers'],_0x17603a['types'],_0x17603a['baseVersion'],_0xf39e3c['prepareMetadataForOperations'](_0x17603a['types'],_0x17603a['metadata'])['map'](_0x4b5953['fromJSON']),_0x17603a['lastOperationId']);}},_0x2f7047=class CollaborativeEditingReconnectMessage extends _0x199557{['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(_0x19fc06,_0x558902,_0x4bb0de){super(),this['id']=_0x19fc06,this['lastKnowVersion']=_0x558902,this['bundleVersion']=_0x4bb0de;}['toJSON'](){return{'id':this['id'],'bundleVersion':this['bundleVersion'],'lastKnowVersion':this['lastKnowVersion']};}static['fromJSON'](_0x452a27){return new CollaborativeEditingReconnectMessage(_0x452a27['id'],_0x452a27['lastKnowVersion'],_0x452a27['bundleVersion']);}},_0x2979a=class CollaborativeEditingResponse extends _0x199557{['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(_0x2bf6ed,_0x133a88=[],_0x593996=[],_0x1afa20=[],_0x51fa2c='',_0x54c70b=null){super(),this['version']=_0x2bf6ed,this['buffers']=_0x133a88,this['types']=_0x593996,this['metadata']=_0x1afa20,this['lastOperationId']=_0x51fa2c,this['lastOperationAcceptedAt']=_0x54c70b;}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':_0xf39e3c['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](_0x4b5953['toJSON']),'lastOperationId':this['lastOperationId'],'lastOperationAcceptedAt':this['lastOperationAcceptedAt']instanceof Date?this['lastOperationAcceptedAt']['toISOString']():this['lastOperationAcceptedAt']};}static['fromJSON'](_0x2f90f1){return new CollaborativeEditingResponse(_0x2f90f1['version'],_0x2f90f1['buffers'],_0x2f90f1['types'],_0xf39e3c['prepareMetadataForOperations'](_0x2f90f1['types'],_0x2f90f1['metadata'])['map'](_0x4b5953['fromJSON']),_0x2f90f1['lastOperationId'],_0x2f90f1['lastOperationAcceptedAt']?new Date(_0x2f90f1['lastOperationAcceptedAt']):null);}static['create'](_0x2a5c6b){return new CollaborativeEditingResponse(_0x2a5c6b['version'],_0x2a5c6b['buffers'],_0x2a5c6b['types'],_0x2a5c6b['metadata'],_0x2a5c6b['lastOperationId'],_0x2a5c6b['lastOperationAcceptedAt']?new Date(_0x2a5c6b['lastOperationAcceptedAt']):null);}},_0x4cc461=class CollaborativeEditingConnectResponse extends _0x199557{['channel'];['version'];['buffers'];['types'];['offset'];['metadata'];['initData'];['sessionId'];['lastOperationId'];['sessionCreatedAt'];static ['DESCRIPTOR_NAME']='CollaborativeEditingConnectResponse';static ['DESCRIPTOR']=((()=>({'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':_0x4b5953['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(_0x41edeb,_0x1e7e0d,_0xf5268b=[],_0x5ac1df=[],_0x1d920b=0x0,_0x1a5abd=[],_0x2aa77c=null,_0x166512='',_0x3790fe='',_0x66ad95=null){super(),this['channel']=_0x41edeb,this['version']=_0x1e7e0d,this['buffers']=_0xf5268b,this['types']=_0x5ac1df,this['offset']=_0x1d920b,this['metadata']=_0x1a5abd,this['initData']=_0x2aa77c,this['sessionId']=_0x166512,this['lastOperationId']=_0x3790fe,this['sessionCreatedAt']=_0x66ad95;}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':_0xf39e3c['removeUnnecessaryMetadata'](this['types'],this['metadata'])['map'](_0x4b5953['toJSON']),'initData':this['initData']??'','isInitialized':'string'==typeof this['initData'],'lastOperationId':this['lastOperationId'],'sessionCreatedAt':this['sessionCreatedAt']?this['sessionCreatedAt']['toISOString']():null};}static['create'](_0x227a88){return new CollaborativeEditingConnectResponse(_0x227a88['channel'],_0x227a88['version'],_0x227a88['buffers'],_0x227a88['types'],_0x227a88['offset'],_0x227a88['metadata'],_0x227a88['initData'],_0x227a88['sessionId'],_0x227a88['lastOperationId'],_0x227a88['sessionCreatedAt']);}static['fromJSON'](_0x238909){let _0xd8b27f=null;return!0x0===_0x238909['isInitialized']?_0xd8b27f=_0x238909['initData']??'':'boolean'!=typeof _0x238909['isInitialized']&&_0x238909['initData']&&(_0xd8b27f=_0x238909['initData']),CollaborativeEditingConnectResponse['create']({'channel':_0x238909['channel'],'version':_0x238909['version'],'buffers':_0x238909['buffers'],'types':_0x238909['types'],'offset':_0x238909['offset'],'metadata':_0xf39e3c['prepareMetadataForOperations'](_0x238909['types'],_0x238909['metadata'])['map'](_0x4b5953['fromJSON']),'initData':_0xd8b27f,'sessionId':_0x238909['sessionId'],'lastOperationId':_0x238909['lastOperationId'],'sessionCreatedAt':_0x238909['sessionCreatedAt']?new Date(_0x238909['sessionCreatedAt']):null});}},_0x28dbcb=class GetDocumentDetailsResponse extends _0x199557{['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(_0x1710fa,_0x1db3e9){super(),this['lastDocumentSession']=_0x1710fa,this['currentDocumentSession']=_0x1db3e9;}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'](_0x45cab7){return new GetDocumentDetailsResponse(_0x45cab7['lastDocumentSessionId']?{'id':_0x45cab7['lastDocumentSessionId'],'lastOperationId':_0x45cab7['lastDocumentSessionOperationId']}:void 0x0,_0x45cab7['currentDocumentSessionId']?{'lastOperationId':_0x45cab7['currentDocumentSessionOperationId'],'version':_0x45cab7['currentDocumentSessionVersion'],'id':_0x45cab7['currentDocumentSessionId']}:void 0x0);}},_0x50da72=class GetDocumentDetailsMessage extends _0x199557{['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(_0x3aba61){super(),this['documentId']=_0x3aba61;}get['data'](){return{'documentId':this['documentId']};}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x3ee30a){return new GetDocumentDetailsMessage(_0x3ee30a['documentId']);}},_0x6ed5f6=class extends(0x0,_0x14e616['EmitterMixin'])(){static ['_SERVICE']=0x1;['_bundleVersion'];['_id'];['_isConnected'];['_wsGateway'];['_channel'];['_connectedSessions'];constructor(_0x4ce75c,_0x334d3a){if(super(),!_0x4ce75c)throw new TypeError('Param\x20\x22bundleVersion\x22\x20must\x20be\x20provided.');this['_id']=_0x334d3a??_0x5bf8c1(),this['_isConnected']=!0x1,this['_bundleVersion']=_0x4ce75c;}['getId'](){return this['_id'];}['isConnected'](){return this['_isConnected'];}['connect'](_0x56bbe5,_0x92051f={'buffers':[],'types':[]},_0x3699a1){const _0x2cf2ca=new _0x495fc1(this['getId'](),_0x92051f['buffers'],_0x92051f['types'],this['_bundleVersion'],_0x3699a1);return this['_connect'](_0x56bbe5,_0x2cf2ca);}['reconnect'](_0x2a538d,_0x1b41bc){if(this['isConnected']())throw new _0x1f3549('Cannot\x20reconnect\x20to\x20already\x20connected\x20service.',_0x2a538d);return this['_connect'](_0x2a538d,new _0x2f7047(this['getId'](),_0x1b41bc,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 _0x5d8713=new _0x50da72(this['getId']());if(!this['_wsGateway'])throw new _0x1bf695('Collaborative\x20Editing',this);const _0x4b4af5=await this['_wsGateway']['_sendRequest'](0x1,_0x50da72['TYPE'],_0x4e835b['encode'](_0x5d8713));return _0x4e835b['decode'](_0x4b4af5,_0x28dbcb);}async['sendOperations'](_0x3c6647,_0x285460,_0x1e2654){if(!_0x3c6647?.['types']?.['length'])throw new _0x1f3549('Cannot\x20send\x20empty\x20update.',this['_wsGateway']);const _0x50b6ec='number'==typeof _0x285460?_0x285460:parseInt(_0x285460);if(!Number['isInteger'](_0x50b6ec)||_0x50b6ec<0x0)throw new _0x1f3549('Base\x20version\x20not\x20provided.',this['_wsGateway']);const _0x27d39c=new _0x32a574(this['getId'](),_0x3c6647['buffers'],_0x3c6647['types'],_0x50b6ec,[],_0x1e2654);if(!this['_wsGateway']||!this['_isConnected'])throw new _0x1bf695('Collaborative\x20Editing',this);const _0x472017=await this['_wsGateway']['_sendRequest'](0x1,_0x32a574['TYPE'],_0x4e835b['encode'](_0x27d39c));return _0x4e835b['decode'](_0x472017,_0x2979a);}async['getConnectedSessions'](){if(!this['_isConnected'])throw new _0x1bf695('Collaborative\x20Editing',this);return this['_connectedSessions']??=await _0x578fae['getConnectedSessions'](this['_wsGateway'],this['_id'],0x1),this['_connectedSessions'];}static['getConnectedSessions'](_0x367eb6,_0x459c87){return _0x578fae['getConnectedSessions'](_0x367eb6,_0x459c87,0x1);}async['_connect'](_0x1c6c84,_0x37e55d){if(this['isConnected']())return;if(_0x1c6c84['state']!==_0x2cd4c5['STATE_CONNECTED'])throw new _0x1f3549('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x1c6c84);this['_wsGateway']=_0x1c6c84,this['stopListening'](_0x1c6c84,'change:state');const _0x5b32c9=await _0x1c6c84['_sendRequest'](0x1,_0x37e55d['constructor']['TYPE'],_0x4e835b['encode'](_0x37e55d)),_0x86bed9=_0x4e835b['decode'](_0x5b32c9,_0x4cc461);return this['listenTo'](_0x1c6c84,'change:state',(_0x2c8bcf,_0x1a5eb7,_0x32f8ac)=>this['_onWsGatewayStateChange'](_0x32f8ac),{'priority':_0x2cd4c5['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x1c6c84,_0x86bed9['channel']),this['_isConnected']=!0x0,this['fire']('connected'),_0x86bed9;}['_connectToChannel'](_0x9a1ca0,_0xe60976){this['_channel']=_0x9a1ca0['_getChannel'](0x1,_0xe60976),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x32a574['TYPE']),(_0x5b821d,_0x33c49b)=>{const _0x2dc879=_0x4e835b['decode'](_0x33c49b,_0x32a574);this['fire']('operationsReceived',_0x2dc879['baseVersion'],_0x2dc879['data'],_0x2dc879['metadata']);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x31a38b['TYPE']),()=>{this['disconnect']();});}['_onWsGatewayStateChange'](_0x4a7fff){_0x4a7fff===_0x2cd4c5['STATE_DISCONNECTED']&&this['disconnect']();}},tT=class extends _0x596fc5{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'](_0x141049){return{..._0x141049,'createdAt':_0x141049['createdAt']?.['toISOString'](),'attributes':_0x141049['attributes']?JSON['stringify'](_0x141049['attributes']):null};}static['fromJSON'](_0x3e489a){return{..._0x3e489a,'createdAt':new Date(_0x3e489a['createdAt']),'attributes':_0x3e489a['attributes']?JSON['parse'](_0x3e489a['attributes']):null};}},_0x3bc4d2=class extends _0x596fc5{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'](_0x7aecba){return{..._0x7aecba,'createdAt':_0x7aecba['createdAt']?.['toISOString'](),'deletedAt':_0x7aecba['deletedAt']?.['toISOString'](),'resolvedAt':_0x7aecba['resolvedAt']?.['toISOString'](),'attributes':_0x7aecba['attributes']?JSON['stringify'](_0x7aecba['attributes']):null,'context':_0x7aecba['context']?JSON['stringify'](_0x7aecba['context']):_0x7aecba['context'],'comments':_0x7aecba['comments']?.['map'](tT['toJSON']),'unlinkedAt':_0x7aecba['unlinkedAt']?.['toISOString']()};}static['fromJSON'](_0x577aca){return{..._0x577aca,'createdAt':_0x577aca['createdAt']?new Date(_0x577aca['createdAt']):void 0x0,'deletedAt':_0x577aca['deletedAt']?new Date(_0x577aca['deletedAt']):void 0x0,'resolvedAt':_0x577aca['resolvedAt']?new Date(_0x577aca['resolvedAt']):void 0x0,'attributes':_0x577aca['attributes']?JSON['parse'](_0x577aca['attributes']):null,'context':_0x577aca['context']?JSON['parse'](_0x577aca['context']):void 0x0,'comments':_0x577aca['comments']?.['map'](tT['fromJSON']),'unlinkedAt':_0x577aca['unlinkedAt']?new Date(_0x577aca['unlinkedAt']):void 0x0};}},_0x165a82=class AddCommentMessage extends _0x199557{['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(_0xfd5633,_0x30b095,_0x1fb108,_0x15b7bd='',_0x28606d,_0x3a492d='',_0x168658=null,_0x349c19){super(),this['documentId']=_0xfd5633,this['commentThreadId']=_0x30b095,this['content']=_0x1fb108,this['commentId']=_0x15b7bd,this['userId']=_0x3a492d,this['attributes']=_0x168658,this['commentThread']=_0x349c19,this['createdAt']=_0x28606d?new Date(_0x28606d):'';}['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']?_0x3bc4d2['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x330d90){return new AddCommentMessage(_0x330d90['documentId'],_0x330d90['commentThreadId'],_0x330d90['content'],_0x330d90['commentId']?_0x330d90['commentId']:void 0x0,_0x330d90['createdAt']?new Date(_0x330d90['createdAt']):void 0x0,_0x330d90['userId']?_0x330d90['userId']:void 0x0,_0x330d90['attributes']?JSON['parse'](_0x330d90['attributes']):{},_0x330d90['commentThread']?_0x3bc4d2['fromJSON'](_0x330d90['commentThread']):void 0x0);}},_0xc502f4=class AddCommentResponse extends _0x199557{['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(_0x3e57e4,_0x13fc06,_0x21e288){super(),this['commentThreadId']=_0x3e57e4,this['commentId']=_0x13fc06,this['createdAt']=new Date(_0x21e288);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'commentId':this['commentId'],'createdAt':this['createdAt']['toISOString']()};}static['fromJSON'](_0x12e9e7){return new AddCommentResponse(_0x12e9e7['commentThreadId'],_0x12e9e7['commentId'],_0x12e9e7['createdAt']);}},_0x5b2bdf=class ConnectMessage extends _0x199557{['documentId'];static ['TYPE']='92';static ['READABLE_TYPE_NAME']='connectToComment';static ['DESCRIPTOR_NAME']='CommentsV2ConnectMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x1c8307){super(),this['documentId']=_0x1c8307;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x465e03){return new ConnectMessage(_0x465e03['documentId']);}},_0x46d391=class ConnectResponse extends _0x199557{['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(_0x1fcb2e,_0x29969c,_0x1861ee){super(),this['channel']=_0x1fcb2e,this['_threads']=_0x29969c,this['_threadsV2']=_0x1861ee,this['threads']=_0x1861ee?.['length']?_0x1861ee:_0x29969c;}['toJSON'](){return{'channel':this['channel'],'threads':this['_threads']?.['map'](_0x109aff=>JSON['stringify'](_0x109aff)),'threadsV2':this['_threadsV2']?.['map'](_0x3bc4d2['toJSON'])};}static['fromJSON'](_0x360701){return new ConnectResponse(_0x360701['channel'],_0x360701['threads']?.['map'](_0x4f299a=>JSON['parse'](_0x4f299a)),_0x360701['threadsV2']?.['map'](_0x3bc4d2['fromJSON']));}},_0x821a69=class RemoveCommentMessage extends _0x199557{['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(_0x1afeee,_0x28029b,_0x2fceec){super(),this['documentId']=_0x1afeee,this['commentThreadId']=_0x28029b,this['commentId']=_0x2fceec;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'commentId':this['commentId']};}static['fromJSON'](_0x153c04){return new RemoveCommentMessage(_0x153c04['documentId'],_0x153c04['commentThreadId'],_0x153c04['commentId']);}},_0x259838=class RemoveCommentThreadMessage extends _0x199557{['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(_0xd19bad,_0x3370cf){super(),this['documentId']=_0xd19bad,this['commentThreadId']=_0x3370cf;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x50beeb){return new RemoveCommentThreadMessage(_0x50beeb['documentId'],_0x50beeb['commentThreadId']);}},_0x447e53=class UpdateCommentMessage extends _0x199557{['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(_0x405b37,_0x5adf06,_0x4b2f1a,_0x2dc2d1,_0x38d80d=null,_0x2aed55=!0x1,_0x4ab43b){super(),this['documentId']=_0x405b37,this['commentThreadId']=_0x5adf06,this['commentId']=_0x4b2f1a,this['content']=_0x2dc2d1,this['attributes']=_0x38d80d,this['isAttributesUpdated']=_0x2aed55,this['commentThread']=_0x4ab43b;}['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']?_0x3bc4d2['toJSON'](this['commentThread']):void 0x0};}static['fromJSON'](_0x50bb27){return new UpdateCommentMessage(_0x50bb27['documentId'],_0x50bb27['commentThreadId'],_0x50bb27['commentId'],_0x50bb27['content'],_0x50bb27['attributes']?JSON['parse'](_0x50bb27['attributes']):null,_0x50bb27['isAttributesUpdated'],_0x50bb27['commentThread']?_0x3bc4d2['fromJSON'](_0x50bb27['commentThread']):void 0x0);}},_0x5b1519=class GetCommentThreadMessage extends _0x199557{['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(_0x352125,_0x241e3c){super(),this['commentThreadId']=_0x352125,this['documentId']=_0x241e3c;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId']};}static['fromJSON'](_0x2f1434){return new GetCommentThreadMessage(_0x2f1434['commentThreadId'],_0x2f1434['documentId']);}},_0x29eeab=class GetCommentThreadResponse extends _0x199557{['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(_0xfcab35,_0x3d472d,_0x7fa526,_0x513f6d,_0x232c11,_0x4370f7,_0x488bd0,_0x190627,_0x1b87e4,_0x30b018){super(),this['commentThreadId']=_0xfcab35,this['_comments']=_0x3d472d,this['_commentsV2']=_0x7fa526,this['resolvedBy']=_0x232c11,this['comments']=_0x7fa526?.['length']?_0x7fa526:_0x3d472d,this['createdAt']=_0x488bd0?new Date(_0x488bd0):void 0x0,this['deletedAt']='string'==typeof _0x190627?new Date(_0x190627):_0x190627,this['resolvedAt']='string'==typeof _0x1b87e4?new Date(_0x1b87e4):_0x1b87e4,this['unlinkedAt']='string'==typeof _0x30b018?new Date(_0x30b018):_0x30b018,this['attributes']='string'==typeof _0x513f6d?JSON['parse'](_0x513f6d):_0x513f6d,this['context']='string'==typeof _0x4370f7?JSON['parse'](_0x4370f7):_0x4370f7;}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'comments':this['_comments']?.['map'](_0x7be3de=>JSON['stringify'](_0x7be3de)),'commentsV2':this['_commentsV2']?.['map'](tT['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'](_0x56fffa){return new GetCommentThreadResponse(_0x56fffa['commentThreadId'],_0x56fffa['comments']?.['map'](_0x1d9cf1=>function(_0xb4fd4e){const _0x47254=JSON['parse'](_0xb4fd4e);return{..._0x47254,'createdAt':new Date(_0x47254['createdAt'])};}(_0x1d9cf1)),_0x56fffa['commentsV2']?.['map'](tT['fromJSON']),_0x56fffa['attributes']?JSON['parse'](_0x56fffa['attributes']):_0x56fffa['attributes'],_0x56fffa['resolvedBy'],_0x56fffa['context']?JSON['parse'](_0x56fffa['context']):_0x56fffa['context'],_0x56fffa['createdAt'],_0x56fffa['deletedAt'],_0x56fffa['resolvedAt'],_0x56fffa['unlinkedAt']);}},_0x3ddba1=class GetDocumentThreadsMessage extends _0x199557{['documentId'];static ['TYPE']='94';static ['READABLE_TYPE_NAME']='getDocumentThreads';static ['DESCRIPTOR_NAME']='CommentsV2GetDocumentThreadsMessage';static ['DESCRIPTOR']={'fields':{'documentId':{'type':'string','id':0x1}}};constructor(_0x3ef666){super(),this['documentId']=_0x3ef666;}['toJSON'](){return{'documentId':this['documentId']};}static['fromJSON'](_0x4b0157){return new GetDocumentThreadsMessage(_0x4b0157['documentId']);}},_0x33e063=class GetDocumentThreadsResponse extends _0x199557{['_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(_0x52e12c,_0x4ed3df){super(),this['_threads']=_0x52e12c,this['_threadsV2']=_0x4ed3df,this['threads']=_0x4ed3df?.['length']?_0x4ed3df:_0x52e12c;}['toJSON'](){return{'threads':this['_threads']?.['map'](_0x48fb7c=>JSON['stringify'](_0x48fb7c)),'threadsV2':this['_threadsV2']?.['map'](_0x3bc4d2['toJSON'])};}static['fromJSON'](_0x5cbe08){return new GetDocumentThreadsResponse(_0x5cbe08['threads']?.['map'](_0x464dd6=>function(_0x2a8c34){const _0x3ec743=JSON['parse'](_0x2a8c34),_0x31fe0e={..._0x3ec743};return _0x3ec743['comments']&&(_0x31fe0e['comments']=_0x3ec743['comments']?.['map'](_0x5a6757=>({..._0x5a6757,'createdAt':new Date(_0x5a6757['createdAt'])}))),_0x31fe0e;}(_0x464dd6)),_0x5cbe08['threadsV2']?.['map'](_0x3bc4d2['fromJSON']));}},_0x53780c=class extends _0x596fc5{static ['DESCRIPTOR_NAME']='CommentThreadAddedCommentDescriptor';static ['DESCRIPTOR']={'fields':{'commentId':{'id':0x1,'type':'string'},'createdAt':{'id':0x2,'type':'string'}}};static['toJSON'](_0x481825){return{'commentId':_0x481825['commentId'],'createdAt':_0x481825['createdAt']?.['toISOString']()};}static['fromJSON'](_0x589e58){return{'commentId':_0x589e58['commentId'],'createdAt':new Date(_0x589e58['createdAt'])};}},_0x470b39=class AddCommentThreadResponse extends _0x199557{['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(_0x11ad8c,_0xc4ab16,_0x350185=[]){super(),this['commentThreadId']=_0x11ad8c,this['comments']=_0x350185,this['createdAt']=new Date(_0xc4ab16);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'createdAt':this['createdAt']['toISOString'](),'comments':this['comments']['map'](_0x28d4d5=>_0x53780c['toJSON'](_0x28d4d5))};}static['fromJSON'](_0x15cca7){return new AddCommentThreadResponse(_0x15cca7['commentThreadId'],_0x15cca7['createdAt'],_0x15cca7['comments']['map'](_0x19cec3=>_0x53780c['fromJSON'](_0x19cec3)));}},_0x9f36b2=class AddCommentThreadMessage extends _0x199557{['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(_0x4d167f,_0x127baf,_0x435b11=[],_0x4acc80,_0x30b2=null,_0x44c421=null,_0x4d5bb6=null,_0x35d15b=null,_0x15ed98=null){super(),this['documentId']=_0x4d167f,this['commentThreadId']=_0x127baf,this['comments']=_0x435b11,this['context']=_0x4acc80,this['resolvedBy']=_0x30b2,this['attributes']=_0x15ed98,this['createdAt']=_0x44c421?new Date(_0x44c421):'',this['resolvedAt']=_0x4d5bb6?new Date(_0x4d5bb6):'',this['deletedAt']=_0x35d15b?new Date(_0x35d15b):'';}['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'](_0x2f2e2d=>tT['toJSON'](_0x2f2e2d))};}static['fromJSON'](_0x2f6cfe){return new AddCommentThreadMessage(_0x2f6cfe['documentId'],_0x2f6cfe['commentThreadId'],_0x2f6cfe['comments']?.['map'](_0x336ab0=>tT['fromJSON']({..._0x336ab0,'documentId':_0x2f6cfe['documentId'],'commentThreadId':_0x2f6cfe['commentThreadId']})),_0x2f6cfe['context']?JSON['parse'](_0x2f6cfe['context']):_0x2f6cfe['context'],_0x2f6cfe['resolvedBy'],_0x2f6cfe['createdAt']?new Date(_0x2f6cfe['createdAt']):void 0x0,_0x2f6cfe['resolvedAt']?new Date(_0x2f6cfe['resolvedAt']):void 0x0,_0x2f6cfe['deletedAt']?new Date(_0x2f6cfe['deletedAt']):void 0x0,_0x2f6cfe['attributes']?JSON['parse'](_0x2f6cfe['attributes']):_0x2f6cfe['attributes']);}},_0x2550b1=class ResolveCommentThreadMessage extends _0x199557{['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(_0xe3b84f,_0x44c8cd,_0x8b7504,_0x47da00){super(),this['commentThreadId']=_0xe3b84f,this['documentId']=_0x44c8cd,this['resolvedBy']=_0x8b7504,this['resolvedAt']=_0x47da00?new Date(_0x47da00):void 0x0;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']?.['toISOString']()};}static['fromJSON'](_0x1f9057){return new ResolveCommentThreadMessage(_0x1f9057['commentThreadId'],_0x1f9057['documentId'],_0x1f9057['resolvedBy'],_0x1f9057['resolvedAt']);}},_0xef6aa4=class ReopenCommentThreadMessage extends _0x199557{['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(_0x1e7265,_0x9d85e5){super(),this['commentThreadId']=_0x1e7265,this['documentId']=_0x9d85e5;}['toJSON'](){return{'documentId':this['documentId'],'commentThreadId':this['commentThreadId']};}static['fromJSON'](_0x36c100){return new ReopenCommentThreadMessage(_0x36c100['commentThreadId'],_0x36c100['documentId']);}},_0x487254=class UpdateCommentThreadMessage extends _0x199557{['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(_0x5d2bdd,_0x39ac3b,_0x4b96f7,_0x1b66ba=null,_0x1f5cd9=null){super(),this['commentThreadId']=_0x5d2bdd,this['documentId']=_0x39ac3b,this['context']=_0x4b96f7,this['attributes']=_0x1b66ba,this['unlinkedAt']=_0x1f5cd9?new Date(_0x1f5cd9):'';}['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'](_0x1767ae){return new UpdateCommentThreadMessage(_0x1767ae['commentThreadId'],_0x1767ae['documentId'],_0x1767ae['context']?JSON['parse'](_0x1767ae['context']):_0x1767ae['context'],_0x1767ae['attributes']?JSON['parse'](_0x1767ae['attributes']):null,_0x1767ae['unlinkedAt']?new Date(_0x1767ae['unlinkedAt']):null);}},_0x560613=class ResolveCommentThreadResponse extends _0x199557{['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(_0x4a1333,_0x500a11,_0x3eca21,_0x1b90b2){super(),this['commentThreadId']=_0x4a1333,this['documentId']=_0x500a11,this['resolvedBy']=_0x3eca21,this['resolvedAt']=new Date(_0x1b90b2);}['toJSON'](){return{'commentThreadId':this['commentThreadId'],'documentId':this['documentId'],'resolvedBy':this['resolvedBy'],'resolvedAt':this['resolvedAt']['toISOString']()};}static['fromJSON'](_0x3596e6){return new ResolveCommentThreadResponse(_0x3596e6['commentThreadId'],_0x3596e6['documentId'],_0x3596e6['resolvedBy'],_0x3596e6['resolvedAt']);}},_0x506079=class CommentsService extends(0x0,_0x14e616['EmitterMixin'])(){['_documentId'];['_isConnected']=!0x1;['_wsGateway'];['_channel'];['_connectedSessions'];static ['_SERVICE']=0x9;constructor(_0x26ba93){super(),this['_documentId']=_0x26ba93;}get['isConnected'](){return this['_isConnected'];}async['connect'](_0x4bb5d8){if(this['_isConnected'])return;if(_0x4bb5d8['state']!==_0x341021)throw new _0x1f3549('WebSocket\x20Gateway\x20is\x20not\x20connected.',_0x4bb5d8);const _0x572cd1=new _0x5b2bdf(this['_documentId']);this['_wsGateway']=_0x4bb5d8,this['stopListening'](_0x4bb5d8,'change:state');const _0x4cf1d8=await _0x4bb5d8['_sendRequest'](0x9,_0x5b2bdf['TYPE'],_0x4e835b['encode'](_0x572cd1)),{channel:_0x26d8ef,threads:_0x2513d6}=_0x4e835b['decode'](_0x4cf1d8,_0x46d391);return this['listenTo'](_0x4bb5d8,'change:state',(_0x4e3bc0,_0x39e368,_0x979f9e)=>this['_onWsGatewayStateChange'](_0x979f9e),{'priority':_0x2cd4c5['_CHANGE_STATE_EVENT_PRIORITY']}),this['_connectToChannel'](_0x4bb5d8,_0x26d8ef),this['_isConnected']=!0x0,this['fire']('connected'),_0x2513d6;}['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'](_0x4e119a,_0x1af8ca,_0x25fca8,_0x222438){const _0x1e514f=new _0x165a82(this['_documentId'],_0x4e119a,_0x25fca8,_0x1af8ca,void 0x0,void 0x0,_0x222438),_0x3b845b=await this['_sendRequest'](_0x165a82['TYPE'],_0x1e514f);return _0x4e835b['decode'](_0x3b845b,_0xc502f4);}async['updateComment'](_0x359cea,_0x167bc2,_0x3616ef,_0x36d459){const _0x133406=void 0x0!==_0x36d459,_0x14813c=new _0x447e53(this['_documentId'],_0x359cea,_0x167bc2,_0x3616ef,_0x36d459,_0x133406);await this['_sendRequest'](_0x447e53['TYPE'],_0x14813c);}async['removeComment'](_0x11e3dc,_0x45b0b8){const _0x594bc2=new _0x821a69(this['_documentId'],_0x11e3dc,_0x45b0b8);await this['_sendRequest'](_0x821a69['TYPE'],_0x594bc2);}async['removeCommentThread'](_0x51cd42){const _0x15ed4f=new _0x259838(this['_documentId'],_0x51cd42);await this['_sendRequest'](_0x259838['TYPE'],_0x15ed4f);}async['addCommentThread'](_0xeb2dc1){const _0x1896be=new _0x9f36b2(this['_documentId'],_0xeb2dc1['commentThreadId'],_0xeb2dc1['comments']?.['map'](_0x3df0d3=>({..._0x3df0d3,'documentId':this['_documentId'],'commentThreadId':_0xeb2dc1['commentThreadId']})),_0xeb2dc1['context'],_0xeb2dc1['resolvedBy'],_0xeb2dc1['createdAt'],_0xeb2dc1['resolvedAt'],_0xeb2dc1['deletedAt'],_0xeb2dc1['attributes']),_0x403d65=await this['_sendRequest'](_0x9f36b2['TYPE'],_0x1896be);return _0x4e835b['decode'](_0x403d65,_0x470b39);}async['resolveCommentThread'](_0x1e5f77){const _0x15b629=new _0x2550b1(_0x1e5f77,this['_documentId']),_0x52e4af=await this['_sendRequest'](_0x2550b1['TYPE'],_0x15b629);return _0x4e835b['decode'](_0x52e4af,_0x560613);}async['reopenCommentThread'](_0x29210f){const _0x3919a3=new _0xef6aa4(_0x29210f,this['_documentId']);await this['_sendRequest'](_0xef6aa4['TYPE'],_0x3919a3);}async['updateCommentThread'](_0x9d843b){const _0x4ccd6d=new _0x487254(_0x9d843b['commentThreadId'],this['_documentId'],_0x9d843b['context'],_0x9d843b['attributes'],_0x9d843b['unlinkedAt']);await this['_sendRequest'](_0x487254['TYPE'],_0x4ccd6d);}async['getCommentThread'](_0x2506ca,_0x46fb33=0x1){const _0x3de5dc=new _0x5b1519(_0x2506ca,this['_documentId']);try{const _0x3844e4=await this['_sendRequest'](_0x5b1519['TYPE'],_0x3de5dc),_0x3a8839=_0x4e835b['decode'](_0x3844e4,_0x29eeab);return{'commentThreadId':_0x3a8839['commentThreadId'],'comments':_0x3a8839['comments'],'attributes':_0x3a8839['attributes'],'context':_0x3a8839['context'],'resolvedAt':_0x3a8839['resolvedAt'],'resolvedBy':_0x3a8839['resolvedBy'],'deletedAt':_0x3a8839['deletedAt'],'unlinkedAt':_0x3a8839['unlinkedAt']};}catch(_0x2fca37){if('CKEditorCloudServicesServerError'===_0x2fca37['name']&&'404'===_0x2fca37['code']&&_0x46fb33<0x5)return await(_0x488aa0=0x64*_0x46fb33,new Promise(_0x507eff=>{setTimeout(_0x507eff,_0x488aa0);})),this['getCommentThread'](_0x2506ca,_0x46fb33+0x1);if('CKEditorCloudServicesServerError'===_0x2fca37['name'])throw _0x2fca37;throw _0x16a029['fromPublicError'](_0x2fca37);}var _0x488aa0;}async['getDocumentThreads'](){const _0x430081=new _0x3ddba1(this['_documentId']),_0x5b3cf6=await this['_sendRequest'](_0x3ddba1['TYPE'],_0x430081),{threads:_0x2f4852}=_0x4e835b['decode'](_0x5b3cf6,_0x33e063);return{'threads':_0x2f4852};}async['getConnectedSessions'](){if(!this['_isConnected'])throw new _0x1bf695('Comments',this);return this['_connectedSessions']??=await _0x578fae['getConnectedSessions'](this['_wsGateway'],this['_documentId'],0x9),this['_connectedSessions'];}['_connectToChannel'](_0x228e3a,_0xfff726){this['_channel']=_0x228e3a['_getChannel'](CommentsService['_SERVICE'],_0xfff726),this['_channel']&&(this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x165a82['TYPE']),(_0xcdfbe7,_0x55d227)=>{const _0x16780e=_0x4e835b['decode'](_0x55d227,_0x165a82);this['fire']('commentAdded',_0x16780e);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x821a69['TYPE']),(_0x4c7288,_0xc46b01)=>{const _0x3a8dc0=_0x4e835b['decode'](_0xc46b01,_0x821a69);this['fire']('commentRemoved',_0x3a8dc0);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x447e53['TYPE']),(_0x4dc106,_0x49110f)=>{const _0x3e56bb=_0x4e835b['decode'](_0x49110f,_0x447e53);this['fire']('commentUpdated',_0x3e56bb);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x259838['TYPE']),(_0x48e829,_0x47dd89)=>{const _0x3a6798=_0x4e835b['decode'](_0x47dd89,_0x259838);this['fire']('commentThreadRemoved',_0x3a6798);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x9f36b2['TYPE']),(_0x4b810f,_0x348233)=>{const _0xb0d17a=_0x4e835b['decode'](_0x348233,_0x9f36b2);this['fire']('commentThreadAdded',_0xb0d17a);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x487254['TYPE']),(_0x162c40,_0x30ba9e)=>{const _0xd7f130=_0x4e835b['decode'](_0x30ba9e,_0x487254);this['fire']('commentThreadUpdated',_0xd7f130);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x2550b1['TYPE']),(_0x283c31,_0xd38f3c)=>{const _0x5ed30b=_0x4e835b['decode'](_0xd38f3c,_0x2550b1);this['fire']('commentThreadResolved',_0x5ed30b);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0xef6aa4['TYPE']),(_0x5367f4,_0x119d39)=>{const _0x37f749=_0x4e835b['decode'](_0x119d39,_0xef6aa4);this['fire']('commentThreadReopened',_0x37f749);}),this['listenTo'](this['_channel'],this['_channel']['getEventName'](_0x31a38b['TYPE']),()=>{this['disconnect']();}));}['_onWsGatewayStateChange'](_0xa7e4fb){_0xa7e4fb===_0x57ce19&&this['disconnect']();}['_sendRequest'](_0x17deed,_0x160a5e){if(!this['_wsGateway']||!this['_isConnected'])throw new _0x1bf695('Comments',this);return this['_wsGateway']['_sendRequest'](0x9,_0x17deed,_0x4e835b['encode'](_0x160a5e));}},_0x139077=class WebSocketGateway extends _0x14e616['ContextPlugin']{static ['WebSocketGateway']=/* #__PURE__ -- @preserve */
((()=>_0x2cd4c5)());static ['initialReconnectionInterval']=0x3e8;['connection'];['_reconnectionStack'];['_shouldPluginsReconnect'];['_domEmitter'];static get['requires'](){return[_0x14e616['CloudServices'],_0x14e616['Notification']];}static get['pluginName'](){return'WebSocketGateway';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2b78f0){super(_0x2b78f0),this['set']('state',_0x341021),this['set']('_isBrowserOffline',!0x1),this['_reconnectionStack']=new Set(),this['_shouldPluginsReconnect']=!0x1,this['_domEmitter']=new((0x0,_0x14e616['DomEmitterMixin'])())();}['init'](){const _0x373480=this['context'],_0x18677e=_0x373480['plugins']['get'](_0x14e616['CloudServices']),_0xdd8ae9=_0x373480['plugins']['get'](_0x14e616['Notification']);if(!_0x18677e['token'])throw new _0x14e616['CKEditorError']('websocketgateway-missing-token',this);if(!_0x18677e['webSocketUrl'])throw new _0x14e616['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'](_0x18677e['token'],_0x18677e['webSocketUrl'],{'timeout':0x3e8*this['context']['config']['get']('cloudServices.connectionTimeout'),'requestTimeout':0x3e8*this['context']['config']['get']('cloudServices.requestTimeout')})['then'](_0x199a8c=>{if(this['connection']=_0x199a8c,this['bind']('state')['to'](_0x199a8c,'state',this,'_isBrowserOffline',(_0x46fb2a,_0x35aa09)=>('connected'!==_0x46fb2a&&(this['_shouldPluginsReconnect']=!0x0),_0x35aa09||_0x46fb2a!==_0x341021?_0x57ce19:this['state']==_0x57ce19&&this['_shouldPluginsReconnect']?(this['_shouldPluginsReconnect']=!0x1,this['_reconnect'](),_0x334272):_0x341021)),this['connection']['on']('error',(_0x5d11fa,_0x11be08)=>{if('limitExceeded'!==_0x11be08['code'])throw console['error'](_0x11be08),new _0x14e616['CKEditorError']('cloudservices-init',null,{'originalError':_0x11be08});_0xdd8ae9['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'});}),!_0x199a8c['me'])return new Promise(_0x55de79=>_0x199a8c['on']('change:me',_0x55de79));})['catch'](_0x4e7aa7=>{throw console['error'](_0x4e7aa7),new _0x14e616['CKEditorError']('cloudservices-init',null,{'originalError':_0x4e7aa7});});}['addToReconnectionStack'](_0x2d8454){if('function'!=typeof _0x2d8454['reconnect'])throw new _0x14e616['CKEditorError']('websocketgateway-invalid-plugin-interface',this);if(this['isInReconnectionStack'](_0x2d8454))throw new _0x14e616['CKEditorError']('websocketgateway-plugin-already-registered',this,{'name':_0x2d8454['constructor']['pluginName']});this['_reconnectionStack']['add'](_0x2d8454);}['removeFromReconnectionStack'](_0x5e6fc6){this['_reconnectionStack']['delete'](_0x5e6fc6);}['isInReconnectionStack'](_0x2ee9d6){return this['_reconnectionStack']['has'](_0x2ee9d6);}['_reconnect'](){return this['connection']['reconnect']()['then'](()=>Promise['all'](Array['from'](this['_reconnectionStack'],_0x45a4b3=>_0x45a4b3['reconnect']())))['then'](()=>this['state']=_0x341021)['catch'](_0x4c073c=>{throw console['error'](_0x4c073c),new _0x14e616['CKEditorError']('cloudservices-reconnection-error',this['context']);});}['disconnect'](){this['connection']&&this['connection']['disconnect'](),this['state']=_0x57ce19,this['_domEmitter']['stopListening']();}['destroy'](){this['disconnect'](),super['destroy']();}},_0x8848f6=class extends _0x14e616['ContextPlugin']{['channelSessions'];['channelConnectedUsers'];['allConnectedUsers'];['_registeredSessions'];['_uniqueUsersCount'];['_users'];static get['pluginName'](){return'Sessions';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x139077,_0x17484f];}constructor(_0x5346d3){super(_0x5346d3),this['channelSessions']=new Map(),this['channelConnectedUsers']=new Map(),this['allConnectedUsers']=new _0x14e616['Collection'](),this['_registeredSessions']=new Map(),this['_uniqueUsersCount']=0x0,this['_users']=this['context']['plugins']['get'](_0x17484f);}['init'](){const _0x5132eb=this['context']['plugins']['get'](_0x139077);this['listenTo'](_0x5132eb,'change:state',(_0x507209,_0x3d1804,_0x219fd3)=>{if('connected'!==_0x219fd3)this['channelSessions']['forEach'](_0x40b62f=>_0x40b62f['clear']()),this['channelConnectedUsers']['forEach'](_0x2aea6b=>_0x2aea6b['clear']()),this['allConnectedUsers']['clear']();else{for(const [_0x461db7,_0x548978]of this['_registeredSessions'])for(const _0x2f4d75 of _0x548978)this['_handleSessionAdd'](_0x461db7,_0x2f4d75);}}),this['_createUser'](_0x5132eb['connection']['me'],!0x0);}['register'](_0x3297bd,_0x1f47e2){if(this['_registeredSessions']['has'](_0x3297bd))throw new _0x14e616['CKEditorError']('sessions-register-already-registered',null,{'channelId':_0x3297bd});this['_registeredSessions']['set'](_0x3297bd,_0x1f47e2),this['channelSessions']['set'](_0x3297bd,new _0x14e616['Collection']()),this['channelConnectedUsers']['set'](_0x3297bd,new _0x14e616['Collection']()),this['listenTo'](_0x1f47e2,'add',(_0x7e9d0,_0x3c9513)=>this['_handleSessionAdd'](_0x3297bd,_0x3c9513)),this['listenTo'](_0x1f47e2,'remove',(_0x574e32,_0x5baf63)=>this['_handleSessionRemove'](_0x3297bd,_0x5baf63));for(const _0x9f542a of _0x1f47e2)this['_handleSessionAdd'](_0x3297bd,_0x9f542a);}['unregister'](_0x522ab7){if(!this['_registeredSessions']['has'](_0x522ab7))throw new _0x14e616['CKEditorError']('sessions-unregister-not-exist',null,{'channelId':_0x522ab7});const _0x168ded=this['_registeredSessions']['get'](_0x522ab7);this['stopListening'](_0x168ded);for(const _0x27180c of _0x168ded)'connected'===this['context']['plugins']['get'](_0x139077)['state']&&this['_handleSessionRemove'](_0x522ab7,_0x27180c);this['_registeredSessions']['delete'](_0x522ab7),this['channelSessions']['delete'](_0x522ab7),this['channelConnectedUsers']['delete'](_0x522ab7);}get['mySessionId'](){return this['context']['plugins']['get'](_0x139077)['connection']['sessionId'];}['getUserBySessionId'](_0x3a1b49){for(const _0xff09aa of this['channelSessions']['values']())for(const _0x2a7bdc of _0xff09aa)if(_0x2a7bdc['id']===_0x3a1b49)return _0x2a7bdc['user'];}['getUserSessions'](_0xab8ca9,_0x1adf74){const _0xc62382=_0x1adf74?[this['channelSessions']['get'](_0x1adf74)]:this['channelSessions']['values'](),_0x3ad3fd=new Set();for(const _0x463387 of _0xc62382)for(const _0x42da99 of _0x463387)_0x42da99['user']['id']===_0xab8ca9['id']&&_0x3ad3fd['add'](_0x42da99['id']);return _0x3ad3fd;}['getUserRole'](_0x2ca00f){for(const _0x23d864 of this['channelSessions']['values']())for(const _0xe7c10a of _0x23d864)if(_0xe7c10a['user']===_0x2ca00f)return _0xe7c10a['role'];}['_handleSessionAdd'](_0x69b7dc,_0xd5d648){if('connected'!==this['context']['plugins']['get'](_0x139077)['state'])return;const _0x1be6dd=_0xd5d648['user'],_0x5f1c4b=this['_users']['getUser'](_0x1be6dd['id'])||this['_createUser'](_0x1be6dd),_0x5ac7fc=Object['assign']({},_0xd5d648,{'user':_0x5f1c4b});if(this['channelSessions']['get'](_0x69b7dc)['add'](_0x5ac7fc),!_0x1be6dd['hiddenInPresenceList']){const _0x67360b=this['channelConnectedUsers']['get'](_0x69b7dc);_0x67360b['has'](_0x5f1c4b['id'])||_0x67360b['add'](_0x5f1c4b),this['allConnectedUsers']['has'](_0x5f1c4b['id'])||_0x1be6dd['hiddenInPresenceList']||this['allConnectedUsers']['add'](_0x5f1c4b,_0x5f1c4b['isMe']?0x0:void 0x0);}this['fire']('sessionAdd:'+_0x69b7dc,{'channelId':_0x69b7dc,'session':_0x5ac7fc});}['_handleSessionRemove'](_0x1529b8,_0x73df29){if('connected'!==this['context']['plugins']['get'](_0x139077)['state'])return;const _0x1cd327=this['channelConnectedUsers']['get'](_0x1529b8),_0x429d85=_0x73df29['user'];_0x429d85['id']&&(this['channelSessions']['get'](_0x1529b8)['remove'](_0x73df29['id']),_0x1cd327['has'](_0x429d85['id'])&&!this['getUserSessions'](_0x429d85,_0x1529b8)['size']&&_0x1cd327['remove'](_0x429d85['id']),this['allConnectedUsers']['get'](_0x429d85['id'])&&!this['getUserSessions'](_0x429d85)['size']&&this['allConnectedUsers']['remove'](_0x429d85['id']));}['_createUser'](_0x275b6d,_0x1bda93){const _0x5e0d63=this['_users']['addUser'](_0x275b6d);return _0x1bda93&&this['_users']['defineMe'](_0x275b6d['id']),_0x5e0d63['orderNumber']=this['_uniqueUsersCount']++,_0x5e0d63;}},_0x47ebea=class extends _0x14e616['Plugin']{['_domEmitter']=new((0x0,_0x14e616['DomEmitterMixin'])())();static get['requires'](){return[_0x8848f6];}static get['pluginName'](){return'UserMarkers';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x21e66a=this['editor'],_0x5a8c10=_0x21e66a['plugins']['get'](_0x8848f6);_0x21e66a['conversion']['for']('editingDowncast')['markerToElement']({'model':'user:position','view':(_0x44b3d7,{writer:_0xc94404})=>function(_0x51e0a4,_0x29c58c,_0x2cfa4c,_0x1a6961){const _0x134c99=_0x51e0a4['markerName']['split'](':')[0x2],_0x4413d0=_0x2cfa4c['getUserBySessionId'](_0x134c99);if(!_0x4413d0||_0x134c99===_0x2cfa4c['mySessionId'])return;if(!_0x1a6961['model']['schema']['checkChild'](_0x51e0a4['markerRange']['start'],'$text'))return;const _0x174a25={'class':'ck-user__marker\x20'+_0x4413d0['color']['getMarkerClass'](),'style':_0x1eac8f(_0x4413d0),'data-name':_0x4413d0['name'],'data-session-id':_0x134c99},_0x2209f5=_0x1a6961['model']['markers']['get'](_0x51e0a4['markerName'])['getStart'](),_0x35d8cf=_0x2209f5['nodeAfter'],_0x2607d0=_0x1a6961['model']['schema'];if(_0x35d8cf&&_0x2607d0['isObject'](_0x35d8cf)&&_0x2607d0['isInline'](_0x35d8cf)&&!_0x1a6961['model']['markers']['get']('user:range:'+_0x134c99)['getRange']()['isCollapsed'])return;const _0x489706=_0x2209f5['parent'];return _0x1a6961['model']['schema']['isLimit'](_0x489706)&&!_0x1a6961['model']['hasContent'](_0x489706)&&(_0x174a25['contenteditable']=!0x1),function(_0x283724,_0x3300f2,_0x153702){const _0x4836bb=_0x283724['createUIElement']('span',_0x3300f2);return _0x283724['setCustomProperty']('userPositionMarker',!0x0,_0x4836bb),_0x4836bb['render']=function(_0x5922b5){const _0x149650=this['toDomElement'](_0x5922b5),_0x578362=document['createElement']('span');return _0x578362['classList']['add']('ck-user__marker-tooltip'),_0x578362['setAttribute']('contenteditable','false'),_0x578362['setAttribute']('spellcheck','false'),_0x578362['textContent']=_0x153702['name'],_0x149650['innerHTML']='⁠<span\x20class=\x22ck-user__marker-line\x22\x20contenteditable=\x22false\x22><span\x20class=\x22ck-user__marker-dot\x22></span></span>'+_0x578362['outerHTML']+'⁠',_0x149650['addEventListener']('mouseenter',()=>{_0x149650['classList']['add']('ck-user__marker_hovered');}),_0x149650['addEventListener']('mouseleave',()=>{_0x149650['classList']['remove']('ck-user__marker_hovered');}),_0x149650;},_0x4836bb['isSimilar']=function(_0x128417){return!(!this['getCustomProperty']('userPositionMarker')||!_0x128417['getCustomProperty']('userPositionMarker')||this['getAttribute']('data-session-id')!=_0x128417['getAttribute']('data-session-id'));},_0x4836bb;}(_0x29c58c,_0x174a25,_0x4413d0);}(_0x44b3d7,_0xc94404,_0x5a8c10,_0x21e66a)}),_0x21e66a['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'user:range','view':_0x403720=>function(_0x53c56e,_0x4ff32c){const _0x409c8c=_0x53c56e['markerName']['split'](':')[0x2];if(_0x409c8c===_0x4ff32c['mySessionId'])return null;const _0x1fff6c=_0x4ff32c['getUserBySessionId'](_0x409c8c);return _0x1fff6c?{'id':_0x409c8c,'classes':['ck-user__selection',_0x1fff6c['color']['getSelectionClass']()],'attributes':{'style':_0x1eac8f(_0x1fff6c),'data-session-id':_0x409c8c},'priority':0x7d0+_0x1fff6c['orderNumber']}:{'id':_0x409c8c,'classes':[]};}(_0x403720,_0x5a8c10)}),function(_0x141d68){const _0x1f653d=_0x141d68['model'],_0x9655e1=new Map(),_0x48afcb=_0x141d68['plugins']['get'](_0x8848f6);_0x1f653d['markers']['on']('update:user:range',(_0x1f8fe6,_0x27a4e5,_0x461b23,_0x433c71)=>{if(!_0x433c71&&_0x9655e1['get'](_0x27a4e5['name']))return _0x9655e1['get'](_0x27a4e5['name'])['detach'](),void _0x9655e1['delete'](_0x27a4e5['name']);const _0x39fde4=_0x27a4e5['name']['split'](':')[0x2];if(_0x39fde4===_0x48afcb['mySessionId'])return;const _0x55c54b='user:position:'+_0x39fde4;_0x1f653d['markers']['has'](_0x55c54b)&&_0x141d68['editing']['reconvertMarker'](_0x55c54b),_0x27a4e5['on']('change:range',(_0x2e2e44,_0x458189,_0x32ee80)=>{if('$graveyard'!=_0x458189['root']['rootName']&&'$graveyard'==_0x27a4e5['getRange']()['root']['rootName']&&!_0x9655e1['has'](_0x27a4e5['name'])){const _0x382cf2=_0x1f653d['schema']['getNearestSelectionRange'](_0x32ee80['deletionPosition']);if(_0x382cf2){const _0x51c4ff=_0x14e616['ModelLiveRange']['fromRange'](_0x382cf2);_0x9655e1['set'](_0x27a4e5['name'],_0x51c4ff),_0x51c4ff['on']('change:range',(_0x48d7f4,_0x626523,_0x4f6ae9)=>{if('$graveyard'==_0x51c4ff['root']['rootName']){const _0x28f262=_0x1f653d['schema']['getNearestSelectionRange'](_0x4f6ae9['deletionPosition']);_0x28f262?(_0x51c4ff['start']=_0x28f262['start'],_0x51c4ff['end']=_0x28f262['end']):(_0x9655e1['delete'](_0x27a4e5['name']),_0x51c4ff['detach']());}});}}});}),_0x1f653d['document']['on']('change',()=>{_0x9655e1['size']>0x0&&_0x1f653d['enqueueChange']({'isUndoable':!0x1},_0x2f20da=>{for(const [_0x38d9fd,_0x523703]of _0x9655e1)'$graveyard'==_0x1f653d['markers']['get'](_0x38d9fd)['getRange']()['root']['rootName']&&(_0x3c8262(_0x38d9fd['split'](':')[0x2],_0x523703['toRange'](),_0x1f653d,_0x2f20da),_0x523703['detach']());_0x9655e1['clear']();});});}(_0x21e66a),this['_domEmitter']['listenTo'](_0x14e616['global']['document'],'keydown',(_0x2dd7d6,{key:_0x46ddfa})=>{'Escape'===_0x46ddfa&&function(_0x4562b5){_0x4562b5['editing']['view']['change'](_0xc11fd4=>{for(const _0x508957 of _0x4562b5['model']['markers']){if(!_0x508957['name']['startsWith']('user:position'))continue;const _0x2089f4=_0x4562b5['editing']['mapper']['markerNameToElements'](_0x508957['name']);if(_0x2089f4){for(const _0x2d7adb of _0x2089f4)_0xc11fd4['removeClass']('ck-user__marker_hovered',_0x2d7adb);}}});}(_0x21e66a);},{'useCapture':!0x0});}['afterInit'](){const _0x1ea9df=this['editor'],_0x7414be=_0x1ea9df['commands']['get']('undo');_0x7414be&&_0x1ea9df['model']['on']('applyOperation',(_0x377088,_0xc06bae)=>{const _0x367bc1=_0xc06bae[0x0];if(!_0x367bc1['isDocumentOperation'])return;if('marker'!=_0x367bc1['type']||!_0x367bc1['name']['startsWith']('user:'))return;const _0x79d7a5=_0x367bc1['batch'];_0x7414be['_createdBatches']['has'](_0x79d7a5)&&(_0x367bc1['newRange']=_0x367bc1['oldRange']?_0x1ea9df['model']['createRange'](_0x367bc1['oldRange']['start'],_0x367bc1['oldRange']['end']):null);},{'priority':'highest'});}['destroy'](){return this['_domEmitter']['stopListening'](),super['destroy']();}['createUserMarkerOperations'](){const _0x4d740b=this['editor'],_0x2bcdf9=_0x4d740b['model']['document'],_0x4ea268=_0x4d740b['plugins']['get'](_0x8848f6);_0x4d740b['model']['enqueueChange']({'isUndoable':!0x1},_0x4989a1=>{const _0x1c3445='user:range:'+_0x4ea268['mySessionId'],_0xe6726d='user:position:'+_0x4ea268['mySessionId'],_0x47bda0=_0x4d740b['model']['markers']['has'](_0x1c3445);_0x4d740b['editing']['view']['hasDomSelection']?_0x3c8262(_0x4ea268['mySessionId'],_0x2bcdf9['selection']['getFirstRange'](),_0x4d740b['model'],_0x4989a1):_0x47bda0&&(_0x4989a1['removeMarker'](_0x1c3445),_0x4989a1['removeMarker'](_0xe6726d));});}};function _0x3c8262(_0x3e5b3e,_0x3bcdac,_0x31d92a,_0x5e22d2){const _0x1ee7d6='user:range:'+_0x3e5b3e,_0x3f0d2c='user:position:'+_0x3e5b3e,_0x137572=_0x3bcdac['getContainedElement']();let _0x43cffc=_0x3bcdac['start'];if(_0x137572&&_0x137572['is']('element','tableCell')){const _0xb482a=function(_0x3824ab,_0x651760){for(const _0x1e0b2f of _0x3824ab['getPositions']())if(_0x651760['schema']['checkChild'](_0x1e0b2f,'$text'))return _0x1e0b2f;}(_0x3bcdac,_0x31d92a);_0xb482a&&(_0x43cffc=_0xb482a,_0x3bcdac=_0x5e22d2['createRange'](_0x43cffc));}const _0x36199b=_0x5e22d2['createRange'](_0x43cffc);_0x31d92a['markers']['has'](_0x1ee7d6)?(_0x5e22d2['updateMarker'](_0x1ee7d6,{'range':_0x3bcdac}),_0x5e22d2['updateMarker'](_0x3f0d2c,{'range':_0x36199b})):(_0x5e22d2['addMarker'](_0x1ee7d6,{'range':_0x3bcdac,'usingOperation':!0x0}),_0x5e22d2['addMarker'](_0x3f0d2c,{'range':_0x36199b,'usingOperation':!0x0}));}function _0x1eac8f(_0x5a99fa){return'--ck-user-color:'+_0x5a99fa['color']['getColorVariable']()+';--ck-user-color-alpha:'+_0x5a99fa['color']['getColorAlphaVariable']()+';';}function _0x2fa3d6(_0x5d294b,_0xbfb89c,_0xa79a20){const _0x16f4a2=_0x5d294b['t'],t=_0x5d294b['t'];switch(_0xbfb89c){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 _0x16f4a2({'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'},_0xa79a20);default:return'';}}const _0x43e116=/* #__PURE__ -- @preserve */
((()=>{var _0x569db0=_0x371d34['default']['Reader'],_0x27cf9d=_0x371d34['default']['Writer'],_0xb39644=_0x371d34['default']['util'],_0x3c38d0=_0x371d34['default']['roots']['default']||(_0x371d34['default']['roots']['default']={});return _0x3c38d0['AttributeOperation']=(function(){function _0x22bbb6(_0x25b5ef){if(_0x25b5ef){for(var _0x391d40=Object['keys'](_0x25b5ef),_0x50e986=0x0;_0x50e986<_0x391d40['length'];++_0x50e986)null!=_0x25b5ef[_0x391d40[_0x50e986]]&&'__proto__'!==_0x391d40[_0x50e986]&&(this[_0x391d40[_0x50e986]]=_0x25b5ef[_0x391d40[_0x50e986]]);}}return _0x22bbb6['prototype']['range']=null,_0x22bbb6['prototype']['key']='',_0x22bbb6['prototype']['oldValueBoolean']=!0x1,_0x22bbb6['prototype']['oldValueJson']='',_0x22bbb6['prototype']['newValueBoolean']=!0x1,_0x22bbb6['prototype']['newValueJson']='',_0x22bbb6['prototype']['wasUndone']=!0x1,_0x22bbb6['prototype']['_aiSource']='',_0x22bbb6['create']=function(_0x5ede18){return new _0x22bbb6(_0x5ede18);},_0x22bbb6['encode']=function(_0x41785a,_0x3d426d){return _0x3d426d||(_0x3d426d=_0x27cf9d['create']()),null!=_0x41785a['range']&&Object['hasOwnProperty']['call'](_0x41785a,'range')&&_0x3c38d0['Range']['encode'](_0x41785a['range'],_0x3d426d['uint32'](0xa)['fork']())['ldelim'](),null!=_0x41785a['key']&&Object['hasOwnProperty']['call'](_0x41785a,'key')&&_0x3d426d['uint32'](0x12)['string'](_0x41785a['key']),null!=_0x41785a['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x41785a,'oldValueBoolean')&&_0x3d426d['uint32'](0x18)['bool'](_0x41785a['oldValueBoolean']),null!=_0x41785a['oldValueJson']&&Object['hasOwnProperty']['call'](_0x41785a,'oldValueJson')&&_0x3d426d['uint32'](0x22)['string'](_0x41785a['oldValueJson']),null!=_0x41785a['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x41785a,'newValueBoolean')&&_0x3d426d['uint32'](0x28)['bool'](_0x41785a['newValueBoolean']),null!=_0x41785a['newValueJson']&&Object['hasOwnProperty']['call'](_0x41785a,'newValueJson')&&_0x3d426d['uint32'](0x32)['string'](_0x41785a['newValueJson']),null!=_0x41785a['wasUndone']&&Object['hasOwnProperty']['call'](_0x41785a,'wasUndone')&&_0x3d426d['uint32'](0x38)['bool'](_0x41785a['wasUndone']),null!=_0x41785a['_aiSource']&&Object['hasOwnProperty']['call'](_0x41785a,'_aiSource')&&_0x3d426d['uint32'](0x42)['string'](_0x41785a['_aiSource']),_0x3d426d;},_0x22bbb6['encodeDelimited']=function(_0x5e1d50,_0x5f214b){return this['encode'](_0x5e1d50,_0x5f214b)['ldelim']();},_0x22bbb6['decode']=function(_0x2f44a0,_0x18fe7d,_0x462e8c,_0x4b7478){if(_0x2f44a0 instanceof _0x569db0||(_0x2f44a0=_0x569db0['create'](_0x2f44a0)),void 0x0===_0x4b7478&&(_0x4b7478=0x0),_0x4b7478>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1ca056=void 0x0===_0x18fe7d?_0x2f44a0['len']:_0x2f44a0['pos']+_0x18fe7d,_0x2282cb=new _0x3c38d0['AttributeOperation']();_0x2f44a0['pos']<_0x1ca056;){var _0xb5cc9f=_0x2f44a0['uint32']();if(_0xb5cc9f===_0x462e8c)break;switch(_0xb5cc9f>>>0x3){case 0x1:_0x2282cb['range']=_0x3c38d0['Range']['decode'](_0x2f44a0,_0x2f44a0['uint32'](),void 0x0,_0x4b7478+0x1);break;case 0x2:_0x2282cb['key']=_0x2f44a0['string']();break;case 0x3:_0x2282cb['oldValueBoolean']=_0x2f44a0['bool']();break;case 0x4:_0x2282cb['oldValueJson']=_0x2f44a0['string']();break;case 0x5:_0x2282cb['newValueBoolean']=_0x2f44a0['bool']();break;case 0x6:_0x2282cb['newValueJson']=_0x2f44a0['string']();break;case 0x7:_0x2282cb['wasUndone']=_0x2f44a0['bool']();break;case 0x8:_0x2282cb['_aiSource']=_0x2f44a0['string']();break;default:_0x2f44a0['skipType'](0x7&_0xb5cc9f,_0x4b7478);}}return _0x2282cb;},_0x22bbb6['decodeDelimited']=function(_0x1a9ba){return _0x1a9ba instanceof _0x569db0||(_0x1a9ba=new _0x569db0(_0x1a9ba)),this['decode'](_0x1a9ba,_0x1a9ba['uint32']());},_0x22bbb6['verify']=function(_0x26f6c9,_0x54b0bf){if('object'!=typeof _0x26f6c9||null===_0x26f6c9)return'object\x20expected';if(void 0x0===_0x54b0bf&&(_0x54b0bf=0x0),_0x54b0bf>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x26f6c9['range']&&_0x26f6c9['hasOwnProperty']('range')){var _0x53c376=_0x3c38d0['Range']['verify'](_0x26f6c9['range'],_0x54b0bf+0x1);if(_0x53c376)return'range.'+_0x53c376;}return null!=_0x26f6c9['key']&&_0x26f6c9['hasOwnProperty']('key')&&!_0xb39644['isString'](_0x26f6c9['key'])?'key:\x20string\x20expected':null!=_0x26f6c9['oldValueBoolean']&&_0x26f6c9['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x26f6c9['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x26f6c9['oldValueJson']&&_0x26f6c9['hasOwnProperty']('oldValueJson')&&!_0xb39644['isString'](_0x26f6c9['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x26f6c9['newValueBoolean']&&_0x26f6c9['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x26f6c9['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x26f6c9['newValueJson']&&_0x26f6c9['hasOwnProperty']('newValueJson')&&!_0xb39644['isString'](_0x26f6c9['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x26f6c9['wasUndone']&&_0x26f6c9['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x26f6c9['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x26f6c9['_aiSource']&&_0x26f6c9['hasOwnProperty']('_aiSource')&&!_0xb39644['isString'](_0x26f6c9['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x22bbb6['fromObject']=function(_0x2b5208,_0x368ba5){if(_0x2b5208 instanceof _0x3c38d0['AttributeOperation'])return _0x2b5208;if(void 0x0===_0x368ba5&&(_0x368ba5=0x0),_0x368ba5>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x2dd77c=new _0x3c38d0['AttributeOperation']();if(null!=_0x2b5208['range']){if('object'!=typeof _0x2b5208['range'])throw TypeError('.AttributeOperation.range:\x20object\x20expected');_0x2dd77c['range']=_0x3c38d0['Range']['fromObject'](_0x2b5208['range'],_0x368ba5+0x1);}return null!=_0x2b5208['key']&&(_0x2dd77c['key']=String(_0x2b5208['key'])),null!=_0x2b5208['oldValueBoolean']&&(_0x2dd77c['oldValueBoolean']=Boolean(_0x2b5208['oldValueBoolean'])),null!=_0x2b5208['oldValueJson']&&(_0x2dd77c['oldValueJson']=String(_0x2b5208['oldValueJson'])),null!=_0x2b5208['newValueBoolean']&&(_0x2dd77c['newValueBoolean']=Boolean(_0x2b5208['newValueBoolean'])),null!=_0x2b5208['newValueJson']&&(_0x2dd77c['newValueJson']=String(_0x2b5208['newValueJson'])),null!=_0x2b5208['wasUndone']&&(_0x2dd77c['wasUndone']=Boolean(_0x2b5208['wasUndone'])),null!=_0x2b5208['_aiSource']&&(_0x2dd77c['_aiSource']=String(_0x2b5208['_aiSource'])),_0x2dd77c;},_0x22bbb6['toObject']=function(_0x2776ad,_0x4efd82){_0x4efd82||(_0x4efd82={});var _0x21704b={};return _0x4efd82['defaults']&&(_0x21704b['range']=null,_0x21704b['key']='',_0x21704b['oldValueBoolean']=!0x1,_0x21704b['oldValueJson']='',_0x21704b['newValueBoolean']=!0x1,_0x21704b['newValueJson']='',_0x21704b['wasUndone']=!0x1,_0x21704b['_aiSource']=''),null!=_0x2776ad['range']&&_0x2776ad['hasOwnProperty']('range')&&(_0x21704b['range']=_0x3c38d0['Range']['toObject'](_0x2776ad['range'],_0x4efd82)),null!=_0x2776ad['key']&&_0x2776ad['hasOwnProperty']('key')&&(_0x21704b['key']=_0x2776ad['key']),null!=_0x2776ad['oldValueBoolean']&&_0x2776ad['hasOwnProperty']('oldValueBoolean')&&(_0x21704b['oldValueBoolean']=_0x2776ad['oldValueBoolean']),null!=_0x2776ad['oldValueJson']&&_0x2776ad['hasOwnProperty']('oldValueJson')&&(_0x21704b['oldValueJson']=_0x2776ad['oldValueJson']),null!=_0x2776ad['newValueBoolean']&&_0x2776ad['hasOwnProperty']('newValueBoolean')&&(_0x21704b['newValueBoolean']=_0x2776ad['newValueBoolean']),null!=_0x2776ad['newValueJson']&&_0x2776ad['hasOwnProperty']('newValueJson')&&(_0x21704b['newValueJson']=_0x2776ad['newValueJson']),null!=_0x2776ad['wasUndone']&&_0x2776ad['hasOwnProperty']('wasUndone')&&(_0x21704b['wasUndone']=_0x2776ad['wasUndone']),null!=_0x2776ad['_aiSource']&&_0x2776ad['hasOwnProperty']('_aiSource')&&(_0x21704b['_aiSource']=_0x2776ad['_aiSource']),_0x21704b;},_0x22bbb6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x22bbb6['getTypeUrl']=function(_0x2e41b7){return void 0x0===_0x2e41b7&&(_0x2e41b7='type.googleapis.com'),_0x2e41b7+'/AttributeOperation';},_0x22bbb6;}()),_0x3c38d0['InsertOperation']=(function(){function _0x956566(_0x1ef766){if(this['nodes']=[],_0x1ef766){for(var _0x39d2d9=Object['keys'](_0x1ef766),_0x3a0661=0x0;_0x3a0661<_0x39d2d9['length'];++_0x3a0661)null!=_0x1ef766[_0x39d2d9[_0x3a0661]]&&'__proto__'!==_0x39d2d9[_0x3a0661]&&(this[_0x39d2d9[_0x3a0661]]=_0x1ef766[_0x39d2d9[_0x3a0661]]);}}return _0x956566['prototype']['position']=null,_0x956566['prototype']['nodes']=_0xb39644['emptyArray'],_0x956566['prototype']['shouldReceiveAttributes']=!0x1,_0x956566['prototype']['wasUndone']=!0x1,_0x956566['prototype']['_aiSource']='',_0x956566['create']=function(_0x899e13){return new _0x956566(_0x899e13);},_0x956566['encode']=function(_0x27b356,_0x185490){if(_0x185490||(_0x185490=_0x27cf9d['create']()),null!=_0x27b356['position']&&Object['hasOwnProperty']['call'](_0x27b356,'position')&&_0x3c38d0['Position']['encode'](_0x27b356['position'],_0x185490['uint32'](0xa)['fork']())['ldelim'](),null!=_0x27b356['nodes']&&_0x27b356['nodes']['length']){for(var _0x2c7ece=0x0;_0x2c7ece<_0x27b356['nodes']['length'];++_0x2c7ece)_0x3c38d0['Element']['encode'](_0x27b356['nodes'][_0x2c7ece],_0x185490['uint32'](0x12)['fork']())['ldelim']();}return null!=_0x27b356['shouldReceiveAttributes']&&Object['hasOwnProperty']['call'](_0x27b356,'shouldReceiveAttributes')&&_0x185490['uint32'](0x18)['bool'](_0x27b356['shouldReceiveAttributes']),null!=_0x27b356['wasUndone']&&Object['hasOwnProperty']['call'](_0x27b356,'wasUndone')&&_0x185490['uint32'](0x20)['bool'](_0x27b356['wasUndone']),null!=_0x27b356['_aiSource']&&Object['hasOwnProperty']['call'](_0x27b356,'_aiSource')&&_0x185490['uint32'](0x2a)['string'](_0x27b356['_aiSource']),_0x185490;},_0x956566['encodeDelimited']=function(_0x49a75d,_0x4dbb9e){return this['encode'](_0x49a75d,_0x4dbb9e)['ldelim']();},_0x956566['decode']=function(_0x3da458,_0x5c2e68,_0x4b8e05,_0x444a9c){if(_0x3da458 instanceof _0x569db0||(_0x3da458=_0x569db0['create'](_0x3da458)),void 0x0===_0x444a9c&&(_0x444a9c=0x0),_0x444a9c>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x79f14d=void 0x0===_0x5c2e68?_0x3da458['len']:_0x3da458['pos']+_0x5c2e68,_0x227860=new _0x3c38d0['InsertOperation']();_0x3da458['pos']<_0x79f14d;){var _0x58df49=_0x3da458['uint32']();if(_0x58df49===_0x4b8e05)break;switch(_0x58df49>>>0x3){case 0x1:_0x227860['position']=_0x3c38d0['Position']['decode'](_0x3da458,_0x3da458['uint32'](),void 0x0,_0x444a9c+0x1);break;case 0x2:_0x227860['nodes']&&_0x227860['nodes']['length']||(_0x227860['nodes']=[]),_0x227860['nodes']['push'](_0x3c38d0['Element']['decode'](_0x3da458,_0x3da458['uint32'](),void 0x0,_0x444a9c+0x1));break;case 0x3:_0x227860['shouldReceiveAttributes']=_0x3da458['bool']();break;case 0x4:_0x227860['wasUndone']=_0x3da458['bool']();break;case 0x5:_0x227860['_aiSource']=_0x3da458['string']();break;default:_0x3da458['skipType'](0x7&_0x58df49,_0x444a9c);}}return _0x227860;},_0x956566['decodeDelimited']=function(_0x1860ca){return _0x1860ca instanceof _0x569db0||(_0x1860ca=new _0x569db0(_0x1860ca)),this['decode'](_0x1860ca,_0x1860ca['uint32']());},_0x956566['verify']=function(_0x417686,_0x57d3f5){if('object'!=typeof _0x417686||null===_0x417686)return'object\x20expected';if(void 0x0===_0x57d3f5&&(_0x57d3f5=0x0),_0x57d3f5>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x417686['position']&&_0x417686['hasOwnProperty']('position')&&(_0x328432=_0x3c38d0['Position']['verify'](_0x417686['position'],_0x57d3f5+0x1)))return'position.'+_0x328432;if(null!=_0x417686['nodes']&&_0x417686['hasOwnProperty']('nodes')){if(!Array['isArray'](_0x417686['nodes']))return'nodes:\x20array\x20expected';for(var _0x5d2c00=0x0;_0x5d2c00<_0x417686['nodes']['length'];++_0x5d2c00){var _0x328432;if(_0x328432=_0x3c38d0['Element']['verify'](_0x417686['nodes'][_0x5d2c00],_0x57d3f5+0x1))return'nodes.'+_0x328432;}}return null!=_0x417686['shouldReceiveAttributes']&&_0x417686['hasOwnProperty']('shouldReceiveAttributes')&&'boolean'!=typeof _0x417686['shouldReceiveAttributes']?'shouldReceiveAttributes:\x20boolean\x20expected':null!=_0x417686['wasUndone']&&_0x417686['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x417686['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x417686['_aiSource']&&_0x417686['hasOwnProperty']('_aiSource')&&!_0xb39644['isString'](_0x417686['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x956566['fromObject']=function(_0x3624b6,_0x5e081d){if(_0x3624b6 instanceof _0x3c38d0['InsertOperation'])return _0x3624b6;if(void 0x0===_0x5e081d&&(_0x5e081d=0x0),_0x5e081d>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x13c7c1=new _0x3c38d0['InsertOperation']();if(null!=_0x3624b6['position']){if('object'!=typeof _0x3624b6['position'])throw TypeError('.InsertOperation.position:\x20object\x20expected');_0x13c7c1['position']=_0x3c38d0['Position']['fromObject'](_0x3624b6['position'],_0x5e081d+0x1);}if(_0x3624b6['nodes']){if(!Array['isArray'](_0x3624b6['nodes']))throw TypeError('.InsertOperation.nodes:\x20array\x20expected');_0x13c7c1['nodes']=[];for(var _0x2e04c0=0x0;_0x2e04c0<_0x3624b6['nodes']['length'];++_0x2e04c0){if('object'!=typeof _0x3624b6['nodes'][_0x2e04c0])throw TypeError('.InsertOperation.nodes:\x20object\x20expected');_0x13c7c1['nodes'][_0x2e04c0]=_0x3c38d0['Element']['fromObject'](_0x3624b6['nodes'][_0x2e04c0],_0x5e081d+0x1);}}return null!=_0x3624b6['shouldReceiveAttributes']&&(_0x13c7c1['shouldReceiveAttributes']=Boolean(_0x3624b6['shouldReceiveAttributes'])),null!=_0x3624b6['wasUndone']&&(_0x13c7c1['wasUndone']=Boolean(_0x3624b6['wasUndone'])),null!=_0x3624b6['_aiSource']&&(_0x13c7c1['_aiSource']=String(_0x3624b6['_aiSource'])),_0x13c7c1;},_0x956566['toObject']=function(_0x75e915,_0x23515c){_0x23515c||(_0x23515c={});var _0x368fd5={};if((_0x23515c['arrays']||_0x23515c['defaults'])&&(_0x368fd5['nodes']=[]),_0x23515c['defaults']&&(_0x368fd5['position']=null,_0x368fd5['shouldReceiveAttributes']=!0x1,_0x368fd5['wasUndone']=!0x1,_0x368fd5['_aiSource']=''),null!=_0x75e915['position']&&_0x75e915['hasOwnProperty']('position')&&(_0x368fd5['position']=_0x3c38d0['Position']['toObject'](_0x75e915['position'],_0x23515c)),_0x75e915['nodes']&&_0x75e915['nodes']['length']){_0x368fd5['nodes']=[];for(var _0x155e6c=0x0;_0x155e6c<_0x75e915['nodes']['length'];++_0x155e6c)_0x368fd5['nodes'][_0x155e6c]=_0x3c38d0['Element']['toObject'](_0x75e915['nodes'][_0x155e6c],_0x23515c);}return null!=_0x75e915['shouldReceiveAttributes']&&_0x75e915['hasOwnProperty']('shouldReceiveAttributes')&&(_0x368fd5['shouldReceiveAttributes']=_0x75e915['shouldReceiveAttributes']),null!=_0x75e915['wasUndone']&&_0x75e915['hasOwnProperty']('wasUndone')&&(_0x368fd5['wasUndone']=_0x75e915['wasUndone']),null!=_0x75e915['_aiSource']&&_0x75e915['hasOwnProperty']('_aiSource')&&(_0x368fd5['_aiSource']=_0x75e915['_aiSource']),_0x368fd5;},_0x956566['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x956566['getTypeUrl']=function(_0x13754d){return void 0x0===_0x13754d&&(_0x13754d='type.googleapis.com'),_0x13754d+'/InsertOperation';},_0x956566;}()),_0x3c38d0['MarkerOperation']=(function(){function _0x1fdfd6(_0x51e298){if(_0x51e298){for(var _0x549e6f=Object['keys'](_0x51e298),_0x47a464=0x0;_0x47a464<_0x549e6f['length'];++_0x47a464)null!=_0x51e298[_0x549e6f[_0x47a464]]&&'__proto__'!==_0x549e6f[_0x47a464]&&(this[_0x549e6f[_0x47a464]]=_0x51e298[_0x549e6f[_0x47a464]]);}}return _0x1fdfd6['prototype']['name']='',_0x1fdfd6['prototype']['oldRange']=null,_0x1fdfd6['prototype']['newRange']=null,_0x1fdfd6['prototype']['affectsData']=!0x1,_0x1fdfd6['prototype']['wasUndone']=!0x1,_0x1fdfd6['prototype']['_aiSource']='',_0x1fdfd6['create']=function(_0x64ad07){return new _0x1fdfd6(_0x64ad07);},_0x1fdfd6['encode']=function(_0x170916,_0x2507f5){return _0x2507f5||(_0x2507f5=_0x27cf9d['create']()),null!=_0x170916['name']&&Object['hasOwnProperty']['call'](_0x170916,'name')&&_0x2507f5['uint32'](0xa)['string'](_0x170916['name']),null!=_0x170916['oldRange']&&Object['hasOwnProperty']['call'](_0x170916,'oldRange')&&_0x3c38d0['Range']['encode'](_0x170916['oldRange'],_0x2507f5['uint32'](0x12)['fork']())['ldelim'](),null!=_0x170916['newRange']&&Object['hasOwnProperty']['call'](_0x170916,'newRange')&&_0x3c38d0['Range']['encode'](_0x170916['newRange'],_0x2507f5['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x170916['affectsData']&&Object['hasOwnProperty']['call'](_0x170916,'affectsData')&&_0x2507f5['uint32'](0x20)['bool'](_0x170916['affectsData']),null!=_0x170916['wasUndone']&&Object['hasOwnProperty']['call'](_0x170916,'wasUndone')&&_0x2507f5['uint32'](0x28)['bool'](_0x170916['wasUndone']),null!=_0x170916['_aiSource']&&Object['hasOwnProperty']['call'](_0x170916,'_aiSource')&&_0x2507f5['uint32'](0x32)['string'](_0x170916['_aiSource']),_0x2507f5;},_0x1fdfd6['encodeDelimited']=function(_0x26c498,_0x27ccac){return this['encode'](_0x26c498,_0x27ccac)['ldelim']();},_0x1fdfd6['decode']=function(_0x377e74,_0x2569b4,_0x260420,_0x5a9baa){if(_0x377e74 instanceof _0x569db0||(_0x377e74=_0x569db0['create'](_0x377e74)),void 0x0===_0x5a9baa&&(_0x5a9baa=0x0),_0x5a9baa>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x10da36=void 0x0===_0x2569b4?_0x377e74['len']:_0x377e74['pos']+_0x2569b4,_0x5563b5=new _0x3c38d0['MarkerOperation']();_0x377e74['pos']<_0x10da36;){var _0x4a8a86=_0x377e74['uint32']();if(_0x4a8a86===_0x260420)break;switch(_0x4a8a86>>>0x3){case 0x1:_0x5563b5['name']=_0x377e74['string']();break;case 0x2:_0x5563b5['oldRange']=_0x3c38d0['Range']['decode'](_0x377e74,_0x377e74['uint32'](),void 0x0,_0x5a9baa+0x1);break;case 0x3:_0x5563b5['newRange']=_0x3c38d0['Range']['decode'](_0x377e74,_0x377e74['uint32'](),void 0x0,_0x5a9baa+0x1);break;case 0x4:_0x5563b5['affectsData']=_0x377e74['bool']();break;case 0x5:_0x5563b5['wasUndone']=_0x377e74['bool']();break;case 0x6:_0x5563b5['_aiSource']=_0x377e74['string']();break;default:_0x377e74['skipType'](0x7&_0x4a8a86,_0x5a9baa);}}return _0x5563b5;},_0x1fdfd6['decodeDelimited']=function(_0x49e8b9){return _0x49e8b9 instanceof _0x569db0||(_0x49e8b9=new _0x569db0(_0x49e8b9)),this['decode'](_0x49e8b9,_0x49e8b9['uint32']());},_0x1fdfd6['verify']=function(_0x40b064,_0x250c82){if('object'!=typeof _0x40b064||null===_0x40b064)return'object\x20expected';if(void 0x0===_0x250c82&&(_0x250c82=0x0),_0x250c82>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x40b064['name']&&_0x40b064['hasOwnProperty']('name')&&!_0xb39644['isString'](_0x40b064['name']))return'name:\x20string\x20expected';var _0x489b59;if(null!=_0x40b064['oldRange']&&_0x40b064['hasOwnProperty']('oldRange')&&(_0x489b59=_0x3c38d0['Range']['verify'](_0x40b064['oldRange'],_0x250c82+0x1)))return'oldRange.'+_0x489b59;if(null!=_0x40b064['newRange']&&_0x40b064['hasOwnProperty']('newRange')&&(_0x489b59=_0x3c38d0['Range']['verify'](_0x40b064['newRange'],_0x250c82+0x1)))return'newRange.'+_0x489b59;return null!=_0x40b064['affectsData']&&_0x40b064['hasOwnProperty']('affectsData')&&'boolean'!=typeof _0x40b064['affectsData']?'affectsData:\x20boolean\x20expected':null!=_0x40b064['wasUndone']&&_0x40b064['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x40b064['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x40b064['_aiSource']&&_0x40b064['hasOwnProperty']('_aiSource')&&!_0xb39644['isString'](_0x40b064['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x1fdfd6['fromObject']=function(_0x2976b3,_0x52c682){if(_0x2976b3 instanceof _0x3c38d0['MarkerOperation'])return _0x2976b3;if(void 0x0===_0x52c682&&(_0x52c682=0x0),_0x52c682>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x44ecb7=new _0x3c38d0['MarkerOperation']();if(null!=_0x2976b3['name']&&(_0x44ecb7['name']=String(_0x2976b3['name'])),null!=_0x2976b3['oldRange']){if('object'!=typeof _0x2976b3['oldRange'])throw TypeError('.MarkerOperation.oldRange:\x20object\x20expected');_0x44ecb7['oldRange']=_0x3c38d0['Range']['fromObject'](_0x2976b3['oldRange'],_0x52c682+0x1);}if(null!=_0x2976b3['newRange']){if('object'!=typeof _0x2976b3['newRange'])throw TypeError('.MarkerOperation.newRange:\x20object\x20expected');_0x44ecb7['newRange']=_0x3c38d0['Range']['fromObject'](_0x2976b3['newRange'],_0x52c682+0x1);}return null!=_0x2976b3['affectsData']&&(_0x44ecb7['affectsData']=Boolean(_0x2976b3['affectsData'])),null!=_0x2976b3['wasUndone']&&(_0x44ecb7['wasUndone']=Boolean(_0x2976b3['wasUndone'])),null!=_0x2976b3['_aiSource']&&(_0x44ecb7['_aiSource']=String(_0x2976b3['_aiSource'])),_0x44ecb7;},_0x1fdfd6['toObject']=function(_0x21de1f,_0x544e8b){_0x544e8b||(_0x544e8b={});var _0x2aaa7c={};return _0x544e8b['defaults']&&(_0x2aaa7c['name']='',_0x2aaa7c['oldRange']=null,_0x2aaa7c['newRange']=null,_0x2aaa7c['affectsData']=!0x1,_0x2aaa7c['wasUndone']=!0x1,_0x2aaa7c['_aiSource']=''),null!=_0x21de1f['name']&&_0x21de1f['hasOwnProperty']('name')&&(_0x2aaa7c['name']=_0x21de1f['name']),null!=_0x21de1f['oldRange']&&_0x21de1f['hasOwnProperty']('oldRange')&&(_0x2aaa7c['oldRange']=_0x3c38d0['Range']['toObject'](_0x21de1f['oldRange'],_0x544e8b)),null!=_0x21de1f['newRange']&&_0x21de1f['hasOwnProperty']('newRange')&&(_0x2aaa7c['newRange']=_0x3c38d0['Range']['toObject'](_0x21de1f['newRange'],_0x544e8b)),null!=_0x21de1f['affectsData']&&_0x21de1f['hasOwnProperty']('affectsData')&&(_0x2aaa7c['affectsData']=_0x21de1f['affectsData']),null!=_0x21de1f['wasUndone']&&_0x21de1f['hasOwnProperty']('wasUndone')&&(_0x2aaa7c['wasUndone']=_0x21de1f['wasUndone']),null!=_0x21de1f['_aiSource']&&_0x21de1f['hasOwnProperty']('_aiSource')&&(_0x2aaa7c['_aiSource']=_0x21de1f['_aiSource']),_0x2aaa7c;},_0x1fdfd6['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x1fdfd6['getTypeUrl']=function(_0x501175){return void 0x0===_0x501175&&(_0x501175='type.googleapis.com'),_0x501175+'/MarkerOperation';},_0x1fdfd6;}()),_0x3c38d0['MergeOperation']=(function(){function _0x5ca6d3(_0x52949e){if(_0x52949e){for(var _0x3d3a60=Object['keys'](_0x52949e),_0x51d3fc=0x0;_0x51d3fc<_0x3d3a60['length'];++_0x51d3fc)null!=_0x52949e[_0x3d3a60[_0x51d3fc]]&&'__proto__'!==_0x3d3a60[_0x51d3fc]&&(this[_0x3d3a60[_0x51d3fc]]=_0x52949e[_0x3d3a60[_0x51d3fc]]);}}return _0x5ca6d3['prototype']['sourcePosition']=null,_0x5ca6d3['prototype']['targetPosition']=null,_0x5ca6d3['prototype']['graveyardPosition']=null,_0x5ca6d3['prototype']['howMany']=0x0,_0x5ca6d3['prototype']['wasUndone']=!0x1,_0x5ca6d3['prototype']['_aiSource']='',_0x5ca6d3['create']=function(_0x309c4c){return new _0x5ca6d3(_0x309c4c);},_0x5ca6d3['encode']=function(_0xb9b8ea,_0xa92afa){return _0xa92afa||(_0xa92afa=_0x27cf9d['create']()),null!=_0xb9b8ea['sourcePosition']&&Object['hasOwnProperty']['call'](_0xb9b8ea,'sourcePosition')&&_0x3c38d0['Position']['encode'](_0xb9b8ea['sourcePosition'],_0xa92afa['uint32'](0xa)['fork']())['ldelim'](),null!=_0xb9b8ea['targetPosition']&&Object['hasOwnProperty']['call'](_0xb9b8ea,'targetPosition')&&_0x3c38d0['Position']['encode'](_0xb9b8ea['targetPosition'],_0xa92afa['uint32'](0x12)['fork']())['ldelim'](),null!=_0xb9b8ea['graveyardPosition']&&Object['hasOwnProperty']['call'](_0xb9b8ea,'graveyardPosition')&&_0x3c38d0['Position']['encode'](_0xb9b8ea['graveyardPosition'],_0xa92afa['uint32'](0x1a)['fork']())['ldelim'](),null!=_0xb9b8ea['howMany']&&Object['hasOwnProperty']['call'](_0xb9b8ea,'howMany')&&_0xa92afa['uint32'](0x20)['uint32'](_0xb9b8ea['howMany']),null!=_0xb9b8ea['wasUndone']&&Object['hasOwnProperty']['call'](_0xb9b8ea,'wasUndone')&&_0xa92afa['uint32'](0x28)['bool'](_0xb9b8ea['wasUndone']),null!=_0xb9b8ea['_aiSource']&&Object['hasOwnProperty']['call'](_0xb9b8ea,'_aiSource')&&_0xa92afa['uint32'](0x32)['string'](_0xb9b8ea['_aiSource']),_0xa92afa;},_0x5ca6d3['encodeDelimited']=function(_0x815503,_0x5b04cc){return this['encode'](_0x815503,_0x5b04cc)['ldelim']();},_0x5ca6d3['decode']=function(_0x4b80a8,_0x2d6958,_0x204a1e,_0x16a758){if(_0x4b80a8 instanceof _0x569db0||(_0x4b80a8=_0x569db0['create'](_0x4b80a8)),void 0x0===_0x16a758&&(_0x16a758=0x0),_0x16a758>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x3b53b9=void 0x0===_0x2d6958?_0x4b80a8['len']:_0x4b80a8['pos']+_0x2d6958,_0x10c896=new _0x3c38d0['MergeOperation']();_0x4b80a8['pos']<_0x3b53b9;){var _0x41d0d9=_0x4b80a8['uint32']();if(_0x41d0d9===_0x204a1e)break;switch(_0x41d0d9>>>0x3){case 0x1:_0x10c896['sourcePosition']=_0x3c38d0['Position']['decode'](_0x4b80a8,_0x4b80a8['uint32'](),void 0x0,_0x16a758+0x1);break;case 0x2:_0x10c896['targetPosition']=_0x3c38d0['Position']['decode'](_0x4b80a8,_0x4b80a8['uint32'](),void 0x0,_0x16a758+0x1);break;case 0x3:_0x10c896['graveyardPosition']=_0x3c38d0['Position']['decode'](_0x4b80a8,_0x4b80a8['uint32'](),void 0x0,_0x16a758+0x1);break;case 0x4:_0x10c896['howMany']=_0x4b80a8['uint32']();break;case 0x5:_0x10c896['wasUndone']=_0x4b80a8['bool']();break;case 0x6:_0x10c896['_aiSource']=_0x4b80a8['string']();break;default:_0x4b80a8['skipType'](0x7&_0x41d0d9,_0x16a758);}}return _0x10c896;},_0x5ca6d3['decodeDelimited']=function(_0x3c261f){return _0x3c261f instanceof _0x569db0||(_0x3c261f=new _0x569db0(_0x3c261f)),this['decode'](_0x3c261f,_0x3c261f['uint32']());},_0x5ca6d3['verify']=function(_0x350a4f,_0x4043d9){if('object'!=typeof _0x350a4f||null===_0x350a4f)return'object\x20expected';if(void 0x0===_0x4043d9&&(_0x4043d9=0x0),_0x4043d9>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x19128d;if(null!=_0x350a4f['sourcePosition']&&_0x350a4f['hasOwnProperty']('sourcePosition')&&(_0x19128d=_0x3c38d0['Position']['verify'](_0x350a4f['sourcePosition'],_0x4043d9+0x1)))return'sourcePosition.'+_0x19128d;if(null!=_0x350a4f['targetPosition']&&_0x350a4f['hasOwnProperty']('targetPosition')&&(_0x19128d=_0x3c38d0['Position']['verify'](_0x350a4f['targetPosition'],_0x4043d9+0x1)))return'targetPosition.'+_0x19128d;if(null!=_0x350a4f['graveyardPosition']&&_0x350a4f['hasOwnProperty']('graveyardPosition')&&(_0x19128d=_0x3c38d0['Position']['verify'](_0x350a4f['graveyardPosition'],_0x4043d9+0x1)))return'graveyardPosition.'+_0x19128d;return null!=_0x350a4f['howMany']&&_0x350a4f['hasOwnProperty']('howMany')&&!_0xb39644['isInteger'](_0x350a4f['howMany'])?'howMany:\x20integer\x20expected':null!=_0x350a4f['wasUndone']&&_0x350a4f['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x350a4f['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x350a4f['_aiSource']&&_0x350a4f['hasOwnProperty']('_aiSource')&&!_0xb39644['isString'](_0x350a4f['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x5ca6d3['fromObject']=function(_0x3aa927,_0x118a76){if(_0x3aa927 instanceof _0x3c38d0['MergeOperation'])return _0x3aa927;if(void 0x0===_0x118a76&&(_0x118a76=0x0),_0x118a76>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x224dad=new _0x3c38d0['MergeOperation']();if(null!=_0x3aa927['sourcePosition']){if('object'!=typeof _0x3aa927['sourcePosition'])throw TypeError('.MergeOperation.sourcePosition:\x20object\x20expected');_0x224dad['sourcePosition']=_0x3c38d0['Position']['fromObject'](_0x3aa927['sourcePosition'],_0x118a76+0x1);}if(null!=_0x3aa927['targetPosition']){if('object'!=typeof _0x3aa927['targetPosition'])throw TypeError('.MergeOperation.targetPosition:\x20object\x20expected');_0x224dad['targetPosition']=_0x3c38d0['Position']['fromObject'](_0x3aa927['targetPosition'],_0x118a76+0x1);}if(null!=_0x3aa927['graveyardPosition']){if('object'!=typeof _0x3aa927['graveyardPosition'])throw TypeError('.MergeOperation.graveyardPosition:\x20object\x20expected');_0x224dad['graveyardPosition']=_0x3c38d0['Position']['fromObject'](_0x3aa927['graveyardPosition'],_0x118a76+0x1);}return null!=_0x3aa927['howMany']&&(_0x224dad['howMany']=_0x3aa927['howMany']>>>0x0),null!=_0x3aa927['wasUndone']&&(_0x224dad['wasUndone']=Boolean(_0x3aa927['wasUndone'])),null!=_0x3aa927['_aiSource']&&(_0x224dad['_aiSource']=String(_0x3aa927['_aiSource'])),_0x224dad;},_0x5ca6d3['toObject']=function(_0x4ceb1c,_0x458c0c){_0x458c0c||(_0x458c0c={});var _0x445b2f={};return _0x458c0c['defaults']&&(_0x445b2f['sourcePosition']=null,_0x445b2f['targetPosition']=null,_0x445b2f['graveyardPosition']=null,_0x445b2f['howMany']=0x0,_0x445b2f['wasUndone']=!0x1,_0x445b2f['_aiSource']=''),null!=_0x4ceb1c['sourcePosition']&&_0x4ceb1c['hasOwnProperty']('sourcePosition')&&(_0x445b2f['sourcePosition']=_0x3c38d0['Position']['toObject'](_0x4ceb1c['sourcePosition'],_0x458c0c)),null!=_0x4ceb1c['targetPosition']&&_0x4ceb1c['hasOwnProperty']('targetPosition')&&(_0x445b2f['targetPosition']=_0x3c38d0['Position']['toObject'](_0x4ceb1c['targetPosition'],_0x458c0c)),null!=_0x4ceb1c['graveyardPosition']&&_0x4ceb1c['hasOwnProperty']('graveyardPosition')&&(_0x445b2f['graveyardPosition']=_0x3c38d0['Position']['toObject'](_0x4ceb1c['graveyardPosition'],_0x458c0c)),null!=_0x4ceb1c['howMany']&&_0x4ceb1c['hasOwnProperty']('howMany')&&(_0x445b2f['howMany']=_0x4ceb1c['howMany']),null!=_0x4ceb1c['wasUndone']&&_0x4ceb1c['hasOwnProperty']('wasUndone')&&(_0x445b2f['wasUndone']=_0x4ceb1c['wasUndone']),null!=_0x4ceb1c['_aiSource']&&_0x4ceb1c['hasOwnProperty']('_aiSource')&&(_0x445b2f['_aiSource']=_0x4ceb1c['_aiSource']),_0x445b2f;},_0x5ca6d3['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5ca6d3['getTypeUrl']=function(_0x8272d5){return void 0x0===_0x8272d5&&(_0x8272d5='type.googleapis.com'),_0x8272d5+'/MergeOperation';},_0x5ca6d3;}()),_0x3c38d0['MoveOperation']=(function(){function _0x34315e(_0x48b59a){if(_0x48b59a){for(var _0x1cd0a9=Object['keys'](_0x48b59a),_0x4be732=0x0;_0x4be732<_0x1cd0a9['length'];++_0x4be732)null!=_0x48b59a[_0x1cd0a9[_0x4be732]]&&'__proto__'!==_0x1cd0a9[_0x4be732]&&(this[_0x1cd0a9[_0x4be732]]=_0x48b59a[_0x1cd0a9[_0x4be732]]);}}return _0x34315e['prototype']['sourcePosition']=null,_0x34315e['prototype']['howMany']=0x0,_0x34315e['prototype']['targetPosition']=null,_0x34315e['prototype']['wasUndone']=!0x1,_0x34315e['prototype']['_aiSource']='',_0x34315e['create']=function(_0x5193f7){return new _0x34315e(_0x5193f7);},_0x34315e['encode']=function(_0x59eaca,_0x11e795){return _0x11e795||(_0x11e795=_0x27cf9d['create']()),null!=_0x59eaca['sourcePosition']&&Object['hasOwnProperty']['call'](_0x59eaca,'sourcePosition')&&_0x3c38d0['Position']['encode'](_0x59eaca['sourcePosition'],_0x11e795['uint32'](0xa)['fork']())['ldelim'](),null!=_0x59eaca['howMany']&&Object['hasOwnProperty']['call'](_0x59eaca,'howMany')&&_0x11e795['uint32'](0x10)['uint32'](_0x59eaca['howMany']),null!=_0x59eaca['targetPosition']&&Object['hasOwnProperty']['call'](_0x59eaca,'targetPosition')&&_0x3c38d0['Position']['encode'](_0x59eaca['targetPosition'],_0x11e795['uint32'](0x1a)['fork']())['ldelim'](),null!=_0x59eaca['wasUndone']&&Object['hasOwnProperty']['call'](_0x59eaca,'wasUndone')&&_0x11e795['uint32'](0x20)['bool'](_0x59eaca['wasUndone']),null!=_0x59eaca['_aiSource']&&Object['hasOwnProperty']['call'](_0x59eaca,'_aiSource')&&_0x11e795['uint32'](0x2a)['string'](_0x59eaca['_aiSource']),_0x11e795;},_0x34315e['encodeDelimited']=function(_0x569cc2,_0x6648f6){return this['encode'](_0x569cc2,_0x6648f6)['ldelim']();},_0x34315e['decode']=function(_0x20cb23,_0x460423,_0x323217,_0x5d9a59){if(_0x20cb23 instanceof _0x569db0||(_0x20cb23=_0x569db0['create'](_0x20cb23)),void 0x0===_0x5d9a59&&(_0x5d9a59=0x0),_0x5d9a59>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x1f86c2=void 0x0===_0x460423?_0x20cb23['len']:_0x20cb23['pos']+_0x460423,_0x160d26=new _0x3c38d0['MoveOperation']();_0x20cb23['pos']<_0x1f86c2;){var _0x5d0342=_0x20cb23['uint32']();if(_0x5d0342===_0x323217)break;switch(_0x5d0342>>>0x3){case 0x1:_0x160d26['sourcePosition']=_0x3c38d0['Position']['decode'](_0x20cb23,_0x20cb23['uint32'](),void 0x0,_0x5d9a59+0x1);break;case 0x2:_0x160d26['howMany']=_0x20cb23['uint32']();break;case 0x3:_0x160d26['targetPosition']=_0x3c38d0['Position']['decode'](_0x20cb23,_0x20cb23['uint32'](),void 0x0,_0x5d9a59+0x1);break;case 0x4:_0x160d26['wasUndone']=_0x20cb23['bool']();break;case 0x5:_0x160d26['_aiSource']=_0x20cb23['string']();break;default:_0x20cb23['skipType'](0x7&_0x5d0342,_0x5d9a59);}}return _0x160d26;},_0x34315e['decodeDelimited']=function(_0xf4b0ef){return _0xf4b0ef instanceof _0x569db0||(_0xf4b0ef=new _0x569db0(_0xf4b0ef)),this['decode'](_0xf4b0ef,_0xf4b0ef['uint32']());},_0x34315e['verify']=function(_0x3995e9,_0x11bc51){if('object'!=typeof _0x3995e9||null===_0x3995e9)return'object\x20expected';if(void 0x0===_0x11bc51&&(_0x11bc51=0x0),_0x11bc51>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x490980;if(null!=_0x3995e9['sourcePosition']&&_0x3995e9['hasOwnProperty']('sourcePosition')&&(_0x490980=_0x3c38d0['Position']['verify'](_0x3995e9['sourcePosition'],_0x11bc51+0x1)))return'sourcePosition.'+_0x490980;if(null!=_0x3995e9['howMany']&&_0x3995e9['hasOwnProperty']('howMany')&&!_0xb39644['isInteger'](_0x3995e9['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x3995e9['targetPosition']&&_0x3995e9['hasOwnProperty']('targetPosition')&&(_0x490980=_0x3c38d0['Position']['verify'](_0x3995e9['targetPosition'],_0x11bc51+0x1)))return'targetPosition.'+_0x490980;return null!=_0x3995e9['wasUndone']&&_0x3995e9['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x3995e9['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x3995e9['_aiSource']&&_0x3995e9['hasOwnProperty']('_aiSource')&&!_0xb39644['isString'](_0x3995e9['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x34315e['fromObject']=function(_0x3cd285,_0x1d2d6e){if(_0x3cd285 instanceof _0x3c38d0['MoveOperation'])return _0x3cd285;if(void 0x0===_0x1d2d6e&&(_0x1d2d6e=0x0),_0x1d2d6e>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1241a9=new _0x3c38d0['MoveOperation']();if(null!=_0x3cd285['sourcePosition']){if('object'!=typeof _0x3cd285['sourcePosition'])throw TypeError('.MoveOperation.sourcePosition:\x20object\x20expected');_0x1241a9['sourcePosition']=_0x3c38d0['Position']['fromObject'](_0x3cd285['sourcePosition'],_0x1d2d6e+0x1);}if(null!=_0x3cd285['howMany']&&(_0x1241a9['howMany']=_0x3cd285['howMany']>>>0x0),null!=_0x3cd285['targetPosition']){if('object'!=typeof _0x3cd285['targetPosition'])throw TypeError('.MoveOperation.targetPosition:\x20object\x20expected');_0x1241a9['targetPosition']=_0x3c38d0['Position']['fromObject'](_0x3cd285['targetPosition'],_0x1d2d6e+0x1);}return null!=_0x3cd285['wasUndone']&&(_0x1241a9['wasUndone']=Boolean(_0x3cd285['wasUndone'])),null!=_0x3cd285['_aiSource']&&(_0x1241a9['_aiSource']=String(_0x3cd285['_aiSource'])),_0x1241a9;},_0x34315e['toObject']=function(_0xf5b9c,_0x20776d){_0x20776d||(_0x20776d={});var _0x52f283={};return _0x20776d['defaults']&&(_0x52f283['sourcePosition']=null,_0x52f283['howMany']=0x0,_0x52f283['targetPosition']=null,_0x52f283['wasUndone']=!0x1,_0x52f283['_aiSource']=''),null!=_0xf5b9c['sourcePosition']&&_0xf5b9c['hasOwnProperty']('sourcePosition')&&(_0x52f283['sourcePosition']=_0x3c38d0['Position']['toObject'](_0xf5b9c['sourcePosition'],_0x20776d)),null!=_0xf5b9c['howMany']&&_0xf5b9c['hasOwnProperty']('howMany')&&(_0x52f283['howMany']=_0xf5b9c['howMany']),null!=_0xf5b9c['targetPosition']&&_0xf5b9c['hasOwnProperty']('targetPosition')&&(_0x52f283['targetPosition']=_0x3c38d0['Position']['toObject'](_0xf5b9c['targetPosition'],_0x20776d)),null!=_0xf5b9c['wasUndone']&&_0xf5b9c['hasOwnProperty']('wasUndone')&&(_0x52f283['wasUndone']=_0xf5b9c['wasUndone']),null!=_0xf5b9c['_aiSource']&&_0xf5b9c['hasOwnProperty']('_aiSource')&&(_0x52f283['_aiSource']=_0xf5b9c['_aiSource']),_0x52f283;},_0x34315e['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x34315e['getTypeUrl']=function(_0x22f6d0){return void 0x0===_0x22f6d0&&(_0x22f6d0='type.googleapis.com'),_0x22f6d0+'/MoveOperation';},_0x34315e;}()),_0x3c38d0['RenameOperation']=(function(){function _0x523baf(_0x31ba88){if(_0x31ba88){for(var _0x52d44b=Object['keys'](_0x31ba88),_0x112689=0x0;_0x112689<_0x52d44b['length'];++_0x112689)null!=_0x31ba88[_0x52d44b[_0x112689]]&&'__proto__'!==_0x52d44b[_0x112689]&&(this[_0x52d44b[_0x112689]]=_0x31ba88[_0x52d44b[_0x112689]]);}}return _0x523baf['prototype']['position']=null,_0x523baf['prototype']['oldName']='',_0x523baf['prototype']['newName']='',_0x523baf['prototype']['wasUndone']=!0x1,_0x523baf['prototype']['_aiSource']='',_0x523baf['create']=function(_0x4cfb1f){return new _0x523baf(_0x4cfb1f);},_0x523baf['encode']=function(_0xc70b19,_0x1b9f50){return _0x1b9f50||(_0x1b9f50=_0x27cf9d['create']()),null!=_0xc70b19['position']&&Object['hasOwnProperty']['call'](_0xc70b19,'position')&&_0x3c38d0['Position']['encode'](_0xc70b19['position'],_0x1b9f50['uint32'](0xa)['fork']())['ldelim'](),null!=_0xc70b19['oldName']&&Object['hasOwnProperty']['call'](_0xc70b19,'oldName')&&_0x1b9f50['uint32'](0x12)['string'](_0xc70b19['oldName']),null!=_0xc70b19['newName']&&Object['hasOwnProperty']['call'](_0xc70b19,'newName')&&_0x1b9f50['uint32'](0x1a)['string'](_0xc70b19['newName']),null!=_0xc70b19['wasUndone']&&Object['hasOwnProperty']['call'](_0xc70b19,'wasUndone')&&_0x1b9f50['uint32'](0x20)['bool'](_0xc70b19['wasUndone']),null!=_0xc70b19['_aiSource']&&Object['hasOwnProperty']['call'](_0xc70b19,'_aiSource')&&_0x1b9f50['uint32'](0x2a)['string'](_0xc70b19['_aiSource']),_0x1b9f50;},_0x523baf['encodeDelimited']=function(_0x11f244,_0x237cc4){return this['encode'](_0x11f244,_0x237cc4)['ldelim']();},_0x523baf['decode']=function(_0x246035,_0x1153ad,_0x463bc0,_0x2340af){if(_0x246035 instanceof _0x569db0||(_0x246035=_0x569db0['create'](_0x246035)),void 0x0===_0x2340af&&(_0x2340af=0x0),_0x2340af>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x794530=void 0x0===_0x1153ad?_0x246035['len']:_0x246035['pos']+_0x1153ad,_0x36a3ae=new _0x3c38d0['RenameOperation']();_0x246035['pos']<_0x794530;){var _0x460138=_0x246035['uint32']();if(_0x460138===_0x463bc0)break;switch(_0x460138>>>0x3){case 0x1:_0x36a3ae['position']=_0x3c38d0['Position']['decode'](_0x246035,_0x246035['uint32'](),void 0x0,_0x2340af+0x1);break;case 0x2:_0x36a3ae['oldName']=_0x246035['string']();break;case 0x3:_0x36a3ae['newName']=_0x246035['string']();break;case 0x4:_0x36a3ae['wasUndone']=_0x246035['bool']();break;case 0x5:_0x36a3ae['_aiSource']=_0x246035['string']();break;default:_0x246035['skipType'](0x7&_0x460138,_0x2340af);}}return _0x36a3ae;},_0x523baf['decodeDelimited']=function(_0x1537a8){return _0x1537a8 instanceof _0x569db0||(_0x1537a8=new _0x569db0(_0x1537a8)),this['decode'](_0x1537a8,_0x1537a8['uint32']());},_0x523baf['verify']=function(_0x25e281,_0x556afa){if('object'!=typeof _0x25e281||null===_0x25e281)return'object\x20expected';if(void 0x0===_0x556afa&&(_0x556afa=0x0),_0x556afa>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x25e281['position']&&_0x25e281['hasOwnProperty']('position')){var _0x12cbbb=_0x3c38d0['Position']['verify'](_0x25e281['position'],_0x556afa+0x1);if(_0x12cbbb)return'position.'+_0x12cbbb;}return null!=_0x25e281['oldName']&&_0x25e281['hasOwnProperty']('oldName')&&!_0xb39644['isString'](_0x25e281['oldName'])?'oldName:\x20string\x20expected':null!=_0x25e281['newName']&&_0x25e281['hasOwnProperty']('newName')&&!_0xb39644['isString'](_0x25e281['newName'])?'newName:\x20string\x20expected':null!=_0x25e281['wasUndone']&&_0x25e281['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x25e281['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x25e281['_aiSource']&&_0x25e281['hasOwnProperty']('_aiSource')&&!_0xb39644['isString'](_0x25e281['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x523baf['fromObject']=function(_0x1040bc,_0x1fb455){if(_0x1040bc instanceof _0x3c38d0['RenameOperation'])return _0x1040bc;if(void 0x0===_0x1fb455&&(_0x1fb455=0x0),_0x1fb455>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3f287a=new _0x3c38d0['RenameOperation']();if(null!=_0x1040bc['position']){if('object'!=typeof _0x1040bc['position'])throw TypeError('.RenameOperation.position:\x20object\x20expected');_0x3f287a['position']=_0x3c38d0['Position']['fromObject'](_0x1040bc['position'],_0x1fb455+0x1);}return null!=_0x1040bc['oldName']&&(_0x3f287a['oldName']=String(_0x1040bc['oldName'])),null!=_0x1040bc['newName']&&(_0x3f287a['newName']=String(_0x1040bc['newName'])),null!=_0x1040bc['wasUndone']&&(_0x3f287a['wasUndone']=Boolean(_0x1040bc['wasUndone'])),null!=_0x1040bc['_aiSource']&&(_0x3f287a['_aiSource']=String(_0x1040bc['_aiSource'])),_0x3f287a;},_0x523baf['toObject']=function(_0xc8d948,_0x5800a1){_0x5800a1||(_0x5800a1={});var _0x270997={};return _0x5800a1['defaults']&&(_0x270997['position']=null,_0x270997['oldName']='',_0x270997['newName']='',_0x270997['wasUndone']=!0x1,_0x270997['_aiSource']=''),null!=_0xc8d948['position']&&_0xc8d948['hasOwnProperty']('position')&&(_0x270997['position']=_0x3c38d0['Position']['toObject'](_0xc8d948['position'],_0x5800a1)),null!=_0xc8d948['oldName']&&_0xc8d948['hasOwnProperty']('oldName')&&(_0x270997['oldName']=_0xc8d948['oldName']),null!=_0xc8d948['newName']&&_0xc8d948['hasOwnProperty']('newName')&&(_0x270997['newName']=_0xc8d948['newName']),null!=_0xc8d948['wasUndone']&&_0xc8d948['hasOwnProperty']('wasUndone')&&(_0x270997['wasUndone']=_0xc8d948['wasUndone']),null!=_0xc8d948['_aiSource']&&_0xc8d948['hasOwnProperty']('_aiSource')&&(_0x270997['_aiSource']=_0xc8d948['_aiSource']),_0x270997;},_0x523baf['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x523baf['getTypeUrl']=function(_0x4a8b11){return void 0x0===_0x4a8b11&&(_0x4a8b11='type.googleapis.com'),_0x4a8b11+'/RenameOperation';},_0x523baf;}()),_0x3c38d0['RootAttributeOperation']=(function(){function _0x5b6037(_0x4b6e2e){if(_0x4b6e2e){for(var _0x460104=Object['keys'](_0x4b6e2e),_0x2a9988=0x0;_0x2a9988<_0x460104['length'];++_0x2a9988)null!=_0x4b6e2e[_0x460104[_0x2a9988]]&&'__proto__'!==_0x460104[_0x2a9988]&&(this[_0x460104[_0x2a9988]]=_0x4b6e2e[_0x460104[_0x2a9988]]);}}return _0x5b6037['prototype']['root']='',_0x5b6037['prototype']['key']='',_0x5b6037['prototype']['oldValueBoolean']=!0x1,_0x5b6037['prototype']['oldValueJson']='',_0x5b6037['prototype']['newValueBoolean']=!0x1,_0x5b6037['prototype']['newValueJson']='',_0x5b6037['prototype']['wasUndone']=!0x1,_0x5b6037['prototype']['_aiSource']='',_0x5b6037['create']=function(_0x42560a){return new _0x5b6037(_0x42560a);},_0x5b6037['encode']=function(_0x5d8659,_0x400a6e){return _0x400a6e||(_0x400a6e=_0x27cf9d['create']()),null!=_0x5d8659['root']&&Object['hasOwnProperty']['call'](_0x5d8659,'root')&&_0x400a6e['uint32'](0xa)['string'](_0x5d8659['root']),null!=_0x5d8659['key']&&Object['hasOwnProperty']['call'](_0x5d8659,'key')&&_0x400a6e['uint32'](0x12)['string'](_0x5d8659['key']),null!=_0x5d8659['oldValueBoolean']&&Object['hasOwnProperty']['call'](_0x5d8659,'oldValueBoolean')&&_0x400a6e['uint32'](0x18)['bool'](_0x5d8659['oldValueBoolean']),null!=_0x5d8659['oldValueJson']&&Object['hasOwnProperty']['call'](_0x5d8659,'oldValueJson')&&_0x400a6e['uint32'](0x22)['string'](_0x5d8659['oldValueJson']),null!=_0x5d8659['newValueBoolean']&&Object['hasOwnProperty']['call'](_0x5d8659,'newValueBoolean')&&_0x400a6e['uint32'](0x28)['bool'](_0x5d8659['newValueBoolean']),null!=_0x5d8659['newValueJson']&&Object['hasOwnProperty']['call'](_0x5d8659,'newValueJson')&&_0x400a6e['uint32'](0x32)['string'](_0x5d8659['newValueJson']),null!=_0x5d8659['wasUndone']&&Object['hasOwnProperty']['call'](_0x5d8659,'wasUndone')&&_0x400a6e['uint32'](0x38)['bool'](_0x5d8659['wasUndone']),null!=_0x5d8659['_aiSource']&&Object['hasOwnProperty']['call'](_0x5d8659,'_aiSource')&&_0x400a6e['uint32'](0x42)['string'](_0x5d8659['_aiSource']),_0x400a6e;},_0x5b6037['encodeDelimited']=function(_0x1245bf,_0x241c2a){return this['encode'](_0x1245bf,_0x241c2a)['ldelim']();},_0x5b6037['decode']=function(_0x86c4f2,_0x1a68e9,_0x197061,_0x58911a){if(_0x86c4f2 instanceof _0x569db0||(_0x86c4f2=_0x569db0['create'](_0x86c4f2)),void 0x0===_0x58911a&&(_0x58911a=0x0),_0x58911a>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x147fc4=void 0x0===_0x1a68e9?_0x86c4f2['len']:_0x86c4f2['pos']+_0x1a68e9,_0x50a609=new _0x3c38d0['RootAttributeOperation']();_0x86c4f2['pos']<_0x147fc4;){var _0x1d0b1d=_0x86c4f2['uint32']();if(_0x1d0b1d===_0x197061)break;switch(_0x1d0b1d>>>0x3){case 0x1:_0x50a609['root']=_0x86c4f2['string']();break;case 0x2:_0x50a609['key']=_0x86c4f2['string']();break;case 0x3:_0x50a609['oldValueBoolean']=_0x86c4f2['bool']();break;case 0x4:_0x50a609['oldValueJson']=_0x86c4f2['string']();break;case 0x5:_0x50a609['newValueBoolean']=_0x86c4f2['bool']();break;case 0x6:_0x50a609['newValueJson']=_0x86c4f2['string']();break;case 0x7:_0x50a609['wasUndone']=_0x86c4f2['bool']();break;case 0x8:_0x50a609['_aiSource']=_0x86c4f2['string']();break;default:_0x86c4f2['skipType'](0x7&_0x1d0b1d,_0x58911a);}}return _0x50a609;},_0x5b6037['decodeDelimited']=function(_0x2a0f16){return _0x2a0f16 instanceof _0x569db0||(_0x2a0f16=new _0x569db0(_0x2a0f16)),this['decode'](_0x2a0f16,_0x2a0f16['uint32']());},_0x5b6037['verify']=function(_0x4dd457,_0x526430){return'object'!=typeof _0x4dd457||null===_0x4dd457?'object\x20expected':(void 0x0===_0x526430&&(_0x526430=0x0),_0x526430>_0xb39644['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x4dd457['root']&&_0x4dd457['hasOwnProperty']('root')&&!_0xb39644['isString'](_0x4dd457['root'])?'root:\x20string\x20expected':null!=_0x4dd457['key']&&_0x4dd457['hasOwnProperty']('key')&&!_0xb39644['isString'](_0x4dd457['key'])?'key:\x20string\x20expected':null!=_0x4dd457['oldValueBoolean']&&_0x4dd457['hasOwnProperty']('oldValueBoolean')&&'boolean'!=typeof _0x4dd457['oldValueBoolean']?'oldValueBoolean:\x20boolean\x20expected':null!=_0x4dd457['oldValueJson']&&_0x4dd457['hasOwnProperty']('oldValueJson')&&!_0xb39644['isString'](_0x4dd457['oldValueJson'])?'oldValueJson:\x20string\x20expected':null!=_0x4dd457['newValueBoolean']&&_0x4dd457['hasOwnProperty']('newValueBoolean')&&'boolean'!=typeof _0x4dd457['newValueBoolean']?'newValueBoolean:\x20boolean\x20expected':null!=_0x4dd457['newValueJson']&&_0x4dd457['hasOwnProperty']('newValueJson')&&!_0xb39644['isString'](_0x4dd457['newValueJson'])?'newValueJson:\x20string\x20expected':null!=_0x4dd457['wasUndone']&&_0x4dd457['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x4dd457['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x4dd457['_aiSource']&&_0x4dd457['hasOwnProperty']('_aiSource')&&!_0xb39644['isString'](_0x4dd457['_aiSource'])?'_aiSource:\x20string\x20expected':null);},_0x5b6037['fromObject']=function(_0x5cda90,_0x3ec190){if(_0x5cda90 instanceof _0x3c38d0['RootAttributeOperation'])return _0x5cda90;if(void 0x0===_0x3ec190&&(_0x3ec190=0x0),_0x3ec190>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x35096e=new _0x3c38d0['RootAttributeOperation']();return null!=_0x5cda90['root']&&(_0x35096e['root']=String(_0x5cda90['root'])),null!=_0x5cda90['key']&&(_0x35096e['key']=String(_0x5cda90['key'])),null!=_0x5cda90['oldValueBoolean']&&(_0x35096e['oldValueBoolean']=Boolean(_0x5cda90['oldValueBoolean'])),null!=_0x5cda90['oldValueJson']&&(_0x35096e['oldValueJson']=String(_0x5cda90['oldValueJson'])),null!=_0x5cda90['newValueBoolean']&&(_0x35096e['newValueBoolean']=Boolean(_0x5cda90['newValueBoolean'])),null!=_0x5cda90['newValueJson']&&(_0x35096e['newValueJson']=String(_0x5cda90['newValueJson'])),null!=_0x5cda90['wasUndone']&&(_0x35096e['wasUndone']=Boolean(_0x5cda90['wasUndone'])),null!=_0x5cda90['_aiSource']&&(_0x35096e['_aiSource']=String(_0x5cda90['_aiSource'])),_0x35096e;},_0x5b6037['toObject']=function(_0xf2facb,_0xdde30e){_0xdde30e||(_0xdde30e={});var _0x3622c8={};return _0xdde30e['defaults']&&(_0x3622c8['root']='',_0x3622c8['key']='',_0x3622c8['oldValueBoolean']=!0x1,_0x3622c8['oldValueJson']='',_0x3622c8['newValueBoolean']=!0x1,_0x3622c8['newValueJson']='',_0x3622c8['wasUndone']=!0x1,_0x3622c8['_aiSource']=''),null!=_0xf2facb['root']&&_0xf2facb['hasOwnProperty']('root')&&(_0x3622c8['root']=_0xf2facb['root']),null!=_0xf2facb['key']&&_0xf2facb['hasOwnProperty']('key')&&(_0x3622c8['key']=_0xf2facb['key']),null!=_0xf2facb['oldValueBoolean']&&_0xf2facb['hasOwnProperty']('oldValueBoolean')&&(_0x3622c8['oldValueBoolean']=_0xf2facb['oldValueBoolean']),null!=_0xf2facb['oldValueJson']&&_0xf2facb['hasOwnProperty']('oldValueJson')&&(_0x3622c8['oldValueJson']=_0xf2facb['oldValueJson']),null!=_0xf2facb['newValueBoolean']&&_0xf2facb['hasOwnProperty']('newValueBoolean')&&(_0x3622c8['newValueBoolean']=_0xf2facb['newValueBoolean']),null!=_0xf2facb['newValueJson']&&_0xf2facb['hasOwnProperty']('newValueJson')&&(_0x3622c8['newValueJson']=_0xf2facb['newValueJson']),null!=_0xf2facb['wasUndone']&&_0xf2facb['hasOwnProperty']('wasUndone')&&(_0x3622c8['wasUndone']=_0xf2facb['wasUndone']),null!=_0xf2facb['_aiSource']&&_0xf2facb['hasOwnProperty']('_aiSource')&&(_0x3622c8['_aiSource']=_0xf2facb['_aiSource']),_0x3622c8;},_0x5b6037['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5b6037['getTypeUrl']=function(_0x581c1c){return void 0x0===_0x581c1c&&(_0x581c1c='type.googleapis.com'),_0x581c1c+'/RootAttributeOperation';},_0x5b6037;}()),_0x3c38d0['RootOperation']=(function(){function _0x21f809(_0x548532){if(_0x548532){for(var _0xd5b07e=Object['keys'](_0x548532),_0x5333b0=0x0;_0x5333b0<_0xd5b07e['length'];++_0x5333b0)null!=_0x548532[_0xd5b07e[_0x5333b0]]&&'__proto__'!==_0xd5b07e[_0x5333b0]&&(this[_0xd5b07e[_0x5333b0]]=_0x548532[_0xd5b07e[_0x5333b0]]);}}return _0x21f809['prototype']['rootName']='',_0x21f809['prototype']['elementName']='',_0x21f809['prototype']['isAdd']=!0x1,_0x21f809['prototype']['wasUndone']=!0x1,_0x21f809['prototype']['_aiSource']='',_0x21f809['create']=function(_0x84b9b0){return new _0x21f809(_0x84b9b0);},_0x21f809['encode']=function(_0x351842,_0x42a5e4){return _0x42a5e4||(_0x42a5e4=_0x27cf9d['create']()),null!=_0x351842['rootName']&&Object['hasOwnProperty']['call'](_0x351842,'rootName')&&_0x42a5e4['uint32'](0xa)['string'](_0x351842['rootName']),null!=_0x351842['elementName']&&Object['hasOwnProperty']['call'](_0x351842,'elementName')&&_0x42a5e4['uint32'](0x12)['string'](_0x351842['elementName']),null!=_0x351842['isAdd']&&Object['hasOwnProperty']['call'](_0x351842,'isAdd')&&_0x42a5e4['uint32'](0x18)['bool'](_0x351842['isAdd']),null!=_0x351842['wasUndone']&&Object['hasOwnProperty']['call'](_0x351842,'wasUndone')&&_0x42a5e4['uint32'](0x20)['bool'](_0x351842['wasUndone']),null!=_0x351842['_aiSource']&&Object['hasOwnProperty']['call'](_0x351842,'_aiSource')&&_0x42a5e4['uint32'](0x2a)['string'](_0x351842['_aiSource']),_0x42a5e4;},_0x21f809['encodeDelimited']=function(_0xa84bd6,_0x1a1eaf){return this['encode'](_0xa84bd6,_0x1a1eaf)['ldelim']();},_0x21f809['decode']=function(_0x24af12,_0x755dc5,_0x288ee8,_0xca83c4){if(_0x24af12 instanceof _0x569db0||(_0x24af12=_0x569db0['create'](_0x24af12)),void 0x0===_0xca83c4&&(_0xca83c4=0x0),_0xca83c4>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x43f1d6=void 0x0===_0x755dc5?_0x24af12['len']:_0x24af12['pos']+_0x755dc5,_0xb5f258=new _0x3c38d0['RootOperation']();_0x24af12['pos']<_0x43f1d6;){var _0x16ca63=_0x24af12['uint32']();if(_0x16ca63===_0x288ee8)break;switch(_0x16ca63>>>0x3){case 0x1:_0xb5f258['rootName']=_0x24af12['string']();break;case 0x2:_0xb5f258['elementName']=_0x24af12['string']();break;case 0x3:_0xb5f258['isAdd']=_0x24af12['bool']();break;case 0x4:_0xb5f258['wasUndone']=_0x24af12['bool']();break;case 0x5:_0xb5f258['_aiSource']=_0x24af12['string']();break;default:_0x24af12['skipType'](0x7&_0x16ca63,_0xca83c4);}}return _0xb5f258;},_0x21f809['decodeDelimited']=function(_0x4d48f2){return _0x4d48f2 instanceof _0x569db0||(_0x4d48f2=new _0x569db0(_0x4d48f2)),this['decode'](_0x4d48f2,_0x4d48f2['uint32']());},_0x21f809['verify']=function(_0x34708e,_0x2a9a11){return'object'!=typeof _0x34708e||null===_0x34708e?'object\x20expected':(void 0x0===_0x2a9a11&&(_0x2a9a11=0x0),_0x2a9a11>_0xb39644['recursionLimit']?'maximum\x20nesting\x20depth\x20exceeded':null!=_0x34708e['rootName']&&_0x34708e['hasOwnProperty']('rootName')&&!_0xb39644['isString'](_0x34708e['rootName'])?'rootName:\x20string\x20expected':null!=_0x34708e['elementName']&&_0x34708e['hasOwnProperty']('elementName')&&!_0xb39644['isString'](_0x34708e['elementName'])?'elementName:\x20string\x20expected':null!=_0x34708e['isAdd']&&_0x34708e['hasOwnProperty']('isAdd')&&'boolean'!=typeof _0x34708e['isAdd']?'isAdd:\x20boolean\x20expected':null!=_0x34708e['wasUndone']&&_0x34708e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x34708e['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x34708e['_aiSource']&&_0x34708e['hasOwnProperty']('_aiSource')&&!_0xb39644['isString'](_0x34708e['_aiSource'])?'_aiSource:\x20string\x20expected':null);},_0x21f809['fromObject']=function(_0x276957,_0x5002bd){if(_0x276957 instanceof _0x3c38d0['RootOperation'])return _0x276957;if(void 0x0===_0x5002bd&&(_0x5002bd=0x0),_0x5002bd>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0xd43e79=new _0x3c38d0['RootOperation']();return null!=_0x276957['rootName']&&(_0xd43e79['rootName']=String(_0x276957['rootName'])),null!=_0x276957['elementName']&&(_0xd43e79['elementName']=String(_0x276957['elementName'])),null!=_0x276957['isAdd']&&(_0xd43e79['isAdd']=Boolean(_0x276957['isAdd'])),null!=_0x276957['wasUndone']&&(_0xd43e79['wasUndone']=Boolean(_0x276957['wasUndone'])),null!=_0x276957['_aiSource']&&(_0xd43e79['_aiSource']=String(_0x276957['_aiSource'])),_0xd43e79;},_0x21f809['toObject']=function(_0x2ff484,_0x59b8de){_0x59b8de||(_0x59b8de={});var _0x7921d7={};return _0x59b8de['defaults']&&(_0x7921d7['rootName']='',_0x7921d7['elementName']='',_0x7921d7['isAdd']=!0x1,_0x7921d7['wasUndone']=!0x1,_0x7921d7['_aiSource']=''),null!=_0x2ff484['rootName']&&_0x2ff484['hasOwnProperty']('rootName')&&(_0x7921d7['rootName']=_0x2ff484['rootName']),null!=_0x2ff484['elementName']&&_0x2ff484['hasOwnProperty']('elementName')&&(_0x7921d7['elementName']=_0x2ff484['elementName']),null!=_0x2ff484['isAdd']&&_0x2ff484['hasOwnProperty']('isAdd')&&(_0x7921d7['isAdd']=_0x2ff484['isAdd']),null!=_0x2ff484['wasUndone']&&_0x2ff484['hasOwnProperty']('wasUndone')&&(_0x7921d7['wasUndone']=_0x2ff484['wasUndone']),null!=_0x2ff484['_aiSource']&&_0x2ff484['hasOwnProperty']('_aiSource')&&(_0x7921d7['_aiSource']=_0x2ff484['_aiSource']),_0x7921d7;},_0x21f809['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x21f809['getTypeUrl']=function(_0x105a19){return void 0x0===_0x105a19&&(_0x105a19='type.googleapis.com'),_0x105a19+'/RootOperation';},_0x21f809;}()),_0x3c38d0['SplitOperation']=(function(){function _0x5d940f(_0x3bd05c){if(_0x3bd05c){for(var _0x28c245=Object['keys'](_0x3bd05c),_0x467be8=0x0;_0x467be8<_0x28c245['length'];++_0x467be8)null!=_0x3bd05c[_0x28c245[_0x467be8]]&&'__proto__'!==_0x28c245[_0x467be8]&&(this[_0x28c245[_0x467be8]]=_0x3bd05c[_0x28c245[_0x467be8]]);}}return _0x5d940f['prototype']['splitPosition']=null,_0x5d940f['prototype']['graveyardPosition']=null,_0x5d940f['prototype']['howMany']=0x0,_0x5d940f['prototype']['insertionPosition']=null,_0x5d940f['prototype']['wasUndone']=!0x1,_0x5d940f['prototype']['_aiSource']='',_0x5d940f['create']=function(_0x50a64b){return new _0x5d940f(_0x50a64b);},_0x5d940f['encode']=function(_0x536aaa,_0x4fc420){return _0x4fc420||(_0x4fc420=_0x27cf9d['create']()),null!=_0x536aaa['splitPosition']&&Object['hasOwnProperty']['call'](_0x536aaa,'splitPosition')&&_0x3c38d0['Position']['encode'](_0x536aaa['splitPosition'],_0x4fc420['uint32'](0xa)['fork']())['ldelim'](),null!=_0x536aaa['graveyardPosition']&&Object['hasOwnProperty']['call'](_0x536aaa,'graveyardPosition')&&_0x3c38d0['Position']['encode'](_0x536aaa['graveyardPosition'],_0x4fc420['uint32'](0x12)['fork']())['ldelim'](),null!=_0x536aaa['howMany']&&Object['hasOwnProperty']['call'](_0x536aaa,'howMany')&&_0x4fc420['uint32'](0x18)['uint32'](_0x536aaa['howMany']),null!=_0x536aaa['insertionPosition']&&Object['hasOwnProperty']['call'](_0x536aaa,'insertionPosition')&&_0x3c38d0['Position']['encode'](_0x536aaa['insertionPosition'],_0x4fc420['uint32'](0x22)['fork']())['ldelim'](),null!=_0x536aaa['wasUndone']&&Object['hasOwnProperty']['call'](_0x536aaa,'wasUndone')&&_0x4fc420['uint32'](0x28)['bool'](_0x536aaa['wasUndone']),null!=_0x536aaa['_aiSource']&&Object['hasOwnProperty']['call'](_0x536aaa,'_aiSource')&&_0x4fc420['uint32'](0x32)['string'](_0x536aaa['_aiSource']),_0x4fc420;},_0x5d940f['encodeDelimited']=function(_0x107f40,_0x4b14f3){return this['encode'](_0x107f40,_0x4b14f3)['ldelim']();},_0x5d940f['decode']=function(_0x363c04,_0x55ef30,_0x357163,_0x3fbe24){if(_0x363c04 instanceof _0x569db0||(_0x363c04=_0x569db0['create'](_0x363c04)),void 0x0===_0x3fbe24&&(_0x3fbe24=0x0),_0x3fbe24>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x54e7be=void 0x0===_0x55ef30?_0x363c04['len']:_0x363c04['pos']+_0x55ef30,_0x4857a0=new _0x3c38d0['SplitOperation']();_0x363c04['pos']<_0x54e7be;){var _0x2589af=_0x363c04['uint32']();if(_0x2589af===_0x357163)break;switch(_0x2589af>>>0x3){case 0x1:_0x4857a0['splitPosition']=_0x3c38d0['Position']['decode'](_0x363c04,_0x363c04['uint32'](),void 0x0,_0x3fbe24+0x1);break;case 0x2:_0x4857a0['graveyardPosition']=_0x3c38d0['Position']['decode'](_0x363c04,_0x363c04['uint32'](),void 0x0,_0x3fbe24+0x1);break;case 0x3:_0x4857a0['howMany']=_0x363c04['uint32']();break;case 0x4:_0x4857a0['insertionPosition']=_0x3c38d0['Position']['decode'](_0x363c04,_0x363c04['uint32'](),void 0x0,_0x3fbe24+0x1);break;case 0x5:_0x4857a0['wasUndone']=_0x363c04['bool']();break;case 0x6:_0x4857a0['_aiSource']=_0x363c04['string']();break;default:_0x363c04['skipType'](0x7&_0x2589af,_0x3fbe24);}}return _0x4857a0;},_0x5d940f['decodeDelimited']=function(_0x5529c0){return _0x5529c0 instanceof _0x569db0||(_0x5529c0=new _0x569db0(_0x5529c0)),this['decode'](_0x5529c0,_0x5529c0['uint32']());},_0x5d940f['verify']=function(_0x44849e,_0x150988){if('object'!=typeof _0x44849e||null===_0x44849e)return'object\x20expected';if(void 0x0===_0x150988&&(_0x150988=0x0),_0x150988>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x1959c8;if(null!=_0x44849e['splitPosition']&&_0x44849e['hasOwnProperty']('splitPosition')&&(_0x1959c8=_0x3c38d0['Position']['verify'](_0x44849e['splitPosition'],_0x150988+0x1)))return'splitPosition.'+_0x1959c8;if(null!=_0x44849e['graveyardPosition']&&_0x44849e['hasOwnProperty']('graveyardPosition')&&(_0x1959c8=_0x3c38d0['Position']['verify'](_0x44849e['graveyardPosition'],_0x150988+0x1)))return'graveyardPosition.'+_0x1959c8;if(null!=_0x44849e['howMany']&&_0x44849e['hasOwnProperty']('howMany')&&!_0xb39644['isInteger'](_0x44849e['howMany']))return'howMany:\x20integer\x20expected';if(null!=_0x44849e['insertionPosition']&&_0x44849e['hasOwnProperty']('insertionPosition')&&(_0x1959c8=_0x3c38d0['Position']['verify'](_0x44849e['insertionPosition'],_0x150988+0x1)))return'insertionPosition.'+_0x1959c8;return null!=_0x44849e['wasUndone']&&_0x44849e['hasOwnProperty']('wasUndone')&&'boolean'!=typeof _0x44849e['wasUndone']?'wasUndone:\x20boolean\x20expected':null!=_0x44849e['_aiSource']&&_0x44849e['hasOwnProperty']('_aiSource')&&!_0xb39644['isString'](_0x44849e['_aiSource'])?'_aiSource:\x20string\x20expected':null;},_0x5d940f['fromObject']=function(_0xd0957f,_0xec523c){if(_0xd0957f instanceof _0x3c38d0['SplitOperation'])return _0xd0957f;if(void 0x0===_0xec523c&&(_0xec523c=0x0),_0xec523c>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x54c74b=new _0x3c38d0['SplitOperation']();if(null!=_0xd0957f['splitPosition']){if('object'!=typeof _0xd0957f['splitPosition'])throw TypeError('.SplitOperation.splitPosition:\x20object\x20expected');_0x54c74b['splitPosition']=_0x3c38d0['Position']['fromObject'](_0xd0957f['splitPosition'],_0xec523c+0x1);}if(null!=_0xd0957f['graveyardPosition']){if('object'!=typeof _0xd0957f['graveyardPosition'])throw TypeError('.SplitOperation.graveyardPosition:\x20object\x20expected');_0x54c74b['graveyardPosition']=_0x3c38d0['Position']['fromObject'](_0xd0957f['graveyardPosition'],_0xec523c+0x1);}if(null!=_0xd0957f['howMany']&&(_0x54c74b['howMany']=_0xd0957f['howMany']>>>0x0),null!=_0xd0957f['insertionPosition']){if('object'!=typeof _0xd0957f['insertionPosition'])throw TypeError('.SplitOperation.insertionPosition:\x20object\x20expected');_0x54c74b['insertionPosition']=_0x3c38d0['Position']['fromObject'](_0xd0957f['insertionPosition'],_0xec523c+0x1);}return null!=_0xd0957f['wasUndone']&&(_0x54c74b['wasUndone']=Boolean(_0xd0957f['wasUndone'])),null!=_0xd0957f['_aiSource']&&(_0x54c74b['_aiSource']=String(_0xd0957f['_aiSource'])),_0x54c74b;},_0x5d940f['toObject']=function(_0x17ce5e,_0x2171d1){_0x2171d1||(_0x2171d1={});var _0x3f7583={};return _0x2171d1['defaults']&&(_0x3f7583['splitPosition']=null,_0x3f7583['graveyardPosition']=null,_0x3f7583['howMany']=0x0,_0x3f7583['insertionPosition']=null,_0x3f7583['wasUndone']=!0x1,_0x3f7583['_aiSource']=''),null!=_0x17ce5e['splitPosition']&&_0x17ce5e['hasOwnProperty']('splitPosition')&&(_0x3f7583['splitPosition']=_0x3c38d0['Position']['toObject'](_0x17ce5e['splitPosition'],_0x2171d1)),null!=_0x17ce5e['graveyardPosition']&&_0x17ce5e['hasOwnProperty']('graveyardPosition')&&(_0x3f7583['graveyardPosition']=_0x3c38d0['Position']['toObject'](_0x17ce5e['graveyardPosition'],_0x2171d1)),null!=_0x17ce5e['howMany']&&_0x17ce5e['hasOwnProperty']('howMany')&&(_0x3f7583['howMany']=_0x17ce5e['howMany']),null!=_0x17ce5e['insertionPosition']&&_0x17ce5e['hasOwnProperty']('insertionPosition')&&(_0x3f7583['insertionPosition']=_0x3c38d0['Position']['toObject'](_0x17ce5e['insertionPosition'],_0x2171d1)),null!=_0x17ce5e['wasUndone']&&_0x17ce5e['hasOwnProperty']('wasUndone')&&(_0x3f7583['wasUndone']=_0x17ce5e['wasUndone']),null!=_0x17ce5e['_aiSource']&&_0x17ce5e['hasOwnProperty']('_aiSource')&&(_0x3f7583['_aiSource']=_0x17ce5e['_aiSource']),_0x3f7583;},_0x5d940f['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5d940f['getTypeUrl']=function(_0x485ce6){return void 0x0===_0x485ce6&&(_0x485ce6='type.googleapis.com'),_0x485ce6+'/SplitOperation';},_0x5d940f;}()),_0x3c38d0['Position']=(function(){function _0x5400d1(_0x5093f7){if(this['path']=[],_0x5093f7){for(var _0x1249f0=Object['keys'](_0x5093f7),_0x22eae7=0x0;_0x22eae7<_0x1249f0['length'];++_0x22eae7)null!=_0x5093f7[_0x1249f0[_0x22eae7]]&&'__proto__'!==_0x1249f0[_0x22eae7]&&(this[_0x1249f0[_0x22eae7]]=_0x5093f7[_0x1249f0[_0x22eae7]]);}}return _0x5400d1['prototype']['root']='',_0x5400d1['prototype']['rootMain']=!0x1,_0x5400d1['prototype']['rootGraveyard']=!0x1,_0x5400d1['prototype']['path']=_0xb39644['emptyArray'],_0x5400d1['prototype']['stickiness']='',_0x5400d1['create']=function(_0xe1c21e){return new _0x5400d1(_0xe1c21e);},_0x5400d1['encode']=function(_0x4d08ce,_0x309bb3){if(_0x309bb3||(_0x309bb3=_0x27cf9d['create']()),null!=_0x4d08ce['root']&&Object['hasOwnProperty']['call'](_0x4d08ce,'root')&&_0x309bb3['uint32'](0xa)['string'](_0x4d08ce['root']),null!=_0x4d08ce['rootMain']&&Object['hasOwnProperty']['call'](_0x4d08ce,'rootMain')&&_0x309bb3['uint32'](0x10)['bool'](_0x4d08ce['rootMain']),null!=_0x4d08ce['rootGraveyard']&&Object['hasOwnProperty']['call'](_0x4d08ce,'rootGraveyard')&&_0x309bb3['uint32'](0x18)['bool'](_0x4d08ce['rootGraveyard']),null!=_0x4d08ce['path']&&_0x4d08ce['path']['length']){_0x309bb3['uint32'](0x22)['fork']();for(var _0x425ba5=0x0;_0x425ba5<_0x4d08ce['path']['length'];++_0x425ba5)_0x309bb3['uint32'](_0x4d08ce['path'][_0x425ba5]);_0x309bb3['ldelim']();}return null!=_0x4d08ce['stickiness']&&Object['hasOwnProperty']['call'](_0x4d08ce,'stickiness')&&_0x309bb3['uint32'](0x2a)['string'](_0x4d08ce['stickiness']),_0x309bb3;},_0x5400d1['encodeDelimited']=function(_0x47390a,_0x29c1b8){return this['encode'](_0x47390a,_0x29c1b8)['ldelim']();},_0x5400d1['decode']=function(_0x5ad1f4,_0x2b55cd,_0x537691,_0xa1d476){if(_0x5ad1f4 instanceof _0x569db0||(_0x5ad1f4=_0x569db0['create'](_0x5ad1f4)),void 0x0===_0xa1d476&&(_0xa1d476=0x0),_0xa1d476>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x57c8ae=void 0x0===_0x2b55cd?_0x5ad1f4['len']:_0x5ad1f4['pos']+_0x2b55cd,_0x363579=new _0x3c38d0['Position']();_0x5ad1f4['pos']<_0x57c8ae;){var _0x2c800b=_0x5ad1f4['uint32']();if(_0x2c800b===_0x537691)break;switch(_0x2c800b>>>0x3){case 0x1:_0x363579['root']=_0x5ad1f4['string']();break;case 0x2:_0x363579['rootMain']=_0x5ad1f4['bool']();break;case 0x3:_0x363579['rootGraveyard']=_0x5ad1f4['bool']();break;case 0x4:if(_0x363579['path']&&_0x363579['path']['length']||(_0x363579['path']=[]),0x2==(0x7&_0x2c800b)){for(var _0x821e64=_0x5ad1f4['uint32']()+_0x5ad1f4['pos'];_0x5ad1f4['pos']<_0x821e64;)_0x363579['path']['push'](_0x5ad1f4['uint32']());}else _0x363579['path']['push'](_0x5ad1f4['uint32']());break;case 0x5:_0x363579['stickiness']=_0x5ad1f4['string']();break;default:_0x5ad1f4['skipType'](0x7&_0x2c800b,_0xa1d476);}}return _0x363579;},_0x5400d1['decodeDelimited']=function(_0x811c17){return _0x811c17 instanceof _0x569db0||(_0x811c17=new _0x569db0(_0x811c17)),this['decode'](_0x811c17,_0x811c17['uint32']());},_0x5400d1['verify']=function(_0x1ea085,_0x3122fe){if('object'!=typeof _0x1ea085||null===_0x1ea085)return'object\x20expected';if(void 0x0===_0x3122fe&&(_0x3122fe=0x0),_0x3122fe>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x1ea085['root']&&_0x1ea085['hasOwnProperty']('root')&&!_0xb39644['isString'](_0x1ea085['root']))return'root:\x20string\x20expected';if(null!=_0x1ea085['rootMain']&&_0x1ea085['hasOwnProperty']('rootMain')&&'boolean'!=typeof _0x1ea085['rootMain'])return'rootMain:\x20boolean\x20expected';if(null!=_0x1ea085['rootGraveyard']&&_0x1ea085['hasOwnProperty']('rootGraveyard')&&'boolean'!=typeof _0x1ea085['rootGraveyard'])return'rootGraveyard:\x20boolean\x20expected';if(null!=_0x1ea085['path']&&_0x1ea085['hasOwnProperty']('path')){if(!Array['isArray'](_0x1ea085['path']))return'path:\x20array\x20expected';for(var _0x50c10a=0x0;_0x50c10a<_0x1ea085['path']['length'];++_0x50c10a)if(!_0xb39644['isInteger'](_0x1ea085['path'][_0x50c10a]))return'path:\x20integer[]\x20expected';}return null!=_0x1ea085['stickiness']&&_0x1ea085['hasOwnProperty']('stickiness')&&!_0xb39644['isString'](_0x1ea085['stickiness'])?'stickiness:\x20string\x20expected':null;},_0x5400d1['fromObject']=function(_0x5b69da,_0x4555d7){if(_0x5b69da instanceof _0x3c38d0['Position'])return _0x5b69da;if(void 0x0===_0x4555d7&&(_0x4555d7=0x0),_0x4555d7>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x3d3a29=new _0x3c38d0['Position']();if(null!=_0x5b69da['root']&&(_0x3d3a29['root']=String(_0x5b69da['root'])),null!=_0x5b69da['rootMain']&&(_0x3d3a29['rootMain']=Boolean(_0x5b69da['rootMain'])),null!=_0x5b69da['rootGraveyard']&&(_0x3d3a29['rootGraveyard']=Boolean(_0x5b69da['rootGraveyard'])),_0x5b69da['path']){if(!Array['isArray'](_0x5b69da['path']))throw TypeError('.Position.path:\x20array\x20expected');_0x3d3a29['path']=[];for(var _0x49b26f=0x0;_0x49b26f<_0x5b69da['path']['length'];++_0x49b26f)_0x3d3a29['path'][_0x49b26f]=_0x5b69da['path'][_0x49b26f]>>>0x0;}return null!=_0x5b69da['stickiness']&&(_0x3d3a29['stickiness']=String(_0x5b69da['stickiness'])),_0x3d3a29;},_0x5400d1['toObject']=function(_0x1c42d8,_0x29c087){_0x29c087||(_0x29c087={});var _0x2510d9={};if((_0x29c087['arrays']||_0x29c087['defaults'])&&(_0x2510d9['path']=[]),_0x29c087['defaults']&&(_0x2510d9['root']='',_0x2510d9['rootMain']=!0x1,_0x2510d9['rootGraveyard']=!0x1,_0x2510d9['stickiness']=''),null!=_0x1c42d8['root']&&_0x1c42d8['hasOwnProperty']('root')&&(_0x2510d9['root']=_0x1c42d8['root']),null!=_0x1c42d8['rootMain']&&_0x1c42d8['hasOwnProperty']('rootMain')&&(_0x2510d9['rootMain']=_0x1c42d8['rootMain']),null!=_0x1c42d8['rootGraveyard']&&_0x1c42d8['hasOwnProperty']('rootGraveyard')&&(_0x2510d9['rootGraveyard']=_0x1c42d8['rootGraveyard']),_0x1c42d8['path']&&_0x1c42d8['path']['length']){_0x2510d9['path']=[];for(var _0x5b1ff5=0x0;_0x5b1ff5<_0x1c42d8['path']['length'];++_0x5b1ff5)_0x2510d9['path'][_0x5b1ff5]=_0x1c42d8['path'][_0x5b1ff5];}return null!=_0x1c42d8['stickiness']&&_0x1c42d8['hasOwnProperty']('stickiness')&&(_0x2510d9['stickiness']=_0x1c42d8['stickiness']),_0x2510d9;},_0x5400d1['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x5400d1['getTypeUrl']=function(_0x37bcad){return void 0x0===_0x37bcad&&(_0x37bcad='type.googleapis.com'),_0x37bcad+'/Position';},_0x5400d1;}()),_0x3c38d0['Range']=(function(){function _0x324c86(_0x3816ad){if(_0x3816ad){for(var _0x346cd9=Object['keys'](_0x3816ad),_0x2fd4d5=0x0;_0x2fd4d5<_0x346cd9['length'];++_0x2fd4d5)null!=_0x3816ad[_0x346cd9[_0x2fd4d5]]&&'__proto__'!==_0x346cd9[_0x2fd4d5]&&(this[_0x346cd9[_0x2fd4d5]]=_0x3816ad[_0x346cd9[_0x2fd4d5]]);}}return _0x324c86['prototype']['start']=null,_0x324c86['prototype']['end']=null,_0x324c86['create']=function(_0x45e406){return new _0x324c86(_0x45e406);},_0x324c86['encode']=function(_0x1ebdf2,_0x3fa1dc){return _0x3fa1dc||(_0x3fa1dc=_0x27cf9d['create']()),null!=_0x1ebdf2['start']&&Object['hasOwnProperty']['call'](_0x1ebdf2,'start')&&_0x3c38d0['Position']['encode'](_0x1ebdf2['start'],_0x3fa1dc['uint32'](0xa)['fork']())['ldelim'](),null!=_0x1ebdf2['end']&&Object['hasOwnProperty']['call'](_0x1ebdf2,'end')&&_0x3c38d0['Position']['encode'](_0x1ebdf2['end'],_0x3fa1dc['uint32'](0x12)['fork']())['ldelim'](),_0x3fa1dc;},_0x324c86['encodeDelimited']=function(_0x185748,_0x101962){return this['encode'](_0x185748,_0x101962)['ldelim']();},_0x324c86['decode']=function(_0x1269c0,_0x1fcdec,_0x836883,_0x595589){if(_0x1269c0 instanceof _0x569db0||(_0x1269c0=_0x569db0['create'](_0x1269c0)),void 0x0===_0x595589&&(_0x595589=0x0),_0x595589>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x45dec5=void 0x0===_0x1fcdec?_0x1269c0['len']:_0x1269c0['pos']+_0x1fcdec,_0x192c33=new _0x3c38d0['Range']();_0x1269c0['pos']<_0x45dec5;){var _0x277e13=_0x1269c0['uint32']();if(_0x277e13===_0x836883)break;switch(_0x277e13>>>0x3){case 0x1:_0x192c33['start']=_0x3c38d0['Position']['decode'](_0x1269c0,_0x1269c0['uint32'](),void 0x0,_0x595589+0x1);break;case 0x2:_0x192c33['end']=_0x3c38d0['Position']['decode'](_0x1269c0,_0x1269c0['uint32'](),void 0x0,_0x595589+0x1);break;default:_0x1269c0['skipType'](0x7&_0x277e13,_0x595589);}}return _0x192c33;},_0x324c86['decodeDelimited']=function(_0x109daf){return _0x109daf instanceof _0x569db0||(_0x109daf=new _0x569db0(_0x109daf)),this['decode'](_0x109daf,_0x109daf['uint32']());},_0x324c86['verify']=function(_0x49abd4,_0x330d17){if('object'!=typeof _0x49abd4||null===_0x49abd4)return'object\x20expected';if(void 0x0===_0x330d17&&(_0x330d17=0x0),_0x330d17>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';var _0x2e3cd7;if(null!=_0x49abd4['start']&&_0x49abd4['hasOwnProperty']('start')&&(_0x2e3cd7=_0x3c38d0['Position']['verify'](_0x49abd4['start'],_0x330d17+0x1)))return'start.'+_0x2e3cd7;if(null!=_0x49abd4['end']&&_0x49abd4['hasOwnProperty']('end')&&(_0x2e3cd7=_0x3c38d0['Position']['verify'](_0x49abd4['end'],_0x330d17+0x1)))return'end.'+_0x2e3cd7;return null;},_0x324c86['fromObject']=function(_0x49c7e3,_0x5e13cc){if(_0x49c7e3 instanceof _0x3c38d0['Range'])return _0x49c7e3;if(void 0x0===_0x5e13cc&&(_0x5e13cc=0x0),_0x5e13cc>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x1adbab=new _0x3c38d0['Range']();if(null!=_0x49c7e3['start']){if('object'!=typeof _0x49c7e3['start'])throw TypeError('.Range.start:\x20object\x20expected');_0x1adbab['start']=_0x3c38d0['Position']['fromObject'](_0x49c7e3['start'],_0x5e13cc+0x1);}if(null!=_0x49c7e3['end']){if('object'!=typeof _0x49c7e3['end'])throw TypeError('.Range.end:\x20object\x20expected');_0x1adbab['end']=_0x3c38d0['Position']['fromObject'](_0x49c7e3['end'],_0x5e13cc+0x1);}return _0x1adbab;},_0x324c86['toObject']=function(_0x26d227,_0x269c2c){_0x269c2c||(_0x269c2c={});var _0x395641={};return _0x269c2c['defaults']&&(_0x395641['start']=null,_0x395641['end']=null),null!=_0x26d227['start']&&_0x26d227['hasOwnProperty']('start')&&(_0x395641['start']=_0x3c38d0['Position']['toObject'](_0x26d227['start'],_0x269c2c)),null!=_0x26d227['end']&&_0x26d227['hasOwnProperty']('end')&&(_0x395641['end']=_0x3c38d0['Position']['toObject'](_0x26d227['end'],_0x269c2c)),_0x395641;},_0x324c86['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x324c86['getTypeUrl']=function(_0x3935b1){return void 0x0===_0x3935b1&&(_0x3935b1='type.googleapis.com'),_0x3935b1+'/Range';},_0x324c86;}()),_0x3c38d0['Element']=(function(){function _0x14ff94(_0x4813cf){if(this['children']=[],this['attributesBoolean']={},_0x4813cf){for(var _0x57b86d=Object['keys'](_0x4813cf),_0x2decee=0x0;_0x2decee<_0x57b86d['length'];++_0x2decee)null!=_0x4813cf[_0x57b86d[_0x2decee]]&&'__proto__'!==_0x57b86d[_0x2decee]&&(this[_0x57b86d[_0x2decee]]=_0x4813cf[_0x57b86d[_0x2decee]]);}}return _0x14ff94['prototype']['name']='',_0x14ff94['prototype']['children']=_0xb39644['emptyArray'],_0x14ff94['prototype']['data']='',_0x14ff94['prototype']['attributesBoolean']=_0xb39644['emptyObject'],_0x14ff94['prototype']['attributesJson']='',_0x14ff94['create']=function(_0x33ac1c){return new _0x14ff94(_0x33ac1c);},_0x14ff94['encode']=function(_0x53d3d1,_0xdcb4d7){if(_0xdcb4d7||(_0xdcb4d7=_0x27cf9d['create']()),null!=_0x53d3d1['name']&&Object['hasOwnProperty']['call'](_0x53d3d1,'name')&&_0xdcb4d7['uint32'](0xa)['string'](_0x53d3d1['name']),null!=_0x53d3d1['children']&&_0x53d3d1['children']['length']){for(var _0x4e3164=0x0;_0x4e3164<_0x53d3d1['children']['length'];++_0x4e3164)_0x3c38d0['Element']['encode'](_0x53d3d1['children'][_0x4e3164],_0xdcb4d7['uint32'](0x12)['fork']())['ldelim']();}if(null!=_0x53d3d1['data']&&Object['hasOwnProperty']['call'](_0x53d3d1,'data')&&_0xdcb4d7['uint32'](0x1a)['string'](_0x53d3d1['data']),null!=_0x53d3d1['attributesBoolean']&&Object['hasOwnProperty']['call'](_0x53d3d1,'attributesBoolean')){var _0x3396ac=Object['keys'](_0x53d3d1['attributesBoolean']);for(_0x4e3164=0x0;_0x4e3164<_0x3396ac['length'];++_0x4e3164)_0xdcb4d7['uint32'](0x22)['fork']()['uint32'](0xa)['string'](_0x3396ac[_0x4e3164])['uint32'](0x10)['bool'](_0x53d3d1['attributesBoolean'][_0x3396ac[_0x4e3164]])['ldelim']();}return null!=_0x53d3d1['attributesJson']&&Object['hasOwnProperty']['call'](_0x53d3d1,'attributesJson')&&_0xdcb4d7['uint32'](0x2a)['string'](_0x53d3d1['attributesJson']),_0xdcb4d7;},_0x14ff94['encodeDelimited']=function(_0x1a8863,_0x590e30){return this['encode'](_0x1a8863,_0x590e30)['ldelim']();},_0x14ff94['decode']=function(_0x29cf7f,_0x1c4154,_0x3d9387,_0x43ec33){if(_0x29cf7f instanceof _0x569db0||(_0x29cf7f=_0x569db0['create'](_0x29cf7f)),void 0x0===_0x43ec33&&(_0x43ec33=0x0),_0x43ec33>_0x569db0['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');for(var _0x295586,_0x444a27,_0x4a1e99=void 0x0===_0x1c4154?_0x29cf7f['len']:_0x29cf7f['pos']+_0x1c4154,_0x47745e=new _0x3c38d0['Element']();_0x29cf7f['pos']<_0x4a1e99;){var _0x5d76ae=_0x29cf7f['uint32']();if(_0x5d76ae===_0x3d9387)break;switch(_0x5d76ae>>>0x3){case 0x1:_0x47745e['name']=_0x29cf7f['string']();break;case 0x2:_0x47745e['children']&&_0x47745e['children']['length']||(_0x47745e['children']=[]),_0x47745e['children']['push'](_0x3c38d0['Element']['decode'](_0x29cf7f,_0x29cf7f['uint32'](),void 0x0,_0x43ec33+0x1));break;case 0x3:_0x47745e['data']=_0x29cf7f['string']();break;case 0x4:_0x47745e['attributesBoolean']===_0xb39644['emptyObject']&&(_0x47745e['attributesBoolean']={});var _0x2c0c54=_0x29cf7f['uint32']()+_0x29cf7f['pos'];for(_0x295586='',_0x444a27=!0x1;_0x29cf7f['pos']<_0x2c0c54;){var _0x4f191a=_0x29cf7f['uint32']();switch(_0x4f191a>>>0x3){case 0x1:_0x295586=_0x29cf7f['string']();break;case 0x2:_0x444a27=_0x29cf7f['bool']();break;default:_0x29cf7f['skipType'](0x7&_0x4f191a,_0x43ec33);}}'__proto__'===_0x295586&&_0xb39644['makeProp'](_0x47745e['attributesBoolean'],_0x295586),_0x47745e['attributesBoolean'][_0x295586]=_0x444a27;break;case 0x5:_0x47745e['attributesJson']=_0x29cf7f['string']();break;default:_0x29cf7f['skipType'](0x7&_0x5d76ae,_0x43ec33);}}return _0x47745e;},_0x14ff94['decodeDelimited']=function(_0x530880){return _0x530880 instanceof _0x569db0||(_0x530880=new _0x569db0(_0x530880)),this['decode'](_0x530880,_0x530880['uint32']());},_0x14ff94['verify']=function(_0x40fc56,_0x33ae0e){if('object'!=typeof _0x40fc56||null===_0x40fc56)return'object\x20expected';if(void 0x0===_0x33ae0e&&(_0x33ae0e=0x0),_0x33ae0e>_0xb39644['recursionLimit'])return'maximum\x20nesting\x20depth\x20exceeded';if(null!=_0x40fc56['name']&&_0x40fc56['hasOwnProperty']('name')&&!_0xb39644['isString'](_0x40fc56['name']))return'name:\x20string\x20expected';if(null!=_0x40fc56['children']&&_0x40fc56['hasOwnProperty']('children')){if(!Array['isArray'](_0x40fc56['children']))return'children:\x20array\x20expected';for(var _0x4a7e5b=0x0;_0x4a7e5b<_0x40fc56['children']['length'];++_0x4a7e5b){var _0x45e782=_0x3c38d0['Element']['verify'](_0x40fc56['children'][_0x4a7e5b],_0x33ae0e+0x1);if(_0x45e782)return'children.'+_0x45e782;}}if(null!=_0x40fc56['data']&&_0x40fc56['hasOwnProperty']('data')&&!_0xb39644['isString'](_0x40fc56['data']))return'data:\x20string\x20expected';if(null!=_0x40fc56['attributesBoolean']&&_0x40fc56['hasOwnProperty']('attributesBoolean')){if(!_0xb39644['isObject'](_0x40fc56['attributesBoolean']))return'attributesBoolean:\x20object\x20expected';var _0x348863=Object['keys'](_0x40fc56['attributesBoolean']);for(_0x4a7e5b=0x0;_0x4a7e5b<_0x348863['length'];++_0x4a7e5b)if('boolean'!=typeof _0x40fc56['attributesBoolean'][_0x348863[_0x4a7e5b]])return'attributesBoolean:\x20boolean{k:string}\x20expected';}return null!=_0x40fc56['attributesJson']&&_0x40fc56['hasOwnProperty']('attributesJson')&&!_0xb39644['isString'](_0x40fc56['attributesJson'])?'attributesJson:\x20string\x20expected':null;},_0x14ff94['fromObject']=function(_0x929b5d,_0x5b2bd9){if(_0x929b5d instanceof _0x3c38d0['Element'])return _0x929b5d;if(void 0x0===_0x5b2bd9&&(_0x5b2bd9=0x0),_0x5b2bd9>_0xb39644['recursionLimit'])throw Error('maximum\x20nesting\x20depth\x20exceeded');var _0x76948e=new _0x3c38d0['Element']();if(null!=_0x929b5d['name']&&(_0x76948e['name']=String(_0x929b5d['name'])),_0x929b5d['children']){if(!Array['isArray'](_0x929b5d['children']))throw TypeError('.Element.children:\x20array\x20expected');_0x76948e['children']=[];for(var _0xbd8d86=0x0;_0xbd8d86<_0x929b5d['children']['length'];++_0xbd8d86){if('object'!=typeof _0x929b5d['children'][_0xbd8d86])throw TypeError('.Element.children:\x20object\x20expected');_0x76948e['children'][_0xbd8d86]=_0x3c38d0['Element']['fromObject'](_0x929b5d['children'][_0xbd8d86],_0x5b2bd9+0x1);}}if(null!=_0x929b5d['data']&&(_0x76948e['data']=String(_0x929b5d['data'])),_0x929b5d['attributesBoolean']){if('object'!=typeof _0x929b5d['attributesBoolean'])throw TypeError('.Element.attributesBoolean:\x20object\x20expected');_0x76948e['attributesBoolean']={};var _0x45ee7b=Object['keys'](_0x929b5d['attributesBoolean']);for(_0xbd8d86=0x0;_0xbd8d86<_0x45ee7b['length'];++_0xbd8d86)'__proto__'===_0x45ee7b[_0xbd8d86]&&_0xb39644['makeProp'](_0x76948e['attributesBoolean'],_0x45ee7b[_0xbd8d86]),_0x76948e['attributesBoolean'][_0x45ee7b[_0xbd8d86]]=Boolean(_0x929b5d['attributesBoolean'][_0x45ee7b[_0xbd8d86]]);}return null!=_0x929b5d['attributesJson']&&(_0x76948e['attributesJson']=String(_0x929b5d['attributesJson'])),_0x76948e;},_0x14ff94['toObject']=function(_0x23164f,_0x274332){_0x274332||(_0x274332={});var _0x3aa9ea,_0x57f785={};if((_0x274332['arrays']||_0x274332['defaults'])&&(_0x57f785['children']=[]),(_0x274332['objects']||_0x274332['defaults'])&&(_0x57f785['attributesBoolean']={}),_0x274332['defaults']&&(_0x57f785['name']='',_0x57f785['data']='',_0x57f785['attributesJson']=''),null!=_0x23164f['name']&&_0x23164f['hasOwnProperty']('name')&&(_0x57f785['name']=_0x23164f['name']),_0x23164f['children']&&_0x23164f['children']['length']){_0x57f785['children']=[];for(var _0xb5690d=0x0;_0xb5690d<_0x23164f['children']['length'];++_0xb5690d)_0x57f785['children'][_0xb5690d]=_0x3c38d0['Element']['toObject'](_0x23164f['children'][_0xb5690d],_0x274332);}if(null!=_0x23164f['data']&&_0x23164f['hasOwnProperty']('data')&&(_0x57f785['data']=_0x23164f['data']),_0x23164f['attributesBoolean']&&(_0x3aa9ea=Object['keys'](_0x23164f['attributesBoolean']))['length']){_0x57f785['attributesBoolean']={};for(_0xb5690d=0x0;_0xb5690d<_0x3aa9ea['length'];++_0xb5690d)'__proto__'===_0x3aa9ea[_0xb5690d]&&_0xb39644['makeProp'](_0x57f785['attributesBoolean'],_0x3aa9ea[_0xb5690d]),_0x57f785['attributesBoolean'][_0x3aa9ea[_0xb5690d]]=_0x23164f['attributesBoolean'][_0x3aa9ea[_0xb5690d]];}return null!=_0x23164f['attributesJson']&&_0x23164f['hasOwnProperty']('attributesJson')&&(_0x57f785['attributesJson']=_0x23164f['attributesJson']),_0x57f785;},_0x14ff94['prototype']['toJSON']=function(){return this['constructor']['toObject'](this,_0x371d34['default']['util']['toJSONOptions']);},_0x14ff94['getTypeUrl']=function(_0x3947a8){return void 0x0===_0x3947a8&&(_0x3947a8='type.googleapis.com'),_0x3947a8+'/Element';},_0x14ff94;}()),_0x3c38d0;})());var _0x29a6d4=class{['_protobufRoot'];constructor(){this['_protobufRoot']=_0x43e116;}['getDescriptor'](_0x2be3dc){return new _0x5b0454(this['_protobufRoot'][_0x2be3dc]);}},_0x5b0454=class{['_protobuf'];constructor(_0x50063b){this['_protobuf']=_0x50063b;}['compress'](_0x59768f){const _0x53f33c=this['_protobuf']['verify'](_0x59768f);if(_0x53f33c)throw Error(_0x53f33c);return this['_protobuf']['encode'](this['_protobuf']['create'](_0x59768f))['finish']();}['decompress'](_0x1f8370){return this['_protobuf']['toObject'](this['_protobuf']['decode'](_0x1f8370),{'oneofs':!0x0});}};function _0x121538(_0x180aa5,_0x3fa617){const _0x1e4e9f=wt(_0x180aa5);return _0x1e4e9f['path'][_0x1e4e9f['path']['length']-0x1]+=_0x3fa617,_0x1e4e9f;}function _0x62b839(_0x116cb7,_0x38575e){return _0x116cb7['root']===_0x38575e['root']&&ft(_0x116cb7['path'],_0x38575e['path']);}function _0x164e23(_0x5a2f95){_0x1d1c67(_0x5a2f95,_0x59016d=>('main'==_0x59016d['root']?(_0x59016d['rootMain']=!0x0,delete _0x59016d['root']):'$graveyard'==_0x59016d['root']&&(_0x59016d['rootGraveyard']=!0x0,delete _0x59016d['root']),_0x59016d));}function _0x5114a7(_0x57bfb9){_0x1d1c67(_0x57bfb9,_0x49d458=>(_0x49d458['rootMain']?(_0x49d458['root']='main',delete _0x49d458['rootMain']):_0x49d458['rootGraveyard']&&(_0x49d458['root']='$graveyard',delete _0x49d458['rootGraveyard']),_0x49d458));}function _0x1d1c67(_0x206bbf,_0x11f7e6){for(const _0xcd4f59 in _0x206bbf){const _0xc1a53=_0x206bbf[_0xcd4f59];'nodes'!==_0xcd4f59&&Vt(_0xc1a53)&&(_0xc1a53['path']&&(_0xc1a53['root']||_0xc1a53['rootMain']||_0xc1a53['rootGraveyard'])?_0x206bbf[_0xcd4f59]=_0x11f7e6(_0xc1a53):_0x1d1c67(_0xc1a53,_0x11f7e6));}return _0x206bbf;}var _0x4352ee=class{['_id'];['_operationName'];['_protobufDescriptor'];constructor(_0x4553f8,_0x1014c5,_0x2278bf){this['_id']=_0x4553f8,this['_operationName']=_0x1014c5,this['_protobufDescriptor']=_0x2278bf;}['compress'](_0x43c326,_0xc9681b){const _0x1cd112=_0xc9681b['operations'][_0xc9681b['index']++];return _0x164e23(_0x1cd112),_0x43c326['buffers']['push'](this['_protobufDescriptor']['compress'](_0x1cd112)),_0x43c326['types']['push'](this['_id']),!0x0;}['decompress'](_0x1dc131,_0x4479ad){_0x4479ad['typeIndex']++;const _0x5667c8=_0x4479ad['buffers'][_0x4479ad['bufferIndex']++],_0x1d13ca=this['_protobufDescriptor']['decompress'](_0x5667c8);_0x5114a7(_0x1d13ca),_0x1d13ca['__className']=this['_operationName'],_0x1dc131['push'](_0x1d13ca);}},_0x1f9105=class extends _0x4352ee{['compress'](_0x56872b,_0x5403f7){const _0x427668=_0x5403f7['operations'][_0x5403f7['index']++];return this['_serializeOneOf']('oldValue',_0x427668),this['_serializeOneOf']('newValue',_0x427668),_0x164e23(_0x427668),_0x56872b['buffers']['push'](this['_protobufDescriptor']['compress'](_0x427668)),_0x56872b['types']['push'](this['_id']),!0x0;}['decompress'](_0x11339a,_0x518a7d){_0x518a7d['typeIndex']++;const _0x41abaa=_0x518a7d['buffers'][_0x518a7d['bufferIndex']++],_0x3e0ab3=this['_protobufDescriptor']['decompress'](_0x41abaa);this['_deserializeOneOf']('oldValue',_0x3e0ab3),this['_deserializeOneOf']('newValue',_0x3e0ab3),_0x5114a7(_0x3e0ab3),_0x3e0ab3['__className']=this['_operationName'],_0x11339a['push'](_0x3e0ab3);}['_serializeOneOf'](_0x274ae4,_0x5d1888){const _0x1141d1=_0x5d1888[_0x274ae4];'boolean'==typeof _0x1141d1?_0x5d1888[_0x274ae4+'Boolean']=_0x1141d1:_0x5d1888[_0x274ae4+'Json']=JSON['stringify'](_0x1141d1);}['_deserializeOneOf'](_0x348251,_0x5b6472){const _0x1a9539=_0x348251+'Json';_0x5b6472[_0x1a9539]?(_0x5b6472[_0x348251]=JSON['parse'](_0x5b6472[_0x1a9539]),delete _0x5b6472[_0x1a9539]):(_0x5b6472[_0x348251]=_0x5b6472[_0x348251+'Boolean'],delete _0x5b6472[_0x348251+'Boolean']);}},_0x591f05=class extends _0x4352ee{['compress'](_0x35ef8d,_0x2bd558){const _0xefe0ad=_0x2bd558['operations'][_0x2bd558['index']++];return this['_serializeNodesAttributes'](_0xefe0ad['nodes']),_0x164e23(_0xefe0ad),_0x35ef8d['buffers']['push'](this['_protobufDescriptor']['compress'](_0xefe0ad)),_0x35ef8d['types']['push'](this['_id']),!0x0;}['decompress'](_0x1a01b2,_0x3bef9f){_0x3bef9f['typeIndex']++;const _0x4fffe5=_0x3bef9f['buffers'][_0x3bef9f['bufferIndex']++],_0x481bda=this['_protobufDescriptor']['decompress'](_0x4fffe5);_0x481bda['nodes']||(_0x481bda['nodes']=[]),this['_deserializeNodesAttributes'](_0x481bda['nodes']),_0x5114a7(_0x481bda),_0x481bda['__className']=this['_operationName'],_0x1a01b2['push'](_0x481bda);}['_serializeNodesAttributes'](_0x235ac3){for(const _0x1d97c6 of _0x235ac3){if(_0x1d97c6['attributes']){const _0x362838=_0x1d97c6['attributes'];this['_areValuesBoolean'](_0x362838)?_0x1d97c6['attributesBoolean']=_0x362838:_0x1d97c6['attributesJson']=JSON['stringify'](_0x362838);}_0x1d97c6['children']&&this['_serializeNodesAttributes'](_0x1d97c6['children']);}}['_deserializeNodesAttributes'](_0x53f391){for(const _0x3f7016 of _0x53f391)(_0x3f7016['attributesBoolean']||_0x3f7016['attributesJson'])&&(_0x3f7016['attributesBoolean']?(_0x3f7016['attributes']=_0x3f7016['attributesBoolean'],delete _0x3f7016['attributesBoolean']):(_0x3f7016['attributes']=JSON['parse'](_0x3f7016['attributesJson']),delete _0x3f7016['attributesJson'])),_0x3f7016['children']&&this['_deserializeNodesAttributes'](_0x3f7016['children']);}['_areValuesBoolean'](_0x1d95db){return Object['keys'](_0x1d95db)['every'](_0x1f648d=>'boolean'==typeof _0x1d95db[_0x1f648d]);}},_0x2984c4=class extends _0x4352ee{['decompress'](_0x31b374,_0x2274c9){super['decompress'](_0x31b374,_0x2274c9);const _0x475dec=_0x31b374[_0x31b374['length']-0x1];_0x475dec['oldRange']||(_0x475dec['oldRange']=null),_0x475dec['newRange']||(_0x475dec['newRange']=null);}},_0x4e8829=class extends _0x4352ee{['compress'](_0x2539c7,_0x1f45b0){return _0x1f45b0['index']++,_0x2539c7['types']['push'](this['_id']),!0x0;}['decompress'](_0xbc73da,_0x57411d){_0x57411d['typeIndex']++,_0xbc73da['push']({'__className':this['_operationName']});}},_0x46b615=class extends _0x2984c4{['_omittedNamespace'];constructor(_0x3d1ba6,_0x52f9b2,_0x1f85d2,_0x163853){super(_0x3d1ba6,_0x52f9b2,_0x1f85d2),this['_omittedNamespace']=_0x163853+':';}['compress'](_0x16aff5,_0x545550){const _0x46b398=_0x545550['operations'][_0x545550['index']];return!('MarkerOperation'!=_0x46b398['__className']||!_0x46b398['name']['startsWith'](this['_omittedNamespace']))&&(_0x46b398['name']=_0x46b398['name']['replace'](new RegExp('^'+this['_omittedNamespace']),''),super['compress'](_0x16aff5,_0x545550),!0x0);}['decompress'](_0x5ab992,_0xbb6b1a){super['decompress'](_0x5ab992,_0xbb6b1a);const _0xe07122=_0x5ab992[_0x5ab992['length']-0x1];_0xe07122['name']=this['_omittedNamespace']+_0xe07122['name'];}},_0x4f111d=class{['_id'];['_context'];constructor(_0x3eb263,_0x175648){this['_id']=_0x3eb263,this['_context']=_0x175648;}['compress'](_0x145768,_0x244a0e){let _0x4900e4,_0x1025dc=_0x244a0e['operations'][_0x244a0e['index']],_0x251377=_0x244a0e['operations'][_0x244a0e['index']+0x1];for(;_0x251377&&this['_compareOperations'](_0x1025dc,_0x251377);)_0x4900e4?(_0x4900e4=this['_combineNext'](_0x1025dc,_0x4900e4),_0x145768['types']['push'](0x0)):(_0x4900e4=wt(_0x1025dc),_0x145768['types']['push'](this['_id'])),_0x244a0e['index']++,_0x1025dc=_0x244a0e['operations'][_0x244a0e['index']],_0x251377=_0x244a0e['operations'][_0x244a0e['index']+0x1];return!!_0x4900e4&&(_0x4900e4=this['_combineNext'](_0x244a0e['operations'][_0x244a0e['index']++],_0x4900e4),_0x145768['types']['push'](0x0),_0x145768['buffers']['push'](this['_compressSingleOperation'](_0x4900e4)),!0x0);}['decompress'](_0x5b81cc,_0x17ebfa){const _0x593030=this['_decompressSingleOperation'](_0x17ebfa);for(;0x0==_0x17ebfa['types'][_0x17ebfa['typeIndex']];)_0x17ebfa['typeIndex']++,_0x5b81cc['push'](this['_splitCurrent'](_0x593030));_0x5b81cc['push'](_0x593030);}},_0x202e70=class extends _0x4f111d{['_combineNext'](_0x14c922,_0x5c7d68){return _0x5c7d68['nodes'][0x0]['data']+=_0x14c922['nodes'][0x0]['data'],_0x5c7d68;}['_splitCurrent'](_0x2db3ae){const _0x11e746=wt(_0x2db3ae),_0x18d15e=_0x11e746['nodes'][0x0],_0x136fec=_0x2db3ae['nodes'][0x0],_0x18933d=_0x136fec['data'][Symbol['iterator']]()['next']()['value'],_0x4640e9=_0x18933d['length'];return _0x18d15e['data']=_0x18933d,_0x136fec['data']=_0x136fec['data']['substr'](_0x4640e9),_0x2db3ae['position']=_0x121538(_0x2db3ae['position'],_0x4640e9),_0x11e746;}['_compareOperations'](_0x3ce448,_0x91bf7e){if(this['_checkOperation'](_0x3ce448)&&this['_checkOperation'](_0x91bf7e)){const _0x38f725=_0x3ce448['nodes'][0x0]['data']['length'],_0x53662d=_0x62b839(_0x121538(_0x3ce448['position'],_0x38f725),_0x91bf7e['position']),_0x313f33=_0x3ce448['nodes'][0x0],_0xbf56b8=_0x91bf7e['nodes'][0x0];return _0x53662d&&this['_compareAttributes'](_0x313f33,_0xbf56b8)&&_0x3ce448['_aiSource']==_0x91bf7e['_aiSource'];}return!0x1;}['_compressSingleOperation'](_0x202705){const _0x41eebe={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('InsertOperation')['compress'](_0x41eebe,{'operations':[_0x202705],'index':0x0}),_0x41eebe['buffers'][0x0];}['_decompressSingleOperation'](_0x352190){const _0x138265=[];return this['_context']['_getCompressorByName']('InsertOperation')['decompress'](_0x138265,_0x352190),_0x138265[0x0];}['_checkOperation'](_0x58d9f5){return'InsertOperation'==_0x58d9f5['__className']&&0x1==_0x58d9f5['nodes']['length']&&_0x58d9f5['nodes'][0x0]['data']&&!_0x58d9f5['wasUndone']&&0x1==Array['from'](_0x58d9f5['nodes'][0x0]['data'])['length'];}['_compareAttributes'](_0x2a7965,_0x10d4d7){const _0x9620a9=Object['keys'](_0x2a7965['attributes']||{}),_0xd60039=Object['keys'](_0x10d4d7['attributes']||{});return _0x9620a9['length']===_0xd60039['length']&&_0x9620a9['every'](_0x5d2a28=>_0x10d4d7['attributes'][_0x5d2a28]&&_0x10d4d7['attributes'][_0x5d2a28]===_0x2a7965['attributes'][_0x5d2a28]);}},_0x4886d2=class extends _0x4f111d{['_combineNext'](_0x4aefa2,_0x468397){return _0x468397['howMany']++,_0x468397['sourcePosition']=wt(_0x4aefa2['sourcePosition']),_0x468397;}['_splitCurrent'](_0x22723b){const _0x2ed85f=wt(_0x22723b);return _0x22723b['howMany']--,_0x2ed85f['howMany']=0x1,_0x2ed85f['sourcePosition']=_0x121538(_0x2ed85f['sourcePosition'],_0x22723b['howMany']),_0x2ed85f;}['_compareOperations'](_0x2e5fbf,_0x28f812){return!(!this['_checkOperation'](_0x2e5fbf)||!this['_checkOperation'](_0x28f812))&&(_0x62b839(_0x121538(_0x2e5fbf['sourcePosition'],-0x1),_0x28f812['sourcePosition'])&&_0x62b839(_0x2e5fbf['targetPosition'],_0x28f812['targetPosition'])&&_0x2e5fbf['_aiSource']==_0x28f812['_aiSource']);}['_compressSingleOperation'](_0x28884f){const _0x37ab92={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x37ab92,{'operations':[_0x28884f],'index':0x0}),_0x37ab92['buffers'][0x0];}['_decompressSingleOperation'](_0x2722c1){const _0x8bab9d=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x8bab9d,_0x2722c1),_0x8bab9d[0x0];}['_checkOperation'](_0x59a0b0){return'MoveOperation'==_0x59a0b0['__className']&&'$graveyard'==_0x59a0b0['targetPosition']['root']&&0x1==_0x59a0b0['howMany']&&!_0x59a0b0['wasUndone'];}},_0x5f3325=class extends _0x4f111d{['_combineNext'](_0x4732f4,_0x3bb94c){return _0x3bb94c['howMany']++,_0x3bb94c;}['_splitCurrent'](_0x5bbcba){const _0x461a2a=wt(_0x5bbcba);return _0x461a2a['howMany']=0x1,_0x5bbcba['howMany']--,_0x461a2a;}['_compareOperations'](_0x117805,_0x56fa40){return!(!this['_checkOperation'](_0x117805)||!this['_checkOperation'](_0x56fa40))&&(_0x62b839(_0x117805['sourcePosition'],_0x56fa40['sourcePosition'])&&_0x62b839(_0x117805['targetPosition'],_0x56fa40['targetPosition'])&&_0x117805['_aiSource']==_0x56fa40['_aiSource']);}['_compressSingleOperation'](_0x3e58b0){const _0x492e99={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MoveOperation')['compress'](_0x492e99,{'operations':[_0x3e58b0],'index':0x0}),_0x492e99['buffers'][0x0];}['_decompressSingleOperation'](_0x207ae5){const _0x7bd5c6=[];return this['_context']['_getCompressorByName']('MoveOperation')['decompress'](_0x7bd5c6,_0x207ae5),_0x7bd5c6[0x0];}['_checkOperation'](_0xbfb677){return'MoveOperation'==_0xbfb677['__className']&&'$graveyard'==_0xbfb677['targetPosition']['root']&&0x1==_0xbfb677['howMany']&&!_0xbfb677['wasUndone'];}},_0x407aa4=class extends _0x4f111d{['compress'](_0x1c2d0a,_0x592dd6){if(!this['_compareOperations'](_0x592dd6['operations'][_0x592dd6['index']],_0x592dd6['operations'][_0x592dd6['index']+0x1]))return!0x1;const _0x4a9e85=_0x592dd6['operations'][_0x592dd6['index']++];return _0x4a9e85['oldRange']=null,_0x4a9e85['newRange']&&_0x62b839(_0x4a9e85['newRange']['start'],_0x4a9e85['newRange']['end'])&&(_0x4a9e85['newRange']['end']=null),_0x592dd6['index']++,_0x1c2d0a['types']['push'](this['_id']),_0x1c2d0a['types']['push'](0x0),_0x1c2d0a['buffers']['push'](this['_compressSingleOperation'](_0x4a9e85)),!0x0;}['decompress'](_0x4a368b,_0x361acb){const _0x2260f2=this['_decompressSingleOperation'](_0x361acb);_0x2260f2['newRange']&&!_0x2260f2['newRange']['end']&&(_0x2260f2['newRange']['end']=wt(_0x2260f2['newRange']['start']));const _0x1bbbbf=wt(_0x2260f2);_0x1bbbbf['newRange']&&(_0x1bbbbf['newRange']['start']['stickiness']='toNone',_0x1bbbbf['newRange']['end']=wt(_0x1bbbbf['newRange']['start'])),_0x1bbbbf['name']='user:position:'+_0x1bbbbf['name']['split'](':')[0x2],_0x361acb['typeIndex']++,_0x4a368b['push'](_0x2260f2),_0x4a368b['push'](_0x1bbbbf);}['_compressSingleOperation'](_0x2c0d5d){const _0x8b671c={'types':[],'buffers':[],'baseVersion':0x0};return this['_context']['_getCompressorByName']('MarkerOperation')['compress'](_0x8b671c,{'operations':[_0x2c0d5d],'index':0x0}),_0x8b671c['buffers'][0x0];}['_decompressSingleOperation'](_0x4c2f9b){const _0x136d24=[];return this['_context']['_getCompressorByName']('MarkerOperation')['decompress'](_0x136d24,_0x4c2f9b),_0x136d24[0x0];}['_compareOperations'](_0x3969fc,_0x1e8c4d){return!(!_0x3969fc||!_0x1e8c4d)&&('MarkerOperation'==_0x3969fc['__className']&&'MarkerOperation'==_0x1e8c4d['__className']&&!(!_0x3969fc['name']['startsWith']('user:')||!_0x1e8c4d['name']['startsWith']('user:')||_0x3969fc['name']==_0x1e8c4d['name']));}},_0x120420=class{['_compressorById'];['_compressorByName'];['_protobufFactory'];constructor(){this['_compressorById']=new Map(),this['_compressorByName']=new Map(),this['_protobufFactory']=new _0x29a6d4();const _0x45cac0=this['_protobufFactory']['getDescriptor']('MarkerOperation');this['_registerCompressor'](0x1,'NoOperation',new _0x4e8829(0x1,'NoOperation',void 0x0)),this['_registerOperationCompressor'](0xa,'AttributeOperation',_0x1f9105),this['_registerOperationCompressor'](0xb,'InsertOperation',_0x591f05),this['_registerOperationCompressor'](0xc,'MarkerOperation',_0x2984c4),this['_registerOperationCompressor'](0xd,'MergeOperation',_0x4352ee),this['_registerOperationCompressor'](0xe,'MoveOperation',_0x4352ee),this['_registerOperationCompressor'](0xf,'RenameOperation',_0x4352ee),this['_registerOperationCompressor'](0x10,'RootAttributeOperation',_0x1f9105),this['_registerOperationCompressor'](0x11,'SplitOperation',_0x4352ee),this['_registerCompressor'](0x12,'CommentMarkerOperation',new _0x46b615(0x12,'MarkerOperation',_0x45cac0,'comment')),this['_registerCompressor'](0x13,'SuggestionMarkerOperation',new _0x46b615(0x13,'MarkerOperation',_0x45cac0,'suggestion')),this['_registerOperationCompressor'](0x14,'RootOperation',_0x4352ee),this['_registerActionCompressor'](0x64,'TypingAction',_0x202e70),this['_registerActionCompressor'](0x65,'DeletingAction',_0x4886d2),this['_registerActionCompressor'](0x66,'ForwardDeletingAction',_0x5f3325),this['_registerActionCompressor'](0x67,'UserSelectionAction',_0x407aa4);}['compress'](_0x53b8c0){if(!_0x53b8c0||!_0x53b8c0[0x0])throw new _0x14e616['CKEditorError']('no-operations-provided',this);const _0x209f24={'operations':_0x53b8c0,'index':0x0},_0x5d27bc={'types':[],'buffers':[],'baseVersion':_0x53b8c0[0x0]['baseVersion']};for(;_0x209f24['index']<_0x209f24['operations']['length'];){if(this['_getCompressorByName']('UserSelectionAction')['compress'](_0x5d27bc,_0x209f24))continue;if(this['_getCompressorByName']('TypingAction')['compress'](_0x5d27bc,_0x209f24))continue;if(this['_getCompressorByName']('DeletingAction')['compress'](_0x5d27bc,_0x209f24))continue;if(this['_getCompressorByName']('ForwardDeletingAction')['compress'](_0x5d27bc,_0x209f24))continue;if(this['_getCompressorByName']('CommentMarkerOperation')['compress'](_0x5d27bc,_0x209f24))continue;if(this['_getCompressorByName']('SuggestionMarkerOperation')['compress'](_0x5d27bc,_0x209f24))continue;const _0x24c089=_0x209f24['operations'][_0x209f24['index']]['__className'];this['_getCompressorByName'](_0x24c089)['compress'](_0x5d27bc,_0x209f24);}return _0x5d27bc;}['decompress'](_0x393714){const _0x586b6b=[],_0x407c20={'types':_0x393714['types'],'buffers':_0x393714['buffers'],'baseVersion':_0x393714['baseVersion'],'typeIndex':0x0,'bufferIndex':0x0};for(;_0x407c20['typeIndex']<_0x407c20['types']['length'];){const _0x3bed22=_0x407c20['types'][_0x407c20['typeIndex']],_0x219b20=this['_compressorById']['get'](_0x3bed22);if(!_0x219b20)throw new _0x14e616['CKEditorError']('decompress-compressor-not-found',this,{'type':_0x3bed22});_0x219b20['decompress'](_0x586b6b,_0x407c20);}return _0x586b6b['forEach']((_0x283723,_0x38c428)=>_0x283723['baseVersion']=_0x393714['baseVersion']+_0x38c428),_0x586b6b;}['_getCompressorByName'](_0x261e2c){return this['_compressorByName']['get'](_0x261e2c);}['_registerOperationCompressor'](_0x43598a,_0x53a37d,_0x2c1460){const _0x2d6815=new _0x2c1460(_0x43598a,_0x53a37d,this['_protobufFactory']['getDescriptor'](_0x53a37d));this['_registerCompressor'](_0x43598a,_0x53a37d,_0x2d6815);}['_registerActionCompressor'](_0x53037f,_0x5a60a4,_0x482d90){const _0x2bc95f=new _0x482d90(_0x53037f,this);this['_registerCompressor'](_0x53037f,_0x5a60a4,_0x2bc95f);}['_registerCompressor'](_0x34c712,_0x1323c1,_0x441636){this['_compressorById']['set'](_0x34c712,_0x441636),this['_compressorByName']['set'](_0x1323c1,_0x441636);}};let _0x29b2d1=0x1;var _0x447b7c=class RealTimeCollaborationClient extends _0x14e616['Plugin']{static ['CollaborativeEditingService']=/* #__PURE__ -- @preserve */
((()=>_0x6ed5f6)());['_offset'];['sessionId'];['serverHistory'];['_channelId'];['_service'];['_document'];['_compressor'];['_bufferedOperations'];['_knownOperations'];['_knownRootNames'];['_pendingAction'];['_hasSelectionChanged'];['_sendBufferedOperationsDelayId'];['_baseBufferDelay'];['_currentBufferDelay'];['_lastSyncedOperationId'];['_disconnectionOperations'];['_operationIdentifier'];static get['requires'](){return[_0x139077,_0x8848f6,_0x47ebea,_0x14e616['PendingActions'],_0x17484f,_0x14e616['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 _0x410fef=this['serverHistory']['getOperations']();for(let _0x2db27c=_0x410fef['length']-0x1;_0x2db27c>=0x0;_0x2db27c--){const _0xb0e24=_0x410fef[_0x2db27c];if(!this['_disconnectionOperations']['has'](_0xb0e24))return _0xb0e24['baseVersion']+0x1-this['_offset'];}return 0x0;}constructor(_0x3a48ce){if(super(_0x3a48ce),this['_offset']=0x0,this['sessionId']=null,this['serverHistory']=new _0x14e616['History'](),this['editor']['config']['define']('collaboration',{}),this['_channelId']=this['editor']['config']['get']('collaboration.channelId'),!this['_channelId'])throw new _0x14e616['CKEditorError']('collaboration-missing-channelid',this);const _0x2dead8=_0x3a48ce['config']['get']('cloudServices.bundleVersion')||_0x14e616['version'];this['_service']=new RealTimeCollaborationClient['CollaborativeEditingService'](_0x2dead8,this['_channelId']),this['_document']=this['editor']['model']['document'],this['_compressor']=new _0x120420(),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 _0x269c4c(this['_disconnectionOperations']);}['init'](){const _0x217a1e=this['editor'],_0x25b4c4=_0x217a1e['plugins']['get'](_0x17484f),_0x26d4f8=_0x217a1e['plugins']['get'](_0x139077);this['listenTo'](_0x25b4c4,'getOperationAuthor',(_0x3dbc8b,_0x19f677)=>{const _0x2dba88=_0x19f677[0x0];_0x2dba88['_authorId']&&(_0x3dbc8b['return']=_0x25b4c4['getUser'](_0x2dba88['_authorId']),_0x3dbc8b['stop']()),null===_0x2dba88['_authorId']&&(_0x3dbc8b['return']=null,_0x3dbc8b['stop']());},{'priority':'high'}),this['listenTo'](_0x217a1e['model']['document']['selection'],'change:range',(_0x498d0a,_0x3d5271)=>{_0x3d5271['directChange']&&this['_refreshUserSelectionMarkers']();}),this['listenTo'](_0x217a1e['editing']['view'],'change:hasDomSelection',()=>{this['_refreshUserSelectionMarkers']();}),this['_initThrowingOnDataSet'](),_0x217a1e['model']['on']('applyOperation',(_0x41b49f,_0x2049c4)=>{const _0x156223=_0x2049c4[0x0];_0x156223['isDocumentOperation']&&(this['_saveOperationInBuffer'](_0x156223),this['_shouldSendUpdate']()&&this['_sendBufferedOperationsDelayed']());}),this['_setUpDataInit'](),this['set']('_isChannelFlushed',!0x1),this['bind']('_isEditingAllowed')['to'](_0x26d4f8,'state',this,'_hasSynchronizationProblem',this,'_isChannelFlushed',(_0x5522d0,_0x242e10,_0x2ab9c1)=>'connected'===_0x5522d0&&!_0x242e10&&!_0x2ab9c1),this['on']('change:_isEditingAllowed',()=>{this['_isEditingAllowed']?_0x217a1e['disableReadOnlyMode']('rtc-offline'):_0x217a1e['enableReadOnlyMode']('rtc-offline');}),this['_isEditingAllowed']?_0x217a1e['disableReadOnlyMode']('rtc-offline'):_0x217a1e['enableReadOnlyMode']('rtc-offline'),this['set']('_isConnected',!0x1);}async['reconnect'](){const _0x431796=this['editor']['plugins']['get'](_0x8848f6),_0x31b05d=this['editor']['plugins']['get'](_0x139077);try{this['_isPendingUpdate']=!0x0,_0x431796['unregister'](this['_channelId']);const _0x543d42=await this['_service']['reconnect'](_0x31b05d['connection'],this['lastSyncVersion']);await this['_handleReconnectionResponse'](_0x543d42)&&(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());const _0x735637=await this['_service']['getConnectedSessions']();_0x431796['register'](this['_channelId'],_0x735637),this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}catch(_0x11805a){if(function(_0x5ae4c5){return'404'===_0x5ae4c5['code'];}(_0x11805a)&&this['sessionId'])await this['_connectAfterSessionHasBeenFlushed']();else{if(function(_0x4a35d0){return'409'===_0x4a35d0['code'];}(_0x11805a)){const _0x226524=_0x2fa3d6(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'](_0x226524);}else{if(!(_0x11805a instanceof _0x12ff4a))throw _0x11805a;this['_handleReconnectionError']();}}}}['destroy'](){const _0x5c8d0a=this['editor']['plugins']['get'](_0x139077),_0x105329=this['editor']['plugins']['get'](_0x8848f6);this['editor']['enableReadOnlyMode']('rtc-destroyed'),_0x105329['channelSessions']['has'](this['_channelId'])&&_0x105329['unregister'](this['_channelId']),_0x5c8d0a['removeFromReconnectionStack'](this),this['_disconnectService'](),super['destroy']();}async['_handleReconnectionResponse'](_0x34703d){if(this['sessionId']!==_0x34703d['sessionId']&&this['_lastSyncedOperationId']!==_0x34703d['lastOperationId'])throw new _0x12ff4a();return this['sessionId']=_0x34703d['sessionId'],this['_handleServerResponse']([],{..._0x34703d,'wereChangesApplied':!0x1,'data':_0x34703d['data']},'reconnect');}async['_connectService'](_0x10a146,_0x15b7c9=!0x1){const {connection:_0x357637}=this['editor']['plugins']['get'](_0x139077);RealTimeCollaborationClient['CollaborativeEditingService']['getConnectedSessions'](_0x357637,this['_channelId'])['then'](_0x371f32=>this['_initSessionsHandling'](_0x371f32))['catch'](_0x2e2c86=>{this['_crash']('realtimecollaborationclient-init-session-connection-error',_0x2e2c86);}),this['listenTo'](this['_service'],'operationsReceived',this['_handleReceivedOperations']['bind'](this)),this['listenTo'](this['_service'],'error',(_0x9d7822,_0xbfe91a)=>{this['_crash']('realtimecollaborationclient-init-service-internal-error',_0xbfe91a);}),this['listenTo'](this['_service'],'disconnected',()=>{this['_handleChannelDisconnected']();});const _0x3240bd=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x10a146);this['_isPendingUpdate']=!0x0;const _0x2112f7=await this['_service']['connect'](_0x357637,this['_compressOperations'](_0x10a146),_0x3240bd);if(this['sessionId']=_0x2112f7['sessionId'],_0x15b7c9){if(!_0x2112f7['wereChangesApplied'])return void this['_handleReconnectionError']();this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['serverHistory']['reset'](),this['_offset']=_0x2112f7['offset'],this['serverHistory']['version']=this['_offset'],await this['_handleServerResponse'](_0x10a146,_0x2112f7,'reconnection:\x20flushed\x20session');}else await this['_handleInitialConnectionData'](_0x2112f7,_0x10a146);this['_handleSendingSelectionMarkers'](),this['_isConnected']=!0x0;}['_handleSendingSelectionMarkers'](){const _0x4739ae=this['editor']['plugins']['get'](_0x8848f6),_0x1b09e0=this['editor']['plugins']['get'](_0x47ebea),_0x411d8d=_0x4739ae['channelSessions']['get'](this['_channelId']);_0x411d8d&&_0x411d8d['length']>0x1?_0x1b09e0['createUserMarkerOperations']():this['listenTo'](_0x4739ae,'sessionAdd:'+this['_channelId'],()=>{0x2===_0x4739ae['channelSessions']['get'](this['_channelId'])['length']&&_0x1b09e0['createUserMarkerOperations']();});}async['_handleReceivedOperations'](_0x42797f,_0x4f363f,_0x5ec5f9,_0x43ab50){if(!this['_isPendingUpdate']&&this['_document']['version']==_0x4f363f){const _0x1599b8=this['_decompressOperations'](_0x5ec5f9,_0x43ab50);await this['_fetchMissingUsers'](_0x1599b8),this['_handleExternalOperations'](_0x1599b8,_0x4f363f,_0x5ec5f9['lastOperationId'])||this['_crash']('realtimecollaborationclient-init-service-incorrect-server-operation');}}async['_connectAfterSessionHasBeenFlushed'](){this['_disconnectService']();const {locale:_0x496fd1}=this['editor'];let _0x358127;try{_0x358127=await this['_service']['getDocumentDetails']();}catch{const _0x5881b9=_0x2fa3d6(_0x496fd1,'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'](_0x5881b9);}const _0x1d799b=_0x358127['currentDocumentSession']||_0x358127['lastDocumentSession'];if(this['_lastSyncedOperationId']!==_0x1d799b['lastOperationId']){const _0x44ece3=_0x2fa3d6(_0x496fd1,'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 void this['_handleReconnectionError'](_0x44ece3);}await this['_connectService'](this['editor']['model']['document']['history']['getOperations'](),!0x0);}['_handleChannelDisconnected'](){const _0xa9d9cb=this['editor']['plugins']['get'](_0x139077);if(this['_isConnected']=!0x1,!_0xa9d9cb['connection']||'connected'!==_0xa9d9cb['connection']['state'])return;this['_isChannelFlushed']=!0x0;const _0x1f5e17=this['editor']['plugins']['get'](_0x8848f6);_0x1f5e17['channelSessions']['has'](this['_channelId'])&&_0x1f5e17['unregister'](this['_channelId']),_0xa9d9cb['removeFromReconnectionStack'](this),this['_disconnectService']();}['_disconnectService'](){this['_service']['disconnect'](),this['_bufferedOperations']=[],clearTimeout(this['_sendBufferedOperationsDelayId']),this['_isPendingUpdate']=!0x1,this['_clearPendingAction'](),this['stopListening'](this['_service']);}['_initSessionsHandling'](_0x4987c4){const _0x44f4cc=this['editor']['plugins']['get'](_0x8848f6);this['listenTo'](_0x44f4cc,'sessionAdd:'+this['_channelId'],(_0x50e931,{session:_0x3034f7})=>{if(_0x3034f7['id']===_0x44f4cc['mySessionId']){_0x50e931['off']();const _0x33712d=this['editor']['plugins']['has']('CommentsOnly')&&this['editor']['plugins']['get']('CommentsOnly');let _0x2e665f=_0x3034f7['permissions'];_0x33712d&&_0x33712d['isEnabled']&&(_0x2e665f=_0x2e665f['filter'](_0x4e1500=>'document:write'!==_0x4e1500)),this['editor']['plugins']['get']('Permissions')['setPermissions'](_0x2e665f,this['_channelId']);}}),_0x44f4cc['register'](this['_channelId'],_0x4987c4);}['_initThrowingOnDataSet'](){const _0x18cfe2=this['editor']['data']['set'];this['editor']['data']['set']=(..._0x2d8ac7)=>{if(!_0x2d8ac7[_0x2d8ac7['length']-0x1]['suppressErrorInCollaboration'])throw new _0x14e616['CKEditorError']('realtimecollaborationclient-editor-setdata-and-editor-data-set-are-forbidden-in-real-time-collaboration',this);_0x18cfe2['apply'](this['editor']['data'],_0x2d8ac7);};}['_setUpDataInit'](){this['editor']['data']['on']('init',(_0x348353,[_0x26f77f])=>{if(this['_document']['version'])throw new _0x14e616['CKEditorError']('realtimecollaborationclient-init-document-already-initialized',this);_0x348353['stop'](),this['_setPendingAction']();const _0x57c0ba=Object['fromEntries'](Object['entries'](this['editor']['config']['get']('roots')||{})['filter'](([,_0x5e9396])=>!_0x5e9396['lazyLoad'])['map'](([_0x5985c8,_0x498f57])=>[_0x5985c8,_0x498f57['modelAttributes']||{}])),_0x1d0e31=this['_getOperationsFromInitData'](_0x26f77f,_0x57c0ba);0x0==_0x1d0e31['length']&&_0x1d0e31['push'](new _0x14e616['NoOperation'](0x0)),_0x348353['return']=this['_connectService'](_0x1d0e31)['then'](()=>{this['editor']['plugins']['get'](_0x139077)['addToReconnectionStack'](this),this['editor']['data']['fire']('ready');})['catch'](_0x26f6a3=>this['_crash']('realtimecollaborationclient-init-connection-failed',_0x26f6a3))['finally'](()=>this['_clearPendingAction']());},{'priority':'high'}),this['editor']['on']('loadRoot',async(_0x44b94c,[_0x160a9b,_0x4a2222])=>{_0x44b94c['stop']();const _0x19360a=this['editor']['model']['document']['getRoot'](_0x160a9b);if(!this['_knownRootNames']['has'](_0x160a9b)){const _0x5e2aa1=_0x4a2222&&_0x4a2222['data']?_0x4a2222['data']:'',_0x11bdba=_0x4a2222&&_0x4a2222['attributes']?_0x4a2222['attributes']:{};await this['_loadRoot'](_0x160a9b,_0x5e2aa1,_0x11bdba);}this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x19360a['_isLoaded']=!0x0,this['editor']['model']['document']['differ']['_bufferRootLoad'](_0x19360a);});},{'priority':'high'});}async['_fetchMissingUsers'](_0x1fb942){const _0x236f20=this['editor']['plugins']['get'](_0x17484f),{connection:_0x8665e7}=this['editor']['plugins']['get'](_0x139077),_0x37bfad=new Set();for(const _0x281507 of _0x1fb942){const _0xf0d6f2=_0x281507['_authorId'];_0xf0d6f2&&!_0x236f20['getUser'](_0xf0d6f2)&&_0x37bfad['add'](_0xf0d6f2);}if(0x0===_0x37bfad['size'])return;const _0xcb7278=await _0x21bf6e['getMany'](_0x8665e7,Array['from'](_0x37bfad));for(const _0x65a1cb of _0xcb7278)_0x236f20['getUser'](_0x65a1cb['id'])||_0x236f20['addUser'](_0x65a1cb);}['_getOperationsFromInitData'](_0xcb02eb,_0x173b52={}){const _0x531093=this['editor']['model'],_0xbb243c=[];let _0x5245c7=0x0;const _0xe3d2be='string'==typeof _0xcb02eb?{'main':_0xcb02eb}:_0xcb02eb;for(const _0x1f5bc3 of Object['keys'](_0xe3d2be)){if(!this['_document']['roots']['has'](_0x1f5bc3))throw new _0x14e616['CKEditorError']('realtimecollaborationclient-init-non-existent-root',this);const _0x264fb4=this['_document']['getRoot'](_0x1f5bc3),_0x472ffe=this['editor']['data']['parse'](_0xe3d2be[_0x1f5bc3],_0x264fb4),_0x37abed=new _0x14e616['InsertOperation'](_0x531093['createPositionAt'](_0x264fb4,0x0),_0x472ffe,_0x5245c7++);_0xbb243c['push'](_0x37abed);for(const [_0x5a9813,_0x953993]of _0x472ffe['markers']){const _0x836a6=new _0x14e616['MarkerOperation'](_0x5a9813,null,_0x531093['createRange'](_0x531093['createPositionFromPath'](_0x264fb4,_0x953993['start']['path']['slice']()),_0x531093['createPositionFromPath'](_0x264fb4,_0x953993['end']['path']['slice']())),_0x531093['markers'],!0x0,_0x5245c7++);_0xbb243c['push'](_0x836a6);}}if(_0x173b52)for(const [_0x3e6489,_0x318d88]of Object['entries'](_0x173b52)){const _0x1dfeb7=_0x531093['document']['getRoot'](_0x3e6489);if(!_0x1dfeb7)throw new _0x14e616['CKEditorError']('multi-root-editor-root-attributes-no-root',null);for(const [_0x3af225,_0xd220b8]of Object['entries'](_0x318d88))if(null!==_0xd220b8){const _0x2c818c=new _0x14e616['RootAttributeOperation'](_0x1dfeb7,_0x3af225,null,_0xd220b8,_0x5245c7++);_0xbb243c['push'](_0x2c818c);}}return _0xbb243c;}async['_loadRoot'](_0x164c52,_0x427d4b,_0x1e5152){this['_getOperationsFromInitData']({[_0x164c52]:_0x427d4b},{[_0x164c52]:_0x1e5152})['forEach']((_0x22cab,_0x27cf4f)=>{_0x22cab['baseVersion']=this['_document']['version']+_0x27cf4f,_0x22cab['_isInit']=!0x0,this['_saveOperationInBuffer'](_0x22cab);}),this['_sendBufferedOperationsDelayed'](),await this['_waitUntilSynced']();}async['_handleInitialConnectionData'](_0x32974c,_0x678751){let _0x4ec882;this['_offset']=_0x32974c['offset'];const _0x33fd61=_0x32974c['wereChangesApplied']&&!_0x32974c['initData'],_0x169b55=_0x33fd61?0x0:_0x32974c['data']['baseVersion'];if(_0x678751['forEach'](_0x5cb7ee=>{_0x5cb7ee['_isInit']=!0x0,_0x5cb7ee['createdAt']=_0x32974c['sessionCreatedAt'],_0x5cb7ee['_authorId']=null;}),_0x33fd61)_0x4ec882=_0x678751,this['_applyOperationsSet'](_0x4ec882,_0x33fd61);else{if(_0x32974c['initData']){const _0x4b0127=this['_getOperationsFromInitData'](_0x32974c['initData']);this['_document']['history']['version']=-_0x4b0127['length'],_0x4b0127['forEach'](_0x3e5eaa=>{_0x3e5eaa['baseVersion']-=_0x4b0127['length'],_0x3e5eaa['createdAt']=_0x32974c['sessionCreatedAt'],_0x3e5eaa['_isInit']=!0x0,_0x3e5eaa['_authorId']=null;}),this['_applyOperationsSet'](_0x4b0127,!0x0),this['serverHistory']['version']=-_0x4b0127['length']+this['_offset'],this['_updateServerHistory'](_0x4b0127);}this['_document']['history']['version']=_0x169b55,_0x4ec882=this['_decompressOperations'](_0x32974c['data'],_0x32974c['metadata']),await this['_fetchMissingUsers'](_0x4ec882),this['_applyOperationsSet'](_0x4ec882,_0x33fd61);}_0x32974c['lastOperationId']&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x4ec882,_0x32974c['lastOperationId']),this['_lastSyncedOperationId']=_0x32974c['lastOperationId']),this['serverHistory']['version']=_0x169b55+this['_offset'],this['_updateServerHistory'](_0x4ec882),_0x678751['filter'](_0x32ae71=>{const _0x15fe30=this['_getAffectedRoot'](_0x32ae71);return _0x15fe30&&!this['_knownRootNames']['has'](_0x15fe30);})['forEach']((_0x36ce06,_0x42c48a)=>{_0x36ce06['baseVersion']=this['_document']['version']+_0x42c48a,this['_saveOperationInBuffer'](_0x36ce06);}),this['_shouldSendUpdate']()?(this['_currentBufferDelay']=0x0,this['_sendBufferedOperationsDelayed'](!0x0),await this['_waitUntilSynced']()):(this['_isPendingUpdate']=!0x1,this['_clearPendingAction']());}['_crash'](_0x4f401e,_0x15c4ab){const _0xad8be7=_0x15c4ab&&_0x15c4ab['message'];if(_0xad8be7&&_0xad8be7['startsWith']('realtimecollaborationclient'))throw _0x15c4ab;const _0xd0f4bf=this['editor']['plugins']['get'](_0x139077);throw this['_isPendingUpdate']=!0x0,_0xd0f4bf['disconnect'](),this['editor']['enableReadOnlyMode']('realtimecollaborationclient-error'),new _0x14e616['CKEditorError'](_0x4f401e,this['editor'],_0xad8be7?{'originalError':_0xad8be7}:void 0x0);}['_saveOperationInBuffer'](_0x1f2727){this['_knownOperations']['has'](_0x1f2727)||(this['_knownOperations']['add'](_0x1f2727),this['_bufferedOperations']['push'](_0x1f2727),this['_pendingAction']||'marker'==_0x1f2727['type']&&!_0x1f2727['affectsData']||this['_setPendingAction']());}['_sendBufferedOperationsDelayed'](_0x500dce=!0x1){!_0x500dce&&this['_isPendingUpdate']||(this['_isPendingUpdate']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_sendBufferedOperationsDelayId']=setTimeout(()=>{this['_sendBufferedOperations']()['then'](_0xf7f3f8=>{_0xf7f3f8&&(this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1);})['catch'](_0xc901de=>{this['_clearPendingAction'](),this['_isPendingUpdate']=!0x1,function(_0x391211){return _0x391211['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x391211['message']['startsWith']('cloud-services-internal-error:\x20Collaborative\x20Editing\x20Service\x20is\x20not\x20connected.')||_0x391211['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}(_0xc901de)||this['_crash'](_0xc901de['message'],_0xc901de);});},this['_currentBufferDelay']));}['_waitUntilSynced'](){return new Promise(_0x3997e5=>{this['on']('change:_isPendingUpdate',()=>{_0x3997e5();});});}async['_sendBufferedOperations'](){const _0x575221=this['editor']['plugins']['get'](_0x47ebea);if(this['_shouldSendSelectionUpdate']()&&(_0x575221['createUserMarkerOperations'](),this['_hasSelectionChanged']=!0x1),!this['_shouldSendUpdate']())return!0x0;const _0x302b1e=[...this['_bufferedOperations']];for(const _0x4de4e4 of _0x302b1e)_0x4de4e4['wasUndone']=this['_document']['history']['isUndoneOperation'](_0x4de4e4);const _0x244874=this['_operationIdentifier']['getIdOfTheLastOperation'](_0x302b1e),_0x36e469=_0x29b2d1++,_0x3056e0=this['_compressOperations'](_0x302b1e),_0x277a77=await this['_service']['sendOperations'](_0x3056e0,_0x3056e0['baseVersion'],_0x244874);try{return await this['_handleServerResponse'](_0x302b1e,_0x277a77,_0x36e469);}catch(_0x3615f5){return this['_crash']('realtimecollaborationclient-sendbufferedoperations',_0x3615f5);}}async['_handleServerResponse'](_0x5d00b9,_0x19f7a3,_0x120b1a){if('error'in _0x19f7a3)throw _0x19f7a3['error'];let _0x193ec1=!0x1;if(_0x19f7a3['wereChangesApplied']){_0x19f7a3['lastOperationId']&&(this['_lastSyncedOperationId']=_0x19f7a3['lastOperationId']),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x4fbf6d=>!_0x5d00b9['includes'](_0x4fbf6d));for(const _0x90e63d of _0x5d00b9)_0x90e63d['createdAt']='lastOperationAcceptedAt'in _0x19f7a3&&_0x19f7a3['lastOperationAcceptedAt']||void 0x0;_0x1e89fd(_0x5d00b9,_0x19f7a3['version']-_0x5d00b9['length']),this['_updateServerHistory'](_0x5d00b9);const _0x913c9e=_0x5d00b9['filter'](_0x1014a3=>{if(!_0x1014a3['_isInit'])return!0x1;const _0x32dd51=this['_getAffectedRoot'](_0x1014a3);return _0x32dd51&&!this['_knownRootNames']['has'](_0x32dd51);});_0x1e89fd(_0x913c9e,this['_document']['version']),this['_applyOperationsSet'](_0x913c9e),_0x193ec1=!0x0,this['_currentBufferDelay']=this['_baseBufferDelay'];}else{const _0x3ca71b=this['_decompressOperations'](_0x19f7a3['data'],_0x19f7a3['metadata'])['filter'](_0x520f11=>_0x520f11['baseVersion']>=this['_lastServerVersion']);_0x3ca71b['forEach'](_0x392da5=>this['_addKnownRoot'](_0x392da5)),this['_bufferedOperations']=this['_bufferedOperations']['filter'](_0x5f49ad=>!_0x5f49ad['_isInit']||!this['_knownRootNames']['has'](this['_getAffectedRoot'](_0x5f49ad))),this['_bufferedOperations']['length']&&_0x1e89fd(this['_bufferedOperations'],this['_bufferedOperations'][0x0]['baseVersion']),await this['_fetchMissingUsers'](_0x3ca71b),_0x193ec1=this['_handleExternalOperations'](_0x3ca71b,_0x19f7a3['version'],_0x19f7a3['lastOperationId']),this['_currentBufferDelay']=Math['round'](this['_currentBufferDelay']/0x2);}return _0x193ec1?!this['_shouldSendUpdate']()||(this['_sendBufferedOperationsDelayed'](!0x0),!0x1):this['_crash']('realtimecollaborationclient-handleserverresponse');}['_handleExternalOperations'](_0x28fb32,_0x34ecd1,_0x2b3b13){try{const _0x4aecb3={'document':this['_document'],'useRelations':!0x1,'padWithNoOps':!0x0},{operationsA:_0x4d6a67,operationsB:_0x2d4774,originalOperations:_0x1a6915}=(0x0,_0x14e616['transformOperationSets'])(_0x28fb32,this['_bufferedOperations'],_0x4aecb3);_0x1e89fd(_0x4d6a67,this['_document']['version']),_0x1e89fd(_0x2d4774,_0x34ecd1);for(const _0x88b1c4 of _0x4d6a67){const _0x377efd=_0x1a6915['get'](_0x88b1c4);_0x377efd?(_0x88b1c4['_authorId']=_0x377efd['_authorId'],'noop'!==_0x88b1c4['type']&&(_0x88b1c4['_aiSource']=_0x377efd['_aiSource'])):_0x88b1c4['_authorId']=null;}for(const _0x168b9c of _0x2d4774)'noop'!==_0x168b9c['type']&&(_0x168b9c['_aiSource']=_0x1a6915['get'](_0x168b9c)?.['_aiSource']);_0x2b3b13&&(this['_operationIdentifier']['setIdForTheLastOperation'](_0x28fb32,_0x2b3b13),this['_lastSyncedOperationId']=_0x2b3b13),this['_bufferedOperations']=[..._0x2d4774],this['_applyOperationsSet'](_0x4d6a67),this['_updateServerHistory'](_0x28fb32);}catch(_0x1ed861){return console['error'](_0x1ed861),!0x1;}return!0x0;}['_applyOperationsSet'](_0x1b70d4,_0xffb109=!0x1){this['editor']['model']['enqueueChange']({'isUndoable':!0x1,'isLocal':!0x1},_0x3bdfac=>{for(const _0x1fe8df of _0x1b70d4)this['_knownOperations']['add'](_0x1fe8df),this['_addKnownRoot'](_0x1fe8df),_0x3bdfac['batch']['addOperation'](_0x1fe8df),this['editor']['model']['applyOperation'](_0x1fe8df);});}['_addKnownRoot'](_0x22da5f){const _0x10b915=this['_getAffectedRoot'](_0x22da5f);_0x10b915&&this['_knownRootNames']['add'](_0x10b915);}['_getAffectedRoot'](_0x2868c7){let _0x3b98aa,_0x12bef9;switch(_0x2868c7['type']){case'insert':_0x3b98aa=_0x2868c7['position']['root'];break;case'marker':if(_0x12bef9=_0x2868c7['newRange'],!_0x12bef9)return null;_0x3b98aa=_0x12bef9['root'];break;case'addRootAttribute':_0x3b98aa=_0x2868c7['root'];break;case'addRoot':_0x3b98aa=_0x2868c7['affectedSelectable'];break;case'move':_0x3b98aa=_0x2868c7['targetPosition']['root'];break;default:return null;}return _0x3b98aa['rootName'];}['_updateServerHistory'](_0xcbdc88){_0xcbdc88['forEach'](_0x3eb004=>{const _0x30327c=_0x3eb004['clone']();_0x30327c['_authorId']=_0x3eb004['_authorId'],_0x30327c['_isInit']=!!_0x3eb004['_isInit'],_0x30327c['_aiSource']=_0x3eb004['_aiSource'],_0x30327c['createdAt']=_0x3eb004['createdAt'],_0x30327c['baseVersion']+=this['_offset'],_0x3eb004['_isDisconnection']&&this['_disconnectionOperations']['add'](_0x30327c),this['serverHistory']['addOperation'](_0x30327c);});}['_handleReconnectionError'](_0x267fc4){const _0x5b6f0=this['editor']['plugins']['get']('Notification'),_0x3ec3c1=this['editor']['locale'];_0x267fc4||(_0x267fc4=_0x2fa3d6(_0x3ec3c1,'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.')),_0x5b6f0['showWarning'](_0x267fc4,{'title':_0x2fa3d6(_0x3ec3c1,'Synchronization\x20issue'),'namespace':'real-time-collaboration'}),this['_hasSynchronizationProblem']=!0x0,clearTimeout(this['_sendBufferedOperationsDelayId']),this['_bufferedOperations']=[],this['editor']['plugins']['get'](_0x139077)['disconnect']();}['_setPendingAction'](){this['_pendingAction']||(this['_pendingAction']=this['editor']['plugins']['get'](_0x14e616['PendingActions'])['add'](_0x2fa3d6(this['editor']['locale'],'PENDING_ACTION_SENDING_DATA')));}['_clearPendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get'](_0x14e616['PendingActions'])['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_compressOperations'](_0x3621e6){const _0x18a8a1=_0x3621e6['map'](_0x30e659=>_0x30e659['toJSON']());return this['_compressor']['compress'](_0x18a8a1);}['_decompressOperations'](_0x3fee1a,_0x391020){return this['_compressor']['decompress'](_0x3fee1a)['map']((_0xc05063,_0x6f8e0f)=>{const _0x1b9b3b='init'==_0x391020[_0x6f8e0f]['type'];if('InsertOperation'==_0xc05063['__className']){const _0xb6b403=_0xc05063['position']['root'];!this['_document']['getRoot'](_0xb6b403)&&(this['_document']['createRoot']('$unknown',_0xb6b403)['_isAttached']=!0x1);}else{if('RootOperation'==_0xc05063['__className']){const _0x321efa=this['_document']['getRoot'](_0xc05063['rootName']);_0x321efa&&'$unknown'==_0x321efa['name']&&_0xc05063['elementName']!=_0x321efa['name']&&(_0x321efa['name']=_0xc05063['elementName']);}}const _0x922ace=_0x14e616['OperationFactory']['fromJSON'](_0xc05063,this['_document']);return _0x922ace['wasUndone']=_0xc05063['wasUndone'],_0x922ace['_isInit']=_0x1b9b3b,_0x922ace['_authorId']=_0x1b9b3b?null:_0x391020[_0x6f8e0f]['userId'],_0x922ace['_isDisconnection']='cs:removeUser'===_0x391020[_0x6f8e0f]['type'],_0x922ace['_aiSource']=_0xc05063['_aiSource']||void 0x0,_0x922ace['createdAt']=_0x391020[_0x6f8e0f]['createdAt'],_0x922ace;});}['_refreshUserSelectionMarkers'](){this['_hasSelectionChanged']=!0x0,this['_shouldSendSelectionUpdate']()?this['_sendBufferedOperationsDelayed']():this['_hasSelectionChanged']=!0x1;}['_shouldSendSelectionUpdate'](){const _0x2d73dd=this['editor']['plugins']['get'](_0x8848f6)['channelSessions']['get'](this['_channelId']);return!this['editor']['isReadOnly']&&!!_0x2d73dd&&_0x2d73dd['length']>0x1&&this['_hasSelectionChanged'];}['_shouldSendUpdate'](){return this['_bufferedOperations']['length']>0x0||this['_shouldSendSelectionUpdate']();}},_0x12ff4a=class extends Error{};function _0x1e89fd(_0x496811,_0x5ac027){for(const _0x80c6bc of _0x496811)_0x80c6bc['baseVersion']=_0x5ac027++;}var _0x269c4c=class{['_ignoredOperations'];['_operationToId'];constructor(_0x286684){this['_ignoredOperations']=_0x286684,this['_operationToId']=new WeakMap();}['getIdOfTheLastOperation'](_0x5688c4){let _0x3f2707=_0x5688c4['length'];for(;_0x3f2707--;){const _0x45c224=_0x5688c4[_0x3f2707];if(!this['_ignoredOperations']['has'](_0x45c224)){if(!this['_operationToId']['has'](_0x45c224)){const _0x48075b=(0x0,_0x14e616['uid'])()['slice'](0x1,0x12);this['_operationToId']['set'](_0x45c224,_0x48075b);}return this['_operationToId']['get'](_0x45c224);}}}['setIdForTheLastOperation'](_0x32646d,_0xb30aa){if(!_0xb30aa)return;let _0x4c9fc9=_0x32646d['length'];for(;_0x4c9fc9--;){const _0x433223=_0x32646d[_0x4c9fc9];this['_ignoredOperations']['has'](_0x433223)||this['_operationToId']['set'](_0x433223,_0xb30aa);}}},_0x441214=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x447b7c];}static get['pluginName'](){return'RealTimeCollaborativeEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x47b939=class extends _0x14e616['Command']{['_enabledCommands'];constructor(_0x2bbd44,_0xeadcf6){super(_0x2bbd44),this['_enabledCommands']=_0xeadcf6,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 _0xd20703 of this['editor']['commands']['commands']())_0xd20703['affectsData']&&!this['_enabledCommands']['has'](_0xd20703)&&_0xd20703['forceDisabled']('TrackChangesCommand');}['_enableCommands'](){for(const _0x52a494 of this['editor']['commands']['commands']())_0x52a494['affectsData']&&!this['_enabledCommands']['has'](_0x52a494)&&_0x52a494['clearForceDisabled']('TrackChangesCommand');}},tA=class extends _0x14e616['Command']{['_suggestions'];constructor(_0x58838b,_0x256724){super(_0x58838b),this['_suggestions']=_0x256724,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0xfe28a5){const _0x349176=this['_suggestions']['get'](_0xfe28a5);if(!_0x349176)throw new _0x14e616['CKEditorError']('track-changes-accept-suggestion-not-found',this);const _0x12aa2e=_0x349176['getRanges']();this['editor']['model']['canEditAt'](_0x12aa2e)&&this['editor']['plugins']['get']('TrackChangesEditing')['acceptSuggestion'](_0x349176);}},_0x2cacd5=class extends _0x14e616['Command']{['_suggestions'];constructor(_0x38e3e4,_0x4fe225){super(_0x38e3e4),this['_suggestions']=_0x4fe225,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){this['isEnabled']=!0x0;}['execute'](_0x5b7f1e){const _0x23ea52=this['_suggestions']['get'](_0x5b7f1e);if(!_0x23ea52)throw new _0x14e616['CKEditorError']('track-changes-discard-suggestion-not-found',this);const _0x303892=_0x23ea52['getRanges']();this['editor']['model']['canEditAt'](_0x303892)&&this['editor']['plugins']['get']('TrackChangesEditing')['discardSuggestion'](_0x23ea52);}};function _0x54b570(_0x58e18a,_0x125ff3){let _0x1e99b7='';return _0x1e99b7+=_0x58e18a['split']('*')['map']((_0x14e1cb,_0x4838fe)=>_0x4838fe%0x2!=0x0?'<span\x20class=\x22ck-suggestion-type\x22>'+_0x506b85(_0x14e1cb)+'</span>':_0x506b85(_0x14e1cb))['join'](''),_0x125ff3&&(_0x1e99b7+='<span\x20class=\x22ck-suggestion-color\x22\x20style=\x22background-color:\x20'+_0x125ff3['value']+'\x22\x20title=\x22'+_0x125ff3['title']+'\x22></span>'),_0x1e99b7;}function _0x506b85(_0x5832a5){const _0x3eed65=document['createElement']('span');return _0x3eed65['innerText']=_0x5832a5,_0x3eed65['innerHTML'];}function _0x102b72(_0x3951e8){return _0x3951e8['sort']((_0x4ee2c7,_0x237a96)=>'attribute'===_0x4ee2c7['type']&&'attribute'!==_0x237a96['type']?-0x1:'attribute'!==_0x4ee2c7['type']&&'attribute'===_0x237a96['type']?0x1:'deletion'==_0x4ee2c7['type']&&'deletion'!=_0x237a96['type']?-0x1:'deletion'!=_0x4ee2c7['type']&&'deletion'==_0x237a96['type']?0x1:0x0);}function _0xd43eab(_0x4bff59,_0x5503a9){let _0x20267d,_0xfa8752=0x0;const _0x44288b=[],_0xc2554=_0x5503a9['schema'];for(;_0xfa8752<_0x4bff59['length'];){const _0x4b9007=_0x4bff59[_0xfa8752],_0x5b9d13=_0x4bff59[_0xfa8752+0x1];_0x20267d||(_0x20267d=_0x5503a9['createPositionBefore'](_0x4b9007)),_0x4fcbbf(_0x5503a9,_0x4b9007,_0x5b9d13)||(_0x44288b['push'](_0x5503a9['createRange'](_0x20267d,_0xc2554['isObject'](_0x4b9007)?_0x5503a9['createPositionAfter'](_0x4b9007):_0x5503a9['createPositionAt'](_0x4b9007,'end'))),_0x20267d=null),_0xfa8752++;}return _0x44288b;}function _0x4fcbbf(_0x18b3cf,_0xba9b81,_0x349623){if(!_0x349623)return!0x1;const _0x2393e2=_0x18b3cf['createPositionAfter'](_0xba9b81),_0x593271=_0x18b3cf['createPositionBefore'](_0x349623);return _0x2393e2['isTouching'](_0x593271);}function _0x2bb164(_0x195c1b,_0x42442a,_0x21265f){for(;_0x21265f['length'];){const _0x17b516=_0x21265f['splice'](0x0,0x64);_0x195c1b['change'](()=>{for(const _0x1485f1 of _0x17b516)_0x1485f1['isInContent']&&_0x42442a['execute'](_0x1485f1['id']);});}}var _0x2e13e8=class extends _0x14e616['Command']{['_command'];['_suggestions'];constructor(_0x4b33bc,_0x4727e4,_0x2e91c9){super(_0x4b33bc),this['_command']=_0x4727e4,this['_suggestions']=_0x2e91c9,this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x5b9a0d=Array['from'](this['_suggestions']['values']())['some'](_0x42365d=>_0x42365d['isInContent']);this['isEnabled']=this['_command']['isEnabled']&&_0x5b9a0d;}['execute'](){const _0x3bac65=_0x102b72(Array['from'](this['_suggestions']['values']()));for(const _0x49adcb of _0x3bac65){const _0x11f077=_0x49adcb['getRanges']();if(!this['editor']['model']['canEditAt'](_0x11f077))return;}_0x2bb164(this['editor']['model'],this['_command'],_0x3bac65);}},_0x5eb442=class extends _0x14e616['Command']{['_command'];['_suggestions'];['_selectedSuggestions'];constructor(_0x5c1a8d,_0x3822b7,_0x497b39){super(_0x5c1a8d),this['_command']=_0x3822b7,this['_suggestions']=_0x497b39,this['_selectedSuggestions']=new Set(),this['refresh'](),this['_isEnabledBasedOnSelection']=!0x1;}['refresh'](){const _0x174be5=this['editor']['model']['document']['selection'],_0x225e7f=Array['from'](this['_suggestions']['values']());this['_selectedSuggestions']=function(_0x53fe89,_0x2db33c){const _0x34ac22=Array['from'](_0x53fe89['getRanges']()),_0x479de3=new Set();for(const _0x493f9d of _0x2db33c)if(_0x493f9d['isInContent']){for(const _0x18dce3 of _0x34ac22)for(const _0x25ba0e of _0x493f9d['getRanges']())(_0x18dce3['isIntersecting'](_0x25ba0e)||_0x53fe89['isCollapsed']&&!_0x493f9d['isMultiRange']&&_0x493f9d['next']&&_0x25ba0e['end']['isTouching'](_0x18dce3['start']))&&_0x479de3['add'](_0x493f9d);}return _0x479de3;}(_0x174be5,_0x225e7f),this['isEnabled']=this['_command']['isEnabled']&&!!this['_selectedSuggestions']['size'];}['execute'](){const _0x47fbd2=_0x102b72(Array['from'](this['_selectedSuggestions']));for(const _0x3644e7 of _0x47fbd2){const _0x536b25=_0x3644e7['getRanges']();if(!this['editor']['model']['canEditAt'](_0x536b25))return;}_0x2bb164(this['editor']['model'],this['_command'],_0x47fbd2);}};const _0x1bb2e0=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x212bf7=class Suggestion extends _0x1bb2e0{['id'];['type'];['subType'];['author'];['creator'];['data'];['createdAt'];['_originalSuggestionId'];['_isDataLoaded']=!0x1;['_model'];['_onAccept'];['_onDiscard'];['_onAttributesChange'];['_markerNames'];constructor(_0x568aa8,_0x33ea20){super(),this['id']=_0x33ea20['id'],this['type']=_0x33ea20['type'],this['subType']=_0x33ea20['subType']||null,this['author']=_0x33ea20['author'],this['creator']=_0x33ea20['creator']||_0x33ea20['author'],this['data']=null,this['_originalSuggestionId']=_0x33ea20['originalSuggestionId']||null,this['_model']=_0x568aa8,this['_onAccept']=_0x33ea20['onAccept'],this['_onDiscard']=_0x33ea20['onDiscard'],this['_onAttributesChange']=_0x33ea20['onAttributesChange'],this['_markerNames']=new Set(),this['createdAt']=null,this['set']('authoredAt',null),this['set']('attributes',_0x33ea20['attributes']||{}),this['set']('previous',null),this['set']('next',null),this['set']('commentThread',null),this['set']('_saved',!0x1),this['decorate']('accept'),this['decorate']('discard');}get['isExternal'](){return Boolean(this['attributes']&&this['attributes']['@external']);}get['aiSource'](){return this['attributes']&&this['attributes']['@ai']?.['type']||null;}get['head'](){let _0x515496=this;for(;_0x515496['previous'];)_0x515496=_0x515496['previous'];return _0x515496;}get['hasComments'](){return!!this['commentThread']&&this['commentThread']['length']>0x0;}get['isMultiRange'](){return 0x0!=this['_markerNames']['size']&&0x6==Array['from'](this['_markerNames'])[0x0]['split'](':')['length'];}get['isInContent'](){return null!==this['getFirstMarker']();}['addMarkerName'](_0x5d89b9){this['_markerNames']['add'](_0x5d89b9);}['getMarkerNames'](){return Array['from'](this['_markerNames']);}['getMarkers'](){return this['getMarkerNames']()['map'](_0x28892b=>this['_model']['markers']['get'](_0x28892b))['filter'](_0x399cef=>_0x399cef);}['getFirstMarker'](){return this['getMarkers']()[0x0]||null;}['removeMarkers'](){this['_model']['change'](_0x4e2234=>{for(const _0x24bf92 of this['getMarkers']())_0x4e2234['removeMarker'](_0x24bf92);}),this['_markerNames']['clear']();}['removeMarker'](_0x51e0c9){this['_model']['change'](_0x50fa39=>{_0x50fa39['removeMarker'](_0x51e0c9);}),this['_markerNames']['delete'](_0x51e0c9);}['addRange'](_0x225211){const _0x289ee8='suggestion:'+this['type']+':'+this['subType']+':'+this['id']+':'+this['creator']['id']+':'+Suggestion['getMultiRangeId']();this['addMarkerName'](_0x289ee8),this['_model']['change'](_0x27215c=>{_0x27215c['addMarker'](_0x289ee8,{'range':_0x225211,'usingOperation':!0x0,'affectsData':!0x0});});}['isIntersectingWithRange'](_0xd43d25){for(const _0x305a53 of this['getRanges']())if(_0x305a53['isIntersecting'](_0xd43d25))return!0x0;return!0x1;}['getRanges'](){return this['getMarkers']()['map'](_0x54be6a=>_0x54be6a['getRange']());}['getItems'](){return this['getRanges']()['reduce']((_0x537765,_0x212205)=>[..._0x537765,..._0x212205['getItems']()],[]);}['getFirstRange'](){return this['getFirstMarker']()?.['getRange']()||null;}['getContainedElement'](){const _0x283dd3=this['getRanges']();if(0x1!=_0x283dd3['length'])return null;const _0x1b2d19=_0x283dd3[0x0],_0x192c1=_0x1b2d19['start']['nodeAfter'],_0x229576=_0x1b2d19['end']['nodeBefore'];return _0x192c1 instanceof _0x14e616['ModelElement']?_0x192c1!=_0x229576?null:_0x192c1: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 _0x7092a8=[];let _0x5a8262=this['head'];for(;_0x5a8262;)_0x7092a8['push'](_0x5a8262),_0x5a8262=_0x5a8262['next'];return _0x7092a8;}['setAttribute'](_0x1c98ea,_0xe8a96e){const _0x304347=wt(this['attributes']);Ft(_0x304347,_0x1c98ea,_0xe8a96e),ft(_0x304347,this['attributes'])||(this['attributes']=_0x304347,this['_onAttributesChange'](_0x304347));}['removeAttribute'](_0x3678bc){const _0x27739d=wt(this['attributes']);Rt(_0x27739d,_0x3678bc),ft(_0x27739d,this['attributes'])||(this['attributes']=_0x27739d,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(0x0,_0x14e616['uid'])()['substr'](0x1,0x5);}};function _0x45b6d4(_0x2782ae,_0x849615,_0xee0426){const _0xf9609b=_0x2782ae['t'],t=_0x2782ae['t'];switch(_0x849615){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',_0xee0426);case'*Outdent:*\x20%0':return t('*Outdent:*\x20%0',_0xee0426);case'*Change\x20to:*\x20%0':return t('*Change\x20to:*\x20%0',_0xee0426);case'*Insert:*\x20%0':return t('*Insert:*\x20%0',_0xee0426);case'*Format:*\x20%0':return t('*Format:*\x20%0',_0xee0426);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',_0xee0426);case'*Format:*\x20remove\x20from\x20%0':return t('*Format:*\x20remove\x20from\x20%0',_0xee0426);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',_0xee0426);case'*Change\x20%0\x20content*':return t('*Change\x20%0\x20content*',_0xee0426);case'*Remove:*\x20%0':return t('*Remove:*\x20%0',_0xee0426);case'*Merge:*\x20%0':return t('*Merge:*\x20%0',_0xee0426);case'*Split:*\x20%0':return t('*Split:*\x20%0',_0xee0426);case'*Remove\x20format:*\x20%0':return t('*Remove\x20format:*\x20%0',_0xee0426);case'*Set\x20bookmark:*\x20%0':return t('*Set\x20bookmark:*\x20%0',_0xee0426);case'*Set\x20font\x20size:*\x20%0':return t('*Set\x20font\x20size:*\x20%0',_0xee0426);case'*Set\x20font\x20family:*\x20%0':return t('*Set\x20font\x20family:*\x20%0',_0xee0426);case'*Set\x20format\x20to:*\x20%0':return t('*Set\x20format\x20to:*\x20%0',_0xee0426);case'*Set\x20font\x20color:*\x20%0':return t('*Set\x20font\x20color:*\x20%0',_0xee0426);case'*Set\x20font\x20background\x20color:*\x20%0':return t('*Set\x20font\x20background\x20color:*\x20%0',_0xee0426);case'*Set\x20format:*\x20%0':return t('*Set\x20format:*\x20%0',_0xee0426);case'*Set\x20image\x20text\x20alternative:*\x20%0':return t('*Set\x20image\x20text\x20alternative:*\x20%0',_0xee0426);case'*Set\x20image\x20width:*\x20%0':return t('*Set\x20image\x20width:*\x20%0',_0xee0426);case'*Set\x20link:*\x20%0':return t('*Set\x20link:*\x20%0',_0xee0426);case'*Set\x20highlight:*\x20%0':return t('*Set\x20highlight:*\x20%0',_0xee0426);case'*Set\x20table\x20type:*\x20%0':return t('*Set\x20table\x20type:*\x20%0',_0xee0426);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'},_0xee0426);case'ELEMENT_CONTENT_TABLE':return t({'string':'content\x20table','plural':'%0\x20content\x20tables','id':'ELEMENT_CONTENT_TABLE'},_0xee0426);case'ELEMENT_LAYOUT_TABLE':return t({'string':'layout\x20table','plural':'%0\x20layout\x20tables','id':'ELEMENT_LAYOUT_TABLE'},_0xee0426);case'ELEMENT_PARAGRAPH':return t({'string':'paragraph','plural':'%0\x20paragraphs','id':'ELEMENT_PARAGRAPH'},_0xee0426);case'ELEMENT_PAGE_BREAK':return t({'string':'page\x20break','plural':'%0\x20page\x20breaks','id':'ELEMENT_PAGE_BREAK'},_0xee0426);case'ELEMENT_MEDIA':return t({'string':'media\x20item','plural':'%0\x20media\x20items','id':'ELEMENT_MEDIA'},_0xee0426);case'ELEMENT_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_IMAGE'},_0xee0426);case'ELEMENT_INLINE_IMAGE':return t({'string':'image','plural':'%0\x20images','id':'ELEMENT_INLINE_IMAGE'},_0xee0426);case'FORMAT_SIDE_IMAGE':return t({'string':'side\x20image','id':'FORMAT_SIDE_IMAGE'});case'ELEMENT_RAW_HTML':return t({'string':'raw\x20HTML','id':'ELEMENT_RAW_HTML'});case'ELEMENT_HTML_TAG':return t({'string':'%1\x20element','plural':'%0\x20%1\x20elements','id':'ELEMENT_HTML_TAG'},_0xee0426);case'FORMAT_RAW_HTML_CONTENT':return t({'string':'raw\x20HTML\x20content','id':'FORMAT_RAW_HTML_CONTENT'});case'FORMAT_HTML_CLASS':return t({'string':'style','id':'FORMAT_HTML_CLASS'});case'FORMAT_HTML_ATTRIBUTE':return t({'string':'metadata','id':'FORMAT_HTML_ATTRIBUTE'});case'FORMAT_HTML_LIST_ITEM':return t({'string':'list\x20item\x20HTML','id':'FORMAT_HTML_LIST_ITEM'});case'FORMAT_HTML_BULLETED_LIST':return t({'string':'list\x20HTML','id':'FORMAT_HTML_BULLETED_LIST'});case'FORMAT_HTML_NUMBERED_LIST':return t({'string':'list\x20HTML','id':'FORMAT_HTML_NUMBERED_LIST'});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'},_0xee0426);case'ELEMENT_HTML_EMBED':return t({'string':'HTML\x20embed','plural':'%0\x20HTML\x20embeds','id':'ELEMENT_HTML_EMBED'},_0xee0426);case'ELEMENT_HEADING':return t({'string':'heading\x20(level\x20%1)','plural':'%0\x20headings\x20(level\x20%1)','id':'ELEMENT_HEADING'},_0xee0426);case'ELEMENT_HEADING_CUSTOM':return t({'string':'heading\x20(%1)','plural':'%0\x20headings\x20(%1)','id':'ELEMENT_HEADING_CUSTOM'},_0xee0426);case'ELEMENT_LIST_ITEM':return t({'string':'list\x20item','plural':'%0\x20list\x20items','id':'ELEMENT_LIST_ITEM'},_0xee0426);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_NUMBERED_LIST_ARABIC_INDIC':return t({'string':'numbered\x20list\x20(arabic-indic)','id':'ELEMENT_NUMBERED_LIST_ARABIC_INDIC'});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'},_0xee0426);case'ELEMENT_SPACE':return t({'string':'space','plural':'%0\x20spaces','id':'ELEMENT_SPACE'},_0xee0426);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'},_0xee0426);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_FOOTER_ROW':return t({'string':'footer\x20row','id':'FORMAT_FOOTER_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_MEDIA_SIZE':return t({'string':'media\x20size','id':'FORMAT_MEDIA_SIZE'});case'FORMAT_MEDIA_ALIGN_LEFT':return t({'string':'align\x20left','id':'FORMAT_MEDIA_ALIGN_LEFT'});case'FORMAT_MEDIA_ALIGN_BLOCK_LEFT':return t({'string':'align\x20block\x20left','id':'FORMAT_MEDIA_ALIGN_BLOCK_LEFT'});case'FORMAT_MEDIA_ALIGN_CENTER':return t({'string':'align\x20center','id':'FORMAT_MEDIA_ALIGN_CENTER'});case'FORMAT_MEDIA_ALIGN_BLOCK_RIGHT':return t({'string':'align\x20block\x20right','id':'FORMAT_MEDIA_ALIGN_BLOCK_RIGHT'});case'FORMAT_MEDIA_ALIGN_RIGHT':return t({'string':'align\x20right','id':'FORMAT_MEDIA_ALIGN_RIGHT'});case'FORMAT_STYLE':return t({'string':'style','id':'FORMAT_STYLE'});case'FORMAT_LINE_HEIGHT':return t({'string':'line\x20height','id':'FORMAT_LINE_HEIGHT'});case'FORMAT_TABLE_BORDER_COLOR':return t({'string':'table\x20border\x20color','id':'FORMAT_TABLE_BORDER_COLOR'});case'FORMAT_TABLE_BORDER_STYLE':return t({'string':'table\x20border\x20style','id':'FORMAT_TABLE_BORDER_STYLE'});case'FORMAT_TABLE_BORDER_WIDTH':return t({'string':'table\x20border\x20width','id':'FORMAT_TABLE_BORDER_WIDTH'});case'FORMAT_TABLE_ALIGNMENT':return t({'string':'table\x20alignment','id':'FORMAT_TABLE_ALIGNMENT'});case'FORMAT_TABLE_WIDTH':return t({'string':'table\x20width','id':'FORMAT_TABLE_WIDTH'});case'FORMAT_TABLE_HEIGHT':return t({'string':'table\x20height','id':'FORMAT_TABLE_HEIGHT'});case'FORMAT_TABLE_BACKGROUND_COLOR':return t({'string':'table\x20background\x20color','id':'FORMAT_TABLE_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_BORDER_COLOR':return t({'string':'table\x20cell\x20border\x20color','id':'FORMAT_TABLE_CELL_BORDER_COLOR'});case'FORMAT_TABLE_CELL_BORDER_STYLE':return t({'string':'table\x20cell\x20border\x20style','id':'FORMAT_TABLE_CELL_BORDER_STYLE'});case'FORMAT_TABLE_CELL_BORDER_WIDTH':return t({'string':'table\x20cell\x20border\x20width','id':'FORMAT_TABLE_CELL_BORDER_WIDTH'});case'FORMAT_TABLE_CELL_PADDING':return t({'string':'table\x20cell\x20padding','id':'FORMAT_TABLE_CELL_PADDING'});case'FORMAT_TABLE_CELL_WIDTH':return t({'string':'table\x20cell\x20width','id':'FORMAT_TABLE_CELL_WIDTH'});case'FORMAT_TABLE_CELL_HEIGHT':return t({'string':'table\x20cell\x20height','id':'FORMAT_TABLE_CELL_HEIGHT'});case'FORMAT_TABLE_CELL_BACKGROUND_COLOR':return t({'string':'table\x20cell\x20background\x20color','id':'FORMAT_TABLE_CELL_BACKGROUND_COLOR'});case'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT':return t({'string':'table\x20cell\x20horizontal\x20alignment','id':'FORMAT_TABLE_CELL_HORIZONTAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT':return t({'string':'table\x20cell\x20vertical\x20alignment','id':'FORMAT_TABLE_CELL_VERTICAL_ALIGNMENT'});case'FORMAT_TABLE_CELL_TYPE':return t({'string':'table\x20cell\x20type','id':'FORMAT_TABLE_CELL_TYPE'});case'FORMAT_FOOTNOTES_LIST_STYLE':return t({'string':'footnotes\x20list\x20style','id':'FORMAT_FOOTNOTES_LIST_STYLE'});case'FORMAT_FOOTNOTES_LIST_START':return t({'string':'footnotes\x20list\x20start','id':'FORMAT_FOOTNOTES_LIST_START'});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'},_0xee0426);case'ELEMENT_TABLE_ROW':return t({'string':'table\x20row','plural':'%0\x20table\x20rows','id':'ELEMENT_TABLE_ROW'},_0xee0426);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'},_0xee0426);case'ELEMENT_TABLE_COLUMN':return t({'string':'table\x20column','plural':'%0\x20table\x20columns','id':'ELEMENT_TABLE_COLUMN'},_0xee0426);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'},_0xee0426);case'ELEMENT_TABLE_OF_CONTENTS':return t({'string':'table\x20of\x20contents','plural':'%0\x20tables\x20of\x20contents','id':'ELEMENT_TABLE_OF_CONTENTS'},_0xee0426);case'ELEMENT_FOOTNOTE_REF':return t({'string':'footnote\x20reference','plural':'%0\x20footnote\x20references','id':'ELEMENT_FOOTNOTE_REF'},_0xee0426);case'ELEMENT_FOOTNOTE_DEFINITION':return t({'string':'footnote\x20definition','plural':'%0\x20footnote\x20definitions','id':'ELEMENT_FOOTNOTE_DEFINITION'},_0xee0426);case'ELEMENT_FOOTNOTES_DEFINITIONS_LIST':return t({'string':'footnotes\x20definitions\x20list','plural':'%0\x20footnotes\x20definitions','id':'ELEMENT_FOOTNOTES_DEFINITIONS_LIST'},_0xee0426);case'ELEMENT_LINE_BREAK':return t({'id':'ELEMENT_LINE_BREAK','string':'line\x20break','plural':'%0\x20line\x20breaks'},_0xee0426);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'},_0xee0426);case'ELEMENT_BOOKMARK':return t({'id':'ELEMENT_BOOKMARK','string':'bookmark','plural':'%0\x20bookmarks'},_0xee0426);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'AI_SOURCE_PILL_LABEL':return t({'string':'AI-generated','id':'AI_SOURCE_PILL_LABEL'});case'AI_SOURCE_PILL_TOOLTIP':return t({'string':'This\x20suggestion\x20was\x20proposed\x20by\x20AI.','id':'AI_SOURCE_PILL_TOOLTIP'});case'AI_AUTHOR_DEFAULT_NAME':return t({'string':'AI\x20Assistant','id':'AI_AUTHOR_DEFAULT_NAME'});case'EXTERNAL_AVATAR':return _0xf9609b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20external\x20source\x20(added\x20by\x20%0)','id':'EXTERNAL_AVATAR'},_0xee0426);case'EXTERNAL_IMPORT_WORD_AVATAR':return _0xf9609b({'string':'Displayed\x20author\x20name\x20comes\x20from\x20a\x20Word\x20document\x20imported\x20by\x20%0','id':'EXTERNAL_IMPORT_WORD_AVATAR'},_0xee0426);case'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT':return t({'string':'Entering\x20insertion\x20suggestion.\x20Press\x20%0\x20to\x20go\x20to\x20the\x20discussion.','id':'ENTER_INSERTION_SUGGESTION_ANNOUNCEMENT'},_0xee0426);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'},_0xee0426);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'},_0xee0426);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'},_0xee0426);case'SUGGESTION_THREAD_DESCRIPTION':return t({'string':'Press\x20Enter\x20for\x20more\x20options.\x20Press\x20Escape\x20to\x20exit.','id':'SUGGESTION_THREAD_DESCRIPTION'});default:return _0x849615;}}var _0x49e864=class{['_customCallbacks'];['_itemLabels'];['_itemLabelsCallbacks'];['_attributeLabels'];['_schema'];['_locale'];constructor(_0x3a31a6,_0x34e81d){this['_customCallbacks']=[],this['_itemLabels']=new Map(),this['_itemLabelsCallbacks']=[],this['_attributeLabels']=new Map(),this['_schema']=_0x3a31a6,this['_locale']=_0x34e81d;}['getDescriptions'](_0x311a1d){const _0x36e178=[],_0x1cfcce=new Set(),_0x305428=new Set();for(let _0x26b421=0x0;_0x26b421<_0x311a1d['length'];_0x26b421++){const _0x4d4222=_0x311a1d[_0x26b421];if(!_0x4d4222['isInContent'])continue;const _0x49f25c=this['_handleCustomCallbackDescription'](_0x4d4222);if(_0x49f25c){if(null!=_0x4d4222['subType']){if(_0x1cfcce['has'](_0x4d4222['subType']))continue;_0x1cfcce['add'](_0x4d4222['subType']);}_0x36e178['push'](_0x49f25c);}else{if('attribute'==_0x4d4222['type']){const _0x222d9f=_0x4d4222['data']['key'];if(_0x305428['has'](_0x222d9f))continue;_0x305428['add'](_0x4d4222['data']['key']),'$elementName'==_0x222d9f?this['_handleRenameSuggestionDescription'](_0x36e178,_0x4d4222):this['_handleAttributeSuggestionDescription'](_0x36e178,_0x4d4222);continue;}'insertion'!=_0x4d4222['type']&&'deletion'!=_0x4d4222['type']||this['_handleInsertRemoveSuggestionDescription'](_0x36e178,_0x4d4222,_0x311a1d[_0x26b421+0x1]);}}return this['_resolveDescriptionItems'](_0x36e178);}['registerDescriptionCallback'](_0x1de3ba){this['_customCallbacks']['push'](_0x1de3ba);}['registerElementLabel'](_0x5c118b,_0x24a033,_0x363c3=_0x14e616['priorities']['normal']){'function'==typeof _0x5c118b?(0x0,_0x14e616['insertToPriorityArray'])(this['_itemLabelsCallbacks'],{'matchingCallback':_0x5c118b,'label':_0x24a033,'priority':_0x363c3}):this['_itemLabels']['set'](_0x5c118b,_0x24a033);}['registerAttributeLabel'](_0x3fa4a6,_0x45e1b9){this['_attributeLabels']['set'](_0x3fa4a6,_0x45e1b9);}['getItemLabel'](_0x566fca,_0x296a4e=0x1){let _0x20721a;for(const _0x1f95f3 of this['_itemLabelsCallbacks'])if(_0x1f95f3['matchingCallback'](_0x566fca)){_0x20721a=_0x1f95f3['label'];break;}return _0x20721a||(_0x20721a=this['_itemLabels']['get'](_0x566fca['name'])),_0x20721a?_0x20721a(_0x296a4e):0x1!==_0x296a4e?_0x296a4e+'\x20'+_0x566fca['name']+'s':''+_0x566fca['name'];}['_addDescriptionItems'](_0x5a083f,_0x1df658){const _0x6a9df4=_0x1df658['getFirstRange']()['getWalker'](),_0x24f589='insertion'==_0x1df658['type']?'add':'remove';for(const _0x278ff9 of _0x6a9df4){const _0x4e66b7=_0x278ff9['item'],_0x1867e9=_0x5a083f[_0x5a083f['length']-0x1];if(_0x4e66b7['is']('$textProxy'))_0x1867e9&&_0x1867e9['type']['indexOf']('Container')>-0x1&&_0x5a083f['pop'](),_0x1867e9&&'text'==_0x1867e9['type']?_0x1867e9[_0x24f589]+=_0x4e66b7['data']:_0x5a083f['push']({'type':'text','add':'add'==_0x24f589?_0x4e66b7['data']:'','remove':'remove'==_0x24f589?_0x4e66b7['data']:''});else{if(this['_schema']['isObject'](_0x4e66b7)){const _0x3d37c2=_0x4e66b7;if(_0x1867e9&&_0x1867e9['type']['indexOf']('Container')>-0x1&&_0x5a083f['pop'](),'elementEnd'==_0x278ff9['type'])continue;_0x1867e9&&_0x1867e9['type']==_0x24f589+'Object'&&_0x1867e9['element']['name']==_0x3d37c2['name']?_0x1867e9['quantity']++:_0x5a083f['push']({'type':_0x24f589+'Object','element':_0x3d37c2,'quantity':0x1}),_0x6a9df4['skip'](_0x55b165=>!('elementEnd'==_0x55b165['type']&&_0x55b165['item']==_0x4e66b7));}else{if(this['_schema']['checkChild'](_0x4e66b7,'$text')||_0x4e66b7['is']('element','softBreak')){const _0x3934c0=_0x4e66b7;if('add'==_0x24f589&&'elementStart'==_0x278ff9['type']||'remove'==_0x24f589&&'elementEnd'==_0x278ff9['type'])continue;if(_0x1867e9&&-0x1==_0x1867e9['type']['indexOf']('Container')){'text'==_0x1867e9['type']&&(_0x1867e9[_0x24f589]+='\x0a');continue;}let _0x1bbf8c;if(_0x1bbf8c='add'==_0x24f589?_0x3934c0['nextSibling']&&!this['_schema']['isObject'](_0x3934c0['nextSibling'])?_0x3934c0['nextSibling']:null:_0x3934c0['previousSibling']&&!this['_schema']['isObject'](_0x3934c0['previousSibling'])?_0x3934c0['previousSibling']:null,_0x3934c0['isEmpty']||_0x1bbf8c&&_0x1bbf8c['isEmpty']){const _0x533864=_0x1bbf8c&&_0x1bbf8c['isEmpty']?_0x1bbf8c:_0x3934c0;_0x1867e9&&_0x1867e9['type']==_0x24f589+'EmptyContainer'&&_0x1867e9['element']['name']==_0x533864['name']?_0x1867e9['quantity']++:_0x5a083f['push']({'type':_0x24f589+'EmptyContainer','element':_0x533864,'quantity':0x1});}else _0x5a083f['push']({'type':_0x24f589+'Container','element':_0x3934c0});}}}}}['_resolveDescriptionItems'](_0x4fdf4d){const _0x1a82df=this['_locale'],_0x1592f2=[],_0x4042bf=[],_0x3c70d7=[];for(const _0x438586 of _0x4fdf4d)switch(_0x438586['type']){case'text':if(_0x438586['add']=_0x438586['add']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),_0x438586['remove']=_0x438586['remove']['replace'](/(\S)\u000A+(\S)/g,'$1\x20$2')['replace'](/\u000A/g,''),''!=_0x438586['add']&&''!=_0x438586['remove']){_0x1592f2['push']({'type':'replace','content':_0x45b6d4(_0x1a82df,'REPLACE_TEXT',['\x22'+_0x438586['remove']+'\x22','\x22'+_0x438586['add']+'\x22'])});continue;}if(null!=_0x438586['add']['match'](/^ +$/)){_0x1592f2['push']({'type':'insertion','content':_0x45b6d4(_0x1a82df,'*Insert:*\x20%0',_0x45b6d4(_0x1a82df,'ELEMENT_SPACE',_0x438586['add']['length']))});continue;}if(null!=_0x438586['remove']['match'](/^ +$/)){_0x1592f2['push']({'type':'deletion','content':_0x45b6d4(_0x1a82df,'*Remove:*\x20%0',_0x45b6d4(_0x1a82df,'ELEMENT_SPACE',_0x438586['remove']['length']))});continue;}if(''!=_0x438586['add']){_0x1592f2['push']({'type':'insertion','content':_0x45b6d4(_0x1a82df,'*Insert:*\x20%0','\x22'+_0x438586['add']+'\x22')});continue;}_0x1592f2['push']({'type':'deletion','content':_0x45b6d4(_0x1a82df,'*Remove:*\x20%0','\x22'+_0x438586['remove']+'\x22')});continue;case'addEmptyContainer':case'addObject':_0x1592f2['push']({'type':'insertion','content':_0x45b6d4(_0x1a82df,'*Insert:*\x20%0',this['getItemLabel'](_0x438586['element'],_0x438586['quantity']))});continue;case'removeEmptyContainer':case'removeObject':_0x1592f2['push']({'type':'deletion','content':_0x45b6d4(_0x1a82df,'*Remove:*\x20%0',this['getItemLabel'](_0x438586['element'],_0x438586['quantity']))});continue;case'addContainer':_0x1592f2['push']({'type':'insertion','content':_0x45b6d4(_0x1a82df,'*Split:*\x20%0',this['getItemLabel'](_0x438586['element'],_0x438586['quantity']))});continue;case'removeContainer':_0x1592f2['push']({'type':'deletion','content':_0x45b6d4(_0x1a82df,'*Merge:*\x20%0',this['getItemLabel'](_0x438586['element'],_0x438586['quantity']))});continue;case'addFormat':_0x4042bf['push'](_0x438586['key']);continue;case'removeFormat':_0x3c70d7['push'](_0x438586['key']);continue;default:_0x1592f2['push'](_0x438586);}if(_0x4042bf['length']){const _0x1a5d21=_0x4042bf['map'](_0x1b729a=>this['_attributeLabels']['has'](_0x1b729a)?this['_attributeLabels']['get'](_0x1b729a):_0x1b729a)['join'](',\x20');_0x1592f2['push']({'type':'format','content':_0x45b6d4(this['_locale'],'*Set\x20format:*\x20%0',_0x1a5d21)});}if(_0x3c70d7['length']){const _0x57e011=_0x3c70d7['map'](_0x510426=>this['_attributeLabels']['has'](_0x510426)?this['_attributeLabels']['get'](_0x510426):_0x510426)['join'](',\x20');_0x1592f2['push']({'type':'format','content':_0x45b6d4(this['_locale'],'*Remove\x20format:*\x20%0',_0x57e011)});}return _0x1592f2;}['_handleCustomCallbackDescription'](_0x3e809b){for(const _0x57a479 of this['_customCallbacks']){const _0x532ce9=_0x57a479(_0x3e809b);if(_0x532ce9&&'type'in _0x532ce9)return _0x532ce9;}}['_handleAttributeSuggestionDescription'](_0x3fd0e8,_0x5bc31d){const _0x3adcba=_0x5bc31d['data'],_0x7f8980=void 0x0===_0x3adcba['newValue']?'removeFormat':'addFormat';_0x3fd0e8['push']({'type':_0x7f8980,'key':_0x3adcba['key']});}['_handleRenameSuggestionDescription'](_0x54ba49,_0x5011a0){_0x54ba49['push']({'type':'format','content':_0x45b6d4(this['_locale'],'*Change\x20to:*\x20%0',this['getItemLabel'](_0x5011a0['getFirstRange']()['start']['nodeAfter'],0x1))});}['_handleInsertRemoveSuggestionDescription'](_0x50b44b,_0x290ce8,_0x125dd4){if(this['_addDescriptionItems'](_0x50b44b,_0x290ce8),_0x125dd4&&_0x125dd4['getFirstRange']()&&!_0x290ce8['getFirstRange']()['end']['isEqual'](_0x125dd4['getFirstRange']()['start'])){const _0x30f571=_0x50b44b[_0x50b44b['length']-0x1],_0x1ea0f0='insertion'==_0x290ce8['type']?'add':'remove';_0x30f571&&'text'==_0x30f571['type']&&(_0x30f571[_0x1ea0f0]+='\x0a');}}},_0x1e3733=class extends _0x14e616['Plugin']{['afterInit'](){const _0x246f22=this['editor'],_0x4bd2da=_0x246f22['plugins']['get']('TrackChangesEditing');_0x246f22['commands']['get']('showAIAssistant')&&_0x4bd2da['enableCommand']('showAIAssistant');}},_0x3024a5=class extends _0x14e616['Plugin']{['afterInit'](){const _0x1d465b=this['editor'],_0x50bced=_0x1d465b['plugins']['get']('TrackChangesEditing');_0x1d465b['commands']['get']('toggleAi')&&_0x50bced['enableCommand']('toggleAi');}},_0x497741=class extends _0x14e616['Plugin']{['afterInit'](){const _0x312fc7=this['editor'],_0x29ad67=_0x312fc7['plugins']['get']('TrackChangesEditing');_0x312fc7['commands']['get']('aiQuickAction')&&_0x29ad67['enableCommand']('aiQuickAction');}},_0x1fdc3a=class extends _0x14e616['Plugin']{['afterInit'](){const _0x1d492e=this['editor'],_0x2b4b66=_0x1d492e['locale'];if(!_0x1d492e['plugins']['has']('AlignmentEditing'))return;const _0x305759=_0x1d492e['plugins']['get']('TrackChangesEditing');_0x305759['enableDefaultAttributesIntegration']('alignment'),_0x305759['descriptionFactory']['registerAttributeLabel']('alignment',_0x45b6d4(_0x2b4b66,'FORMAT_ALIGNMENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x9b33d4=this['editor'],_0x19e993=_0x9b33d4['locale'];_0x9b33d4['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1ef09e=>{if('formatBlock'!=_0x1ef09e['type'])return;const {data:_0x28fe78}=_0x1ef09e;if(_0x28fe78&&'alignment'==_0x28fe78['commandName']){const _0x2c6c31=_0x28fe78['commandParams'][0x0]['value'];return{'type':'format','content':_0x45b6d4(_0x19e993,'*Format:*\x20%0',function(_0x188a5c){switch(_0x188a5c){case'left':return _0x45b6d4(_0x19e993,'FORMAT_ALIGN_TO_LEFT');case'right':return _0x45b6d4(_0x19e993,'FORMAT_ALIGN_TO_RIGHT');case'center':return _0x45b6d4(_0x19e993,'FORMAT_ALIGN_TO_CENTER');case'justify':return _0x45b6d4(_0x19e993,'FORMAT_JUSTIFY_TEXT');}}(_0x2c6c31))};}});}};const _0xb2481d=['BoldEditing','ItalicEditing','UnderlineEditing','CodeEditing','StrikethroughEditing','SubscriptEditing','SuperscriptEditing'];var _0x5a9c2e=class extends _0x14e616['Plugin']{['afterInit'](){const _0x11f588=this['editor'],_0xd85c1=_0x11f588['plugins']['get']('TrackChangesEditing'),_0x509e41=_0x11f588['locale'];for(const _0xbe70e8 of _0xb2481d){if(!_0x11f588['plugins']['has'](_0xbe70e8))continue;const _0x43da7c=_0xbe70e8['slice'](0x0,-0x7)['toLowerCase'](),_0x44ef22='FORMAT_'+_0x43da7c['toUpperCase']();_0xd85c1['enableDefaultAttributesIntegration'](_0x43da7c),_0xd85c1['descriptionFactory']['registerAttributeLabel'](_0x43da7c,_0x45b6d4(_0x509e41,_0x44ef22));}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2ae372=this['editor'],_0x1b957c=_0x2ae372['locale'],_0x4405ed=_0x2ae372['plugins']['get']('TrackChangesEditing');function _0x3a6a89(_0x1768f0,_0x5b1bb6){_0x4405ed['descriptionFactory']['registerDescriptionCallback'](_0x1e473d=>{if('formatInline'!=_0x1e473d['type'])return;const {data:_0x14e723}=_0x1e473d;return _0x14e723&&_0x14e723['commandName']===_0x1768f0?_0x14e723['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x45b6d4(_0x1b957c,'*Format:*\x20%0',_0x5b1bb6)}:{'type':'format','content':_0x45b6d4(_0x1b957c,'*Remove\x20format:*\x20%0',_0x5b1bb6)}:void 0x0;});}_0x3a6a89('bold',_0x45b6d4(_0x1b957c,'FORMAT_BOLD')),_0x3a6a89('italic',_0x45b6d4(_0x1b957c,'FORMAT_ITALIC')),_0x3a6a89('underline',_0x45b6d4(_0x1b957c,'FORMAT_UNDERLINE')),_0x3a6a89('code',_0x45b6d4(_0x1b957c,'FORMAT_CODE')),_0x3a6a89('strikethrough',_0x45b6d4(_0x1b957c,'FORMAT_STRIKETHROUGH')),_0x3a6a89('subscript',_0x45b6d4(_0x1b957c,'FORMAT_SUBSCRIPT')),_0x3a6a89('superscript',_0x45b6d4(_0x1b957c,'FORMAT_SUPERSCRIPT'));}},_0x265576=class extends _0x14e616['Plugin']{['afterInit'](){const _0x5bf308=this['editor'],_0x462613=_0x5bf308['locale'];if(!_0x5bf308['plugins']['has']('BlockQuoteEditing'))return;const _0xb9bea0=_0x5bf308['plugins']['get']('TrackChangesEditing'),_0x19352=this['editor']['commands']['get']('blockQuote');_0xb9bea0['enableCommand']('blockQuote',(_0x4cc8cf,_0x3c90cd={})=>{const _0x52236a=this['editor']['model']['document']['selection'],_0x40a36d=_0x3c90cd&&void 0x0!==_0x3c90cd['forceValue']?_0x3c90cd['forceValue']:!_0x19352['value'];let _0x2d2d4c=[];_0x2d2d4c=_0xd43eab(_0x40a36d?Array['from'](_0x52236a['getSelectedBlocks']())['filter'](_0x30a197=>_0x4155e6(_0x30a197)||function(_0xbb0183,_0x57d66a){const _0xf498a8=_0x57d66a['createContext'](_0xbb0183['parent']);return!!_0x57d66a['checkChild'](_0xf498a8,'blockQuote')&&!!_0x57d66a['checkChild'](_0xf498a8['push']('blockQuote'),_0xbb0183);}(_0x30a197,this['editor']['model']['schema'])):Array['from'](_0x52236a['getSelectedBlocks']())['filter'](_0x31cebc=>_0x4155e6(_0x31cebc)),_0x5bf308['model']),_0x5bf308['model']['change'](()=>{for(const _0x5b026d of _0x2d2d4c)_0xb9bea0['markBlockFormat'](_0x5b026d,{'commandName':'blockQuote','commandParams':[{'forceValue':_0x40a36d}]});});}),_0xb9bea0['descriptionFactory']['registerDescriptionCallback'](_0x101949=>{const {data:_0x33472b}=_0x101949;if(_0x33472b&&'blockQuote'==_0x33472b['commandName']){const _0x5af8a6=_0x45b6d4(_0x462613,'ELEMENT_BLOCK_QUOTE');return _0x33472b['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x45b6d4(_0x462613,'*Set\x20format:*\x20%0',_0x5af8a6)}:{'type':'format','content':_0x45b6d4(_0x462613,'*Remove\x20format:*\x20%0',_0x5af8a6)};}});}};function _0x4155e6(_0x3a9d3e){return'blockQuote'==_0x3a9d3e['parent']['name'];}var _0x314f39=class extends _0x14e616['Plugin']{['afterInit'](){const _0x57b6c3=this['editor'],_0x5b5deb=_0x57b6c3['locale'],_0xd28e32=_0x57b6c3['plugins']['get']('TrackChangesEditing');_0x57b6c3['plugins']['has']('BookmarkEditing')&&(_0xd28e32['enableCommand']('insertBookmark'),_0xd28e32['enableDefaultAttributesIntegration']('updateBookmark'),_0xd28e32['descriptionFactory']['registerDescriptionCallback'](_0x4d2852=>{if('insertion'!=_0x4d2852['type']&&'deletion'!=_0x4d2852['type']&&'attribute'!=_0x4d2852['type'])return;const _0x56b0d2=_0x4d2852['getContainedElement']();if(null==_0x56b0d2)return;if(!_0x56b0d2['is']('element','bookmark'))return;const _0x398a37=_0x56b0d2['getAttribute']('bookmarkId');if('insertion'==_0x4d2852['type'])return{'type':'insertion','content':_0x45b6d4(_0x5b5deb,'*Insert:*\x20%0','\x22'+_0x398a37+'\x22\x20'+_0x45b6d4(_0x5b5deb,'ELEMENT_BOOKMARK'))};if('deletion'==_0x4d2852['type'])return{'type':'deletion','content':_0x45b6d4(_0x5b5deb,'*Remove:*\x20%0','\x22'+_0x398a37+'\x22\x20'+_0x45b6d4(_0x5b5deb,'ELEMENT_BOOKMARK'))};const {data:_0x5d961c}=_0x4d2852;return _0x5d961c&&'bookmarkId'==_0x5d961c['key']?{'type':'format','content':_0x45b6d4(_0x5b5deb,'*Set\x20bookmark:*\x20%0','\x22'+_0x5d961c['newValue']+'\x22')}:void 0x0;}));}},_0x4492e4=class extends _0x14e616['Plugin']{['afterInit'](){const _0x5b4d12=this['editor'];_0x5b4d12['plugins']['has']('CaseChange')&&(_0x5b4d12['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseUpper'),_0x5b4d12['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseLower'),_0x5b4d12['plugins']['get']('TrackChangesEditing')['enableCommand']('changeCaseTitle'));}},_0x1d304f=class extends _0x14e616['Plugin']{['afterInit'](){const _0x1f4d3c=this['editor'];_0x1f4d3c['commands']['get']('ckbox')&&_0x1f4d3c['plugins']['get']('TrackChangesEditing')['enableCommand']('ckbox');}},_0xa985a2=class extends _0x14e616['Plugin']{['afterInit'](){const _0x43a943=this['editor'];if(!_0x43a943['plugins']['has']('CodeBlock'))return;const _0x19d812=_0x43a943['plugins']['get']('TrackChangesEditing'),_0x15a99b=_0x43a943['locale'],_0x3a74fd=_0x43a943['config']['get']('codeBlock')['languages'],_0x3aa0a4=_0x43a943['commands']['get']('codeBlock');_0x19d812['enableCommand']('indentCodeBlock'),_0x19d812['enableCommand']('outdentCodeBlock'),_0x19d812['enableCommand']('codeBlock',(_0x44347d,_0x3c1e5e={})=>{const _0x18126f=_0x43a943['model'],_0x4d2f2d=_0x43a943['model']['document']['selection'],_0x4de621=_0x3c1e5e&&void 0x0!==_0x3c1e5e['forceValue']?_0x3c1e5e['forceValue']:!_0x3aa0a4['value'];let _0x509383;_0x3c1e5e['language']||(_0x3c1e5e['language']=_0x3a74fd[0x0]['language']),_0x509383=_0x4de621?Array['from'](_0x4d2f2d['getSelectedBlocks']())['filter'](_0x324a7f=>_0x266cd4(_0x324a7f)||function(_0x5331c0,_0x42177a){return!_0x5331c0['is']('rootElement')&&!_0x42177a['isLimit'](_0x5331c0)&&_0x42177a['checkChild'](_0x5331c0['parent'],'codeBlock');}(_0x324a7f,_0x18126f['schema'])):Array['from'](_0x4d2f2d['getSelectedBlocks']())['filter'](_0x3edcef=>_0x266cd4(_0x3edcef));const _0x4dcb95=_0xd43eab(_0x509383,_0x18126f);_0x18126f['change'](()=>{for(const _0x32e98a of _0x4dcb95)_0x19d812['markBlockFormat'](_0x32e98a,{'commandName':'codeBlock','commandParams':[{..._0x3c1e5e,'forceValue':_0x4de621}],'formatGroupId':'blockName'});});}),(_0x19d812['descriptionFactory']['registerElementLabel']('codeBlock',_0x55951f=>_0x45b6d4(_0x15a99b,'ELEMENT_CODE_BLOCK',_0x55951f)),_0x19d812['descriptionFactory']['registerDescriptionCallback'](_0x3ec397=>{if('formatBlock'!=_0x3ec397['type'])return;const _0xbf5440=_0x15a99b['t'],{data:_0x1957fd}=_0x3ec397;if(!_0x1957fd||'codeBlock'!=_0x1957fd['commandName'])return;const _0x26460e=_0x1957fd['commandParams'][0x0]['language'],_0xab4a6b=_0x3a74fd['find'](_0xcf2fbe=>_0xcf2fbe['language']===_0x26460e)['label'],_0x5c8cb0=_0xbf5440(_0xab4a6b)['toLowerCase']();return _0x1957fd['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x45b6d4(_0x15a99b,'*Set\x20format:*\x20%0',_0x45b6d4(_0x15a99b,'ELEMENT_CODE_BLOCK',0x1)+'\x20('+_0x5c8cb0+')')}:{'type':'format','content':_0x45b6d4(_0x15a99b,'*Remove\x20format:*\x20%0',_0x45b6d4(_0x15a99b,'ELEMENT_CODE_BLOCK',0x1))};}));}};function _0x266cd4(_0x28c30b){return'codeBlock'==_0x28c30b['name'];}var _0x25fa8d=class extends _0x14e616['Plugin']{['afterInit'](){const _0x3a9bcf=this['editor'];_0x3a9bcf['plugins']['has']('CommentsEditing')&&_0x3a9bcf['plugins']['get']('TrackChangesEditing')['enableCommand']('addCommentThread');}},_0x1243c7=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x14e616['Delete']];}['init'](){const _0x763889=this['editor'],_0xc15756=_0x763889['plugins']['get']('TrackChangesEditing');_0xc15756['enableCommand']('delete');const _0x3c8aec=_0x763889['commands']['get']('deleteForward');_0xc15756['enableCommand']('deleteForward',(_0x787856,_0x58eae1={})=>{const _0x56c2f9=_0x763889['model']['createSelection'](_0x763889['model']['document']['selection']);_0x56c2f9['isCollapsed']&&_0x763889['model']['modifySelection'](_0x56c2f9,{'direction':'forward','unit':_0x58eae1['unit']});const _0x5ed604=_0x56c2f9['getFirstRange'](),_0x5a9d1f=_0x14e616['ModelLiveRange']['fromRange'](_0x5ed604);let _0x1440fa;_0x787856(_0x58eae1),_0x1440fa='$graveyard'==_0x5a9d1f['root']['rootName']?_0x763889['model']['createRange'](_0x5ed604['start']):_0x763889['model']['createRange'](_0x5a9d1f['start'],_0x5a9d1f['end']),_0x5a9d1f['detach'](),_0x763889['model']['enqueueChange'](_0x3c8aec['buffer']['batch'],_0x1bae50=>{_0x3c8aec['buffer']['lock'](),_0x1bae50['setSelection'](_0x1bae50['createRange'](_0x1440fa['end'])),_0x3c8aec['buffer']['unlock']();});});}},_0x291369=class extends _0x14e616['Plugin']{['afterInit'](){const _0x4052b0=this['editor'];if(!_0x4052b0['plugins']['has']('ListEditing'))return;const _0xd7cbbf=_0x4052b0['locale'],_0x1c1732=_0x4052b0['plugins']['get']('TrackChangesEditing'),_0x50c324=_0x4052b0['plugins']['has']('TodoListEditing'),_0x3f7365=!!_0x4052b0['config']['get']('list.multiBlock');function _0x25b25a(_0x370eda){return{'type':'format','content':''+_0x45b6d4(_0xd7cbbf,'*Set\x20format:*\x20%0',_0x370eda)};}function _0x36f36a(_0x31abac){return{'type':'format','content':''+_0x45b6d4(_0xd7cbbf,'*Remove\x20format:*\x20%0',_0x31abac)};}_0x1c1732['enableDefaultAttributesIntegration']('numberedList'),_0x1c1732['enableDefaultAttributesIntegration']('bulletedList'),_0x1c1732['enableDefaultAttributesIntegration']('customNumberedList'),_0x1c1732['enableDefaultAttributesIntegration']('customBulletedList'),_0x1c1732['enableDefaultAttributesIntegration']('indentList'),_0x1c1732['enableDefaultAttributesIntegration']('outdentList'),_0x1c1732['enableDefaultAttributesIntegration']('splitListItemAfter'),_0x1c1732['enableDefaultAttributesIntegration']('splitListItemBefore'),_0x3f7365&&(_0x1c1732['enableDefaultAttributesIntegration']('mergeListItemBackward'),_0x1c1732['enableDefaultAttributesIntegration']('mergeListItemForward')),_0x50c324&&(_0x1c1732['enableDefaultAttributesIntegration']('todoList'),_0x1c1732['enableDefaultAttributesIntegration']('checkTodoList'),_0x1c1732['descriptionFactory']['registerDescriptionCallback'](_0x2d735f=>{const {data:_0x372a30}=_0x2d735f;if(_0x372a30&&'todoListChecked'==_0x372a30['key'])return{'type':'format','content':_0x372a30['newValue']?_0x45b6d4(_0xd7cbbf,'*Check\x20item*'):_0x45b6d4(_0xd7cbbf,'*Uncheck\x20item*')};}),this['editor']['model']['document']['registerPostFixer'](_0x398387=>{if(_0x398387['batch']['isUndo'])return!0x1;let _0x28620e=!0x1;const _0x197323=_0x1c1732['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x363606=>'todoListChecked'===_0x1c1732['_getAttributeKey'](_0x363606));for(const _0x18a133 of _0x197323)'todo'!=_0x18a133['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')&&(_0x1c1732['_findSuggestions'](_0x18a133['getFirstRange'](),'attribute')['find'](_0x5e7a47=>'listType'===_0x1c1732['_getAttributeKey'](_0x5e7a47['suggestion']))||(_0x398387['removeMarker'](_0x18a133['getFirstMarker']()),_0x28620e=!0x0));return _0x28620e;})),_0x1c1732['descriptionFactory']['registerAttributeLabel']('listIndent',_0x45b6d4(_0xd7cbbf,'FORMAT_INDENT'));const _0x56d801={'type':'format','content':''};_0x1c1732['descriptionFactory']['registerDescriptionCallback'](_0x3280ac=>{const {data:_0x4df528}=_0x3280ac;if(!_0x4df528||'listType'!=_0x4df528['key'])return;let _0xb71540=_0x3280ac['head'];for(;_0xb71540;){if(_0xb71540['data']&&(('listStyle'==_0xb71540['data']['key']||'listMarkerStyle'==_0xb71540['data']['key'])&&(_0xb71540['data']['newValue']&&'default'!=_0xb71540['data']['newValue']||'default'!=_0xb71540['data']['oldValue']&&!_0x4df528['newValue'])||!_0x3f7365&&'$elementName'==_0xb71540['data']['key']))return _0x56d801;_0xb71540=_0xb71540['next'];}if(null==_0x4df528['newValue'])switch(_0x4df528['oldValue']){case'bulleted':return _0x36f36a(_0x45b6d4(_0xd7cbbf,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x36f36a(_0x45b6d4(_0xd7cbbf,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x36f36a(_0x45b6d4(_0xd7cbbf,'ELEMENT_TODO_LIST'));}switch(_0x4df528['newValue']){case'bulleted':return _0x25b25a(_0x45b6d4(_0xd7cbbf,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x25b25a(_0x45b6d4(_0xd7cbbf,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x25b25a(_0x45b6d4(_0xd7cbbf,'ELEMENT_TODO_LIST'));}}),_0x1c1732['descriptionFactory']['registerDescriptionCallback'](_0x3c5498=>{const {data:_0x44626b}=_0x3c5498;if(_0x44626b&&'listIndent'==_0x44626b['key'])return null==_0x44626b['newValue']||null==_0x44626b['oldValue']&&0x0==_0x44626b['newValue']?_0x56d801:void 0x0;}),_0x1c1732['descriptionFactory']['registerDescriptionCallback'](_0x3f603d=>{if('attribute'!=_0x3f603d['type'])return;const {data:_0x4afa00}=_0x3f603d;if(!_0x4afa00||'listItemId'!=_0x4afa00['key'])return;const _0x17104e=_0x1ebb57(_0x3f603d);return'newValue'==_0x17104e?{'type':'format','content':_0x45b6d4(_0xd7cbbf,'*Merge:*\x20list\x20item')}:'oldValue'==_0x17104e?{'type':'format','content':_0x45b6d4(_0xd7cbbf,'*Split:*\x20list\x20item')}:_0x56d801;}),_0x4052b0['model']['document']['registerPostFixer'](_0x439aed=>this['listItemIdFixer'](_0x439aed)),_0x4052b0['model']['document']['registerPostFixer'](_0x23407e=>this['noTrackChangesFixer'](_0x23407e)),_0x4052b0['model']['document']['on']('change:data',(_0x5a063e,_0x448a8d)=>{if(_0x448a8d['isUndo']||!_0x448a8d['isLocal'])return!0x1;this['assureChains']();},{'priority':'high'}),this['_supportLegacySuggestions']();}['listItemIdFixer'](_0x497ee7){if(_0x497ee7['batch']['isUndo']||!_0x497ee7['batch']['isLocal'])return!0x1;let _0xa8a0cb=!0x1;const _0x29d491=this['editor']['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3520ec=>_0x3520ec['data']&&'listItemId'==_0x3520ec['data']['key'])['filter'](_0x166cd9=>_0x166cd9['data']['newValue']&&_0x166cd9['data']['oldValue']);for(const _0xaa7398 of _0x29d491)_0x1ebb57(_0xaa7398)||(_0x497ee7['removeMarker'](_0xaa7398['getFirstMarker']()),_0xa8a0cb=!0x0);return _0xa8a0cb;}['noTrackChangesFixer'](_0x22b775){if(_0x22b775['batch']['isUndo']||!_0x22b775['batch']['isLocal'])return!0x1;const _0x11f8c4=this['editor']['model']['document']['differ'],_0x2d0a75=this['editor']['plugins']['get']('TrackChangesEditing');if(_0x2d0a75['trackChangesCommand']['value'])return!0x1;let _0x5306f3=!0x1;const _0x5ca655=new Set(['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes']),_0xdda91a=_0x11f8c4['getChanges']()['filter'](_0x1ed969=>'attribute'==_0x1ed969['type'])['filter'](_0x284569=>_0x5ca655['has'](_0x284569['attributeKey']));if(0x0==_0xdda91a['length'])return _0x5306f3;const _0x213ba7=new Set(_0x11f8c4['getMarkersToAdd']()['filter'](_0x276b79=>{if(!_0x276b79['name']['startsWith']('suggestion:attribute:'))return!0x1;const _0x1cdfd8=_0x567555(_0x276b79['name'])['subType']['split']('|')[0x0];return _0x5ca655['has'](_0x1cdfd8);})['map'](_0x8e2352=>_0x567555(_0x8e2352['name'])['id']));for(const _0x2073db of _0xdda91a){const _0x3d7b9b=_0x2d0a75['_findSuggestions'](_0x2073db['range'],'attribute')['filter'](_0x5ffd41=>{if(_0x5ffd41['meta']['isNextTo'])return!0x1;if(_0x213ba7['has'](_0x5ffd41['suggestion']['id']))return!0x1;const _0x2f5b9d=_0x2d0a75['_getAttributeKey'](_0x5ffd41['suggestion']);return _0x5ca655['has'](_0x2f5b9d);})['map'](_0x1e4567=>_0x1e4567['suggestion']);if(_0x3d7b9b['length']){for(const _0x2f6b6d of _0x3d7b9b)_0x22b775['removeMarker'](_0x2f6b6d['getFirstMarker']());_0x5306f3=!0x0;}}return _0x5306f3;}['assureChains'](){const _0x171c66=this['editor']['plugins']['get']('TrackChangesEditing'),_0xcbdad5=['listType','listItemId','listIndent','listStyle','listStart','listReversed','todoListCheck','listMarker','listMarkerStyle','htmlLiAttributes','htmlUlAttributes','htmlOlAttributes'];let _0xc2f2f9;const _0x3d7895=new Set(this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x84b22=>{if(_0x84b22['data']['oldRange']||!_0x84b22['data']['newRange'])return null;if(!_0x84b22['name']['startsWith']('suggestion:attribute:'))return null;const {id:_0x53b673}=_0x567555(_0x84b22['name']);if(!_0x171c66['hasSuggestion'](_0x53b673))return null;const _0x155d18=_0x171c66['getSuggestion'](_0x53b673);return _0xcbdad5['includes'](_0x155d18['data']['key']);})['map'](_0x1a76bc=>{const {id:_0x3d7bd5}=_0x567555(_0x1a76bc['name']),_0x45a026=_0x171c66['getSuggestion'](_0x3d7bd5);return _0xc2f2f9=_0x45a026['attributes']['groupId'],_0x45a026['getFirstRange']()['start']['nodeAfter'];}));if(0x0==_0x3d7895['size'])return;const _0x567219=_0x171c66['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x2b357b=>'attribute'==_0x2b357b['type']&&_0x2b357b['data']&&_0xcbdad5['includes'](_0x2b357b['data']['key'])&&_0x2b357b['attributes']['groupId']!=_0xc2f2f9)['map'](_0x1d4a23=>({'listItem':_0x1d4a23['getFirstRange']()['start']['nodeAfter'],'groupId':_0x1d4a23['attributes']['groupId']})),_0x1bdda2=new Set();for(const {groupId:_0x2d3884,listItem:_0x447a38}of _0x567219)_0x3d7895['has'](_0x447a38)&&_0x1bdda2['add'](_0x2d3884);for(const _0x12bac0 of _0x171c66['getSuggestions']())_0x1bdda2['has'](_0x12bac0['attributes']['groupId'])&&_0x12bac0['setAttribute']('groupId',_0xc2f2f9);}['_supportLegacySuggestions'](){const _0x28beec=this['editor'],_0x28e12f=_0x28beec['locale'],_0x36d42a=_0x28beec['plugins']['get']('TrackChangesEditing');this['_registerLegacyDescription'](),_0x36d42a['_suggestionFactory']['registerCustomCallback']('formatBlock','documentList','accept',function(_0x45e1bb,_0x55a1be){const _0x5760f9=[];for(let _0x1aa2b4 of _0x45e1bb)_0x1aa2b4['start']['nodeAfter']===_0x1aa2b4['end']['parent']&&(_0x1aa2b4=_0x28beec['model']['createRange'](_0x28beec['model']['createPositionAt'](_0x1aa2b4['start']['nodeAfter'],0x0))),_0x5760f9['push'](_0x1aa2b4);_0x28beec['model']['change'](_0x3f1755=>{const _0x2fcb64=_0x28beec['model']['document']['selection'],_0x50b48d=Array['from'](_0x2fcb64['getRanges']())['map'](_0x36dc19=>_0x14e616['ModelLiveRange']['fromRange'](_0x36dc19));_0x3f1755['setSelection'](_0x5760f9),_0x28beec['commands']['get'](_0x55a1be['commandName'])['refresh'](),_0x55a1be['commandParams']['push']({'forceDefaultExecution':!0x0}),_0x28beec['execute'](_0x55a1be['commandName'],..._0x55a1be['commandParams']),_0x3f1755['setSelection'](_0x50b48d);for(const _0x29f5d2 of _0x50b48d)_0x29f5d2['detach']();});}),_0x36d42a['descriptionFactory']['registerElementLabel'](function(_0x288cd0){const _0x3a48a1=!_0x28beec['model']['schema']['isObject'](_0x288cd0),_0x46f483=_0x288cd0['previousSibling'],_0x26edf2=_0x288cd0['nextSibling'],_0x2ba149=_0x288cd0['getAttribute']('listItemId'),_0x1bf8bc=!_0x46f483||_0x46f483['getAttribute']('listItemId')!==_0x2ba149,_0x21ee95=!_0x26edf2||_0x26edf2['getAttribute']('listItemId')!==_0x2ba149;return _0x3a48a1&&Boolean(_0x2ba149)&&_0x1bf8bc&&_0x21ee95;},_0xf5d791=>_0x45b6d4(_0x28e12f,'ELEMENT_LIST_ITEM',_0xf5d791));}['_registerLegacyDescription'](){const _0x2b0cd5=this['editor'],_0x36ea98=_0x2b0cd5['locale'];function _0x90afdb(_0x5da726){const _0x446d77=_0x2b0cd5['commands']['get']('bulletedList')['value'],_0x2a41ce=_0x2b0cd5['commands']['get']('numberedList')['value'];return'numberedList'===_0x5da726?_0x446d77:_0x2a41ce;}_0x2b0cd5['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](function(_0xfca1c1){if('formatBlock'!=_0xfca1c1['type'])return;const {data:_0x3e2887}=_0xfca1c1;if(!_0x3e2887)return;let _0x494c80,_0x9eb55,_0xf454ff,_0x3c7177;switch(_0x3e2887['commandName']){case'bulletedList':_0xf454ff=_0x3e2887['commandParams'][0x0]['forceValue'],_0x3c7177=_0x90afdb(_0x3e2887['commandName']),_0x494c80=_0xf454ff?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x3c7177&&_0x2b0cd5['config']['get']('list.multiBlock')||(_0x494c80='*Change\x20to:*\x20%0'),_0x9eb55={'type':'format','content':_0x45b6d4(_0x36ea98,_0x494c80,_0x45b6d4(_0x36ea98,'ELEMENT_BULLETED_LIST'))};break;case'numberedList':_0xf454ff=_0x3e2887['commandParams'][0x0]['forceValue'],_0x3c7177=_0x90afdb(_0x3e2887['commandName']),_0x494c80=_0xf454ff?'*Format:*\x20insert\x20into\x20%0':'*Format:*\x20remove\x20from\x20%0',!_0x3c7177&&_0x2b0cd5['config']['get']('list.multiBlock')||(_0x494c80='*Change\x20to:*\x20%0'),_0x9eb55={'type':'format','content':_0x45b6d4(_0x36ea98,_0x494c80,_0x45b6d4(_0x36ea98,'ELEMENT_NUMBERED_LIST'))};break;case'indentList':_0x494c80='*Indent:*\x20%0',_0x9eb55={'type':'format','content':_0x45b6d4(_0x36ea98,_0x494c80,_0x45b6d4(_0x36ea98,'ELEMENT_LIST_ITEM'))};break;case'outdentList':_0x494c80=function(_0x13e143){const _0xbae7ac=_0x13e143['getFirstRange']();let _0x225e7d=_0xbae7ac['start']['nodeAfter'];for(;_0x225e7d&&_0xbae7ac['containsItem'](_0x225e7d);){if(_0x225e7d['getAttribute']('listIndent')>0x0)return!0x1;_0x225e7d=_0x225e7d['nextSibling'];}return!0x0;}(_0xfca1c1)?_0x45b6d4(_0x36ea98,'*Format:*\x20remove\x20from\x20%0',_0x45b6d4(_0x36ea98,function(_0x5e4d5d){return'ELEMENT_'+_0x5e4d5d['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST';}(_0xfca1c1))):_0x45b6d4(_0x36ea98,'*Outdent:*\x20%0',_0x45b6d4(_0x36ea98,'ELEMENT_LIST_ITEM')),_0x9eb55={'type':'format','content':_0x494c80};break;case'mergeListItemBackward':case'mergeListItemForward':!0x1===_0x3e2887['multipleBlocks']&&(_0x494c80='*Merge:*\x20%0',_0x9eb55={'type':'deletion','content':_0x45b6d4(_0x36ea98,_0x494c80,_0x45b6d4(_0x36ea98,'ELEMENT_LIST_ITEM'))});}return _0x9eb55;});}};function _0x1ebb57(_0x380fde){let _0x1cddad=_0x380fde['getFirstRange']()['start']['nodeAfter']['previousSibling'];for(;_0x1cddad;){const _0x5b5b88=_0x1cddad['getAttribute']('listItemId');if(!_0x5b5b88)return!0x1;if(_0x5b5b88==_0x380fde['data']['newValue'])return'newValue';if(_0x5b5b88==_0x380fde['data']['oldValue'])return'oldValue';_0x1cddad=_0x1cddad['previousSibling'];}return!0x1;}var _0x13dac3=class extends _0x14e616['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ListPropertiesEditing'))return;const _0x5b2dae=this['editor']['config']['get']('list.properties'),_0x280116=this['editor']['plugins']['get']('TrackChangesEditing');_0x5b2dae['styles']&&_0x280116['enableDefaultAttributesIntegration']('listStyle'),_0x5b2dae['reversed']&&_0x280116['enableDefaultAttributesIntegration']('listReversed'),_0x5b2dae['startIndex']&&_0x280116['enableDefaultAttributesIntegration']('listStart');const _0x39f79c={'type':'format','content':''};_0x280116['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));const _0x9fdc4d=this['editor']['locale'];_0x280116['descriptionFactory']['registerAttributeLabel']('listReversed',_0x45b6d4(_0x9fdc4d,'FORMAT_LIST_REVERSED')),_0x280116['descriptionFactory']['registerDescriptionCallback'](_0x3c0680=>{const {data:_0x58d20d}=_0x3c0680;if(_0x58d20d&&'listReversed'==_0x58d20d['key'])return null==_0x58d20d['newValue']||0x0==_0x58d20d['newValue']&&null==_0x58d20d['oldValue']?_0x39f79c:void 0x0;}),_0x280116['descriptionFactory']['registerAttributeLabel']('listStart',_0x45b6d4(_0x9fdc4d,'FORMAT_LIST_START')),_0x280116['descriptionFactory']['registerDescriptionCallback'](_0x9f20f0=>{const {data:_0x53290a}=_0x9f20f0;if(_0x53290a&&'listStart'==_0x53290a['key'])return null==_0x53290a['newValue']||0x1==_0x53290a['newValue']&&null==_0x53290a['oldValue']?_0x39f79c:void 0x0;}),this['editor']['model']['document']['registerPostFixer'](_0x258b5f=>{if(_0x258b5f['batch']['isUndo'])return!0x1;let _0x522d4f=!0x1;const _0x3521da=_0x280116['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x3ba8ad=>{const _0x1b6d01=_0x280116['_getAttributeKey'](_0x3ba8ad);return'listStart'==_0x1b6d01||'listReversed'==_0x1b6d01;});for(const _0x59651d of _0x3521da){const _0x2764b0=_0x59651d['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType');'numbered'!=_0x2764b0&&'customNumbered'!=_0x2764b0&&(_0x280116['_findSuggestions'](_0x59651d['getFirstRange'](),'attribute')['find'](_0x11bcae=>'listType'==_0x280116['_getAttributeKey'](_0x11bcae['suggestion']))||(_0x258b5f['removeMarker'](_0x59651d['getFirstMarker']()),_0x522d4f=!0x0));}return _0x522d4f;}),this['_registerLegacyDescription']();}['handleDescriptions'](_0x4645b9){const _0x3d2b37=this['editor']['locale'],{data:_0x5e9dc9}=_0x4645b9,_0x5ec2dd={'type':'format','content':''};if(!_0x5e9dc9||'listStyle'!=_0x5e9dc9['key'])return;if(!_0x5e9dc9['oldValue'])return'default'==_0x5e9dc9['newValue']?_0x5ec2dd:{'type':'format','content':''+_0x45b6d4(_0x3d2b37,'*Set\x20format:*\x20%0',_0x45b6d4(_0x3d2b37,this['_getTranslationKeyForListStyle'](_0x5e9dc9['newValue'])))};if(!_0x5e9dc9['newValue']){if('default'==_0x5e9dc9['oldValue'])return _0x5ec2dd;let _0x529b8d=_0x4645b9['head'];for(;_0x529b8d;){if(_0x529b8d['data']&&'listType'==_0x529b8d['data']['key']&&_0x529b8d['data']['newValue'])return _0x5ec2dd;_0x529b8d=_0x529b8d['next'];}return{'type':'format','content':''+_0x45b6d4(_0x3d2b37,'*Remove\x20format:*\x20%0',_0x45b6d4(_0x3d2b37,this['_getTranslationKeyForListStyle'](_0x5e9dc9['oldValue'])))};}if('default'!=_0x5e9dc9['newValue'])return{'type':'format','content':''+_0x45b6d4(_0x3d2b37,'*Set\x20format:*\x20%0',_0x45b6d4(_0x3d2b37,this['_getTranslationKeyForListStyle'](_0x5e9dc9['newValue'])))};let _0xbe1710=_0x4645b9['head'];for(;_0xbe1710;){if(_0xbe1710['data']&&'listType'==_0xbe1710['data']['key']&&_0xbe1710['data']['newValue']&&_0xbe1710['data']['oldValue'])return _0x5ec2dd;_0xbe1710=_0xbe1710['next'];}return{'type':'format','content':_0x45b6d4(_0x3d2b37,'*Set\x20format:*\x20%0',_0x45b6d4(_0x3d2b37,'ELEMENT_'+_0x4645b9['getFirstRange']()['start']['nodeAfter']['getAttribute']('listType')['toUpperCase']()+'_LIST_DEFAULT'))};}['_registerLegacyDescription'](){const _0x316be1=this['editor'],_0x4570f7=_0x316be1['locale'];_0x316be1['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0xe29507=>{if('formatBlock'!=_0xe29507['type'])return;const {data:_0x349a96}=_0xe29507;if(!_0x349a96)return;let _0x3a7809,_0x5e80f6;switch(_0x349a96['commandName']){case'listStyle':_0x3a7809='*Change\x20to:*\x20%0',_0x5e80f6={'type':'format','content':_0x45b6d4(_0x4570f7,_0x3a7809,_0x45b6d4(_0x4570f7,this['_getTranslationKeyForListStyle'](_0x349a96['commandParams'][0x0]['type'])))};break;case'listReversed':_0x3a7809=_0x349a96['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x5e80f6={'type':'format','content':_0x45b6d4(_0x4570f7,_0x3a7809)};break;case'listStart':_0x3a7809='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x5e80f6={'type':'format','content':_0x45b6d4(_0x4570f7,_0x3a7809,_0x349a96['commandParams'][0x0]['startIndex'])};}return _0x5e80f6;});}['_getTranslationKeyForListStyle'](_0xab8657){return'ELEMENT_'+(_0x2cdf3c=_0xab8657,_0x2fdddc['includes'](_0x2cdf3c)?'bulleted':_0xc6fc1d['includes'](_0x2cdf3c)?'numbered':null)['toUpperCase']()+'_LIST_'+_0xab8657['toUpperCase']()['replace'](/-/g,'_');var _0x2cdf3c;}};const _0x2fdddc=['disc','circle','square'],_0xc6fc1d=['decimal','decimal-leading-zero','lower-roman','upper-roman','lower-latin','upper-latin','arabic-indic'];var _0x277847=class extends _0x14e616['Plugin']{['afterInit'](){const _0x3d6d34=this['editor'];_0x3d6d34['commands']['get']('emoji')&&_0x3d6d34['plugins']['get']('TrackChangesEditing')['enableCommand']('emoji');}},_0x6b86e8=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x14e616['Enter']];}['init'](){const _0x306e09=this['editor'],_0x656476=_0x306e09['plugins']['get']('TrackChangesEditing'),_0x3b84b7=_0x306e09['commands']['get']('enter');_0x656476['enableCommand']('enter',()=>{_0x306e09['model']['change'](_0x5b0a3b=>{const _0x4bc165=_0x306e09['model']['document']['selection'],_0x57c904=_0x4bc165['getFirstPosition'](),_0x514f90=_0x14e616['ModelLiveRange']['fromRange'](_0x4bc165['getFirstRange']());if(_0x3b84b7['enterBlock'](_0x5b0a3b)){const _0x22a979=_0x306e09['model']['createPositionAt'](_0x57c904['parent']['nextSibling'],0x0),_0x59c229=_0x5b0a3b['createRange'](_0x57c904,_0x22a979);_0x656476['markInsertion'](_0x59c229);}else _0x5b0a3b['setSelection'](_0x5b0a3b['createRange'](_0x514f90['end']));_0x514f90['detach'](),_0x3b84b7['fire']('afterExecute',{'writer':_0x5b0a3b});});});}},_0xd3c0a4=class extends _0x14e616['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('FindAndReplaceEditing'))return;const _0x2f6b6b=this['editor']['plugins']['get']('TrackChangesEditing');_0x2f6b6b['enableCommand']('find',this['handleFindCommand']['bind'](this)),_0x2f6b6b['enableCommand']('findNext'),_0x2f6b6b['enableCommand']('findPrevious'),_0x2f6b6b['enableCommand']('replace'),_0x2f6b6b['enableCommand']('replaceAll');}['handleFindCommand'](_0x2173a7,_0x5845d9,_0x4b83e3={}){const _0x2e0de9=this['editor']['plugins']['get']('FindAndReplaceUtils');return _0x2173a7(_0x33f131=>{let _0x51548b=('string'==typeof _0x5845d9?_0x2e0de9['findByTextCallback'](_0x5845d9,_0x4b83e3):_0x5845d9)(_0x33f131);Array['isArray'](_0x51548b)&&(_0x51548b={'results':_0x51548b,'searchText':'string'==typeof _0x5845d9?_0x5845d9:''});const _0x1e64f6=_0x51548b['results']['filter'](_0x1a1ef9=>!0x1===this['_isInDeletionRange'](_0x1a1ef9,_0x33f131['item']));return{..._0x51548b,'results':_0x1e64f6};},_0x4b83e3);}['_isInDeletionRange'](_0x323275,_0x581247){const _0x11e51b=this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x581247,_0x323275['start']),this['editor']['model']['createPositionAt'](_0x581247,_0x323275['end']));for(const _0x2e5a85 of this['editor']['model']['markers']['getMarkersGroup']('suggestion:deletion'))if(null!==_0x11e51b['getIntersection'](_0x2e5a85['getRange']()))return!0x0;return!0x1;}};const _0x14bff8=[{'pluginName':'FontSizeEditing','commandName':'fontSize'},{'pluginName':'FontFamilyEditing','commandName':'fontFamily'},{'pluginName':'FontColorEditing','commandName':'fontColor'},{'pluginName':'FontBackgroundColorEditing','commandName':'fontBackgroundColor'}];var _0x21528c=class extends _0x14e616['Plugin']{['afterInit'](){const _0x2bedcb=this['editor']['locale'],_0x181019=this['editor']['plugins']['get']('TrackChangesEditing');for(const {pluginName:_0x35f276,commandName:_0x212c7a}of _0x14bff8)this['editor']['plugins']['has'](_0x35f276)&&_0x181019['enableDefaultAttributesIntegration'](_0x212c7a);_0x181019['descriptionFactory']['registerAttributeLabel']('fontSize',_0x45b6d4(_0x2bedcb,'FORMAT_FONT_SIZE')),_0x181019['descriptionFactory']['registerAttributeLabel']('fontFamily',_0x45b6d4(_0x2bedcb,'FORMAT_FONT_FAMILY')),_0x181019['descriptionFactory']['registerAttributeLabel']('fontColor',_0x45b6d4(_0x2bedcb,'FORMAT_FONT_COLOR')),_0x181019['descriptionFactory']['registerAttributeLabel']('fontBackgroundColor',_0x45b6d4(_0x2bedcb,'FORMAT_FONT_BACKGROUND')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1fe614=this['editor'],_0x1a3e6f=_0x1fe614['locale'];_0x1fe614['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x192b0a=>{const _0x4cbb1a=_0x1a3e6f['t'];if('formatInline'!=_0x192b0a['type'])return;const {data:_0xfc4ded}=_0x192b0a;if(null!=_0xfc4ded){if('fontSize'==_0xfc4ded['commandName']){const _0x2e6d3a=_0xfc4ded['commandParams'][0x0]['value'];if(_0x2e6d3a){const _0x8c4d4=this['editor']['plugins']['get']('FontSize')['normalizeSizeOptions'](this['editor']['config']['get']('fontSize.options'))['find'](_0x3ab562=>_0x3ab562['model']==_0x2e6d3a)['title'];return{'type':'format','content':_0x45b6d4(_0x1a3e6f,'*Set\x20font\x20size:*\x20%0',_0x4cbb1a(_0x8c4d4)['toLowerCase']())};}return{'type':'format','content':_0x45b6d4(_0x1a3e6f,'*Reset\x20font\x20size*')};}if('fontFamily'==_0xfc4ded['commandName']){const _0x4a2860=_0xfc4ded['commandParams'][0x0]['value'];return _0x4a2860?{'type':'format','content':_0x45b6d4(_0x1a3e6f,'*Set\x20font\x20family:*\x20%0',_0x4a2860)}:{'type':'format','content':_0x45b6d4(_0x1a3e6f,'*Reset\x20font\x20family*')};}if('fontColor'==_0xfc4ded['commandName']){const _0x45476c=_0xfc4ded['commandParams'][0x0]['value'];if(_0x45476c){const _0x20451f=(0x0,_0x14e616['normalizeColorOptions'])(this['editor']['config']['get']('fontColor.colors'))['find'](_0x55cb6e=>_0x55cb6e['model']==_0x45476c);let _0x4551d1=_0x45476c,_0x3df826='';return _0x20451f&&(_0x4551d1=_0x20451f['label'],_0x3df826=_0x4cbb1a(_0x4551d1)['toLowerCase']()),{'type':'format','content':_0x45b6d4(_0x1a3e6f,'*Set\x20font\x20color:*\x20%0',_0x3df826)['trim'](),'color':{'value':_0x45476c,'title':_0x3df826||_0x4551d1}};}return{'type':'format','content':_0x45b6d4(_0x1a3e6f,'*Reset\x20font\x20color*')};}if('fontBackgroundColor'==_0xfc4ded['commandName']){const _0x1bb4a3=_0xfc4ded['commandParams'][0x0]['value'];if(_0x1bb4a3){const _0xd9662b=(0x0,_0x14e616['normalizeColorOptions'])(this['editor']['config']['get']('fontBackgroundColor.colors'))['find'](_0x54b0ff=>_0x54b0ff['model']==_0x1bb4a3);let _0x4d3497=_0x1bb4a3,_0x584fd9='';return _0xd9662b&&(_0x4d3497=_0xd9662b['label'],_0x584fd9=_0x4cbb1a(_0x4d3497)['toLowerCase']()),{'type':'format','content':_0x45b6d4(_0x1a3e6f,'*Set\x20font\x20background\x20color:*\x20%0',_0x584fd9)['trim'](),'color':{'value':_0x1bb4a3,'title':_0x584fd9||_0x4d3497}};}return{'type':'format','content':_0x45b6d4(_0x1a3e6f,'*Reset\x20font\x20background\x20color*')};}}});}},_0x13ea6e=class extends _0x14e616['Plugin']{['afterInit'](){const {plugins:_0x43390a}=this['editor'];_0x43390a['has']('FootnotesEditing')&&this['_registerFootnotesEditingIntegration'](),_0x43390a['has']('FootnotesPropertiesEditing')&&this['_registerFootnotesPropertiesEditingIntegration']();}['_registerFootnotesPropertiesEditingIntegration'](){const {locale:_0x2abc23,plugins:_0x3879e7,commands:_0x1b177f}=this['editor'],_0x185d57=_0x3879e7['get']('TrackChangesEditing');_0x1b177f['get']('footnotesStyle')&&_0x185d57['enableDefaultAttributesIntegration']('footnotesStyle'),_0x1b177f['get']('footnotesStart')&&_0x185d57['enableDefaultAttributesIntegration']('footnotesStart'),_0x185d57['descriptionFactory']['registerAttributeLabel']('footnotesListStyle',_0x45b6d4(_0x2abc23,'FORMAT_FOOTNOTES_LIST_STYLE')),_0x185d57['descriptionFactory']['registerAttributeLabel']('footnotesListStart',_0x45b6d4(_0x2abc23,'FORMAT_FOOTNOTES_LIST_START'));}['_registerFootnotesEditingIntegration'](){const _0x5b5e57=this['editor']['plugins']['get']('TrackChangesEditing'),{locale:_0x1d9a69,commands:_0x12939c}=this['editor'];_0x12939c['get']('insertFootnote')&&_0x5b5e57['enableCommand']('insertFootnote'),_0x5b5e57['descriptionFactory']['registerElementLabel']('footnoteRef',_0x2c873b=>_0x45b6d4(_0x1d9a69,'ELEMENT_FOOTNOTE_REF',_0x2c873b)),_0x5b5e57['descriptionFactory']['registerElementLabel']('footnoteDefinition',_0x3860ac=>_0x45b6d4(_0x1d9a69,'ELEMENT_FOOTNOTE_DEFINITION',_0x3860ac)),_0x5b5e57['descriptionFactory']['registerElementLabel']('footnotesDefinitions',_0x4042e9=>_0x45b6d4(_0x1d9a69,'ELEMENT_FOOTNOTES_DEFINITIONS_LIST',_0x4042e9));}},_0x27eca8=class extends _0x14e616['Plugin']{['afterInit'](){const _0xd78553=this['editor'],_0x417004=_0xd78553['plugins']['get']('TrackChangesEditing'),_0xbd966f=_0xd78553['commands']['get']('copyFormat'),_0x49941e=_0xd78553['commands']['get']('pasteFormat');_0xbd966f&&_0x49941e&&(_0x417004['enableDefaultAttributesIntegration']('pasteFormat'),_0x417004['enableCommand']('copyFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x3e780f=this['editor'],_0x2555a1=_0x3e780f['locale'];_0x3e780f['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x177070=>{if('formatBlock'!=_0x177070['type']&&'formatInline'!=_0x177070['type'])return;const {data:_0x524746}=_0x177070;if(_0x524746&&'pasteFormat'===_0x524746['commandName']){const _0xd3d2a2=[],_0x2c327b=_0x524746['commandParams'][0x0];for(const [_0x289cb4,_0x222e92]of Object['entries'](_0x2c327b))_0xd3d2a2['push'](_0x525032(_0x3e780f,_0x289cb4,_0x222e92));return _0xd3d2a2['length']?{'type':'format','content':_0x45b6d4(_0x2555a1,'*Set\x20format\x20to:*\x20%0',_0xd3d2a2['join'](',\x20'))}:{'type':'format','content':_0x45b6d4(_0x2555a1,'*Remove\x20all\x20formatting*')};}});}};function _0x525032(_0x6287b3,_0x4309a0,_0x5f02c1){const _0x15cd2d=_0x6287b3['locale']['t'],_0x43e886=_0x4309a0['split'](/(?=[A-Z])/)['join']('\x20'),_0x416790=_0x15cd2d(_0x43e886['charAt'](0x0)['toUpperCase']()+_0x43e886['slice'](0x1))['toLowerCase']();if('boolean'==typeof _0x5f02c1)return _0x416790;if('fontColor'===_0x4309a0||'fontBackgroundColor'===_0x4309a0){const _0x4c8eba=(0x0,_0x14e616['normalizeColorOptions'])(_0x6287b3['config']['get']('fontColor.colors'))['find'](_0x5dcb8a=>_0x5dcb8a['model']==_0x5f02c1);return _0x416790+'\x20('+(_0x4c8eba?_0x15cd2d(_0x4c8eba['label'])['toLowerCase']():_0x5f02c1)+')';}if('fontSize'===_0x4309a0&&isNaN(parseFloat(_0x5f02c1))){const _0x1baba4=_0x6287b3['plugins']['get']('FontSize')['normalizeSizeOptions'](_0x6287b3['config']['get']('fontSize.options'))['find'](_0x15c9b8=>_0x15c9b8['model']==_0x5f02c1);return _0x416790+'\x20('+(_0x1baba4?_0x15cd2d(_0x1baba4['title'])['toLowerCase']():_0x5f02c1)+')';}return _0x416790+'\x20('+_0x5f02c1+')';}var _0x45e669=class extends _0x14e616['Plugin']{['afterInit'](){const _0x2c8132=this['editor'];if(!_0x2c8132['plugins']['has']('GeneralHtmlSupport')||!_0x2c8132['plugins']['has']('DataSchema'))return;const _0x251f11=_0x2c8132['plugins']['get']('TrackChangesEditing'),_0x727b9f=_0x2c8132['plugins']['get']('GeneralHtmlSupport'),_0x10eb3b=_0x2c8132['plugins']['get']('DataSchema'),_0x4bc573=_0x2c8132['locale'],_0x12ec23=new Set(['htmlContent']);for(const _0x4578 of _0x10eb3b['getDefinitionsForView'](/.*/,!0x1)){const _0x158b48=_0x4578['view'],_0x4026e9=_0x727b9f['getGhsAttributeNameForElement'](_0x158b48);_0x12ec23['add'](_0x4026e9),!_0x4578['isInline']||_0x4578['isObject']||'appliesToBlock'in _0x4578&&_0x4578['appliesToBlock']||_0x251f11['descriptionFactory']['registerAttributeLabel'](_0x4026e9,_0x158b48),_0x4578['model']['startsWith']('html')&&_0x251f11['descriptionFactory']['registerElementLabel'](_0x4578['model'],_0xa39516=>_0x45b6d4(_0x4bc573,'ELEMENT_HTML_TAG',[_0xa39516,_0x158b48]));}_0x251f11['descriptionFactory']['registerAttributeLabel']('htmlContent',_0x45b6d4(_0x4bc573,'FORMAT_RAW_HTML_CONTENT')),_0x251f11['descriptionFactory']['registerAttributeLabel']('htmlLiAttributes',_0x45b6d4(_0x4bc573,'FORMAT_HTML_LIST_ITEM')),_0x251f11['descriptionFactory']['registerAttributeLabel']('htmlUlAttributes',_0x45b6d4(_0x4bc573,'FORMAT_HTML_BULLETED_LIST')),_0x251f11['descriptionFactory']['registerAttributeLabel']('htmlOlAttributes',_0x45b6d4(_0x4bc573,'FORMAT_HTML_NUMBERED_LIST')),_0x251f11['descriptionFactory']['registerDescriptionCallback'](_0x24a6ad=>{if('attribute'!==_0x24a6ad['type'])return;const _0xbd13ed=_0x24a6ad['data'];if(!_0xbd13ed||!_0x12ec23['has'](_0xbd13ed['key']))return;if('htmlContent'===_0xbd13ed['key'])return{'type':'format','content':_0x45b6d4(_0x4bc573,'*Change\x20%0\x20content*',_0x45b6d4(_0x4bc573,'ELEMENT_RAW_HTML'))};const {setItems:_0x8644a8,removeItems:_0x3e5987}=function(_0x440c62,_0x3483c8,_0x53cb2e){const _0x57b19a=[],_0x5b0c28=[],_0x2a09ae=_0x440c62['styles']??{},_0x1860b2=_0x3483c8['styles']??{};for(const _0x4af3e8 of new Set([...Object['keys'](_0x2a09ae),...Object['keys'](_0x1860b2)]))_0x2a09ae[_0x4af3e8]!==_0x1860b2[_0x4af3e8]&&(void 0x0===_0x1860b2[_0x4af3e8]?_0x5b0c28['push'](_0x4af3e8):_0x57b19a['push'](_0x4af3e8+'\x20('+_0x1860b2[_0x4af3e8]+')'));const _0x370357=_0x45b6d4(_0x53cb2e,'FORMAT_HTML_CLASS'),_0x4ff2f5=new Set(_0x440c62['classes']??[]),_0x45eda6=new Set(_0x3483c8['classes']??[]),_0x19d3ef=[..._0x45eda6]['some'](_0x472f3d=>!_0x4ff2f5['has'](_0x472f3d)),_0x43c568=[..._0x4ff2f5]['some'](_0x2387ab=>!_0x45eda6['has'](_0x2387ab));_0x19d3ef&&_0x57b19a['push'](_0x370357),_0x43c568&&_0x5b0c28['push'](_0x370357);const _0x124d5b=_0x45b6d4(_0x53cb2e,'FORMAT_HTML_ATTRIBUTE'),_0x254c8b=_0x440c62['attributes']??{},_0x5d32d4=_0x3483c8['attributes']??{};let _0x120c26=!0x1,_0x210ef2=!0x1;for(const _0x3ad758 of new Set([...Object['keys'](_0x254c8b),...Object['keys'](_0x5d32d4)]))_0x254c8b[_0x3ad758]!==_0x5d32d4[_0x3ad758]&&(void 0x0===_0x5d32d4[_0x3ad758]?_0x210ef2=!0x0:_0x120c26=!0x0);return _0x120c26&&_0x57b19a['push'](_0x124d5b),_0x210ef2&&_0x5b0c28['push'](_0x124d5b),{'setItems':_0x57b19a,'removeItems':_0x5b0c28};}(_0xbd13ed['oldValue']??{},_0xbd13ed['newValue']??{},_0x4bc573);if(!_0x8644a8['length']&&!_0x3e5987['length'])return;const _0x3bd3e5=[];return _0x8644a8['length']&&_0x3bd3e5['push'](_0x45b6d4(_0x4bc573,'*Set\x20format:*\x20%0',_0x8644a8['join'](',\x20'))),_0x3e5987['length']&&_0x3bd3e5['push'](_0x45b6d4(_0x4bc573,'*Remove\x20format:*\x20%0',_0x3e5987['join'](',\x20'))),{'type':'format','content':_0x3bd3e5['join']('\x0a')};});}},_0x3b0930=class extends _0x14e616['Plugin']{['_headingOptions'];['afterInit'](){const _0xddbe3a=this['editor'];if(!_0xddbe3a['plugins']['has']('HeadingEditing'))return;this['_headingOptions']=_0xddbe3a['config']['get']('heading.options');const _0x98a179=_0xddbe3a['locale'],_0x5a69de=_0xddbe3a['plugins']['get']('TrackChangesEditing');_0x5a69de['enableDefaultAttributesIntegration']('heading');for(const _0x5e1e70 of this['_headingOptions'])'paragraph'!=_0x5e1e70['model']&&_0x5a69de['descriptionFactory']['registerElementLabel'](_0x5e1e70['model'],_0x1d1b5c=>{const _0x3ca26b=this['_getHeadingLevel'](_0x5e1e70['model']);return null!==_0x3ca26b?_0x372dfd(_0x1d1b5c,_0x3ca26b):_0x5712c6(_0x1d1b5c,_0x5e1e70['title']);});function _0x372dfd(_0x3b0f00,_0x26d823){return _0x45b6d4(_0x98a179,'ELEMENT_HEADING',[_0x3b0f00,_0x26d823]);}function _0x5712c6(_0x86b821,_0x223fe0){return _0x45b6d4(_0x98a179,'ELEMENT_HEADING_CUSTOM',[_0x86b821,_0x223fe0]);}this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x1f0a33=this['editor'],_0x205ac9=_0x1f0a33['locale'];function _0x2c14ca(_0x1cd889,_0x1cc39f){return _0x45b6d4(_0x205ac9,'ELEMENT_HEADING_CUSTOM',[_0x1cd889,_0x1cc39f]);}_0x1f0a33['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4253ee=>{if('formatBlock'!=_0x4253ee['type'])return;const {data:_0x1005c0}=_0x4253ee;if(_0x1005c0&&'heading'==_0x1005c0['commandName']){const _0x46c485=_0x1005c0['commandParams'][0x0]['value'],_0x27ade1=this['_getHeadingLevel'](_0x46c485);if(null!==_0x27ade1)return{'type':'format','content':_0x45b6d4(_0x205ac9,'*Change\x20to:*\x20%0',(_0x239d68=0x1,_0x503bfd=_0x27ade1,_0x45b6d4(_0x205ac9,'ELEMENT_HEADING',[_0x239d68,_0x503bfd])))};const _0x384fcf=this['_headingOptions']['find'](_0xa3678=>_0xa3678['model']===_0x46c485)['title'];return{'type':'format','content':_0x45b6d4(_0x205ac9,'*Change\x20to:*\x20%0',_0x2c14ca(0x1,_0x384fcf))};}var _0x239d68,_0x503bfd;});}['_getHeadingLevel'](_0x4d9ac7){const _0x2f83f0=_0x4d9ac7['match'](/^heading(\d+)/);if(_0x2f83f0)return _0x2f83f0[0x1];const _0x392043=this['_headingOptions']?.['find'](_0x1ead72=>_0x1ead72['model']==_0x4d9ac7);if(_0x392043&&_0x392043['view']){const _0xc3d171=_0x392043['view'],_0xc265d8=(_0xc3d171['name']??_0xc3d171)['match'](/^h(\d+)/);if(_0xc265d8)return _0xc265d8[0x1];}return null;}},_0x33b37b=class extends _0x14e616['Plugin']{['afterInit'](){const _0x4a1a38=this['editor'];if(!_0x4a1a38['plugins']['has']('HighlightEditing'))return;const _0x23f33f=_0x4a1a38['plugins']['get']('TrackChangesEditing'),_0x2c4a37=_0x4a1a38['locale'];_0x23f33f['enableDefaultAttributesIntegration']('highlight'),_0x23f33f['descriptionFactory']['registerAttributeLabel']('highlight',_0x45b6d4(_0x2c4a37,'FORMAT_HIGHLIGHT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4be499=this['editor'],_0x5401f8=_0x4be499['locale'];_0x4be499['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x3a3629=>{if('formatInline'!=_0x3a3629['type'])return;const {data:_0x33506d}=_0x3a3629;if(_0x33506d&&'highlight'==_0x33506d['commandName']){const _0x298fec=_0x5401f8['t'],_0x37d518=_0x33506d['commandParams'][0x0]['value'];if(_0x37d518){const _0x49597a=_0x4be499['config']['get']('highlight.options')['find'](_0x4efd45=>_0x4efd45['model']==_0x37d518);return{'type':'format','content':_0x45b6d4(_0x5401f8,'*Set\x20highlight:*\x20%0',_0x298fec(_0x49597a['title'])['toLowerCase']()),'color':{'value':_0x49597a['color'],'title':_0x49597a['title']}};}return{'type':'format','content':_0x45b6d4(_0x5401f8,'*Remove\x20highlight*',_0x45b6d4(_0x5401f8,'FORMAT_HIGHLIGHT'))};}});}},_0x3bf3a4=class extends _0x14e616['Plugin']{['afterInit'](){const _0x407787=this['editor'];if(!_0x407787['plugins']['has']('HorizontalLineEditing'))return;_0x407787['plugins']['get']('TrackChangesEditing')['enableCommand']('horizontalLine');const _0x4207da=_0x407787['plugins']['get']('TrackChangesEditing'),_0x39a8db=_0x407787['locale'];_0x4207da['descriptionFactory']['registerElementLabel']('horizontalLine',_0x3bfd51=>_0x45b6d4(_0x39a8db,'ELEMENT_HORIZONTAL_LINE',_0x3bfd51));}},_0xf7fe63=class extends _0x14e616['Plugin']{['afterInit'](){const _0x211582=this['editor'];if(!_0x211582['plugins']['has']('HtmlEmbed'))return;const _0xfe2966=_0x211582['plugins']['get']('TrackChangesEditing'),_0x14117c=_0x211582['locale'];_0xfe2966['descriptionFactory']['registerElementLabel']('rawHtml',_0x5047f0=>_0x45b6d4(_0x14117c,'ELEMENT_HTML_EMBED',_0x5047f0)),_0xfe2966['enableDefaultAttributesIntegration']('htmlEmbed'),_0xfe2966['descriptionFactory']['registerDescriptionCallback'](_0x3518bb=>{if('attribute'!=_0x3518bb['type'])return;const {data:_0x54550a}=_0x3518bb;return _0x54550a&&'value'==_0x54550a['key']&&_0x3518bb['getFirstRange']()['start']['nodeAfter']['is']('element','rawHtml')?{'type':'format','content':_0x45b6d4(_0x14117c,'*Change\x20%0\x20content*',_0x45b6d4(_0x14117c,'ELEMENT_HTML_EMBED'))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4957f2=this['editor'],_0x1ffade=_0x4957f2['locale'];_0x4957f2['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x53392d=>{if('formatBlock'!=_0x53392d['type'])return;const {data:_0x39e61b}=_0x53392d;return _0x39e61b&&'htmlEmbed'==_0x39e61b['commandName']?{'type':'format','content':_0x45b6d4(_0x1ffade,'*Change\x20%0\x20content*',_0x45b6d4(_0x1ffade,'ELEMENT_HTML_EMBED'))}:void 0x0;});}},_0x3d60e8=class extends _0x14e616['Plugin']{['afterInit'](){const _0x46a63c=this['editor'];if(!_0x46a63c['plugins']['has']('ImageEditing'))return;const _0x104abc=_0x46a63c['plugins']['get']('TrackChangesEditing'),_0x74dda2=_0x46a63c['plugins']['get']('ImageUtils'),_0x55a509=_0x46a63c['locale'];_0x104abc['enableCommand']('insertImage'),_0x104abc['descriptionFactory']['registerElementLabel']('imageBlock',_0x2c72a1=>_0x45b6d4(_0x55a509,'ELEMENT_IMAGE',_0x2c72a1)),_0x104abc['descriptionFactory']['registerElementLabel']('imageInline',_0x3e922c=>_0x45b6d4(_0x55a509,'ELEMENT_INLINE_IMAGE',_0x3e922c)),_0x104abc['descriptionFactory']['registerElementLabel']('caption',()=>_0x45b6d4(_0x55a509,'ELEMENT_CAPTION')),_0x46a63c['plugins']['has']('ImageUploadEditing')&&_0x104abc['enableCommand']('uploadImage'),_0x46a63c['plugins']['has']('ImageBlockEditing')&&_0x46a63c['plugins']['has']('ImageInlineEditing')&&(_0x104abc['enableCommand']('imageTypeInline',(_0x4a1c1b,_0x4d3c43)=>{const _0x37ac55=_0x74dda2['getClosestSelectedImageElement'](_0x46a63c['model']['document']['selection']);_0x46a63c['model']['change'](()=>{_0x104abc['markBlockFormat'](_0x37ac55,{'commandName':'imageTypeInline','commandParams':[_0x4d3c43]},[],'convertBlockImageToInline');});}),_0x104abc['enableCommand']('imageTypeBlock',(_0x36240a,_0x325b07)=>{_0x46a63c['model']['change'](_0x3d3725=>{let _0x5b267a=_0x74dda2['getClosestSelectedImageElement'](_0x46a63c['model']['document']['selection']),_0x4750d5=_0x3d3725['createRangeOn'](_0x5b267a);const _0x3bdb78=_0x14e616['ModelLivePosition']['fromPosition'](_0x4750d5['start'],'toPrevious'),_0x34c1c2=_0x14e616['ModelLivePosition']['fromPosition'](_0x4750d5['end'],'toNext');_0x104abc['forceDefaultExecution'](()=>_0x36240a(_0x325b07)),_0x5b267a=_0x74dda2['getClosestSelectedImageElement'](_0x46a63c['model']['document']['selection']),_0x4750d5=_0x3d3725['createRangeOn'](_0x5b267a);const _0xb8e647=_0x3d3725['createRange'](_0x3bdb78,_0x34c1c2);_0x3bdb78['detach'](),_0x34c1c2['detach'](),_0x104abc['markBlockFormat'](_0x5b267a,{'commandName':'imageTypeInline','commandParams':[_0x325b07]},[],'convertInlineImageToBlock'),_0xb8e647['start']['isBefore'](_0x4750d5['start'])&&_0x104abc['markInsertion'](_0x3d3725['createRange'](_0xb8e647['start'],_0x4750d5['start']),'convertInlineImageToBlock'),_0x4750d5['end']['isBefore'](_0xb8e647['end'])&&_0x104abc['markInsertion'](_0x3d3725['createRange'](_0x4750d5['end'],_0xb8e647['end']),'convertInlineImageToBlock');});}),_0x104abc['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','join',()=>!0x1),_0x104abc['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','accept',()=>!0x1),_0x104abc['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','discard',_0x104abc['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')),_0x104abc['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','join',()=>!0x1),_0x104abc['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','discard',([_0xaf33e3])=>{const _0x5290a2=_0x104abc['_suggestionFactory']['getSuggestionCallback']('insertion','','discard');let _0x5b5a34=_0xaf33e3['start'],_0x43eb39=_0xaf33e3['end'];const _0x23d73d=_0x46a63c['model']['schema']['getNearestSelectionRange'](_0x5b5a34,'backward'),_0x50afe8=_0x46a63c['model']['schema']['getNearestSelectionRange'](_0x43eb39,'forward');_0x23d73d['isCollapsed']&&(_0x5b5a34=_0x23d73d['start']),_0x50afe8['isCollapsed']&&(_0x43eb39=_0x50afe8['end']),_0x5290a2([_0x46a63c['model']['createRange'](_0x5b5a34,_0x43eb39)]);}),_0x104abc['_suggestionFactory']['registerCustomCallback']('formatBlock','convertInlineImageToBlock','chain',_0x477dc6),_0x104abc['_suggestionFactory']['registerCustomCallback']('insertion','convertInlineImageToBlock','chain',_0x477dc6)),_0x46a63c['plugins']['has']('ImageCaptionEditing')&&(_0x104abc['enableCommand']('toggleImageCaption',(_0x3d48bf,_0x2df530)=>{const _0xd6f6d9=_0x46a63c['plugins']['get']('ImageCaptionUtils');let _0x5bac97=_0x74dda2['getClosestSelectedImageElement'](_0x46a63c['model']['document']['selection']),_0x1cadba=_0xd6f6d9['getCaptionFromImageModelElement'](_0x5bac97);_0x46a63c['model']['change'](()=>{if(_0x1cadba)return void _0x104abc['markDeletion'](_0x46a63c['model']['createRangeOn'](_0x1cadba));const _0x1a8818=_0x74dda2['isBlockImage'](_0x5bac97);_0x3d48bf(_0x2df530),_0x5bac97=_0x74dda2['getClosestSelectedImageElement'](_0x46a63c['model']['document']['selection']),_0x1cadba=_0xd6f6d9['getCaptionFromImageModelElement'](_0x5bac97),_0x104abc['markInsertion'](_0x46a63c['model']['createRangeOn'](_0x1cadba),_0x1a8818?null:'imageCaption');});}),_0x104abc['_suggestionFactory']['registerCustomCallback']('insertion','imageCaption','chain',_0x477dc6));const _0x17f5ad=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x409c20(_0x208f9c,_0x52981b){const _0x2bee1e=_0x17f5ad['findIndex'](({type:_0x594fa0,subType:_0xc14f79})=>_0x208f9c['type']==_0x594fa0&&_0x208f9c['subType']==_0xc14f79),_0x229756=_0x17f5ad['findIndex'](({type:_0x17e5af,subType:_0x5939ca})=>_0x52981b['type']==_0x17e5af&&_0x52981b['subType']==_0x5939ca);if(_0x2bee1e<0x0||_0x229756<0x0)return!0x1;const _0x309f9a=_0x208f9c['getFirstRange'](),_0xe186b0=_0x52981b['getFirstRange']();if((0x0==_0x2bee1e||0x1==_0x2bee1e)&&0x2==_0x229756&&_0x309f9a['isIntersecting'](_0xe186b0))return!0x0;if(0x2==_0x2bee1e&&0x3==_0x229756){const _0x40d4a8=_0x104abc['_findSuggestions'](_0x309f9a,'insertion')['filter'](({suggestion:_0xc11ff3,meta:_0xe43c34})=>_0xe43c34['isOwn']&&'convertInlineImageToBlock'==_0xc11ff3['subType']);if(_0x40d4a8['length']>0x1&&_0xe186b0['end']['isEqual'](_0x309f9a['start']))return!0x0;if(0x1==_0x40d4a8['length']&&(_0x309f9a['start']['isEqual'](_0xe186b0['end'])||_0x309f9a['end']['isEqual'](_0xe186b0['start'])))return!0x0;}if(0x3==_0x2bee1e&&0x3==_0x229756&&_0x309f9a['start']['isBefore'](_0xe186b0['start'])){const _0x340dbe=_0x309f9a['end']['nodeAfter'],_0x5efbbe=_0xe186b0['start']['nodeBefore'];return _0x74dda2['isBlockImage'](_0x340dbe)&&_0x340dbe===_0x5efbbe;}return!0x1;}function _0x477dc6(_0x135865,_0xbfecc6){return _0x409c20(_0x135865,_0xbfecc6)?[_0x135865,_0xbfecc6]:_0x409c20(_0xbfecc6,_0x135865)?[_0xbfecc6,_0x135865]:null;}_0x46a63c['plugins']['has']('ImageResize')&&(_0x104abc['enableDefaultAttributesIntegration']('resizeImage'),_0x104abc['descriptionFactory']['registerAttributeLabel']('resizedWidth',_0x45b6d4(_0x55a509,'FORMAT_IMAGE_SIZE'))),_0x46a63c['plugins']['has']('ImageTextAlternativeEditing')&&_0x104abc['enableDefaultAttributesIntegration']('imageTextAlternative'),_0x46a63c['plugins']['has']('PictureEditing')&&_0x104abc['descriptionFactory']['registerDescriptionCallback'](_0x12a15d=>{if('attribute'!=_0x12a15d['type'])return;const {data:_0x1c0eba}=_0x12a15d;return _0x1c0eba&&'sources'==_0x1c0eba['key']?{'type':'format','content':''}:void 0x0;}),_0x46a63c['plugins']['has']('ImageSizeAttributes')&&_0x104abc['descriptionFactory']['registerDescriptionCallback'](_0x4c7321=>{if('attribute'!=_0x4c7321['type'])return;const {data:_0x5c1861}=_0x4c7321;return!_0x5c1861||'width'!=_0x5c1861['key']&&'height'!=_0x5c1861['key']?void 0x0:{'type':'format','content':''};}),_0x104abc['descriptionFactory']['registerDescriptionCallback'](_0x3b813b=>{if(_0x17f5ad['find'](({type:_0x11198e,subType:_0x393b0e})=>_0x3b813b['type']==_0x11198e&&_0x3b813b['subType']==_0x393b0e))return _0x3b813b['previous']?{}:void 0x0;}),_0x104abc['descriptionFactory']['registerDescriptionCallback'](_0xbd404b=>{if('insertion'==_0xbd404b['type']||'deletion'==_0xbd404b['type']){const _0x2477a6=_0xbd404b['getContainedElement']();if(_0x2477a6&&_0x2477a6['is']('element','caption'))return{'type':'insertion'==_0xbd404b['type']?'addObject':'removeObject','element':_0x2477a6,'quantity':0x1};}}),_0x104abc['descriptionFactory']['registerDescriptionCallback'](_0x3e697d=>'formatBlock'==_0x3e697d['type']&&'convertInlineImageToBlock'==_0x3e697d['subType']?{'type':'format','content':'Inline\x20image\x20to\x20block\x20image'}:'formatBlock'==_0x3e697d['type']&&'convertBlockImageToInline'==_0x3e697d['subType']?{'type':'format','content':'Block\x20image\x20to\x20inline\x20image'}:void 0x0),_0x104abc['descriptionFactory']['registerDescriptionCallback'](_0x5143c5=>{if('attribute'!=_0x5143c5['type'])return;const {data:_0xdf6650}=_0x5143c5;if(!_0xdf6650||'alt'!=_0xdf6650['key'])return;const _0x60dc5d=_0xdf6650['newValue'];return _0x60dc5d?{'type':'format','content':_0x45b6d4(_0x55a509,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x60dc5d+'\x22')}:{'type':'format','content':_0x45b6d4(_0x55a509,'*Remove\x20image\x20text\x20alternative*')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x16f964=this['editor'],_0x4cef49=_0x16f964['locale'];_0x16f964['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x2799b6=>{if('formatBlock'!=_0x2799b6['type']&&'formatInline'!=_0x2799b6['type'])return;const {data:_0x2b67bb}=_0x2799b6;if(_0x2b67bb){if('imageTextAlternative'==_0x2b67bb['commandName']){const _0x4764c6=_0x2b67bb['commandParams'][0x0]['newValue'];return _0x4764c6?{'type':'format','content':_0x45b6d4(_0x4cef49,'*Set\x20image\x20text\x20alternative:*\x20%0','\x22'+_0x4764c6+'\x22')}:{'type':'format','content':_0x45b6d4(_0x4cef49,'*Remove\x20image\x20text\x20alternative*')};}if('resizeImage'==_0x2b67bb['commandName']){const _0x394c15=_0x2b67bb['commandParams'][0x0]['width'];return _0x394c15?{'type':'format','content':_0x45b6d4(_0x4cef49,'*Set\x20image\x20width:*\x20%0',_0x394c15)}:{'type':'format','content':_0x45b6d4(_0x4cef49,'*Reset\x20image\x20width*')};}}});}},_0x3e1304=class extends _0x14e616['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('ImageEditing'))return;const _0x3326af=this['editor']['locale'],_0x84daa8=this['editor']['plugins']['get']('TrackChangesEditing');_0x84daa8['enableDefaultAttributesIntegration']('replaceImageSource'),_0x84daa8['descriptionFactory']['registerDescriptionCallback'](_0x9c184d=>{if('attribute'!=_0x9c184d['type'])return;const {data:_0xa86703}=_0x9c184d;return _0xa86703&&'src'==_0xa86703['key']?_0xa86703['newValue']&&_0xa86703['oldValue']?{'type':'format','content':_0x45b6d4(_0x3326af,'*Replace\x20image*')}:{'type':'format','content':''}:void 0x0;}),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x3e822c=this['editor']['plugins']['get']('TrackChangesEditing');_0x3e822c['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','accept',_0x3e822c['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x3e822c['_suggestionFactory']['registerCustomCallback']('formatBlock','replaceImageSource','discard',_0x3e822c['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x2f8497=this['editor'],_0x2da6d6=_0x2f8497['locale'];_0x2f8497['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1a5aca=>{if('formatBlock'!=_0x1a5aca['type']&&'formatInline'!=_0x1a5aca['type'])return;const {data:_0x394ff7}=_0x1a5aca;return _0x394ff7&&'replaceImageSource'==_0x394ff7['commandName']?{'type':'format','content':_0x45b6d4(_0x2da6d6,'*Format:*\x20replace\x20image\x20URL')}:void 0x0;});}},_0x2d8076=class extends _0x14e616['Plugin']{['afterInit'](){const _0x1e8d54=this['editor'];if(!_0x1e8d54['plugins']['has']('ImageStyleEditing'))return;const _0x498c1e=_0x1e8d54['plugins']['get']('TrackChangesEditing'),_0x14867c=_0x1e8d54['plugins']['get']('ImageUtils'),_0x74f7de={};_0x498c1e['enableCommand']('imageStyle',(_0x3539dd,_0x4a45db)=>{const _0x2b0f77=_0x1e8d54['plugins']['get']('Users')['me'],_0x476048=_0x1e8d54['commands']['get']('imageStyle');let _0x392041=_0x14867c['getClosestSelectedImageElement'](_0x1e8d54['model']['document']['selection']),_0x592b06=_0x1e8d54['model']['createRangeOn'](_0x392041),_0x12e2cc=_0x476048['value'];if(_0x12e2cc==_0x4a45db['value'])return;if(_0x4a45db['value']&&_0x14867c['isInlineImage'](_0x392041)&&!_0x476048['isStyleEnabled'](_0x4a45db['value']))return;const _0x5bfb54={'commandName':'imageStyle','commandParams':[_0x4a45db],'formatGroupId':(0x0,_0x14e616['uid'])()};_0x1e8d54['model']['change'](()=>{if(_0x498c1e['getSuggestions']()['filter'](_0x538839=>_0x538839['isInContent']&&_0x2b0f77==_0x538839['author']&&('formatBlock'==_0x538839['type']||'formatInline'==_0x538839['type'])&&('imageStylePreApply'==_0x538839['subType']||'imageStylePostApply'==_0x538839['subType'])&&_0x538839['getFirstRange']()['isEqual'](_0x592b06))['forEach'](_0xd6ead1=>_0x498c1e['discardSuggestion'](_0xd6ead1['head'])),_0x392041=_0x14867c['getClosestSelectedImageElement'](_0x1e8d54['model']['document']['selection']),_0x592b06=_0x1e8d54['model']['createRangeOn'](_0x392041),_0x476048['refresh'](),_0x1e8d54['commands']['get']('imageTypeInline')['refresh'](),_0x1e8d54['commands']['get']('imageTypeBlock')['refresh'](),_0x12e2cc=_0x476048['value'],_0x12e2cc!=_0x4a45db['value'])return _0x14867c['isInlineImage'](_0x392041)&&_0x476048['shouldConvertImageType'](_0x4a45db['value'],_0x392041)?(_0x3539dd({..._0x4a45db,'setImageSizes':!0x1}),_0x392041=_0x14867c['getClosestSelectedImageElement'](_0x1e8d54['model']['document']['selection']),void _0x498c1e['markBlockFormat'](_0x392041,{..._0x5bfb54,'commandReversedParams':[{'value':_0x12e2cc||null,'setImageSizes':!0x1}]},[],'imageStylePreApply')):void(_0x14867c['isBlockImage'](_0x392041)?_0x498c1e['markBlockFormat'](_0x392041,_0x5bfb54,[],'imageStylePostApply'):_0x498c1e['markInlineFormat'](_0x592b06,_0x5bfb54,'imageStylePostApply'));});});for(const _0x39df8d of _0x1e8d54['plugins']['get']('ImageStyleEditing')['normalizedStyles'])_0x74f7de[_0x39df8d['name']]=_0x39df8d['title']['toLowerCase']();_0x498c1e['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','join',()=>!0x1),_0x498c1e['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePostApply','join',()=>!0x1),_0x498c1e['_suggestionFactory']['registerCustomCallback']('formatInline','imageStylePostApply','join',()=>!0x1),_0x498c1e['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','accept',([_0x2cf8cf])=>{_0x14867c['setImageNaturalSizeAttributes'](_0x2cf8cf['getContainedElement']());}),_0x498c1e['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','discard',(_0x16a71f,_0x25f367)=>{_0x498c1e['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x16a71f,{'commandName':_0x25f367['commandName'],'commandParams':_0x25f367['commandReversedParams']});}),_0x498c1e['_suggestionFactory']['registerCustomCallback']('formatBlock','imageStylePreApply','chain',function(_0x4ece68,_0x1d5d64){return _0x4d672f(_0x4ece68,_0x1d5d64)?[_0x4ece68,_0x1d5d64]:_0x4d672f(_0x1d5d64,_0x4ece68)?[_0x1d5d64,_0x4ece68]:null;});const _0x41a824=[{'type':'formatBlock','subType':'imageStylePreApply'},{'type':'insertion','subType':'imageCaption'},{'type':'formatBlock','subType':'convertInlineImageToBlock'},{'type':'insertion','subType':'convertInlineImageToBlock'}];function _0x4d672f(_0x3276f9,_0xa386e2){const _0x30df9c=_0x41a824['findIndex'](({type:_0x3b60e2,subType:_0x500ed9})=>_0x3276f9['type']==_0x3b60e2&&_0x3276f9['subType']==_0x500ed9),_0x767a6c=_0x41a824['findIndex'](({type:_0x38b932,subType:_0x2ce9e2})=>_0xa386e2['type']==_0x38b932&&_0xa386e2['subType']==_0x2ce9e2);if(_0x30df9c<0x0||_0x767a6c<0x0)return!0x1;const _0x270c45=_0x3276f9['getFirstRange'](),_0x2d4897=_0xa386e2['getFirstRange']();if((0x0==_0x30df9c||0x1==_0x30df9c)&&0x2==_0x767a6c&&_0x270c45['isIntersecting'](_0x2d4897))return!0x0;if(0x2==_0x30df9c&&0x3==_0x767a6c){const _0x5f59a6=_0x498c1e['_findSuggestions'](_0x270c45,'insertion')['filter'](({suggestion:_0x4b1647,meta:_0x59d9ab})=>_0x59d9ab['isOwn']&&'convertInlineImageToBlock'==_0x4b1647['subType']);if(_0x5f59a6['length']>0x1&&_0x2d4897['end']['isEqual'](_0x270c45['start']))return!0x0;if(0x1==_0x5f59a6['length']&&(_0x270c45['start']['isEqual'](_0x2d4897['end'])||_0x270c45['end']['isEqual'](_0x2d4897['start'])))return!0x0;}if(0x3==_0x30df9c&&0x3==_0x767a6c&&_0x270c45['start']['isBefore'](_0x2d4897['start'])){const _0x261ff7=_0x270c45['end']['nodeAfter'],_0x1bb5da=_0x2d4897['start']['nodeBefore'];return _0x14867c['isBlockImage'](_0x261ff7)&&_0x261ff7===_0x1bb5da;}return!0x1;}_0x1e8d54['model']['document']['registerPostFixer'](()=>{let _0x385d6c=!0x1;const _0x48f2eb=Array['from'](_0x1e8d54['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x43c68a,data:_0x41299e}of _0x48f2eb){const {group:_0x8f3b4e,type:_0x2b610b,subType:_0x1c838f,id:_0x5e234a}=_0x567555(_0x43c68a);if('suggestion'==_0x8f3b4e&&_0x498c1e['hasSuggestion'](_0x5e234a)){if('formatBlock'==_0x2b610b&&('imageStylePreApply'==_0x1c838f||'imageStylePostApply'==_0x1c838f)){const _0x34761b=_0x498c1e['getSuggestion'](_0x5e234a);if(_0x41299e['newRange']){const _0x54e83e=_0x34761b['getFirstRange']()['getContainedElement']();if(_0x14867c['isBlockImage'](_0x54e83e))continue;_0x498c1e['discardSuggestion'](_0x34761b),_0x385d6c=!0x0;}}if('insertion'==_0x2b610b&&'imageCaption'==_0x1c838f&&!_0x41299e['newRange']){const _0x247547=_0x498c1e['getSuggestion'](_0x5e234a);_0x247547['next']&&_0x247547['next']['isInContent']&&(_0x498c1e['discardSuggestion'](_0x247547['next']),_0x385d6c=!0x0);}}}return _0x385d6c;}),this['_registerLegacyDescription'](_0x74f7de);}['_registerLegacyDescription'](_0x571b54){const _0x1c138c=this['editor'],_0x1e9481=_0x1c138c['locale'];_0x1c138c['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x4d0aa9=>{if('formatBlock'!=_0x4d0aa9['type']&&'formatInline'!=_0x4d0aa9['type'])return;const {data:_0x5c21ef}=_0x4d0aa9;if(!_0x5c21ef||'imageStyle'!=_0x5c21ef['commandName'])return;const _0x15994a=_0x5c21ef['commandParams'][0x0]['value'];return _0x3462dc('side'===_0x15994a?_0x45b6d4(_0x1e9481,'FORMAT_SIDE_IMAGE'):_0x571b54[_0x15994a]||_0x15994a);function _0x3462dc(_0x347685){return{'type':'format','content':_0x45b6d4(_0x1e9481,'*Format:*\x20%0',_0x347685)};}});}},_0x3aa641=class extends _0x14e616['Plugin']{['_trackChangesValueDuringImport'];['_trackChangesExecuted'];constructor(_0x1179c4){super(_0x1179c4),this['_trackChangesValueDuringImport']=!0x1,this['_trackChangesExecuted']=!0x1;}['afterInit'](){const _0x361ce5=this['editor'],_0x1884fd=_0x361ce5['commands']['get']('importWord'),_0x181c2b=_0x361ce5['commands']['get']('trackChanges');_0x1884fd&&(_0x1884fd['on']('execute',(_0x3164d5,[,_0x4263f4])=>{this['_trackChangesValueDuringImport']=_0x181c2b['value'],_0x4263f4['collaboration_features']['track_changes']=!this['_trackChangesValueDuringImport'];},{'priority':'high'}),this['listenTo'](_0x1884fd,'dataInsert',this['_handleImportedData']['bind'](this)),this['listenTo'](_0x1884fd,'dataInsert',()=>{this['_trackChangesExecuted']&&(_0x181c2b['execute'](),this['_trackChangesExecuted']=!0x1);},{'priority':'lowest'}),_0x361ce5['plugins']['get']('TrackChangesEditing')['enableCommand']('importWord'));}['_handleImportedData'](_0x45eab6,_0x530646){const {suggestions:_0xc510fe}=_0x530646,_0x1b9ced=this['editor']['commands']['get']('trackChanges'),_0x301a4d=_0x1b9ced['value'];this['_trackChangesValueDuringImport']!==_0x301a4d&&(_0x1b9ced['execute'](),this['_trackChangesExecuted']=!0x0),_0xc510fe&&_0xc510fe['forEach'](({id:_0x5ea709,type:_0x372a46,author:_0x312ccd,created_at:_0xe65a58})=>{const _0xabb246={'id':_0x5ea709,'type':_0x372a46,'authorId':this['editor']['plugins']['get']('Users')['me']['id'],'createdAt':new Date(),'data':null,'hasComments':!0x1,'attributes':{'@external':{'authorName':_0x312ccd,'createdAt':_0xe65a58?new Date(_0xe65a58):new Date(),'source':'importWord'}}};this['editor']['plugins']['get']('TrackChangesEditing')['_setSuggestionData'](_0xabb246);});}},_0x42690f=class extends _0x14e616['Plugin']{['afterInit'](){const _0x163559=this['editor'],_0x39fbd9=_0x163559['plugins']['get']('TrackChangesEditing');if(_0x163559['plugins']['has']('IndentEditing')&&(_0x39fbd9['enableCommand']('indent'),_0x39fbd9['enableCommand']('outdent')),_0x163559['plugins']['has']('IndentBlock')){for(const _0x58902c of['indentBlock','outdentBlock'])_0x39fbd9['enableDefaultAttributesIntegration'](_0x58902c);if(_0x163559['plugins']['has']('ListEditing')){for(const _0x5bd1c8 of['indentBlockList','indentBlockListItem','outdentBlockList','outdentBlockListItem'])_0x39fbd9['enableDefaultAttributesIntegration'](_0x5bd1c8);}}const _0x2bb21f=_0x163559['locale'];_0x39fbd9['descriptionFactory']['registerAttributeLabel']('blockIndent',_0x45b6d4(_0x2bb21f,'FORMAT_INDENT')),_0x39fbd9['descriptionFactory']['registerAttributeLabel']('blockIndentList',_0x45b6d4(_0x2bb21f,'FORMAT_INDENT')),_0x39fbd9['descriptionFactory']['registerAttributeLabel']('blockIndentListItem',_0x45b6d4(_0x2bb21f,'FORMAT_INDENT')),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x13d985=this['editor'],_0x2293bf=_0x13d985['locale'],_0x43f260=_0x13d985['plugins']['get']('TrackChangesEditing');_0x43f260['descriptionFactory']['registerDescriptionCallback'](_0x51f9e2=>{if('formatBlock'!=_0x51f9e2['type'])return;const {data:_0x481f7e}=_0x51f9e2;if(!_0x481f7e)return;if('indentBlock'!=_0x481f7e['commandName']&&'outdentBlock'!=_0x481f7e['commandName'])return;const _0x179836=_0x51f9e2['getItems']()[0x0],_0x4e0ad2=_0x43f260['descriptionFactory']['getItemLabel'](_0x179836);return'indentBlock'==_0x481f7e['commandName']?{'type':'format','content':_0x45b6d4(_0x2293bf,'*Indent:*\x20%0',_0x4e0ad2)}:'outdentBlock'==_0x481f7e['commandName']?{'type':'format','content':_0x45b6d4(_0x2293bf,'*Outdent:*\x20%0',_0x4e0ad2)}:void 0x0;});}},_0x24bd87=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x14e616['Input']];}['init'](){this['editor']['plugins']['get']('TrackChangesEditing')['enableCommand']('input');}},_0xa0e3ab=class extends _0x14e616['Plugin']{['afterInit'](){const _0xe9e160=this['editor'];if(!_0xe9e160['plugins']['has']('LinkEditing'))return;const _0x3f2c46=_0xe9e160['plugins']['get']('TrackChangesEditing'),_0x46e87d=_0xe9e160['commands']['get']('link');_0x3f2c46['enableDefaultAttributesIntegration']('link'),_0x3f2c46['enableDefaultAttributesIntegration']('unlink');for(const _0x33ea72 of _0x46e87d['manualDecorators'])_0x3f2c46['descriptionFactory']['registerAttributeLabel'](_0x33ea72['id'],'link\x20('+_0x33ea72['label']['toLowerCase']()+')');_0x3f2c46['descriptionFactory']['registerDescriptionCallback'](_0x5ae2c7=>{if('attribute'!=_0x5ae2c7['type'])return;const {data:_0xd61e3b}=_0x5ae2c7;if(!_0xd61e3b||'linkHref'!=_0xd61e3b['key'])return;const _0xc7b4c5=_0xd61e3b['newValue'],_0x2c4847=_0xe9e160['locale'];return{'type':'format','content':null==_0xc7b4c5?_0x45b6d4(_0x2c4847,'*Remove\x20link*'):_0x45b6d4(_0x2c4847,'*Set\x20link:*\x20%0','\x22'+_0xc7b4c5+'\x22')};}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x4dbd2e=this['editor'],_0x2fe7bc=_0x4dbd2e['locale'];_0x4dbd2e['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x474080=>{if('formatInline'!=_0x474080['type'])return;const {data:_0xf8babf}=_0x474080;if(_0xf8babf){if('link'==_0xf8babf['commandName']){const _0x16f536=_0xf8babf['commandParams'][0x0];return{'type':'format','content':_0x45b6d4(_0x2fe7bc,'*Set\x20link:*\x20%0','\x22'+_0x16f536+'\x22')};}return'unlink'==_0xf8babf['commandName']?{'type':'format','content':_0x45b6d4(_0x2fe7bc,'*Remove\x20link*')}:void 0x0;}});}},tS=class extends _0x14e616['Plugin']{['afterInit'](){const _0x2017a6=this['editor'],_0x59e5da=_0x2017a6['locale'];if(!_0x2017a6['plugins']['has']('LegacyListEditing'))return;const _0x345698=_0x2017a6['plugins']['get']('TrackChangesEditing'),_0x1ec956=_0x2017a6['plugins']['has']('LegacyTodoListEditing');function _0x3f72e4(_0x984686){return()=>{const _0x3a9ce5=_0x2017a6['model']['document']['selection'],_0x3b7090=_0x2017a6['commands']['get'](_0x984686);if(_0x3b7090['value'])return void _0x2017a6['execute']('paragraph',{});const _0x5bde48=_0x984686['slice'](0x0,-0x4),_0x2ace61=function(_0x524b5e,_0x4ba97f,_0x42f955){let _0x4a347a=Array['from'](_0x524b5e)['filter'](_0x3feb67=>function(_0x55f39c,_0x235436){return _0x235436['checkChild'](_0x55f39c['parent'],'listItem')&&!_0x235436['isObject'](_0x55f39c);}(_0x3feb67,_0x42f955));_0x4a347a=_0x4a347a['filter'](_0x5d61de=>!_0x5d61de['is']('element','listItem')||_0x5d61de['getAttribute']('listType')!=_0x4ba97f);const _0x1c634=new Set();for(const _0x25e535 of _0x4a347a)_0x25e535['is']('element','listItem')?_0x1c634['add'](_0x58d267(_0x25e535)):_0x1c634['add'](_0x25e535);return Array['from'](_0x1c634);}(_0x3a9ce5['getSelectedBlocks'](),_0x5bde48,_0x2017a6['model']['schema']);_0x2017a6['model']['change'](()=>{for(const _0x24952e of _0x2ace61)_0x345698['markBlockFormat'](_0x24952e,{'commandName':_0x984686,'commandParams':[{'forceValue':!_0x3b7090['value']}],'formatGroupId':'blockName'},_0x46bdfa(_0x24952e));});};}function _0x23a3d9(_0x39576c){return()=>{const _0x32bcf8=function(_0x4fd012){let _0x2cc9ae=Array['from'](_0x4fd012);const _0x173e72=_0x2cc9ae['findIndex'](_0x35bf1d=>'listItem'!=_0x35bf1d['name']);return _0x173e72>-0x1&&(_0x2cc9ae=_0x2cc9ae['slice'](0x0,_0x173e72)),_0x2cc9ae;}(_0x2017a6['model']['document']['selection']['getSelectedBlocks']()),_0xc97990=_0x2017a6['model']['createRange'](_0x2017a6['model']['createPositionAt'](_0x32bcf8[0x0],'before'),_0x2017a6['model']['createPositionAt'](_0x32bcf8[_0x32bcf8['length']-0x1],'end'));_0x2017a6['model']['change'](()=>{_0x345698['markBlockFormat'](_0xc97990,{'commandName':_0x39576c,'commandParams':[],'formatGroupId':'listIndent'},function(_0x3f999f){const _0x265957=new Set();for(const _0x2b7d4c of _0x3f999f){let _0x25c123=_0x2b7d4c['nextSibling'];for(;_0x25c123&&_0x25c123['getAttribute']('listIndent')>_0x2b7d4c['getAttribute']('listIndent');)_0x265957['add'](_0x25c123),_0x25c123=_0x25c123['nextSibling'];}return Array['from'](_0x265957);}(_0x32bcf8));});};}_0x345698['enableCommand']('numberedList',_0x3f72e4('numberedList')),_0x345698['enableCommand']('bulletedList',_0x3f72e4('bulletedList')),_0x1ec956&&_0x345698['enableCommand']('todoList',_0x3f72e4('todoList')),_0x345698['enableCommand']('indentList',_0x23a3d9('indentList')),_0x345698['enableCommand']('outdentList',_0x23a3d9('outdentList')),_0x1ec956&&_0x345698['enableCommand']('checkTodoList',()=>{const _0xff50ab=_0x2017a6['commands']['get']('checkTodoList'),_0x4c2ccf=Array['from'](_0xff50ab['_selectedElements']);_0x4c2ccf['filter'](_0x609886=>_0x609886['getAttribute']('todoListChecked')!=_0xff50ab['value']),_0x2017a6['model']['change'](()=>{for(const _0x14b27f of _0x4c2ccf)_0x345698['markBlockFormat'](_0x14b27f,{'commandName':'checkTodoList','commandParams':[{'forceValue':!_0xff50ab['value']}]});});}),_0x345698['descriptionFactory']['registerElementLabel']('listItem',_0xc0efc7=>_0x45b6d4(_0x59e5da,'ELEMENT_LIST_ITEM',_0xc0efc7)),_0x345698['descriptionFactory']['registerDescriptionCallback'](_0x3f9d62=>{if('formatBlock'!=_0x3f9d62['type']&&'formatInline'!=_0x3f9d62['type'])return;const {data:_0x36be94}=_0x3f9d62;if(_0x36be94){if('numberedList'==_0x36be94['commandName']||'bulletedList'==_0x36be94['commandName']||'todoList'==_0x36be94['commandName'])switch(_0x36be94['commandName']['replace']('List','')){case'bulleted':return _0x5d9522(_0x45b6d4(_0x59e5da,'ELEMENT_BULLETED_LIST'));case'numbered':return _0x5d9522(_0x45b6d4(_0x59e5da,'ELEMENT_NUMBERED_LIST'));case'todo':return _0x5d9522(_0x45b6d4(_0x59e5da,'ELEMENT_TODO_LIST'));}if('indentList'==_0x36be94['commandName'])return{'type':'format','content':_0x45b6d4(_0x59e5da,'*Indent:*\x20%0',_0x45b6d4(_0x59e5da,'ELEMENT_LIST_ITEM'))};if('outdentList'==_0x36be94['commandName'])return{'type':'format','content':_0x45b6d4(_0x59e5da,'*Outdent:*\x20%0',_0x45b6d4(_0x59e5da,'ELEMENT_LIST_ITEM'))};if('checkTodoList'==_0x36be94['commandName'])return _0x36be94['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x45b6d4(_0x59e5da,'*Check\x20item*')}:{'type':'format','content':_0x45b6d4(_0x59e5da,'*Uncheck\x20item*')};}function _0x5d9522(_0x40227f){return{'type':'format','content':_0x45b6d4(_0x59e5da,'*Change\x20to:*\x20%0',_0x40227f)};}});}};function _0x58d267(_0x510cf8){const _0x54055c=_0x510cf8['getAttribute']('listIndent');if(0x0==_0x54055c)return _0x510cf8;let _0x33efd4=_0x510cf8;for(;_0x510cf8['previousSibling']&&_0x510cf8['previousSibling']['is']('element','listItem');){const _0x54adc3=_0x510cf8['previousSibling']['getAttribute']('listIndent');if(_0x54adc3==_0x54055c)_0x33efd4=_0x510cf8['previousSibling'];else{if(_0x54adc3<_0x54055c)break;}_0x510cf8=_0x510cf8['previousSibling'];}return _0x33efd4;}function _0x46bdfa(_0x53709d){const _0x317131=[];if(_0x53709d['is']('element','listItem')&&_0x53709d['getAttribute']('listIndent')>0x0){let _0x44b50b=_0x53709d['nextSibling'];for(;_0x44b50b&&'listItem'==_0x44b50b['name']&&_0x44b50b['getAttribute']('listIndent')==_0x53709d['getAttribute']('listIndent');)_0x317131['push'](_0x44b50b),_0x44b50b=_0x44b50b['nextSibling'];}return _0x317131;}var _0xbf9fcb=class extends _0x14e616['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('LegacyListPropertiesEditing'))return;const _0x496829=this['editor']['config']['get']('list.properties'),_0x5d04b8=this['editor']['plugins']['get']('TrackChangesEditing');_0x496829['styles']&&_0x5d04b8['enableCommand']('listStyle',this['handleListStyleCommand']['bind'](this)),_0x496829['reversed']&&_0x5d04b8['enableCommand']('listReversed',this['handleListReversedCommand']['bind'](this)),_0x496829['startIndex']&&_0x5d04b8['enableCommand']('listStart',this['handleListStartCommand']['bind'](this)),_0x5d04b8['descriptionFactory']['registerDescriptionCallback'](this['handleDescriptions']['bind'](this));}['handleListStyleCommand'](_0x45b84f,_0x2d80e7={}){const _0x3a5b18=this['editor']['plugins']['get']('TrackChangesEditing'),_0x33aa70=this['_getSuggestionBlocksForListStyle']();this['editor']['model']['change'](()=>{_0x3a5b18['markMultiRangeBlockFormat'](_0x33aa70,{'commandName':'listStyle','commandParams':[{'type':_0x2d80e7['type']}],'formatGroupId':'listStyle'});});}['handleListReversedCommand'](_0xbee9cc,_0x3cf566={}){const _0x535d23=this['editor']['plugins']['get']('TrackChangesEditing'),_0x58326a=this['_getSuggestionBlocks'](_0x1b47a3=>_0x1b47a3['is']('element','listItem')&&'numbered'===_0x1b47a3['getAttribute']('listType'));if(_0x58326a['length']<0x1)return;const _0x5e60b5=_0x58326a['map'](_0x1fe188=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x1fe188,'before'),this['editor']['model']['createPositionAt'](_0x1fe188,0x0)));this['editor']['model']['change'](()=>{_0x535d23['markMultiRangeBlockFormat'](_0x5e60b5,{'commandName':'listReversed','commandParams':[{'reversed':_0x3cf566['reversed']}],'formatGroupId':'listReversed'});});}['handleListStartCommand'](_0x9a6cb9,_0x5c5b89={}){const _0x47171f=this['editor']['plugins']['get']('TrackChangesEditing'),_0x2376de=this['_getSuggestionBlocks'](_0x1143a9=>_0x1143a9['is']('element','listItem')&&'numbered'===_0x1143a9['getAttribute']('listType'));if(_0x2376de['length']<0x1)return;const _0x1ebf91=_0x2376de['map'](_0x2f736e=>this['editor']['model']['createRange'](this['editor']['model']['createPositionAt'](_0x2f736e,'before'),this['editor']['model']['createPositionAt'](_0x2f736e,0x0)));this['editor']['model']['change'](()=>{_0x47171f['markMultiRangeBlockFormat'](_0x1ebf91,{'commandName':'listStart','commandParams':[{'startIndex':_0x5c5b89['startIndex']}],'formatGroupId':'listStart'});});}['handleDescriptions'](_0x2c971c){if('formatBlock'!=_0x2c971c['type']&&'formatInline'!=_0x2c971c['type'])return;const _0x1dd08d=this['editor']['locale'],{data:_0xf5f13a}=_0x2c971c;if(!_0xf5f13a)return;let _0x249ae7,_0x31e47b;switch(_0xf5f13a['commandName']){case'listStyle':_0x249ae7='*Change\x20to:*\x20%0',_0x31e47b={'type':'format','content':_0x45b6d4(_0x1dd08d,_0x249ae7,_0x45b6d4(_0x1dd08d,this['_getTranslationKeyForListStyle'](_0xf5f13a['commandParams'][0x0]['type'])))};break;case'listReversed':_0x249ae7=_0xf5f13a['commandParams'][0x0]['reversed']?'*Format:*\x20set\x20order\x20to\x20reversed':'*Format:*\x20set\x20order\x20to\x20regular',_0x31e47b={'type':'format','content':_0x45b6d4(_0x1dd08d,_0x249ae7)};break;case'listStart':_0x249ae7='*Format:*\x20set\x20start\x20index\x20to\x20%0',_0x31e47b={'type':'format','content':_0x45b6d4(_0x1dd08d,_0x249ae7,_0xf5f13a['commandParams'][0x0]['startIndex'])};}return _0x31e47b;}['_getSuggestionBlocksForListStyle'](){const _0x196d27=this['editor']['plugins']['get']('LegacyListUtils');let _0x494794=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']());return _0x494794[0x0]?.['is']('element','listItem')&&_0x494794['unshift'](..._0x196d27['getSiblingNodes'](this['editor']['model']['document']['selection']['getFirstPosition'](),'backward')),_0x494794[_0x494794['length']-0x1]?.['is']('element','listItem')&&_0x494794['push'](..._0x196d27['getSiblingNodes'](this['editor']['model']['document']['selection']['getLastPosition'](),'forward')),_0x494794=[...new Set(_0x494794)],this['editor']['model']['document']['selection']['getFirstPosition']()?.['parent']?.['is']('element','listItem')&&(_0x494794=_0x494794['filter'](_0xde4a69=>_0xde4a69['is']('element','listItem'))),_0x494794;}['_getSuggestionBlocks'](_0x10bb06){const _0x242179=this['editor']['plugins']['get']('LegacyListUtils');let _0x1c2a9c=Array['from'](this['editor']['model']['document']['selection']['getSelectedBlocks']())['filter'](_0x10bb06)['map'](_0x54a5c0=>{const _0x2b3f28=this['editor']['model']['createPositionAt'](_0x54a5c0,0x0);return[..._0x242179['getSiblingNodes'](_0x2b3f28,'backward'),..._0x242179['getSiblingNodes'](_0x2b3f28,'forward')];})['flat']();return _0x1c2a9c=[...new Set(_0x1c2a9c)],_0x1c2a9c;}['_getTranslationKeyForListStyle'](_0x24c26b){return'ELEMENT_'+(this['editor']['plugins']['get']('LegacyListUtils')['getListTypeFromListStyleType'](_0x24c26b)||'default')['toUpperCase']()+'_LIST_'+_0x24c26b['toUpperCase']()['replace'](/-/g,'_');}},_0x3af8d0=class extends _0x14e616['Plugin']{['afterInit'](){const _0x461c77=this['editor'];if(!_0x461c77['plugins']['has']('MediaEmbedEditing'))return;const _0x2a30a8=_0x461c77['plugins']['get']('TrackChangesEditing'),_0x594f69=_0x461c77['locale'];_0x2a30a8['enableCommand']('mediaEmbed'),_0x2a30a8['descriptionFactory']['registerElementLabel']('media',_0x44d6cd=>_0x45b6d4(_0x594f69,'ELEMENT_MEDIA',_0x44d6cd)),_0x461c77['plugins']['has']('MediaEmbedResizeEditing')&&(_0x2a30a8['enableDefaultAttributesIntegration']('resizeMediaEmbed'),_0x2a30a8['descriptionFactory']['registerDescriptionCallback'](_0x4a089c=>{if('attribute'!=_0x4a089c['type'])return;const {data:_0x3305f8}=_0x4a089c;if(!_0x3305f8||'resizedWidth'!=_0x3305f8['key'])return;const _0x982e34=_0x4a089c['getContainedElement']();return _0x982e34&&_0x982e34['is']('element','media')?{'type':'format','content':_0x45b6d4(_0x594f69,'*Set\x20format:*\x20%0',_0x45b6d4(_0x594f69,'FORMAT_MEDIA_SIZE'))}:void 0x0;}));}},_0x18dece=class extends _0x14e616['Plugin']{['afterInit'](){const _0x6c0e12=this['editor'];if(!_0x6c0e12['plugins']['has']('MediaEmbedStyleEditing'))return;const _0x29e310=_0x6c0e12['plugins']['get']('TrackChangesEditing'),_0x5010fd=_0x6c0e12['locale'],_0x2f3abc=_0x6c0e12['plugins']['get']('MediaEmbedStyleEditing'),_0x2ea3bc={};for(const _0x5980ef of _0x2f3abc['normalizedStyles'])_0x2ea3bc[_0x5980ef['name']]=_0x5980ef['title']['toLowerCase']();const _0x51ad21=_0x2f3abc['normalizedStyles']['find'](_0x3fa502=>_0x3fa502['isDefault'])?.['name'];_0x29e310['enableCommand']('mediaStyle',(_0x3098f8,_0x4c6e92)=>{const _0x3967e9=_0x6c0e12['plugins']['get']('Users')['me'],_0x1cc15d=_0x6c0e12['commands']['get']('mediaStyle'),_0x5274fc=function(_0x138e4d){const _0x43b460=_0x138e4d['model']['document']['selection']['getSelectedElement']();return _0x43b460&&_0x43b460['is']('element','media')?_0x43b460:null;}(_0x6c0e12);if(!_0x5274fc)return;const _0x597582=_0x6c0e12['model']['createRangeOn'](_0x5274fc);let _0xb6013c=_0x1cc15d['value'];if(_0xb6013c==_0x4c6e92['value'])return;const _0x5ba75e={'commandName':'mediaStyle','commandParams':[_0x4c6e92],'formatGroupId':(0x0,_0x14e616['uid'])()};_0x6c0e12['model']['change'](()=>{_0x29e310['getSuggestions']()['filter'](_0x1a2847=>_0x1a2847['isInContent']&&_0x3967e9==_0x1a2847['author']&&'formatBlock'==_0x1a2847['type']&&'mediaStylePostApply'==_0x1a2847['subType']&&_0x1a2847['getFirstRange']()['isEqual'](_0x597582))['forEach'](_0xb1af3c=>_0x29e310['discardSuggestion'](_0xb1af3c['head'])),_0x1cc15d['refresh'](),_0xb6013c=_0x1cc15d['value'],_0xb6013c!=_0x4c6e92['value']&&_0x29e310['markBlockFormat'](_0x5274fc,{..._0x5ba75e,'commandReversedParams':[{'value':'string'==typeof _0xb6013c?_0xb6013c:null}]},[],'mediaStylePostApply');});}),_0x29e310['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','join',()=>!0x1),_0x29e310['_suggestionFactory']['registerCustomCallback']('formatBlock','mediaStylePostApply','discard',(_0x4a8459,_0x50ce71)=>{_0x29e310['_suggestionFactory']['getSuggestionCallback']('formatBlock','','accept')(_0x4a8459,{'commandName':_0x50ce71['commandName'],'commandParams':_0x50ce71['commandReversedParams']});}),_0x29e310['descriptionFactory']['registerDescriptionCallback'](_0x12849b=>{if('formatBlock'!=_0x12849b['type'])return;const {data:_0x2e6c1a}=_0x12849b;if(!_0x2e6c1a||'mediaStyle'!=_0x2e6c1a['commandName'])return;const _0x54b50e=_0x2e6c1a['commandParams'][0x0]['value']||_0x51ad21;return _0x54b50e?{'type':'format','content':_0x45b6d4(_0x5010fd,'*Format:*\x20%0',_0x2ea3bc[_0x54b50e]||_0x54b50e)}:void 0x0;});}},_0x23eb16=class extends _0x14e616['Plugin']{['afterInit'](){const _0x503ee6=this['editor'];_0x503ee6['plugins']['has']('MentionEditing')&&_0x503ee6['plugins']['get']('TrackChangesEditing')['enableCommand']('mention');}},_0x252f77=class extends _0x14e616['Plugin']{['afterInit'](){const _0x3a1aca=this['editor'];if(!_0x3a1aca['plugins']['has']('MergeFieldsEditing'))return;const _0x4c3958=_0x3a1aca['plugins']['get']('TrackChangesEditing'),_0x1582c2=_0x3a1aca['locale'];_0x4c3958['enableCommand']('insertMergeField'),_0x4c3958['enableCommand']('insertMergeFieldBlock'),_0x4c3958['enableCommand']('insertMergeFieldImage'),_0x4c3958['descriptionFactory']['registerElementLabel']('mergeField',_0x5c0e04=>_0x45b6d4(_0x1582c2,'ELEMENT_MERGE_FIELD',_0x5c0e04)),_0x4c3958['descriptionFactory']['registerElementLabel']('mergeFieldBlock',_0x358d64=>_0x45b6d4(_0x1582c2,'ELEMENT_MERGE_FIELD',_0x358d64)),_0x4c3958['descriptionFactory']['registerDescriptionCallback'](_0x35f6a2=>{if('insertion'!=_0x35f6a2['type']&&'deletion'!=_0x35f6a2['type'])return;const _0x35576b=_0x35f6a2['getContainedElement']();if(null==_0x35576b)return;const _0x2c57fd=_0x3a1aca['plugins']['get']('MergeFieldsEditing');let _0x11ee59;switch(_0x2c57fd['getMergeFieldType'](_0x35576b)){case null:return;case'image':{const _0x5fd255=_0x2c57fd['unwrapAffixes'](_0x35576b['getAttribute']('src'));_0x11ee59=_0x2c57fd['getLabel'](_0x5fd255)||_0x5fd255;break;}default:{const _0x4ed204=_0x35576b['getAttribute']('id');_0x11ee59=_0x2c57fd['getLabel'](_0x4ed204)||_0x4ed204;break;}}return'insertion'==_0x35f6a2['type']?{'type':'insertion','content':_0x45b6d4(_0x1582c2,'*Insert:*\x20%0','\x22'+_0x11ee59+'\x22\x20'+_0x45b6d4(_0x1582c2,'ELEMENT_MERGE_FIELD'))}:{'type':'deletion','content':_0x45b6d4(_0x1582c2,'*Remove:*\x20%0','\x22'+_0x11ee59+'\x22\x20'+_0x45b6d4(_0x1582c2,'ELEMENT_MERGE_FIELD'))};});}},_0x2802f9=class extends _0x14e616['Plugin']{['afterInit'](){const _0x198091=this['editor'],_0x20b378=_0x198091['plugins']['get']('TrackChangesEditing');_0x198091['plugins']['has']('MultiLevelList')&&(_0x20b378['enableDefaultAttributesIntegration']('multiLevelList'),_0x20b378['descriptionFactory']['registerDescriptionCallback'](_0x35389f=>this['handleDescriptions'](_0x35389f)));}['handleDescriptions'](_0x21f04d){const _0x5d4e1d=this['editor']['locale'],{data:_0x5ddd3f}=_0x21f04d,_0x2bfb89={'type':'format','content':''};if(_0x5ddd3f&&'listMarkerStyle'==_0x5ddd3f['key']){if(!_0x5ddd3f['oldValue'])return{'type':'format','content':_0x45b6d4(_0x5d4e1d,'*Set\x20format:*\x20%0',_0x45b6d4(_0x5d4e1d,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x5ddd3f['newValue']+')'};if(!_0x5ddd3f['newValue']){let _0x4866bb=_0x21f04d['head'];for(;_0x4866bb;){if(_0x4866bb['data']&&'listType'==_0x4866bb['data']['key']&&_0x4866bb['data']['newValue'])return _0x2bfb89;_0x4866bb=_0x4866bb['next'];}return{'type':'format','content':_0x45b6d4(_0x5d4e1d,'*Remove\x20format:*\x20%0',_0x45b6d4(_0x5d4e1d,'ELEMENT_MULTI_LEVEL_LIST'))+'\x20('+_0x5ddd3f['oldValue']+')'};}}}},_0x2c11ed=class extends _0x14e616['Plugin']{['afterInit'](){const _0x367c7a=this['editor'];if(!_0x367c7a['plugins']['has']('PageBreakEditing'))return;_0x367c7a['plugins']['get']('TrackChangesEditing')['enableCommand']('pageBreak');const _0x97e448=_0x367c7a['plugins']['get']('TrackChangesEditing'),_0x2ee1b4=_0x367c7a['locale'];_0x97e448['descriptionFactory']['registerElementLabel']('pageBreak',_0x2ececa=>_0x45b6d4(_0x2ee1b4,'ELEMENT_PAGE_BREAK',_0x2ececa));}},_0x497aba=class extends _0x14e616['Plugin']{['afterInit'](){const _0x36760e=this['editor'];if(!_0x36760e['plugins']['has']('Paragraph'))return;const _0x4b88c9=_0x36760e['locale'],_0x30fd68=_0x36760e['plugins']['get']('TrackChangesEditing');_0x30fd68['descriptionFactory']['registerElementLabel']('paragraph',_0x167429=>_0x45b6d4(_0x4b88c9,'ELEMENT_PARAGRAPH',_0x167429)),_0x30fd68['enableDefaultAttributesIntegration']('paragraph'),_0x30fd68['enableCommand']('insertParagraph');const _0x2e8a73=_0x30fd68['descriptionFactory'];_0x2e8a73['registerDescriptionCallback'](_0x396246=>{if('insertion'!==_0x396246['type'])return;const {start:_0x776718,end:_0xf4d971}=_0x396246['getFirstRange']();if(!_0x776718['isTouching'](_0xf4d971)||!_0x776718['nodeAfter'])return;const _0x2cebf3=_0x36760e['model']['schema'],_0x175bf2=_0x776718['nodeAfter'];return _0x2cebf3['isBlock'](_0x175bf2)&&!_0x2cebf3['isLimit'](_0x175bf2)&&_0x2cebf3['checkChild'](_0x175bf2,'$text')?{'type':'insertion','content':_0x45b6d4(_0x4b88c9,'*Insert:*\x20%0',_0x2e8a73['getItemLabel'](_0x175bf2,0x1))}:void 0x0;}),this['_registerLegacyDescription']();}['_registerLegacyDescription'](){const _0x132eeb=this['editor'],_0xca0bd2=_0x132eeb['locale'];_0x132eeb['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x409c66=>{if('formatBlock'!=_0x409c66['type'])return;const {data:_0x599687}=_0x409c66;return _0x599687&&'paragraph'==_0x599687['commandName']?{'type':'format','content':_0x45b6d4(_0xca0bd2,'*Change\x20to:*\x20%0',_0x45b6d4(_0xca0bd2,'ELEMENT_PARAGRAPH'))}:void 0x0;});}},_0x6873e8=class extends _0x14e616['Plugin']{['afterInit'](){const _0x16dd26=this['editor'];_0x16dd26['commands']['get']('replaceSource')&&_0x16dd26['plugins']['get']('TrackChangesEditing')['enableCommand']('replaceSource');}},_0x94b83b=class extends _0x14e616['Plugin']{['afterInit'](){const _0x1e6268=this['editor'];_0x1e6268['plugins']['has']('RemoveFormatEditing')&&(_0x1e6268['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('removeFormat'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x16cbcb=this['editor'];_0x16cbcb['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x37870a=>{if('formatBlock'!=_0x37870a['type']&&'formatInline'!=_0x37870a['type'])return;const {data:_0x5816ac}=_0x37870a;return _0x5816ac&&'removeFormat'==_0x5816ac['commandName']?{'type':'format','content':_0x45b6d4(_0x16cbcb['locale'],'*Remove\x20all\x20formatting*')}:void 0x0;});}},_0x33097c=class extends _0x14e616['Plugin']{['afterInit'](){const _0x3fe42d=this['editor'];if(!_0x3fe42d['plugins']['has']('RestrictedEditingModeEditing'))return;const _0x562207=_0x3fe42d['plugins']['get']('TrackChangesEditing');_0x562207['enableCommand']('goToPreviousRestrictedEditingException'),_0x562207['enableCommand']('goToNextRestrictedEditingException');const _0x5c5ec9=_0x3fe42d['plugins']['get']('RestrictedEditingModeEditing');_0x5c5ec9['enableCommand']('trackChanges'),_0x5c5ec9['enableCommand']('acceptSuggestion'),_0x5c5ec9['enableCommand']('discardSuggestion'),_0x5c5ec9['enableCommand']('acceptAllSuggestions'),_0x5c5ec9['enableCommand']('discardAllSuggestions'),_0x5c5ec9['enableCommand']('acceptSelectedSuggestions'),_0x5c5ec9['enableCommand']('discardSelectedSuggestions');}},_0x50d11a=class extends _0x14e616['Plugin']{['afterInit'](){const _0x2c275e=this['editor'];if(!_0x2c275e['plugins']['has']('ShiftEnter'))return;const _0x15f718=_0x2c275e['plugins']['get']('TrackChangesEditing');_0x15f718['enableCommand']('shiftEnter'),_0x15f718['descriptionFactory']['registerElementLabel']('softBreak',_0x3e04ac=>_0x45b6d4(_0x2c275e['locale'],'ELEMENT_LINE_BREAK',_0x3e04ac));}};function _0x36a1c0(_0x18df0d,_0x1c1ca0,_0x207662){const _0x2f9456=[];for(const _0x5925b3 of _0x1c1ca0['getItems']())_0x5925b3['hasAttribute'](_0x18df0d)&&_0x2f9456['push'](_0x207662['createRangeOn'](_0x5925b3));return _0x2f9456;}var _0x526613=class extends _0x14e616['Plugin']{['afterInit'](){const _0x214d8a=this['editor'],_0x57f79c=_0x214d8a['plugins']['get']('TrackChangesEditing');_0x214d8a['plugins']['has']('StandardEditingModeEditing')&&(this['_enableEditingExceptionCommand'](),this['_enableEditingExceptionBlockCommand'](),_0x57f79c['enableCommand']('restrictedEditingExceptionAuto'));}['_enableEditingExceptionCommand'](){const _0x470dec=this['editor'],_0x3b3646=_0x470dec['model'],_0x1bd995=_0x470dec['locale'],_0xffe7cd=_0x470dec['plugins']['get']('TrackChangesEditing'),_0x2a009e='restrictedEditingException',_0x9d4ddc=_0x470dec['commands']['get'](_0x2a009e);_0xffe7cd['enableCommand'](_0x2a009e,(_0x257ecc,_0x855ddc={})=>{const _0x42d32d=_0x3b3646['document']['selection'];if(_0x42d32d['isCollapsed'])return void _0x257ecc(_0x855ddc);const _0x57d237=void 0x0!==_0x855ddc['forceValue']?_0x855ddc['forceValue']:!_0x9d4ddc['value'];_0x3b3646['change'](()=>{const _0x5da527=Array['from'](_0x42d32d['getRanges']());for(const _0x304fd8 of _0x5da527){const _0x324fa6=_0x57d237?[_0x304fd8]:_0x36a1c0(_0x2a009e,_0x304fd8,_0x3b3646);for(const _0x1783b8 of _0x324fa6)_0xffe7cd['markInlineFormat'](_0x1783b8,{'commandName':_0x2a009e,'commandParams':[{'forceValue':_0x57d237}]});}});}),_0xffe7cd['descriptionFactory']['registerDescriptionCallback'](_0x43e397=>{if('formatBlock'!=_0x43e397['type']&&'formatInline'!=_0x43e397['type'])return;const {data:_0x208cbb}=_0x43e397;return _0x208cbb&&_0x208cbb['commandName']==_0x2a009e?_0x208cbb['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x45b6d4(_0x1bd995,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x45b6d4(_0x1bd995,'FORMAT_RESTRICTED_DISABLED')}:void 0x0;});}['_enableEditingExceptionBlockCommand'](){const _0x476d6d=this['editor'],_0x32e719=_0x476d6d['locale'],_0xd102d2=_0x476d6d['plugins']['get']('TrackChangesEditing'),_0x29b687='restrictedEditingExceptionBlock',_0x5bbbba=this['editor']['commands']['get'](_0x29b687);_0xd102d2['enableCommand'](_0x29b687,(_0x580e92,_0x1c06a5={})=>{const _0x2c079f=this['editor']['model']['document']['selection'],_0x3b8628=_0x1c06a5&&void 0x0!==_0x1c06a5['forceValue']?_0x1c06a5['forceValue']:!_0x5bbbba['value'];let _0x25c5ad=[];_0x25c5ad=_0xd43eab(_0x3b8628?Array['from'](_0x2c079f['getSelectedBlocks']())['filter'](_0x2b585c=>function(_0x53df4e){return!!_0x53df4e['findAncestor']('restrictedEditingException',{'includeSelf':!0x0});}(_0x2b585c)||function(_0x22ea48,_0x332169){const _0xc1042d=_0x332169['createContext'](_0x22ea48['parent']);return!!_0x332169['checkChild'](_0xc1042d,'restrictedEditingException')&&!!_0x332169['checkChild'](_0xc1042d['push']('restrictedEditingException'),_0x22ea48);}(_0x2b585c,this['editor']['model']['schema'])):Array['from'](_0x2c079f['getSelectedBlocks']())['map'](_0x4356ca=>function(_0x35f72b){let _0x1060a5=_0x35f72b;for(;_0x1060a5['parent'];){if('restrictedEditingException'==_0x1060a5['parent']['name'])return _0x1060a5;_0x1060a5=_0x1060a5['parent'];}return null;}(_0x4356ca))['filter'](_0x124f2e=>!!_0x124f2e),_0x476d6d['model']),_0x476d6d['model']['change'](()=>{for(const _0x114f7d of _0x25c5ad)_0xd102d2['markBlockFormat'](_0x114f7d,{'commandName':_0x29b687,'commandParams':[{'forceValue':_0x3b8628}]});});}),_0xd102d2['descriptionFactory']['registerDescriptionCallback'](_0x20736e=>{const {data:_0x507ff2}=_0x20736e;if(_0x507ff2&&_0x507ff2['commandName']==_0x29b687)return _0x507ff2['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x45b6d4(_0x32e719,'FORMAT_RESTRICTED_ENABLED')}:{'type':'format','content':_0x45b6d4(_0x32e719,'FORMAT_RESTRICTED_DISABLED')};});}},_0xf05fa9=class extends _0x14e616['Plugin']{['afterInit'](){const _0x4661af=this['editor'];_0x4661af['plugins']['has']('Style')&&_0x4661af['plugins']['has']('DataSchema')&&(_0x4661af['plugins']['get']('TrackChangesEditing')['enableDefaultAttributesIntegration']('style'),this['_registerLegacyDescription']());}['_registerLegacyDescription'](){const _0x50a9ec=this['editor'],_0xbd731a=_0x50a9ec['locale'];_0x50a9ec['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x6767ab=>{if('formatBlock'!=_0x6767ab['type']&&'formatInline'!=_0x6767ab['type'])return;const {data:_0x53ae97}=_0x6767ab;return _0x53ae97&&'style'===_0x53ae97['commandName']?_0x53ae97['commandParams'][0x0]['forceValue']?{'type':'format','content':_0x45b6d4(_0xbd731a,'*Set\x20format:*\x20%0',_0x53ae97['commandParams'][0x0]['styleName']['toLowerCase']())}:{'type':'format','content':_0x45b6d4(_0xbd731a,'*Remove\x20format:*\x20%0',_0x53ae97['commandParams'][0x0]['styleName']['toLowerCase']())}:void 0x0;});}},_0x562b69=class extends _0x14e616['Plugin']{['_tablePostFixingSubtypes'];['_tableSuggestions'];constructor(_0x103a9a){super(_0x103a9a),this['_tablePostFixingSubtypes']=['tableRow','tableColumn'],this['_tableSuggestions']=new Set();}['afterInit'](){const _0x5ecd40=this['editor'],_0x11e53b=_0x5ecd40['model']['document']['selection'];if(!_0x5ecd40['plugins']['has']('TableEditing'))return;const _0x140301=_0x5ecd40['locale'],_0x1eac41=_0x5ecd40['plugins']['get']('TrackChangesEditing'),_0x32528c=_0x5ecd40['plugins']['get']('TableUtils');_0x1eac41['descriptionFactory']['registerElementLabel']('table',_0x91a33e=>_0x45b6d4(_0x140301,'ELEMENT_TABLE',_0x91a33e)),this['_setupColumnsRowsFixing'](),_0x1eac41['enableCommand']('insertTable'),_0x1eac41['enableCommand']('selectTableRow'),_0x1eac41['enableCommand']('selectTableColumn');for(const _0x18f7c6 of['insertTableRowAbove','insertTableRowBelow']){const _0x58317f=_0x5ecd40['commands']['get'](_0x18f7c6);_0x1eac41['enableCommand'](_0x18f7c6,_0x4437c1=>{_0x5ecd40['model']['change'](_0x55abdd=>{_0x4437c1();const _0x3c1d20='above'===_0x58317f['order'],_0x322502=_0x32528c['getSelectionAffectedTableCells'](_0x11e53b),_0x589690=_0x32528c['getRowIndexes'](_0x322502),_0x132419=_0x3c1d20?_0x589690['first']-0x1:_0x589690['last']+0x1,_0x1bffb1=_0x322502[0x0]['findAncestor']('table'),_0x31f5fa=_0x32528c['createTableWalker'](_0x1bffb1,{'startRow':_0x132419,'endRow':_0x132419}),_0x2b8a70=Array['from'](_0x31f5fa)['map'](_0x1a35f3=>_0x55abdd['createRangeOn'](_0x1a35f3['cell']));_0x1eac41['markMultiRangeInsertion'](_0x2b8a70,'tableRow');});});}for(const _0x1eb8e3 of['insertTableColumnLeft','insertTableColumnRight']){const _0x34fb52=_0x5ecd40['commands']['get'](_0x1eb8e3);_0x1eac41['enableCommand'](_0x1eb8e3,_0x4ddb47=>{_0x5ecd40['model']['change'](_0xa7e023=>{_0x4ddb47();const _0x39abee='left'===_0x34fb52['order'],_0x314495=_0x32528c['getSelectionAffectedTableCells'](_0x11e53b),_0x12f41c=_0x32528c['getColumnIndexes'](_0x314495),_0xc3cf05=_0x39abee?_0x12f41c['first']-0x1:_0x12f41c['last']+0x1,_0x287b7c=_0x314495[0x0]['findAncestor']('table'),_0x3c847a=_0x32528c['createTableWalker'](_0x287b7c,{'startRow':0x0,'column':_0xc3cf05,'includeAllSlots':!0x1}),_0xcd3448=Array['from'](_0x3c847a)['map'](_0x64ac1f=>_0xa7e023['createRangeOn'](_0x64ac1f['cell']));_0x1eac41['markMultiRangeInsertion'](_0xcd3448,'tableColumn');});});}for(const _0x1b11e9 of['removeTableRow','removeTableColumn']){const _0x23c193=_0x1b11e9['substr'](0xb),_0xdf7836=_0x23c193['toLowerCase'](),_0x1d1a3a=_0xdf7836['substr'](0x0,0x3)+'span',_0x1a82cf='table'+_0x23c193,_0x4fda97='min'+_0x23c193,_0x399f15='max'+_0x23c193;_0x1eac41['enableCommand'](_0x1b11e9,()=>{_0x5ecd40['model']['change'](_0x46dbf5=>{const _0x2169f3=_0x32528c['getSelectionAffectedTableCells'](_0x11e53b),_0x32cf40=_0x2169f3[0x0]['findAncestor']('table');let _0x3091ce;if('removeTableRow'==_0x1b11e9){const _0x23b315=_0x32528c['getRowIndexes'](_0x2169f3);_0x3091ce={'startRow':_0x23b315['first'],'endRow':_0x23b315['last'],'includeAllSlots':!0x0};}else{const _0x4a4344=_0x32528c['getColumnIndexes'](_0x2169f3);_0x3091ce={'startColumn':_0x4a4344['first'],'endColumn':_0x4a4344['last'],'includeAllSlots':!0x0};}const _0x4251cb=_0x32528c['createTableWalker'](_0x32cf40,_0x3091ce),_0x2ab295=Array['from'](_0x4251cb)['map'](({cell:_0x99151c})=>_0x99151c),_0x2521ca=_0x3bca3b(_0x2ab295['filter'](_0x57866e=>_0x57866e['hasAttribute'](_0x1d1a3a))),_0x20fadc=_0x3bca3b(_0x2ab295['filter'](_0x5c4338=>!_0x5c4338['hasAttribute'](_0x1d1a3a)))['map'](_0x1e9b1f=>_0x46dbf5['createRangeOn'](_0x1e9b1f)),_0x3ed4c6=_0x1eac41['markMultiRangeDeletion'](_0x20fadc,_0x1a82cf);if(_0x3ed4c6&&('tableRow'==_0x3ed4c6['subType']||'tableColumn'==_0x3ed4c6['subType'])){const _0x8669c1=this['_getSuggestionCoords'](_0x3ed4c6);for(const _0x23cb97 of _0x2521ca){const _0x489405=_0x46dbf5['createRangeOn'](_0x23cb97),_0x563105=_0x32528c['getCellLocation'](_0x23cb97),_0x4c3e6a=_0x23cb97['getAttribute'](_0x1d1a3a)-0x1,_0x1a4c4=_0x8669c1[_0x4fda97],_0x5cbc5d=_0x8669c1[_0x399f15];_0x1a4c4<=_0x563105[_0xdf7836]&&_0x563105[_0xdf7836]+_0x4c3e6a<=_0x5cbc5d&&_0x3ed4c6['addRange'](_0x489405);}}});});}function _0x3d8d78(_0x534327){const _0x5b3c17=Array['from'](_0x11e53b['getRanges']())['map'](_0x2b717c=>_0x14e616['ModelLiveRange']['fromRange'](_0x2b717c));_0x5ecd40['model']['change'](_0x1de705=>{const _0x2bcc5f=_0x1de705['batch'];_0x534327=_0x534327['filter'](_0x4656a3=>'$graveyard'!=_0x4656a3['root']['rootName']),_0x1de705['setSelection'](_0x534327),_0x5ecd40['commands']['get']('removeTableRow')['refresh'](),_0x5ecd40['execute']('removeTableRow',{'forceDefaultExecution':!0x0}),_0x5ecd40['model']['enqueueChange'](()=>{_0x5ecd40['model']['enqueueChange'](_0x2bcc5f,_0x221821=>{const _0x4f6c79=_0x5b3c17['filter'](_0xd0dd5b=>'$graveyard'!=_0xd0dd5b['root']['rootName']);_0x4f6c79['length']>0x0&&_0x221821['setSelection'](_0x4f6c79);for(const _0xfed8d of _0x5b3c17)_0xfed8d['detach']();});});});}function _0x28c9a3(_0xf82cb5){_0x5ecd40['model']['change'](_0x19b511=>{const _0x25e8bd=Array['from'](_0x11e53b['getRanges']())['map'](_0x213510=>_0x14e616['ModelLiveRange']['fromRange'](_0x213510)),_0x481705=[];for(const _0x386fcd of _0xf82cb5)for(const _0x20d907 of _0x386fcd['getItems']({'shallow':!0x0}))_0x481705['push'](_0x20d907);for(const _0x3f3bc2 of _0x481705)'$graveyard'!=_0x3f3bc2['root']['rootName']&&(_0x19b511['setSelection'](_0x19b511['createPositionAt'](_0x3f3bc2,0x0)),_0x5ecd40['commands']['get']('removeTableColumn')['refresh'](),_0x5ecd40['execute']('removeTableColumn',{'forceDefaultExecution':!0x0}));const _0x2ea4d4=_0x25e8bd['filter'](_0x5624b1=>'$graveyard'!=_0x5624b1['root']['rootName']);_0x2ea4d4['length']>0x0&&_0x19b511['setSelection'](_0x2ea4d4);for(const _0x22403c of _0x25e8bd)_0x22403c['detach']();});}function _0x57cb00(_0x48da9e,_0x19461b){return _0x19461b['every'](_0x5a2dff=>_0x48da9e['some'](_0x355a4e=>_0x355a4e['end']['isEqual'](_0x5a2dff['start'])||_0x5a2dff['end']['isEqual'](_0x355a4e['start'])));}function _0x2918ce(_0x24cfba,_0x45f378){return!_0x24cfba['some'](_0x361c03=>_0x45f378['some'](_0x58169a=>_0x361c03['isIntersecting'](_0x58169a)))&&_0x24cfba['some'](_0x2f4328=>_0x45f378['some'](_0x5cf0b6=>_0x2f4328['end']['isTouching'](_0x5cf0b6['start'])));}_0x1eac41['descriptionFactory']['registerDescriptionCallback'](_0x362ea1=>{if('insertion'!=_0x362ea1['type']&&'deletion'!=_0x362ea1['type'])return;const _0x165c68=_0x362ea1['getContainedElement']();if(null!=_0x165c68&&_0x165c68['is']('element','table')){if('insertion'==_0x362ea1['type']){const _0x20fbcb=_0x362ea1['getItems']()['filter'](_0x105caf=>_0x105caf['is']('$textProxy'))['map'](_0x3001b9=>_0x3001b9['data']);if(_0x20fbcb['length'])return{'type':'insertion','content':_0x45b6d4(_0x140301,'*Insert:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0x20fbcb['join']('\x20')+'\x22'))};}if('deletion'==_0x362ea1['type']){const _0xea7868=_0x362ea1['getItems']()['filter'](_0x36ae50=>_0x36ae50['is']('$textProxy'))['map'](_0x5aca21=>_0x5aca21['data']);if(_0xea7868['length'])return{'type':'deletion','content':_0x45b6d4(_0x140301,'*Remove:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_WITH_TEXT','\x22'+_0xea7868['join']('\x20')+'\x22'))};}}}),_0x1eac41['descriptionFactory']['registerDescriptionCallback'](_0x185b09=>{if('tableRow'==_0x185b09['subType']){const _0x222589=_0x185b09['getItems']()['filter'](_0x5d068f=>_0x5d068f['is']('$textProxy'))['map'](_0x3f86a3=>_0x3f86a3['data']),_0x33594f=this['_getSuggestionCoords'](_0x185b09),_0x1362b1=_0x33594f['maxRow']-_0x33594f['minRow']+0x1;if('insertion'==_0x185b09['type'])return _0x222589['length']?{'type':'insertion','content':_0x45b6d4(_0x140301,'*Insert:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1362b1,'\x22'+_0x222589['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x45b6d4(_0x140301,'*Insert:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_ROW',_0x1362b1))};if('deletion'==_0x185b09['type'])return _0x222589['length']?{'type':'deletion','content':_0x45b6d4(_0x140301,'*Remove:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_ROW_WITH_TEXT',[_0x1362b1,'\x22'+_0x222589['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x45b6d4(_0x140301,'*Remove:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_ROW',_0x1362b1))};}if('tableColumn'==_0x185b09['subType']){const _0x11f944=_0x185b09['getItems']()['filter'](_0x5744fb=>_0x5744fb['is']('$textProxy'))['map'](_0x13f5f3=>_0x13f5f3['data']),_0xfb0815=this['_getSuggestionCoords'](_0x185b09),_0x354b73=_0xfb0815['maxColumn']-_0xfb0815['minColumn']+0x1;if('insertion'==_0x185b09['type'])return _0x11f944['length']?{'type':'insertion','content':_0x45b6d4(_0x140301,'*Insert:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x354b73,'\x22'+_0x11f944['join']('\x20')+'\x22']))}:{'type':'insertion','content':_0x45b6d4(_0x140301,'*Insert:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_COLUMN',_0x354b73))};if('deletion'==_0x185b09['type'])return _0x11f944['length']?{'type':'deletion','content':_0x45b6d4(_0x140301,'*Remove:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_COLUMN_WITH_TEXT',[_0x354b73,'\x22'+_0x11f944['join']('\x20')+'\x22']))}:{'type':'deletion','content':_0x45b6d4(_0x140301,'*Remove:*\x20%0',_0x45b6d4(_0x140301,'ELEMENT_TABLE_COLUMN',_0x354b73))};}}),_0x1eac41['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','discard',_0x3d8d78),_0x1eac41['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','accept',_0x3d8d78),_0x1eac41['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','discard',_0x28c9a3),_0x1eac41['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','accept',_0x28c9a3),_0x1eac41['_suggestionFactory']['registerCustomCallback']('insertion','tableColumn','join',_0x57cb00),_0x1eac41['_suggestionFactory']['registerCustomCallback']('deletion','tableColumn','join',_0x57cb00),_0x1eac41['_suggestionFactory']['registerCustomCallback']('insertion','tableRow','join',_0x2918ce),_0x1eac41['_suggestionFactory']['registerCustomCallback']('deletion','tableRow','join',_0x2918ce);}['_acceptFormatSuggestionCallbackFactory'](){const _0x15e605=this['editor'],_0x2d9317=_0x15e605['model']['document']['selection'];return(_0x5154a2,_0x16f8a3)=>{_0x15e605['model']['change'](_0x2570e8=>{const {commandName:_0x232674,commandParams:_0x4add42}=_0x16f8a3;let _0x19ee04=_0x5154a2[0x0]['end']['nodeBefore'];_0x4add42&&_0x4add42[0x0]&&!0x1===_0x4add42[0x0]['forceValue']&&(_0x19ee04=_0x5154a2[0x0]['start']['nodeAfter']);const _0x18771f=_0x2570e8['createRangeIn'](_0x19ee04);if('$graveyard'==_0x18771f['root']['rootName'])return;const _0x3dcafb=Array['from'](_0x2d9317['getRanges']())['map'](_0x30e5f3=>_0x14e616['ModelLiveRange']['fromRange'](_0x30e5f3));_0x2570e8['setSelection'](_0x18771f),_0x15e605['commands']['get'](_0x232674)['refresh'](),_0x4add42['push']({'forceDefaultExecution':!0x0}),_0x15e605['execute'](_0x232674,..._0x4add42);const _0x190954=_0x3dcafb['filter'](_0xd5a073=>'$graveyard'!=_0xd5a073['root']['rootName']);_0x190954['length']>0x0&&_0x2570e8['setSelection'](_0x190954);for(const _0x23b9dd of _0x3dcafb)_0x23b9dd['detach']();});};}['_getCoordsForCells'](_0x1302cb){const _0x204e68=this['editor']['plugins']['get']('TableUtils');let _0x133b52=Number['MAX_SAFE_INTEGER'],_0x1e4b9b=Number['MIN_SAFE_INTEGER'],_0x4a750c=Number['MAX_SAFE_INTEGER'],_0x1dc9db=Number['MIN_SAFE_INTEGER'];for(const _0x449151 of _0x1302cb){if('$graveyard'==_0x449151['root']['rootName'])continue;const {row:_0x120d65,column:_0x49d8c7}=_0x204e68['getCellLocation'](_0x449151),_0x1ae119=_0x449151['hasAttribute']('rowspan')?_0x449151['getAttribute']('rowspan')-0x1:0x0,_0x52dea6=_0x449151['hasAttribute']('colspan')?_0x449151['getAttribute']('colspan')-0x1:0x0;_0x133b52=_0x120d65<_0x133b52?_0x120d65:_0x133b52,_0x1e4b9b=_0x120d65+_0x1ae119>_0x1e4b9b?_0x120d65+_0x1ae119:_0x1e4b9b,_0x4a750c=_0x49d8c7<_0x4a750c?_0x49d8c7:_0x4a750c,_0x1dc9db=_0x49d8c7+_0x52dea6>_0x1dc9db?_0x49d8c7+_0x52dea6:_0x1dc9db;}return{'minRow':_0x133b52,'maxRow':_0x1e4b9b,'minColumn':_0x4a750c,'maxColumn':_0x1dc9db};}['_setupColumnsRowsFixing'](){const _0x3392c2=this['editor'],_0x3bbd22=_0x3392c2['plugins']['get']('TrackChangesEditing'),_0x16b88e=_0x3392c2['plugins']['get']('TableUtils');_0x3392c2['model']['document']['on']('change:data',()=>{const _0xb0f445=Array['from'](_0x3392c2['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x208c96,data:_0x5394d0}of _0xb0f445){const {group:_0x363085,id:_0x135325,subType:_0x54d1c0}=_0x567555(_0x208c96);if('suggestion'!=_0x363085)continue;if(null!=_0x5394d0['oldRange'])continue;const _0x5ebb44=_0x3bbd22['getSuggestion'](_0x135325);this['_tablePostFixingSubtypes']['includes'](_0x54d1c0)&&this['_tableSuggestions']['add'](_0x5ebb44);}},{'priority':'low'});const _0x3389c9=(_0x479c37,_0x1e675e)=>{let _0x2de877=!0x1;const _0x4080a1=_0x1e675e['createRangeOn'](_0x479c37),_0x292092=_0x479c37['findAncestor']('table'),_0x1ef139=_0x16b88e['getCellLocation'](_0x479c37);for(const _0x412234 of this['_tableSuggestions']){const _0x303a89=_0x412234['subType'],_0x5d46c3=_0x303a89['startsWith']('tablePaste'),_0x2b1d11=_0x303a89['substr'](_0x5d46c3?0xa:0x5),_0xe7d86b=_0x2b1d11['toLowerCase'](),_0x46b429=_0xe7d86b['substr'](0x0,0x3)+'span',_0x52da41='min'+_0x2b1d11,_0x4a8844='max'+_0x2b1d11;if(!_0x412234['isInContent'])continue;if(_0x292092!=_0x412234['getFirstRange']()['start']['findAncestor']('table'))continue;if(_0x412234['isIntersectingWithRange'](_0x4080a1))continue;const _0x732ecf=_0x479c37['hasAttribute'](_0x46b429)?_0x479c37['getAttribute'](_0x46b429)-0x1:0x0,_0x69e628=this['_getSuggestionCoords'](_0x412234),_0x3e759d=_0x69e628[_0x52da41],_0x35949a=_0x69e628[_0x4a8844];_0x3e759d<=_0x1ef139[_0xe7d86b]&&_0x1ef139[_0xe7d86b]+_0x732ecf<=_0x35949a&&(_0x412234['addRange'](_0x4080a1),_0x2de877=!0x0);}return _0x2de877;};_0x3392c2['model']['document']['registerPostFixer'](_0x2cf0da=>{let _0x406d1c=!0x1;for(const _0x57f299 of _0x3392c2['model']['document']['differ']['getChanges']())if('insert'==_0x57f299['type']){if('tableRow'==_0x57f299['name']){for(const _0x5763c3 of _0x57f299['position']['nodeAfter']['getChildren']())_0x406d1c=_0x406d1c||_0x3389c9(_0x5763c3,_0x2cf0da);}else'tableCell'==_0x57f299['name']&&(_0x406d1c=_0x406d1c||_0x3389c9(_0x57f299['position']['nodeAfter'],_0x2cf0da));}return _0x406d1c;});}['_getSuggestionCoords'](_0x57cc83){return this['_getCoordsForCells'](_0x57cc83['getRanges']()['map'](_0x1ce5eb=>_0x1ce5eb['start']['nodeAfter']));}};function _0x3bca3b(_0x1189d9){return Array['from'](new Set(_0x1189d9)['values']());}var _0x297a39=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x562b69];}['afterInit'](){const _0x14affc=this['editor'],_0x2d9e90=_0x14affc['model']['document']['selection'],_0x2a4526=_0x14affc['locale'];if(!_0x14affc['plugins']['has']('TableEditing'))return;const _0x457a4c=_0x14affc['plugins']['get']('TrackChangesEditing'),_0x5113e6=_0x14affc['plugins']['get']('TableUtils'),_0xcc310c=_0x14affc['plugins']['get'](_0x562b69);_0xcc310c['_tablePostFixingSubtypes']['push']('mergeTableCells'),_0x457a4c['enableCommand']('mergeTableCells',()=>{const _0x248e30=_0x5113e6['getSelectionAffectedTableCells'](_0x14affc['model']['document']['selection']);_0x14affc['model']['change'](()=>{_0x457a4c['markMultiRangeBlockFormat'](_0x248e30,{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});}),_0x14affc['commands']['get']('mergeTableCells')['on']('execute',(_0x1cf602,_0x2ee26c)=>{_0x14affc['commands']['get']('trackChanges')['value']&&(_0x2ee26c['length']>0x0&&_0x2ee26c[_0x2ee26c['length']-0x1]&&_0x2ee26c[_0x2ee26c['length']-0x1]['forceDefaultExecution']||_0x457a4c['_isForcedDefaultExecutionBlock']||this['_areSelectedCellsMergable']()||_0x1cf602['stop']());},{'priority':'highest'});for(const _0x1d321c of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft']){const _0x29e716=_0x14affc['commands']['get'](_0x1d321c);_0x457a4c['enableCommand'](_0x1d321c,()=>{const _0x1d02ef=_0x14affc['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x12f390=>_0x12f390['is']('element','tableCell')),_0x3f64f5=_0x29e716['value'];_0x14affc['model']['change'](()=>{_0x457a4c['markMultiRangeBlockFormat']([_0x1d02ef,_0x3f64f5],{'commandName':'mergeTableCells','commandParams':[]},[],'mergeTableCells');});});}for(const _0x445255 of['splitTableCellVertically','splitTableCellHorizontally']){const _0x5c3047=_0x14affc['commands']['get'](_0x445255);_0x457a4c['enableCommand'](_0x445255,()=>{const _0x495742=_0x5113e6['getSelectionAffectedTableCells'](_0x14affc['model']['document']['selection'])[0x0],_0x38c81b=_0x495742['findAncestor']('table'),{column:_0xcd8cb2,row:_0x5eefde}=_0x5113e6['getCellLocation'](_0x495742);let _0x2ab008=[];if('horizontally'==_0x5c3047['direction']){const _0xbcf9d1=_0x5113e6['createTableWalker'](_0x38c81b,{'startRow':_0x5eefde,'endRow':_0x5eefde,'includeAllSlots':!0x0});_0x2ab008=Array['from'](_0xbcf9d1)['map'](_0x431c70=>_0x431c70['cell']);}else{const _0x342d7b=_0x5113e6['createTableWalker'](_0x38c81b,{'column':_0xcd8cb2,'includeAllSlots':!0x0});_0x2ab008=Array['from'](_0x342d7b)['map'](_0x4b6f86=>_0x4b6f86['cell']);}_0x14affc['model']['change'](_0x22fb1f=>{_0x457a4c['markBlockFormat'](_0x22fb1f['createRangeOn'](_0x495742),{'commandName':_0x445255,'commandParams':[]},_0x2ab008,_0x445255);});});}_0x457a4c['descriptionFactory']['registerDescriptionCallback'](_0xf6de02=>{if('formatBlock'!=_0xf6de02['type']&&'formatInline'!=_0xf6de02['type'])return;const {data:_0x6184d1}=_0xf6de02;return _0x6184d1&&'mergeTableCells'==_0x6184d1['commandName']?{'type':'format','content':_0x45b6d4(_0x2a4526,'*Merge\x20cells*')}:void 0x0;}),_0x457a4c['descriptionFactory']['registerDescriptionCallback'](_0x4986ec=>{if('formatBlock'!=_0x4986ec['type']&&'formatInline'!=_0x4986ec['type'])return;const {data:_0x4f739d}=_0x4986ec;return _0x4f739d?'splitTableCellVertically'==_0x4f739d['commandName']?{'type':'format','content':_0x45b6d4(_0x2a4526,'*Split\x20cell:*\x20vertically')}:'splitTableCellHorizontally'==_0x4f739d['commandName']?{'type':'format','content':_0x45b6d4(_0x2a4526,'*Split\x20cell:*\x20horizontally')}:void 0x0:void 0x0;});const _0x56324c=_0xcc310c['_acceptFormatSuggestionCallbackFactory']();for(const _0x537928 of['mergeTableCellUp','mergeTableCellRight','mergeTableCellDown','mergeTableCellLeft'])_0x457a4c['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x537928,'accept',_0x56324c);for(const _0x11faee of['splitTableCellVertically','splitTableCellHorizontally'])_0x457a4c['_suggestionFactory']['registerCustomCallback']('formatBlock',_0x11faee,'accept',_0x56324c);_0x457a4c['_suggestionFactory']['registerCustomCallback']('formatBlock','mergeTableCells','accept',_0x9c0ef0=>{_0x14affc['model']['change'](_0x527b02=>{const _0x917b45=Array['from'](_0x2d9e90['getRanges']())['map'](_0x480d4c=>_0x14e616['ModelLiveRange']['fromRange'](_0x480d4c));_0x527b02['setSelection'](_0x9c0ef0),_0x14affc['commands']['get']('mergeTableCells')['refresh'](),_0x14affc['execute']('mergeTableCells',{'forceDefaultExecution':!0x0});const _0x4f1d37=_0x917b45['filter'](_0x209db1=>'$graveyard'!=_0x209db1['root']['rootName']);_0x4f1d37['length']>0x0&&_0x527b02['setSelection'](_0x4f1d37);for(const _0x27872e of _0x917b45)_0x27872e['detach']();});});for(const _0x1a56b2 of['mergeTableCellUp','mergeTableCellDown','mergeTableCellLeft','mergeTableCellRight']){const _0x3100c0=_0x14affc['commands']['get'](_0x1a56b2);_0x3100c0['on']('set:isEnabled',(_0x9b3cd,_0x4e5e80,_0x21797a)=>{if(_0x21797a){const _0x4e0043=_0x14affc['model']['document']['selection']['getFirstPosition']()['getAncestors']()['find'](_0x5f5268=>_0x5f5268['is']('element','tableCell'));this['_areMergableCells'](_0x3100c0['value'],_0x4e0043)||(_0x9b3cd['return']=!0x1,_0x9b3cd['stop']());}},{'priority':'low'});}}['_areSelectedCellsMergable'](){const _0x4fd084=this['editor']['commands']['get']('mergeTableCells'),_0x280d88=this['editor']['plugins']['get']('TableUtils');if(!_0x4fd084['isEnabled'])return!0x1;const _0x283e09=_0x280d88['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);for(const _0x4978df of _0x283e09)for(const _0x332aaa of _0x283e09)if(_0x4978df!=_0x332aaa&&!this['_areMergableCells'](_0x4978df,_0x332aaa))return!0x1;return!0x0;}['_areMergableCells'](_0x4dd252,_0x1a493b){const _0x32df89=this['editor']['plugins']['get']('TrackChangesEditing'),_0x5d482c=this['editor']['model']['createRangeOn'](_0x4dd252),_0x58b28b=this['editor']['model']['createRangeOn'](_0x1a493b),_0x423ad3=new Set(),_0x553543=new Set();for(const _0x59ffeb of _0x32df89['getSuggestions']())if(('insertion'==_0x59ffeb['type']||'deletion'==_0x59ffeb['type']||'mergeTableCells'==_0x59ffeb['subType'])&&_0x59ffeb['isInContent']){for(const _0x1ad597 of _0x59ffeb['getRanges']())_0x1ad597['containsRange'](_0x5d482c,!0x0)&&_0x423ad3['add'](_0x59ffeb['type']+':'+_0x59ffeb['author']['id']),_0x1ad597['containsRange'](_0x58b28b,!0x0)&&_0x553543['add'](_0x59ffeb['type']+':'+_0x59ffeb['author']['id']);}if(_0x423ad3['size']!=_0x553543['size'])return!0x1;for(const _0x2fff1e of _0x423ad3)if(!_0x553543['has'](_0x2fff1e))return!0x1;return!0x0;}},_0x14bd3d=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x562b69];}['afterInit'](){const _0x18b2dc=this['editor'];if(!_0x18b2dc['plugins']['has']('TableEditing'))return;const _0x3cdfec=_0x18b2dc['locale'],_0x46d487=_0x18b2dc['plugins']['get']('TrackChangesEditing');_0x46d487['enableDefaultAttributesIntegration']('setTableRowHeader'),_0x46d487['enableDefaultAttributesIntegration']('setTableColumnHeader'),_0x46d487['descriptionFactory']['registerAttributeLabel']('headingRows',_0x45b6d4(_0x3cdfec,'FORMAT_HEADER_ROW')),_0x46d487['descriptionFactory']['registerAttributeLabel']('headingColumns',_0x45b6d4(_0x3cdfec,'FORMAT_HEADER_COLUMN')),this['_handleLegacySuggestions']();}['_handleLegacySuggestions'](){const _0x405cc8=this['editor']['plugins']['get']('TrackChangesEditing'),_0x59ddea=this['editor']['plugins']['get'](_0x562b69)['_acceptFormatSuggestionCallbackFactory']();_0x405cc8['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableRowHeader','accept',_0x59ddea),_0x405cc8['_suggestionFactory']['registerCustomCallback']('formatBlock','setTableColumnHeader','accept',_0x59ddea),this['_registerLegacyConverters'](),this['_registerLegacyDescription']();}['_registerLegacyConverters'](){const _0x470708=this['editor']['plugins']['get']('TrackChangesEditing'),_0x4e3a42=this['editor']['plugins']['get']('TableUtils');function _0x3e17ea({showActiveMarker:_0x225466=!0x0,setDataAttribute:_0xe4ee35=!0x0}={}){return(_0x4e79da,_0x44680c,_0x13f59d)=>{const {type:_0x44a103,id:_0x593f0f}=_0x567555(_0x44680c['markerName']);if(!_0x470708['hasSuggestion'](_0x593f0f))return;const _0x5298d8=_0x470708['getSuggestion'](_0x593f0f),_0x58f075=_0x5298d8['data'];if('formatBlock'!=_0x5298d8['type']||!_0x58f075||'setTableColumnHeader'!=_0x58f075['commandName'])return;if(_0x44680c['item'])return void _0x4e79da['stop']();if(!_0x13f59d['consumable']['consume'](_0x44680c['markerRange'],_0x4e79da['name']))return;const _0x37096e=_0x44680c['markerRange']['start']['nodeAfter'],_0x172f47=_0x44680c['markerRange']['end']['nodeBefore'],_0x3dba9c=_0x37096e['parent']['parent'],{column:_0x5093f9}=_0x4e3a42['getCellLocation'](_0x37096e),{column:_0x4d6b3f}=_0x4e3a42['getCellLocation'](_0x172f47);for(let _0x311195=_0x5093f9;_0x311195<=_0x4d6b3f;_0x311195++){const _0x2f0849=_0x4e3a42['createTableWalker'](_0x3dba9c,{'column':_0x311195,'includeAllSlots':!0x1});for(const _0xc6f526 of _0x2f0849){const _0x53bc6b=_0xc6f526['cell'],_0x54b51d=_0x13f59d['mapper']['toViewElement'](_0x53bc6b);_0x13f59d['writer']['addClass']('ck-suggestion-marker-'+_0x44a103,_0x54b51d),_0xe4ee35&&_0x13f59d['writer']['setAttribute']('data-suggestion',_0x593f0f,_0x54b51d),_0x13f59d['mapper']['bindElementToMarker'](_0x54b51d,_0x44680c['markerName']),_0x225466&&(_0x470708['activeMarkers']['includes'](_0x44680c['markerName'])?_0x13f59d['writer']['addClass']('ck-suggestion-marker--active',_0x54b51d):_0x13f59d['writer']['removeClass']('ck-suggestion-marker--active',_0x54b51d));}}};}this['editor']['editing']['downcastDispatcher']['on']('addMarker:suggestion',_0x3e17ea(),{'priority':'highest'}),this['editor']['data']['downcastDispatcher']['on']('addMarker:suggestion',(_0x523685,_0x33bf42,_0x116920)=>{_0x116920['options']['showSuggestionHighlights']&&_0x3e17ea({'showActiveMarker':!0x1,'setDataAttribute':!0x1})(_0x523685,_0x33bf42,_0x116920);},{'priority':'highest'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:suggestion',(_0x252bc8,_0x4fd0aa,_0x2370da)=>{const {type:_0x81413c,id:_0x513fea}=_0x567555(_0x4fd0aa['markerName']);if(!_0x470708['hasSuggestion'](_0x513fea))return;const _0x2d4b6b=_0x470708['getSuggestion'](_0x513fea),_0x2e9b2d=_0x2d4b6b['data'];if('formatBlock'!=_0x2d4b6b['type']||!_0x2e9b2d||'setTableColumnHeader'!=_0x2e9b2d['commandName'])return;const _0x134bda=_0x2370da['mapper']['markerNameToElements'](_0x4fd0aa['markerName']);if(_0x134bda){for(const _0x2e59a2 of _0x134bda)_0x2370da['writer']['removeClass']('ck-suggestion-marker-'+_0x81413c,_0x2e59a2),_0x2370da['writer']['removeClass']('ck-suggestion-marker--active',_0x2e59a2),_0x2370da['writer']['removeAttribute']('data-suggestion',_0x2e59a2),_0x2370da['mapper']['unbindElementFromMarkerName'](_0x2e59a2,_0x4fd0aa['markerName']);}},{'priority':'highest'});}['_registerLegacyDescription'](){const _0x28a9ef=this['editor'],_0x31bcc3=_0x28a9ef['locale'];function _0x391cf2(_0xda6fdf){return{'type':'format','content':_0x45b6d4(_0x31bcc3,'*Format:*\x20%0',_0xda6fdf)};}_0x28a9ef['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerDescriptionCallback'](_0x1f310d=>{if('formatBlock'!=_0x1f310d['type'])return;const {data:_0x31bf35}=_0x1f310d;return _0x31bf35?'setTableRowHeader'==_0x31bf35['commandName']?_0x31bf35['commandParams'][0x0]['forceValue']?_0x391cf2(_0x45b6d4(_0x31bcc3,'FORMAT_HEADER_ROW')):_0x391cf2(_0x45b6d4(_0x31bcc3,'FORMAT_REGULAR_ROW')):'setTableColumnHeader'==_0x31bf35['commandName']?_0x31bf35['commandParams'][0x0]['forceValue']?_0x391cf2(_0x45b6d4(_0x31bcc3,'FORMAT_HEADER_COLUMN')):_0x391cf2(_0x45b6d4(_0x31bcc3,'FORMAT_REGULAR_COLUMN')):void 0x0:void 0x0;});}},_0x54f892=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x562b69];}['afterInit'](){const _0x284731=this['editor'];if(!_0x284731['plugins']['has']('TableEditing')||!_0x284731['config']['get']('table.enableFooters'))return;const _0x32b979=_0x284731['locale'],_0x7a606b=_0x284731['plugins']['get']('TrackChangesEditing');_0x7a606b['enableDefaultAttributesIntegration']('setTableFooterRow'),_0x7a606b['descriptionFactory']['registerAttributeLabel']('footerRows',_0x45b6d4(_0x32b979,'FORMAT_FOOTER_ROW'));}},_0x451006=class extends _0x14e616['Plugin']{['afterInit'](){const _0x352926=this['editor'],_0x45551d=_0x352926['locale'],_0x4dfc61=_0x352926['plugins']['get']('TrackChangesEditing');function _0x1dbc09(_0x358fad){return{'type':'format','content':''+_0x45b6d4(_0x45551d,'*Set\x20table\x20type:*\x20%0',_0x358fad)};}_0x352926['plugins']['has']('TableLayout')&&(_0x4dfc61['enableCommand']('insertTableLayout'),_0x4dfc61['enableDefaultAttributesIntegration']('tableType'),_0x4dfc61['descriptionFactory']['registerElementLabel'](_0x307c7b=>_0x307c7b['is']('element','table')&&'layout'===_0x307c7b['getAttribute']('tableType'),_0x5d80a0=>_0x45b6d4(_0x45551d,'ELEMENT_LAYOUT_TABLE',_0x5d80a0)),_0x4dfc61['descriptionFactory']['registerDescriptionCallback'](_0x103868=>{const {data:_0x2f68bf}=_0x103868;if(_0x2f68bf&&'tableType'==_0x2f68bf['key'])switch(_0x2f68bf['newValue']){case'layout':return _0x1dbc09(_0x45b6d4(_0x45551d,'ELEMENT_LAYOUT_TABLE'));case'content':return _0x1dbc09(_0x45b6d4(_0x45551d,'ELEMENT_CONTENT_TABLE'));}}));}};const _0x52a0fb=['tableCellBorderWidth','tableCellBorderColor','tableCellBorderStyle','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellBackgroundColor','tableCellPadding'],_0x35fff0=/* #__PURE__ -- @preserve */
Object['fromEntries'](_0x52a0fb['map'](_0x10d949=>[_0x10d949,null]));var _0x286957=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x562b69];}['afterInit'](){const _0x167c0f=this['editor'];if(!_0x167c0f['plugins']['has']('TableClipboard'))return;const _0x44f302=_0x167c0f['plugins']['get']('TrackChangesEditing'),_0x4a503d=_0x167c0f['plugins']['get']('TableUtils'),_0x446791=_0x167c0f['plugins']['get'](_0x562b69),_0x40b1d1=_0x167c0f['plugins']['get']('TableClipboard'),_0x1888e1=_0x167c0f['plugins']['get']('TableSelection'),_0x37e772=_0x167c0f['plugins']['get'](_0x14e616['ClipboardPipeline']);_0x446791['_tablePostFixingSubtypes']['push']('tablePasteRow','tablePasteColumn'),_0x167c0f['model']['schema']['register']('tableCellSuggestion',{'allowIn':'tableCell','allowContentOf':'tableCell','isLimit':!0x0}),_0x167c0f['conversion']['elementToElement']({'model':'tableCellSuggestion','view':'suggestion-td'});let _0x251d46=null,_0x4b05ba=!0x1;_0x37e772['on']('contentInsertion',(_0x3c3f92,_0x4af369)=>{_0x4b05ba='paste'===_0x4af369['method'];}),_0x167c0f['model']['on']('insertContent',(_0x52176e,_0x55f356)=>{if(!_0x4b05ba&&null===_0x1888e1['getSelectedTableCells']())return;const [_0xe3d0d,_0x10f527]=_0x55f356,_0x41db7d=_0x55f356[_0x55f356['length']-0x1];_0x41db7d&&_0x41db7d['forceDefaultExecution']||_0x44f302['_isForcedDefaultExecutionBlock']||this['editor']['commands']['get']('trackChanges')['value']&&function(_0x2abc16,_0x5d9764,_0x4280cb,_0x1009f1,_0x4f451d){if(_0x5d9764&&!_0x5d9764['is']('documentSelection'))return!0x1;const _0x247c77=_0x4f451d['getTableIfOnlyTableInContent'](_0x2abc16,_0x4280cb);if(!_0x247c77||!_0x4bf7b2(_0x247c77,void 0x0,_0x1009f1))return!0x1;const _0x3331c0=_0x1009f1['getSelectionAffectedTableCells'](_0x4280cb['document']['selection']);if(!_0x3331c0['length'])return!0x1;const _0x120621=_0x3331c0[0x0]['findAncestor']('table'),_0x372a4a=_0x1009f1['getRowIndexes'](_0x3331c0),_0x15a663=_0x1009f1['getColumnIndexes'](_0x3331c0),_0x57bef8={'startRow':_0x372a4a['first'],'endRow':_0x372a4a['last'],'startColumn':_0x15a663['first'],'endColumn':_0x15a663['last']};return 0x1==_0x3331c0['length']&&(_0x57bef8['endRow']+=_0x1009f1['getRows'](_0x247c77)-0x1,_0x57bef8['endColumn']+=_0x1009f1['getColumns'](_0x247c77)-0x1),_0x4bf7b2(_0x120621,_0x57bef8,_0x1009f1);}(_0xe3d0d,_0x10f527,_0x167c0f['model'],_0x4a503d,_0x40b1d1)&&(_0x52176e['stop'](),_0x251d46={'cells':[],'insertionRanges':[],'deletionRanges':[],'rowInsertionRanges':[],'rowInsertionIndexes':[],'columnInsertionRanges':[],'columnInsertionIndexes':[]},_0x167c0f['model']['change'](()=>{_0x167c0f['model']['insertContent'](_0x55f356[0x0],_0x55f356[0x1],_0x55f356[0x2],{'forceDefaultExecution':!0x0});const _0x4ef0a8=(0x0,_0x14e616['uid'])(),{rowInsertionRanges:_0x5678d7,columnInsertionRanges:_0x3251c8,insertionRanges:_0x4fb16b,deletionRanges:_0x555da0,cells:_0x1ff7fb}=_0x251d46;_0x5678d7['length']&&_0x44f302['markMultiRangeInsertion'](_0x5678d7,'tablePasteRow',{'tablePasteChainId':_0x4ef0a8}),_0x3251c8['length']&&_0x44f302['markMultiRangeInsertion'](_0x3251c8,'tablePasteColumn',{'tablePasteChainId':_0x4ef0a8}),_0x4fb16b['length']&&(_0x44f302['markMultiRangeInsertion'](_0x4fb16b,'tablePaste',{'tablePasteChainId':_0x4ef0a8,'skipNestingCheck':!0x0}),_0x4fb16b['forEach'](_0x2abac7=>_0x2abac7['detach']?.())),_0x555da0['length']&&(_0x44f302['markMultiRangeDeletion'](_0x555da0,'tablePaste',{'tablePasteChainId':_0x4ef0a8,'skipNestingCheck':!0x0}),_0x555da0['forEach'](_0x4141c4=>_0x4141c4['detach']?.()));const _0x28df31=_0x44f302['markMultiRangeBlockFormat'](_0x1ff7fb['map'](({element:_0x10dd2b})=>_0x10dd2b),{'formatGroupId':(0x0,_0x14e616['uid'])()},[],'tablePasteCell',{'tablePasteChainId':_0x4ef0a8});if(_0x28df31){const _0x294269=_0x28df31['getMarkers'](),_0x8acb52=[];for(const {element:_0x1a8e6e,attributes:_0x5cedca}of _0x1ff7fb){if(!_0x5cedca)continue;const _0x17f5b3=_0x167c0f['model']['createRangeOn'](_0x1a8e6e),_0x44b151=_0x294269['find'](_0x4dd233=>_0x4dd233['getRange']()['isEqual'](_0x17f5b3));_0x44b151&&_0x8acb52['push']([_0x44b151['name'],_0x5cedca]);}_0x8acb52['length']&&_0x28df31['setAttribute']('markerAttributes',Object['fromEntries'](_0x8acb52));}_0x251d46=null;}));},{'priority':_0x14e616['priorities']['high']+0xa}),_0x37e772['on']('contentInsertion',()=>{_0x4b05ba=!0x1;},{'priority':'lowest'}),_0x167c0f['plugins']['get']('TableClipboard')['on']('_replaceTableSlotCell',(_0x4ee1a8,_0x510b78)=>{const [_0x17eaeb,_0x1cc510,,_0x181d93]=_0x510b78;if(!_0x251d46)return;_0x4ee1a8['stop']();const _0x40f812=_0x17eaeb['cell'],_0x2f50e2=_0x1cc510,_0x11f8e1=_0x47ad0d(_0x40f812),_0x34993b=_0x47ad0d(_0x2f50e2);_0x4ee1a8['return']=_0x40f812;let _0x50fed6=null,_0x4e6481=null;if(_0x34993b||_0x11f8e1){if(_0x11f8e1&&!_0x34993b){_0x181d93['remove'](_0x40f812['getChild'](0x0));for(const _0x5a1c83 of Array['from'](_0x2f50e2['getChildren']()))_0x181d93['insert'](_0x5a1c83,_0x40f812,'end');const _0x32c22a=_0x251d46['rowInsertionIndexes']['includes'](_0x17eaeb['row']),_0x4dd34e=_0x251d46['columnInsertionIndexes']['includes'](_0x17eaeb['column']);_0x32c22a||_0x4dd34e||(_0x50fed6=_0x14e616['ModelLiveRange']['fromRange'](_0x181d93['createRangeIn'](_0x40f812)));}else _0x34993b&&!_0x11f8e1&&(_0x4e6481=_0x181d93['createRangeIn'](_0x40f812));}else{const _0x4fbd00=_0x181d93['createElement']('tableCellSuggestion'),_0x4135f2=_0x181d93['createElement']('tableCellSuggestion');_0x181d93['wrap'](_0x181d93['createRangeIn'](_0x40f812),_0x4135f2),_0x181d93['insert'](_0x4fbd00,_0x40f812,0x0);for(const _0x10a524 of Array['from'](_0x2f50e2['getChildren']()))_0x181d93['insert'](_0x10a524,_0x4fbd00,'end');_0x50fed6=_0x14e616['ModelLiveRange']['fromRange'](_0x181d93['createRangeOn'](_0x4fbd00)),_0x4e6481=_0x14e616['ModelLiveRange']['fromRange'](_0x181d93['createRangeOn'](_0x4135f2));}const _0x5c4cde=Array['from'](_0x2f50e2['getAttributes']())['filter'](([_0x450554])=>_0x52a0fb['includes'](_0x450554));_0x251d46['cells']['push']({'element':_0x40f812,'attributes':_0x5c4cde['length']?Object['fromEntries'](_0x5c4cde):null}),_0x50fed6&&_0x251d46['insertionRanges']['push'](_0x50fed6),_0x4e6481&&_0x251d46['deletionRanges']['push'](_0x4e6481);},{'priority':'high'}),_0x4a503d['on']('insertColumns',(_0x559d9a,_0x15afb8)=>{const [_0x55d400,_0x37cb58={}]=_0x15afb8;if(!_0x251d46)return;const _0x579655=_0x37cb58['at']||0x0,_0x502c0e=_0x37cb58['columns']||0x1;_0x251d46['columnInsertionIndexes']=new Array(_0x502c0e)['fill'](_0x579655)['map']((_0x5843c8,_0x7b47aa)=>_0x5843c8+_0x7b47aa);for(const {cell:_0x24b366}of _0x4a503d['createTableWalker'](_0x55d400,{'startColumn':_0x579655,'endColumn':_0x579655+_0x502c0e-0x1}))_0x251d46['columnInsertionRanges']['push'](_0x167c0f['model']['createRangeOn'](_0x24b366));},{'priority':'low'}),_0x4a503d['on']('insertRows',(_0x223cc8,_0x2a1e20)=>{const [_0x405843,_0x52cbdd={}]=_0x2a1e20;if(!_0x251d46)return;const _0x19d1c0=_0x52cbdd['at']||0x0,_0x507477=_0x52cbdd['rows']||0x1;_0x251d46['rowInsertionIndexes']=new Array(_0x507477)['fill'](_0x19d1c0)['map']((_0x2f1aed,_0x144cc9)=>_0x2f1aed+_0x144cc9);for(const {cell:_0x37d938}of _0x4a503d['createTableWalker'](_0x405843,{'startRow':_0x19d1c0,'endRow':_0x19d1c0+_0x507477-0x1}))_0x251d46['rowInsertionRanges']['push'](_0x167c0f['model']['createRangeOn'](_0x37d938));},{'priority':'low'}),_0x44f302['descriptionFactory']['registerDescriptionCallback'](_0x2e1d4b=>{if(_0x2e1d4b['subType']&&_0x2e1d4b['subType']['startsWith']('tablePaste'))return _0x2e1d4b['previous']?{}:{'type':'insertion','content':_0x45b6d4(_0x167c0f['locale'],'*Replace\x20table\x20cells*')};});const _0x300d7b=()=>!0x1;for(const _0xd8ad41 of['tablePaste','tablePasteColumn','tablePasteRow','tablePasteCell'])_0x44f302['_suggestionFactory']['registerCustomCallback']('insertion',_0xd8ad41,'join',_0x300d7b),_0x44f302['_suggestionFactory']['registerCustomCallback']('deletion',_0xd8ad41,'join',_0x300d7b),_0x44f302['_suggestionFactory']['registerCustomCallback']('formatBlock',_0xd8ad41,'join',_0x300d7b);_0x44f302['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','discard',_0x300d7b),_0x44f302['_suggestionFactory']['registerCustomCallback']('formatBlock','tablePasteCell','accept',(_0x5bba45,_0x69f92a,_0x2f717b)=>{const _0x46aabc=_0x5bba45['map'](_0x28a23e=>_0x28a23e['getContainedElement']())['filter'](_0x379276=>_0x379276),_0x145186=new Map(_0x46aabc['map'](_0x3b292f=>[_0x3b292f,null]));if(_0x251d46){for(const {element:_0x4c62fe,attributes:_0x48a60a}of _0x251d46['cells'])_0x48a60a&&_0x145186['set'](_0x4c62fe,_0x48a60a);}else{if(_0x2f717b&&_0x2f717b['markerAttributes'])for(const [_0x115ff3,_0x27f6ef]of Object['entries'](_0x2f717b['markerAttributes'])){const _0x7d923=_0x167c0f['model']['markers']['get'](_0x115ff3),_0x1e55c6=_0x7d923?_0x7d923['getRange']()['getContainedElement']():null;_0x1e55c6&&_0x145186['set'](_0x1e55c6,_0x27f6ef);}}_0x167c0f['model']['change'](_0x2371f7=>{for(const [_0x4681db,_0x2af7a9]of _0x145186)_0x2371f7['setAttributes']({..._0x35fff0,..._0x2af7a9},_0x4681db);});});const _0x16825d=(_0x4935da,_0x232f54)=>{_0x44f302['_suggestionFactory']['registerCustomCallback'](_0x4935da,'tablePaste',_0x232f54,(_0x100a24,_0x14a20d,_0x437f88)=>{_0x167c0f['model']['change'](_0x4bffab=>{const _0x5e04b6=[];for(const _0x40ac1e of _0x100a24){const _0x3619b1=_0x40ac1e['start']['nodeAfter'];_0x3619b1['is']('element','tableCellSuggestion')&&_0x5e04b6['push'](_0x3619b1);}_0x44f302['_suggestionFactory']['getSuggestionCallback'](_0x4935da,null,_0x232f54)(_0x100a24,_0x14a20d,_0x437f88);for(const _0x368d63 of _0x5e04b6)'$graveyard'!=_0x368d63['root']['rootName']&&_0x4bffab['unwrap'](_0x368d63);});});};_0x16825d('insertion','accept'),_0x16825d('insertion','discard'),_0x16825d('deletion','accept'),_0x16825d('deletion','discard'),_0x44f302['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteRow','discard',_0x423d43=>{const _0x11727e=_0x423d43['map'](_0xe576e9=>_0xe576e9['getContainedElement']()),_0x311c42=_0x11727e[0x0]['findAncestor']('table'),{minRow:_0x4dff6c,maxRow:_0x1e074d}=_0x446791['_getCoordsForCells'](_0x11727e);_0x4a503d['removeRows'](_0x311c42,{'at':_0x4dff6c,'rows':_0x1e074d-_0x4dff6c+0x1});}),_0x44f302['_suggestionFactory']['registerCustomCallback']('insertion','tablePasteColumn','discard',_0x2ad1bd=>{const _0x293c1b=_0x2ad1bd['map'](_0x588ed2=>_0x588ed2['getContainedElement']()),_0x1852dc=_0x293c1b[0x0]['findAncestor']('table'),{minColumn:_0x46834d,maxColumn:_0x4a3972}=_0x446791['_getCoordsForCells'](_0x293c1b);_0x4a503d['removeColumns'](_0x1852dc,{'at':_0x46834d,'columns':_0x4a3972-_0x46834d+0x1});});const _0x404553=(_0x238a6d,_0x58b84a)=>{if(!_0x58b84a['subType']||!_0x58b84a['subType']['startsWith']('tablePaste'))return;const _0x1960b8=_0x58b84a['attributes']['tablePasteChainId'],_0x4bb0e4=_0x44f302['getSuggestions']()['filter'](_0xd5704e=>_0xd5704e['isInContent']&&_0xd5704e['attributes']&&_0xd5704e['attributes']['tablePasteChainId']==_0x1960b8);_0x4bb0e4['length']&&_0x58b84a['getAllAdjacentSuggestions']()['length']!=_0x4bb0e4['length']&&_0x4bb0e4['reduce']((_0x7aefb4,_0x293ff4)=>(_0x7aefb4['next']=_0x293ff4,_0x293ff4['previous']=_0x7aefb4,_0x293ff4));};function _0xbb10f0(_0x2d9b3a,_0x1b10a2=!0x0){const {id:_0x4f594f,authorId:_0x2e9294}=_0x567555(_0x2d9b3a['markerName']),_0x16e78a=['ck-suggestion-marker','ck-suggestion-marker-insertion'],_0x2fc768=_0x44f302['activeMarkers']['includes'](_0x2d9b3a['markerName']);return _0x2fc768&&_0x16e78a['push']('ck-suggestion-marker--active'),{'classes':_0x16e78a,'attributes':{'data-suggestion':_0x4f594f,'data-author-id':_0x2e9294},'priority':_0x2fc768&&_0x1b10a2?0xbc2:0xbb8};}_0x44f302['on']('suggestionLoaded',_0x404553,{'priority':'high'}),_0x44f302['on']('suggestionUnloaded',_0x404553,{'priority':'high'}),_0x167c0f['model']['document']['registerPostFixer'](()=>{let _0xb87f3c=!0x1;const _0x3dba53=Array['from'](_0x167c0f['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x161716,data:_0x5697fe}of _0x3dba53){const {group:_0x332249,type:_0x49cf3f,id:_0x4d681f}=_0x567555(_0x161716);if('suggestion'!=_0x332249||'deletion'!=_0x49cf3f||_0x5697fe['oldRange'])continue;if(!_0x44f302['hasSuggestion'](_0x4d681f))continue;const _0x41ca07=_0x44f302['getSuggestion'](_0x4d681f)['getRanges'](),_0x192071=_0x167c0f['plugins']['get']('Users')['me'];for(const _0x104fe9 of _0x44f302['getSuggestions']())if(_0x104fe9['isInContent']&&_0x104fe9['author']==_0x192071&&'formatBlock'==_0x104fe9['type']&&'tablePasteCell'==_0x104fe9['subType']&&_0x104fe9['getRanges']()['every'](_0x255feb=>_0x41ca07['some'](_0x6ce0b1=>_0x6ce0b1['containsRange'](_0x255feb,!0x0)))){for(const _0x151d5b of _0x104fe9['getAllAdjacentSuggestions']())_0x151d5b['isInContent']&&(_0x151d5b['discard'](),_0xb87f3c=!0x0);}}return _0xb87f3c;}),_0x167c0f['model']['document']['registerPostFixer'](_0x401a23=>{const _0x506664=_0x167c0f['commands']['get']('redo');if(!_0x506664||!_0x506664['_createdBatches']['has'](_0x401a23['batch']))return!0x1;let _0x1eec3e=!0x1;const _0x87bd64=_0x167c0f['plugins']['get']('Users')['me'],_0x37b7c7=_0x167c0f['model']['document']['differ']['getChanges'](),_0x2c7927=Array['from'](_0x167c0f['model']['document']['differ']['getChangedMarkers']())['filter'](({name:_0x55b42b,data:_0xc74424})=>{const {group:_0x1f4104,subType:_0x11d156,authorId:_0x47305a}=_0x567555(_0x55b42b);return'suggestion'==_0x1f4104&&'tablePaste'==_0x11d156&&_0x47305a==_0x87bd64['id']&&!_0xc74424['oldRange'];});for(const _0x4c8485 of _0x37b7c7){if('insert'!=_0x4c8485['type']||'tableCellSuggestion'!=_0x4c8485['name']||0x1!=_0x4c8485['length'])continue;const _0x236d95=_0x401a23['createRange'](_0x4c8485['position'],_0x4c8485['position']['getShiftedBy'](0x1));if(!_0x2c7927['find'](({data:_0x2534fe})=>_0x2534fe['newRange']['isEqual'](_0x236d95))){for(const {name:_0x102daa,data:_0x167c37}of _0x2c7927)if(_0x236d95['containsRange'](_0x167c37['newRange'])){_0x401a23['updateMarker'](_0x102daa,{'range':_0x236d95}),_0x1eec3e=!0x0;break;}}}return _0x1eec3e;}),_0x167c0f['model']['document']['registerPostFixer'](_0x5bde0f=>{let _0x409664=!0x1;const _0x241b35=_0x167c0f['plugins']['get']('Users')['me'],_0x1de0fb=_0x44f302['getSuggestions']()['filter'](_0x2b23fa=>_0x2b23fa['isInContent']&&_0x2b23fa['author']==_0x241b35),_0x4d2b2c=new Set(),_0x474d2a=new Set();for(const _0x21d75c of _0x1de0fb)if('tablePaste'==_0x21d75c['subType'])for(const _0x21791d of _0x21d75c['getMarkers']()){const _0x3c115b=_0x21791d['getRange']()['getContainedElement']();if(_0x3c115b){if(_0x3c115b['is']('element','tableCellSuggestion')&&_0x47ad0d(_0x3c115b)){_0x21d75c['removeMarker'](_0x21791d['name']),_0x4d2b2c['add'](_0x3c115b),_0x409664=!0x0;const _0xda2cf=_0x3c115b['nextSibling'],_0x333b3e=_0x3c115b['previousSibling'],_0x95b9b3=_0xda2cf&&_0xda2cf['is']('element','tableCellSuggestion'),_0x193afa=_0x333b3e&&_0x333b3e['is']('element','tableCellSuggestion');_0x95b9b3&&!_0x4d2b2c['has'](_0xda2cf)&&_0x474d2a['add'](_0xda2cf),_0x193afa&&!_0x4d2b2c['has'](_0x333b3e)&&_0x474d2a['add'](_0x333b3e);}else _0x3c115b['is']('element','paragraph')&&_0x3c115b['isEmpty']&&(_0x21d75c['removeMarker'](_0x21791d['name']),_0x409664=!0x0);}}else{if('tablePasteCell'==_0x21d75c['subType']){if(!_0x21d75c['attributes']||!_0x21d75c['attributes']['tablePasteChainId'])continue;const _0x3bdd48=_0x21d75c['attributes']['markerAttributes'];if(_0x3bdd48&&Object['keys'](_0x3bdd48)['length'])continue;const _0x571305=_0x21d75c['attributes']['tablePasteChainId'];let _0x1b7923=!0x0,_0x209248=!0x0;for(const _0x4631f8 of _0x1de0fb)if(_0x4631f8['subType']&&_0x4631f8['subType']['startsWith']('tablePaste')){if(!_0x4631f8['attributes']['tablePasteChainId']){_0x209248=!0x1;break;}if(_0x4631f8['id']!=_0x21d75c['id']&&_0x4631f8['attributes']['tablePasteChainId']==_0x571305){_0x1b7923=!0x1;break;}}_0x209248&&_0x1b7923&&(_0x21d75c['removeMarkers'](),_0x409664=!0x0);}}for(const _0x50d852 of _0x4d2b2c)_0x5bde0f['remove'](_0x50d852);for(const _0x4b4573 of _0x474d2a)_0x5bde0f['unwrap'](_0x4b4573);return _0x409664;}),_0x167c0f['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':_0x1d3b59=>_0xbb10f0(_0x1d3b59),'converterPriority':'high'}),_0x167c0f['conversion']['for']('dataDowncast')['markerToHighlight']({'model':'suggestion:formatBlock:tablePasteCell','view':(_0x3d9d2c,_0x8a2d43)=>_0x8a2d43['options']['showSuggestionHighlights']?_0xbb10f0(_0x3d9d2c,!0x1):null,'converterPriority':'high'});const _0x429d1b=_0x167c0f['editing']['view'];this['listenTo'](_0x429d1b['document'],'clipboardOutput',(_0x4869dd,_0xd63aa3)=>{const _0x5ad587=[];for(const _0x508665 of _0x429d1b['createRangeIn'](_0xd63aa3['content'])['getItems']())_0x508665['is']('element','suggestion-td')&&_0x5ad587['push'](_0x508665);_0x429d1b['change'](_0x9d5b6b=>{for(const _0x599e17 of _0x5ad587)_0x9d5b6b['move'](_0x9d5b6b['createRangeIn'](_0x599e17),_0x9d5b6b['createPositionBefore'](_0x599e17)),_0x9d5b6b['remove'](_0x599e17);});});}};function _0x47ad0d(_0xfa56d5){if(_0xfa56d5['isEmpty'])return!0x0;const _0x63e3ed=_0xfa56d5['getChild'](0x0);return _0x63e3ed['is']('element','paragraph')&&_0x63e3ed['isEmpty'];}function _0x4bf7b2(_0xc760,_0x1e4bce={},_0x416dc7){for(const {isAnchor:_0x19690b,cellHeight:_0x3a403d,cellWidth:_0x57c84f}of _0x416dc7['createTableWalker'](_0xc760,{'includeAllSlots':!0x0,..._0x1e4bce}))if(!_0x19690b||0x1!=_0x3a403d||0x1!=_0x57c84f)return!0x1;return!0x0;}var _0x363922=class extends _0x14e616['Plugin']{['afterInit'](){if(!this['editor']['plugins']['has']('TableColumnResizeEditing'))return;const _0x3777fa=this['editor']['plugins']['get']('TrackChangesEditing');_0x3777fa['enableCommand']('resizeTableWidth',this['handleResizeTableWidthCommand']['bind'](this)),_0x3777fa['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','accept',_0x3777fa['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x3777fa['_suggestionFactory']['registerCustomCallback']('formatBlock','resizeTable','discard',_0x3777fa['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'accept')),_0x3777fa['descriptionFactory']['registerDescriptionCallback'](this['handleSuggestionDescription']['bind'](this));}['handleResizeTableWidthCommand'](_0x57d052,_0xa2f055){const _0x4509ca=this['editor']['plugins']['get']('TrackChangesEditing'),_0x33060a=this['editor']['plugins']['get']('TableColumnResizeEditing'),_0x40935a=_0xa2f055['table']||this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](()=>{const _0x15338e=_0x33060a['getColumnGroupElement'](_0x40935a);let _0xde5b87=_0x15338e?_0x33060a['getTableColumnsWidths'](_0x15338e):null,_0x4cf2aa=_0x40935a['getAttribute']('tableWidth')||null;const _0xf911fb=_0xa2f055['tableWidth']||_0x4cf2aa,_0x4b37c4=_0xa2f055['columnWidths']||_0xde5b87,_0x3374b7=this['editor']['plugins']['get']('Users')['me'];for(const _0x91979 of _0x4509ca['getSuggestions']()){const _0x56b332=_0x91979['getContainedElement']();if('resizeTable'===_0x91979['subType']&&_0x56b332===_0x40935a){_0x91979['author']!==_0x3374b7&&_0x91979['discard']();const _0x54a35f=_0x91979['data']['commandParams'];_0x4cf2aa=_0x54a35f[0x0]['tableWidth'],_0xde5b87=_0x54a35f[0x0]['columnWidths'];break;}}_0x57d052({'table':_0x40935a,'tableWidth':_0xf911fb,'columnWidths':_0x4b37c4}),_0x4509ca['markBlockFormat'](_0x40935a,{'commandName':'resizeTableWidth','commandParams':[{'tableWidth':_0x4cf2aa,'columnWidths':_0xde5b87}],'formatGroupId':'resizeTable'},[],'resizeTable');});}['handleSuggestionDescription'](_0x3828c9){if('formatBlock'!=_0x3828c9['type']&&'formatInline'!=_0x3828c9['type'])return;const {data:_0x500f05}=_0x3828c9;return _0x500f05&&'resizeTable'===_0x500f05['formatGroupId']?{'type':'format','content':_0x45b6d4(this['editor']['locale'],'*Format:*\x20resize\x20table')}:void 0x0;}},_0x193e5d=class extends _0x14e616['Plugin']{['afterInit'](){const _0x41fc8c=this['editor'];_0x41fc8c['plugins']['has']('Template')&&_0x41fc8c['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTemplate');}},_0x170967=class extends _0x14e616['Plugin']{['afterInit'](){const _0x315e3c=this['editor'];if(!_0x315e3c['commands']['get']('insertTableOfContents'))return;_0x315e3c['plugins']['get']('TrackChangesEditing')['enableCommand']('insertTableOfContents');const _0x3d91fd=_0x315e3c['plugins']['get']('TrackChangesEditing'),_0xcc6da6=_0x315e3c['locale'];_0x3d91fd['descriptionFactory']['registerElementLabel']('tableOfContents',_0x255d84=>_0x45b6d4(_0xcc6da6,'ELEMENT_TABLE_OF_CONTENTS',_0x255d84));}},_0x2ac69e=class extends _0x14e616['Plugin']{['afterInit'](){const _0x265b6b=this['editor'];_0x265b6b['plugins']['has']('Title')&&(_0x265b6b['plugins']['get']('TrackChangesEditing')['descriptionFactory']['registerElementLabel']('title-content',()=>_0x45b6d4(_0x265b6b['locale'],'ELEMENT_TITLE')),_0x265b6b['model']['document']['registerPostFixer'](_0x14133e=>{let _0xa36805=!0x1;const _0x75b82a=Array['from'](_0x265b6b['model']['document']['differ']['getChangedMarkers']());for(const {name:_0x11ee70,data:_0x1f397c}of _0x75b82a){const {group:_0x44c438}=_0x567555(_0x11ee70);if('suggestion'!==_0x44c438||!_0x1f397c['newRange'])continue;const _0x25f288=_0x1f397c['newRange'],_0x3107e8=_0x25f288['end']['nodeBefore'];if(!_0x3107e8||!_0x3107e8['is']('element','title-content'))continue;if(!_0x25f288['start']['isTouching'](_0x25f288['end']))continue;const _0xa45db7=_0x265b6b['model']['schema']['getNearestSelectionRange'](_0x25f288['end'],'forward');if(_0xa45db7&&_0xa45db7['isCollapsed']){const _0x46a61a=_0x14133e['createRange'](_0x25f288['start'],_0xa45db7['start']);_0x46a61a['isEqual'](_0x25f288)||(_0x14133e['updateMarker'](_0x11ee70,{'range':_0x46a61a}),_0xa36805=!0x0);}_0xa36805||(_0x14133e['removeMarker'](_0x11ee70),_0xa36805=!0x0);}return _0xa36805;}));}},_0x54d169=class extends _0x14e616['Plugin']{['afterInit'](){const _0x2a969f=this['editor'],_0xf16eb9=_0x2a969f['plugins']['get']('TrackChangesEditing');_0x2a969f['plugins']['has']('Uploadcare')&&(_0xf16eb9['enableCommand']('uploadcare'),_0x2a969f['plugins']['has']('UploadcareImageEdit')&&(_0xf16eb9['enableCommand']('uploadcareImageEdit'),_0xf16eb9['enableDefaultAttributesIntegration']('uploadcareImageReplace'),_0xf16eb9['descriptionFactory']['registerDescriptionCallback'](_0x236bc8=>{if('attribute'!=_0x236bc8['type'])return;const {data:_0x55b269}=_0x236bc8;return _0x55b269&&'uploadcareImageId'==_0x55b269['key']?{'type':'format','content':''}:void 0x0;})));}},_0x4671c9=class extends _0x14e616['Plugin']{['afterInit'](){const _0x5779e4=this['editor'],_0x8e8e11=_0x5779e4['plugins']['get']('TrackChangesEditing');_0x5779e4['plugins']['has']('UndoEditing')&&(_0x8e8e11['enableCommand']('undo'),_0x8e8e11['enableCommand']('redo'));}},_0x203da5=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x562b69];}['afterInit'](){const _0x2b64dc=this['editor'];_0x2b64dc['plugins']['has']('TableCaptionEditing')&&_0x2b64dc['plugins']['get']('TrackChangesEditing')['enableCommand']('toggleTableCaption');}},_0x1806b5=class extends _0x14e616['Plugin']{['tableProperties'];['tableCellProperties'];constructor(_0xcb3050){super(_0xcb3050),this['tableProperties']=['tableBorderColor','tableBorderStyle','tableBorderWidth','tableAlignment','tableWidth','tableHeight','tableBackgroundColor'],this['tableCellProperties']=['tableCellBorderColor','tableCellBorderStyle','tableCellBorderWidth','tableCellPadding','tableCellWidth','tableCellHeight','tableCellBackgroundColor','tableCellHorizontalAlignment','tableCellVerticalAlignment','tableCellType'];}static get['pluginName'](){return'TrackChangesTableProperties';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['afterInit'](){const _0x2ec6b9=this['editor']['plugins']['get']('TrackChangesEditing');if(this['editor']['plugins']['has']('TablePropertiesEditing')){for(const _0x5be75a of this['tableProperties'])_0x2ec6b9['enableCommand'](_0x5be75a,(_0x3ea520,_0x5bdfa1)=>{const _0x506534=this['editor']['model']['document']['selection']['getFirstPosition']()['findAncestor']('table');this['_handlePropertyChange'](_0x5be75a,[_0x506534],this['tableProperties'],'tableProperties',_0x3ea520,_0x5bdfa1);});_0x2ec6b9['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','accept',_0x2ec6b9['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x2ec6b9['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','discard',(_0x5e8411,_0x211940)=>this['handleDiscardAction'](this['tableProperties'],_0x5e8411,_0x211940)),_0x2ec6b9['_suggestionFactory']['registerCustomCallback']('formatBlock','tableProperties','join',()=>!0x1);}if(this['editor']['plugins']['has']('TableCellPropertiesEditing')){for(const _0x2236a1 of this['tableCellProperties'])this['editor']['commands']['get'](_0x2236a1)&&_0x2ec6b9['enableCommand'](_0x2236a1,(_0x40d40c,_0x3a79a9)=>{const _0x781493=this['editor']['plugins']['get']('TableUtils')['getSelectionAffectedTableCells'](this['editor']['model']['document']['selection']);this['_handlePropertyChange'](_0x2236a1,_0x781493,this['tableCellProperties'],'tableCellProperties',_0x40d40c,_0x3a79a9);});_0x2ec6b9['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','accept',_0x2ec6b9['_suggestionFactory']['getSuggestionCallback']('formatBlock',null,'discard')),_0x2ec6b9['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','discard',(_0x3adc6b,_0x48b305)=>this['handleDiscardAction'](this['tableCellProperties'],_0x3adc6b,_0x48b305)),_0x2ec6b9['_suggestionFactory']['registerCustomCallback']('formatBlock','tableCellProperties','join',()=>!0x1),this['editor']['model']['schema']['checkAttribute']('tableCell','tableCellType')&&_0x2ec6b9['descriptionFactory']['registerAttributeLabel']('tableCellType',_0x45b6d4(this['editor']['locale'],'FORMAT_TABLE_CELL_TYPE'));}_0x2ec6b9['descriptionFactory']['registerDescriptionCallback'](_0x5f4b1a=>this['handleSuggestionDescription'](_0x5f4b1a)),this['_registerTablePropertiesAttributes']();}['_handlePropertyChange'](_0x2524b6,_0x7cf797,_0x33deb9,_0x5573e0,_0x14ccd2,_0x13e864){const _0x34a708=this['editor']['plugins']['get']('TrackChangesEditing');this['editor']['model']['enqueueChange'](_0x13e864['batch'],()=>{for(const _0x2c1634 of _0x7cf797)if(this['_getSuggestion'](_0x2c1634,_0x5573e0))_0x14ccd2(_0x13e864);else{const _0x19a69b={};for(const _0x5f4b47 of _0x33deb9){const _0x1a643b=_0x2c1634['getAttribute'](_0x5f4b47);void 0x0!==_0x1a643b&&(_0x19a69b[_0x5f4b47]=_0x1a643b);}_0x14ccd2(_0x13e864),_0x34a708['markBlockFormat'](_0x2c1634,{'commandParams':[_0x19a69b]},[],_0x5573e0);}});}['handleDiscardAction'](_0x5e8ea6,_0x4a31c9,_0xd63c28){const _0x1cec8b=_0x4a31c9[0x0]['start']['nodeAfter'],_0x11208d=_0xd63c28['commandParams'][0x0];this['editor']['model']['change'](_0x1225ea=>{for(const _0x297d15 of _0x5e8ea6)void 0x0!==_0x11208d[_0x297d15]?_0x1225ea['setAttribute'](_0x297d15,_0x11208d[_0x297d15],_0x1cec8b):_0x1225ea['removeAttribute'](_0x297d15,_0x1cec8b);});}['handleSuggestionDescription'](_0x2659a1){if(_0x2659a1['data'])switch(_0x2659a1['subType']){case'tableProperties':return{'type':'format','content':_0x45b6d4(this['editor']['locale'],'*Format:*\x20change\x20table\x20properties')};case'tableCellProperties':return{'type':'format','content':_0x45b6d4(this['editor']['locale'],'*Format:*\x20change\x20table\x20cell\x20properties')};}}['_getSuggestion'](_0x7734f,_0x56a70b){const _0x9e46bf=this['editor']['plugins']['get']('TrackChangesEditing');for(const _0x17a41b of _0x9e46bf['getSuggestions']({'skipNotAttached':!0x0})){const _0x2258d1=_0x17a41b['getContainedElement']();if(_0x17a41b['subType']===_0x56a70b&&_0x2258d1===_0x7734f)return _0x17a41b;}return null;}['_registerTablePropertiesAttributes'](){const _0x48f787=this['editor']['plugins']['get']('TrackChangesEditing'),_0x3be93b=[...this['tableProperties'],...this['tableCellProperties']];for(const _0x1fde9c of _0x3be93b){const _0x49f017=_0x1fde9c['replace'](/([A-Z])/g,'_$1')['toUpperCase']();_0x48f787['descriptionFactory']['registerAttributeLabel'](_0x1fde9c,_0x45b6d4(this['editor']['locale'],'FORMAT_'+_0x49f017));}}},_0x27259d=class extends _0x14e616['Plugin']{['afterInit'](){const _0x3d7fd1=this['editor'];if(!_0x3d7fd1['plugins']['has']('LineHeight'))return;const _0x40b775=_0x3d7fd1['plugins']['get']('TrackChangesEditing'),_0x5ca9a7=_0x3d7fd1['locale'];_0x40b775['enableDefaultAttributesIntegration']('lineHeight'),_0x40b775['descriptionFactory']['registerAttributeLabel']('lineHeight',_0x45b6d4(_0x5ca9a7,'FORMAT_LINE_HEIGHT'));}};const _0x1ad885='$elementName';var _0x126dd6=class extends _0x14e616['Plugin']{['descriptionFactory'];['trackChangesCommand'];['_adapter'];['_suggestionFactory'];['_suggestions'];['_commentsRepository'];['_suggestionsConversion'];['_enabledCommands'];['_model'];['_suggestionState'];['_isForcedDefaultExecutionBlock'];['_trackFormatChanges'];['_mergeNestedSuggestions'];['_recordAttributeSuggestions']=!0x1;['_trackingSessionId']=null;static get['requires'](){return[_0xc5d2f4,_0x44c64b,_0x17484f,_0x14e616['PendingActions'],_0x4abd7b,_0x1e3733,_0x3024a5,_0x497741,_0x1fdc3a,_0x5a9c2e,_0x265576,_0x314f39,_0x1d304f,_0x4492e4,_0xa985a2,_0x25fa8d,_0x1243c7,_0x277847,_0x6b86e8,_0xd3c0a4,_0x21528c,_0x13ea6e,_0x27eca8,_0x45e669,_0x3b0930,_0x33b37b,_0x3bf3a4,_0xf7fe63,_0x3d60e8,_0x2d8076,_0x3e1304,_0x3aa641,_0x42690f,_0x24bd87,tS,_0xbf9fcb,_0x2802f9,_0xa0e3ab,_0x291369,_0x27259d,_0x13dac3,_0x3af8d0,_0x18dece,_0x23eb16,_0x252f77,_0x2c11ed,_0x497aba,_0x6873e8,_0x94b83b,_0x33097c,_0x50d11a,_0x526613,_0xf05fa9,_0x562b69,_0x297a39,_0x14bd3d,_0x54f892,_0x451006,_0x203da5,_0x286957,_0x363922,_0x170967,_0x1806b5,_0x193e5d,_0x2ac69e,_0x54d169,_0x4671c9];}static get['pluginName'](){return'TrackChangesEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x2abf53){super(_0x2abf53),this['set']('activeMarkers',[]),this['on']('change:activeMarkers',(_0x316f30,_0x15fb30,_0x3f2ada,_0x29c7dc)=>{this['_model']['change'](()=>{for(const _0x12b564 of[..._0x29c7dc,..._0x3f2ada])this['_model']['markers']['has'](_0x12b564)&&_0x2abf53['editing']['reconvertMarker'](_0x12b564);});}),this['descriptionFactory']=new _0x49e864(this['editor']['model']['schema'],this['editor']['locale']),this['_adapter']=null,this['_suggestionFactory']=new _0x1897a0(this['editor']),this['_suggestions']=new Map(),this['_commentsRepository']=_0x2abf53['plugins']['get'](_0xc5d2f4),this['_suggestionsConversion']=_0x2abf53['plugins']['get'](_0x44c64b),this['_enabledCommands']=new Set(),this['_model']=this['editor']['model'],this['_suggestionState']=new WeakMap(),this['_isForcedDefaultExecutionBlock']=!0x1,_0x2abf53['config']['define']('trackChanges.trackFormatChanges','default'),this['_trackFormatChanges']=_0x2abf53['config']['get']('trackChanges.trackFormatChanges'),_0x2abf53['config']['define']('trackChanges.mergeNestedSuggestions',!0x0),this['_mergeNestedSuggestions']=_0x2abf53['config']['get']('trackChanges.mergeNestedSuggestions'),this['trackChangesCommand']=new _0x47b939(_0x2abf53,this['_enabledCommands']),this['_initAriaMarkerChangeAnnouncements']();}['init'](){const _0x435002=this['editor'];_0x435002['conversion']['for']('upcast')['elementToElement']({'view':{'name':'suggestion','attributes':{'id':/^\w/,'suggestion-type':/^\w/}},'model':(_0x51e1b7,{writer:_0x4c6931})=>{let _0x5080b6='suggestion:'+_0x51e1b7['getAttribute']('suggestion-type')+':'+_0x51e1b7['getAttribute']('id');return _0x51e1b7['getAttribute']('marker-count')&&(_0x5080b6+=':'+_0x51e1b7['getAttribute']('marker-count')),_0x4c6931['createElement']('$marker',{'data-name':_0x5080b6});}}),_0x435002['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion'}),_0x435002['model']['document']['registerPostFixer'](_0x5080e7=>{let _0x1cc092=!0x1;const _0x23302e=Array['from'](_0x435002['model']['document']['differ']['getChangedMarkers']()),_0x142651=new Set();for(const {name:_0x2f1b20,data:_0x2769e0}of _0x23302e){const {group:_0x214ac7,type:_0x17f7c4,subType:_0x406b99,id:_0x4c0fae}=_0x567555(_0x2f1b20);if('suggestion'!==_0x214ac7)continue;const _0x50b33d=_0x406b99?'suggestion:'+_0x17f7c4+':'+_0x406b99+':'+_0x4c0fae:'suggestion:'+_0x17f7c4+':'+_0x4c0fae,_0xedcc78=_0x435002['model']['markers']['getMarkersGroup'](_0x50b33d),_0x192a62=_0x435002['model']['markers']['get'](_0x2f1b20),_0x478d12=this['_suggestions']['get'](_0x4c0fae);if(null!=_0x2769e0['newRange']){'formatInline'==_0x17f7c4&&(_0x1cc092=_0x1cc092||_0x2eebe7(_0x2769e0['newRange'],_0x2f1b20,_0x5080e7,_0x435002['model']['schema']));const _0x2e8145='attribute'==_0x17f7c4&&this['_suggestionsConversion']['isBlockAttribute'](tI(_0x406b99)),_0x4d97a1='attribute'==_0x17f7c4&&this['_suggestionsConversion']['isInlineAttribute'](tI(_0x406b99));if(_0x2769e0['newRange']['isCollapsed']||'$graveyard'==_0x2769e0['newRange']['root']['rootName']||'formatBlock'==_0x17f7c4&&!_0x41704c(_0x2769e0['newRange'])||_0x2e8145&&!_0x41704c(_0x2769e0['newRange'])||_0x4d97a1&&_0x144309(_0x2769e0['newRange'])||'deletion'==_0x17f7c4&&_0x144309(_0x2769e0['newRange'])||_0x192a62&&_0xadfd85(_0x192a62,_0xedcc78))_0x5080e7['removeMarker'](_0x2f1b20),_0x1cc092=!0x0;else{if(!_0x478d12||!_0x478d12['isInContent'])continue;if(_0x2769e0['newRange']&&_0x2769e0['oldRange']&&_0x2769e0['newRange']['isEqual'](_0x2769e0['oldRange']))continue;_0x142651['add'](_0x478d12);}}}return _0x142651['size']>0x0&&(_0x1cc092=!!this['_joinWithAdjacentSuggestions'](_0x142651)||_0x1cc092),_0x1cc092;}),_0x435002['model']['document']['registerPostFixer'](_0x353dd3=>{let _0x3c968d=!0x1;for(const _0x637b6 of _0x435002['model']['document']['differ']['getChanges']())if('insert'==_0x637b6['type'])for(const _0x1e1599 of this['_suggestions']['values']()){if(_0x1e1599['isMultiRange']||!_0x1e1599['isInContent'])continue;const _0x2bb049='formatBlock'==_0x1e1599['type'],_0x22af40=this['_getAttributeKey'](_0x1e1599),_0x59f763=_0x22af40&&this['_suggestionsConversion']['isBlockAttribute'](_0x22af40);if(!_0x2bb049&&!_0x59f763)continue;const _0x2a4c0f=_0x1e1599['getFirstRange']();if(_0x2a4c0f['start']['parent']!=_0x2a4c0f['end']['parent']&&!_0x2a4c0f['end']['isAtEnd']){const _0x314b5b=_0x435002['model']['createPositionAt'](_0x2a4c0f['start']['nodeAfter'],'end'),_0x4b8bff=_0x435002['model']['createRange'](_0x2a4c0f['start'],_0x314b5b);_0x353dd3['updateMarker'](_0x1e1599['getFirstMarker'](),{'range':_0x4b8bff}),_0x3c968d=!0x0;}}return _0x3c968d;}),_0x435002['model']['document']['registerPostFixer'](_0x59426a=>this['_processAttributeChanges'](_0x59426a)),_0x435002['model']['document']['registerPostFixer'](_0x38c2cb=>!_0x38c2cb['batch']['isLocal']&&this['_processAttributeSuggestions'](_0x38c2cb)),_0x435002['model']['on']('_afterChanges',()=>{this['_recordAttributeSuggestions']=!0x1;}),_0x435002['model']['document']['on']('change:data',(_0x5be2bc,_0x143dd0)=>{if(!_0x143dd0['isLocal']||_0x143dd0['isUndo'])return;if(!this['_recordAttributeSuggestions'])return;const _0x224c10=_0x435002['model']['document']['differ']['getChanges']();if(0x0==_0x224c10['length'])return;const _0x41bddb=[],_0x384a7=_0x224c10['filter'](_0x163f7d=>'attribute'==_0x163f7d['type']),_0x14f401=_0x224c10['filter'](_0x223463=>'insert'==_0x223463['type']&&'$text'!=_0x223463['name']);for(const _0x1c4f9a of _0x384a7)this['_suggestionsConversion']['isRegisteredAttribute'](_0x1c4f9a['attributeKey'])&&_0x41bddb['push']({'key':_0x1c4f9a['attributeKey'],'newValue':_0x1c4f9a['attributeNewValue'],'oldValue':_0x1c4f9a['attributeOldValue'],'range':_0x215718(_0x1c4f9a['range'],_0x435002['model'])});for(const _0x223842 of _0x14f401){if('rename'!=_0x223842['action']&&'refresh'!=_0x223842['action'])continue;const _0x38b8b3=_0x43ef68(_0x223842['position']['nodeAfter'],_0x435002['model']),_0x574fcb=_0x223842['before'];'rename'==_0x223842['action']&&_0x41bddb['push']({'key':_0x1ad885,'newValue':_0x223842['name'],'oldValue':_0x574fcb['name'],'range':_0x38b8b3});for(const [_0x5de0e9,_0x51a95c]of _0x574fcb['attributes']){if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x5de0e9))continue;const _0x339a51=_0x223842['attributes']['get'](_0x5de0e9);_0x51a95c!==_0x339a51&&_0x41bddb['push']({'key':_0x5de0e9,'newValue':_0x339a51,'oldValue':_0x51a95c,'range':_0x38b8b3});}for(const [_0x45485d,_0x5d6a88]of _0x223842['attributes'])this['_suggestionsConversion']['isRegisteredAttribute'](_0x45485d)&&(_0x574fcb['attributes']['has'](_0x45485d)||_0x41bddb['push']({'key':_0x45485d,'newValue':_0x5d6a88,'oldValue':null,'range':_0x38b8b3}));}0x0!=_0x41bddb['length']&&_0x435002['model']['enqueueChange'](_0x143dd0,_0x509503=>{const _0x49c427=(0x0,_0x14e616['uid'])();for(const {range:_0x1f50e6,key:_0x9e1f32,oldValue:_0x41a93b,newValue:_0x12fb09}of _0x41bddb)this['markAttributeChange'](_0x1f50e6,_0x9e1f32,_0x41a93b,_0x12fb09,{'groupId':_0x49c427});this['_reduceExistingSuggestions'](_0x509503,_0x41bddb);});},{'priority':'lowest'}),_0x435002['model']['markers']['on']('update:suggestion',(_0x3851e8,_0x4c565d,_0x5d3b6f)=>{if(null==_0x5d3b6f){const {id:_0x4f4466}=_0x567555(_0x4c565d['name']),_0x59a9a2=this['_suggestions']['get'](_0x4f4466);_0x59a9a2&&_0x59a9a2['addMarkerName'](_0x4c565d['name']);}}),_0x435002['model']['document']['on']('change:data',()=>{const _0x35d428=Array['from'](_0x435002['model']['document']['differ']['getChangedMarkers']())['filter'](_0x34e3ce=>'suggestion'===_0x567555(_0x34e3ce['name'])['group']);if(0x0===_0x35d428['length'])return;_0x35d428['sort']((_0x1c1630,_0x20ef35)=>{const _0x461caa=_0x1c1630['data']['oldRange'],_0x12893c=_0x20ef35['data']['oldRange'];return null===_0x461caa&&null===_0x12893c?0x0:null===_0x461caa&&null!==_0x12893c?-0x1:null!==_0x461caa&&null===_0x12893c?0x1:_0x461caa['start']['isBefore'](_0x12893c['start'])?-0x1:0x1;});const _0xe845f1=new Set(),_0x202fbe=new Set();for(const {name:_0x2a18f4,data:_0x2152c6}of _0x35d428){const {id:_0x1c982e}=_0x567555(_0x2a18f4);if(null===_0x2152c6['oldRange']){const _0x49f229=this['_handleNewSuggestionMarker'](_0x2a18f4);_0x202fbe['add'](_0x49f229);}else{const _0x135fab=this['_suggestions']['get'](_0x1c982e);null!==_0x2152c6['newRange']||_0x135fab['isInContent']?(_0xe845f1['add'](_0x135fab['head']),_0x202fbe['add'](_0x135fab)):this['_removeSuggestion'](_0x135fab);}}_0x202fbe['size']>0x0&&this['_refreshSuggestionsChain'](_0x202fbe);for(const _0x51ee8c of _0xe845f1)this['fire']('suggestionChanged',_0x51ee8c);}),_0x435002['model']['on']('applyOperation',(_0x4dd54c,_0x2485a5)=>{const _0x3712c7=_0x2485a5[0x0];if(!this['_suggestions']['size'])return;if(!_0x3712c7['isDocumentOperation'])return;if(_0x3712c7['batch']['isUndo']||!_0x3712c7['batch']['isLocal'])return;let _0x117a4f,_0x12fd4e;switch(_0x3712c7['type']){case'insert':_0x117a4f=_0x435002['model']['createPositionAt'](_0x3712c7['position']),_0x12fd4e=_0x117a4f['getShiftedBy'](_0x3712c7['howMany']);break;case'split':_0x117a4f=_0x435002['model']['createPositionAt'](_0x3712c7['splitPosition']),_0x12fd4e=_0x435002['model']['createPositionAt'](_0x3712c7['moveTargetPosition']);break;case'move':_0x117a4f=_0x435002['model']['createPositionAt'](_0x3712c7['targetPosition']),_0x12fd4e=_0x117a4f['getShiftedBy'](_0x3712c7['howMany']);break;default:return;}const _0x2a76ee=_0x435002['model']['createRange'](_0x117a4f,_0x12fd4e);_0x435002['model']['change'](()=>{for(const {suggestion:_0x29f2a6,meta:_0x523a22}of this['_findSuggestions'](_0x2a76ee)){if(_0x29f2a6['isMultiRange'])continue;if('formatInline'==_0x29f2a6['type'])continue;const _0xd58b82=this['_getAttributeKey'](_0x29f2a6);if(_0xd58b82&&this['_suggestionsConversion']['isBlockAttribute'](_0xd58b82)&&'split'!=_0x3712c7['type'])continue;const _0x28d4bb=_0x29f2a6['data']&&_0x29f2a6['data']['multipleBlocks'];('formatBlock'!=_0x29f2a6['type']||'split'==_0x3712c7['type']&&!_0x28d4bb)&&(_0x523a22['containsRangeInObject']||'insertion'==_0x29f2a6['type']&&_0x523a22['isOwn']||_0x29f2a6['getFirstRange']()['containsRange'](_0x2a76ee)&&this['_breakSuggestionMarker'](_0x29f2a6,_0x117a4f,_0x12fd4e));}});},{'priority':'lowest'}),_0x435002['model']['on']('deleteContent',(_0x1bfd37,_0x412806)=>{const _0x21c5ac=_0x412806[0x0],_0x5a2851=_0x412806[0x1];if(_0x5a2851&&_0x5a2851['forceDefaultExecution'])return;if(this['_isForcedDefaultExecutionBlock'])return;if(!this['trackChangesCommand']['value'])return;if(_0x21c5ac['isCollapsed'])return;const _0x35dfd8=_0x435002['model']['schema'],{start:_0x2246b0,end:_0x17f954}=_0x21c5ac['getFirstRange'](),_0x38924b=_0x2246b0['nodeAfter']&&_0x35dfd8['isLimit'](_0x2246b0['nodeAfter'])?null:_0x35dfd8['getNearestSelectionRange'](_0x2246b0,'forward'),_0x5d72fb=_0x17f954['nodeBefore']&&_0x35dfd8['isLimit'](_0x17f954['nodeBefore'])?null:_0x35dfd8['getNearestSelectionRange'](_0x17f954,'backward'),_0x1b6b1d=_0x435002['model']['createRange'](_0x38924b?_0x38924b['start']:_0x2246b0,_0x5d72fb?_0x5d72fb['end']:_0x17f954);_0x435002['model']['change'](_0xb39f2f=>{this['markDeletion'](_0x1b6b1d);const _0x2c14fb=_0x435002['model']['schema']['getNearestSelectionRange'](_0x1b6b1d['start']);_0x21c5ac['is']('documentSelection')?_0xb39f2f['setSelection'](_0x2c14fb):_0x21c5ac['setTo'](_0x2c14fb);}),_0x1bfd37['stop']();},{'priority':_0x14e616['priorities']['normal']+0xa}),_0x435002['model']['on']('insertContent',(_0x5aa85c,_0x59b71b)=>{const _0xa04c0=_0x59b71b[_0x59b71b['length']-0x1];_0xa04c0&&_0xa04c0['forceDefaultExecution']||this['_isForcedDefaultExecutionBlock']||this['trackChangesCommand']['value']&&(_0x435002['model']['change'](()=>{let _0xc206d7=_0x435002['model']['insertContent'](_0x59b71b[0x0],_0x59b71b[0x1],_0x59b71b[0x2],{'forceDefaultExecution':!0x0});if(!_0xc206d7)return;_0x5aa85c['return']=_0xc206d7['clone']();const _0x39aabe=_0xc206d7['end']['nodeBefore'],_0x479a9a=_0x435002['model']['schema'];_0x39aabe&&_0x479a9a['isBlock'](_0x39aabe)&&!_0x479a9a['isObject'](_0x39aabe)&&(_0xc206d7=_0x435002['model']['createRange'](_0xc206d7['start'],_0x435002['model']['createPositionAt'](_0x39aabe,'end'))),this['markInsertion'](_0xc206d7);}),_0x5aa85c['stop']());},{'priority':'high'}),this['editor']['commands']['add']('trackChanges',this['trackChangesCommand']),this['enableCommand']('trackChanges');const _0x16c489=new tA(_0x435002,this['_suggestions']);_0x435002['commands']['add']('acceptSuggestion',_0x16c489),this['enableCommand']('acceptSuggestion');const _0x2bb0d8=new _0x2cacd5(_0x435002,this['_suggestions']);_0x435002['commands']['add']('discardSuggestion',_0x2bb0d8),this['enableCommand']('discardSuggestion'),_0x435002['commands']['add']('acceptAllSuggestions',new _0x2e13e8(_0x435002,_0x16c489,this['_suggestions'])),this['enableCommand']('acceptAllSuggestions'),_0x435002['commands']['add']('discardAllSuggestions',new _0x2e13e8(_0x435002,_0x2bb0d8,this['_suggestions'])),this['enableCommand']('discardAllSuggestions'),_0x435002['commands']['add']('acceptSelectedSuggestions',new _0x5eb442(_0x435002,_0x16c489,this['_suggestions'])),this['enableCommand']('acceptSelectedSuggestions'),_0x435002['commands']['add']('discardSelectedSuggestions',new _0x5eb442(_0x435002,_0x2bb0d8,this['_suggestions'])),this['enableCommand']('discardSelectedSuggestions');const _0x2eb92a=_0x435002['plugins']['get'](_0xc5d2f4);this['listenTo'](_0x2eb92a,'addComment',(_0x152928,{threadId:_0x3dde10})=>{const _0x5da08c=this['_suggestions']['get'](_0x3dde10);_0x5da08c&&_0x5da08c['commentThread']&&0x1===_0x5da08c['commentThread']['length']&&this['_updateSuggestionData'](_0x3dde10,{'hasComments':!0x0});},{'priority':'low'}),this['listenTo'](_0x2eb92a,'removeComment',(_0x34353b,{threadId:_0x1d591d})=>{const _0x5f293a=this['_suggestions']['get'](_0x1d591d);_0x5f293a&&_0x5f293a['commentThread']&&!_0x5f293a['commentThread']['length']&&this['_updateSuggestionData'](_0x1d591d,{'hasComments':!0x1});},{'priority':'low'});}['afterInit'](){!async function(_0xc3a765){const _0x1e4fa6='RBcXdGf567mNjK9DTpP0Iyi3gea8ZvzlE4bFuWrwsH1hnOSLqkY2MQJxoVAUtC',_0x3a733c=0x78fc0,_0xd23cfd=window['Date']['now'](),_0x438e16=_0xc3a765['editor'],_0x29e966=new window['Promise'](_0x21539a=>{_0x438e16['once']('ready',_0x21539a);}),_0x1a7ecb={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x46c93a=_0x438e16['config']['get']('licenseKey');async function _0x1766b5(){let _0x3235b5,_0x14fba1=null,_0x389ace=null;try{return'GPL'==_0x46c93a?'NotAllowed':(_0x3235b5=_0x24a86b(),_0x3235b5?(_0x3235b5['usageEndpoint']&&(_0x389ace=_0x43415b(_0x3235b5['usageEndpoint'],_0x3235b5['jti'])),await _0x41ce17()?_0x1b61aa()?_0x4d6c7()?'Expired':_0x5e809a()?('evaluation'==_0x3235b5['licenseType']&&(_0x14fba1=_0x137fcb('EvaluationLimit')),await _0x30817b()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x4d6c7(){const _0x1bada9=['evaluation','trial']['includes'](_0x3235b5['licenseType'])?_0xd23cfd/0x3e8:0xe10*_0x3a733c;return _0x3235b5['exp']<_0x1bada9;}function _0x1b61aa(){const _0x5ad83a=_0x3235b5['features'];if(!_0x5ad83a)return!0x1;if(_0x5ad83a['includes']('*'))return!0x0;if(_0x5ad83a['includes']('TC'))return!0x0;if(_0x5ad83a['includes']('RTC')){if(_0x25c0b9())return!0x0;if(_0x120c74()||_0x5ed308())return!0x0;}return!0x1;}function _0x5e809a(){const _0x6a0a75=_0x3235b5['licensedHosts'];if(!_0x6a0a75||0x0==_0x6a0a75['length'])return!0x0;const {hostname:_0x589d43}=new URL(window['location']['href']);if(_0x6a0a75['includes'](_0x589d43))return!0x0;const _0x1baf7f=_0x589d43['split']('.');return _0x6a0a75['filter'](_0x2f20db=>_0x2f20db['includes']('*'))['map'](_0x173e7d=>_0x173e7d['split']('.'))['filter'](_0x514c8c=>_0x514c8c['length']<=_0x1baf7f['length'])['map'](_0x2a612c=>Array(_0x1baf7f['length']-_0x2a612c['length'])['fill']('*'===_0x2a612c[0x0]?'*':'')['concat'](_0x2a612c))['some'](_0x184753=>_0x1baf7f['every']((_0x30b7d9,_0x523886)=>_0x184753[_0x523886]===_0x30b7d9||'*'===_0x184753[_0x523886]));}function _0x30817b(){return _0x14fba1&&_0x389ace?new window['Promise']((_0x51b556,_0xaa83ce)=>{_0x14fba1['then'](_0x51b556,_0xaa83ce),_0x389ace['then'](_0x7ff105=>{'Valid'!=_0x7ff105&&_0x51b556(_0x7ff105);},_0xaa83ce);}):_0x14fba1||_0x389ace||'Valid';}}function _0x43415b(_0x4b28c8,_0x1928f4){return new window['Promise'](_0x28a4ff=>{if(_0x5aae58())return _0x28a4ff('Valid');_0x2bc9b8(),_0x438e16['decorate']('_sendUsageRequest');let _0x18fa4d=!0x1;const _0xcc7bbb=(0x0,_0x14e616['uid'])();function _0x3f8beb(_0x466059){return!!_0x466059&&('object'==typeof _0x466059||'function'==typeof _0x466059)&&'function'==typeof _0x466059['then']&&'function'==typeof _0x466059['catch'];}function _0x1cbdc8(_0x43c11b){_0x100169(_0x43c11b)['then'](_0x3366e2=>_0x3366e2&&'ok'==_0x3366e2['status']?_0x3e8c37(_0x76707c(_0xcc7bbb+_0x1928f4))!=_0x3366e2['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x557752=>(_0x1eb83e(),_0x557752),()=>{const _0x3d5355=_0x20f0fd();return null==_0x3d5355?(_0x1eb83e(),'Valid'):_0xd23cfd-_0x3d5355>0x240c8400?'UsageLimit':'Valid';})['then'](_0x28a4ff)['catch'](()=>{_0x28a4ff('UsageLimit');});const _0x3b6bf4=0x36ee80;function _0x1eb83e(){const _0x1ba8fc='llct-'+_0x3e8c37(_0x76707c(_0x4b28c8)),_0x1193a4=_0x9d756d(_0x3e8c37(window['Math']['ceil'](_0xd23cfd/_0x3b6bf4)));window['localStorage']['setItem'](_0x1ba8fc,_0x1193a4);}function _0x20f0fd(){const _0x346509='llct-'+_0x3e8c37(_0x76707c(_0x4b28c8)),_0x42fe43=window['localStorage']['getItem'](_0x346509);return _0x42fe43?window['parseInt'](_0x9d756d(_0x42fe43),0x10)*_0x3b6bf4:null;}function _0x100169(_0x1cbfec){return new window['Promise']((_0x39775a,_0x26f106)=>{_0x1cbfec['then'](_0x39775a,_0x26f106),window['setTimeout'](_0x26f106,0x1d4c0);});}}_0x438e16['on']('_sendUsageRequest',(_0xd2ff01,_0x5aa3e6)=>{if(_0x5aa3e6[0x0]!=_0x4b28c8)return _0x28a4ff('UsageLimit');_0x5aa3e6[0x1]={..._0x5aa3e6[0x1],'requestId':_0xcc7bbb};},{'priority':'high'}),_0x438e16['on']('_sendUsageRequest',_0x515cb0=>{_0x3f8beb(_0x515cb0['return'])&&(_0x18fa4d=!0x0,_0x1cbdc8(_0x515cb0['return']));},{'priority':'low'}),_0x29e966['then'](()=>{_0x18fa4d||_0x28a4ff('UsageLimit');});});function _0x5aae58(){return'auto'==_0x438e16['editing']['view']['_overlayModeHint'];}function _0x2bc9b8(){_0x438e16['editing']['view']['_overlayModeHint']='auto';}}function _0x137fcb(_0x46871e){const _0x3e171e=[new window['Promise'](_0x189e2c=>setTimeout(_0x189e2c,0x93ecc)),_0x29e966['then'](()=>new window['Promise'](_0x4104a9=>{let _0x2844d4=0x0;_0x438e16['model']['on']('applyOperation',(_0x21fc98,_0x288d2d)=>{_0x288d2d[0x0]['isDocumentOperation']&&_0x2844d4++,0x5e8==_0x2844d4&&(_0x4104a9(),_0x21fc98['off']());});}))];return window['Promise']['race'](_0x3e171e)['then'](()=>_0x46871e);}async function _0x462b06(){await _0x29e966,_0x438e16['model']['change']=_0x536a36,_0x438e16['model']['enqueueChange']=_0x536a36,_0x438e16['enableReadOnlyMode']('model');}function _0x25c0b9(){return _0x3d45d2('WebSocketGateway')&&'connected'==_0x43b7e3('WebSocketGateway')['state'];}function _0x120c74(){return _0x3d45d2('RevisionViewerIntegration');}function _0x5ed308(){return _0x3d45d2('TrackChangesDataGetter');}function _0x148fd5(_0x72383e){const _0x3b1b58=_0x4ca480();_0x438e16[_0x3b1b58]='trackChangesLicenseKey'+_0x72383e,'Valid'!=_0x72383e&&_0x462b06();}function _0x4ca480(){const _0x1f91e5=window['String'](window['performance']['now']())['replace']('.','');let _0x1cb59b='R';for(let _0x2b6428=0x0;_0x2b6428<_0x1f91e5['length'];_0x2b6428+=0x2){let _0x4d90f8=window['parseInt'](_0x1f91e5['substring'](_0x2b6428,_0x2b6428+0x2));_0x4d90f8>=0x3e&&(_0x4d90f8-=0x3e),_0x1cb59b+=_0x1e4fa6[_0x4d90f8];}return _0x1cb59b;}function _0x24a86b(){const _0x466036=_0x46c93a['split']('.');if(0x3!=_0x466036['length'])return null;return _0x1dc28b(_0x466036[0x1]);function _0x1dc28b(_0x175408){const _0x9edeff=_0x58f2ac(_0x175408);return _0x9edeff&&_0x1c6907()?_0x9edeff:null;function _0x1c6907(){const _0x12710c=_0x9edeff['jti'],_0x42fe77=window['parseInt'](_0x12710c['substring'](_0x12710c['length']-0x8),0x10),_0x345edc={..._0x9edeff,'jti':_0x12710c['substring'](0x0,_0x12710c['length']-0x8)};return delete _0x345edc['vc'],_0x76707c(_0x345edc)==_0x42fe77;}}}async function _0x41ce17(){let _0x1ea5b5=!0x0;try{const [_0x2174ca,_0x8d8ba9,_0xea4737]=_0x46c93a['split']('.');return _0x485f65(_0x2174ca),await _0x5d4ce9(_0x2174ca,_0x8d8ba9,_0xea4737),_0x1ea5b5;}catch{return!0x1;}function _0x485f65(_0x26813f){const _0x21e637=_0x58f2ac(_0x26813f);_0x21e637&&'ES256'==_0x21e637['alg']||(_0x1ea5b5=!0x1);}async function _0x5d4ce9(_0x3432b2,_0x950f32,_0x57f752){const _0x2ed936=window['Uint8Array']['from'](_0x4609bb(_0x57f752),_0x417177=>_0x417177['charCodeAt'](0x0)),_0x29a78b=new window['TextEncoder']()['encode'](_0x3432b2+'.'+_0x950f32),_0x37f832=window['crypto']['subtle'];if(!_0x37f832)return;const _0x52d7bf=await _0x37f832['importKey']('jwk',_0x1a7ecb,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x37f832['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x52d7bf,_0x2ed936,_0x29a78b)||(_0x1ea5b5=!0x1);}}function _0x58f2ac(_0x3da13a){return _0x3da13a['startsWith']('ey')?JSON['parse'](_0x4609bb(_0x3da13a)):null;}function _0x4609bb(_0x2850a4){return window['atob'](_0x2850a4['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x76707c(_0x1306ae){let _0x47173e=0x1505;function _0x510ce8(_0x42442b){for(let _0x1371c=0x0;_0x1371c<_0x42442b['length'];_0x1371c++){const _0x76fed7=_0x42442b['charCodeAt'](_0x1371c);_0x47173e=(_0x47173e<<0x5)+_0x47173e+_0x76fed7,_0x47173e&=_0x47173e;}}function _0x48421f(_0x126518){Array['isArray'](_0x126518)?_0x126518['forEach'](_0x48421f):_0x126518&&'object'==typeof _0x126518?Object['entries'](_0x126518)['sort']()['forEach'](([_0x7f2fdb,_0x30e752])=>{_0x510ce8(_0x7f2fdb),_0x48421f(_0x30e752);}):_0x510ce8(window['String'](_0x126518));}return _0x48421f(_0x1306ae),_0x47173e>>>0x0;}function _0x3e8c37(_0x3d8e03){return _0x3d8e03['toString'](0x10)['padStart'](0x8,'0');}function _0x9d756d(_0x1d6426){return _0x1d6426['split']('')['reverse']()['join']('');}function _0x3d45d2(_0x3212c4){return _0x438e16['plugins']['has'](_0x3212c4);}function _0x43b7e3(_0x11ae5a){return _0x438e16['plugins']['get'](_0x11ae5a);}function _0x536a36(){}_0x148fd5(await _0x1766b5());}(this);}set['adapter'](_0x182082){if(this['_adapter'])throw new _0x14e616['CKEditorError']('track-changes-adapter-already-set',this);this['_adapter']=_0x182082;}get['adapter'](){return this['_adapter'];}['getSuggestions']({skipNotAttached:_0x357e14=!0x1,toJSON:_0x53be07=!0x1}={}){const _0x1f08e0=[];for(const _0x26d491 of this['_suggestions']['values']())_0x357e14&&!_0x26d491['isInContent']||_0x1f08e0['push'](_0x26d491);return _0x53be07?_0x1f08e0['map'](_0x29c4f3=>_0x29c4f3['toJSON']()):_0x1f08e0;}['getSuggestion'](_0x1b1fbd){const _0x2f5919=this['_suggestions']['get'](_0x1b1fbd);if(!_0x2f5919)throw new _0x14e616['CKEditorError']('track-changes-suggestion-not-found',this);return _0x2f5919;}['hasSuggestion'](_0x157f08){return this['_suggestions']['has'](_0x157f08);}['addSuggestionData'](_0x51d579){const {authorId:_0x134eac,id:_0x40ca40,originalSuggestionId:_0x287d98,attributes:_0x35a6ba}=_0x51d579,[_0x593411,_0xb2c512]=_0x51d579['type']['split'](':'),_0x29f4eb=this['_suggestions']['get'](_0x40ca40)||this['_createSuggestion'](_0x593411,_0xb2c512,_0x40ca40,_0x134eac,_0x35a6ba,_0x287d98);if(this['_addThreadToSuggestion'](_0x29f4eb),this['_checkSuggestionCorrectness'](_0x29f4eb,_0x593411,_0xb2c512||null,_0x134eac),_0x29f4eb['createdAt']=_0x51d579['createdAt'],_0x29f4eb['_isDataLoaded']=!0x0,_0x35a6ba&&_0x35a6ba['@external']){const _0x3462c1=_0x35a6ba['@external'],_0x1c8de6=this['_getExternalAuthor'](_0x3462c1['authorName']);_0x29f4eb['authoredAt']=_0x3462c1['createdAt'],_0x29f4eb['author']=_0x1c8de6;}else _0x29f4eb['authoredAt']=_0x51d579['createdAt'];switch(_0x51d579['data']&&(_0x29f4eb['data']=_0x51d579['data']),_0x51d579['attributes']&&(_0x29f4eb['attributes']=_0x51d579['attributes']),this['_adapter']&&this['_adapter']['addSuggestion']||(_0x29f4eb['_saved']=!0x0),this['_suggestionState']['get'](_0x29f4eb)){case'notReady':this['_suggestionState']['set'](_0x29f4eb,'dataReady');break;case'markerReady':_0x29f4eb['isInContent']?(this['_joinWithAdjacentSuggestions'](new Set([_0x29f4eb])),this['_refreshSuggestionsChain'](new Set([_0x29f4eb])),this['_suggestionState']['set'](_0x29f4eb,'ready'),this['fire']('suggestionLoaded',_0x29f4eb)):this['_suggestionState']['set'](_0x29f4eb,'removed');}return _0x29f4eb;}['acceptSuggestion'](_0x1eb8c9){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x299de2 of _0x1eb8c9['getAllAdjacentSuggestions']())_0x299de2['accept']();});});}['discardSuggestion'](_0x2d0c4f){this['forceDefaultExecution'](()=>{this['editor']['model']['change'](()=>{for(const _0x54de79 of _0x2d0c4f['getAllAdjacentSuggestions']())_0x54de79['discard']();});});}['enableCommand'](_0x568dae,_0x82a342){const _0x4cdb0d=this['editor']['commands']['get'](_0x568dae);if(!_0x4cdb0d)throw new _0x14e616['CKEditorError']('track-changes-command-not-found',this,{'commandName':_0x568dae});if(this['_enabledCommands']['has'](_0x4cdb0d))throw new _0x14e616['CKEditorError']('track-changes-enable-command-twice',this,{'commandName':_0x568dae});this['_enabledCommands']['add'](_0x4cdb0d),_0x82a342&&_0x4cdb0d['on']('execute',(_0x2eb704,_0x3138a6)=>{this['trackChangesCommand']['value']&&(this['_isForcedDefaultExecutionBlock']||(_0x3138a6['length']>0x0&&_0x3138a6[_0x3138a6['length']-0x1]&&_0x3138a6[_0x3138a6['length']-0x1]['forceDefaultExecution']?_0x3138a6['pop']():(_0x2eb704['return']=_0x82a342((..._0x4a12d4)=>_0x4cdb0d['execute'](..._0x4a12d4,{'forceDefaultExecution':!0x0}),..._0x3138a6),_0x2eb704['stop']())));},{'priority':'high'});}['forceDefaultExecution'](_0x3c2685){let _0x59f215,_0x5ab046;const _0x50c430=this['_isForcedDefaultExecutionBlock'];this['_isForcedDefaultExecutionBlock']=!0x0;try{_0x59f215=_0x3c2685();}catch(_0x2f03fb){_0x5ab046=_0x2f03fb;}return _0x50c430||(this['_isForcedDefaultExecutionBlock']=!0x1),_0x5ab046&&_0x14e616['CKEditorError']['rethrowUnexpectedError'](_0x5ab046,this),_0x59f215;}['markInsertion'](_0x16a3a6,_0x4ab444=null,_0x44fde2={}){if(_0x16a3a6['isCollapsed'])return null;const _0x5c364d=this['editor']['plugins']['get']('Users')['me'];this['_trackingSessionId']&&(_0x44fde2['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x350af,meta:_0x294412}of this['_findSuggestions'](_0x16a3a6,'insertion'))if(_0x294412['isOwn']){if(!_0x294412['isNextTo']){if(_0x294412['containsRangeInObject']){if(!this['_mergeNestedSuggestions']||!_0x4ad55f(_0x350af,_0x44fde2))continue;return _0x350af;}if(_0x4ad55f(_0x350af,_0x44fde2))return _0x350af;this['_breakSuggestionMarker'](_0x350af,_0x16a3a6['start'],_0x16a3a6['end']);break;}if(_0x4ab444==_0x350af['subType']&&_0x4ad55f(_0x350af,_0x44fde2)){const _0x40e6df=_0x350af['getFirstRange']();return _0x40e6df['start']['isEqual'](_0x16a3a6['end'])?this['_setSuggestionRange'](_0x350af,this['_model']['createRange'](_0x16a3a6['start'],_0x40e6df['end'])):this['_setSuggestionRange'](_0x350af,this['_model']['createRange'](_0x40e6df['start'],_0x16a3a6['end'])),_0x350af;}}const _0x42bd65=(0x0,_0x14e616['uid'])(),_0x3c0364=_0x5c364d['id'],_0xc86006=_0x4ab444?'insertion:'+_0x4ab444:'insertion',_0x39881b=this['_setSuggestionData']({'id':_0x42bd65,'type':_0xc86006,'createdAt':new Date(),'authorId':_0x3c0364,'attributes':_0x44fde2});return this['_addSuggestionMarker'](_0xc86006,_0x42bd65,_0x3c0364,_0x16a3a6),_0x39881b;}['markMultiRangeInsertion'](_0x49d328,_0x5b0b6c='multi',_0x38eaed={}){const _0x3528dc=this['editor']['plugins']['get']('Users')['me'],_0x5263ca=this['_suggestionFactory']['getSuggestionCallback']('insertion',_0x5b0b6c,'join');this['_trackingSessionId']&&(_0x38eaed['trackingSessionId']=this['_trackingSessionId']);for(const _0x5274f5 of this['getSuggestions']())if(_0x5274f5['author']['id']==_0x3528dc['id']&&'insertion'==_0x5274f5['type']&&_0x5274f5['subType']==_0x5b0b6c&&_0x4ad55f(_0x5274f5,_0x38eaed)&&(_0x5263ca(_0x5274f5['getRanges'](),_0x49d328)||_0x5263ca(_0x49d328,_0x5274f5['getRanges']()))){for(const _0x1fff3d of _0x49d328)_0x5274f5['addRange'](_0x1fff3d);return _0x5274f5;}for(const {suggestion:_0x2ddc77,meta:_0x352f04}of this['_findSuggestions'](_0x49d328,'insertion')){if(!_0x352f04['isOwn'])continue;if(!this['_mergeNestedSuggestions']&&_0x352f04['containsRangeInObject'])continue;if(!_0x4ad55f(_0x2ddc77,_0x38eaed))continue;let _0xfec0c4=!0x0;for(const _0x400786 of _0x2ddc77['getRanges']())for(const _0x35b540 of _0x49d328)if(!_0x400786['containsRange'](_0x35b540)){_0xfec0c4=!0x1;break;}if(_0xfec0c4)return _0x2ddc77;}const _0x47ea61=(0x0,_0x14e616['uid'])(),_0x2a449d=_0x3528dc['id'],_0x580707='insertion:'+_0x5b0b6c,_0x46180d=this['_setSuggestionData']({'id':_0x47ea61,'type':_0x580707,'createdAt':new Date(),'authorId':_0x2a449d,'attributes':_0x38eaed});for(const _0x3a550b of _0x49d328)this['_addSuggestionMarker'](_0x580707,_0x47ea61,_0x2a449d,_0x3a550b,_0x212bf7['getMultiRangeId']());return _0x46180d;}['markInlineFormat'](_0x1fba75,_0x3de3da,_0x65c8e5=null,_0x5629ed={}){if(_0x65c8e5=_0x65c8e5||_0x39f02c(_0x3de3da),_0x1fba75['isCollapsed'])return null;if(this['_trackingSessionId']&&(_0x5629ed['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x49104f=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x65c8e5,'accept');return this['forceDefaultExecution'](()=>_0x49104f([_0x1fba75],_0x3de3da,_0x5629ed)),null;}const _0x19aa86=this['editor']['plugins']['get']('Users')['me'],_0x3ba93d=[];if('always'!==this['_trackFormatChanges']){for(const {suggestion:_0x588d4f,meta:_0x4de297}of this['_findSuggestions'](_0x1fba75,'insertion'))_0x4de297['isOwn']&&!_0x4de297['isInsideObject']&&_0x3ba93d['push'](..._0x588d4f['getRanges']());}const _0x4a710b=function(_0x10841b,_0x1f1cd4){const _0x2bf88e=[];for(const _0x5c9833 of _0x1f1cd4){const _0x5c0aaf=_0x10841b['getIntersection'](_0x5c9833);_0x5c0aaf&&_0x2bf88e['push'](_0x5c0aaf);}return _0x2bf88e;}(_0x1fba75,_0x3ba93d),_0x38a37e=function(_0x392cac,_0x1c0a62){const _0x3d8d06=[_0x392cac];for(const _0x1e66ab of _0x1c0a62){let _0x4f009e=0x0;for(;_0x4f009e<_0x3d8d06['length'];){const _0x164e6f=_0x3d8d06[_0x4f009e]['getDifference'](_0x1e66ab);_0x3d8d06['splice'](_0x4f009e,0x1,..._0x164e6f),_0x4f009e+=_0x164e6f['length'];}}return _0x3d8d06;}(_0x1fba75,_0x3ba93d);_0x4a710b['length']&&this['_model']['change'](()=>{for(const _0x5b86a8 of _0x4a710b){const _0x242215=this['_suggestionFactory']['getSuggestionCallback']('formatInline',_0x65c8e5,'accept');this['forceDefaultExecution'](()=>_0x242215([_0x5b86a8],_0x3de3da,_0x5629ed));}});for(const _0x200fea of _0x38a37e){let _0x314933=null,_0x76ef5e=_0x200fea['start'],_0x312ded=_0x200fea['end'];for(const {suggestion:_0x5818ac,meta:_0x343ef5}of this['_findSuggestions'](_0x200fea,'formatInline')){if(!_0x343ef5['isOwn'])continue;if(_0x5818ac['subType']!=_0x65c8e5)continue;if(!_0x4ad55f(_0x5818ac,_0x5629ed))continue;const _0x26dd17=_0x5818ac['getFirstRange']();if(_0x26dd17['containsRange'](_0x200fea,!0x0))return null;_0x76ef5e=_0x76ef5e['isBefore'](_0x26dd17['start'])?_0x76ef5e:_0x26dd17['start'],_0x312ded=_0x312ded['isAfter'](_0x26dd17['end'])?_0x312ded:_0x26dd17['end'],_0x314933?_0x26dd17['start']['isBefore'](_0x314933['getFirstRange']()['start'])?(_0x314933['removeMarkers'](),_0x314933=_0x5818ac):_0x5818ac['removeMarkers']():_0x314933=_0x5818ac;}const _0x2ab340=this['_model']['createRange'](_0x76ef5e,_0x312ded);if(_0x314933)this['_setSuggestionRange'](_0x314933,_0x2ab340);else{const _0x9a1360=(0x0,_0x14e616['uid'])(),_0x27157e=_0x19aa86['id'];this['_setSuggestionData']({'id':_0x9a1360,'type':'formatInline:'+_0x65c8e5,'data':_0x3de3da,'createdAt':new Date(),'authorId':_0x27157e,'attributes':_0x5629ed}),this['_addSuggestionMarker']('formatInline:'+_0x65c8e5,_0x9a1360,_0x27157e,_0x2ab340);}}return null;}['markBlockFormat'](_0x426cb9,_0x42d80b,_0x404ab1=[],_0x2dd1cd=null,_0x2849c7={}){_0x42d80b['formatGroupId']||(_0x42d80b['formatGroupId']=_0x42d80b['commandName']),_0x42d80b['multipleBlocks']=_0x426cb9['is']('range'),_0x2dd1cd=_0x2dd1cd||_0x39f02c(_0x42d80b);const _0x1a79d8=_0x404ab1['map'](_0x623c6=>_0x43ef68(_0x623c6,this['_model'])),_0xc43224=_0x426cb9['is']('range')?_0x426cb9:_0x43ef68(_0x426cb9,this['_model']);if(this['_trackingSessionId']&&(_0x2849c7['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x5a5406=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2dd1cd,'accept');return this['forceDefaultExecution'](()=>_0x5a5406([_0xc43224],_0x42d80b,_0x2849c7)),null;}_0x1a79d8['push'](_0xc43224);let _0x3a59b4=!0x0;for(const _0x785a0b of _0x1a79d8)if(!this['_rangeIsInLocalUserInsertion'](_0x785a0b)){_0x3a59b4=!0x1;break;}if(_0x3a59b4&&'always'!==this['_trackFormatChanges']){const _0xb944bb=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x2dd1cd,'accept');return this['forceDefaultExecution'](()=>_0xb944bb([_0xc43224],_0x42d80b,_0x2849c7)),null;}let _0x425488=null,_0x26dc5a=_0xc43224['start'],_0x25c09d=_0xc43224['end'];for(const {suggestion:_0x7e6f5d,meta:_0x47c6e9}of this['_findSuggestions'](_0xc43224,'formatBlock')){if(!_0x47c6e9['isOwn'])continue;if(_0x47c6e9['isNextTo']||_0x47c6e9['containsRangeInObject']||_0x47c6e9['isInsideObject'])continue;if(_0x7e6f5d['data']['formatGroupId']!=_0x42d80b['formatGroupId'])continue;if(!_0x4ad55f(_0x7e6f5d,_0x2849c7))continue;const _0x3a9c77=_0x7e6f5d['getFirstRange']();if(_0x7e6f5d['subType']==_0x2dd1cd){if(_0x3a9c77['containsRange'](_0xc43224,!0x0))return null;_0x26dc5a=_0x26dc5a['isBefore'](_0x3a9c77['start'])?_0x26dc5a:_0x3a9c77['start'],_0x25c09d=_0x25c09d['isAfter'](_0x3a9c77['end'])?_0x25c09d:_0x3a9c77['end'],_0x425488?_0x3a9c77['start']['isBefore'](_0x425488['getFirstRange']()['start'])?(_0x425488['removeMarkers'](),_0x425488=_0x7e6f5d):_0x7e6f5d['removeMarkers']():_0x425488=_0x7e6f5d;}else{const _0x198054=_0xc43224['getIntersection'](_0x3a9c77);this['_cutOutSuggestionMarker'](_0x7e6f5d,_0x198054);}}const _0x28f0bd=this['editor']['plugins']['get']('Users')['me'],_0x23cd93=(0x0,_0x14e616['uid'])(),_0x3cbb5a=_0x28f0bd['id'];if(_0x425488)return this['_setSuggestionRange'](_0x425488,this['_model']['createRange'](_0x26dc5a,_0x25c09d)),_0x425488;{const _0x217edd=this['_setSuggestionData']({'id':_0x23cd93,'type':'formatBlock:'+_0x2dd1cd,'data':_0x42d80b,'createdAt':new Date(),'authorId':_0x3cbb5a,'attributes':_0x2849c7});return this['_addSuggestionMarker']('formatBlock:'+_0x2dd1cd,_0x23cd93,_0x3cbb5a,this['_model']['createRange'](_0x26dc5a,_0x25c09d)),_0x217edd;}}['markMultiRangeBlockFormat'](_0x292bfb,_0x26c8c8,_0x31f4=[],_0x533dbe=null,_0x267266={}){_0x26c8c8['formatGroupId']||(_0x26c8c8['formatGroupId']=_0x26c8c8['commandName']);const _0x30bf7a=_0x292bfb[0x0];_0x26c8c8['multipleBlocks']=_0x30bf7a['is']('range'),_0x533dbe=_0x533dbe||_0x39f02c(_0x26c8c8);const _0x3356a3=_0x31f4['map'](_0x56b989=>_0x43ef68(_0x56b989,this['_model'])),_0x16c450=_0x30bf7a['is']('range')?_0x292bfb:_0x292bfb['map'](_0x1208e2=>_0x43ef68(_0x1208e2,this['_model']));if(this['_trackingSessionId']&&(_0x267266['trackingSessionId']=this['_trackingSessionId']),'never'===this['_trackFormatChanges']){const _0x2cc8eb=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x533dbe,'accept');return this['forceDefaultExecution'](()=>_0x2cc8eb(_0x16c450,_0x26c8c8,_0x267266)),null;}_0x3356a3['push'](..._0x16c450);let _0x232e26=!0x0;for(const _0x318cb0 of _0x3356a3)if(!this['_rangeIsInLocalUserInsertion'](_0x318cb0)){_0x232e26=!0x1;break;}if(_0x232e26&&'always'!==this['_trackFormatChanges']){const _0x482592=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x533dbe,'accept');return this['forceDefaultExecution'](()=>_0x482592(_0x16c450,_0x26c8c8,_0x267266)),null;}const _0x5844fe=this['editor']['plugins']['get']('Users')['me'];for(const _0x2c31ca of this['getSuggestions']()){const _0x4abc95=_0x2c31ca['data'];if(_0x2c31ca['author']['id']!=_0x5844fe['id'])continue;if('formatBlock'!=_0x2c31ca['type']||_0x4abc95['formatGroupId']!=_0x26c8c8['formatGroupId'])continue;if(!_0x4ad55f(_0x2c31ca,_0x267266))continue;const _0x137e1f=_0x2c31ca['subType']==_0x533dbe;for(let _0x3def06=0x0;_0x3def06<_0x16c450['length'];_0x3def06++){const _0x514938=_0x16c450[_0x3def06];for(const _0x385164 of _0x2c31ca['getMarkers']()){const _0x10f274=_0x385164['getRange']();if(_0x514938['isEqual'](_0x10f274)){_0x137e1f?(_0x16c450['splice'](_0x3def06,0x1),_0x3def06--):_0x2c31ca['removeMarker'](_0x385164['name']);break;}}}}if(0x0==_0x16c450['length'])return null;const _0x137d62=this['_suggestionFactory']['getSuggestionCallback']('formatBlock',_0x533dbe,'join');for(const _0x64cad8 of this['getSuggestions']()){const _0x446b30=_0x64cad8['data'];if(_0x64cad8['author']['id']==_0x5844fe['id']&&('formatBlock'==_0x64cad8['type']&&_0x446b30['formatGroupId']==_0x26c8c8['formatGroupId']&&_0x64cad8['subType']==_0x533dbe&&_0x4ad55f(_0x64cad8,_0x267266)&&(_0x137d62(_0x64cad8['getRanges'](),_0x16c450)||_0x137d62(_0x16c450,_0x64cad8['getRanges']())))){for(const _0x1de0e3 of _0x16c450)_0x64cad8['addRange'](_0x1de0e3);return _0x64cad8;}}const _0x51334a=(0x0,_0x14e616['uid'])(),_0x681867=_0x5844fe['id'],_0x2ee9d7='formatBlock:'+_0x533dbe,_0x5da7c3=this['_setSuggestionData']({'id':_0x51334a,'type':_0x2ee9d7,'data':_0x26c8c8,'createdAt':new Date(),'authorId':_0x681867,'attributes':_0x267266});for(const _0x500574 of _0x16c450)this['_addSuggestionMarker'](_0x2ee9d7,_0x51334a,_0x681867,_0x500574,_0x212bf7['getMultiRangeId']());return _0x5da7c3;}['markDeletion'](_0x532600,_0x31eb5c=null,_0x47bbe8={}){if(_0x532600['isCollapsed'])return null;const _0xb6e9db=this['editor']['plugins']['get']('Users')['me'],_0x395074=new _0x14e616['ModelLiveRange'](_0x532600['start'],_0x532600['end']);this['_trackingSessionId']&&(_0x47bbe8['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x4affb7,meta:_0x45a0d9}of this['_findSuggestions'](_0x395074,'insertion'))if(_0x45a0d9['isOwn']&&!_0x45a0d9['isNextTo']){if(_0x4affb7['isMultiRange']){const _0x4989ed=_0x4affb7['getRanges']()['filter'](_0x42d131=>'$graveyard'!=_0x42d131['root']['rootName']);if(_0x4989ed['every'](_0x3e6f11=>_0x395074['containsRange'](_0x3e6f11,!0x0))&&_0x4affb7['discard'](),_0x4989ed['some'](_0x4d5018=>_0x4d5018['containsRange'](_0x395074,!0x0))){const _0x54e922=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x31eb5c,'accept');return this['forceDefaultExecution'](()=>_0x54e922([_0x395074],null,_0x47bbe8)),null;}}else{const _0x1a98ff=_0x395074['getIntersection'](_0x4affb7['getFirstRange']());null!==_0x1a98ff&&_0x4affb7['_onDiscard']([_0x1a98ff],null,_0x47bbe8);}}if(_0x395074['detach'](),_0x395074['isCollapsed']||'$graveyard'==_0x395074['root']['rootName'])return null;let _0x27864d=null,_0x37a80c=_0x395074['start'],_0x172d24=_0x395074['end'];const _0x88c266=this['_findSuggestions'](_0x395074,'deletion');for(const {suggestion:_0x51bcb6,meta:_0x387a7f}of _0x88c266){const _0x4c1785=this['_model']['createRange'](_0x37a80c,_0x172d24);if(_0x387a7f['isOwn']&&(this['_mergeNestedSuggestions']||!_0x387a7f['containsRangeInObject']&&!_0x387a7f['isInsideObject'])){if(_0x51bcb6['isMultiRange']){if(!_0x4ad55f(_0x51bcb6,_0x47bbe8))continue;let _0x28d586=!0x0;for(const _0x536771 of _0x51bcb6['getRanges']()){if(_0x536771['containsRange'](_0x4c1785,!0x0))return _0x51bcb6;_0x4c1785['containsRange'](_0x536771)||(_0x28d586=!0x1);}_0x28d586&&_0x51bcb6['discard']();}else{const _0x30a839=_0x51bcb6['getFirstRange']();if(_0x30a839['containsRange'](_0x4c1785,!0x0))return _0x51bcb6;if(!_0x4ad55f(_0x51bcb6,_0x47bbe8)){_0x4c1785['containsRange'](_0x30a839)?_0x51bcb6['removeMarkers']():_0x30a839['containsPosition'](_0x37a80c)?_0x37a80c=_0x30a839['end']:_0x30a839['containsPosition'](_0x172d24)&&(_0x172d24=_0x30a839['start']);continue;}_0x37a80c=_0x37a80c['isBefore'](_0x30a839['start'])?_0x37a80c:_0x30a839['start'],_0x172d24=_0x172d24['isAfter'](_0x30a839['end'])?_0x172d24:_0x30a839['end'],_0x47bbe8=Object['assign']({},_0x51bcb6['attributes']),_0x27864d?_0x30a839['start']['isBefore'](_0x27864d['getFirstRange']()['start'])?(_0x27864d['removeMarkers'](),_0x27864d=_0x51bcb6):_0x51bcb6['removeMarkers']():_0x27864d=_0x51bcb6;}}}if(_0x27864d)return this['_setSuggestionRange'](_0x27864d,this['_model']['createRange'](_0x37a80c,_0x172d24)),_0x27864d;{const _0x1b1fe3=(0x0,_0x14e616['uid'])(),_0x3dc18e=this['_model']['createRange'](_0x37a80c,_0x172d24),_0x99e511=_0xb6e9db['id'],_0xa1d3b2=_0x31eb5c?'deletion:'+_0x31eb5c:'deletion',_0x3d333a=this['_setSuggestionData']({'id':_0x1b1fe3,'type':_0xa1d3b2,'createdAt':new Date(),'authorId':_0x99e511,'attributes':_0x47bbe8});return this['_addSuggestionMarker'](_0xa1d3b2,_0x1b1fe3,_0x99e511,_0x3dc18e),_0x3d333a;}}['markMultiRangeDeletion'](_0x1bf2b8,_0x514851='multi',_0x335b24={}){const _0x18237f=this['editor']['plugins']['get']('Users')['me'],_0x42307d=_0x1bf2b8['map'](_0x5527fb=>new _0x14e616['ModelLiveRange'](_0x5527fb['start'],_0x5527fb['end'])),_0x5de851=new Set();this['_trackingSessionId']&&(_0x335b24['trackingSessionId']=this['_trackingSessionId']);for(const {suggestion:_0x3ccf5e,meta:_0x411bb4}of this['_findSuggestions'](_0x42307d,'insertion'))_0x411bb4['isOwn']&&!_0x411bb4['isNextTo']&&_0x5de851['add'](_0x3ccf5e);for(const _0x4c3aa8 of _0x5de851)if(_0x4c3aa8['isMultiRange']){const _0x5c928b=_0x4c3aa8['getRanges']();if(_0x4c3aa8['attributes']&&_0x4c3aa8['attributes']['skipNestingCheck']||_0x5c928b['every'](_0x396ac3=>_0x42307d['some'](_0x2927ed=>_0x2927ed['containsRange'](_0x396ac3,!0x0)))&&_0x4c3aa8['discard'](),_0x42307d['every'](_0x15271d=>_0x5c928b['some'](_0x288029=>_0x288029['containsRange'](_0x15271d,!0x0)))){const _0x3f40e9=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x514851,'accept');return this['forceDefaultExecution'](()=>_0x3f40e9(_0x1bf2b8,null,_0x335b24)),null;}}else{const _0x3c69ff=_0x4c3aa8['getFirstRange']();if(_0x42307d['some'](_0xa5e35b=>_0xa5e35b['containsRange'](_0x3c69ff,!0x0))&&_0x4c3aa8['discard'](),_0x42307d['every'](_0x27ba59=>_0x3c69ff['containsRange'](_0x27ba59,!0x0))){const _0x333fc0=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x514851,'accept');return this['forceDefaultExecution'](()=>_0x333fc0(_0x42307d,null,_0x335b24)),null;}}const _0x4716d4=this['_suggestionFactory']['getSuggestionCallback']('deletion',_0x514851,'join');let _0x5e08e2=null;for(const _0x51504c of this['getSuggestions']())if(_0x51504c['author']['id']==_0x18237f['id']&&_0x51504c['isInContent']&&'deletion'==_0x51504c['type']&&_0x51504c['subType']==_0x514851&&_0x4ad55f(_0x51504c,_0x335b24)&&(_0x4716d4(_0x51504c['getRanges'](),_0x42307d)||_0x4716d4(_0x42307d,_0x51504c['getRanges']()))){if(_0x5e08e2){if(_0x51504c['commentThread']&&_0x51504c['commentThread']['length'])continue;for(const _0x280309 of _0x51504c['getRanges']())_0x5e08e2['isIntersectingWithRange'](_0x280309)||_0x5e08e2['addRange'](_0x280309);_0x51504c['removeMarkers']();}else{_0x5e08e2=_0x51504c;for(const _0x1389a0 of _0x42307d)_0x51504c['isIntersectingWithRange'](_0x1389a0)||_0x51504c['addRange'](_0x1389a0);}}if(_0x5e08e2)return _0x5e08e2;_0x5de851['clear']();for(const {suggestion:_0x348829,meta:_0xb4b531}of this['_findSuggestions'](_0x42307d,'deletion'))_0xb4b531['isOwn']&&(this['_mergeNestedSuggestions']||!_0xb4b531['containsRangeInObject']&&!_0xb4b531['isInsideObject'])&&_0x4ad55f(_0x348829,_0x335b24)&&_0x5de851['add'](_0x348829);for(const _0x594215 of _0x5de851){const _0x1f43a2=_0x594215['getRanges']();if((!_0x335b24||!_0x335b24['skipNestingCheck'])&&_0x42307d['every'](_0x3df96a=>_0x1f43a2['some'](_0x13f546=>_0x13f546['containsRange'](_0x3df96a,!0x0))))return _0x594215;_0x594215['attributes']&&_0x594215['attributes']['skipNestingCheck']||_0x1f43a2['every'](_0x1e2581=>_0x42307d['some'](_0x22f9e8=>_0x22f9e8['containsRange'](_0x1e2581,!0x0)))&&_0x594215['discard']();}const _0x326e43=(0x0,_0x14e616['uid'])(),_0x1afa50=_0x18237f['id'],_0x42ddd6='deletion:'+_0x514851,_0x508d04=this['_setSuggestionData']({'id':_0x326e43,'type':_0x42ddd6,'createdAt':new Date(),'authorId':_0x1afa50,'attributes':_0x335b24});for(const _0x59203d of _0x42307d)_0x59203d['detach'](),_0x59203d['isCollapsed']||'$graveyard'==_0x59203d['root']['rootName']||this['_addSuggestionMarker'](_0x42ddd6,_0x326e43,_0x1afa50,_0x59203d,_0x212bf7['getMultiRangeId']());return _0x508d04;}['markAttributeChange'](_0x355d82,_0x14de27,_0x204416,_0x4279f5,_0x142160){if(_0x355d82['isCollapsed'])return[];if('never'===this['_trackFormatChanges'])return[];const _0x361789=this['editor']['plugins']['get']('Users')['me']['id'],_0x263ce4=Array['from'](this['_suggestions']['values']())['filter'](_0x4444f6=>'attribute'==_0x4444f6['type']&&_0x4444f6['data']['key']==_0x14de27&&_0x4444f6['isIntersectingWithRange'](_0x355d82));if(this['_trackingSessionId']&&(_0x142160['trackingSessionId']=this['_trackingSessionId']),'default'===this['_trackFormatChanges']){const _0x1dccd1=this['_findSuggestions'](_0x355d82,'insertion')['filter'](({meta:_0x38e835})=>_0x38e835['isOwn']&&!_0x38e835['isInsideObject']&&!_0x38e835['isNextTo'])['map'](({suggestion:_0x3428d4})=>_0x3428d4);_0x263ce4['unshift'](..._0x1dccd1);}const _0x3fb97a=new Map([[_0x355d82,_0x204416]]);for(const _0xac9a7f of _0x263ce4){const _0xecd128='attribute'==_0xac9a7f['type']?_0xac9a7f['data']['oldValue']:void 0x0,_0x3076d1=_0xac9a7f['getFirstRange'](),_0x3240ce=Array['from'](_0x3fb97a['keys']())['find'](_0x26168a=>_0x26168a['isIntersecting'](_0x3076d1));if(!_0x3240ce)continue;const _0x13a032=_0x3240ce['getDifference'](_0x3076d1);this['_suggestionsConversion']['isBlockAttribute'](_0x14de27)&&'insertion'==_0xac9a7f['type']&&0x0!=_0x13a032['length']||(_0x3fb97a['delete'](_0x3240ce),_0x13a032['forEach'](_0x2401f4=>{_0x3fb97a['set'](_0x2401f4,_0x204416);}),'insertion'!=_0xac9a7f['type']&&_0xecd128!=_0x4279f5&&_0x3fb97a['set'](_0x3240ce['getIntersection'](_0x3076d1),_0xecd128));}const _0x5940f9=[];for(const [_0x10e364,_0x57fe8f]of _0x3fb97a){const _0x5181c0=(0x0,_0x14e616['uid'])(),_0x2824fb={'key':_0x14de27,'oldValue':_0x57fe8f,'newValue':_0x4279f5};_0x14de27['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':_0x14de27});const _0x116792=('attribute:'+_0x14de27+'|'+_0x39f02c({'newValue':_0x4279f5}))['substring'](0x0,0x3c),_0x5c750f=this['_setSuggestionData']({'id':_0x5181c0,'type':_0x116792,'data':_0x2824fb,'createdAt':new Date(),'authorId':_0x361789,'attributes':_0x142160});_0x5940f9['push'](_0x5c750f),this['_addSuggestionMarker'](_0x116792,_0x5181c0,_0x361789,_0x10e364);}return _0x5940f9;}['enableDefaultAttributesIntegration'](_0x5baeea){this['enableCommand'](_0x5baeea,(_0x3c4014,..._0x5b0895)=>{this['recordAttributeChanges'](()=>{_0x3c4014(..._0x5b0895);});});}['startTrackingSession'](_0x53e747){return this['_trackingSessionId']=void 0x0!==_0x53e747?_0x53e747:(0x0,_0x14e616['uid'])(),this['_trackingSessionId'];}['_getAttributeKey'](_0x4351d8){return'attribute'==_0x4351d8['type']?tI(_0x4351d8['subType']):null;}['_applyOperationsAsSuggestions'](_0x40cbf7){if(0x0==_0x40cbf7['length'])return;const _0x4f092c=this['editor'],_0x42b50d=_0x4f092c['plugins']['get'](_0x4abd7b),_0x1a5cfa=[],_0xac33c0=_0x13e8e2=>{const _0xf511f7=_0x13e8e2['_aiSource'];return _0xf511f7?{'@ai':{'type':_0xf511f7}}:{};},_0xcd459e=(_0x59d157,_0x58a9ce,_0x43cdf4)=>{for(let _0xdff1b2=_0x58a9ce;_0xdff1b2<_0x59d157['operations']['length'];_0xdff1b2++){const _0x497801=_0x59d157['operations'][_0xdff1b2];'marker'===_0x497801['type']&&(_0x497801['_aiSource']=_0x43cdf4);}};_0x4f092c['model']['change'](_0x420928=>{for(let _0xb98160=0x0;_0xb98160<_0x40cbf7['length'];_0xb98160++){const _0x10c86d=_0x40cbf7[_0xb98160],_0x33597e=_0x10c86d['_aiSource'],_0x16002b=_0x420928['batch']['operations']['length'];if(_0x10c86d['baseVersion']=_0x4f092c['model']['document']['version'],_0x10c86d['isDocumentOperation']=!0x0,_0x42b50d['isMarkedRemoveOperation'](_0x10c86d)){const _0x1c59dc=_0x19d162(_0x10c86d['newRange'],_0x4f092c['model']);_0x1a5cfa['unshift']({'range':_0x14e616['ModelLiveRange']['fromRange'](_0x1c59dc),'opAttributes':_0xac33c0(_0x10c86d),'aiSource':_0x33597e});}else{switch(_0x10c86d['type']){case'rename':{const _0x1c6e31=_0x10c86d['oldName'],_0x136501=_0x10c86d['newName'];if(_0x1c6e31==_0x136501)break;_0x420928['batch']['addOperation'](_0x10c86d),_0x4f092c['model']['applyOperation'](_0x10c86d);const _0x5eb36e='$elementName',_0x32cc3e=_0x10c86d['position'],_0x103e43=_0x4f092c['model']['createRange'](_0x32cc3e,_0x4f092c['model']['createPositionAt'](_0x32cc3e['nodeAfter'],'end'));this['markAttributeChange'](_0x103e43,_0x5eb36e,_0x1c6e31,_0x136501,{..._0xac33c0(_0x10c86d),'groupId':(0x0,_0x14e616['uid'])()});break;}case'addAttribute':case'removeAttribute':case'changeAttribute':{const _0x356053=_0x10c86d['oldValue'],_0x5dbed7=_0x10c86d['newValue'];if(_0x356053==_0x5dbed7)break;_0x420928['batch']['addOperation'](_0x10c86d),_0x4f092c['model']['applyOperation'](_0x10c86d);const _0x365a36=_0x10c86d['key'];if(!this['_suggestionsConversion']['isRegisteredAttribute'](_0x365a36))break;const _0x37331b=_0x19d162(_0x10c86d['range'],_0x4f092c['model']);this['markAttributeChange'](_0x37331b,_0x365a36,_0x356053,_0x5dbed7,{..._0xac33c0(_0x10c86d),'groupId':(0x0,_0x14e616['uid'])()});break;}case'insert':{if(_0x420928['batch']['addOperation'](_0x10c86d),_0x4f092c['model']['applyOperation'](_0x10c86d),_0x40cbf7[_0xb98160+0x1]&&'move'==_0x40cbf7[_0xb98160+0x1]['type'])break;const _0x4674cc=_0x10c86d['position'],_0xb54194=_0x10c86d['howMany'],_0x3c221d=_0x19d162(_0x4f092c['model']['createRange'](_0x4674cc,_0x4674cc['getShiftedBy'](_0xb54194)),_0x4f092c['model']);this['markInsertion'](_0x3c221d,null,{..._0xac33c0(_0x10c86d)});break;}case'split':{_0x420928['batch']['addOperation'](_0x10c86d),_0x4f092c['model']['applyOperation'](_0x10c86d);const _0xb20962=_0x10c86d['splitPosition'],_0x2beaa5=_0x10c86d['moveTargetPosition'],_0x39561f=_0x4f092c['model']['createRange'](_0xb20962,_0x2beaa5);this['markInsertion'](_0x39561f,null,{..._0xac33c0(_0x10c86d)});break;}case'move':case'remove':_0x420928['batch']['addOperation'](_0x10c86d),_0x4f092c['model']['applyOperation'](_0x10c86d);}_0x33597e&&_0xcd459e(_0x420928['batch'],_0x16002b,_0x33597e);}}for(const {range:_0x4b07f1,opAttributes:_0xfb6c38,aiSource:_0x69fd18}of _0x1a5cfa){const _0x39d2bc=_0x420928['batch']['operations']['length'];_0x4b07f1['detach'](),this['markDeletion'](_0x4b07f1,null,{..._0xfb6c38}),_0x69fd18&&_0xcd459e(_0x420928['batch'],_0x39d2bc,_0x69fd18);}});}['_setSuggestionRange'](_0x36ff3c,_0x2002d2){const _0x553f7f=_0x36ff3c['getFirstMarker']();this['_model']['change'](_0x1e2406=>{_0x1e2406['updateMarker'](_0x553f7f,{'range':_0x2002d2});});}['_addThreadToSuggestion'](_0x3038df){const _0x4ed8c2=_0x3038df['id'],_0x3e5781=this['editor']['config']['get']('collaboration.channelId');this['_commentsRepository']['hasCommentThread'](_0x4ed8c2)||this['_commentsRepository']['addCommentThread']({'channelId':_0x3e5781,'threadId':_0x4ed8c2,'isResolvable':!0x1,'isSubmitted':!0x0});const _0x1894ee=this['_commentsRepository']['getCommentThread'](_0x4ed8c2);_0x1894ee['unbind']('isRemovable'),_0x1894ee['isRemovable']=!0x1,_0x3038df['commentThread']=_0x1894ee;}['_checkSuggestionCorrectness'](_0x9347dc,_0x38b79e,_0x198b24,_0x2ff317){if(_0x9347dc['type']!=_0x38b79e||_0x9347dc['subType']!=_0x198b24||_0x9347dc['creator']['id']!=_0x2ff317)throw this['editor']['enableReadOnlyMode']('track-changes-suggestion-data-mismatch'),new _0x14e616['CKEditorError']('track-changes-suggestion-data-mismatch',this);}['_cutOutSuggestionMarker'](_0x56eafe,_0x2fd742){const _0x17b3db=_0x56eafe['getFirstRange']();if(_0x2fd742['isEqual'](_0x17b3db))_0x56eafe['removeMarkers']();else{if(_0x17b3db['containsRange'](_0x2fd742)){const _0xa4262f=this['_model']['createPositionAt'](_0x2fd742['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x56eafe,this['_model']['createRange'](_0x17b3db['start'],_0xa4262f));const _0x375d5c=(0x0,_0x14e616['uid'])(),_0x1d9f23=_0x56eafe['creator']['id'],_0x49e2df=_0x56eafe['type']+':'+_0x56eafe['subType'];this['_setSuggestionData']({'id':_0x375d5c,'type':_0x49e2df,'createdAt':new Date(),'authorId':_0x1d9f23,'data':_0x56eafe['data'],'attributes':_0x56eafe['attributes']});const _0x26dd6e=this['_model']['createPositionAt'](_0x2fd742['end']['parent'],'after'),_0x573136=this['_model']['createRange'](_0x26dd6e,_0x17b3db['end']);this['_addSuggestionMarker'](_0x49e2df,_0x375d5c,_0x1d9f23,_0x573136);}else{if(_0x17b3db['containsPosition'](_0x2fd742['start'])){const _0xa1d5d1=this['_model']['createPositionAt'](_0x2fd742['start']['nodeBefore'],'end');this['_setSuggestionRange'](_0x56eafe,this['_model']['createRange'](_0x17b3db['start'],_0xa1d5d1));}else{const _0xb49903=this['_model']['createPositionAt'](_0x2fd742['end']['parent'],'after');this['_setSuggestionRange'](_0x56eafe,this['_model']['createRange'](_0xb49903,_0x17b3db['end']));}}}}['_rangeIsInLocalUserInsertion'](_0x4b1150){for(const {suggestion:_0x3c01b7,meta:_0x1c2571}of this['_findSuggestions'](_0x4b1150,'insertion')){if(!_0x1c2571['isOwn'])continue;const _0x12dd7e=_0x3c01b7['getRanges']();for(const _0x22eeca of _0x12dd7e)if(!_0x4b1150['getDifference'](_0x22eeca)['length'])return!0x0;}return!0x1;}['_getAuthorFromId'](_0x1fda22){return this['editor']['plugins']['get']('Users')['getUser'](_0x1fda22);}['_getExternalAuthor'](_0x2de109){const _0xbf51ad=this['editor']['plugins']['get']('Users'),_0x2d5b0f=_0x170940('external:'+_0x2de109),_0x246aa4=_0xbf51ad['getUser'](_0x2d5b0f);return _0x246aa4||_0xbf51ad['addUser']({'id':_0x2d5b0f,'name':_0x2de109});}['_createSuggestion'](_0x46c195,_0x4547c3,_0x1d3ba8,_0x44a39e,_0x39334d,_0x57fc87){const _0x11ab2f=this['_getAuthorFromId'](_0x44a39e);if(!_0x11ab2f)throw new _0x14e616['CKEditorError']('track-changes-user-not-found',this,{'authorId':_0x44a39e,'suggestionId':_0x1d3ba8});const _0x5a9fb3=this['_suggestionFactory']['buildSuggestion'](_0x46c195,_0x4547c3,_0x1d3ba8,_0x11ab2f,_0x39334d,_0x57b1f1=>{this['_updateSuggestionData'](_0x1d3ba8,{'attributes':_0x57b1f1});const _0x37df48=this['getSuggestion'](_0x1d3ba8);this['_joinWithAdjacentSuggestions'](new Set([_0x37df48])),this['_refreshSuggestionsChain'](new Set([_0x37df48]));},_0x57fc87);return this['listenTo'](_0x5a9fb3,'accept',()=>{this['_updateSuggestionData'](_0x1d3ba8,{'state':'accepted'});},{'priority':'high'}),this['listenTo'](_0x5a9fb3,'discard',()=>{this['_updateSuggestionData'](_0x1d3ba8,{'state':'rejected'});},{'priority':'high'}),this['_suggestions']['set'](_0x1d3ba8,_0x5a9fb3),this['_suggestionState']['set'](_0x5a9fb3,'notReady'),_0x5a9fb3;}['_breakSuggestionMarker'](_0x58a79f,_0x1a2ac0,_0x2cf3b2){const _0x2cf0b4=_0x58a79f['getFirstRange'](),_0xbdfb99=_0x2cf0b4['start'],_0x14c18d=_0x2cf0b4['end'];this['_setSuggestionRange'](_0x58a79f,this['_model']['createRange'](_0xbdfb99,_0x1a2ac0));const _0x138633=(0x0,_0x14e616['uid'])(),_0x33ea32=_0x58a79f['creator']['id'],_0x89395a=_0x58a79f['type']+(_0x58a79f['subType']?':'+_0x58a79f['subType']:'');this['_setSuggestionData']({'id':_0x138633,'type':_0x89395a,'createdAt':new Date(),'authorId':_0x33ea32,'originalSuggestionId':_0x58a79f['_originalSuggestionId']||_0x58a79f['id'],'attributes':_0x58a79f['attributes'],'data':_0x58a79f['data']});const _0x383a58=this['_getAttributeKey'](_0x58a79f);('formatBlock'==_0x58a79f['type']||_0x383a58&&this['_suggestionsConversion']['isBlockAttribute'](_0x383a58))&&(_0x2cf3b2=this['_model']['createPositionBefore'](_0x2cf3b2['parent'])),this['_addSuggestionMarker'](_0x89395a,_0x138633,_0x33ea32,this['_model']['createRange'](_0x2cf3b2,_0x14c18d));}['_findSuggestions'](_0x38144f,_0x50fc28=null){const _0x479374=[],_0xbb89e4=this['editor']['plugins']['get']('Users')['me'];Array['isArray'](_0x38144f)||(_0x38144f=[_0x38144f]);for(const _0x3e2174 of this['getSuggestions']()){if(!_0x3e2174['isInContent'])continue;if(_0x50fc28&&_0x3e2174['type']!=_0x50fc28)continue;let _0x4da8ea=!0x1;for(const _0x3015ec of _0x3e2174['getRanges']()){for(const _0xbe009a of _0x38144f){const _0x2c180e=_0xbe009a['start']['isEqual'](_0x3015ec['end'])||_0xbe009a['end']['isEqual'](_0x3015ec['start']);if(_0x2c180e||_0xbe009a['getIntersection'](_0x3015ec)){const _0x515e0c=_0xbe009a['containsRange'](_0x3015ec)&&_0x37cb87(this['_model']['schema'],_0x3015ec['start'],_0xbe009a),_0x52b7fb=_0x3015ec['containsRange'](_0xbe009a)&&_0x37cb87(this['_model']['schema'],_0xbe009a['start'],_0x3015ec);_0x479374['push']({'suggestion':_0x3e2174,'meta':{'isOwn':_0xbb89e4==_0x3e2174['author'],'isNextTo':_0x2c180e,'isInsideObject':_0x515e0c,'containsRangeInObject':_0x52b7fb}}),_0x4da8ea=!0x0;break;}}if(_0x4da8ea)break;}}return _0x479374;}['_addSuggestionMarker'](_0xb8cd2e,_0xd9eef8,_0x5c8a32,_0x4e095e,_0x3dc935){this['_model']['change'](_0x4f11a5=>{let _0x7d0eac='suggestion:'+_0xb8cd2e+':'+_0xd9eef8+':'+_0x5c8a32;_0x3dc935&&(_0x7d0eac=_0x7d0eac+':'+_0x3dc935),_0x4f11a5['addMarker'](_0x7d0eac,{'range':_0x4e095e,'usingOperation':!0x0,'affectsData':!0x0});});}['_removeSuggestion'](_0xf372be){const _0x40f684=_0xf372be['previous'],_0xe681e4=_0xf372be['next'];_0xf372be['previous']=null,_0xf372be['next']=null,null!=_0x40f684&&_0x40f684['next']==_0xf372be&&(_0x40f684['next']=_0xe681e4),null!=_0xe681e4&&_0xe681e4['previous']==_0xf372be&&(_0xe681e4['previous']=_0x40f684),'ready'==this['_suggestionState']['get'](_0xf372be)&&(this['_suggestionState']['set'](_0xf372be,'removed'),this['fire']('suggestionUnloaded',_0xf372be,_0x40f684,_0xe681e4));}['_setSuggestionData'](_0x4cd5fe){const _0x1b8270=_0x4cd5fe['id'],_0x2be73f=this['addSuggestionData'](_0x4cd5fe);if(this['_adapter']&&this['_adapter']['addSuggestion']){const _0x20bc0a=this['editor']['plugins']['get']('PendingActions'),_0x4714f5=_0x2be73f['hasComments'],_0x295537=_0x2be73f['subType']?_0x2be73f['type']+':'+_0x2be73f['subType']:_0x2be73f['type'],_0x2550fd=this['editor']['locale'],_0x28e03a=_0x20bc0a['add'](_0x45b6d4(_0x2550fd,'PENDING_ACTION_SUGGESTION')),_0x283e98={'id':_0x1b8270,'type':_0x295537,'hasComments':_0x4714f5,'data':_0x4cd5fe['data']||null,'originalSuggestionId':_0x4cd5fe['originalSuggestionId']||null,'attributes':_0x2be73f['attributes']};this['_adapter']['addSuggestion'](_0x283e98)['then'](_0x5285b7=>{_0x2be73f['_saved']=!0x0,_0x20bc0a['remove'](_0x28e03a),_0x5285b7&&_0x5285b7['createdAt']&&(this['_suggestions']['get'](_0x1b8270)['createdAt']=_0x5285b7['createdAt']);})['catch'](_0x3cbebf=>{throw(0x0,_0x14e616['logWarning'])('error-saving-suggestion-data-suggestion-discarded'),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},()=>{_0x2be73f['discard']();}),_0x2be73f['stopListening'](),this['_suggestions']['delete'](_0x2be73f['id']),this['_suggestionState']['delete'](_0x2be73f),_0x3cbebf;});}return _0x2be73f;}['_updateSuggestionData'](_0x489c95,_0x42bc29){const _0x3f3446=this['editor']['plugins']['get']('PendingActions'),_0x45387e=this['getSuggestion'](_0x489c95);if(this['_adapter']&&this['_adapter']['updateSuggestion']){if(_0x45387e['_saved']){const _0xad151b=_0x3f3446['add'](_0x45b6d4(this['editor']['locale'],'PENDING_ACTION_SUGGESTION'));this['_adapter']['updateSuggestion'](_0x489c95,_0x42bc29)['then'](()=>{_0x3f3446['remove'](_0xad151b);});}else _0x45387e['on']('change:_saved',()=>{this['_updateSuggestionData'](_0x489c95,_0x42bc29);});}}['_getSuggestionData'](_0x31cd1e){if(!this['_adapter']||!this['_adapter']['getSuggestion'])throw new _0x14e616['CKEditorError']('track-changes-adapter-missing-getsuggestion',this);return this['_adapter']['getSuggestion'](_0x31cd1e);}['_handleNewSuggestionMarker'](_0x3bd074){const {id:_0x13978a,type:_0x5c806d,subType:_0x129e34,authorId:_0x49a322}=_0x567555(_0x3bd074),_0x5e36cc=this['_suggestions']['get'](_0x13978a)||this['_createSuggestion'](_0x5c806d,_0x129e34,_0x13978a,_0x49a322,{});switch(this['_checkSuggestionCorrectness'](_0x5e36cc,_0x5c806d,_0x129e34,_0x49a322),this['_suggestionState']['get'](_0x5e36cc)){case'notReady':this['_getSuggestionData'](_0x13978a)['then'](_0x284183=>{let _0x1035d4=Promise['resolve']();_0x284183['hasComments']&&(_0x1035d4=this['_commentsRepository']['fetchCommentThread']({'channelId':this['editor']['config']['get']('collaboration.channelId'),'threadId':_0x13978a})),_0x1035d4['then'](()=>{this['addSuggestionData'](_0x284183)['_saved']=!0x0;});}),this['_suggestionState']['set'](_0x5e36cc,'markerReady');break;case'removed':this['_updateSuggestionData'](_0x13978a,{'state':'open'});case'dataReady':this['_suggestionState']['set'](_0x5e36cc,'ready'),this['fire']('suggestionLoaded',_0x5e36cc);break;case'ready':this['fire']('suggestionChanged',_0x5e36cc);}return _0x5e36cc['addMarkerName'](_0x3bd074),_0x5e36cc;}['_refreshSuggestionsChain'](_0x9d3346){const _0x2fb7c3=Array['from'](_0x9d3346),_0x1a6d09=_0x2fb7c3['filter'](_0x1bf49d=>'attribute'==_0x1bf49d['type']);this['_refreshAttributeSuggestionsChain'](_0x1a6d09);const _0x22e6a9=_0x2fb7c3['filter'](_0x1a1a96=>!_0x1a1a96['isMultiRange']&&'attribute'!=_0x1a1a96['type']),_0x2e123e=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x1b8de8=>!_0x1b8de8['isMultiRange']&&'attribute'!=_0x1b8de8['type']),_0x333016=_0x2e123e['filter'](_0x61bcf=>!_0x9d3346['has'](_0x61bcf)),_0x4a8a56=new Map(_0x2e123e['map'](_0x8fc93=>[_0x8fc93,this['_suggestionFactory']['getSuggestionCallback'](_0x8fc93['type'],_0x8fc93['subType'],'chain')])),_0x4929df=new Map(_0x2e123e['map'](_0x3e054b=>[_0x3e054b,_0x3e054b['getFirstRange']()])),_0xffd17e=new Set(),_0x5f3a4f=new Set();for(let _0x53b136=0x0;_0x53b136<_0x22e6a9['length'];_0x53b136++)_0xa40994(_0x22e6a9[_0x53b136],_0x22e6a9,_0x53b136+0x1);for(let _0x42d561=0x0;_0x42d561<_0x22e6a9['length'];_0x42d561++)_0xa40994(_0x22e6a9[_0x42d561],_0x333016,0x0);const _0x144d26=new Set();for(let _0x6d0451=0x0;_0x6d0451<_0x22e6a9['length'];_0x6d0451++){const _0x91c54b=_0x22e6a9[_0x6d0451];!_0x5f3a4f['has'](_0x91c54b)&&_0x91c54b['previous']&&(_0x144d26['add'](_0x91c54b['previous']),_0x91c54b['previous']['next']===_0x91c54b&&(_0x91c54b['previous']['next']=null),_0x91c54b['previous']=null),!_0xffd17e['has'](_0x91c54b)&&_0x91c54b['next']&&(_0x144d26['add'](_0x91c54b['next']),_0x91c54b['next']['previous']===_0x91c54b&&(_0x91c54b['next']['previous']=null),_0x91c54b['next']=null);}function _0xa40994(_0x4bd920,_0x4a8f3,_0x4a1c6b){for(let _0x522472=_0x4a1c6b;_0x522472<_0x4a8f3['length'];_0x522472++){const _0x1e9272=_0x506056(_0x4bd920,_0x4a8f3[_0x522472]);_0x1e9272&&(_0x1e9272[0x0]['next']=_0x1e9272[0x1],_0x1e9272[0x1]['previous']=_0x1e9272[0x0],_0xffd17e['add'](_0x1e9272[0x0]),_0x5f3a4f['add'](_0x1e9272[0x1]));}}function _0x506056(_0x1bc433,_0x261ec1){if(_0x1bc433['author']['id']!==_0x261ec1['author']['id'])return null;const _0x555925=_0x4a8a56['get'](_0x1bc433)(_0x1bc433,_0x261ec1,_0x4929df['get'](_0x1bc433),_0x4929df['get'](_0x261ec1));return _0x555925&&_0x4a8a56['get'](_0x261ec1)(_0x1bc433,_0x261ec1,_0x4929df['get'](_0x1bc433),_0x4929df['get'](_0x261ec1))?_0x555925[0x1]['commentThread']&&_0x555925[0x1]['commentThread']['length']?null:_0x555925:null;}_0x144d26['size']&&this['_refreshSuggestionsChain'](_0x144d26);}['_refreshAttributeSuggestionsChain'](_0x25519f){if(0x0==_0x25519f['length'])return;const _0x1513d2=this['getSuggestions']({'skipNotAttached':!0x0})['filter'](_0x524c4b=>'attribute'==_0x524c4b['type']&&_0x524c4b['_isDataLoaded']),_0x2bfac7=[],_0x4ae35a=new Map();for(const _0x59a246 of _0x1513d2){const _0x2035b0=_0x170940(_0x59a246['attributes']);_0x4ae35a['has'](_0x2035b0)||(_0x4ae35a['set'](_0x2035b0,_0x2bfac7['length']),_0x2bfac7['push']([])),_0x2bfac7[_0x4ae35a['get'](_0x2035b0)]['push'](_0x59a246);}!(function(){_0x2bfac7['sort']((_0x1cc0f3,_0x4be46f)=>{const _0x56c527=_0x1cc0f3[0x0]['createdAt'],_0x58af1d=_0x4be46f[0x0]['createdAt'];return _0x56c527==_0x58af1d?_0x1cc0f3[0x0]['attributes']['groupId']<_0x4be46f[0x0]['attributes']['groupId']?-0x1:0x1:_0x56c527<_0x58af1d?-0x1:0x1;});for(const _0x12528d of _0x2bfac7)_0x12528d['sort']((_0x67ab38,_0x1e2697)=>_0x67ab38['id']<_0x1e2697['id']?-0x1:0x1);}());for(let _0x31053b=0x0;_0x31053b<_0x2bfac7['length'];_0x31053b++){if(0x0==_0x2bfac7[_0x31053b]['length'])continue;const _0x2cf79e=[];for(let _0x59f23e=_0x31053b+0x1;_0x59f23e<_0x2bfac7['length'];_0x59f23e++)0x0!=_0x2bfac7[_0x59f23e]['length']&&_0x591971(_0x2bfac7[_0x31053b],_0x2bfac7[_0x59f23e])&&_0x2cf79e['push'](_0x59f23e);for(const _0x2141c7 of _0x2cf79e)_0x2bfac7[_0x31053b]=_0x2bfac7[_0x31053b]['concat'](_0x2bfac7[_0x2141c7]),_0x2bfac7[_0x2141c7]=[];}for(const _0x5961ec of _0x2bfac7)for(let _0x1b671b=0x0;_0x1b671b<_0x5961ec['length'];_0x1b671b++){const _0x45c79a=_0x5961ec[_0x1b671b+0x1]||null;_0x5961ec[_0x1b671b]['next']!==_0x45c79a&&(_0x5961ec[_0x1b671b]['next']=_0x45c79a);}for(const _0x426e23 of _0x2bfac7)for(let _0x3d50a5=0x0;_0x3d50a5<_0x426e23['length'];_0x3d50a5++){const _0x4b075c=_0x426e23[_0x3d50a5-0x1]||null;_0x426e23[_0x3d50a5]['previous']!==_0x4b075c&&(_0x426e23[_0x3d50a5]['previous']=_0x4b075c);}function _0x591971(_0x51967d,_0x1d3db3){return(_0x51967d[0x0]['attributes']['groupId']===_0x1d3db3[0x0]['attributes']['groupId']||_0x51967d[0x0]['author']===_0x1d3db3[0x0]['author'])&&(!!function(_0x7658f0,_0x1d8b25){return!_0x7658f0['hasComments']&&!_0x1d8b25['hasComments']||(!_0x7658f0['hasComments']||!_0x1d8b25['hasComments'])&&(!!(_0x7658f0['hasComments']&&_0x1d8b25['createdAt']<_0x7658f0['commentThread']['comments']['get'](0x0)['createdAt'])||!!(_0x1d8b25['hasComments']&&_0x7658f0['createdAt']<_0x1d8b25['commentThread']['comments']['get'](0x0)['createdAt']));}(_0x51967d[0x0],_0x1d3db3[0x0])&&(!!ft(Lt(_0x51967d[0x0]['attributes'],['groupId','trackingSessionId']),Lt(_0x1d3db3[0x0]['attributes'],['groupId','trackingSessionId']))&&(_0x51967d[0x0]['attributes']['groupId']==_0x1d3db3[0x0]['attributes']['groupId']||_0x51967d[0x0]['attributes']['trackingSessionId']===_0x1d3db3[0x0]['attributes']['trackingSessionId']&&(!!_0x51967d['every'](_0x3ffead=>_0x1d3db3['some'](_0x3c2949=>_0x3ffead['getFirstRange']()['isEqual'](_0x3c2949['getFirstRange']())))&&_0x1d3db3['every'](_0x5db2fa=>_0x51967d['some'](_0x34af85=>_0x5db2fa['getFirstRange']()['isEqual'](_0x34af85['getFirstRange']())))))));}}['_joinWithAdjacentSuggestions'](_0xd1452b){const _0x114fa3=Array['from'](_0xd1452b),_0x427a33=this['getSuggestions']({'skipNotAttached':!0x0}),_0x4c613a=_0x427a33['filter'](_0x5b913d=>!_0xd1452b['has'](_0x5b913d)),_0x3d7ddd=new Map(_0x114fa3['map'](_0x4920e7=>[_0x4920e7,this['_suggestionFactory']['getSuggestionCallback'](_0x4920e7['type'],_0x4920e7['subType'],'join')])),_0x35a207=new Map(_0x427a33['map'](_0x55f175=>[_0x55f175,_0x55f175['getRanges']()]));for(let _0x581c8a=0x0;_0x581c8a<_0x114fa3['length'];_0x581c8a++)if(_0x52db3a(this,_0x114fa3[_0x581c8a],_0x114fa3,_0x581c8a+0x1))return!0x0;for(let _0x56889a=0x0;_0x56889a<_0x114fa3['length'];_0x56889a++)if(_0x52db3a(this,_0x114fa3[_0x56889a],_0x4c613a,0x0))return!0x0;return!0x1;function _0x52db3a(_0x179e98,_0x5a88fa,_0xdff09b,_0x331350){for(let _0x228f4e=_0x331350;_0x228f4e<_0xdff09b['length'];_0x228f4e++){const _0x910fb9=_0xdff09b[_0x228f4e];if(_0x910fb9['type']!==_0x5a88fa['type']||_0x910fb9['author']['id']!==_0x5a88fa['author']['id']||_0x910fb9['subType']!==_0x5a88fa['subType'])continue;if(!_0x4cea30(_0x5a88fa,_0x910fb9))continue;if('attribute'==_0x5a88fa['type']&&_0x5a88fa['data']['oldValue']!=_0x910fb9['data']['oldValue'])continue;if('attribute'==_0x5a88fa['type']&&_0x179e98['_suggestionsConversion']['isBlockAttribute'](_0x5a88fa['data']['key']))continue;if('formatBlock'==_0x5a88fa['type']){const _0x2d51ba=_0x179e98['editor']['model'],_0x4a6e72=_0x5a88fa['getContainedElement']();if(_0x4a6e72&&(_0x2d51ba['schema']['isObject'](_0x4a6e72)||_0x2d51ba['schema']['isLimit'](_0x4a6e72)))continue;}const _0x291c09=_0x3d7ddd['get'](_0x5a88fa),_0x465e69=_0x35a207['get'](_0x5a88fa),_0x2bb0f3=_0x35a207['get'](_0x910fb9),_0x8411f=_0x5a88fa['commentThread']&&_0x5a88fa['commentThread']['length'],_0xe4dcce=_0x910fb9['commentThread']&&_0x910fb9['commentThread']['length'];if(!_0x8411f&&_0x291c09(_0x2bb0f3,_0x465e69))return _0x179e98['_joinSuggestions'](_0x910fb9,_0x5a88fa),_0x35a207['delete'](_0x5a88fa),!0x0;if(!_0xe4dcce&&_0x291c09(_0x465e69,_0x2bb0f3))return _0x179e98['_joinSuggestions'](_0x5a88fa,_0x910fb9),_0x35a207['delete'](_0x910fb9),!0x0;}return!0x1;}}['_joinSuggestions'](_0x630e37,_0xb5fa38){if(_0x630e37['isMultiRange']){for(const _0x5371e6 of _0xb5fa38['getRanges']())_0x630e37['addRange'](_0x5371e6);}else{const _0x22c478=_0xb5fa38['getFirstRange']()['end'];this['_setSuggestionRange'](_0x630e37,this['_model']['createRange'](_0x630e37['getFirstRange']()['start'],_0x22c478));}_0xb5fa38['removeMarkers']();}['_getMarkerAnnouncementText'](_0x31cd20,_0x13a7ba,_0x12fa19){const _0x2621e8=_0x31cd20['startsWith']('format')||_0x31cd20['startsWith']('attribute')?'FORMATTING':_0x31cd20['toUpperCase']();return _0x45b6d4(this['editor']['locale'],_0x13a7ba+'_'+_0x2621e8+'_SUGGESTION_ANNOUNCEMENT',_0x12fa19);}['_initAriaMarkerChangeAnnouncements'](){const _0x1c43c4=this['editor'];if(!_0x1c43c4['ui'])return;const {ariaLiveAnnouncer:_0x9914b0}=_0x1c43c4['ui'];_0x4bc8d4(this['_model'],({left:_0x580e94,entered:_0x4ab749})=>{for(const _0x54b736 of _0x580e94){const {group:_0x4ee2c6,type:_0x443da7}=_0x567555(_0x54b736['name']);if('suggestion'===_0x4ee2c6){_0x9914b0['announce'](this['_getMarkerAnnouncementText'](_0x443da7,'LEAVE'));break;}}for(const _0x60efac of _0x4ab749){const {group:_0x519850,type:_0x52316f}=_0x567555(_0x60efac['name']);if('suggestion'===_0x519850){_0x9914b0['announce'](this['_getMarkerAnnouncementText'](_0x52316f,'ENTER',(0x0,_0x14e616['getEnvKeystrokeText'])(_0x1fa44b)));break;}}});}['_processAttributeChanges'](_0x300fdf){if(this['_recordAttributeSuggestions'])return!0x1;const _0x2831e0=this['editor'],_0x5b5877=_0x2831e0['model']['document']['differ']['getChanges']();if(0x0==_0x5b5877['length'])return!0x1;const _0xfb179c=[],_0x59bd8b=_0x5b5877['filter'](_0x231062=>'attribute'==_0x231062['type']),_0xffa3cb=_0x5b5877['filter'](_0x4cf1ae=>'insert'==_0x4cf1ae['type']&&'$text'!=_0x4cf1ae['name']),_0x3df547=_0x5b5877['filter'](_0x4aa548=>'remove'==_0x4aa548['type']&&'$text'!=_0x4aa548['name']);for(const _0x1e75a7 of _0x59bd8b)_0xfb179c['push']({'key':_0x1e75a7['attributeKey'],'newValue':_0x1e75a7['attributeNewValue'],'oldValue':_0x1e75a7['attributeOldValue'],'range':_0x215718(_0x1e75a7['range'],_0x2831e0['model'])});for(const _0x490bfe of _0xffa3cb){const _0x3f19de=_0x3df547['find'](_0x11c8e8=>_0x11c8e8['position']['isEqual'](_0x490bfe['position']));_0x3f19de&&_0xfb179c['push']({'key':_0x1ad885,'newValue':_0x490bfe['name'],'oldValue':_0x3f19de['name'],'range':_0x2831e0['model']['createRangeOn'](_0x490bfe['position']['nodeAfter'])});}return 0x0!=_0xfb179c['length']&&this['_reduceExistingSuggestions'](_0x300fdf,_0xfb179c);}['_processAttributeSuggestions'](_0x7444a8){let _0xc7a5be=!0x1;const _0x415a4f=this['editor']['model']['document']['differ']['getChangedMarkers']()['filter'](_0x2b29b6=>_0x2b29b6['data']['newRange']&&_0x2b29b6['name']['startsWith']('suggestion:attribute:'));for(const _0x3c0e64 of _0x415a4f){const {subType:_0x4108c7,id:_0x138a9a}=_0x567555(_0x3c0e64['name']),_0x4622fa=_0x4108c7['split']('|')[0x0];for(const _0x2c9d40 of this['getSuggestions']({'skipNotAttached':!0x0}))_0x2c9d40['id']!=_0x138a9a&&'attribute'==_0x2c9d40['type']&&_0x2c9d40['data']&&_0x2c9d40['data']['key']==_0x4622fa&&_0x2c9d40['getFirstRange']()['isIntersecting'](_0x3c0e64['data']['newRange'])&&(this['_reduceSuggestionAttributeRange'](_0x2c9d40,_0x3c0e64['data']['newRange'],_0x7444a8),_0xc7a5be=!0x0);}return _0xc7a5be;}['recordAttributeChanges'](_0x30037e){this['_recordAttributeSuggestions']=!0x0,_0x30037e();}['_reduceExistingSuggestions'](_0x186599,_0x45a44a){if(0x0==_0x45a44a['length'])return!0x1;let _0x5554e6=!0x1;for(const _0x14e40a of _0x45a44a){const _0x4b7450=this['_findSuggestions'](_0x14e40a['range'],'attribute')['filter'](_0x2adfad=>!_0x2adfad['meta']['isNextTo'])['map'](_0x1d4d46=>_0x1d4d46['suggestion']),_0x2b14ad=_0x170940({'newValue':_0x14e40a['newValue']});_0x4b7450['filter'](_0x29a6ab=>{const [_0x3d7bc7,_0x33d1c5]=_0x29a6ab['subType']['split']('|');return _0x3d7bc7==_0x14e40a['key']&&_0x33d1c5!=_0x2b14ad;})['forEach'](_0x265508=>{this['_reduceSuggestionAttributeRange'](_0x265508,_0x14e40a['range'],_0x186599),_0x5554e6=!0x0;});}return _0x5554e6;}['_reduceSuggestionAttributeRange'](_0x10b812,_0x287e7f,_0x5cd92c){const _0x249e9d=_0x10b812['getFirstRange']()['getDifference'](_0x287e7f);0x0!==_0x249e9d['length']?0x1!==_0x249e9d['length']?this['_breakSuggestionMarker'](_0x10b812,_0x287e7f['start'],_0x287e7f['end']):this['_setSuggestionRange'](_0x10b812,_0x249e9d[0x0]):_0x5cd92c['removeMarker'](_0x10b812['getFirstMarker']());}},_0x1897a0=class{['_editor'];['_model'];['_customCallbacks'];['_defaultCallbacks'];constructor(_0x14b569){this['_editor']=_0x14b569,this['_model']=_0x14b569['model'],this['_customCallbacks']=new Map(),this['_defaultCallbacks']=new Map(),this['_registerDefaultCallbacks']();}['buildSuggestion'](_0x2549d9,_0xc8ce09,_0xa64e28,_0x2313be,_0xe4f4c2,_0x22e631,_0x2182cb){return new _0x212bf7(this['_model'],{'type':_0x2549d9,'subType':_0xc8ce09,'id':_0xa64e28,'originalSuggestionId':_0x2182cb,'author':_0x2313be,'creator':_0x2313be,'attributes':_0xe4f4c2,'onAttributesChange':_0x22e631,'onAccept':(..._0x13cd28)=>this['getSuggestionCallback'](_0x2549d9,_0xc8ce09,'accept')(..._0x13cd28),'onDiscard':(..._0x136574)=>this['getSuggestionCallback'](_0x2549d9,_0xc8ce09,'discard')(..._0x136574)});}['registerCustomCallback'](_0x569650,_0xada378,_0xf960d3,_0x401fc3){const _0x9613df=_0x569650+':'+_0xada378+':'+_0xf960d3;this['_customCallbacks']['set'](_0x9613df,_0x401fc3);}['getSuggestionCallback'](_0x76e20b,_0x1d875e,_0x21b9ff){const _0x257220=_0x76e20b+':'+_0x1d875e+':'+_0x21b9ff;return this['_customCallbacks']['get'](_0x257220)||this['_defaultCallbacks']['get'](_0x76e20b+':'+_0x21b9ff);}['_registerDefaultCallbacks'](){const _0x50adae=()=>!0x1,_0x5ade4c=_0x5ad696=>{_0x5ad696['sort']((_0x350c77,_0x53a978)=>_0x350c77['start']['isBefore'](_0x53a978['start'])?0x1:-0x1),this['_model']['change'](_0x5c630d=>{for(const _0x45f0b9 of _0x5ad696){let _0x1a166a;_0x1a166a=_0x45f0b9['end']['isAtEnd']&&_0x45f0b9['end']['parent']==_0x45f0b9['start']['nodeAfter']?_0x5c630d['createSelection'](_0x45f0b9['start']['nodeAfter'],'on'):_0x5c630d['createSelection'](_0x45f0b9),this['_model']['deleteContent'](_0x1a166a,{'forceDefaultExecution':!0x0,'doNotAutoparagraph':!0x0,'doNotFixSelection':!0x0});}});},_0x4731e4=(_0x229e81,_0x2fa14d)=>{_0x2fa14d&&this['_model']['change'](_0x1ce9ec=>{const {commandName:_0x296d46,commandParams:_0x4180d8=[]}=_0x2fa14d,_0x2add6e=_0x229e81['map'](_0x36c666=>(_0x516c77(_0x36c666)&&(_0x36c666=this['_model']['createRange'](_0x36c666['end'])),_0x36c666))['filter'](_0x1140dd=>'$graveyard'!==_0x1140dd['root']['rootName']);if(_0x2add6e['length']<0x1)return;const _0x5a467b=Array['from'](this['_model']['document']['selection']['getRanges']())['map'](_0x46eab8=>_0x14e616['ModelLiveRange']['fromRange'](_0x46eab8));_0x1ce9ec['setSelection'](_0x2add6e);for(const _0x32b64c of this['_editor']['commands']['commands']())_0x32b64c['refresh']();_0x4180d8['push']({'forceDefaultExecution':!0x0}),this['_editor']['execute'](_0x296d46,..._0x4180d8);const _0x27bd8b=_0x5a467b['filter'](_0x54a9e6=>'$graveyard'!=_0x54a9e6['root']['rootName']);_0x27bd8b['length']>0x0&&_0x1ce9ec['setSelection'](_0x27bd8b);for(const _0x2704ea of _0x5a467b)_0x2704ea['detach']();});},_0x5ddf09=(_0x550073,_0x5332d1)=>0x1==_0x550073['length']&&0x1==_0x5332d1['length']&&_0x550073[0x0]['end']['isEqual'](_0x5332d1[0x0]['start']),_0x1808a2=(_0x2485e7,_0x12616f,_0x3c8a2b,_0x346ca)=>_0x237a87(_0x2485e7,_0x12616f,_0x3c8a2b,_0x346ca)?[_0x2485e7,_0x12616f]:_0x237a87(_0x12616f,_0x2485e7,_0x346ca,_0x3c8a2b)?[_0x12616f,_0x2485e7]:null;this['_defaultCallbacks']['set']('insertion:accept',_0x50adae),this['_defaultCallbacks']['set']('insertion:discard',_0x5ade4c),this['_defaultCallbacks']['set']('insertion:join',_0x5ddf09),this['_defaultCallbacks']['set']('insertion:chain',_0x1808a2),this['_defaultCallbacks']['set']('deletion:accept',_0x5ade4c),this['_defaultCallbacks']['set']('deletion:discard',_0x50adae),this['_defaultCallbacks']['set']('deletion:join',_0x5ddf09),this['_defaultCallbacks']['set']('deletion:chain',_0x1808a2),this['_defaultCallbacks']['set']('formatInline:accept',_0x4731e4),this['_defaultCallbacks']['set']('formatInline:discard',_0x50adae),this['_defaultCallbacks']['set']('formatInline:join',_0x5ddf09),this['_defaultCallbacks']['set']('formatInline:chain',_0x50adae),this['_defaultCallbacks']['set']('formatBlock:accept',_0x4731e4),this['_defaultCallbacks']['set']('formatBlock:discard',_0x50adae),this['_defaultCallbacks']['set']('formatBlock:join',_0x5ddf09),this['_defaultCallbacks']['set']('formatBlock:chain',_0x50adae),this['_defaultCallbacks']['set']('attribute:accept',_0x50adae),this['_defaultCallbacks']['set']('attribute:discard',(_0x529c32,_0x420ff4)=>{if(!_0x420ff4)return;const _0x40ddcc=this['_editor']['plugins']['get'](_0x44c64b);this['_model']['change'](_0x21236f=>{if('$elementName'==_0x420ff4['key'])for(const _0x58fcdf of _0x529c32){const _0x5ab53d=_0x58fcdf['start']['nodeAfter'],_0xd68d20=_0x420ff4['oldValue'];_0x21236f['rename'](_0x5ab53d,_0xd68d20);}else{if(_0x40ddcc['isBlockAttribute'](_0x420ff4['key'])){for(const _0x2dec52 of _0x529c32)void 0x0!==_0x420ff4['oldValue']?_0x21236f['setAttribute'](_0x420ff4['key'],_0x420ff4['oldValue'],_0x2dec52['start']['nodeAfter']):_0x21236f['removeAttribute'](_0x420ff4['key'],_0x2dec52['start']['nodeAfter']);}else{for(const _0x2269dc of _0x529c32)_0x420ff4['oldValue']?_0x21236f['setAttribute'](_0x420ff4['key'],_0x420ff4['oldValue'],_0x2269dc):_0x21236f['removeAttribute'](_0x420ff4['key'],_0x2269dc);}}});}),this['_defaultCallbacks']['set']('attribute:join',_0x5ddf09);}};function _0x37cb87(_0x22aeca,_0x427418,_0x1d0d3e){for(const _0x548246 of _0x427418['parent']['getAncestors']({'includeSelf':!0x0,'parentFirst':!0x0})){if(_0x548246['root']==_0x548246)return!0x1;if(!_0x1d0d3e['containsItem'](_0x548246))return!0x1;if(_0x22aeca['isObject'](_0x548246)||_0x22aeca['isLimit'](_0x548246))return!0x0;}return!0x1;}function _0x516c77(_0x1fa941){return _0x1fa941['end']['parent']==_0x1fa941['start']['nodeAfter']&&_0x1fa941['end']['isAtStart'];}function _0x2eebe7(_0x2a7629,_0x4fcf8a,_0x457f54,_0x11f831){const _0x324f4f=_0xa61d66=>!_0xa61d66['item']['is']('$textProxy')&&!_0x11f831['isObject'](_0xa61d66['item']),_0x498f50=_0x2a7629['start']['getLastMatchingPosition'](_0x324f4f),_0x281aa0=_0x2a7629['end']['getLastMatchingPosition'](_0x324f4f,{'direction':'backward'});return(!_0x2a7629['start']['isEqual'](_0x498f50)||!_0x2a7629['end']['isEqual'](_0x281aa0))&&(_0x498f50['isBefore'](_0x281aa0)?_0x457f54['updateMarker'](_0x4fcf8a,{'range':_0x457f54['createRange'](_0x498f50,_0x281aa0)}):_0x457f54['removeMarker'](_0x4fcf8a),!0x0);}function _0x39f02c(_0x1782df){return _0x170940(_0x1782df);}function _0x41704c(_0x1c4c44){const _0x5e828b=_0x1c4c44['start']['nodeAfter'];return _0x5e828b&&_0x5e828b['is']('element');}function _0x144309(_0x17e845){return _0x516c77(_0x17e845)||function(_0x2d0646){return _0x2d0646['start']['parent']==_0x2d0646['end']['nodeBefore']&&_0x2d0646['start']['isAtEnd'];}(_0x17e845);}function _0xadfd85(_0x23198e,_0x1eecd5){try{const _0x4519bb=_0x23198e['getRange']();for(const _0x524f12 of _0x1eecd5)if(_0x23198e!==_0x524f12&&_0x4519bb&&_0x4519bb['isIntersecting'](_0x524f12['getRange']()))return!0x0;return!0x1;}catch{return!0x1;}}function _0x215718(_0x2e918,_0x29f4a3){return null==_0x2e918['end']['nodeBefore']&&_0x2e918['end']['parent']==_0x2e918['start']['nodeAfter']?_0x43ef68(_0x2e918['start']['nodeAfter'],_0x29f4a3):_0x2e918;}function _0x43ef68(_0x596bf8,_0x1ee8ee){const _0x249a1a=_0x1ee8ee['schema']['isObject'](_0x596bf8)||_0x1ee8ee['schema']['isSelectable'](_0x596bf8);return _0x1ee8ee['createRange'](_0x1ee8ee['createPositionAt'](_0x596bf8,'before'),_0x249a1a?_0x1ee8ee['createPositionAfter'](_0x596bf8):_0x1ee8ee['createPositionAt'](_0x596bf8,'end'));}function _0x237a87(_0x45a5be,_0x5325e0,_0x3a6b2f,_0x526157){return!!_0x4cea30(_0x45a5be,_0x5325e0)&&_0x3a6b2f['end']['isEqual'](_0x526157['start']);}function _0x4cea30(_0x2d3325,_0x449d29){if(!_0x2d3325['_isDataLoaded']||!_0x449d29['_isDataLoaded'])return!0x1;const _0x1c0ff5=new Set(Object['keys'](_0x2d3325['attributes'])),_0x17ce94=new Set(Object['keys'](_0x449d29['attributes']));if(_0x1c0ff5['delete']('groupId'),_0x17ce94['delete']('groupId'),0x0==_0x1c0ff5['size']&&0x0==_0x17ce94['size'])return!0x0;if(_0x1c0ff5['size']!=_0x17ce94['size'])return!0x1;const _0x2d137f={..._0x2d3325['attributes']},_0x2479ad={..._0x449d29['attributes']};return delete _0x2d137f['groupId'],delete _0x2479ad['groupId'],JSON['stringify'](_0x2d137f)==JSON['stringify'](_0x2479ad);}function _0x4ad55f(_0x3bf93d,_0x51e6c2){const _0x8afc85=_0x13d462(_0x3bf93d['attributes']),_0x544cb5=_0x13d462(_0x51e6c2);if(!_0x3bf93d['_isDataLoaded'])return!0x1;if(!ft(_0x8afc85['@ai'],_0x544cb5['@ai']))return!0x1;for(const _0x2e87a of Object['keys'](_0x544cb5))if(!ft(_0x8afc85[_0x2e87a],_0x544cb5[_0x2e87a]))return!0x1;return!0x0;}function _0x13d462(_0x4a3415){const _0x203093=Object['assign']({},_0x4a3415);return delete _0x203093['skipNestingCheck'],delete _0x203093['tablePasteChainId'],_0x203093;}function tI(_0x25e174){return _0x25e174['split']('|')[0x0];}const _0xcf773c=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x3fca32=class extends _0xcf773c{['model'];['view'];['commentThreadController'];['_editor'];['_acceptCommand'];['_discardCommand'];['_pendingAction'];constructor(_0x598e20,_0x425df6,_0x4e039d,_0x535e85){super(),this['model']=_0x425df6,this['view']=_0x4e039d,this['commentThreadController']=_0x535e85,this['_editor']=_0x598e20,this['_acceptCommand']=_0x598e20['commands']['get']('acceptSuggestion'),this['_discardCommand']=_0x598e20['commands']['get']('discardSuggestion'),this['view']['bind']('isEnabled')['to'](this['_acceptCommand'],this['_discardCommand'],(_0x4b4b7b,_0x1181a3)=>_0x4b4b7b||_0x1181a3),this['view']['bind']('canAccept')['to'](this['_acceptCommand'],'isEnabled',_0x386d64=>_0x386d64&&this['_editor']['model']['canEditAt'](_0x425df6['getRanges']())),this['view']['bind']('canDiscard')['to'](this['_discardCommand'],'isEnabled',_0x26bdc2=>_0x26bdc2&&this['_editor']['model']['canEditAt'](_0x425df6['getRanges']())),this['_pendingAction']=null,_0x4e039d['isDirty']&&this['_setPendingAction'](),this['listenTo'](_0x4e039d,'acceptSuggestion',()=>this['acceptSuggestion']()),this['listenTo'](_0x4e039d,'discardSuggestion',()=>this['discardSuggestion']()),this['listenTo'](_0x4e039d,'change:isDirty',()=>{_0x4e039d['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 _0x1af147=_0x45b6d4(this['_editor']['locale'],'PENDING_ACTION_SUGGESTION');this['_pendingAction']=this['_editor']['plugins']['get']('PendingActions')['add'](_0x1af147);}['_removePendingAction'](){null!==this['_pendingAction']&&this['_editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null;}},_0x4f33f1=class extends _0x14e616['View']{['commentsListView'];['commentThreadInputView'];['ariaDescriptionView'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_localUser'];['_config'];constructor(_0x3ce607,_0x572da4,_0x400b10,_0x137f7d){super(_0x3ce607),this['commentsListView']=null,this['commentThreadInputView']=null,this['ariaDescriptionView']=new _0x17f7ca(_0x3ce607,_0x45b6d4(_0x3ce607,'SUGGESTION_THREAD_DESCRIPTION')),this['set']('isActive',!0x1),this['set']('authoredAt',_0x572da4['authoredAt']),this['bind']('authoredAt')['to'](_0x572da4),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',_0x572da4,'authoredAt',this,'descriptionParts',(_0x50fa63,_0x522307,_0x4065e8)=>{const _0xfc9a95=_0x4065e8['map'](_0x3e064e=>_0x54b570(_0x3e064e['content']))['join']('.\x20')+'.',_0x5582ab=_0x572da4['aiSource']&&'author'===_0x137f7d['showAISource']?_0x137f7d['aiAuthor']['name']:_0x572da4['author']['name'],_0x228222=_0x45b6d4(this['locale'],'SUGGESTION_THREAD_ARIA_LABEL',[_0x50fa63-0x1,_0x5582ab,_0x522307?_0x137f7d['formatDateTime'](_0x522307):'',new DOMParser()['parseFromString'](_0xfc9a95,'text/html')['body']['textContent']]);return _0x572da4['aiSource']&&'pill'===_0x137f7d['showAISource']?_0x228222+'\x20'+_0x45b6d4(this['locale'],'AI_SOURCE_PILL_TOOLTIP'):_0x228222;}),this['focusables']=new _0x14e616['ViewCollection'](),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'keystrokeHandlerOptions':{'filter':_0x2c2a61=>_0x2c2a61['target']!==this['element']},'actions':{'focusPrevious':'shift+tab','focusNext':'tab'}}),this['_model']=_0x572da4,this['_localUser']=_0x400b10,this['_config']=_0x137f7d,_0x137f7d['disableComments']?this['set']('length',0x1):this['_createCommentViews']();}['render'](){super['render'](),_0x39fd70(this,this['focusables']);}['focus'](){this['element']['focus']();}['destroy'](){this['commentsListView']&&this['commentsListView']['destroy'](),this['commentThreadInputView']&&this['commentThreadInputView']['destroy'](),super['destroy']();}['_createCommentViews'](){const {CommentsListView:_0x127397}=this['_config'];this['commentsListView']=new _0x127397(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',_0x2a3c7=>_0x2a3c7+0x1),this['commentThreadInputView']=this['_createCommentThreadInputView'](),this['on']('removeComment',()=>this['focus']()),this['bind']('isDirty')['to'](this['commentsListView'],'hasDirtyComment',this['commentThreadInputView']['commentInputView'],'value',(_0x5c70ef,_0x535e8d)=>_0x5c70ef||!!_0x535e8d);}['_createCommentThreadInputView'](){const {CommentThreadInputView:_0x39ff00}=this['_config'],_0x5d944f=new _0x39ff00(this['locale'],this['_localUser'],this['_config']['editorConfig']),_0x40fc13=_0x5d944f['commentInputView'];return _0x5d944f['bind']('showInput')['to'](this,'isActive',this['_model']['commentThread'],'isReadOnly',_0x40fc13,'value',(_0x1b542d,_0x9517d0,_0x2b9544)=>!!_0x2b9544||_0x1b542d&&!_0x9517d0),_0x40fc13['on']('submit',(_0x5965d7,_0x477055)=>{this['fire']('addComment',_0x477055),_0x40fc13['editor']['setData']('');}),_0x40fc13['on']('cancel',()=>this['focus']()),_0x40fc13['bind']('disabledSubmit')['to'](this['_model']['commentThread'],'isReadOnly'),_0x5d944f;}},_0x37ca73=class extends _0x4f33f1{['suggestionView'];['_descriptionElement'];constructor(_0xd4337e,_0x10c875,_0x241b65,_0x40b2f6){super(_0xd4337e,_0x10c875,_0x241b65,_0x40b2f6),this['set']('type',''),this['bind']('type')['to'](this,'descriptionParts',_0x436095=>_0x436095&&_0x436095[0x0]?_0x436095[0x0]['type']:''),this['bind']('description')['to'](this,'descriptionParts',this,'isActive',(_0x3a46f6,_0x59855d)=>{let _0x150089='';for(const _0x2b6760 of _0x3a46f6)_0x150089+='<p>'+_0x54b570(_0x2b6760['content'],_0x2b6760['color'])+'</p>';return _0x59855d?_0x150089:_0x3cfc21(_0x150089,{'limit':0x8c});}),this['_descriptionElement']=null,this['suggestionView']=new _0x40b2f6['SuggestionView'](_0xd4337e,_0x10c875,{'formatDateTime':_0x40b2f6['formatDateTime'],'showAISource':_0x40b2f6['showAISource'],'aiAuthor':_0x40b2f6['aiAuthor']}),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 _0x126a6e=this['bindTemplate'],_0x519d03=[this['suggestionView']];return this['commentsListView']&&_0x519d03['push'](this['commentsListView']),this['commentThreadInputView']&&_0x519d03['push'](this['commentThreadInputView']),_0x519d03['push'](this['ariaDescriptionView']),{'tag':'div','attributes':{'class':['ck','ck-rounded-corners','ck-suggestion-wrapper',_0x126a6e['if']('isActive','ck-suggestion-wrapper--active'),_0x126a6e['to']('type',_0x3f9fd6=>'ck-suggestion-'+_0x3f9fd6),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':_0x126a6e['to']('ariaLabel'),'aria-describedby':this['ariaDescriptionView']['id']},'children':_0x519d03};}['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));}},_0x1cb615=class extends _0x14e616['View']{['userView'];['acceptButton'];['discardButton'];['focusables'];['focusTracker'];['keystrokes'];['focusCycler'];['_model'];['_config'];constructor(_0x580472,_0x2e0c71,_0x51b6fc){super(_0x580472),this['_model']=_0x2e0c71,this['_config']=_0x51b6fc,this['set']('description',''),this['bind']('authoredAt')['to'](_0x2e0c71),this['acceptButton']=this['_createButton'](_0x45b6d4(_0x580472,'Accept\x20suggestion'),_0x14e616['IconCheck'],'ck-suggestion--accept','acceptSuggestion','sw'),this['discardButton']=this['_createButton'](_0x45b6d4(_0x580472,'Discard\x20suggestion'),_0x14e616['IconCancel'],'ck-suggestion--discard','discardSuggestion','sw');const _0xc468bc=!!_0x2e0c71['aiSource']&&'author'===_0x51b6fc['showAISource'],_0x1fe4f0=_0xc468bc?this['_createAIUser'](_0x51b6fc['aiAuthor']):_0x2e0c71['author'],_0x1ab2df=_0xc468bc&&!_0x51b6fc['aiAuthor']['avatar']?_0x14e616['IconAIAuthor']:void 0x0;this['userView']=new _0x1a027b(_0x580472,_0x1fe4f0,this['getUserViewNotificationText'](),_0x1ab2df),this['userView']['extendTemplate']({'attributes':{'class':['ck-suggestion__user','ck-annotation__user'],'aria-hidden':!0x0}}),this['focusables']=new _0x14e616['ViewCollection']([this['acceptButton'],this['discardButton']]),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['focusCycler']=new _0x14e616['FocusCycler']({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift+tab','focusNext':'tab'},'keystrokeHandlerOptions':{'filter':_0x41c9f1=>_0x41c9f1['target']!==this['element']}}),this['setTemplate'](this['getTemplate']());}['render'](){super['render']();const _0x552926=this['element']['querySelector']('.ck-annotation__content-wrapper');_0x552926['innerHTML']=this['description'],this['on']('change:description',(_0x41814c,_0x957381,_0x38bee2)=>{_0x552926['innerHTML']=_0x38bee2;}),this['_setupKeyboardNavigation']();}['getTemplate'](){const _0x2380b9=this['bindTemplate'],_0x1c06eb=[{'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':_0x2380b9['to']('authoredAt'),'class':['ck-comment__info-time','ck-annotation__info-time']},'children':[{'text':_0x2380b9['to']('authoredAt',_0x4b623f=>this['_config']['formatDateTime'](_0x4b623f))}]}]},{'tag':'div','attributes':{'class':['ck-suggestion__actions','ck-annotation__actions']},'children':[this['acceptButton'],this['discardButton']]},{'tag':'div','attributes':{'class':['ck-annotation__content-wrapper']}}];if(this['_model']['isExternal']&&_0x1c06eb['push']({'tag':'div','attributes':{'class':['ck-comment__external']},'children':[{'text':this['getExternalSuggestionNote']()}]}),this['_model']['aiSource']&&this['_config']['showAISource']){const _0x204e50=new _0x971b3f(this['locale']);_0x204e50['set']({'icon':_0x14e616['IconSparkle'],'label':_0x45b6d4(this['locale'],'AI_SOURCE_PILL_LABEL'),'tooltip':_0x45b6d4(this['locale'],'AI_SOURCE_PILL_TOOLTIP'),'class':'ck-pill_ai'}),_0x1c06eb['push']({'tag':'div','attributes':{'class':['ck-suggestion__ai-source-pill']},'children':[_0x204e50]});}return{'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':_0x1c06eb}]};}['focus'](){this['element']['focus']();}['getUserViewNotificationText'](){return this['_model']['isExternal']?'importWord'===this['_model']['attributes']['@external']['source']?_0x45b6d4(this['locale'],'EXTERNAL_IMPORT_WORD_AVATAR',this['_model']['creator']['name']):_0x45b6d4(this['locale'],'EXTERNAL_AVATAR',this['_model']['creator']['name']):null;}['getExternalSuggestionNote'](){return'importWord'===this['_model']['attributes']['@external']['source']?_0x45b6d4(this['locale'],'EXTERNAL_IMPORT_WORD_SUGGESTION'):_0x45b6d4(this['locale'],'EXTERNAL_SUGGESTION');}['_createAIUser'](_0x36a6cb){return new _0x44dfa2({'id':'ck-ai-author','name':_0x36a6cb['name'],'avatar':_0x36a6cb['avatar'],'color':new _0x45656f(0x0)});}['_createButton'](_0x14d5b9,_0x85fbbc,_0xd1af0e,_0x4d8d43,_0x5d0f39){const _0x3ae172=new _0x104fb5(this['locale']);return _0x3ae172['set']({'label':_0x14d5b9,'icon':_0x85fbbc,'tooltip':!0x0,'tooltipPosition':_0x5d0f39}),_0x3ae172['extendTemplate']({'attributes':{'class':_0xd1af0e}}),_0x3ae172['on']('execute',()=>{this['fire'](_0x4d8d43,this['_model']['id']);}),_0x3ae172;}['_setupKeyboardNavigation'](){const _0x2e48bc=this['element'];this['keystrokes']['listenTo'](_0x2e48bc);for(const _0xfe9363 of this['focusables'])this['focusTracker']['add'](_0xfe9363['element']),this['keystrokes']['listenTo'](_0xfe9363['element']);this['keystrokes']['set']('enter',(_0x3b0ccc,_0x1e72b9)=>{_0x2e48bc===_0x3b0ccc['target']&&(this['focusCycler']['focusFirst'](),_0x1e72b9());}),this['keystrokes']['set']('esc',(_0x25a342,_0x3788f8)=>{_0x2e48bc!==_0x25a342['target']&&(this['focus'](),_0x3788f8());});}},_0x3a9720=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['_suggestionToController'];['_viewToController'];['_annotationViews'];['_handleControllerBuffer'];['_disableComments'];static get['requires'](){return[_0x126dd6,_0x17484f,_0xc5d2f4,_0x3007a9,_0x248fa4];}static get['pluginName'](){return'TrackChangesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x1349b5){super(_0x1349b5),this['_suggestionToController']=new Map(),this['_viewToController']=new Map(),this['_annotationViews']=new Map(),this['_handleControllerBuffer']=new Map();const _0x1a6cd8=this['editor']['config'];_0x1a6cd8['define']('trackChanges.SuggestionThreadView',_0x37ca73),_0x1a6cd8['define']('trackChanges.SuggestionView',_0x1cb615),_0x1a6cd8['define']('trackChanges.disableComments',!0x1),this['_disableComments']=_0x1a6cd8['get']('trackChanges.disableComments');}['_handleSuggestionControllerDelayed'](_0x1eb1a1,_0x146c33){0x0===this['_handleControllerBuffer']['size']&&setTimeout(()=>{for(const [_0x29b44f,_0x532908]of this['_handleControllerBuffer']){const _0x5f0e06=this['_suggestionToController']['has'](_0x29b44f);_0x5f0e06||_0x532908?_0x5f0e06&&_0x532908&&this['_destroyController'](_0x29b44f):this['_initializeController'](_0x29b44f);}this['_handleControllerBuffer']['clear'](),this['editor']['plugins']['get'](_0x248fa4)['refreshSelectedViews'](),this['_refreshActiveMarkers']();},0xa),this['_handleControllerBuffer']['set'](_0x1eb1a1,_0x146c33);}['init'](){const _0xe31744=this['editor'],_0x5168d9=_0xe31744['plugins']['get'](_0x126dd6),_0x316d7f=_0xe31744['plugins']['get'](_0x3007a9),_0x544b41=_0xe31744['plugins']['get'](_0x248fa4),_0x574047=_0xe31744['plugins']['get'](_0xc5d2f4);this['_addUIComponentsToFactory'](),_0x544b41['addSourceCollector'](()=>{const _0x32630a=[];for(const [_0x1674fe,_0x67491a]of Array['from'](this['_suggestionToController'])){const _0x351998=_0x1674fe['getAllAdjacentSuggestions'](),_0x141a0e=[];for(const _0x3f51cd of _0x351998){if(!_0x3f51cd['isInContent'])continue;if(_0x3f51cd['isMultiRange']){_0x141a0e['push'](..._0x3f51cd['getRanges']());continue;}const _0x12e3e6=_0x3f51cd['getFirstRange']();if(_0x141a0e['length']>0x0){const _0x519b04=_0x141a0e[0x0]['getJoined'](_0x12e3e6);if(_0x519b04){_0x141a0e[0x0]=_0x519b04;continue;}}_0x141a0e['push'](_0x12e3e6);}_0x32630a['push']([_0x67491a['view'],_0x141a0e]);}return _0x32630a;}),this['listenTo'](_0x5168d9,'suggestionLoaded',(_0x4541df,_0x8d12d7)=>{this['listenTo'](_0x8d12d7,'change:previous',(_0xb43dd1,_0x2aac7e,_0x123424,_0xa82fc5)=>{_0x8d12d7['isInContent']&&(null==_0x123424?(this['_updateController'](_0xa82fc5['head']),this['_handleSuggestionControllerDelayed'](_0x8d12d7,!0x1)):(this['_updateController'](_0x123424['head']),null==_0xa82fc5&&this['_handleSuggestionControllerDelayed'](_0x8d12d7,!0x0)));}),null!==_0x8d12d7['previous']?this['_updateController'](_0x8d12d7['head']):this['_handleSuggestionControllerDelayed'](_0x8d12d7,!0x1);}),this['listenTo'](_0x5168d9,'suggestionUnloaded',(_0x405a70,_0x52781c,_0x3b1688)=>{this['stopListening'](_0x52781c,'change:previous'),this['_handleControllerBuffer']['delete'](_0x52781c),this['_suggestionToController']['has'](_0x52781c)&&this['_destroyController'](_0x52781c),_0x3b1688&&this['_updateController'](_0x3b1688['head']);}),this['listenTo'](_0x5168d9,'suggestionChanged',(_0x148b8e,_0x4876e5)=>{this['_updateController'](_0x4876e5);}),this['listenTo'](_0x316d7f,'change:activeAnnotations',()=>{this['_refreshActiveMarkers']();}),this['listenTo'](_0x574047,'addComment',(_0x3ece02,{threadId:_0x28a9ee,isFromAdapter:_0x5197c2})=>{if(_0x5197c2||!_0x5168d9['hasSuggestion'](_0x28a9ee))return;const _0x598581=_0x5168d9['getSuggestion'](_0x28a9ee);this['_suggestionToController']['get'](_0x598581)['view']['commentsListView']['focus'](-0x1);},{'priority':'lowest'}),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7dcc2b=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xde2778;for(const _0x56457a in _0x7dcc2b){const _0x2d8437=_0x56457a,_0x6ab6ae=_0x7dcc2b[_0x2d8437];if('trackChangesLicenseKeyValid'==_0x6ab6ae||'trackChangesLicenseKeyInvalid'==_0x6ab6ae||'trackChangesLicenseKeyExpired'==_0x6ab6ae||'trackChangesLicenseKeyDomainLimit'==_0x6ab6ae||'trackChangesLicenseKeyNotAllowed'==_0x6ab6ae||'trackChangesLicenseKeyEvaluationLimit'==_0x6ab6ae||'trackChangesLicenseKeyUsageLimit'==_0x6ab6ae){delete _0x7dcc2b[_0x2d8437],_0xde2778=_0x6ab6ae,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'trackChangesLicenseKeyInvalid'==_0xde2778&&_0x7dcc2b['_showLicenseError']('invalid'),'trackChangesLicenseKeyExpired'==_0xde2778&&_0x7dcc2b['_showLicenseError']('expired'),'trackChangesLicenseKeyDomainLimit'==_0xde2778&&_0x7dcc2b['_showLicenseError']('domainLimit'),'trackChangesLicenseKeyNotAllowed'==_0xde2778&&_0x7dcc2b['_showLicenseError']('featureNotAllowed','TrackChanges'),'trackChangesLicenseKeyEvaluationLimit'==_0xde2778&&_0x7dcc2b['_showLicenseError']('evaluationLimit'),'trackChangesLicenseKeyUsageLimit'==_0xde2778&&_0x7dcc2b['_showLicenseError']('usageLimit');},0x3e8);}['getAnnotationForSuggestion'](_0x454a72){const _0x4582c6=this['_suggestionToController']['get'](_0x454a72);return _0x4582c6&&this['editor']['plugins']['get'](_0x3007a9)['getByInnerView'](_0x4582c6['view'])||null;}['getSuggestionForAnnotation'](_0x15145a){const _0x36a59f=this['_viewToController']['get'](_0x15145a['innerView']);return _0x36a59f?_0x36a59f['model']:null;}['_refreshActiveMarkers'](){const _0x336330=this['editor']['plugins']['get'](_0x3007a9),_0x2368b6=this['editor']['plugins']['get'](_0x126dd6),_0x3895f1=Array['from'](_0x336330['activeAnnotations'],_0xede585=>_0xede585['innerView'])['filter'](_0x5c4547=>this['_viewToController']['has'](_0x5c4547)),_0x3f2f01=[];for(const _0x5748ee of _0x3895f1){const _0x14a2df=this['_viewToController']['get'](_0x5748ee)['model']['getAllAdjacentSuggestions']();_0x3f2f01['push'](..._0x14a2df['reduce']((_0x437718,_0x4fe5bf)=>[..._0x437718,..._0x4fe5bf['getMarkerNames']()],[]));}_0x2368b6['activeMarkers']=_0x3f2f01;}['_addUIComponentsToFactory'](){const _0x115924=this['editor'],_0x317dab=_0x115924['locale'],_0x3d0ede=_0x45b6d4(_0x317dab,'Track\x20changes'),_0x3adead=new _0x14e616['Collection']([{'type':'switchbutton','model':new _0x14e616['UIModel']({'withText':!0x0,'isToggleable':!0x0,'label':_0x3d0ede,'commandName':'trackChanges','role':'menuitemcheckbox'})},{'type':'separator'},{'type':'button','model':new _0x14e616['UIModel']({'withText':!0x0,'label':_0x45b6d4(_0x317dab,'Accept\x20all\x20suggestions'),'commandName':'acceptAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x14e616['UIModel']({'withText':!0x0,'label':_0x45b6d4(_0x317dab,'Accept\x20all\x20selected\x20suggestions'),'commandName':'acceptSelectedSuggestions','role':'menuitem'})},{'type':'button','model':new _0x14e616['UIModel']({'withText':!0x0,'label':_0x45b6d4(_0x317dab,'Discard\x20all\x20suggestions'),'commandName':'discardAllSuggestions','role':'menuitem'})},{'type':'button','model':new _0x14e616['UIModel']({'withText':!0x0,'label':_0x45b6d4(_0x317dab,'Discard\x20all\x20selected\x20suggestions'),'commandName':'discardSelectedSuggestions','role':'menuitem'})}]);_0x115924['plugins']['has']('TrackChangesPreview')&&_0x3adead['addMany']([{'type':'separator'},{'type':'button','model':new _0x14e616['UIModel']({'withText':!0x0,'label':_0x45b6d4(_0x317dab,'Preview\x20final\x20content'),'commandName':'previewFinalContent','role':'menuitem'})}]);for(const _0x20f3cf of _0x3adead)if(_0x4767f8(_0x20f3cf)){const _0x5b7922=_0x115924['commands']['get'](_0x20f3cf['model']['commandName']);_0x20f3cf['model']['bind']('isOn','isEnabled')['to'](_0x5b7922,'value','isEnabled');}_0x115924['ui']['componentFactory']['add']('trackChanges',_0x48dc5d=>this['_createToolbarButton'](_0x48dc5d,_0x3adead,_0x3d0ede)),_0x115924['ui']['componentFactory']['add']('menuBar:trackChanges',_0x311cc8=>this['_createMenuBarMenu'](_0x311cc8,_0x3adead,_0x3d0ede));}['_createToolbarButton'](_0x9b904a,_0x5cd0e8,_0x5e0c70){const _0xf94652=(0x0,_0x14e616['createDropdown'])(_0x9b904a,_0x14e616['SplitButtonView']),_0x280e68=this['editor']['commands']['get']('trackChanges');_0xf94652['buttonView']['set']({'tooltip':_0x5e0c70,'label':_0x5e0c70,'icon':_0x14e616['IconTrackChanges']}),_0xf94652['buttonView']['bind']('isOn')['to'](_0x280e68,'value'),_0xf94652['buttonView']['on']('execute',()=>{_0x280e68['execute'](),this['editor']['editing']['view']['focus']();}),(0x0,_0x14e616['addListToDropdown'])(_0xf94652,_0x5cd0e8,{'role':'menu'});const _0x405d90=[];for(const _0x512e08 of _0x5cd0e8)_0x4767f8(_0x512e08)&&_0x405d90['push'](this['editor']['commands']['get'](_0x512e08['model']['commandName']));const _0x142a08=_0xf94652['buttonView'];return _0x142a08['actionView']['unbind']('isEnabled'),_0x142a08['arrowView']['unbind']('isEnabled'),_0x142a08['actionView']['bind']('isEnabled')['to'](_0x280e68,'isEnabled'),_0x142a08['arrowView']['bind']('isEnabled')['toMany'](_0x405d90,'isEnabled',(..._0x14118f)=>_0x14118f['some'](_0x351ef6=>_0x351ef6)),_0xf94652['on']('execute',_0x8267b6=>{this['editor']['execute'](_0x8267b6['source']['commandName']),this['editor']['editing']['view']['focus']();}),_0xf94652;}['_createMenuBarMenu'](_0x2f8f31,_0x7b8920,_0x5da4e2){const _0x32d16a=new _0x14e616['MenuBarMenuView'](_0x2f8f31),_0x1252b5=this['editor']['commands']['get']('trackChanges');_0x32d16a['buttonView']['set']({'label':_0x5da4e2,'icon':_0x14e616['IconTrackChanges']});const _0x210c1d=new _0x14e616['MenuBarMenuListView'](_0x2f8f31);for(const _0x4d5035 of _0x7b8920){if('separator'==_0x4d5035['type']){_0x210c1d['items']['add'](new _0x14e616['ListSeparatorView'](_0x2f8f31));continue;}const _0x16b905=new _0x14e616['MenuBarMenuListItemView'](_0x2f8f31,_0x32d16a),_0x36f0df=new _0x14e616['MenuBarMenuListItemButtonView'](_0x2f8f31),_0xbfa096=_0x4d5035['model'];_0x36f0df['bind'](...Object['keys'](_0xbfa096))['to'](_0xbfa096),_0x36f0df['delegate']('execute')['to'](_0x32d16a),_0x36f0df['on']('execute',()=>{this['editor']['execute'](_0xbfa096['commandName']),this['editor']['editing']['view']['focus']();}),_0x16b905['children']['add'](_0x36f0df),_0x210c1d['items']['add'](_0x16b905);}return _0x32d16a['bind']('isEnabled')['to'](_0x1252b5,'isEnabled'),_0x32d16a['panelView']['children']['add'](_0x210c1d),_0x32d16a;}['_initializeController'](_0x155db1){const _0x3bc33a=this['editor'],_0x39d9b1=_0x3bc33a['config'],_0x5c72ba=_0x3bc33a['plugins']['get'](_0x3007a9),_0x177007=_0x3bc33a['plugins']['get'](_0xc5d2f4),_0x1512cf=_0x3bc33a['plugins']['get'](_0x248fa4),_0x327cbc=_0x3bc33a['plugins']['get'](_0x17484f)['me'],_0x53522e=_0x39d9b1['get']('trackChanges')['SuggestionThreadView'],_0x3c6c33=_0x39d9b1['get']('trackChanges')['SuggestionView'],{CommentsListView:_0x5c88af,CommentThreadInputView:_0x4d7ae8}=_0x3bc33a['plugins']['get']('CommentsUI');let _0x213bfb,_0x14ae69,_0x246138;this['_annotationViews']['has'](_0x155db1['id'])?(_0x14ae69=this['_annotationViews']['get'](_0x155db1['id']),_0x213bfb=_0x14ae69['mainView']):(_0x213bfb=new _0x53522e(_0x3bc33a['locale'],_0x155db1,_0x327cbc,{'disableComments':this['_disableComments'],'editorConfig':{..._0x39d9b1['get']('comments.editorConfig'),'licenseKey':_0x39d9b1['get']('licenseKey')},'maxCommentsWhenCollapsed':_0x39d9b1['get']('comments.maxCommentsWhenCollapsed'),'maxThreadTotalWeight':_0x39d9b1['get']('comments.maxThreadTotalWeight'),'maxCommentCharsWhenCollapsed':_0x39d9b1['get']('comments.maxCommentCharsWhenCollapsed'),'formatDateTime':_0x1f91ed(_0x39d9b1['get']('locale'),_0x3bc33a['locale']),'CommentView':_0x39d9b1['get']('comments')['CommentView'],'CommentsListView':_0x5c88af,'CommentThreadInputView':_0x4d7ae8,'SuggestionView':_0x3c6c33,'showAISource':_0x39d9b1['get']('trackChanges.showAISource')||null,'aiAuthor':{..._0x39d9b1['get']('trackChanges.aiAuthor'),'name':_0x39d9b1['get']('trackChanges.aiAuthor')?.['name']||_0x45b6d4(_0x3bc33a['locale'],'AI_AUTHOR_DEFAULT_NAME')}}),_0x213bfb['suggestionView']['acceptButton']['on']('execute',()=>{_0x3bc33a['editing']['view']['focus']();}),_0x213bfb['suggestionView']['discardButton']['on']('execute',()=>{_0x3bc33a['editing']['view']['focus']();}),_0x14ae69=_0x5c72ba['createAnnotationView'](this['editor']['locale'],_0x213bfb),_0x14ae69['bind']('isDirty')['to'](_0x213bfb,'isDirty'),_0x14ae69['bind']('length')['to'](_0x213bfb),_0x14ae69['bind']('type')['to'](_0x213bfb,'type',_0x3935e3=>'suggestion-'+_0x3935e3),_0x213bfb['on']('escape',()=>{_0x246138['fire']('escape');}),this['_annotationViews']['set'](_0x155db1['id'],_0x14ae69));const _0x1061d7=_0x177007['createCommentThreadController'](_0x155db1['commentThread'],_0x213bfb),_0x2a7f9d=new _0x3fca32(_0x3bc33a,_0x155db1,_0x213bfb,_0x1061d7),_0xaba706=_0x155db1['getAllAdjacentSuggestions']()['filter'](_0xcfdc76=>_0xcfdc76['isInContent']);_0x213bfb['descriptionParts']=_0x3bc33a['plugins']['get'](_0x126dd6)['descriptionFactory']['getDescriptions'](_0xaba706),this['_suggestionToController']['set'](_0x155db1,_0x2a7f9d),this['_viewToController']['set'](_0x213bfb,_0x2a7f9d);const _0x4405af=()=>{const _0x1f29a6=[],_0x515eed=_0x155db1['getAllAdjacentSuggestions']()['filter'](_0x1d4098=>_0x1d4098['isInContent']);for(const _0x509204 of _0x515eed)_0x1f29a6['push'](..._0x509204['getMarkers']());return _0x20fdc7(_0x3bc33a['editing'],_0x1f29a6);};_0x246138=_0x5c72ba['createAnnotation']({'view':_0x14ae69,'target':_0x4405af,'type':()=>'suggestion-'+_0x2a7f9d['view']['type'],'isVisible':!!_0x4405af()}),_0x177007['_bindAnnotationToEditors'](_0x213bfb,_0x246138),_0x5c72ba['add'](_0x246138),_0x1512cf['registerAnnotation'](_0x246138);}['_destroyController'](_0x248078){const _0x2cd9ed=this['editor']['plugins']['get'](_0xc5d2f4),_0xf88e2a=this['editor']['plugins']['get'](_0x3007a9),_0x47b785=this['_suggestionToController']['get'](_0x248078),_0x5f0f0f=_0x47b785['view'],_0x57a830=_0xf88e2a['getByInnerView'](_0x5f0f0f);_0x2cd9ed['_unbindEditors'](_0x5f0f0f),_0x57a830&&_0xf88e2a['remove'](_0x57a830),this['_suggestionToController']['delete'](_0x248078),this['_viewToController']['delete'](_0x5f0f0f),_0x47b785['destroy']();}['_updateController'](_0x3a760f){if(!_0x3a760f['isInContent']||!this['_suggestionToController']['has'](_0x3a760f))return;const _0x3660ab=this['editor']['plugins']['get'](_0x126dd6),_0x48fed9=this['_suggestionToController']['get'](_0x3a760f),_0x57510a=_0x3a760f['getAllAdjacentSuggestions']();_0x48fed9['view']['descriptionParts']=_0x3660ab['descriptionFactory']['getDescriptions'](_0x57510a);}['destroy'](){for(const _0x50b227 of this['_suggestionToController']['keys']())this['_destroyController'](_0x50b227);for(const _0x1cb39c of this['_annotationViews']['values']())_0x1cb39c['mainView']['destroy']();super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}};function _0x4767f8(_0xb9bb7c){return'model'in _0xb9bb7c;}var _0x91a14a=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x126dd6,_0x3a9720,_0x598efe];}static get['pluginName'](){return'TrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}set['adapter'](_0x33d2f7){this['editor']['plugins']['get'](_0x126dd6)['adapter']=_0x33d2f7;}get['adapter'](){return this['editor']['plugins']['get'](_0x126dd6)['adapter'];}['addSuggestion'](_0x562935){return this['editor']['plugins']['get'](_0x126dd6)['addSuggestionData'](_0x562935);}['getSuggestions']({skipNotAttached:_0x40a4f1=!0x1,toJSON:_0x11942e=!0x1}={}){return this['editor']['plugins']['get'](_0x126dd6)['getSuggestions']({'skipNotAttached':_0x40a4f1,'toJSON':_0x11942e});}['getSuggestion'](_0x545cf4){return this['editor']['plugins']['get'](_0x126dd6)['getSuggestion'](_0x545cf4);}};const _0x6e6d2b=['Pagination'];var _0x5ad011=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x126dd6];}static get['pluginName'](){return'TrackChangesData';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x34d05a=this['editor'];if(_0x34d05a['config']['define']('trackChangesData.editorCreator',_0x10cec0=>{const _0x4f3fb2=_0x34d05a['model']['document']['getRootNames']()['reduce']((_0xd4814e,_0x2b43b6)=>(_0xd4814e[_0x2b43b6]='',_0xd4814e),{});return _0x34d05a['constructor']['create'](_0x4f3fb2,_0x10cec0);}),'function'!=typeof _0x34d05a['config']['get']('trackChangesData')['editorCreator'])throw new _0x14e616['CKEditorError']('track-changes-data-invalid-editor-creator');}['getDataWithAcceptedSuggestions'](_0x2a9087){return _0x25771a(this['editor'],!0x0,_0x2a9087);}['getDataWithDiscardedSuggestions'](_0x17fee7){return _0x25771a(this['editor'],!0x1,_0x17fee7);}},_0x5e1402=class extends _0x14e616['Plugin']{['result'];static get['pluginName'](){return'TrackChangesDataGetter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x232be9){super(_0x232be9),this['result']='end',_0x232be9['editing']['view']['_overlayModeHint']='auto',_0x232be9['_sendUsageRequest']=()=>window['Promise']['resolve']({'status':'ok'});}['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 _0x3ca9c5(_0x1aa56e){return void 0x0!==_0x1aa56e['getRootsAttributes'];}async function _0x25771a(_0xb54768,_0xd8daa0,_0x2445f2){const _0x59604b=_0x25b5c7(_0xb54768,_0x6e6d2b);if(_0x59604b['plugins']['push'](_0x126dd6,_0x5e1402),_0x3ca9c5(_0xb54768)){_0x59604b['roots']=Object['create'](null);for(const _0x364b1d of _0xb54768['model']['document']['getRootNames']())_0x59604b['roots'][_0x364b1d]={'modelAttributes':_0xb54768['getRootAttributes'](_0x364b1d)};}const _0x5f1c1a=document['createDocumentFragment'](),_0x4884f9=_0xb54768['config']['get']('trackChangesData')['editorCreator'],_0x570d27=await _0x4884f9(_0x59604b,()=>function(_0x4616e1){const _0x5e2a72=document['createElement']('div');return _0x4616e1['appendChild'](_0x5e2a72),_0x5e2a72;}(_0x5f1c1a));!function(_0x377068,_0xf2e54a){const _0x6fe94a=_0x377068['model']['document']['getRootNames']()['reduce']((_0x3aa9c3,_0x2570ac)=>(_0x3aa9c3[_0x2570ac]=_0x377068['data']['get']({'rootName':_0x2570ac}),_0x3aa9c3),{}),_0x10f3b4=_0x377068['plugins']['get']('Users')['users']['map'](_0x465028=>({'id':_0x465028['id'],'name':_0x465028['name']})),_0x4aad2e=_0x377068['plugins']['get']('TrackChangesEditing')['getSuggestions']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x48c46f=_0x377068['plugins']['get']('CommentsRepository')['getCommentThreads']({'skipNotAttached':!0x0,'toJSON':!0x0}),_0x5c637c=_0xf2e54a['plugins']['get']('Users'),_0x42e616=_0xf2e54a['plugins']['get']('TrackChangesEditing'),_0x28f1d1=_0xf2e54a['plugins']['get']('CommentsRepository');for(const _0x3c9fa9 of _0x28f1d1['getCommentThreads']())_0x3c9fa9['remove']();for(const _0x3e346c of _0x10f3b4)_0x5c637c['getUser'](_0x3e346c['id'])||_0x5c637c['addUser'](_0x3e346c);_0x5c637c['me']||_0x5c637c['useAnonymousUser']();for(const _0x359c5a of _0x48c46f)_0x28f1d1['addCommentThread'](_0x359c5a);for(const _0x44ded2 of _0x4aad2e)_0x42e616['addSuggestionData'](_0x44ded2);_0xf2e54a['data']['set'](_0x6fe94a);}(_0xb54768,_0x570d27),_0x570d27['execute'](_0xd8daa0?'acceptAllSuggestions':'discardAllSuggestions');const _0x4f85ff=_0x3ca9c5(_0x570d27)?_0x570d27['getFullData'](_0x2445f2):_0x570d27['data']['get'](_0x2445f2);return await _0x570d27['destroy'](),_0x4f85ff;}var _0x46342b=class extends _0x14e616['View']{['options'];constructor(_0x1fe931,_0x5db6fc){super(_0x1fe931),this['options']=_0x5db6fc,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'](_0x8fbb93,_0x5ed1f0){if(!this['element'])return;const _0x48409b=[];for(const [_0x10cf24,_0x47f8db]of _0x8fbb93){const _0x516bce=document['createElement']('div');_0x516bce['setAttribute']('data-ck-root-name',_0x10cf24),_0x516bce['className']=_0x47f8db['classes']+'\x20ck-track-changes-preview__root-container',_0x516bce['innerHTML']=_0x47f8db['content'],_0x48409b['push'](_0x516bce);}_0x5ed1f0(this['element'],_0x48409b),this['element']['style']['height']='',this['fire']('previewDataReady');}['focus'](){this['element']['focus']();}},_0x5ed3b8=class extends _0x14e616['Command']{constructor(_0x4fefea){super(_0x4fefea),this['affectsData']=!0x1,this['isEnabled']=!0x0;}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x204e59=this['editor'],_0x5747f8=_0x204e59['locale'],_0x47f4bb=_0x204e59['plugins']['get']('Dialog');let _0xbc1735;const _0x1306a9=function(_0x50e1d6){const _0x366f13={};if('editables'in _0x50e1d6['ui']['view']){for(const [_0x3f9f3c,_0x368d8b]of Object['entries'](_0x50e1d6['ui']['view']['editables']))_0x366f13[_0x3f9f3c]=_0x368d8b['element'];}else _0x366f13[_0x50e1d6['model']['document']['getRootNames']()[0x0]]=_0x50e1d6['ui']['view']['editable']['element'];return _0x366f13;}(_0x204e59),_0x3a1a3c=function(_0x1a28ec){let _0x31c77c=0x0;for(const _0x18e48c of Object['values'](_0x1a28ec))_0x31c77c=Math['max'](_0x31c77c,_0x18e48c['getBoundingClientRect']()['width']);let _0xc1a8ae=0x0;for(const _0x5447c0 of Object['values'](_0x1a28ec))_0xc1a8ae+=_0x5447c0['getBoundingClientRect']()['height'];const _0x37401a=0.8*Math['max'](document['documentElement']['clientHeight'],window['innerHeight']);return{'width':_0x31c77c,'height':Math['min'](_0xc1a8ae,_0x37401a)};}(_0x1306a9);_0x47f4bb['show']({'id':'finalContentPreview','title':_0x45b6d4(_0x5747f8,'Final\x20content\x20preview'),'isModal':!0x0,'className':'ck-track-changes-preview-dialog','content':new _0x46342b(_0x5747f8,{'dialogRects':_0x3a1a3c}),'onHide':()=>{_0xbc1735['detachFromDom']();},'onShow':()=>{_0x204e59['plugins']['get']('TrackChangesData')['getDataWithAcceptedSuggestions']({...this['_getMergeFieldsData']()})['then'](_0x265813=>{const _0x47fbc7=this['_standarizeRootsData'](_0x265813,_0x204e59,_0x1306a9);_0x47f4bb['view']['contentView']['children']['get'](0x0)['setPreviewData'](_0x47fbc7,_0x204e59['config']['get']('trackChanges.preview.renderFunction'));}),_0xbc1735=new _0x14e616['BodyCollection'](_0x5747f8,[_0x47f4bb['view']]),_0xbc1735['attachToDom'](),_0xbc1735['bodyCollectionContainer']['classList']['remove']('ck-reset_all'),_0x204e59['once']('destroy',()=>{_0xbc1735['detachFromDom']();});const _0x461147=_0x47f4bb['view']['headerView']['class'];_0x47f4bb['view']['headerView']['class']=_0x461147?_0x461147+'\x20ck-reset_all':'ck-reset_all',_0x47f4bb['view']['contentView']['children']['get'](0x0)['on']('previewDataReady',()=>{_0x47f4bb['view']['updatePosition']();});}});}['_getMergeFieldsData'](){if(!this['editor']['plugins']['has']('MergeFieldsEditing'))return{};const _0x3015ae=this['editor']['plugins']['get']('MergeFieldsEditing'),_0x5c093e=_0x3015ae['previewMode'],_0x479506={};if('$labels'===_0x5c093e){for(const _0xc4e6e0 of _0x3015ae['getMergeFieldsIds']())_0x479506[_0xc4e6e0]=_0x3015ae['getLabel'](_0xc4e6e0)||_0xc4e6e0;}else{const _0x2452af='$defaultValues'===_0x5c093e?_0x3015ae['getDefaultValues']():_0x3015ae['getDataSetValues'](_0x5c093e,!0x0);for(const _0x55c0c1 of Object['entries'](_0x2452af)){const [_0x339059,_0x331367]=_0x55c0c1;_0x479506[_0x339059]=null!==_0x331367?_0x331367:_0x3015ae['getLabel'](_0x339059)||_0x339059;}}return{'mergeFieldsData':_0x479506};}['_standarizeRootsData'](_0x47e0f3,_0x39ce4e,_0x41ea79){let _0x48e3ce;_0x48e3ce='string'==typeof _0x47e0f3?{[_0x39ce4e['model']['document']['getRootNames']()[0x0]]:_0x47e0f3}:_0x47e0f3;const _0x1b8964=this['_fixMediaEmbeds'](_0x48e3ce,_0x39ce4e);return function(_0x4cf5d9,_0x568ce5){for(const [_0x36d773,_0x49b6e0]of _0x4cf5d9)_0x49b6e0['classes']=_0x568ce5[_0x36d773]['classList']['value']['replace']('ck-focused','');return _0x4cf5d9;}(this['_sortRoots'](_0x39ce4e)['reduce']((_0x77f772,_0x24760b)=>(_0x77f772['push']([_0x24760b,{'content':_0x1b8964[_0x24760b],'classes':''}]),_0x77f772),[]),_0x41ea79);}['_fixMediaEmbeds'](_0x42383f,_0xace217){if(!_0xace217['plugins']['has']('MediaEmbedEditing'))return _0x42383f;const _0x298f7f=_0xace217['plugins']['get']('MediaEmbedEditing');for(const [_0x3d9f08,_0xf723af]of Object['entries'](_0x42383f)){const _0x1b6e52=document['createElement']('div');_0x1b6e52['innerHTML']=_0xf723af,_0x1b6e52['querySelectorAll']('figure.media')['forEach'](_0x5d9b68=>{const _0x4f8335=_0x5d9b68['querySelector']('oembed');if(_0x4f8335){const _0xc97442=_0x4f8335['getAttribute']('url');if(_0xc97442){const _0x1bab0e=_0x298f7f['registry']['getMediaViewElement'](new _0x14e616['ViewDowncastWriter'](_0xace217['editing']['view']['document']),_0xc97442,{'elementName':'','renderForEditingView':!0x0}),_0x4ebbad=document['createElement']('div');_0x4ebbad['classList']['add']('ck-media__wrapper'),_0x1bab0e['render'](_0x4ebbad,_0xace217['editing']['view']['domConverter']),_0x4f8335['replaceWith'](_0x4ebbad);}}}),_0x42383f[_0x3d9f08]=_0x1b6e52['innerHTML'];}return _0x42383f;}['_sortRoots'](_0x81e8e9){if(!function(_0x29a278){return void 0x0!==_0x29a278['getRootsAttributes'];}(_0x81e8e9))return _0x81e8e9['model']['document']['getRootNames']();const _0x64817a=[],_0x5c147d=new Map();for(const _0x141c05 of _0x81e8e9['model']['document']['getRootNames']()){const _0x2fa134=_0x81e8e9['editing']['view']['getDomRoot'](_0x141c05)['getClientRects']()['item'](0x0);_0x64817a['push'](_0x141c05),_0x5c147d['set'](_0x141c05,_0x2fa134);}return _0x64817a['sort']((_0x32006f,_0x296eec)=>{const _0x1be398=_0x5c147d['get'](_0x32006f),_0x2565e6=_0x5c147d['get'](_0x296eec);return _0x1be398['y']-_0x2565e6['y']||_0x1be398['x']-_0x2565e6['x'];}),_0x64817a;}},_0x26819d=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x5ad011,_0x14e616['Dialog']];}static get['pluginName'](){return'TrackChangesPreview';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x277be5){super(_0x277be5),_0x277be5['commands']['add']('previewFinalContent',new _0x5ed3b8(this['editor'])),_0x277be5['config']['define']('trackChanges.preview.renderFunction',(_0x345e4b,_0x1fd16f)=>{for(const _0x56b385 of _0x1fd16f)_0x345e4b['appendChild'](_0x56b385);});}},_0xc14fd=class CloudServicesCommentsAdapter extends _0x14e616['ContextPlugin']{static ['CommentsService']=/* #__PURE__ -- @preserve */
((()=>_0x506079)());['_services'];static get['requires'](){return[_0x139077,_0xc5d2f4,_0x8848f6,_0x17484f];}static get['pluginName'](){return'CloudServicesCommentsAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5a8735){super(_0x5a8735),this['_services']=new Map();}async['init'](){const _0x4f956c=this['context'],_0x4769e4=_0x4f956c['plugins']['get'](_0xc5d2f4);if(_0x4f956c['plugins']['get'](_0x139077)['addToReconnectionStack'](this),_0x4769e4['adapter']={'addCommentThread':async({channelId:_0x589b49,threadId:_0x126afc,comments:_0x2d4874,resolvedAt:_0x138111,resolvedBy:_0x370809,context:_0x63dacc,attributes:_0x1b7544})=>{const _0x1382c2=await this['_getService'](_0x589b49)['addCommentThread']({'commentThreadId':_0x126afc,'comments':_0x2d4874['map'](_0x1ef562=>function(_0x13b89c,_0x162de5,_0x402061){return{'commentThreadId':_0x402061,'commentId':_0x13b89c['commentId'],'userId':_0x13b89c['authorId'],'content':_0x13b89c['content'],'documentId':_0x162de5,'createdAt':_0x13b89c['createdAt'],'attributes':_0x13b89c['attributes']||{}};}(_0x1ef562,_0x589b49,_0x126afc)),'resolvedAt':_0x138111,'resolvedBy':_0x370809,'context':_0x63dacc,'attributes':_0x1b7544})['catch'](_0x55739e);return{'threadId':_0x1382c2['commentThreadId'],'comments':_0x1382c2['comments']};},'getCommentThread':async({channelId:_0x422ae7,threadId:_0x529d44})=>{const _0x5b1c50=await this['_getService'](_0x422ae7)['getCommentThread'](_0x529d44)['catch'](_0x59ab52)['catch'](_0x55739e);return _0x5b1c50?_0x5b1c50['deletedAt']?null:(await this['_fetchMissingUsersForThreads']([_0x5b1c50]),{'threadId':_0x5b1c50['commentThreadId'],'comments':_0x5b1c50['comments']['map'](_0x3057f1),'context':_0x5b1c50['context'],'resolvedAt':_0x5b1c50['resolvedAt'],'resolvedBy':_0x5b1c50['resolvedBy'],'attributes':_0x5b1c50['attributes']||{}}):null;},'updateCommentThread':async({channelId:_0x366ab2,threadId:_0x2d5d92,context:_0x47337f,unlinkedAt:_0x2ed399,attributes:_0x3ac02c})=>this['_getService'](_0x366ab2)['updateCommentThread']({'commentThreadId':_0x2d5d92,'context':_0x47337f,'attributes':_0x3ac02c,'unlinkedAt':_0x2ed399})['catch'](_0x59ab52)['catch'](_0x55739e),'resolveCommentThread':async({channelId:_0x302594,threadId:_0x2929b5})=>{const _0x28c7d0=await this['_getService'](_0x302594)['resolveCommentThread'](_0x2929b5)['catch'](_0x59ab52)['catch'](_0x55739e);return{'threadId':_0x28c7d0['commentThreadId'],'resolvedAt':_0x28c7d0['resolvedAt'],'resolvedBy':_0x28c7d0['resolvedBy']};},'reopenCommentThread':async({channelId:_0xbb2224,threadId:_0x11879a})=>this['_getService'](_0xbb2224)['reopenCommentThread'](_0x11879a)['catch'](_0x59ab52)['catch'](_0x55739e),'removeCommentThread':({channelId:_0x380358,threadId:_0x66b12e})=>this['_getService'](_0x380358)['removeCommentThread'](_0x66b12e)['catch'](_0x59ab52)['catch'](_0x55739e),'addComment':({channelId:_0x13d84c,threadId:_0x256ad7,commentId:_0x54368c,content:_0x4528ab,attributes:_0x522120})=>this['_getService'](_0x13d84c)['addComment'](_0x256ad7,_0x54368c,_0x4528ab,_0x522120)['catch'](_0x55739e),'updateComment':({channelId:_0x35d6d6,threadId:_0x5805ee,commentId:_0x17b7a3,content:_0x396c36,attributes:_0x14080f})=>this['_getService'](_0x35d6d6)['updateComment'](_0x5805ee,_0x17b7a3,_0x396c36,_0x14080f)['catch'](_0x59ab52)['catch'](_0x55739e),'removeComment':({channelId:_0x6d2613,threadId:_0x21693d,commentId:_0x2e3849})=>this['_getService'](_0x6d2613)['removeComment'](_0x21693d,_0x2e3849)['catch'](_0x59ab52)['catch'](_0x55739e)},_0x4f956c instanceof _0x14e616['Context']){const _0x33452c=_0x4f956c['config']['get']('collaboration.channelId'),_0x1cd268=_0x4f956c['plugins']['get'](_0x8848f6);await this['_setUpService'](_0x33452c);const _0x8f5148=await this['_services']['get'](_0x33452c)['getConnectedSessions']();this['listenTo'](_0x1cd268,'sessionAdd:'+_0x33452c,(_0x2311d0,{session:_0x53fcb6})=>{_0x53fcb6['id']===_0x1cd268['mySessionId']&&(_0x2311d0['off'](),this['context']['plugins']['get']('Permissions')['setPermissions'](_0x53fcb6['permissions'],_0x33452c));}),_0x1cd268['register'](_0x33452c,_0x8f5148);}}async['_setUpService'](_0x3e3310){if(this['_services']['has'](_0x3e3310))throw new _0x14e616['CKEditorError']('cloudservicescommentsadapter-connect-already-connected',null,{'channelId':_0x3e3310});const _0x21baa8=this['context']['plugins']['get'](_0xc5d2f4),_0x4b726f=new CloudServicesCommentsAdapter['CommentsService'](_0x3e3310);this['_services']['set'](_0x3e3310,_0x4b726f),this['listenTo'](_0x4b726f,'commentThreadAdded',(_0x2cfda9,_0x25df48)=>{const {commentThreadId:_0x393797,documentId:_0x520568,context:_0xda4f41,attributes:_0x2fc95c,resolvedAt:_0x10d55c,resolvedBy:_0x376513,comments:_0x1d01be}=_0x25df48;_0x21baa8['getCommentThread'](_0x393797)||_0x21baa8['addCommentThread']({'threadId':_0x393797,'channelId':_0x520568,'comments':_0x1d01be?_0x1d01be['map'](_0x3057f1):[],'context':_0xda4f41,'attributes':_0x2fc95c,'resolvedAt':_0x10d55c,'resolvedBy':_0x376513,'isFromAdapter':!0x0});}),this['listenTo'](_0x4b726f,'commentThreadUpdated',(_0x3aa628,{commentThreadId:_0x321ed2,documentId:_0x326567,context:_0x477856,unlinkedAt:_0x3c2b77,attributes:_0x5be9b9})=>{_0x21baa8['getCommentThread'](_0x321ed2)&&_0x21baa8['updateCommentThread']({'threadId':_0x321ed2,'channelId':_0x326567,'context':_0x477856,'unlinkedAt':_0x3c2b77,'attributes':_0x5be9b9,'isFromAdapter':!0x0});}),this['listenTo'](_0x4b726f,'commentThreadResolved',(_0x5330cd,{commentThreadId:_0x57f065,resolvedBy:_0x51e927,resolvedAt:_0x3b82a7})=>{const _0x531e24=_0x21baa8['getCommentThread'](_0x57f065);_0x531e24&&_0x531e24['resolve']({'resolvedBy':_0x51e927,'resolvedAt':_0x3b82a7,'isFromAdapter':!0x0});}),this['listenTo'](_0x4b726f,'commentThreadReopened',(_0x1f750b,{commentThreadId:_0x3a3be1})=>{const _0x4a7ed1=_0x21baa8['getCommentThread'](_0x3a3be1);_0x4a7ed1&&_0x4a7ed1['reopen']({'isFromAdapter':!0x0});}),this['listenTo'](_0x4b726f,'commentThreadRemoved',(_0x33b756,{commentThreadId:_0x59fbf5})=>{const _0x277f79=_0x21baa8['getCommentThread'](_0x59fbf5);_0x277f79&&_0x277f79['remove']({'isFromAdapter':!0x0});}),this['listenTo'](_0x4b726f,'commentAdded',(_0x3b5adf,_0x494072)=>{const _0x4688aa=_0x494072['commentThreadId'],_0x393aeb=_0x21baa8['getCommentThread'](_0x4688aa);_0x393aeb&&_0x393aeb['addComment']({..._0x3057f1(_0x494072),'isFromAdapter':!0x0});}),this['listenTo'](_0x4b726f,'commentUpdated',(_0x6bf2e5,{commentThreadId:_0x17c327,commentId:_0x175a4f,content:_0x2cf98f,attributes:_0xedf1f})=>{const _0x55f8c1=_0x21baa8['getCommentThread'](_0x17c327);if(_0x55f8c1){const _0x1285aa=_0x55f8c1['getComment'](_0x175a4f);_0x1285aa&&_0x1285aa['update']({'content':_0x2cf98f,'attributes':_0xedf1f,'isFromAdapter':!0x0});}}),this['listenTo'](_0x4b726f,'commentRemoved',(_0x2d3144,{commentThreadId:_0x616986,commentId:_0xb1223e})=>{const _0x708547=_0x21baa8['getCommentThread'](_0x616986);if(_0x708547){const _0x1c3e91=_0x708547['getComment'](_0xb1223e);_0x1c3e91&&_0x1c3e91['remove']({'isFromAdapter':!0x0});}}),this['listenTo'](_0x4b726f,'disconnected',()=>{'connected'===this['context']['plugins']['get'](_0x139077)['connection']?.['state']&&(this['_services']['delete'](_0x3e3310),this['stopListening'](_0x4b726f));}),await this['_connectService'](_0x3e3310);}['destroy'](){if(this['context']instanceof _0x14e616['Context']){const _0x3571e5=this['context']['config']['get']('collaboration.channelId');this['_services']['has'](_0x3571e5)&&this['_terminateService'](_0x3571e5);}}['_terminateService'](_0x26fe18){if(!this['_services']['has'](_0x26fe18))throw new _0x14e616['CKEditorError']('cloudservicescommentsadapter-disconnect-not-exist',null,{'channelId':_0x26fe18});this['_getService'](_0x26fe18)['disconnect'](),this['_services']['delete'](_0x26fe18);}async['reconnect'](){for(const _0xe5ad47 of this['_services']['keys']())await this['_connectService'](_0xe5ad47);if(this['context']instanceof _0x14e616['Context']){const _0x401694=this['context']['config']['get']('collaboration.channelId');if(this['_services']['has'](_0x401694)){const _0x3a4375=this['context']['plugins']['get'](_0x8848f6);_0x3a4375['unregister'](_0x401694);const _0x2109bc=await this['_services']['get'](_0x401694)['getConnectedSessions']();_0x3a4375['register'](_0x401694,_0x2109bc);}}}async['_connectService'](_0x2cf573){const {connection:_0x456d0e}=this['context']['plugins']['get'](_0x139077),_0x19056b=this['context']['plugins']['get'](_0xc5d2f4),_0x5af288=await this['_services']['get'](_0x2cf573)['connect'](_0x456d0e);await this['_fetchMissingUsersForThreads'](_0x5af288);const _0x51ce75=new Set(Array['from'](_0x19056b['getCommentThreads']({'channelId':_0x2cf573}),_0x36231a=>_0x36231a['id']));for(const _0x433f42 of _0x5af288)_0x433f42['deletedAt']||_0x51ce75['delete'](_0x433f42['commentThreadId']);for(const _0x2ad703 of _0x51ce75)_0x19056b['getCommentThread'](_0x2ad703)['remove']({'isFromAdapter':!0x0});for(const _0x16e310 of _0x5af288){let _0x1a21a5=_0x19056b['getCommentThread'](_0x16e310['commentThreadId']);const {commentThreadId:_0x34ce30,context:_0x293358,attributes:_0x46272b,resolvedBy:_0x2d3b21,resolvedAt:_0x3d26f2,unlinkedAt:_0x4c2579,deletedAt:_0x3fd8a7}=_0x16e310;if(_0x3fd8a7)continue;_0x1a21a5||(_0x1a21a5=_0x19056b['addCommentThread']({'channelId':_0x2cf573,'threadId':_0x34ce30,'context':_0x293358,'attributes':_0x46272b||{},'resolvedBy':_0x2d3b21,'resolvedAt':_0x3d26f2,'unlinkedAt':_0x4c2579,'isFromAdapter':!0x0}));const _0x76dcf5=new Set(Array['from'](_0x1a21a5['comments'],_0x12d625=>_0x12d625['id']));for(const _0x279a70 of _0x16e310['comments'])_0x76dcf5['delete'](_0x279a70['commentId']);for(const _0x395d6f of _0x76dcf5)_0x1a21a5['getComment'](_0x395d6f)['remove']({'isFromAdapter':!0x0});for(const _0x509b6a of _0x16e310['comments']){const _0x472324=_0x1a21a5['getComment'](_0x509b6a['commentId']);_0x472324?_0x472324['content']!==_0x509b6a['content']&&_0x472324['update']({'content':_0x509b6a['content'],'isFromAdapter':!0x0}):_0x1a21a5['addComment'](Object['assign'](_0x3057f1(_0x509b6a),{'isFromAdapter':!0x0}));}}}['_getService'](_0x14fafa){if(!this['_services']['has'](_0x14fafa))throw new _0x14e616['CKEditorError']('cloudservicescommentsadapter-service-not-exist',null,{'channelId':_0x14fafa});return this['_services']['get'](_0x14fafa);}async['_fetchMissingUsersForThreads'](_0x4c4c9f){const _0x353036=this['context']['plugins']['get'](_0x17484f),{connection:_0x319e7d}=this['context']['plugins']['get'](_0x139077),_0x7447d9=new Set();for(const {resolvedBy:_0x328175,comments:_0x3dee8f}of _0x4c4c9f){_0x328175&&!_0x353036['getUser'](_0x328175)&&_0x7447d9['add'](_0x328175);for(const {userId:_0x466b29}of _0x3dee8f)_0x353036['getUser'](_0x466b29)||_0x7447d9['add'](_0x466b29);}if(0x0===_0x7447d9['size'])return;const _0x5d59bf=await _0x21bf6e['getMany'](_0x319e7d,Array['from'](_0x7447d9));for(const _0x37eba1 of _0x5d59bf)_0x353036['getUser'](_0x37eba1['id'])||_0x353036['addUser'](_0x37eba1);}};async function _0x59ab52(_0x38f346){if('404'!==_0x38f346['code'])throw _0x38f346;}function _0x55739e(_0x20e876){if((_0x529296=_0x20e876)['message']['startsWith']('cloud-services-internal-error:\x20Comments\x20Service\x20is\x20not\x20connected.')||_0x529296['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x529296['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.'))return new Promise(()=>{});var _0x529296;throw _0x20e876;}function _0x3057f1(_0x1c8334){return{'threadId':_0x1c8334['commentThreadId'],'commentId':_0x1c8334['commentId'],'content':_0x1c8334['content'],'createdAt':_0x1c8334['createdAt'],'authorId':_0x1c8334['userId'],'attributes':_0x1c8334['attributes']||{}};}var _0x454d6d=class CloudServicesTrackChangesAdapter extends _0x14e616['Plugin']{static ['TrackChangesService']=/* #__PURE__ -- @preserve */
((()=>_0x3bb078)());['_bufferedRequests'];['_trackChangesService'];static get['requires'](){return[_0xc14fd,_0x126dd6,_0x139077];}static get['pluginName'](){return'CloudServicesTrackChangesAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x335e43){super(_0x335e43);const _0x1f1fa5=this['editor']['config']['get']('collaboration.channelId');this['_bufferedRequests']=new Map(),this['_trackChangesService']=new CloudServicesTrackChangesAdapter['TrackChangesService'](_0x1f1fa5);}['init'](){const _0xf98e8f=this['editor']['plugins']['get'](_0x139077),_0x37769a=this['editor']['plugins']['get'](_0x126dd6);return _0x37769a['adapter']={'getSuggestion':async _0x274594=>{await this['_waitForServiceReady']();const _0x18b834=await this['_trackChangesService']['get'](_0x274594)['catch'](_0x3a9daa);return await this['_fetchMissingUsersForThreads']([_0x18b834]),_0x18b834;},'addSuggestion':async({id:_0x21f513,type:_0x275fca,data:_0x25ad0e,originalSuggestionId:_0x1ae90b,attributes:_0x4e220b})=>{await this['_waitForServiceReady']();const _0x255d3e={'id':_0x21f513,'type':_0x275fca,'data':_0x25ad0e,'originalSuggestionId':_0x1ae90b,'attributes':_0x4e220b},_0x99af1b=await this['_trackChangesService']['add'](_0x21f513,_0x275fca,_0x25ad0e,_0x1ae90b,_0x4e220b)['catch'](_0x10f4da=>{if(_0x56c302(_0x10f4da))return new Promise(_0xac03d6=>{this['_bufferedRequests']['set'](_0x21f513,{'resolve':_0xac03d6,'suggestionData':_0x255d3e});});throw _0x10f4da;});return this['_bufferedRequests']['delete'](_0x21f513),_0x99af1b;},'updateSuggestion':async(_0x509864,_0x832853)=>{if(await this['_waitForServiceReady'](),'open'!==_0x832853['state'])return this['_trackChangesService']['update'](_0x509864,_0x832853)['catch'](_0x3a9daa);}},this['listenTo'](this['_trackChangesService'],'suggestionUpdated',(_0x3c09d5,_0x1a4313)=>{_0x37769a['hasSuggestion'](_0x1a4313['id'])&&(_0x37769a['getSuggestion'](_0x1a4313['id'])['attributes']=_0x1a4313['attributes']);}),this['listenTo'](this['_trackChangesService'],'disconnected',()=>{'connected'===_0xf98e8f['connection']?.['state']&&(_0xf98e8f['removeFromReconnectionStack'](this),this['stopListening'](this['_trackChangesService']));}),this['_trackChangesService']['connect'](_0xf98e8f['connection'])['then'](_0x578e33=>(_0xf98e8f['addToReconnectionStack'](this),this['_fetchMissingUsersForThreads'](_0x578e33)['then'](()=>{for(const _0x170b65 of _0x578e33){_0x37769a['addSuggestionData'](_0x170b65)['_saved']=!0x0;}})));}async['reconnect'](){const _0x4a0b94=this['editor']['plugins']['get']('TrackChangesEditing'),{connection:_0x39556f}=this['editor']['plugins']['get'](_0x139077),_0x3a58f9=await this['_trackChangesService']['connect'](_0x39556f);await this['_fetchMissingUsersForThreads'](_0x3a58f9);for(const {suggestionData:_0x43ef79,resolve:_0x666ca1}of this['_bufferedRequests']['values']()){let _0x520802=_0x3a58f9['find'](_0x188b57=>_0x188b57['id']===_0x43ef79['id']);_0x520802||(_0x520802=await this['_trackChangesService']['add'](_0x43ef79['id'],_0x43ef79['type'],_0x43ef79['data'],_0x43ef79['originalSuggestionId'])),_0x666ca1(_0x520802);}for(const _0x524364 of _0x3a58f9)_0x4a0b94['hasSuggestion'](_0x524364['id'])||_0x4a0b94['addSuggestionData'](_0x524364);}async['_waitForServiceReady'](){this['_trackChangesService']['isConnected']||await new Promise(_0x11b04e=>{this['listenTo'](this['_trackChangesService'],'connected',_0x288eae=>{_0x288eae['off'](),_0x11b04e();});});}async['_fetchMissingUsersForThreads'](_0x3cf766){const _0x97bc4f=this['editor']['plugins']['get'](_0x17484f),{connection:_0x54df90}=this['editor']['plugins']['get'](_0x139077),_0x24b110=new Set();for(const {authorId:_0x44fbac}of _0x3cf766)_0x97bc4f['getUser'](_0x44fbac)||_0x24b110['add'](_0x44fbac);if(0x0===_0x24b110['size'])return;const _0x274a0c=await _0x21bf6e['getMany'](_0x54df90,Array['from'](_0x24b110));for(const _0x56d515 of _0x274a0c)_0x97bc4f['getUser'](_0x56d515['id'])||_0x97bc4f['addUser'](_0x56d515);}};function _0x3a9daa(_0x7ae14f){if(_0x56c302(_0x7ae14f))return new Promise(()=>{});throw _0x7ae14f;}function _0x56c302(_0x16ff25){return _0x16ff25['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x16ff25['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}var _0x1547da=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x598efe,_0xc14fd,_0x441214,_0x139077];}static get['pluginName'](){return'RealTimeCollaborativeComments';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x30fa1f=this['editor']['plugins']['get'](_0x139077),_0x4ae00c=this['editor']['plugins']['get'](_0x5e2dbc),_0x54db7f=this['editor']['plugins']['get'](_0xc14fd);return this['editor']['data']['once']('ready',()=>{this['listenTo'](_0x30fa1f,'change:state',(_0x974a82,_0x296e94,_0x53d830)=>{_0x4ae00c['isThreadsLoadingPaused']='connected'!==_0x53d830;});}),this['listenTo'](_0x30fa1f,'change:state',(_0x1e0370,_0x3e2437,_0x54f369)=>{this['editor']['plugins']['get'](_0xc5d2f4)['switchReadOnly']('connected'!==_0x54f369);}),_0x54db7f['_setUpService'](this['editor']['config']['get']('collaboration.channelId'));}['destroy'](){const _0x5c392a=this['editor']['plugins']['get'](_0xc14fd),_0x21f8ec=this['editor']['config']['get']('collaboration.channelId');_0x5c392a['_services']['has'](_0x21f8ec)&&_0x5c392a['_terminateService'](_0x21f8ec),super['destroy']();}},_0x3efff2=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x1547da,_0x454d6d,_0x91a14a];}static get['pluginName'](){return'RealTimeCollaborativeTrackChanges';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};const _0xd75da3=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x303882=class extends _0xd75da3{['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x139d04){super(),this['id']=_0x139d04['id']||(0x0,_0x14e616['uid'])(),this['creator']=_0x139d04['creator']||null,this['authors']=_0x139d04['authors']||[],this['diffData']=_0x139d04['diffData']||null,this['toVersion']=_0x139d04['toVersion']||0x0,this['fromVersion']=_0x139d04['fromVersion']||0x0,this['set']('name',_0x139d04['name']||''),this['set']('createdAt',_0x139d04['createdAt']||new Date()),this['set']('attributes',_0x139d04['attributes']||{});}['setName'](_0x49eeb7){this['_update']({'name':_0x49eeb7});}['setAttribute'](_0xd0a472,_0x51f6c4){const _0x40c3d2=wt(this['attributes']);Ft(_0x40c3d2,_0xd0a472,_0x51f6c4),this['_update']({'attributes':_0x40c3d2});}['removeAttribute'](_0x384e3c){const _0x4b5ced=wt(this['attributes']);Rt(_0x4b5ced,_0x384e3c),this['_update']({'attributes':_0x4b5ced});}['_update'](_0x32a8d5,_0x56c594=!0x1){let _0x48007a=!0x1;const _0x3e4e11={'id':this['id']};for(const _0x132a2b of['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId']){const _0x35c355=_0x32a8d5[_0x132a2b];void 0x0!==_0x35c355&&_0x35c355!==this[_0x132a2b]&&(this[_0x132a2b]=_0x35c355,_0x3e4e11[_0x132a2b]=_0x35c355,_0x48007a=!0x0);}_0x48007a&&(_0x3e4e11['authors']&&(_0x3e4e11['authorsIds']=_0x3e4e11['authors']['map'](_0x502f26=>_0x502f26['id']),delete _0x3e4e11['authors']),this['fire']('_update',_0x3e4e11,_0x56c594));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1963b7=>_0x1963b7['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}},_0x211191=class extends _0x14e616['Plugin']{['_revisions'];static get['requires'](){return[_0x17484f];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x3debc3){super(_0x3debc3),this['_revisions']=new _0x14e616['Collection']();}['afterInit'](){!async function(_0x21f07f){const _0x486ad9='vsmL4TPpuR53MlqSj2VXwH9oEAN8FxJtGUOdbDCZ01ihyfkBQY6acgz7rIeWKn',_0x1bc27e=0xeb829,_0x4fa09f=0x78fc0,_0x464e21=window['Date']['now'](),_0x3f4ab1=_0x21f07f['editor'],_0x512d62=new window['Promise'](_0x440e82=>{_0x3f4ab1['once']('ready',_0x440e82);}),_0x5045f0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0xddb0d9=_0x3f4ab1['config']['get']('licenseKey');async function _0x2dda83(){let _0x393cfe,_0x1c41b0=null,_0x44bfdf=null;try{return'GPL'==_0xddb0d9?'NotAllowed':(_0x393cfe=_0x5ca372(),_0x393cfe?(_0x393cfe['usageEndpoint']&&(_0x44bfdf=_0x1b59af(_0x393cfe['usageEndpoint'],_0x393cfe['jti'])),await _0x324733()?_0x302b23()?_0x58e53d()?'Expired':_0x3c57ab()?('evaluation'==_0x393cfe['licenseType']&&(_0x1c41b0=_0xefc65a('EvaluationLimit')),await _0x12266e()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x58e53d(){const _0x1f551a=['evaluation','trial']['includes'](_0x393cfe['licenseType'])?_0x464e21/0x3e8:0xe10*_0x4fa09f;return _0x393cfe['exp']<_0x1f551a;}function _0x302b23(){const _0xec7119=_0x393cfe['features'];if(!_0xec7119)return!0x1;if(_0xec7119['includes']('*'))return!0x0;if(_0xec7119['includes']('RH'))return!0x0;if(_0xec7119['includes']('RRH')){if(_0x5eff0c())return!0x0;if(_0x184110()||_0x4944b2())return!0x0;}return!0x1;}function _0x3c57ab(){const _0x40be47=_0x393cfe['licensedHosts'];if(!_0x40be47||0x0==_0x40be47['length'])return!0x0;const {hostname:_0x5e27ff}=new URL(window['location']['href']);if(_0x40be47['includes'](_0x5e27ff))return!0x0;const _0x1e7357=_0x5e27ff['split']('.');return _0x40be47['filter'](_0x223c16=>_0x223c16['includes']('*'))['map'](_0x57a295=>_0x57a295['split']('.'))['filter'](_0x418c46=>_0x418c46['length']<=_0x1e7357['length'])['map'](_0xfef366=>Array(_0x1e7357['length']-_0xfef366['length'])['fill']('*'===_0xfef366[0x0]?'*':'')['concat'](_0xfef366))['some'](_0x85039b=>_0x1e7357['every']((_0x58f11a,_0x569182)=>_0x85039b[_0x569182]===_0x58f11a||'*'===_0x85039b[_0x569182]));}function _0x12266e(){return _0x1c41b0&&_0x44bfdf?new window['Promise']((_0x44084e,_0x19f8e5)=>{_0x1c41b0['then'](_0x44084e,_0x19f8e5),_0x44bfdf['then'](_0x52d220=>{'Valid'!=_0x52d220&&_0x44084e(_0x52d220);},_0x19f8e5);}):_0x1c41b0||_0x44bfdf||'Valid';}}function _0x1b59af(_0x298c4f,_0x506331){return new window['Promise'](_0x222de9=>{if(_0x307602())return _0x222de9('Valid');_0x30c92a(),_0x3f4ab1['decorate']('_sendUsageRequest');let _0x3b98a6=!0x1;const _0x4806cc=(0x0,_0x14e616['uid'])();function _0x5cfb81(_0x5b9a07){return!!_0x5b9a07&&('object'==typeof _0x5b9a07||'function'==typeof _0x5b9a07)&&'function'==typeof _0x5b9a07['then']&&'function'==typeof _0x5b9a07['catch'];}function _0xca988a(_0x6248bb){_0x52f854(_0x6248bb)['then'](_0x4f8171=>_0x4f8171&&'ok'==_0x4f8171['status']?_0x1fdda5(_0x336c12(_0x4806cc+_0x506331))!=_0x4f8171['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x7b60f9=>(_0x1a4dd0(),_0x7b60f9),()=>{const _0x99a66d=_0x506241();return null==_0x99a66d?(_0x1a4dd0(),'Valid'):_0x464e21-_0x99a66d>0x240c8400?'UsageLimit':'Valid';})['then'](_0x222de9)['catch'](()=>{_0x222de9('UsageLimit');});const _0x391a1d=0x36ee80;function _0x1a4dd0(){const _0x5ceba5='llct-'+_0x1fdda5(_0x336c12(_0x298c4f)),_0x48cb19=_0x12796f(_0x1fdda5(window['Math']['ceil'](_0x464e21/_0x391a1d)));window['localStorage']['setItem'](_0x5ceba5,_0x48cb19);}function _0x506241(){const _0x156bd5='llct-'+_0x1fdda5(_0x336c12(_0x298c4f)),_0xee5254=window['localStorage']['getItem'](_0x156bd5);return _0xee5254?window['parseInt'](_0x12796f(_0xee5254),0x10)*_0x391a1d:null;}function _0x52f854(_0x20e863){return new window['Promise']((_0x325800,_0x312a18)=>{_0x20e863['then'](_0x325800,_0x312a18),window['setTimeout'](_0x312a18,0x1d4c0);});}}_0x3f4ab1['on']('_sendUsageRequest',(_0x29d1c9,_0x51c331)=>{if(_0x51c331[0x0]!=_0x298c4f)return _0x222de9('UsageLimit');_0x51c331[0x1]={..._0x51c331[0x1],'requestId':_0x4806cc};},{'priority':'high'}),_0x3f4ab1['on']('_sendUsageRequest',_0x418e54=>{_0x5cfb81(_0x418e54['return'])&&(_0x3b98a6=!0x0,_0xca988a(_0x418e54['return']));},{'priority':'low'}),_0x512d62['then'](()=>{_0x3b98a6||_0x222de9('UsageLimit');});});function _0x307602(){return'auto'==_0x3f4ab1['editing']['view']['_overlayModeHint'];}function _0x30c92a(){_0x3f4ab1['editing']['view']['_overlayModeHint']='auto';}}function _0xefc65a(_0x4c960b){const _0x9f4118=[new window['Promise'](_0x586e1e=>setTimeout(_0x586e1e,0x93ecc)),_0x512d62['then'](()=>new window['Promise'](_0x3d9ebf=>{const _0xcb96af=0x7,_0x78e9ba=_0x21f07f['_revisions'];function _0x416f58(){_0x78e9ba['length']>=_0xcb96af&&_0x3d9ebf();}_0x416f58(),_0x78e9ba['on']('add',_0x416f58);})),new window['Promise'](_0x3f5165=>{function _0x4077ee(){for(const _0x121dbb in window)if(window['Number']['isNaN'](window['Number'](_0x121dbb))&&window[_0x121dbb]==_0x1bc27e)return _0x3f5165();'destroyed'!=_0x3f4ab1['state']&&window['setTimeout'](_0x4077ee,0x1388);}_0x1acbaf('RevisionViewer')&&_0x4077ee();})];return window['Promise']['race'](_0x9f4118)['then'](()=>_0x4c960b);}async function _0x53bc69(){if(await _0x512d62,_0x1acbaf('RevisionViewer')){const _0xb1054a=_0x21f07f['getRevision'](0x0),_0x1d9e1e=_0x21f07f['getEarlierVisibleRevision'](_0xb1054a['id']),_0x186df5=_0x5317fc('RevisionViewer');return await _0x186df5['compare'](_0xb1054a['id'],_0x1d9e1e?_0x1d9e1e['id']:null,!0x0),_0x186df5['unbind']('isEnabled'),_0x186df5['isEnabled']=!0x1,_0x186df5['compare']=_0x26d373,void(_0x186df5['_getDiff']=_0x26d373);}if(_0x1acbaf('RevisionTracker')){const _0x315fd9=_0x5317fc('RevisionTracker');_0x315fd9['unbind']('isEnabled'),_0x315fd9['isEnabled']=!0x1,_0x315fd9['update']=_0x26d373,_0x315fd9['saveRevision']=_0x26d373;}_0x3f4ab1['model']['change']=_0x26d373,_0x3f4ab1['model']['enqueueChange']=_0x26d373,_0x3f4ab1['enableReadOnlyMode']('model');}function _0x5eff0c(){return _0x1acbaf('WebSocketGateway')&&'connected'==_0x5317fc('WebSocketGateway')['state'];}function _0x184110(){return _0x1acbaf('RevisionViewerIntegration');}function _0x4944b2(){return _0x1acbaf('TrackChangesDataGetter');}function _0x232f0a(_0x3120d8){const _0x12e94c=_0x44aa90();_0x3f4ab1[_0x12e94c]='revisionHistoryLicenseKey'+_0x3120d8,_0x3120d8['endsWith']('Limit')&&(window[_0x44aa90()]=_0x1bc27e),'Valid'!=_0x3120d8&&_0x53bc69();}function _0x44aa90(){const _0x4aa4ee=window['String'](window['performance']['now']())['replace']('.','');let _0x41d89e='v';for(let _0x2766a3=0x0;_0x2766a3<_0x4aa4ee['length'];_0x2766a3+=0x2){let _0x28f427=window['parseInt'](_0x4aa4ee['substring'](_0x2766a3,_0x2766a3+0x2));_0x28f427>=0x3e&&(_0x28f427-=0x3e),_0x41d89e+=_0x486ad9[_0x28f427];}return _0x41d89e;}function _0x5ca372(){const _0x73e87e=_0xddb0d9['split']('.');if(0x3!=_0x73e87e['length'])return null;return _0x142587(_0x73e87e[0x1]);function _0x142587(_0x49e492){const _0xb1f4c9=_0x1d4d1a(_0x49e492);return _0xb1f4c9&&_0x27e8e5()?_0xb1f4c9:null;function _0x27e8e5(){const _0x18598b=_0xb1f4c9['jti'],_0x252db4=window['parseInt'](_0x18598b['substring'](_0x18598b['length']-0x8),0x10),_0x573901={..._0xb1f4c9,'jti':_0x18598b['substring'](0x0,_0x18598b['length']-0x8)};return delete _0x573901['vc'],_0x336c12(_0x573901)==_0x252db4;}}}async function _0x324733(){let _0x3aa613=!0x0;try{const [_0x4c027c,_0x7da3b1,_0x487b06]=_0xddb0d9['split']('.');return _0x5b6889(_0x4c027c),await _0x3eacaf(_0x4c027c,_0x7da3b1,_0x487b06),_0x3aa613;}catch{return!0x1;}function _0x5b6889(_0x4de8ec){const _0x3025c9=_0x1d4d1a(_0x4de8ec);_0x3025c9&&'ES256'==_0x3025c9['alg']||(_0x3aa613=!0x1);}async function _0x3eacaf(_0x122812,_0x20e607,_0x248d9e){const _0x36262a=window['Uint8Array']['from'](_0x1c332c(_0x248d9e),_0x2342f3=>_0x2342f3['charCodeAt'](0x0)),_0x2b44c8=new window['TextEncoder']()['encode'](_0x122812+'.'+_0x20e607),_0x45a0ea=window['crypto']['subtle'];if(!_0x45a0ea)return;const _0x2f344f=await _0x45a0ea['importKey']('jwk',_0x5045f0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x45a0ea['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x2f344f,_0x36262a,_0x2b44c8)||(_0x3aa613=!0x1);}}function _0x1d4d1a(_0x1ed315){return _0x1ed315['startsWith']('ey')?JSON['parse'](_0x1c332c(_0x1ed315)):null;}function _0x1c332c(_0x1e958f){return window['atob'](_0x1e958f['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x336c12(_0x10df29){let _0x1d22b7=0x1505;function _0x51bf82(_0x5d7d80){for(let _0x229de7=0x0;_0x229de7<_0x5d7d80['length'];_0x229de7++){const _0x5cb112=_0x5d7d80['charCodeAt'](_0x229de7);_0x1d22b7=(_0x1d22b7<<0x5)+_0x1d22b7+_0x5cb112,_0x1d22b7&=_0x1d22b7;}}function _0xc74b5a(_0x44ec35){Array['isArray'](_0x44ec35)?_0x44ec35['forEach'](_0xc74b5a):_0x44ec35&&'object'==typeof _0x44ec35?Object['entries'](_0x44ec35)['sort']()['forEach'](([_0x9e6fbd,_0x20da5d])=>{_0x51bf82(_0x9e6fbd),_0xc74b5a(_0x20da5d);}):_0x51bf82(window['String'](_0x44ec35));}return _0xc74b5a(_0x10df29),_0x1d22b7>>>0x0;}function _0x1fdda5(_0x59ed68){return _0x59ed68['toString'](0x10)['padStart'](0x8,'0');}function _0x12796f(_0x3f0191){return _0x3f0191['split']('')['reverse']()['join']('');}function _0x1acbaf(_0x57b3b4){return _0x3f4ab1['plugins']['has'](_0x57b3b4);}function _0x5317fc(_0x3150dd){return _0x3f4ab1['plugins']['get'](_0x3150dd);}function _0x26d373(){}_0x232f0a(await _0x2dda83());}(this);}['createRevision'](_0x5ebace){const _0x152a61=this['editor']['plugins']['get']('Users');return new _0x303882({'id':_0x5ebace['id'],'name':_0x5ebace['name'],'creator':_0x5ebace['creatorId']?_0x152a61['getUser'](_0x5ebace['creatorId']):null,'diffData':_0x5ebace['diffData']||_0x5ebace['data'],'authors':_0x5ebace['authorsIds']['map'](_0x13dc74=>_0x152a61['getUser'](_0x13dc74)),'createdAt':new Date(_0x5ebace['createdAt']),'attributes':_0x5ebace['attributes'],'fromVersion':_0x5ebace['fromVersion'],'toVersion':_0x5ebace['toVersion']});}['addRevision'](_0x4bb4c8,_0x48e559=0x0){this['_revisions']['add'](_0x4bb4c8,_0x48e559);}['getRevision'](_0x2046e3){return this['_revisions']['get'](_0x2046e3);}['getRevisions'](_0x571174={'toJSON':!0x1}){const _0x4b45a9=Array['from'](this['_revisions']);return _0x4b45a9['reverse'](),_0x571174['toJSON']?_0x4b45a9['map'](_0x3bc779=>_0x3bc779['toJSON']()):_0x4b45a9;}['getIndex'](_0x1b9ca1){return this['_revisions']['getIndex'](_0x1b9ca1);}['getEarlierVisibleRevision'](_0xf4f175){const [,_0x3c3970]=this['getRevisionsIterator'](_0xf4f175,{'direction':'earlier'});return _0x3c3970;}['getLaterVisibleRevision'](_0x51d892){const [,_0x5066ff]=this['getRevisionsIterator'](_0x51d892,{'direction':'later'});return _0x5066ff;}['getRevisionsInDiff'](_0x4129f4){const _0x41615a=[];for(const _0x242cc8 of this['getRevisionsIterator'](_0x4129f4['newRevisionId']))if(_0x41615a['push'](_0x242cc8),_0x242cc8['id']===_0x4129f4['oldRevisionId'])break;return _0x41615a;}*['getRevisionsIterator'](_0x309ae7,{direction:_0x4bb6c2='earlier',filter:_0x400070=()=>!0x0}={}){const _0x418889='earlier'===_0x4bb6c2?0x1:-0x1;let _0x26a088=this['_revisions']['get'](_0x309ae7),_0x39bd63=this['getIndex'](_0x26a088);for(yield _0x26a088;_0x26a088;){if(_0x39bd63+=_0x418889,_0x26a088=this['getRevision'](_0x39bd63),!_0x26a088)return;_0x400070(_0x26a088)&&(yield _0x26a088);}}},_0x137691=class extends _0x14e616['Plugin']{static get['pluginName'](){return'RevisionHistoryUtils';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['_viewClassToTypeChar']=new Map([[_0x14e616['ViewContainerElement'],'c'],[_0x14e616['ViewAttributeElement'],'a'],[_0x14e616['ViewEmptyElement'],'e'],[_0x14e616['ViewRawElement'],'r'],[_0x14e616['ViewUIElement'],'u']]);['_typeCharToViewClass']=new Map([['c',_0x14e616['ViewContainerElement']],['a',_0x14e616['ViewAttributeElement']],['e',_0x14e616['ViewEmptyElement']],['r',_0x14e616['ViewRawElement']],['u',_0x14e616['ViewUIElement']]]);async['loadRevisionData'](_0x35d952,_0x530c30){if(_0x35d952['diffData']||!_0x530c30)return;const _0x27b74c=this['editor']['config']['get']('collaboration.channelId');_0x35d952['diffData']=(await _0x530c30['getRevision']({'channelId':_0x27b74c,'revisionId':_0x35d952['id']}))['diffData'];}['getRevisionDocumentData'](_0x19e4f3){const _0x460549={};for(const _0xc61cf4 in _0x19e4f3['diffData']){if(_0x19e4f3['diffData'][_0xc61cf4]['attachChange']&&!_0x19e4f3['diffData'][_0xc61cf4]['attachChange']['isAttached'])continue;const _0x1f6bc5=this['_removeRevisionMarkers'](JSON['parse'](_0x19e4f3['diffData'][_0xc61cf4]['insertions'])),_0x112cdc=this['editor']['editing']['view']['document'],_0x3f274a=new _0x14e616['ViewDocumentFragment'](_0x112cdc,_0x1f6bc5['map'](_0x46522c=>this['_getViewFromDiffObj'](_0x46522c,!0x1)));this['editor']['data']['processor']['useFillerType']('marked'),_0x460549[_0xc61cf4]=this['editor']['data']['processor']['toData'](_0x3f274a),this['editor']['data']['processor']['useFillerType']('default');}return _0x460549;}['getRevisionRootsAttributes'](_0x2ee7eb){const _0x270b9d={};for(const _0x143b2a in _0x2ee7eb['diffData'])_0x2ee7eb['diffData'][_0x143b2a]['attachChange']&&!_0x2ee7eb['diffData'][_0x143b2a]['attachChange']['isAttached']||(_0x270b9d[_0x143b2a]=_0x2ee7eb['diffData'][_0x143b2a]['attributesAfter']||{});return _0x270b9d;}['getRevisionRootsModelElements'](_0x331656){const _0x135615={};for(const _0x51a90e in _0x331656['diffData']){if(_0x331656['diffData'][_0x51a90e]['attachChange']&&!_0x331656['diffData'][_0x51a90e]['attachChange']['isAttached'])continue;const _0x93195f=_0x331656['diffData'][_0x51a90e]['rootElementName'];_0x93195f&&(_0x135615[_0x51a90e]=_0x93195f);}return _0x135615;}['_getTypeCharForViewElement'](_0x598165){return this['_viewClassToTypeChar']['get'](_0x598165['constructor']);}['_getViewFromDiffObj'](_0x1875bf,_0x2247a1){const _0xcaffcd=this['editor']['editing']['view']['document'];if('string'==typeof _0x1875bf)return new _0x14e616['ViewText'](_0xcaffcd,_0x1875bf);{let _0x1d1f31,_0x1f7ce4;_0x1f7ce4='u'==_0x1875bf['type']||'r'==_0x1875bf['type']?[]:_0x1875bf['children']['map'](_0x1bbee9=>this['_getViewFromDiffObj'](_0x1bbee9,_0x2247a1));const _0x53467b=this['_typeCharToViewClass']['get'](_0x1875bf['type'])||_0x14e616['ViewElement'],_0xb85a11=this['editor']['data']['htmlProcessor']['domConverter'];if(_0x1d1f31=new _0x53467b(_0xcaffcd,_0x1875bf['name'],_0x1875bf['attributes'],_0x1f7ce4),'u'==_0x1875bf['type']&&_0x1875bf['children'][0x0]){const _0x2f898e=_0x1875bf['children'][0x0];if(_0x1d1f31['render']=function(_0x1fffe4){const _0x5331bb=_0x1fffe4['createElement']('div');return _0x5331bb['innerHTML']=_0x2f898e,_0x5331bb['childNodes'][0x0];},_0x2247a1){const _0xce8d8a=new _0x14e616['ViewDocumentFragment'](_0xcaffcd);_0xce8d8a['_appendChild'](_0x1d1f31);const _0x54e16b=Array['from'](_0xb85a11['viewChildrenToDom'](_0xce8d8a,{'bind':!0x1})),_0x16d73e=_0xb85a11['domDocument']['createElement']('div');_0x16d73e['append'](..._0x54e16b),_0x1d1f31=Array['from'](_0xb85a11['domChildrenToView'](_0x16d73e))[0x0];}}else{if('r'==_0x1875bf['type']&&_0x1875bf['children'][0x0]){const _0x159b6c=_0x1875bf['children'][0x0];if(_0x1d1f31['render']=function(_0x1c135f){_0x1c135f['innerHTML']=_0x159b6c;},_0x2247a1){const _0x3f8859=new _0x14e616['ViewDocumentFragment'](_0xcaffcd);_0x3f8859['_appendChild'](_0x1d1f31);const _0x422f04=Array['from'](_0xb85a11['viewChildrenToDom'](_0x3f8859,{'bind':!0x1})),_0x392972=_0xb85a11['domDocument']['createElement']('div');_0x392972['append'](..._0x422f04);const _0x302c7a=Array['from'](_0xb85a11['domChildrenToView'](_0x392972));_0x302c7a['length']>0x1?_0x1d1f31['_appendChild'](_0x302c7a):_0x1d1f31=_0x302c7a[0x0];}}}if(_0x1875bf['customProperties']){for(const [_0x34a939,_0x14eb55]of _0x1875bf['customProperties'])_0x1d1f31['_setCustomProperty'](_0x34a939,_0x14eb55);}const _0x3c95b4=void 0x0===_0x1875bf['fillerOffset']?null:_0x1875bf['fillerOffset'];return null!==_0x3c95b4&&(_0x1d1f31['getFillerOffset']=()=>_0x3c95b4),_0x1d1f31;}}['_makeModelFromViewString'](_0x5d5a85,_0x16b3cb){const _0x5a462c=JSON['parse'](_0x5d5a85),_0x3a6310=this['editor']['editing']['view']['document'],_0x2a7e81=new _0x14e616['ViewDocumentFragment'](_0x3a6310,_0x5a462c['map'](_0x1c52a3=>this['_getViewFromDiffObj'](_0x1c52a3,!0x0))),_0x6bc9fe=this['editor']['data']['toModel'](_0x2a7e81,_0x16b3cb);return _0x6bc9fe['name']=_0x16b3cb,_0x6bc9fe;}['_removeRevisionMarkers'](_0x2ae99c){return(_0x2ae99c=_0x2ae99c['filter'](_0x3d22ed=>!_0x3d22ed['name']||'revision-start'!==_0x3d22ed['name']&&'revision-end'!==_0x3d22ed['name']))['forEach'](_0x3ac5a6=>{'string'!=typeof _0x3ac5a6&&(_0x3ac5a6['children']=this['_removeRevisionMarkers'](_0x3ac5a6['children']),_0x3ac5a6['attributes']=_0x3ac5a6['attributes']['filter'](_0x4566bb=>!_0x4566bb[0x0]['startsWith']('data-revision-')));}),_0x2ae99c;}};function _0x362172(_0x29b4a4,_0x5585b0,_0x1c3dc4){const t=_0x29b4a4['t'];switch(_0x5585b0){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'},_0x1c3dc4);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1c3dc4);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'';}}var _0x117f79=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];['currentRevision']=null;['repository'];['adapter']=null;['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_utils'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x17484f,_0x211191,_0x137691,_0x14e616['PendingActions']];}constructor(_0x174a41){super(_0x174a41),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),this['_revisionDataBuilder']=new _0x3ec316(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x103a17=(0x0,_0x14e616['uid'])();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x103a17},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['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x1ac1b0=this['repository']['getRevision'](0x0),_0x1e421f=_0x1ac1b0&&null===_0x1ac1b0['creator']?_0x1ac1b0:null;if(this['_continueCurrentRevision']=!!_0x1e421f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4c6fb3=this['_source']['getCurrentRevisionId'](),_0x2c8f95=this['repository']['getRevision'](_0x4c6fb3);if(_0x2c8f95)this['_startingVersion']=_0x2c8f95['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x10b474=this['_source']['history']['_operations']['find'](_0x25c7b6=>!_0x25c7b6['_isInit']),_0x3b05cc=_0x10b474?_0x10b474['baseVersion']:this['_source']['history']['version'];_0x1ac1b0?(_0x1ac1b0['toVersion']<_0x3b05cc&&_0x1ac1b0['_update']({'toVersion':_0x3b05cc}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1e421f['id'],this['_startingVersion']=_0x1e421f['fromVersion']):(this['_startingVersion']=_0x1ac1b0['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3b05cc,this['_continueCurrentRevision']=!0x1);}}else _0x1e421f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1e421f['toVersion'],this['editor']['model']['document']['history']['version']),_0x1e421f['fromVersion']===_0x1e421f['toVersion']?(0x0!==_0x1e421f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1e421f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1e421f['id'],this['_startingVersion']=_0x1e421f['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',_0x5a8e28=>!_0x5a8e28),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb5502e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe18832;for(const _0x8e81a6 in _0xb5502e){const _0x153789=_0x8e81a6,_0x1c531b=_0xb5502e[_0x153789];if('revisionHistoryLicenseKeyValid'==_0x1c531b||'revisionHistoryLicenseKeyInvalid'==_0x1c531b||'revisionHistoryLicenseKeyExpired'==_0x1c531b||'revisionHistoryLicenseKeyDomainLimit'==_0x1c531b||'revisionHistoryLicenseKeyNotAllowed'==_0x1c531b||'revisionHistoryLicenseKeyEvaluationLimit'==_0x1c531b||'revisionHistoryLicenseKeyUsageLimit'==_0x1c531b){delete _0xb5502e[_0x153789],_0xe18832=_0x1c531b,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'revisionHistoryLicenseKeyInvalid'==_0xe18832&&_0xb5502e['_showLicenseError']('invalid'),'revisionHistoryLicenseKeyExpired'==_0xe18832&&_0xb5502e['_showLicenseError']('expired'),'revisionHistoryLicenseKeyDomainLimit'==_0xe18832&&_0xb5502e['_showLicenseError']('domainLimit'),'revisionHistoryLicenseKeyNotAllowed'==_0xe18832&&_0xb5502e['_showLicenseError']('featureNotAllowed','RevisionHistory'),'revisionHistoryLicenseKeyEvaluationLimit'==_0xe18832&&_0xb5502e['_showLicenseError']('evaluationLimit'),'revisionHistoryLicenseKeyUsageLimit'==_0xe18832&&_0xb5502e['_showLicenseError']('usageLimit');},0x3e8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x33e055=this['repository']['getRevision'](0x0),_0x2f2f55=await this['getRevisionDocumentData'](_0x33e055),_0x4f2512=await this['getRevisionRootsAttributes'](_0x33e055),_0xc9d9e5=this['_utils']['getRevisionRootsModelElements'](_0x33e055);this['_replaceEditorDataWithRevisionData'](_0x2f2f55,_0x4f2512,_0xc9d9e5);}}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['setSource'](_0x10bc81){this['_source']=_0x10bc81;}async['update'](){const _0x196299=await this['_source']['getLatestVersion']();if(_0x196299>this['currentRevision']['toVersion']){await this['_loadState']();const _0x145677=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x196299});_0x145677['authors']=_0x145677['authorsIds']['map'](_0x4dc002=>this['editor']['plugins']['get']('Users')['getUser'](_0x4dc002)),this['currentRevision']['_update'](_0x145677);}}async['saveRevision'](_0x3f34a2={},_0x2acafd=null){const _0x872635=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2acafd>this['currentRevision']['toVersion']&&(_0x2acafd=null),null===_0x2acafd&&(_0x2acafd=await this['_source']['getLatestVersion']());const _0xbafe88=this['_getFromVersion'](_0x2acafd),_0x4bf9c6=this['buildRevisionData']({'from':_0xbafe88,'to':_0x2acafd});if(this['currentRevision']['toVersion']<_0x2acafd){const _0x58d414=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2acafd,'to':_0x2acafd});_0x58d414['authors']=[],_0x58d414['authorsIds']=[],_0x58d414['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x58d414,!0x0),delete _0x58d414['authors'],_0x872635['push'](_0x58d414);}_0x3f34a2['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3f34a2['name']=_0x3f34a2['name']||null,_0x3f34a2['id']=_0x3f34a2['id']||(0x0,_0x14e616['uid'])(),_0x3f34a2={..._0x3f34a2,..._0x4bf9c6};const _0x1f56f8=this['addRevisionData'](_0x3f34a2);_0x872635['push'](_0x3f34a2);const _0x1f6302=this['repository']['getIndex'](_0x1f56f8);if(0x0!==_0x1f6302){const _0x3df222=this['repository']['getRevision'](_0x1f6302-0x1);if(_0x3df222['fromVersion']!==_0x2acafd){const _0x5f6b31=this['_revisionDataBuilder']['getData'](_0x2acafd,_0x3df222['toVersion']),_0x4943fe={'id':_0x3df222['id'],'diffData':_0x5f6b31['diffData'],'authorsIds':_0x5f6b31['authorsIds'],'authors':_0x5f6b31['authorsIds']['map'](_0x5125f9=>this['editor']['plugins']['get']('Users')['getUser'](_0x5125f9)),'fromVersion':_0x2acafd};_0x3df222===this['currentRevision']&&(_0x4943fe['createdAt']=new Date(_0x3f34a2['createdAt']['getTime']()+0xa)),_0x3df222['_update'](_0x4943fe,!0x0),delete _0x4943fe['authors'],_0x872635['push'](_0x4943fe);}}if(this['adapter']){for(const _0x4dc4d8 of _0x872635)this['_bufferUpdate'](_0x4dc4d8['id'],_0x4dc4d8,!0x0);this['sendBufferedUpdates']();}return _0x1f56f8;}['addRevisionData'](_0x3ebd17){const _0x489bc4=this['repository']['createRevision'](_0x3ebd17);return this['adapter']&&_0x489bc4['on']('_update',(_0x1d34c5,_0x3fe5d0,_0x338760)=>{_0x338760||(this['_bufferUpdate'](_0x3fe5d0['id'],_0x3fe5d0,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x489bc4,this['_findInsertionIndex'](_0x489bc4)),_0x489bc4;}async['getRevisionDocumentData'](_0x1750b3){return await this['_utils']['loadRevisionData'](_0x1750b3,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x1750b3);}async['getRevisionRootsAttributes'](_0x4c79c5){return await this['_utils']['loadRevisionData'](_0x4c79c5,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x4c79c5);}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5825f1=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x168e70=0x0;_0x168e70<_0x5825f1['length'];_0x168e70++){const _0x178b27=_0x5825f1[_0x168e70];let _0x26f1a6=!0x1;for(const _0x4def4b of Object['keys'](_0x178b27))void 0x0===_0x178b27[_0x4def4b]?delete _0x178b27[_0x4def4b]:'id'!==_0x4def4b&&(_0x26f1a6=!0x0);_0x26f1a6||(_0x5825f1[_0x168e70]=null);}if(_0x5825f1=_0x5825f1['filter'](_0xc0e43b=>null!==_0xc0e43b),!_0x5825f1['length'])return;for(let _0xb86709=0x0;_0xb86709<_0x5825f1['length'];_0xb86709++){const _0x89dda4=_0x5825f1[_0xb86709];void 0x0!==_0x89dda4['fromVersion']&&void 0x0===_0x89dda4['toVersion']&&(_0x89dda4['toVersion']=this['repository']['getRevision'](_0x89dda4['id'])['toVersion']),void 0x0!==_0x89dda4['toVersion']&&void 0x0===_0x89dda4['fromVersion']&&(_0x89dda4['fromVersion']=this['repository']['getRevision'](_0x89dda4['id'])['fromVersion']);}const _0x440289=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5825f1,_0x440289)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4f47ed=>{if(_0x4f47ed){for(const _0x2cd9d7 of _0x4f47ed)this['setRevisionData']({'id':_0x2cd9d7['id'],'createdAt':_0x2cd9d7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['buildRevisionData']({revision:_0x2026a8=null,from:_0xc38491=null,to:_0x21c09c=null}){_0xc38491=null!==_0xc38491?_0xc38491:_0x2026a8['fromVersion'],_0x21c09c=null!==_0x21c09c?_0x21c09c:_0x2026a8['toVersion'];const _0x196e3e=this['_revisionDataBuilder']['getData'](_0xc38491,_0x21c09c),_0x12ad01={'diffData':_0x196e3e['diffData'],'authorsIds':_0x196e3e['authorsIds'],'fromVersion':_0xc38491,'toVersion':_0x21c09c};if(!_0x2026a8||_0x21c09c!==_0x2026a8['toVersion']){const _0xab4224=_0x21c09c-0x1,_0x1a8d3e=this['_source']['history']['getOperation'](_0xab4224);_0x12ad01['createdAt']=_0x1a8d3e&&_0x1a8d3e['createdAt']||new Date();}if(this['_loadedStateData']&&_0xc38491===this['_loadedStateData']['fromVersion']){for(const _0x2b15c4 of this['_loadedStateData']['authors'])_0x12ad01['authorsIds']['includes'](_0x2b15c4['id'])||_0x12ad01['authorsIds']['push'](_0x2b15c4['id']);}return _0x12ad01;}['_bufferUpdate'](_0x4b2e15,_0x5f2c19,_0x3343f0){if(this['_bufferedUpdates']['has'](_0x4b2e15)){const _0x1e812a=this['_bufferedUpdates']['get'](_0x4b2e15);_0x5f2c19=_0x3343f0?{..._0x1e812a,..._0x5f2c19}:{..._0x5f2c19,..._0x1e812a};}this['_bufferedUpdates']['set'](_0x4b2e15,_0x5f2c19);}['setRevisionData'](_0x541568){const _0x4e43f6=this['repository']['getRevision'](_0x541568['id']);if(_0x541568['createdAt']&&(_0x541568['createdAt']=new Date(_0x541568['createdAt'])),_0x541568['authorsIds']){const _0x592be5=this['editor']['plugins']['get']('Users');_0x541568['authors']=_0x541568['authorsIds']['map'](_0x198eb2=>_0x592be5['getUser'](_0x198eb2));}_0x4e43f6['_update'](_0x541568,!0x0);}['_createInitialRevision'](_0x1585df){const _0x288c13=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x288c13)this['_initialRevisionId']=_0x288c13['id'];else{const _0x2d875f=!this['editor']['model']['document']['roots']['find'](_0x378653=>this['editor']['model']['hasContent'](_0x378653)),_0x12b8ab=this['editor']['plugins']['get']('Users')['me']['id'],_0x500de1=_0x362172(this['editor']['locale'],_0x2d875f?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1585df,'to':_0x1585df,'id':this['_initialRevisionId'],'name':_0x500de1,'creatorId':_0x12b8ab});}}['_createCurrentRevision'](_0x17ce09){const _0x3ca81d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3ca81d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x17ce09,'to':_0x17ce09,'id':_0x3ca81d,'name':'','creatorId':null}));}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_utils']['loadRevisionData'](this['currentRevision'],this['adapter']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}['_replaceEditorDataWithRevisionData'](_0x1de606,_0xef2bd0,_0x8e63c4){const _0x2840ca={},_0x2cc481={},_0x1d6f22={},_0x235dee=this['editor']['config']['get']('roots')||{};for(const [_0x397097,_0x589e6e]of Object['entries'](_0x235dee))_0x589e6e['lazyLoad']||(_0x2840ca[_0x397097]=_0x589e6e['initialData']??'',_0x2cc481[_0x397097]=_0x589e6e['modelAttributes']||{},_0x589e6e['modelElement']&&(_0x1d6f22[_0x397097]=_0x589e6e['modelElement']));for(const _0x359277 of this['editor']['model']['document']['getRootNames']())_0x2840ca[_0x359277]??='',_0x2cc481[_0x359277]??={};let _0x162cd0=!0x1;const _0x1f86d0=Object['keys'](_0x2840ca),_0x2445d8=Object['keys'](_0x1de606);for(const _0x2f36a0 of _0x1f86d0){if(_0x2840ca[_0x2f36a0]!==_0x1de606[_0x2f36a0]&&''!==_0x2840ca[_0x2f36a0]['trim']()){_0x162cd0=!0x0;break;}if(!ft(_0x2cc481[_0x2f36a0],_0xef2bd0[_0x2f36a0])&&Object['keys'](_0x2cc481[_0x2f36a0])['length']>0x0){_0x162cd0=!0x0;break;}const _0x4e6ad8=_0x1d6f22[_0x2f36a0],_0x1cb035=_0x8e63c4[_0x2f36a0];if(_0x4e6ad8&&_0x1cb035&&_0x4e6ad8!==_0x1cb035){_0x162cd0=!0x0;break;}}_0x162cd0||(_0x162cd0=_0x2445d8['some'](_0x357193=>!this['editor']['model']['document']['getRoot'](_0x357193))),_0x162cd0&&(0x0,_0x14e616['logWarning'])('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2840ca,'editorRootsAttributes':_0x2cc481,'editorRootsModelElements':_0x1d6f22,'revisionData':_0x1de606,'revisionRootsAttributes':_0xef2bd0,'revisionRootsModelElements':_0x8e63c4});for(const [_0x423098,_0x190dc5]of Object['entries'](_0x1de606))this['editor']['config']['set']('roots.'+_0x423098+'.initialData',_0x190dc5);for(const [_0x2e5193,_0x231a84]of Object['entries'](_0xef2bd0))this['editor']['config']['set']('roots.'+_0x2e5193+'.modelAttributes',_0x231a84);const _0x5039e5=this['editor']['model']['document'];for(const [_0x5e6740,_0xba58b2]of Object['entries'](_0x8e63c4)){this['editor']['config']['set']('roots.'+_0x5e6740+'.modelElement',_0xba58b2);const _0x453652=_0x5039e5['getRoot'](_0x5e6740);_0x453652&&_0x453652['name']!==_0xba58b2&&(_0x5039e5['roots']['remove'](_0x5e6740),_0x5039e5['createRoot'](_0xba58b2,_0x5e6740));}}['_addPendingAction'](){if(!this['_pendingAction']){const _0x541e9e=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x541e9e['add'](_0x362172(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x7e6942){const _0x1b9066=this['repository']['getRevisions']();_0x1b9066['reverse']();let _0x307ca4=0x0;for(;_0x307ca4<_0x1b9066['length'];){const _0x3bfb61=_0x1b9066[_0x307ca4];if(_0x3bfb61===this['currentRevision']){_0x307ca4++;continue;}if(_0x3bfb61['id']===this['_initialRevisionId'])break;const _0xd9c578=_0x7e6942['toVersion']-_0x3bfb61['toVersion']||_0x7e6942['fromVersion']-_0x3bfb61['fromVersion'];if(_0xd9c578>0x0)break;if(_0xd9c578<0x0)_0x307ca4++;else{if(!_0x7e6942['creator']&&_0x3bfb61['creator'])break;if(_0x3bfb61['creator']||!_0x7e6942['creator']){if(_0x7e6942['createdAt']>_0x3bfb61['createdAt'])break;_0x307ca4++;}else _0x307ca4++;}}return _0x307ca4;}['_getFromVersion'](_0x14fcf5){const _0x3a97c9=this['repository']['getRevisions']();_0x3a97c9['reverse'](),_0x3a97c9['shift']();const _0x10f277=_0x3a97c9['find'](_0x598189=>_0x598189['toVersion']<=_0x14fcf5)['toVersion'];return _0x10f277<this['_startingVersion']?this['_startingVersion']:_0x10f277;}['_makeRevision']({name:_0x4ea703,from:_0x13a2d1,to:_0x3e8ac9,creatorId:_0x2164bd,id:_0x2b34d4}){const _0x317112=this['buildRevisionData']({'from':_0x13a2d1,'to':_0x3e8ac9});_0x317112['name']=_0x4ea703,_0x317112['creatorId']=_0x2164bd,_0x317112['id']=_0x2b34d4;const _0x9bba0b=this['addRevisionData'](_0x317112);return this['adapter']&&this['_bufferUpdate'](_0x317112['id'],_0x317112,!0x0),_0x9bba0b;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}},_0x3ec316=class{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xcd19ad){this['editor']=_0xcd19ad,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'](_0xd9cb6b){this['source']=_0xd9cb6b;const _0x3c7e92=new Map(),_0x4a343e=new Map(),_0x3c88f3=this['editor']['model']['document']['roots']['map'](_0x30d7fb=>_0x30d7fb['rootName']);for(const _0x3cf1ac of _0x3c88f3){const _0x12220a=this['editor']['model']['document']['getRoot'](_0x3cf1ac),_0x37e0c5=_0x29ce25(_0x12220a);_0x3c7e92['set'](_0x3cf1ac,_0x37e0c5),_0x4a343e['set'](_0x3cf1ac,Object['fromEntries'](_0x12220a['getAttributes']()));}const _0x58a607=Array['from'](this['editor']['model']['markers'])['map'](_0x4d44d8=>[_0x4d44d8['name'],_0x4d44d8['getRange']()]),_0x4ac63c=this['source']['version'];this['_saveMetaData'](_0x4ac63c,_0x3c7e92,_0x58a607,_0x4a343e),this['_startingRevisionId']=this['_revisionId'];const _0x3523d7=new Map(),_0x6abf6d=new Map();for(const _0x4d9c16 of _0x3c88f3){const _0x15dd0a=_0x2632bf(_0x4d9c16,this['editor']['model']['document']['getRoot'](_0x4d9c16)['name']);_0x3523d7['set'](_0x4d9c16,_0x15dd0a),_0x6abf6d['set'](_0x4d9c16,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3523d7,[],_0x6abf6d);}['getData'](_0x1e4d11,_0x58cff0){if(this['_lastFrom']===_0x1e4d11&&this['_lastTo']<=_0x58cff0)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x58cff0,!0x0);else{if(!this['_savedMetaData']['has'](_0x1e4d11)){const _0x2d618d=this['_getPreviousFrom'](_0x1e4d11);this['_calculateMetaData'](_0x2d618d,_0x1e4d11,!0x1);}this['_calculateMetaData'](_0x1e4d11,_0x58cff0,!0x0);}return this['_lastFrom']=_0x1e4d11,this['_lastTo']=_0x58cff0,this['_getState']();}['loadState'](_0x1488d6){if(!this['_savedMetaData']['has'](_0x1488d6['fromVersion'])){const _0x51e799=this['_getPreviousFrom'](_0x1488d6['fromVersion']);this['_calculateMetaData'](_0x51e799,_0x1488d6['fromVersion'],!0x1);}this['_calculateMetaData'](_0x1488d6['fromVersion'],_0x1488d6['toVersion'],!0x1);const _0x35388b=this['editor']['plugins']['get']('RevisionHistoryUtils');this['_reset'](),this['_lastFrom']=_0x1488d6['fromVersion'],this['_lastTo']=_0x1488d6['toVersion'];for(const _0x33ab4d in _0x1488d6['diffData']){const _0x3ace99=_0x1488d6['diffData'][_0x33ab4d]['attachChange'],_0x2bee2d=wt(_0x1488d6['diffData'][_0x33ab4d]['attributesBefore'])||{},_0x5728c2=_0x1488d6['diffData'][_0x33ab4d],_0x5a7161=_0x35388b['_makeModelFromViewString'](_0x5728c2['deletions'],_0x5728c2['rootElementName']||'$root');_0x5a7161['rootName']=_0x33ab4d,_0x5a7161['_isAttached']=!_0x3ace99||!_0x3ace99['isAttached'],_0x5a7161['isAttached']=()=>_0x5a7161['_isAttached'],this['_baseRoots']['set'](_0x33ab4d,_0x5a7161),this['_baseRootsAttributes']['set'](_0x33ab4d,_0x2bee2d),_0x3ace99&&this['_touchedRoots']['set'](_0x33ab4d,_0x3ace99);const _0x1ba625=this['_makeIdsRoot'](_0x5a7161);this['_baseIdsRoots']['set'](_0x33ab4d,_0x1ba625);for(const [_0x2045eb,_0x19aba7]of _0x5a7161['markers']){if(!_0x2045eb['startsWith']('revision:'))continue;const _0x5cc58e=_0x2045eb['split'](':')[0x2];for(const _0x17e20b of _0x19aba7['getWalker']({'singleCharacters':!0x0})){const _0x20977f=this['_getVidAttributeName'](_0x17e20b),_0x31810f='elementEnd'==_0x17e20b['type']?_0x17e20b['previousPosition']['path']['slice'](0x0,-0x1):_0x17e20b['previousPosition']['path'],_0x2cb37b=_0x1ba625['getNodeByPath'](_0x31810f)['getAttribute'](_0x20977f);this['_touched']['set'](_0x2cb37b,{'userId':_0x5cc58e});}_0x5a7161['markers']['delete'](_0x2045eb);}}this['_startingRevisionId']=this['_revisionId'];const _0x790dd=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x32307b=>!this['_touched']['has'](_0x32307b));let _0x1b5a73=0x0;const _0x283ce2=new Map();for(const _0x50122a in _0x1488d6['diffData']){const _0x341fe4=_0x1488d6['diffData'][_0x50122a]['attachChange'],_0x4caf1f=wt(_0x1488d6['diffData'][_0x50122a]['attributesAfter'])||{},_0xb4edc0=_0x1488d6['diffData'][_0x50122a],_0x4140e3=_0x35388b['_makeModelFromViewString'](_0xb4edc0['insertions'],_0xb4edc0['rootElementName']||'$root');_0x4140e3['rootName']=_0x50122a,_0x4140e3['_isAttached']=!_0x341fe4||_0x341fe4['isAttached'],_0x4140e3['isAttached']=()=>_0x4140e3['_isAttached'],this['_diffRoots']['set'](_0x50122a,_0x4140e3),this['_diffRootsAttributes']['set'](_0x50122a,_0x4caf1f);const _0x1826ba=this['_makeIdsRoot'](_0x4140e3,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x50122a,_0x1826ba),_0x283ce2['set'](_0x50122a,_0x4140e3['isAttached']()?_0x4caf1f:{});for(const [_0x5715ce,_0xe8f28a]of _0x4140e3['markers']){if(!_0x5715ce['startsWith']('revision:'))continue;const _0x30f318=_0x5715ce['split'](':')[0x2];for(const _0x7303c7 of _0xe8f28a['getWalker']({'singleCharacters':!0x0})){const _0x294fcd=this['_getVidAttributeName'](_0x7303c7),_0x111981=this['_revisionId']++,_0x25d7ce='elementEnd'==_0x7303c7['type']?_0x7303c7['previousPosition']['path']['slice'](0x0,-0x1):_0x7303c7['previousPosition']['path'];_0x1826ba['getNodeByPath'](_0x25d7ce)['_setAttribute'](_0x294fcd,_0x111981),this['_touched']['set'](_0x111981,{'userId':_0x30f318});}_0x4140e3['markers']['delete'](_0x5715ce);}for(const _0x235ef6 of this['editor']['model']['createRangeIn'](_0x4140e3)['getWalker']({'singleCharacters':!0x0})){const _0x4cfb84=this['_getVidAttributeName'](_0x235ef6),_0x511ee4='elementEnd'==_0x235ef6['type']?_0x235ef6['previousPosition']['path']['slice'](0x0,-0x1):_0x235ef6['previousPosition']['path'],_0x506760=_0x1826ba['getNodeByPath'](_0x511ee4);_0x506760['getAttribute'](_0x4cfb84)>0x0||_0x506760['_setAttribute'](_0x4cfb84,_0x790dd[_0x1b5a73++]);}for(const [_0x521ada,_0x31c6ed]of _0x4140e3['markers'])_0x521ada['startsWith']('revision:')||this['_markers']['set'](_0x521ada,_0x31c6ed);}const {roots:_0x15a178}=this['_savedMetaData']['get'](_0x1488d6['fromVersion']),{roots:_0x308510}=this['_savedMetaData']['get'](_0x1488d6['toVersion']),_0x7d7d01=_0x29ce25(_0x15a178['get']('$graveyard'));this['_baseRoots']['set']('$graveyard',_0x7d7d01),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x7d7d01,Number['NEGATIVE_INFINITY']));const _0x1c7146=_0x29ce25(_0x308510['get']('$graveyard'));this['_diffRoots']['set']('$graveyard',_0x1c7146),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1c7146));const _0x27ec31=Array['from'](this['_diffRoots'])['map'](([_0x58c0dc,_0x21a064])=>[_0x58c0dc,_0x29ce25(_0x21a064)]);this['_saveMetaData'](this['_lastTo'],_0x27ec31,this['_markers'],_0x283ce2);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_saveMetaData'](_0x2dd05e,_0x593322,_0x4c9cb0,_0x3ec9a5){const _0x5b4c3a=new Map(_0x593322),_0x352b75=new Map(wt(_0x3ec9a5)),_0x5d49e9=new Map();for(const [_0x468dde,_0x5313dd]of _0x4c9cb0)_0x5d49e9['set'](_0x468dde,{'start':_0x5313dd['start']['clone'](),'end':_0x5313dd['end']['clone'](),'rootName':_0x5313dd['root']['rootName']});this['_savedMetaData']['set'](_0x2dd05e,{'roots':_0x5b4c3a,'markers':_0x5d49e9,'rootsAttributes':_0x352b75});}['_removeMetaData'](_0x3c5540){this['_savedMetaData']['delete'](_0x3c5540);}['_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'](_0x10d152,_0x1384a0=null){let _0x4ec20c=null;_0x10d152['is']('documentFragment')||(_0x4ec20c=new _0x14e616['ModelElement'](_0x10d152['name'],{'vid_start':null===_0x1384a0?this['_revisionId']++:_0x1384a0++}));const _0x3d9e4c=[];for(const _0x130924 of _0x10d152['getChildren']())if(_0x130924['is']('element')){_0x3d9e4c['push'](this['_makeIdsRoot'](_0x130924,_0x1384a0));const _0x3aa467=_0x3d9e4c[_0x3d9e4c['length']-0x1];null!==_0x1384a0&&(_0x1384a0=_0x3aa467['is']('element','$text')?_0x3aa467['getAttribute']('vid')+0x1:_0x3aa467['getAttribute']('vid_end')+0x1);}else{for(let _0x5d9fa=0x0;_0x5d9fa<_0x130924['offsetSize'];_0x5d9fa++)_0x3d9e4c['push'](new _0x14e616['ModelElement']('$text',{'vid':null===_0x1384a0?this['_revisionId']++:_0x1384a0++}));}if(_0x10d152['is']('documentFragment')){const _0xe9b657=_0x2632bf(_0x10d152['rootName'],_0x10d152['name']);return _0xe9b657['_insertChild'](0x0,_0x3d9e4c),_0xe9b657;}return _0x4ec20c['_setAttribute']('vid_end',null===_0x1384a0?this['_revisionId']++:_0x1384a0++),_0x4ec20c['_insertChild'](0x0,_0x3d9e4c),_0x4ec20c;}['_calculateMetaData'](_0x341dee,_0x569314,_0x3cda71){this['_reset']();const {roots:_0x4040e8,markers:_0x2e4c3b,rootsAttributes:_0x49ba7c}=this['_savedMetaData']['get'](_0x341dee);this['_baseRoots']=new Map(_0x4040e8),this['_baseRootsAttributes']=new Map(wt(_0x49ba7c));for(const [_0x19b6f5,_0x3536c1]of this['_baseRoots'])if('$graveyard'!==_0x19b6f5&&(this['_diffRoots']['set'](_0x19b6f5,_0x29ce25(_0x3536c1)),this['_diffRootsAttributes']=new Map(wt(_0x49ba7c)),_0x3cda71)){const _0x4300d5=this['_revisionId'];this['_idsRoots']['set'](_0x19b6f5,this['_makeIdsRoot'](_0x3536c1)),this['_baseIdsRoots']['set'](_0x19b6f5,this['_makeIdsRoot'](_0x3536c1,_0x4300d5));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',_0x29ce25(this['_baseRoots']['get']('$graveyard'))),_0x3cda71&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x46d7ee,_0x42aa06]of _0x2e4c3b){const _0x533189=this['_baseRoots']['get'](_0x42aa06['rootName']),_0x4798a9=this['_diffRoots']['get'](_0x42aa06['rootName']),_0x129157=new _0x14e616['ModelRange'](this['_fixPosition'](_0x42aa06['start'],_0x533189),this['_fixPosition'](_0x42aa06['end'],_0x533189)),_0x15d7b2=this['_fixRange'](_0x129157,_0x4798a9);_0x533189['markers']['set'](_0x46d7ee,_0x129157),this['_markers']['set'](_0x46d7ee,_0x15d7b2);}this['_applyOperations'](_0x341dee,_0x569314,_0x3cda71);}['_applyOperations'](_0x2e8cfe,_0x3c6b97,_0x24d32b){for(const _0x20b1c1 of this['source']['getOperations'](_0x2e8cfe,_0x3c6b97))this['_handleOperation'](_0x20b1c1,_0x24d32b);for(const _0x11c66c of this['_diffRoots']['values']())_0x11c66c['markers']['clear']();for(const [_0x2c7dab,_0x334541]of this['_markers'])this['_diffRoots']['get'](_0x334541['root']['rootName'])['markers']['set'](_0x2c7dab,_0x334541['clone']());const _0x5bed66=new Map(),_0x45937a=new Map();for(const [_0x2b6feb,_0x4640fb]of this['_diffRoots'])_0x5bed66['set'](_0x2b6feb,_0x29ce25(_0x4640fb)),_0x45937a['set'](_0x2b6feb,this['_diffRootsAttributes']['get'](_0x2b6feb));this['_saveMetaData'](_0x3c6b97,_0x5bed66,this['_markers'],_0x45937a);}['_getPreviousFrom'](_0x5623bc){const _0x2d7e56=Array['from'](this['_savedMetaData']['keys']());_0x2d7e56['sort']((_0x70810b,_0x14c368)=>_0x70810b-_0x14c368),_0x2d7e56['reverse']();for(const _0x2aa804 of _0x2d7e56)if(_0x2aa804<_0x5623bc)return _0x2aa804;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3dd5bf,_0xe0f70b){const _0x273c59=Array['from'](_0xe0f70b['markers'])['map'](([_0x18e9ae,_0xeec9bb])=>[_0x18e9ae,this['_fixRange'](_0xeec9bb,_0x3dd5bf)]);_0x3dd5bf['markers']=new Map(_0x273c59);}['_transformMarkers'](_0x5bc566){for(const _0x5b0d88 of this['_markers']['values']()){const _0x44b79b=_0x5b0d88['getTransformedByOperation'](_0x5bc566),_0x2e33d5=_0x14e616['ModelRange']['_createFromRanges'](_0x44b79b);_0x5b0d88['start']=_0x2e33d5['start'],_0x5b0d88['end']=_0x2e33d5['end'];}}['_handleOperation'](_0x2fe010,_0xeb7f6b){if('addRoot'!=_0x2fe010['type']&&'detachRoot'!=_0x2fe010['type']){if('insert'==_0x2fe010['type']){const _0x49025b=_0x2fe010['position']['root'],_0x2cc175=_0x49025b['rootName'],_0x562646=_0x49025b['name'];this['_diffRoots']['has'](_0x2cc175)||(this['_diffRoots']['set'](_0x2cc175,_0x2632bf(_0x2cc175,_0x562646,!0x0)),this['_diffRootsAttributes']['set'](_0x2cc175,{}),_0xeb7f6b&&this['_idsRoots']['set'](_0x2cc175,_0x2632bf(_0x2cc175,_0x562646,!0x0)));}else{if('addRootAttribute'==_0x2fe010['type']||'removeRootAttribute'==_0x2fe010['type']||'changeRootAttribute'==_0x2fe010['type'])return void this['_handleRootAttributeOperation'](_0x2fe010);'marker'==_0x2fe010['type']&&this['_handleMarkerOperation'](_0x2fe010);}if('marker'!==_0x2fe010['type']){const _0x14da66=this['_cloneOperation'](_0x2fe010,this['_diffRoots']);_0x14da66['_execute'](),this['_transformMarkers'](_0x14da66);}if(_0xeb7f6b)switch(_0x2fe010['type']){case'insert':this['_handleInsertOperation'](_0x2fe010);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2fe010);break;case'merge':this['_handleMergeOperation'](_0x2fe010);break;case'split':this['_handleSplitOperation'](_0x2fe010);}}else this['_handleRootOperation'](_0x2fe010,_0xeb7f6b);}['_cloneOperation'](_0x261601,_0x4675eb){const _0x553917=_0x261601['clone']();return _0x553917['_authorId']=_0x261601['_authorId'],this['_fixOperation'](_0x553917,_0x4675eb),_0x553917;}['_getBaseVids'](_0x27e983){return _0x27e983['map'](_0x3387cc=>{const _0x2b4fc5=this['_getVidAttributeName'](_0x3387cc);return Number(_0x3387cc['item']['getAttribute'](_0x2b4fc5));});}['_generateTape'](_0x2a0378,_0x42334d){if(_0x2a0378['is']('element','$text'))_0x42334d['push']({'item':_0x2a0378,'type':'text'});else{_0x2a0378['is']('element')&&_0x42334d['push']({'item':_0x2a0378,'type':'elementStart'});for(const _0x358fb4 of _0x2a0378['getChildren']())this['_generateTape'](_0x358fb4,_0x42334d);_0x2a0378['is']('element')&&_0x42334d['push']({'item':_0x2a0378,'type':'elementEnd'});}return _0x42334d;}['_getState'](){const _0x577a61=new Map(this['_touched']),_0x41bb19=new Map(_0x577a61),_0x4c052=new Map(),_0x1fed4e={'insertions':{},'deletions':{}},_0xe450d8={'insertions':{},'deletions':{}},_0x27df03=new Map(),_0x18d9e5=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]),_0x52d16c=new Map();_0x18d9e5['delete']('$graveyard');for(const _0x55ad32 of _0x18d9e5){const _0x4f60e4=(this['_diffRoots']['get'](_0x55ad32)??this['_baseRoots']['get'](_0x55ad32))['name'],_0x572f21=this['_diffRoots']['get'](_0x55ad32)||_0x2632bf(_0x55ad32,_0x4f60e4,!0x1),_0x362679=this['_baseRoots']['get'](_0x55ad32)||_0x2632bf(_0x55ad32,_0x4f60e4,!0x1);_0x572f21['isAttached']()||_0x362679['isAttached']()?(_0x52d16c['set'](_0x55ad32,_0x4f60e4),_0x1fed4e['insertions'][_0x55ad32]=_0x29ce25(_0x572f21),_0x1fed4e['deletions'][_0x55ad32]=_0x29ce25(_0x362679),this['_copyMarkers'](_0x1fed4e['deletions'][_0x55ad32],_0x362679),this['_copyMarkers'](_0x1fed4e['insertions'][_0x55ad32],_0x572f21),_0xe450d8['insertions'][_0x55ad32]=this['_generateTape'](this['_idsRoots']['get'](_0x55ad32),[]),_0xe450d8['deletions'][_0x55ad32]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x55ad32)||_0x2632bf(_0x55ad32,_0x4f60e4,!0x1),[])):_0x18d9e5['delete'](_0x55ad32);}for(const _0x35ffdc of _0x18d9e5){const _0x586d6f=_0xe450d8['insertions'][_0x35ffdc];for(const _0x5dbe3e of _0x586d6f){const _0x1f6c73=this['_getVidAttributeName'](_0x5dbe3e),_0x33cbb2=_0x5dbe3e['item']['getAttribute'](_0x1f6c73);_0x41bb19['delete'](_0x33cbb2),_0x33cbb2>=this['_startingRevisionId']&&_0x4c052['set'](_0x33cbb2,_0x577a61['get'](_0x33cbb2));}}for(const _0x3ea0a6 of _0x18d9e5){const _0x1109e0=_0xe450d8['insertions'][_0x3ea0a6],_0x2ec4e8=this['_getBaseVids'](_0xe450d8['deletions'][_0x3ea0a6]);let _0x257447=0x0;for(const _0x57ea94 of _0x1109e0){const _0xd94c0b=this['_getVidAttributeName'](_0x57ea94),_0x1747b4=_0x57ea94['item']['getAttribute'](_0xd94c0b);if(!_0x4c052['has'](_0x1747b4)&&!_0x27df03['has'](_0x1747b4)){if(_0x41bb19['has'](_0x1747b4))_0x257447++;else{if(_0x1747b4!=_0x2ec4e8[_0x257447]){const _0x53be49=_0x577a61['get'](_0x1747b4)||_0x577a61['get'](_0x2ec4e8[_0x257447]);for(;_0x1747b4!=_0x2ec4e8[_0x257447];)_0x41bb19['has'](_0x2ec4e8[_0x257447])||(_0x27df03['set'](_0x2ec4e8[_0x257447],_0x53be49),_0x577a61['set'](_0x2ec4e8[_0x257447],_0x53be49)),_0x257447++;}_0x257447++;}}}}for(const _0x5b3217 of _0x18d9e5){const _0x591632=_0xe450d8['insertions'][_0x5b3217];for(const _0x1e6084 of _0x591632){const _0x2a1740=this['_getVidAttributeName'](_0x1e6084),_0x41e103=_0x1e6084['item']['getAttribute'](_0x2a1740);if(_0x27df03['has'](_0x41e103)){const _0x16414a=_0x27df03['get'](_0x41e103);_0x41bb19['has'](_0x41e103)||_0x41bb19['set'](_0x41e103,{..._0x16414a}),_0x4c052['set'](_0x41e103,{..._0x16414a});}}}for(const _0x28f875 of _0x41bb19['keys']())_0x28f875>=this['_startingRevisionId']&&_0x41bb19['delete'](_0x28f875);const _0x3e2bf1=new Map();for(const _0x4c6b5c of _0x18d9e5){let _0x1ae2df=_0xe450d8['insertions'][_0x4c6b5c];for(const _0x3cf785 of _0x1ae2df)if(_0x3cf785['item']['is']('element','tableCell')){const _0x53a866=this['_getVidAttributeName'](_0x3cf785),_0x1eb942=_0x3cf785['item']['getAttribute'](_0x53a866);if(_0x4c052['has'](_0x1eb942)){const _0x293ab2=_0x3cf785['item']['parent']['parent']['getAttribute']('vid_start'),_0x3fe874=_0x3e2bf1['get'](_0x293ab2)||new Set();_0x3fe874['add'](_0x4c052['get'](_0x1eb942)['userId']),_0x3e2bf1['set'](_0x293ab2,_0x3fe874);}}_0x1ae2df=_0xe450d8['deletions'][_0x4c6b5c];for(const _0x5350e6 of _0x1ae2df)if(_0x5350e6['item']['is']('element','tableCell')){const _0x2c4954=this['_getVidAttributeName'](_0x5350e6),_0x19d64e=_0x5350e6['item']['getAttribute'](_0x2c4954);if(_0x41bb19['has'](_0x19d64e)){const _0x4e90da=_0x5350e6['item']['parent']['parent']['getAttribute']('vid_start'),_0x4aa5e9=_0x3e2bf1['get'](_0x4e90da)||new Set();_0x4aa5e9['add'](_0x41bb19['get'](_0x19d64e)['userId']),_0x3e2bf1['set'](_0x4e90da,_0x4aa5e9);}}for(const _0x4cab19 of _0x3e2bf1['keys']())(_0x4c052['has'](_0x4cab19)||_0x41bb19['has'](_0x4cab19))&&_0x3e2bf1['delete'](_0x4cab19);}for(const _0x418a6a of _0x18d9e5){const _0x4f006e=_0xe450d8['insertions'][_0x418a6a];let _0x6f77b6=null,_0x2f4e05=null;for(const _0x1a138a of _0x4f006e){const _0x1219cf=this['_getVidAttributeName'](_0x1a138a),_0xb8e44e=_0x1a138a['item']['getAttribute'](_0x1219cf),_0x39cbf8=_0x3e2bf1['get'](_0xb8e44e);_0x39cbf8&&'elementStart'==_0x1a138a['type']&&(_0x6f77b6=Array['from'](_0x39cbf8)[0x0],_0x2f4e05=_0x1a138a['item']['getAttribute']('vid_end')),_0x6f77b6&&(_0x41bb19['set'](_0xb8e44e,{'userId':_0x6f77b6}),_0x4c052['set'](_0xb8e44e,{'userId':_0x6f77b6})),_0xb8e44e==_0x2f4e05&&(_0x6f77b6=null,_0x2f4e05=null);}}const _0x46e05a={},_0x5c662c=new Set();for(const _0x1b9a13 of _0x18d9e5){const _0x1b5761=_0x1fed4e['deletions'][_0x1b9a13],_0x20b4e5=_0x1fed4e['insertions'][_0x1b9a13];for(const {userId:_0x3c51df}of this['_touchedMarkers']['values']())null!==_0x3c51df&&_0x5c662c['add'](_0x3c51df);for(const {userId:_0x7217bf}of this['_touchedRoots']['values']())null!==_0x7217bf&&_0x5c662c['add'](_0x7217bf);this['_markChanges'](_0x20b4e5,_0xe450d8['insertions'][_0x1b9a13],_0x4c052,'insertion',_0x5c662c),this['_markChanges'](_0x1b5761,_0xe450d8['deletions'][_0x1b9a13],_0x41bb19,'deletion',_0x5c662c),_0x46e05a[_0x1b9a13]={'insertions':this['_prepareViewToSave'](_0x20b4e5),'deletions':this['_prepareViewToSave'](_0x1b5761),'attachChange':this['_touchedRoots']['get'](_0x1b9a13)||null,'attributesBefore':wt(this['_baseRootsAttributes']['get'](_0x1b9a13))||{},'attributesAfter':wt(this['_diffRootsAttributes']['get'](_0x1b9a13)),'rootElementName':_0x52d16c['get'](_0x1b9a13)};}return{'diffData':_0x46e05a,'authorsIds':Array['from'](_0x5c662c)};}['_processRootBeforeSave'](_0xb3f297){for(const [,_0x197d2b]of _0xb3f297['markers']){const _0x2b288c=_0x197d2b['start']['getAncestors']()['filter'](_0x1450af=>'tableCell'==_0x1450af['name']);for(const _0x27765f of _0x2b288c)0x1==_0x27765f['childCount']&&_0x27765f['getChild'](0x0)['is']('element','paragraph')&&_0x27765f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x198ce0){this['_processRootBeforeSave'](_0x198ce0);const _0x4d6bd5=this['editor']['data']['toView'](_0x198ce0,{}),_0x3212df=Array['from'](_0x4d6bd5['getChildren']())['map'](_0x1e4449=>this['_getViewJson'](_0x1e4449));return JSON['stringify'](_0x3212df);}['_getViewJson'](_0x391f89){if(_0x391f89['is']('$text'))return _0x391f89['data'];{const _0x49bc43=this['editor']['plugins']['get']('RevisionHistoryUtils'),_0x346326=_0x391f89,_0x3f3d73=this['editor']['data']['htmlProcessor']['domConverter'],_0x7aebf1={'type':_0x49bc43['_getTypeCharForViewElement'](_0x346326),'name':_0x346326['name'],'attributes':Array['from'](_0x346326['getAttributes']()),'children':Array['from'](_0x346326['getChildren']())['map'](_0x5140fb=>this['_getViewJson'](_0x5140fb))};if(_0x391f89['is']('uiElement')&&'$comment'!=_0x391f89['name']){const _0x435ee2=_0x391f89['render'](_0x3f3d73['domDocument'],_0x3f3d73);_0x7aebf1['children']['push'](_0x435ee2['outerHTML']);}else{if(_0x391f89['is']('rawElement')){const _0x37e132=_0x3f3d73['domDocument']['createElement'](_0x346326['name']);_0x391f89['render'](_0x37e132,_0x3f3d73),_0x7aebf1['children']['push'](_0x37e132['innerHTML']);}}const _0x4f5236=Array['from'](_0x346326['getCustomProperties']());_0x4f5236['length']>0x0&&(_0x7aebf1['customProperties']=_0x4f5236);const _0x19fa78=_0x346326['getFillerOffset']();return null!==_0x19fa78&&(_0x7aebf1['fillerOffset']=_0x19fa78),_0x7aebf1;}}['_markChanges'](_0x4e7593,_0x21a66d,_0x453d38,_0x56f909,_0x384f7d){let _0x64d1de=null,_0xf854c6=null,_0x12e344=0x0;const _0x505083=this['editor']['model'];for(let _0x5085c9=0x0;_0x5085c9<_0x21a66d['length'];_0x5085c9++){const _0x3332c6=this['_getVidAttributeName'](_0x21a66d[_0x5085c9]),_0x2f69be=_0x21a66d[_0x5085c9]['item']['getAttribute'](_0x3332c6),_0x4a0cca=_0x453d38['get'](_0x2f69be),_0x2eb0dc=_0x5085c9==_0x21a66d['length']-0x1;!_0x64d1de&&_0x4a0cca&&(_0x64d1de=_0x4a0cca,_0xf854c6=_0x21a66d[_0x5085c9]),!_0x64d1de||_0x4a0cca&&_0x4a0cca['userId']==_0x64d1de['userId']||(_0xd2d267(_0x4a0cca,_0x161cfe(_0xf854c6,_0x4e7593,_0x505083),_0x161cfe(_0x21a66d[_0x5085c9],_0x4e7593,_0x505083)),_0x64d1de=_0x4a0cca||null,_0xf854c6=_0x4a0cca?_0x21a66d[_0x5085c9]:null),_0x64d1de&&_0x2eb0dc&&_0xd2d267(_0x4a0cca,_0x161cfe(_0xf854c6,_0x4e7593,_0x505083),_0x54c082(_0x21a66d[_0x5085c9],_0x4e7593,_0x505083));}function _0xd2d267(_0x19c0a4,_0x134d9a,_0x57931b){const _0x4978e3=_0x64d1de['userId'],_0x341055='revision:'+_0x56f909+':'+_0x4978e3+':'+_0x12e344++,_0x5d6f43=_0x505083['createRange'](_0x134d9a,_0x57931b);_0x4e7593['markers']['set'](_0x341055,_0x5d6f43),null!==_0x4978e3&&_0x384f7d['add'](_0x4978e3);}}['_getVidAttributeName'](_0xb6b14){switch(_0xb6b14['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x232e85,_0x1d6dc3){_0x232e85['baseVersion']=null;for(const _0x14a1ff in _0x232e85){const _0x1a0129=_0x232e85[_0x14a1ff];if(_0x1a0129 instanceof _0x14e616['ModelPosition']){const _0x8edef4=_0x1d6dc3['get'](_0x1a0129['root']['rootName']);_0x232e85[_0x14a1ff]=this['_fixPosition'](_0x1a0129,_0x8edef4);}if(_0x1a0129 instanceof _0x14e616['ModelRange']){const _0x318587=_0x1d6dc3['get'](_0x1a0129['root']['rootName']);_0x232e85[_0x14a1ff]=this['_fixRange'](_0x1a0129,_0x318587);}'root'===_0x14a1ff&&(_0x232e85['root']=_0x1d6dc3['get'](_0x232e85['root']['rootName']));}}['_fixRange'](_0x1a2692,_0x27267d){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1a2692['start'],_0x27267d),this['_fixPosition'](_0x1a2692['end'],_0x27267d));}['_fixPosition'](_0x6369cf,_0x53c0f7){return this['editor']['model']['createPositionFromPath'](_0x53c0f7,_0x6369cf['path'],_0x6369cf['stickiness']);}['_handleInsertOperation'](_0x2f493d){const _0x7c074a=this['_idsRoots']['get'](_0x2f493d['position']['root']['rootName']),_0x5e0ac8=this['_fixPosition'](_0x2f493d['position'],_0x7c074a),_0xa22ab=null===_0x2f493d['_authorId']?null:_0x2f493d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x341da3=_0x5e0ac8['parent'],_0x5d07ac=this['_revisionId'],_0x3d1c36=[];for(const _0x22e5bd of _0x2f493d['nodes'])if(_0x22e5bd['is']('element'))_0x3d1c36['push'](this['_makeIdsRoot'](_0x22e5bd));else{for(let _0x175d61=0x0;_0x175d61<_0x22e5bd['offsetSize'];_0x175d61++)_0x3d1c36['push'](new _0x14e616['ModelElement']('$text',{'vid':this['_revisionId']++}));}const _0x397936=this['_revisionId'];for(let _0xc67f61=_0x5d07ac;_0xc67f61<_0x397936;_0xc67f61++)this['_touched']['set'](_0xc67f61,{'userId':_0xa22ab});_0x341da3['_insertChild'](_0x5e0ac8['offset'],_0x3d1c36);}['_handleMoveOperation'](_0xd3025f){(_0xd3025f=this['_cloneOperation'](_0xd3025f,this['_idsRoots']))['_execute']();const _0x57a8d5=null===_0xd3025f['_authorId']?null:_0xd3025f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x13e16c=_0xd3025f['getMovedRangeStart'](),_0x3087b0=_0x13e16c['parent'],_0x4e80a1=_0x13e16c['offset'];!function _0x83f381(_0x10bfc5,_0x1da84c,_0x3a04d0,_0x26e7f7){for(let _0x37fc61=_0x3a04d0;_0x37fc61<_0x26e7f7;_0x37fc61++){const _0x54124f=_0x1da84c['getChild'](_0x37fc61);_0x54124f['is']('element','$text')?_0x10bfc5['set'](_0x54124f['getAttribute']('vid'),{'userId':_0x57a8d5}):(_0x10bfc5['set'](_0x54124f['getAttribute']('vid_start'),{'userId':_0x57a8d5}),_0x83f381(_0x10bfc5,_0x54124f,0x0,_0x54124f['childCount']),_0x10bfc5['set'](_0x54124f['getAttribute']('vid_end'),{'userId':_0x57a8d5}));}}(this['_touched'],_0x3087b0,_0x4e80a1,_0x4e80a1+_0xd3025f['howMany']);}['_handleMergeOperation'](_0x8ef566){const _0x4e79d6=null===(_0x8ef566=this['_cloneOperation'](_0x8ef566,this['_idsRoots']))['_authorId']?null:_0x8ef566['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x570d5d=_0x8ef566['targetPosition']['parent'],_0x1d9fe1=_0x8ef566['sourcePosition']['parent'],_0x25e19f=_0x570d5d['getAttribute']('vid_end'),_0x1ef765=_0x1d9fe1['getAttribute']('vid_start');_0x570d5d['_setAttribute']('vid_end',_0x1d9fe1['getAttribute']('vid_end')),_0x1d9fe1['_setAttribute']('vid_end',_0x25e19f),this['_touched']['set'](_0x1ef765,{'userId':_0x4e79d6}),this['_touched']['set'](_0x25e19f,{'userId':_0x4e79d6}),_0x8ef566['_execute']();}['_handleSplitOperation'](_0x3c76fa){const _0x216a0f=null===(_0x3c76fa=this['_cloneOperation'](_0x3c76fa,this['_idsRoots']))['_authorId']?null:_0x3c76fa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2861a6=_0x3c76fa['graveyardPosition'],_0x3bbe14=_0x3c76fa['splitPosition']['parent'];_0x3c76fa['_execute']();const _0x180d21=_0x3bbe14['getAttribute']('vid_end'),_0x3c591d=_0x3c76fa['insertionPosition']['nodeAfter'];if(_0x2861a6){const _0x59a006=_0x3c591d['getAttribute']('vid_end'),_0x3bdcf9=_0x3bbe14['getAttribute']('vid_end');_0x3bbe14['_setAttribute']('vid_end',_0x59a006),_0x3c591d['_setAttribute']('vid_end',_0x3bdcf9),this['_touched']['set'](_0x3bbe14['getAttribute']('vid_end'),{'userId':_0x216a0f}),this['_touched']['set'](_0x3c591d['getAttribute']('vid_start'),{'userId':_0x216a0f});}else{const _0x3e96bb=this['_revisionId']++,_0x1ab60c=this['_revisionId']++;_0x3bbe14['_setAttribute']('vid_end',_0x3e96bb),_0x3c591d['_setAttribute']('vid_start',_0x1ab60c),_0x3c591d['_setAttribute']('vid_end',_0x180d21),this['_touched']['set'](_0x3e96bb,{'userId':_0x216a0f}),this['_touched']['set'](_0x1ab60c,{'userId':_0x216a0f});}}['_handleMarkerOperation'](_0x4e6753){if(!_0x4e6753['affectsData'])return;const _0x9634ca=(_0x4e6753=this['_cloneOperation'](_0x4e6753,this['_diffRoots']))['oldRange']?_0x4e6753['oldRange']['root']:null,_0x24de6f=_0x4e6753['newRange']?_0x4e6753['newRange']['root']:null;_0x9634ca&&this['_markers']['delete'](_0x4e6753['name']),_0x24de6f&&this['_markers']['set'](_0x4e6753['name'],_0x4e6753['newRange']['clone']());const _0x16124e=null===_0x4e6753['_authorId']?null:_0x4e6753['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f041e=_0x4e6753['name'];if(!this['_touchedMarkers']['has'](_0x4f041e))return void this['_touchedMarkers']['set'](_0x4f041e,{'range':_0x4e6753['oldRange'],'userId':_0x16124e});const _0x5e0e4d=this['_touchedMarkers']['get'](_0x4f041e),_0x3f4d72=_0x5e0e4d['range'],_0x8b87a6=_0x4e6753['newRange'];null==_0x3f4d72&&null==_0x8b87a6||_0x3f4d72&&_0x8b87a6&&_0x3f4d72['isEqual'](_0x8b87a6)?this['_touchedMarkers']['delete'](_0x4e6753['name']):_0x5e0e4d['userId']=_0x16124e;}['_handleRootOperation'](_0x5322da,_0x88792e){this['_diffRoots']['has'](_0x5322da['rootName'])?this['_diffRoots']['get'](_0x5322da['rootName'])['_isAttached']=_0x5322da['isAdd']:(this['_diffRoots']['set'](_0x5322da['rootName'],_0x2632bf(_0x5322da['rootName'],_0x5322da['elementName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5322da['rootName'],{}),_0x88792e&&this['_idsRoots']['set'](_0x5322da['rootName'],_0x2632bf(_0x5322da['rootName'],_0x5322da['elementName'],!0x0)));const _0x29f1b1=null===_0x5322da['_authorId']?null:_0x5322da['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x582f2b=this['_touchedRoots']['get'](_0x5322da['rootName']);_0x582f2b&&_0x582f2b['userId']===_0x29f1b1?this['_touchedRoots']['delete'](_0x5322da['rootName']):this['_touchedRoots']['set'](_0x5322da['rootName'],{'userId':_0x29f1b1,'isAttached':_0x5322da['isAdd']});}['_handleRootAttributeOperation'](_0x36b21d){const _0x131c96=this['_diffRootsAttributes']['get'](_0x36b21d['root']['rootName']);null===_0x36b21d['newValue']?delete _0x131c96[_0x36b21d['key']]:_0x131c96[_0x36b21d['key']]=_0x36b21d['newValue'];}};function _0x29ce25(_0x12b3d1){const _0x5d95cc=_0x2632bf(_0x12b3d1['rootName'],_0x12b3d1['name'],_0x12b3d1['isAttached']());for(const _0x214dbc of _0x12b3d1['getChildren']()){const _0x486784=_0x214dbc['_clone'](!0x0);_0x5d95cc['_appendChild'](_0x486784);}return _0x5d95cc;}function _0x2632bf(_0x3f0a4c,_0x5152b2,_0x13c7a1=!0x0){const _0x1fe434=new _0x14e616['ModelDocumentFragment']();return _0x1fe434['rootName']=_0x3f0a4c,_0x1fe434['name']=_0x5152b2,_0x1fe434['_isAttached']=_0x13c7a1,_0x1fe434['isAttached']=()=>_0x1fe434['_isAttached'],_0x1fe434;}function _0x161cfe(_0x4e16b6,_0x538bae,_0x9c7aca){const _0x3dbd42='elementEnd'==_0x4e16b6['type']?_0x9c7aca['createPositionAt'](_0x4e16b6['item'],'end'):_0x9c7aca['createPositionBefore'](_0x4e16b6['item']);return _0x9c7aca['createPositionFromPath'](_0x538bae,_0x3dbd42['path'],_0x3dbd42['stickiness']);}function _0x54c082(_0xd9bfea,_0x1f3912,_0x954894){const _0x40601a='elementStart'==_0xd9bfea['type']?_0x954894['createPositionAt'](_0xd9bfea['item'],0x0):_0x954894['createPositionAfter'](_0xd9bfea['item']);return _0x954894['createPositionFromPath'](_0x1f3912,_0x40601a['path'],_0x40601a['stickiness']);}const _0x58347d=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['CssTransitionDisablerMixin'])(_0x14e616['View']);var _0x402102=class extends _0x58347d{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x202212,_0x3f4ff1){super(_0x202212),this['focusTracker']=new _0x14e616['FocusTracker'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3f4ff1),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),this['initializeCssTransitionDisablerMixin']();}['render'](){super['render'](),(0x0,_0x14e616['submitHandler'])({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1f7e0d=_0x188592=>_0x188592['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1f7e0d),this['keystrokes']['set']('arrowleft',_0x1f7e0d),this['keystrokes']['set']('arrowup',_0x1f7e0d),this['keystrokes']['set']('arrowdown',_0x1f7e0d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x514e4a){this['revisionNameInputView']['fieldView']['element']['value']=_0x514e4a['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x160910){const _0x484e6a=new _0x14e616['LabeledFieldView'](this['locale'],_0x14e616['createLabeledInputText']),_0x35ebe9=_0x484e6a['fieldView'];_0x35ebe9['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5eb3f8=_0x362172(this['locale'],'Name\x20of\x20the\x20revision');return!_0x160910&&(_0x5eb3f8+='\x20('+_0x362172(this['locale'],'optional')+')'),(_0x484e6a['label']=_0x5eb3f8,_0x35ebe9['on']('input',()=>{this['revisionNameInputValue']=_0x35ebe9['element']['value']['trim']();}),_0x484e6a);}},_0x466be1=class extends _0x14e616['Plugin']{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x117f79];}['_saveRevisionFormView'];['init'](){const _0x4f50b3=this['editor'],_0x5f4050=_0x4f50b3['plugins']['get']('RevisionTracker');_0x4f50b3['ui']['componentFactory']['add']('revisionHistory',_0xbcba26=>{const _0x41119f=(0x0,_0x14e616['createDropdown'])(_0xbcba26),_0x474ad8=_0x41119f['panelView']['children'],_0x13eb03=new _0x14e616['ListView'](_0xbcba26),_0x49be73=new _0x14e616['ListItemView'](_0xbcba26),_0x5acd07=this['_createSaveRevisionButton'](_0x14e616['ButtonView']),_0x4c3b16=new _0x14e616['ListItemView'](_0xbcba26),_0x4b313f=this['_createOpenRevisionButton'](_0x14e616['ButtonView']);return _0x41119f['bind']('isEnabled')['to'](_0x5f4050,'isReady',_0x5f4050,'isEnabled',_0x4f50b3,'isReadOnly',(_0x287946,_0x2131f5,_0x216f01)=>_0x287946&&_0x2131f5&&!_0x216f01),_0x41119f['buttonView']['set']({'icon':_0x14e616['IconHistory'],'label':_0x362172(_0xbcba26,'Revision\x20history'),'tooltip':!0x0}),_0x5acd07['set']({'withText':!0x0,'role':'menuitem'}),_0x4b313f['set']({'withText':!0x0,'role':'menuitem'}),this['listenTo'](_0x4b313f,'execute',()=>{_0x41119f['isOpen']=!0x1,_0x4f50b3['editing']['view']['focus']();},{'priority':'low'}),_0x49be73['children']['add'](_0x5acd07),_0x4c3b16['children']['add'](_0x4b313f),_0x13eb03['role']='menu',_0x13eb03['items']['addMany']([_0x49be73,_0x4c3b16]),_0x474ad8['add'](_0x13eb03),_0x41119f;}),_0x4f50b3['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4d0434=this['editor'],_0x36a54f=_0x4d0434['locale'],_0x3b41ef=_0x4d0434['plugins']['get']('RevisionTracker'),_0x4f2aeb=new _0x14e616['MenuBarMenuView'](_0x36a54f),_0xdd32e8=new _0x14e616['MenuBarMenuListView'](_0x36a54f);_0x4f2aeb['bind']('isEnabled')['to'](_0x3b41ef,'isReady',_0x3b41ef,'isEnabled',_0x4d0434,'isReadOnly',(_0x1544ef,_0x5d6aa4,_0x58e674)=>_0x1544ef&&_0x5d6aa4&&!_0x58e674),_0x4f2aeb['buttonView']['set']({'icon':_0x14e616['IconHistory'],'label':_0x362172(_0x36a54f,'Revision\x20history')});const _0x4ace6e=new _0x14e616['MenuBarMenuListItemView'](_0x36a54f,_0x4f2aeb),_0x5027c8=this['_createSaveRevisionButton'](_0x14e616['MenuBarMenuListItemButtonView']);_0x5027c8['delegate']('execute')['to'](_0x4f2aeb),_0x4ace6e['children']['add'](_0x5027c8),_0xdd32e8['items']['add'](_0x4ace6e);const _0x4a5c2a=new _0x14e616['MenuBarMenuListItemView'](_0x36a54f,_0x4f2aeb),_0x172d9a=this['_createOpenRevisionButton'](_0x14e616['MenuBarMenuListItemButtonView']);return _0x172d9a['delegate']('execute')['to'](_0x4f2aeb),_0x4a5c2a['children']['add'](_0x172d9a),_0xdd32e8['items']['add'](_0x4a5c2a),_0x4f2aeb['panelView']['children']['add'](_0xdd32e8),_0x4f2aeb;}['_createSaveRevisionButton'](_0x54f17e){const _0x32834b=this['editor'],_0x4a527f=_0x32834b['plugins']['get']('RevisionTracker'),_0x25a895=new _0x54f17e(_0x32834b['locale']);return _0x25a895['set']({'label':_0x362172(_0x32834b['locale'],'Save\x20current\x20revision')}),_0x25a895['bind']('isEnabled')['to'](_0x4a527f,'isReady',_0x4a527f,'isEnabled',_0x32834b,'isReadOnly',(_0x54d80f,_0x4778d8,_0x3ce521)=>_0x54d80f&&_0x4778d8&&!_0x3ce521),this['listenTo'](_0x25a895,'execute',()=>{this['_showDialog']();}),_0x25a895;}['_createOpenRevisionButton'](_0x1ee79d){const _0x42921f=this['editor'],_0x127b1a=_0x42921f['plugins']['get']('RevisionTracker'),_0x5a8342=new _0x1ee79d(_0x42921f['locale']);return _0x5a8342['set']({'label':_0x362172(_0x42921f['locale'],'Open\x20revision\x20history')}),_0x5a8342['bind']('isEnabled')['to'](_0x127b1a,'isReady',_0x42921f,'isReadOnly',(_0x3fd7d4,_0x20e46f)=>_0x3fd7d4&&!_0x20e46f),this['listenTo'](_0x5a8342,'execute',()=>{_0x42921f['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x5a8342;}['_showDialog'](){const _0x44af55=this['editor'],_0x5620c6=_0x44af55['locale'],_0x46b7d7=_0x44af55['plugins']['get']('Dialog'),_0x3a284b=_0x44af55['plugins']['get']('RevisionTracker');function _0x1848fd(_0x248d81){_0x44af55['config']['get']('revisionHistory.requireRevisionName')&&''===_0x248d81['revisionName']?_0x248d81['revisionNameInputView']['errorText']=_0x362172(_0x5620c6,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x44af55['plugins']['get'](_0x117f79)['saveRevision']({'name':_0x248d81['revisionName']}),_0x46b7d7['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1848fd(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x46b7d7['show']({'id':'revisionSave','title':_0x362172(_0x5620c6,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':_0x362172(_0x44af55['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x46b7d7['hide']()},{'label':_0x362172(_0x44af55['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4e04d4){_0x4e04d4['bind']('isEnabled')['to'](_0x3a284b,'isReady',_0x3a284b,'isEnabled',_0x44af55,'isReadOnly',(_0x23dc6a,_0x564ce5,_0x2a6375)=>_0x23dc6a&&_0x564ce5&&!_0x2a6375);},'onExecute':()=>_0x1848fd(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x44f86e=this['editor'],_0x264e32=_0x44f86e['locale'];this['_saveRevisionFormView']=new _0x402102(_0x264e32,_0x44f86e['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}},_0x3bc953=class extends _0x14e616['View']{['changeId'];['_model'];constructor(_0x54e7ee,_0x189f2d){super(_0x54e7ee),this['_model']=_0x189f2d,this['changeId']=_0x189f2d['id'];const _0x49a7ad=this['bindTemplate'],_0x5e72ff=_0x362172(_0x54e7ee,_0x189f2d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x189f2d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x189f2d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x49a7ad['to']('type',_0x1a2c04=>'ck-revision-change__'+_0x1a2c04)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5e72ff}]},{'text':'\x20'+_0x189f2d['author']['name']}]}]});}['focus'](){this['element']['focus']();}};const _0x3044c9=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x5ef993=class extends _0x3044c9{['id'];['author'];['type'];['data'];['rootName'];constructor(_0xa93eb0){super(),this['id']=_0xa93eb0['id']||(0x0,_0x14e616['uid'])(),this['author']=_0xa93eb0['author'],this['type']=_0xa93eb0['type'],this['data']=_0xa93eb0['data']||{},this['rootName']=_0xa93eb0['rootName'],this['set']('createdAt',_0xa93eb0['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}},_0x424d71=class{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x115ef0,_0x4d0ae1){this['newRevisionId']=_0x115ef0,this['oldRevisionId']=_0x4d0ae1,this['changes']=new _0x14e616['Collection']();}['_setChanges'](_0x49d196){for(const _0x49e1d7 of _0x49d196)this['changes']['add'](_0x49e1d7);}},_0x45a3d5=class extends _0x14e616['Plugin']{['repository'];['adapter']=null;['_utils'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x17484f,_0x14e616['ContextualBalloon'],_0x211191,_0x137691];}constructor(_0x4b65d8){super(_0x4b65d8),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_utils']=this['editor']['plugins']['get']('RevisionHistoryUtils'),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',(_0x182951,_0x551daf,_0x2bf554)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5e8002=>{for(const _0x503328 of this['editor']['editing']['view']['document']['roots'])_0x2bf554?_0x5e8002['removeClass']('ck-editor__editable__overlay',_0x503328):_0x5e8002['addClass']('ck-editor__editable__overlay',_0x503328);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x13d7ae=>null!==_0x13d7ae),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x28b4f5,_0x58d2b9,_0x541807)=>_0x28b4f5&&_0x541807?_0x58d2b9['changes']['getIndex'](_0x541807):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3fcb8a,_0x544899)=>_0x3fcb8a?_0x544899['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['_balloon']=this['editor']['plugins']['get'](_0x14e616['ContextualBalloon']);}['init'](){const _0x47c1d0=this['editor'],_0x5e8533=new _0x5c9370(_0x47c1d0,{'direction':'backward'}),_0x5e8f2a=new _0x5c9370(_0x47c1d0,{'direction':'forward'});_0x47c1d0['commands']['add']('showPreviousChange',_0x5e8533),_0x47c1d0['commands']['add']('showNextChange',_0x5e8f2a),_0x47c1d0['commands']['add']('restoreRevision',new _0xcd4526(_0x47c1d0)),this['on']('change:numberOfChanges',()=>{_0x5e8533['refresh'](),_0x5e8f2a['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x47c1d0['enableReadOnlyMode']('revision-viewer'),_0x47c1d0['plugins']['has']('WidgetToolbarRepository')&&_0x47c1d0['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionDocumentData'](_0x5f4c23){return await this['_utils']['loadRevisionData'](_0x5f4c23,this['adapter']),this['_utils']['getRevisionDocumentData'](_0x5f4c23);}async['getRevisionRootsAttributes'](_0x480a6a){return await this['_utils']['loadRevisionData'](_0x480a6a,this['adapter']),this['_utils']['getRevisionRootsAttributes'](_0x480a6a);}async['compare'](_0x2818a8,_0x2dc272,_0x41eff2=!0x1){if(!this['isEnabled'])return;const _0x112a90=this['diff'],_0x968759=this['repository'],_0x26b01d='string'==typeof _0x2818a8?_0x968759['getRevision'](_0x2818a8):_0x2818a8,_0x89b26c='string'==typeof _0x2dc272?_0x968759['getRevision'](_0x2dc272):_0x2dc272,_0x1797a9=_0x26b01d['id'],_0x5ba294=_0x89b26c?_0x89b26c['id']:null;if(!_0x41eff2&&this['diff']&&this['diff']['newRevisionId']===_0x1797a9&&this['diff']['oldRevisionId']===_0x5ba294)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new _0x424d71(_0x1797a9,_0x5ba294);const _0x1dcbd5=this['_getRevisionsRange'](_0x26b01d,_0x89b26c,!0x0)['map'](_0x18344d=>this['_utils']['loadRevisionData'](_0x18344d,this['adapter']));return _0x1dcbd5['push'](new Promise(_0x2196f0=>{setTimeout(_0x2196f0,0x14);})),Promise['all'](_0x1dcbd5)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2bf77e=this['_getDiff'](_0x1797a9,_0x5ba294);for(const _0x507561 of _0x2bf77e['changes'])this['_changeIdToChange']['set'](_0x507561['id'],_0x507561);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x82f2a9=>{for(const _0xe1e537 of this['editor']['model']['document']['getRootNames']())_0x82f2a9['detachRoot'](_0xe1e537);for(const _0x14b841 of Object['keys'](_0x2bf77e['model'])){const _0x529c0f=_0x2bf77e['model'][_0x14b841]['name'],_0x11f038=_0x82f2a9['addRoot'](_0x14b841,_0x529c0f);for(const _0x25244b of Object['keys'](_0x2bf77e['attributes'][_0x14b841]))_0x82f2a9['setAttribute'](_0x25244b,_0x2bf77e['attributes'][_0x14b841][_0x25244b],_0x11f038);_0x82f2a9['insert'](_0x2bf77e['model'][_0x14b841],_0x11f038,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2bf77e['changes'])),this['isReady']=!0x0;})['catch'](_0x258bcf=>{console['error'](_0x258bcf),this['_cleanUp'](),_0x112a90&&(this['diff']=_0x112a90),this['isReady']=!0x0;});}['addRevisionData'](_0x595e26,_0x2173d0){const _0x448e15=this['repository']['createRevision'](_0x595e26);return _0x448e15['on']('_update',(_0x3fb783,_0x5851ac,_0x2df092)=>_0x2173d0(_0x5851ac,_0x2df092,_0x448e15)),this['repository']['addRevision'](_0x448e15),_0x448e15;}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1c2661=>{for(const _0x1d917b of this['editor']['model']['document']['getRootNames']())_0x1c2661['detachRoot'](_0x1d917b);});}['_sortAndFilterDiffChanges'](_0x4287b7){const _0x45ae0f=[],_0x5c2eba=new Map();for(const _0x3685ed of this['editor']['model']['document']['getRootNames']()){const _0xf0a08=this['editor']['editing']['view']['getDomRoot'](_0x3685ed);if(!_0xf0a08)continue;const _0x28132a=_0xf0a08['getClientRects']()['item'](0x0);_0x28132a&&(_0x45ae0f['push'](_0x3685ed),_0x5c2eba['set'](_0x3685ed,_0x28132a));}return _0x45ae0f['sort']((_0x2b5fcb,_0x213774)=>{const _0x5df275=_0x5c2eba['get'](_0x2b5fcb),_0x1062fe=_0x5c2eba['get'](_0x213774);return _0x5df275['y']-_0x1062fe['y']||_0x5df275['x']-_0x1062fe['x'];}),(_0x4287b7=_0x4287b7['filter'](_0x2f707c=>_0x45ae0f['includes'](_0x2f707c['rootName'])))['sort']((_0x5226f,_0xac33e9)=>_0x45ae0f['indexOf'](_0x5226f['rootName'])-_0x45ae0f['indexOf'](_0xac33e9['rootName'])),_0x4287b7;}['_makeTape'](_0x3caea0){const _0x1bb7d7=Array['from'](_0x3caea0['markers'])['filter'](([_0x58fc68,_0x2b7210])=>_0x58fc68['startsWith']('revision:')&&!_0x2b7210['isCollapsed']),_0xd96da0=Array['from'](this['editor']['model']['createRangeIn'](_0x3caea0)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1bb7d7['length'])for(const _0x440327 of _0xd96da0){const [_0x5da34f,_0x30c294]=_0x1bb7d7[0x0],[,_0x166481,_0x1816d1]=_0x5da34f['split'](':');if(_0x30c294['end']['isEqual'](_0x440327['nextPosition'])&&_0x1bb7d7['shift'](),(_0x440327['previousPosition']['isEqual'](_0x30c294['start'])||_0x440327['previousPosition']['isAfter'](_0x30c294['start']))&&('insertion'==_0x166481?_0x440327['isAdded']={'userId':_0x1816d1}:'deletion'==_0x166481&&(_0x440327['isRemoved']={'userId':_0x1816d1})),0x0==_0x1bb7d7['length'])break;}return _0xd96da0;}['_refreshStartEndIndex'](_0x56e9dc){const _0x2ef07e=new Map();for(let _0x852167=0x0;_0x852167<_0x56e9dc['length'];_0x852167++)'text'===_0x56e9dc[_0x852167]['type']?(_0x56e9dc[_0x852167]['item']['startIndex']=_0x852167,_0x56e9dc[_0x852167]['item']['endIndex']=_0x852167):('elementStart'===_0x56e9dc[_0x852167]['type']?_0x56e9dc[_0x852167]['item']['startIndex']=_0x852167:'elementEnd'===_0x56e9dc[_0x852167]['type']&&(_0x56e9dc[_0x852167]['item']['endIndex']=_0x852167),_0x2ef07e['set'](_0x56e9dc[_0x852167]['id'],_0x852167));for(const _0x82645f of _0x2ef07e['values']())'elementStart'===_0x56e9dc[_0x82645f]['type']?_0x56e9dc[_0x82645f]['item']['endIndex']=_0x2ef07e['get'](_0x56e9dc[_0x82645f]['pairId']):'elementEnd'===_0x56e9dc[_0x82645f]['type']&&(_0x56e9dc[_0x82645f]['item']['startIndex']=_0x2ef07e['get'](_0x56e9dc[_0x82645f]['pairId']));}['_processTape'](_0x917360){for(let _0x454bab=0x0;_0x454bab<_0x917360['length'];_0x454bab++){if('elementStart'===_0x917360[_0x454bab]['type'])_0x917360[_0x454bab]['item']['startIndex']=_0x454bab;else{if('elementEnd'===_0x917360[_0x454bab]['type']){_0x917360[_0x454bab]['item']['endIndex']=_0x454bab;const _0x540dce=_0x917360[_0x454bab]['item']['startIndex'];_0x917360[_0x540dce]['pairId']=_0x917360[_0x454bab]['id'],_0x917360[_0x454bab]['pairId']=_0x917360[_0x540dce]['id'];}else _0x917360[_0x454bab]['item']['startIndex']=_0x454bab,_0x917360[_0x454bab]['item']['endIndex']=_0x454bab,_0x917360[_0x454bab]['pairId']=null;}_0x917360[_0x454bab]['markersStart']||(_0x917360[_0x454bab]['markersStart']=[],_0x917360[_0x454bab]['markersEnd']=[]);}}['_markInsertions'](_0x473039,_0x12c946){const _0x2e9ecc=_0x473039['filter'](_0x601b96=>!_0x601b96['isAdded']);for(let _0x598927=0x0;_0x598927<_0x12c946['length'];_0x598927++)_0x12c946[_0x598927]['isAdded']&&(_0x2e9ecc[_0x598927]['isAdded']=_0x12c946[_0x598927]['isAdded']);}['_getDiff'](_0x84fa6e,_0x97890a=null){const _0x577ee7=this['repository']['getRevision'](_0x84fa6e),_0xe0f7fa=_0x97890a?this['repository']['getRevision'](_0x97890a):null,_0x2aa1f8=this['_getRevisionsRange'](_0x577ee7,_0xe0f7fa),_0x15b087=_0x2aa1f8[_0x2aa1f8['length']-0x1],_0x1e6d9d=new Map(),_0x905e83={'model':{},'attributes':{},'changes':[]},_0x186236=new Set(),_0x4c2e60=new Map();for(let _0x2fabdc=_0x2aa1f8['length']-0x1;_0x2fabdc>=0x0;_0x2fabdc--){const _0x24ccf5=_0x2aa1f8[_0x2fabdc];for(const _0xed1720 of Object['keys'](_0x24ccf5['diffData']))if(_0x24ccf5['diffData'][_0xed1720]['attachChange']){const _0x195e2a=_0x24ccf5['diffData'][_0xed1720]['attachChange'];_0x195e2a['isAttached']?(_0x186236['add'](_0xed1720),_0x4c2e60['has'](_0xed1720)&&_0x4c2e60['get'](_0xed1720)['userId']==_0x195e2a['userId']?_0x4c2e60['delete'](_0xed1720):_0x4c2e60['set'](_0xed1720,_0x195e2a)):_0x4c2e60['has'](_0xed1720)?(_0x186236['delete'](_0xed1720),_0x4c2e60['delete'](_0xed1720)):(_0x186236['add'](_0xed1720),_0x4c2e60['set'](_0xed1720,_0x195e2a));}else _0x186236['add'](_0xed1720);}for(const _0x5e5a0f of _0x186236){const _0x45025a=_0x4c2e60['has'](_0x5e5a0f)&&!_0x4c2e60['get'](_0x5e5a0f)['isAttached'];let _0x3e2558=_0x45025a?_0x2aa1f8['length']-0x1:0x0;const _0x4b7b01=_0x45025a?-0x1:0x1;for(;_0x2aa1f8[_0x3e2558];){const _0x444647=_0x2aa1f8[_0x3e2558];if(_0x444647['diffData'][_0x5e5a0f]){const _0xe58b18=_0x45025a?_0x444647['diffData'][_0x5e5a0f]['attributesBefore']:_0x444647['diffData'][_0x5e5a0f]['attributesAfter'];_0x905e83['attributes'][_0x5e5a0f]=_0xe58b18?wt(_0xe58b18):{};break;}_0x3e2558+=_0x4b7b01;}}for(const _0x213cef of _0x2aa1f8){_0x213cef['model']={};for(const _0x2f231c of _0x213cef['authors'])_0x1e6d9d['set'](_0x2f231c['id'],_0x2f231c);for(const _0x5f1b29 of _0x186236){const _0x372559=_0x213cef['diffData'][_0x5f1b29]?_0x213cef['diffData'][_0x5f1b29]['insertions']:'[]',_0x3e7018=_0x213cef['diffData'][_0x5f1b29]?_0x213cef['diffData'][_0x5f1b29]['deletions']:'[]',_0x106be9=_0x213cef['diffData'][_0x5f1b29]?.['rootElementName']||'$root';_0x213cef['model'][_0x5f1b29]={'insertions':this['_utils']['_makeModelFromViewString'](_0x372559,_0x106be9),'deletions':this['_utils']['_makeModelFromViewString'](_0x3e7018,_0x106be9)};}}for(const _0x24db3f of _0x186236){let _0x3d79ef=null,_0x589bb2=0x0;const _0x1fbc9a=_0x2aa1f8['map'](_0xda30bd=>_0xda30bd['diffData'][_0x24db3f]?.['rootElementName'])['find'](_0x58ec42=>void 0x0!==_0x58ec42)||'$root',_0x14f642=new Map(Array['from'](_0x577ee7['model'][_0x24db3f]['insertions']['markers'])['filter'](([_0x519f50])=>!_0x519f50['startsWith']('revision:')));let _0xb4557f=0x0;for(const _0xcf77f2 of _0x2aa1f8){const _0x18932c=this['_makeTape'](_0xcf77f2['model'][_0x24db3f]['insertions']);_0xcf77f2==_0x577ee7?(_0x3d79ef=_0x18932c,_0x589bb2=_0x3d79ef['length'],_0x3d79ef['forEach'](_0x43d45a=>{_0x43d45a['id']=_0xb4557f++;}),this['_processTape'](_0x3d79ef)):this['_markInsertions'](_0x3d79ef,_0x18932c);const _0x209cf6=_0x3d79ef['filter'](_0x2607f4=>!_0x2607f4['isAdded'])['map'](_0x1b60d3=>_0x1b60d3['id']);let _0x4b47a5=0x0;const _0x42fe75=this['_makeTape'](_0xcf77f2['model'][_0x24db3f]['deletions']);_0x42fe75['forEach'](_0x2702f0=>{_0x2702f0['isRemoved']?_0x2702f0['id']=_0x589bb2++:_0x2702f0['id']=_0x209cf6[_0x4b47a5++];}),this['_processTape'](_0x42fe75),this['_setDistance'](_0x3d79ef,'isAdded'),this['_setDistance'](_0x42fe75,'isRemoved'),_0xcf77f2==_0x577ee7&&this['_markMarkers'](_0x3d79ef,_0x14f642),_0x3d79ef=this['_joinTapes'](_0x3d79ef,_0x42fe75),this['_refreshStartEndIndex'](_0x3d79ef),this['_setDistance'](_0x3d79ef,'isRemoved');}_0x3d79ef=_0x3d79ef['filter'](_0x5cc651=>!(_0x5cc651['isAdded']&&_0x5cc651['isRemoved']));const _0x2919f0=new Map(_0x15b087['model'][_0x24db3f]['deletions']['markers']),_0x534ac2=new Set(_0x14f642['keys']());for(const _0x3c91b2 of _0x2919f0['keys']())_0x534ac2['delete'](_0x3c91b2);this['_markSuggestions'](_0x3d79ef,_0x534ac2),this['_fixObsoleteTags'](_0x3d79ef),_0x3d79ef=this['_removeMissingPairs'](_0x3d79ef),_0x3d79ef=this['_markMismatchedRemovedTags'](_0x3d79ef),_0x3d79ef=this['_removeUnsupportedChanges'](_0x3d79ef);const {root:_0x135f7c,changes:_0xa74e98}=this['_makeModelFromTape'](_0x3d79ef,_0x1e6d9d,_0x24db3f,_0x1fbc9a);_0x905e83['model'][_0x24db3f]=_0x135f7c;const _0x55a347=_0x4c2e60['get'](_0x24db3f);if(_0x55a347){const _0x376c6f=new _0x5ef993({'author':_0x1e6d9d['get'](_0x55a347['userId']),'type':_0x55a347['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x24db3f});_0xa74e98['unshift'](_0x376c6f),_0x905e83['attributes'][_0x24db3f]['revisionHistoryAttachChange']=_0x376c6f['id'];}_0x905e83['changes']=_0x905e83['changes']['concat'](_0xa74e98);}return _0x905e83;}['_markMarkers'](_0x3afd3b,_0x4be6bb){for(let _0x21d0c0=0x0;_0x21d0c0<_0x3afd3b['length'];_0x21d0c0++)for(const [_0x59db05,_0x45c939]of _0x4be6bb)!_0x45c939['isCollapsed']&&_0x45c939['start']['isEqual'](_0x3afd3b[_0x21d0c0]['previousPosition'])&&_0x3afd3b[_0x21d0c0]['markersStart']['push'](_0x59db05),_0x45c939['end']['isEqual'](_0x3afd3b[_0x21d0c0]['nextPosition'])&&_0x3afd3b[_0x21d0c0]['markersEnd']['push'](_0x59db05);}['_joinTapes'](_0x179645,_0x2c8a04){let _0x2e0b4a=[],_0x30760b=0x0,_0x49a721=0x0;for(;_0x30760b<_0x179645['length']||_0x49a721<_0x2c8a04['length'];){const _0x4fca9a=_0x179645[_0x30760b]||{},_0xd45f9c=_0x2c8a04[_0x49a721]||{};if(_0x4fca9a['id']==_0xd45f9c['id'])_0x30760b++,_0x49a721++,_0x2e0b4a['push'](_0x4fca9a);else{if(_0xd45f9c['isRemoved']&&_0x4fca9a['isAdded']){const {commonTape:_0x4543b9,iEnd:_0x3991d7,jEnd:_0x306621}=this['_threeWayMerge'](_0x179645,_0x30760b,_0x2c8a04,_0x49a721);_0x2e0b4a=_0x2e0b4a['concat'](_0x4543b9),_0x30760b=_0x3991d7,_0x49a721=_0x306621;}else _0xd45f9c['isRemoved']?(_0x49a721++,_0x2e0b4a['push'](_0xd45f9c)):(_0x30760b++,_0x2e0b4a['push'](_0x4fca9a));}}return _0x2e0b4a;}['_markSuggestions'](_0x56c7c8,_0xcec45e){const _0x5380d7=[];for(let _0x33855e=0x0;_0x33855e<_0x56c7c8['length'];_0x33855e++){for(let _0x54667d=0x0;_0x54667d<_0x56c7c8[_0x33855e]['markersStart']['length'];_0x54667d++){const _0x1a8d87=_0x56c7c8[_0x33855e]['markersStart'][_0x54667d];if(!_0xcec45e['has'](_0x1a8d87))continue;const {group:_0x38a319,type:_0x23e35d,authorId:_0x3fecea}=_0x576ccf(_0x1a8d87);'revision-suggestion'!=_0x38a319||'insertion'!=_0x23e35d&&'deletion'!=_0x23e35d||(_0x5380d7['unshift']({'type':_0x23e35d,'name':_0x1a8d87,'userId':_0x3fecea}),_0x56c7c8[_0x33855e]['markersStart']['splice'](_0x54667d,0x1),_0x54667d--);}_0x4714a4(_0x56c7c8[_0x33855e]);for(let _0x28be55=0x0;_0x28be55<_0x56c7c8[_0x33855e]['markersEnd']['length'];_0x28be55++){const _0x4f6eb0=_0x56c7c8[_0x33855e]['markersEnd'][_0x28be55];if(!_0xcec45e['has'](_0x4f6eb0))continue;const {group:_0x43b07f,type:_0x250a2c}=_0x576ccf(_0x4f6eb0);if('revision-suggestion'!=_0x43b07f||'insertion'!=_0x250a2c&&'deletion'!=_0x250a2c)continue;_0x56c7c8[_0x33855e]['markersEnd']['splice'](_0x28be55,0x1),_0x28be55--;const _0x31744b=_0x5380d7['findIndex'](_0x2bbffb=>_0x2bbffb['name']==_0x4f6eb0);_0x31744b>-0x1&&_0x5380d7['splice'](_0x31744b,0x1);}}function _0x576ccf(_0x2a0356){const _0x532fb7=_0x2a0356['split'](':');return{'group':_0x532fb7[0x0],'type':_0x532fb7[0x1],'subType':_0x532fb7['length']>=0x5?_0x532fb7[0x2]:null,'id':_0x532fb7['length']<0x5?_0x532fb7[0x2]:_0x532fb7[0x3],'authorId':_0x532fb7['length']<0x5?_0x532fb7[0x3]:_0x532fb7[0x4],'markerCount':0x6==_0x532fb7['length']?_0x532fb7[0x5]:null};}function _0x4714a4(_0x5e7df4){for(let _0x42c2e6=0x0;_0x42c2e6<_0x5380d7['length'];_0x42c2e6++){if(_0x5e7df4['isAdded']&&'insertion'==_0x5380d7[_0x42c2e6]['type']&&_0x5e7df4['isAdded']['userId']==_0x5380d7[_0x42c2e6]['userId'])return _0x5e7df4['isAddSuggestion']=_0x5380d7[_0x42c2e6],void delete _0x5e7df4['isAdded'];if(!_0x5e7df4['isAdded']&&!_0x5e7df4['isRemoved']&&'deletion'==_0x5380d7[_0x42c2e6]['type'])return void(_0x5e7df4['isRemoveSuggestion']=_0x5380d7[_0x42c2e6]);}}}['_setDistance'](_0x46b2d6,_0x1f562a){let _0x2ec720=0x0,_0x27dee6=!0x1;const _0x391e3c=new Map();for(const _0x3c8fbc of _0x46b2d6)_0x3c8fbc[_0x1f562a]?_0x27dee6&&(_0x2ec720++,_0x27dee6=!0x1):(_0x2ec720++,_0x27dee6=!0x0),_0x391e3c['set'](_0x3c8fbc['id'],_0x2ec720);for(let _0x1796c9=0x0;_0x1796c9<_0x46b2d6['length'];_0x1796c9++){if('isRemoved'==_0x1f562a&&_0x46b2d6[_0x1796c9]['isAdded']||'isAdded'==_0x1f562a&&_0x46b2d6[_0x1796c9]['isRemoved'])continue;if('text'==_0x46b2d6[_0x1796c9]['type']){_0x46b2d6[_0x1796c9]['distance']=0x0;continue;}const _0xbdaa55=_0x391e3c['get'](_0x46b2d6[_0x1796c9]['pairId']),_0x420615=_0x391e3c['get'](_0x46b2d6[_0x1796c9]['id']);_0x46b2d6[_0x1796c9]['distance']=_0xbdaa55-_0x420615;}}['_getRevisionsRange'](_0x142c7e,_0x4ad15b,_0x48fab3=!0x1){const _0x2eb2bd=[];let _0x574cb7=this['repository']['getIndex'](_0x142c7e),_0xaf2ebd=this['repository']['getIndex'](_0x4ad15b);for(-0x1==_0xaf2ebd&&(_0xaf2ebd=this['repository']['_revisions']['length'],_0x48fab3=!0x1);_0x574cb7<_0xaf2ebd;)_0x2eb2bd['push'](this['repository']['getRevision'](_0x574cb7)),_0x574cb7++;return _0x48fab3&&_0x2eb2bd['push'](this['repository']['getRevision'](_0x574cb7)),_0x2eb2bd;}['_threeWayMerge'](_0xb6b3cd,_0x3017c5,_0x3fec55,_0x591594){const _0x5cc01f=this['editor']['model']['schema'];let _0x1bde08=_0x3017c5;for(;_0xb6b3cd[_0x1bde08]&&_0xb6b3cd[_0x1bde08]['isAdded'];)_0x1bde08++;let _0x5f5a68=_0x591594;for(;_0x3fec55[_0x5f5a68]&&_0x3fec55[_0x5f5a68]['isRemoved'];)_0x5f5a68++;_0x34b83b(_0xb6b3cd,_0x3017c5,_0x1bde08),_0x34b83b(_0x3fec55,_0x591594,_0x5f5a68);const _0x31e09a=_0x3fec55['slice'](_0x591594,_0x5f5a68)['concat'](_0xb6b3cd['slice'](_0x3017c5,_0x1bde08));return _0x31e09a['sort']((_0x4c49e4,_0x26ebf4)=>_0x4c49e4['side']!=_0x26ebf4['side']?_0x4c49e4['side']-_0x26ebf4['side']:_0x4c49e4['level']!=_0x26ebf4['level']?_0x4c49e4['level']-_0x26ebf4['level']:_0x4c49e4['distance']!=_0x26ebf4['distance']?_0x26ebf4['distance']-_0x4c49e4['distance']:!!_0x4c49e4['isAdded']!=!!_0x26ebf4['isAdded']?-0x1==_0x4c49e4['side']||0x0==_0x4c49e4['side']?_0x4c49e4['isAdded']?-0x1:0x1:_0x4c49e4['isAdded']?0x1:-0x1:_0x4c49e4['index']-_0x26ebf4['index']),{'commonTape':_0x31e09a,'iEnd':_0x1bde08,'jEnd':_0x5f5a68};function _0x34b83b(_0x2a96d1,_0x5e8400,_0x1392b5){let _0x313351=-0x1,_0x418e28=Number['POSITIVE_INFINITY'],_0x37ac08=!0x0;for(let _0x5db612=_0x5e8400;_0x5db612<_0x1392b5;_0x5db612++)if(_0x5cc01f['isInline'](_0x2a96d1[_0x5db612]['item'])||(_0x37ac08=!0x1),_0x2a96d1[_0x5db612]['item']['startIndex']<_0x5e8400&&(_0x313351=_0x5db612),_0x2a96d1[_0x5db612]['item']['endIndex']>=_0x1392b5){_0x418e28=_0x5db612;break;}_0x37ac08&&(_0x313351=_0x1392b5-0x1);for(let _0x4c383e=_0x5e8400;_0x4c383e<_0x1392b5;_0x4c383e++)_0x2a96d1[_0x4c383e]['side']=_0x4c383e<=_0x313351?-0x1:_0x4c383e<_0x418e28?0x0:0x1,_0x2a96d1[_0x4c383e]['index']=_0x4c383e;let _0x112a49=0x0;for(let _0x518a85=_0x5e8400;_0x518a85<=_0x313351;_0x518a85++)0x0==_0x2a96d1[_0x518a85]['distance']?_0x2a96d1[_0x518a85]['level']=_0x112a49:(_0x112a49++,_0x2a96d1[_0x518a85]['level']=_0x112a49,_0x112a49++);for(let _0xf0bc56=_0x5e8400;_0xf0bc56<_0x1392b5;_0xf0bc56++)0x0==_0x2a96d1[_0xf0bc56]['side']&&(_0x2a96d1[_0xf0bc56]['level']=_0x112a49);_0x112a49=0x0;for(let _0x1ac560=_0x1392b5-0x1;_0x1ac560>=_0x418e28;_0x1ac560--)0x0==_0x2a96d1[_0x1ac560]['distance']?_0x2a96d1[_0x1ac560]['level']=_0x112a49:(_0x112a49--,_0x2a96d1[_0x1ac560]['level']=_0x112a49,_0x112a49--);}}['_fixObsoleteTags'](_0x3f88fa){const _0x639b84=new Map(),_0x4b8761=this['editor']['model']['schema'];for(let _0x42da76=0x1;_0x42da76<_0x3f88fa['length'];_0x42da76++){let _0x34fc85,_0x4f87c1,_0x49301f;const _0x47c11e=_0x3f88fa[_0x42da76],_0x931edc=_0x3f88fa[_0x42da76-0x1];if('text'==_0x47c11e['type'])continue;if(_0x47c11e['type']!=_0x931edc['type'])continue;if(!_0x4b8761['isBlock'](_0x931edc['item'])||_0x4b8761['isLimit'](_0x931edc['item']))continue;if(!_0x4b8761['isBlock'](_0x47c11e['item'])||_0x4b8761['isLimit'](_0x47c11e['item']))continue;if((_0x3f88fa[_0x42da76]['isAdded']||_0x3f88fa[_0x42da76]['isAddSuggestion'])&&_0x3f88fa[_0x42da76-0x1]['isRemoved'])_0x34fc85=_0x3f88fa[_0x42da76],_0x4f87c1=_0x3f88fa[_0x42da76-0x1],_0x49301f=_0x42da76-0x1;else{if(!_0x3f88fa[_0x42da76]['isRemoved']||!_0x3f88fa[_0x42da76-0x1]['isAdded']&&!_0x3f88fa[_0x42da76-0x1]['isAddSuggestion'])continue;_0x34fc85=_0x3f88fa[_0x42da76-0x1],_0x4f87c1=_0x3f88fa[_0x42da76],_0x49301f=_0x42da76;}const _0x131588=_0x34fc85['level']==_0x4f87c1['level'],_0x4a6644=Math['abs'](_0x34fc85['level'])<Math['abs'](_0x4f87c1['level'])&&0x0==_0x4f87c1['distance'];(_0x131588||_0x4a6644)&&(_0x639b84['set'](_0x4f87c1['id'],_0x34fc85['id']),_0x3f88fa['splice'](_0x49301f,0x1),_0x42da76--,_0x34fc85['isAdded']=!0x1);}for(let _0xc5f14e=0x0;_0xc5f14e<_0x3f88fa['length'];_0xc5f14e++)_0x639b84['has'](_0x3f88fa[_0xc5f14e]['pairId'])&&(_0x3f88fa[_0xc5f14e]['pairId']=_0x639b84['get'](_0x3f88fa[_0xc5f14e]['pairId']));}['_removeMissingPairs'](_0x219379){const _0x5ae543=new Set(_0x219379['map'](_0x562b32=>_0x562b32['id']));for(let _0x33601b=0x0;_0x33601b<_0x219379['length'];_0x33601b++)_0x5ae543['has'](_0x219379[_0x33601b]['pairId'])||0x0==_0x219379[_0x33601b]['distance']||(_0x219379[_0x33601b]['isIncorrect']=!0x0);return _0x219379['filter'](_0x246450=>!_0x246450['isIncorrect']);}['_markMismatchedRemovedTags'](_0x5e495a){const _0x49c7fd=new Set();for(let _0x15440b=0x0;_0x15440b<_0x5e495a['length'];_0x15440b++){if(_0x49c7fd['has'](_0x5e495a[_0x15440b]['id'])&&_0x5e495a[_0x15440b]['isRemoved']&&(_0x5e495a[_0x15440b]['isIncorrect']=!0x0),_0x5e495a[_0x15440b]['isIncorrect'])continue;if(0x0==_0x5e495a[_0x15440b]['distance'])continue;if('elementStart'!=_0x5e495a[_0x15440b]['type'])continue;if(null==_0x5e495a[_0x15440b]['pairId'])continue;let _0x71277b=_0x15440b+0x1,_0x285d01=0x0;for(;_0x5e495a[_0x71277b]['id']!=_0x5e495a[_0x15440b]['pairId'];)'elementStart'==_0x5e495a[_0x71277b]['type']?_0x285d01++:'elementEnd'==_0x5e495a[_0x71277b]['type']&&_0x285d01--,_0x71277b++;if(0x0!=_0x285d01){if(_0x5e495a[_0x15440b]['isRemoved'])_0x5e495a[_0x15440b]['isIncorrect']=!0x0;else{for(;_0x71277b!=_0x15440b;)_0x5e495a[_0x71277b]['isRemoved']&&0x0!=_0x5e495a[_0x71277b]['distance']&&(_0x5e495a[_0x71277b]['isIncorrect']=!0x0,_0x49c7fd['add'](_0x5e495a[_0x71277b]['pairId'])),_0x71277b--;}}}return _0x5e495a['filter'](_0x9045e3=>!_0x9045e3['isIncorrect']);}['_removeUnsupportedChanges'](_0x391702){const _0x411db3=this['editor']['model']['schema'];for(let _0xfbef04=0x0;_0xfbef04<_0x391702['length'];_0xfbef04++){if(!(_0x391702[_0xfbef04]['isAdded']||_0x391702[_0xfbef04]['isAddSuggestion']||_0x391702[_0xfbef04]['isRemoved']||_0x391702[_0xfbef04]['isRemoveSuggestion']))continue;if(0x0==_0x391702[_0xfbef04]['distance'])continue;const _0x2c8e5a=_0x391702[_0xfbef04]['item'];_0x411db3['isBlock'](_0x2c8e5a)||_0x411db3['isLimit'](_0x2c8e5a)||(_0x391702[_0xfbef04]['isAdded']&&delete _0x391702[_0xfbef04]['isAdded'],_0x391702[_0xfbef04]['isAddSuggestion']&&delete _0x391702[_0xfbef04]['isAddSuggestion'],_0x391702[_0xfbef04]['isRemoveSuggestion']&&delete _0x391702[_0xfbef04]['isRemoveSuggestion'],_0x391702[_0xfbef04]['isRemoved']&&(_0x391702[_0xfbef04]['isIncorrect']=!0x0));}return _0x391702['filter'](_0x1614b3=>!_0x1614b3['isIncorrect']);}['_makeModelFromTape'](_0x490732,_0x5838a1,_0xc5a79b,_0xfe88f7){const _0x1417aa=new _0x14e616['ModelDocumentFragment'](),_0x5a3898=[],_0x3f4c23=new Map(),_0x4e37d5=this['editor']['model'],_0x38bca7=_0x4e37d5['schema'],_0x306afc=[_0x1417aa],_0x4629f8={},_0x35ac97={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};_0x1417aa['name']=_0xfe88f7;let _0x16f30a=null;const _0x1b4776=[0x0];for(let _0x13c693=0x0;_0x13c693<_0x490732['length'];_0x13c693++)if('elementStart'===_0x490732[_0x13c693]['type']){_0x490732[_0x13c693]['previousPosition']=_0x4e37d5['createPositionFromPath'](_0x1417aa,_0x1b4776);const _0x40f8f5=new _0x14e616['ModelElement'](_0x490732[_0x13c693]['item']['name'],_0x490732[_0x13c693]['item']['getAttributes']());_0x306afc[0x0]['_appendChild'](_0x40f8f5),_0x1b4776['push'](0x0),_0x306afc['unshift'](_0x40f8f5),_0x490732[_0x13c693]['nextPosition']=_0x4e37d5['createPositionFromPath'](_0x1417aa,_0x1b4776);}else'elementEnd'===_0x490732[_0x13c693]['type']?(_0x306afc['shift'](),_0x490732[_0x13c693]['previousPosition']=_0x4e37d5['createPositionFromPath'](_0x1417aa,_0x1b4776),_0x1b4776['pop'](),_0x1b4776[_0x1b4776['length']-0x1]++,_0x490732[_0x13c693]['nextPosition']=_0x4e37d5['createPositionFromPath'](_0x1417aa,_0x1b4776)):(_0x490732[_0x13c693]['previousPosition']=_0x4e37d5['createPositionFromPath'](_0x1417aa,_0x1b4776),_0x16f30a?_0x16f30a['_data']+=_0x490732[_0x13c693]['item']['data']:_0x16f30a=new _0x14e616['ModelText'](_0x490732[_0x13c693]['item']['data'],_0x490732[_0x13c693]['item']['getAttributes']()),_0x490732[_0x13c693+0x1]&&'text'===_0x490732[_0x13c693+0x1]['type']&&_0x5bcb6e(_0x16f30a,_0x490732[_0x13c693+0x1]['item'])||(_0x306afc[0x0]['_appendChild'](_0x16f30a),_0x16f30a=null),_0x1b4776[_0x1b4776['length']-0x1]+=_0x490732[_0x13c693]['item']['offsetSize'],_0x490732[_0x13c693]['nextPosition']=_0x4e37d5['createPositionFromPath'](_0x1417aa,_0x1b4776));for(let _0x5c40d9=0x0;_0x5c40d9<_0x490732['length'];_0x5c40d9++){const _0x41d62e=_0x490732[_0x5c40d9]['previousPosition'],_0x250ec6=_0x490732[_0x5c40d9]['nextPosition'];for(const _0x4aad07 of _0x490732[_0x5c40d9]['markersStart'])_0x3f4c23['set'](_0x4aad07,{'start':_0x41d62e,'end':null});_0x5a1072('isRemoveSuggestion',_0x5c40d9,_0x41d62e,_0x250ec6),_0x5a1072('isAddSuggestion',_0x5c40d9,_0x41d62e,_0x250ec6),_0x5a1072('isRemoved',_0x5c40d9,_0x41d62e,_0x250ec6),_0x5a1072('isAdded',_0x5c40d9,_0x41d62e,_0x250ec6);for(const _0x47e2d8 of _0x490732[_0x5c40d9]['markersEnd']){const _0x4b5a2b=_0x3f4c23['get'](_0x47e2d8);_0x4b5a2b?_0x4b5a2b['end']=_0x250ec6:_0x3f4c23['set'](_0x47e2d8,{'start':_0x250ec6,'end':_0x250ec6});}}for(const [_0x149c32,_0x3dbd2c]of _0x3f4c23){const _0x54e25e=this['editor']['model']['createRange'](_0x3dbd2c['start'],_0x3dbd2c['end']);_0x1417aa['markers']['set'](_0x149c32,_0x54e25e);}return _0x5a3898['sort']((_0x3e016f,_0x1b393b)=>{const _0x3d7744=_0x1417aa['markers']['get']('revision:'+_0x3e016f['id']),_0x26be9d=_0x1417aa['markers']['get']('revision:'+_0x1b393b['id']);return _0x3d7744['start']['isBefore'](_0x26be9d['start'])?-0x1:_0x3d7744['start']['isAfter'](_0x26be9d['start'])?0x1:_0x3d7744['end']['isBefore'](_0x26be9d['end'])?-0x1:_0x3d7744['end']['isAfter'](_0x26be9d['end'])?0x1:'add'===_0x3e016f['type']?-0x1:0x1;}),{'root':_0x1417aa,'changes':_0x5a3898};function _0x5a1072(_0x191634,_0x5ebfa3,_0x5df515,_0x1a788b){const _0x40ec0d=!!_0x490732[_0x5ebfa3][_0x191634],_0x1634aa=_0x40ec0d?_0x490732[_0x5ebfa3][_0x191634]['userId']:null,_0x1ec5ba=_0x5ebfa3===_0x490732['length']-0x1,_0x405ed1=_0x35ac97[_0x191634][0x0],_0x32d892=_0x38bca7['isObject'](_0x490732[_0x5ebfa3]['item']);!_0x4629f8[_0x191634]&&_0x40ec0d?_0x4629f8[_0x191634]={'start':_0x5df515,'tapeItem':_0x490732[_0x5ebfa3],'userId':_0x1634aa,'type':_0x191634}:_0x4629f8[_0x191634]&&!_0x40ec0d?(_0x4629f8[_0x191634]['end']=_0x5df515,_0x5ccb2d(_0x4629f8[_0x191634]),_0x4629f8[_0x191634]=null):_0x4629f8[_0x191634]&&_0x40ec0d&&_0x4629f8[_0x191634]['userId']!==_0x1634aa&&(_0x4629f8[_0x191634]['end']=_0x5df515,_0x405ed1&&_0x405ed1['userId']===_0x4629f8[_0x191634]['userId']||_0x5ccb2d(_0x4629f8[_0x191634]),_0x4629f8[_0x191634]={'start':_0x5df515,'tapeItem':_0x490732[_0x5ebfa3],'userId':_0x1634aa,'type':_0x191634}),_0x4629f8[_0x191634]&&_0x32d892&&('elementStart'!==_0x490732[_0x5ebfa3]['type']||_0x405ed1&&_0x405ed1['userId']===_0x1634aa||_0x35ac97[_0x191634]['unshift']({'userId':_0x1634aa,'object':_0x490732[_0x5ebfa3]['item'],'change':_0x4629f8[_0x191634]}),'elementEnd'===_0x490732[_0x5ebfa3]['type']&&_0x405ed1&&_0x405ed1['object']===_0x490732[_0x5ebfa3]['item']&&(_0x35ac97[_0x191634]['shift'](),_0x4629f8[_0x191634]=_0x405ed1['change'])),_0x4629f8[_0x191634]&&_0x1ec5ba&&(_0x4629f8[_0x191634]['end']=_0x1a788b,_0x5ccb2d(_0x4629f8[_0x191634]),_0x4629f8[_0x191634]=null);}function _0x5ccb2d({start:_0xe355c0,end:_0x17b492,tapeItem:_0x48317d,userId:_0x27f418,type:_0x45c34f}){const _0x183059=_0x48317d['item'],_0x175a93=_0x4e37d5['schema']['isBlock'](_0x183059)&&!_0x4e37d5['schema']['isLimit'](_0x183059),_0x37cb53=_0xe355c0['nodeAfter']==_0x17b492['parent']&&_0x17b492['isAtStart'];if(_0x175a93&&_0x37cb53)return;const _0x42e52d=_0x4e37d5['createRange'](_0xe355c0,_0x17b492),_0x3c4280=new _0x5ef993({'author':_0x5838a1['get'](_0x27f418),'type':'isAdded'==_0x45c34f||'isAddSuggestion'==_0x45c34f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x45c34f||'isRemoveSuggestion'==_0x45c34f},'createdAt':new Date(),'rootName':_0xc5a79b});_0x5a3898['push'](_0x3c4280),_0x1417aa['markers']['set']('revision:'+_0x3c4280['id'],_0x42e52d);}function _0x5bcb6e(_0x7b3d83,_0x1a979d){const _0x20a743=_0x7b3d83['getAttributes'](),_0x5f3a09=_0x1a979d['getAttributes']();for(const _0x38409c of _0x20a743){if(_0x38409c[0x1]!==_0x1a979d['getAttribute'](_0x38409c[0x0]))return!0x1;_0x5f3a09['next']();}return _0x5f3a09['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xafc0cd=>{const _0x4ed014=_0xafc0cd['markerName']['split'](':')[0x1],_0x5c74c5=this['_getChangeFromId'](_0x4ed014);if(!_0x5c74c5)return null;const _0x152cd8='add'==_0x5c74c5['type']?'insertion':'deletion',_0x4ec35d=['ck-suggestion-marker','ck-suggestion-marker-'+_0x152cd8];return _0x5c74c5['data']['isSuggestion']&&_0x4ec35d['push']('ck-suggestion-marker-'+_0x152cd8+'-new'),this['activeChange']==_0x5c74c5&&_0x4ec35d['push']('ck-suggestion-marker--active'),{'classes':_0x4ec35d,'attributes':{'data-change-id':_0x4ed014}};}}),this['editor']['conversion']['for']('upcast')['add'](_0xdb32eb=>{_0xdb32eb['on']('element:pre',(_0x56081d,_0x1bc3d8,_0x33ee65)=>{const _0x36d552=_0x1bc3d8['viewItem']['getChild'](0x0);if(!_0x36d552||!_0x36d552['is']('element','code'))return;if(!_0x33ee65['consumable']['consume'](_0x36d552,{'attributes':['vid_start','vid_end']}))return;const _0x530f54=_0x1bc3d8['modelRange']['start']['nodeAfter'];_0x33ee65['writer']['setAttribute']('vid_start',_0x36d552['getAttribute']('vid_start'),_0x530f54),_0x33ee65['writer']['setAttribute']('vid_end',_0x36d552['getAttribute']('vid_end'),_0x530f54);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2e4d2a=>{_0x2e4d2a['on']('element',(_0x43f658,_0x3c255c,_0xec0a6e)=>{if(!_0xec0a6e['consumable']['consume'](_0x3c255c['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3c255c['modelRange']['isCollapsed'])return;const _0x2a6a63=_0x3c255c['modelRange']['start']['nodeAfter'];_0x2a6a63['hasAttribute']('vid_start')||_0x2a6a63['hasAttribute']('vid')||(_0xec0a6e['writer']['setAttribute']('vid_start',_0x3c255c['viewItem']['getAttribute']('vid_start'),_0x2a6a63),_0xec0a6e['writer']['setAttribute']('vid_end',_0x3c255c['viewItem']['getAttribute']('vid_end'),_0x2a6a63));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2b7b42=>_0x2b7b42['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x558881,[,_0x459670])=>{['vid_start','vid_end','vid']['includes'](_0x459670)&&(_0x558881['return']=!0x0,_0x558881['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2ee146=>{_0x2ee146['on']('attribute:vid',(_0x257727,_0x4d9b19,_0x3f63e5)=>{if('\x20'!=_0x4d9b19['item']['data']||_0x4d9b19['item']['parent']['maxOffset']>0x1)return;if(!_0x3f63e5['consumable']['consume'](_0x4d9b19['item'],_0x257727['name']))return;const _0x3fd3e1=_0x3f63e5['writer'],_0x4da98b=_0x3f63e5['mapper']['toViewRange'](_0x4d9b19['range']);_0x3fd3e1['wrap'](_0x4da98b,_0x3fd3e1['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x28de16){const _0x19e1f0=_0x28de16['plugins']['get']('RevisionViewer');return(_0x590791,_0x11abd7,_0x2ac6dd)=>{const _0x39c275=_0x11abd7['markerName']['split'](':')[0x1],_0x87632c=_0x19e1f0['_getChangeFromId'](_0x39c275);if(!_0x87632c)return null;const _0x432455='add'==_0x87632c['type']?'split':'merge';if(!_0x2ac6dd['consumable']['test'](_0x11abd7['markerRange'],_0x590791['name']))return;const _0x45354c=_0x11abd7['markerRange']['getWalker'](),_0x3d9ce2=_0x11abd7['markerRange']['start'],_0x25ec3a=_0x28de16['model']['schema'];let _0xfced83=null,_0x5343d1=null,_0x21ce49=!0x1,_0x5aefed=!0x1;for(const _0x11e507 of _0x45354c){const _0x5c767a=_0x11e507['item'];_0x21ce49=_0x21ce49||_0x25ec3a['isContent'](_0x5c767a);const _0xe62600=_0x2ac6dd['mapper']['toViewElement'](_0x5c767a);if(_0xe62600&&_0xe62600['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x11e507['type']&&(_0x25ec3a['isBlock'](_0x5c767a)&&!_0x25ec3a['isLimit'](_0x5c767a)&&(_0x5c767a['nextSibling']||_0x3d9ce2['isAtEnd']?_0xfced83&&_0xfced83['parent']==_0x5c767a||(_0xfced83=_0x5c767a,_0x37106d(_0x11e507['previousPosition']),_0x5aefed=!0x0):_0x5343d1=_0x5343d1||_0x11e507['previousPosition']));}function _0x37106d(_0x4b3fac){const _0x1d359e=_0x2ac6dd['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x432455}),_0x1f3cae=_0x2ac6dd['mapper']['toViewPosition'](_0x4b3fac);_0x87632c['data']['isSuggestion']&&_0x2ac6dd['writer']['addClass']('ck-suggestion-marker-'+_0x432455+'-new',_0x1d359e),_0x19e1f0['activeChange']==_0x87632c&&_0x2ac6dd['writer']['addClass']('ck-suggestion-marker--active',_0x1d359e),_0x2ac6dd['writer']['insert'](_0x1f3cae,_0x1d359e),_0x2ac6dd['mapper']['bindElementToMarker'](_0x1d359e,_0x11abd7['markerName']);}_0x21ce49||_0x5aefed||!_0x5343d1||_0x37106d(_0x5343d1);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x154174,_0x3a6a64,_0x12e030)=>{const _0x111f23=_0x12e030['mapper']['markerNameToElements'](_0x3a6a64['markerName']);if(_0x111f23){for(const _0x20ecab of _0x111f23)(_0x20ecab['hasClass']('ck-suggestion-marker-split')||_0x20ecab['hasClass']('ck-suggestion-marker-merge'))&&(_0x12e030['mapper']['unbindElementFromMarkerName'](_0x20ecab,_0x3a6a64['markerName']),_0x12e030['writer']['remove'](_0x20ecab));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x287f1e,_0x7b61b8,_0x22ed25)=>{const _0x3efab2=_0x7b61b8['markerName']['split'](':')[0x1],_0x88d1bd=this['_getChangeFromId'](_0x3efab2);if(!_0x88d1bd)return null;const _0x593521='add'==_0x88d1bd['type']?'split':'merge';if(_0x22ed25['consumable']['test'](_0x7b61b8['markerRange'],_0x287f1e['name']))for(const _0x489729 of _0x7b61b8['markerRange']['getItems']()){if(!_0x489729['is']('element','softBreak'))continue;const _0x340adc=_0x22ed25['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x593521}),_0x133b13=_0x22ed25['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x489729));_0x88d1bd['data']['isSuggestion']&&_0x22ed25['writer']['addClass']('ck-suggestion-marker-'+_0x593521+'-new',_0x340adc),this['activeChange']==_0x88d1bd&&_0x22ed25['writer']['addClass']('ck-suggestion-marker--active',_0x340adc),_0x22ed25['writer']['insert'](_0x133b13,_0x340adc),_0x22ed25['mapper']['bindElementToMarker'](_0x340adc,_0x7b61b8['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x27956c=>{for(const _0x56a3c4 of this['editor']['model']['document']['getRootNames']()){const _0x5595ba=this['editor']['model']['document']['getRoot'](_0x56a3c4),_0x4bb035=this['editor']['editing']['view']['document']['getRoot'](_0x56a3c4);if(_0x4bb035){const _0x3d9479=_0x5595ba['getAttribute']('revisionHistoryAttachChange');if(_0x27956c['removeAttribute']('data-change-id',_0x4bb035),_0x27956c['removeClass']('ck-revision-history-root-add',_0x4bb035),_0x27956c['removeClass']('ck-revision-history-root-remove',_0x4bb035),_0x27956c['removeClass']('ck-revision-history-root--active',_0x4bb035),_0x3d9479){const _0x508549=this['_getChangeFromId'](_0x3d9479);if(!_0x508549)return null;_0x27956c['setAttribute']('data-change-id',_0x3d9479,_0x4bb035),_0x27956c['addClass']('ck-revision-history-root-'+_0x508549['type'],_0x4bb035),this['activeChange']==_0x508549&&_0x27956c['addClass']('ck-revision-history-root--active',_0x4bb035);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x53dea0=>'revision-comment:'+_0x53dea0,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1e790d=>'revision-suggestion:'+_0x1e790d,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5b3a07=>({'name':'suggestion:'+_0x5b3a07,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2b8953=>{const _0x185855=_0x2b8953['markerName']['split'](':')[0x1];return'insertion'!=_0x185855&&'deletion'!=_0x185855?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x185855]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',_0x1929d0(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',_0x1929d0(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x41ccd3,_0x5d19e3,_0x4d6877)=>{const _0x257e6d=_0x4d6877['mapper']['markerNameToElements'](_0x5d19e3['markerName']);if(_0x257e6d){for(const _0x470d4d of _0x257e6d)_0x470d4d['is']('uiElement')&&(_0x4d6877['mapper']['unbindElementFromMarkerName'](_0x470d4d,_0x5d19e3['markerName']),_0x4d6877['writer']['remove'](_0x470d4d));}},{'priority':'high'});}['_getChangeFromId'](_0x30b51c){return this['_changeIdToChange']['get'](_0x30b51c);}['_getViewForChange'](_0xa7f496){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new _0x3bc953(this['editor']['locale'],_0xa7f496),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xe66f60,_0x457e6c,_0xe0b0a5,_0x2d3ef7)=>{_0x2d3ef7&&this['_balloon']['remove'](_0x2d3ef7),_0xe0b0a5&&(this['_balloon']['add']({'view':_0xe0b0a5,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x73459d=this['editor']['editing'],_0x48b735=this['_getChangeFromId'](_0xe0b0a5['changeId']);let _0x2591b7;if(_0x48b735['data']['isOnRoot']){const _0x3eca46=_0x73459d['view']['getDomRoot'](_0x48b735['rootName']);_0x2591b7=Array['from'](_0x3eca46['getClientRects']());}else{const _0x4ac8bc=this['editor']['model']['markers']['get']('revision:'+_0xe0b0a5['changeId']);_0x2591b7=Array['from'](_0x73459d['mapper']['markerNameToElements'](_0x4ac8bc['name']))['map'](_0x266faa=>_0x73459d['view']['domConverter']['mapViewToDom'](_0x266faa))['map'](_0x8a3304=>Array['from'](_0x8a3304['getClientRects']()))['flat']();}return this['_activeViewTarget']&&_0x2591b7['find'](_0xaf6074=>_0xaf6074['top']-0x3<=this['_activeViewTarget']['y']&&_0xaf6074['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xaf6074['left']-0x3<=this['_activeViewTarget']['x']&&_0xaf6074['right']+0x3>=this['_activeViewTarget']['x'])||_0x2591b7[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5d8f9f,_0x561f85,_0x2f2e38,_0x4817e6)=>{this['activeView']=_0x2f2e38?this['_getViewForChange'](_0x2f2e38):null,this['editor']['model']['change'](()=>{const _0xaf378e=this['editor']['editing'];_0x4817e6&&(_0x4817e6['data']['isOnRoot']?_0xaf378e['view']['change'](_0x470245=>{_0x470245['removeClass']('ck-revision-history-root--active',_0xaf378e['view']['document']['getRoot'](_0x4817e6['rootName']));}):_0xaf378e['reconvertMarker']('revision:'+_0x4817e6['id'])),_0x2f2e38&&(_0x2f2e38['data']['isOnRoot']?_0xaf378e['view']['change'](_0x545987=>{_0x545987['addClass']('ck-revision-history-root--active',_0xaf378e['view']['document']['getRoot'](_0x2f2e38['rootName']));}):_0xaf378e['reconvertMarker']('revision:'+_0x2f2e38['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1bf51b,_0x4bf826)=>{if(this['activeChange'])return;const _0xab462c=this['_findChangeIdFromDomTarget'](_0x4bf826['target']),_0xcdb2dd=this['_changeIdToChange']['get'](_0xab462c);_0xcdb2dd?(this['_activeViewTarget']={'x':_0x4bf826['domEvent']['x'],'y':_0x4bf826['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0xcdb2dd)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x511b21,_0x41b5dd)=>{const _0x52f6c9=this['_findChangeIdFromDomTarget'](_0x41b5dd['target']),_0x1185ee=this['_changeIdToChange']['get'](_0x52f6c9);_0x1185ee?(this['_activeViewTarget']={'x':_0x41b5dd['domEvent']['x'],'y':_0x41b5dd['domEvent']['y']},_0x1185ee===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1185ee):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x467d6d){do{const _0x1d0430=_0x467d6d['getAttribute']('data-change-id');if(_0x1d0430)return _0x1d0430;_0x467d6d=_0x467d6d['parent'];}while(_0x467d6d);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2f2f15=>{for(const _0xe85c2d of this['editor']['model']['markers'])_0x2f2f15['removeMarker'](_0xe85c2d);});}};function _0x1929d0(_0x397b08,_0x49fb8e){return(_0x44ce19,_0x4ba5e8,_0x4851a3)=>{if(!_0x4851a3['consumable']['test'](_0x4ba5e8['markerRange'],_0x44ce19['name']))return;const _0x2df229=_0x4ba5e8['markerRange']['getWalker'](),_0x53bfa7=_0x4ba5e8['markerRange']['start'],_0x509bb0=_0x397b08['model']['schema'];let _0x32594f=null,_0x76c0fc=null,_0x1dd08e=!0x1,_0x21b100=!0x1;for(const _0x55e36a of _0x2df229){const _0x1ab811=_0x55e36a['item'];_0x1dd08e=_0x1dd08e||_0x509bb0['isContent'](_0x1ab811);const _0x434440=_0x4851a3['mapper']['toViewElement'](_0x1ab811);if(_0x434440&&_0x434440['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x55e36a['type']&&(_0x509bb0['isBlock'](_0x1ab811)&&!_0x509bb0['isLimit'](_0x1ab811)&&(_0x1ab811['nextSibling']||_0x53bfa7['isAtEnd']?_0x32594f&&_0x32594f['parent']==_0x1ab811||(_0x32594f=_0x1ab811,_0x33a7e7(_0x55e36a['previousPosition']),_0x21b100=!0x0):_0x76c0fc=_0x76c0fc||_0x55e36a['previousPosition']));}function _0x33a7e7(_0x3c1c18){const _0x2cd928=_0x4851a3['mapper']['toViewPosition'](_0x3c1c18),_0x1955d0=_0x4851a3['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x49fb8e});_0x4851a3['writer']['insert'](_0x2cd928,_0x1955d0),_0x4851a3['mapper']['bindElementToMarker'](_0x1955d0,_0x4ba5e8['markerName']);}_0x1dd08e||_0x21b100||!_0x76c0fc||_0x33a7e7(_0x76c0fc);};}var _0xcd4526=class extends _0x14e616['Command']{constructor(_0xa91233){super(_0xa91233);const _0x12076d=_0xa91233['plugins']['get'](_0x45a3d5);this['affectsData']=!0x1,this['listenTo'](_0x12076d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x12076d,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x2e5bd7=this['editor'],_0x4a0503=_0x2e5bd7['plugins']['get'](_0x45a3d5),_0x3ba762=_0x4a0503['isReady']?_0x4a0503['diff']['newRevisionId']:null;_0x2e5bd7['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3ba762);}['refresh'](){const {isReady:_0x278340,isEnabled:_0x3266e2,repository:_0x5acf29,diff:_0x55764b}=this['editor']['plugins']['get'](_0x45a3d5),_0x4a6598=_0x55764b&&_0x5acf29['getLaterVisibleRevision'](_0x55764b['newRevisionId']);this['isEnabled']=_0x278340&&_0x3266e2&&Boolean(_0x4a6598);}},_0x5c9370=class extends _0x14e616['Command']{['_step'];constructor(_0x5bf4ab,{direction:_0xcee489}){super(_0x5bf4ab);const _0x2f5257=_0x5bf4ab['plugins']['get'](_0x45a3d5);this['affectsData']=!0x1,this['_step']='forward'===_0xcee489?0x1:-0x1,this['listenTo'](_0x2f5257,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2f5257,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2f5257,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x1ffd8f=this['editor'],_0x40737f=_0x1ffd8f['plugins']['get'](_0x45a3d5),{isNavigationMode:_0x15521c,currentChangeNumber:_0x2d5541}=_0x40737f;let _0x2df0a8;if(_0x40737f['activeChange']=_0x15521c?_0x40737f['diff']['changes']['get'](_0x2d5541+this['_step']):_0x40737f['diff']['changes']['first'],_0x40737f['activeChange']['data']['isOnRoot'])_0x2df0a8=_0x1ffd8f['editing']['view']['getDomRoot'](_0x40737f['activeChange']['rootName']);else{const _0x4479eb=_0x1ffd8f['model']['markers']['get']('revision:'+_0x40737f['activeChange']['id']);_0x2df0a8=_0x113d66(_0x1ffd8f['editing'],_0x4479eb);}(0x0,_0x14e616['scrollViewportToShowTarget'])({'target':_0x2df0a8,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x44952e,currentChangeNumber:_0x5f5862,numberOfChanges:_0x52c1dc,isReady:_0x2b75f2,isEnabled:_0x5f57d5}=this['editor']['plugins']['get'](_0x45a3d5);this['isEnabled']=!!(_0x5f57d5&&_0x2b75f2&&_0x52c1dc)&&(!_0x44952e||(0x1===this['_step']?_0x5f5862<_0x52c1dc-0x1:_0x5f5862>0x0));}},_0x320307=class extends _0x14e616['View']{constructor(_0x2f851d){super(_0x2f851d);const _0x11d598=this['bindTemplate'],_0x50ed5c=new _0x14e616['ButtonView'](_0x2f851d),_0x3ec9da=new _0x14e616['ButtonView'](_0x2f851d);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',(_0x2a0ede,_0x451962)=>_0x2a0ede&&_0x451962>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1639cc,_0x4da5c6,_0x49f913,_0x4e2b83)=>{if(!_0x1639cc)return _0x362172(_0x2f851d,'Loading...');if(!_0x49f913)return _0x362172(_0x2f851d,'No\x20changes');const _0x3f8dad=_0x362172(_0x2f851d,'NUMBER_OF_CHANGES',_0x49f913);return _0x4e2b83?_0x362172(_0x2f851d,'X_OF_Y_CHANGES',[_0x4da5c6+0x1,_0x49f913]):_0x3f8dad;}),_0x50ed5c['set']({'label':_0x362172(_0x2f851d,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':_0x14e616['IconChevronUp']}),_0x3ec9da['set']({'label':_0x362172(_0x2f851d,'Show\x20next\x20change'),'tooltip':!0x0,'icon':_0x14e616['IconChevronDown']}),_0x50ed5c['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3ec9da['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x50ed5c['on']('execute',()=>this['fire']('execute','backward')),_0x3ec9da['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',_0x11d598['if']('_isStatusLabelVisible','ck-hidden',_0x1ad7d1=>!_0x1ad7d1)]},'children':[{'text':_0x11d598['to']('isNavigationMode',_0x39d508=>_0x39d508?_0x362172(_0x2f851d,'EDIT_X_OF_Y_REVISIONS')+':\x20':_0x362172(_0x2f851d,'Total')+':\x20')}]},{'text':_0x11d598['to']('_statusText')}]},new _0x14e616['ToolbarSeparatorView'](),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x50ed5c,_0x3ec9da]}]});}};const _0x2d0ebe='ck-editor__editable__loading-overlay';var _0x22a552=class extends _0x14e616['Plugin']{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x31b99b=this['editor']['editing']['view'];_0x31b99b['change'](_0x31cb72=>{for(const _0x1ffff8 of _0x31b99b['document']['roots'])_0x31cb72['addClass'](_0x2d0ebe,_0x1ffff8);});}['hide'](){const _0x568b94=this['editor']['editing']['view'];_0x568b94['change'](_0x5c4a7a=>{for(const _0x39261c of _0x568b94['document']['roots'])_0x5c4a7a['removeClass'](_0x2d0ebe,_0x39261c);});}},_0x546c0b=class extends _0x14e616['Plugin']{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x45a3d5,_0x22a552];}['init'](){const _0x2e1e94=this['editor'],_0x45f510=_0x2e1e94['plugins']['get'](_0x45a3d5),_0x5a359f=_0x2e1e94['plugins']['get'](_0x22a552);_0x2e1e94['ui']['componentFactory']['add']('exitToEditing',_0x7fc877=>{const _0x37fa1d=new _0x14e616['ButtonView'](_0x7fc877);return _0x37fa1d['set']({'label':_0x362172(_0x7fc877,'Back\x20to\x20editing'),'icon':_0x14e616['IconUndo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x37fa1d,'execute',()=>{_0x2e1e94['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x37fa1d;}),_0x2e1e94['ui']['componentFactory']['add']('restoreRevision',_0x2e638c=>{const _0x3684e2=new _0x14e616['ButtonView'](_0x2e638c);return _0x3684e2['set']({'label':_0x362172(_0x2e638c,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3684e2['bind']('isEnabled')['to'](_0x2e1e94['commands']['get']('restoreRevision')),this['listenTo'](_0x3684e2,'execute',()=>_0x2e1e94['execute']('restoreRevision')),_0x3684e2;}),_0x2e1e94['ui']['componentFactory']['add']('changesNavigation',_0x115ae7=>{const _0x3b1a10=new _0x320307(_0x115ae7),_0x102a6b=_0x2e1e94['commands']['get']('showPreviousChange'),_0x19bfb4=_0x2e1e94['commands']['get']('showNextChange');return _0x3b1a10['bind']('isBackwardNavigationEnabled')['to'](_0x102a6b,'isEnabled'),_0x3b1a10['bind']('isForwardNavigationEnabled')['to'](_0x19bfb4,'isEnabled'),_0x3b1a10['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x45f510),this['listenTo'](_0x3b1a10,'execute',(_0x5d89c0,_0x53e518)=>{_0x2e1e94['execute']('forward'===_0x53e518?'showNextChange':'showPreviousChange');}),_0x3b1a10;}),_0x5a359f['show'](),_0x45f510['on']('change:isReady',(_0x47dacc,_0x278efd,_0x2a8859)=>{_0x2a8859?_0x5a359f['hide']():_0x5a359f['show']();});}},_0x527d6d=class extends _0x14e616['LabeledFieldView']{['_resizeObserver']=null;constructor(_0x20f6e8,_0x1b1d43){super(_0x20f6e8,_0x1b1d43);const _0x4002a6=this['bindTemplate'];this['set']({'label':_0x362172(_0x20f6e8,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=_0x362172(_0x20f6e8,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4002a6['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new _0x14e616['ResizeObserver'](this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x5bd499=this['fieldView']['element'];this['_tooltipString']=_0x5bd499['scrollWidth']>_0x5bd499['clientWidth']&&_0x5bd499['value']||'';}},_0xc259e6=class extends _0x14e616['View']{constructor(_0x5840c6,_0x419798,_0x4fe9b0){super(_0x5840c6);const _0x439e11=new _0x14e616['IconView']();_0x439e11['set']({'content':_0x14e616['IconUser'],'viewBox':'0\x200\x2011\x2010'});const _0x657a3e=['ck','ck-revision-history-sidebar__revision-author'];_0x4fe9b0&&_0x657a3e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x300af1=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':_0x362172(_0x5840c6,_0x4fe9b0?'Revision\x20creator':'Revision\x20author')},'children':[_0x439e11,_0x419798['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x657a3e},'children':_0x300af1});}};function tk(_0x4458bb,_0x840b2e){const _0x2d6817=_0x4458bb['bindTemplate'],_0x15ab08=_0x4458bb['locale'],_0x3714f2=(0x0,_0x14e616['createDropdown'])(_0x15ab08);_0x3714f2['panelPosition']='sw';const _0x35354f=function(_0x255cab,_0xcc4b54){const _0x96c26=function(_0x275597,_0x15ed03){const _0x12f616=_0x275597['locale'],_0x5c8928={'Compare\x20against\x20selected':_0x362172(_0x12f616,'Compare\x20against\x20selected'),'Name\x20this\x20revision':_0x362172(_0x12f616,'Name\x20this\x20revision'),'Restore\x20this\x20revision':_0x362172(_0x12f616,'Restore\x20this\x20revision')};return _0x15ed03['map'](_0x2730a4=>{const _0x5a7503=_0x5c8928[_0x2730a4['name']];return _0x5a7503&&_0x5a7503!==_0x2730a4['name']&&(_0x2730a4['name']=_0x5a7503),_0x2730a4;});}(_0x255cab,_0xcc4b54),_0x5a4e68=new _0x14e616['Collection']();for(const _0x2120e4 of _0x96c26){const _0xd064be={'type':'button','model':new _0x14e616['UIModel']({'label':_0x2120e4['name'],'class':_0x2120e4['class'],'withText':!0x0,'role':'menuitem','_action':_0x2120e4['action']})};_0xd064be['model']['bind']('isEnabled')['to'](_0x255cab,'isActionsDropdownOpen',_0x4fee80=>'function'!=typeof _0x2120e4['isEnabled']||(!_0x4fee80||_0x2120e4['isEnabled'](_0x255cab))),_0x5a4e68['add'](_0xd064be);}return _0x5a4e68;}(_0x4458bb,_0x840b2e);return _0x4458bb['bind']('isActionsDropdownOpen')['to'](_0x3714f2,'isOpen'),_0x3714f2['buttonView']['set']({'label':_0x362172(_0x15ab08,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x14e616['IconThreeVerticalDots']}),_0x3714f2['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2d6817['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2d6817['to'](_0x543f78=>_0x543f78['stopPropagation']())}}),_0x3714f2['on']('execute',_0x20e055=>{_0x4458bb['isReady']&&'function'==typeof _0x20e055['source']['_action']&&_0x20e055['source']['_action'](_0x4458bb);}),(0x0,_0x14e616['addListToDropdown'])(_0x3714f2,_0x35354f,{'role':'menu'}),_0x3714f2['listenTo'](_0x4458bb,'change:isActionsDropdownOpen',(_0xcf236b,_0x44a9b4,_0x297cd1)=>{if(_0x297cd1)for(const _0x241a0a of _0x3714f2['listView']['items']){const _0x1e0039=_0x241a0a['children']['first'],_0x4ecc1b=_0x840b2e['find'](_0x384953=>_0x384953['action']===_0x1e0039['_action'])['isVisible'];_0x241a0a['isVisible']=void 0x0===_0x4ecc1b||_0x4ecc1b(_0x4458bb);}}),_0x3714f2;}const _0xdb809b=/* #__PURE__ -- @preserve */
_0x5ce719(_0x14e616['View']);var _0x416039=class extends _0xdb809b{['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x4a6a42,_0x317f51,_0x641b34,_0x13851a){super(_0x4a6a42);const _0x2a02ad=this['bindTemplate'],_0x4259b4=function(_0x49f97b,_0xfdb497){const _0x31e6d8=Array['from'](_0xfdb497['authors'])['filter'](_0xd8c88a=>_0xd8c88a!=_0xfdb497['creator']);return _0xfdb497['creator']&&_0x31e6d8['unshift'](_0xfdb497['creator']),_0x31e6d8['map'](_0x14d6f0=>new _0xc259e6(_0x49f97b,_0x14d6f0,_0x14d6f0==_0xfdb497['creator']));}(_0x4a6a42,_0x317f51);this['id']=_0x317f51['id'],this['_revision']=_0x317f51,this['_requireRevisionName']=_0x13851a,this['bind']('name','createdAt')['to'](_0x317f51),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x584ebc=>{return _0x6f030=_0x4a6a42['uiLanguage'],(_0x42f42e=_0x584ebc)['toLocaleDateString'](_0x6f030,{'month':'long','day':'numeric'})+',\x20'+_0x42f42e['toLocaleTimeString'](_0x6f030,{'hour':'numeric','minute':'numeric'});var _0x6f030,_0x42f42e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new _0x527d6d(_0x4a6a42,_0x14e616['createLabeledInputText']),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x19bddb=>_0x19bddb||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2fb436,_0x447e6e)=>_0x2fb436&&_0x447e6e),this['revisionActionsView']=_0x641b34&&_0x641b34['length']?tk(this,_0x641b34):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2a02ad['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2a02ad['if']('isEnabled','ck-disabled',_0x2d19a6=>!_0x2d19a6),_0x2a02ad['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2a02ad['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2a02ad['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':_0x2a02ad['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':_0x4259b4}]},this['revisionActionsView']],'on':{'click':_0x2a02ad['to'](_0x22c1dc=>{_0x22c1dc['srcElement']['closest']('.ck-confirm-view')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4a664f=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4a664f,'change',()=>{this['_requireRevisionName']&&!_0x4a664f['value']||this['fire']('setName',{'id':this['id'],'name':_0x4a664f['value']}),_0x4a664f['value']||(_0x4a664f['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}};function _0x426f33(_0x3400e2,_0x73b1a3){const _0x160ffe=_0x5b0740['fromJSDate'](_0x3400e2)['setLocale'](_0x73b1a3),_0x1006b8=_0x5b0740['local'](),_0x112bf2=_0x1006b8['minus']({'days':0x1})['startOf']('day');let _0x355d36,_0x3be0c2;return _0x160ffe['hasSame'](_0x1006b8,'day')?(_0x355d36=_0x160ffe['startOf']('day')['toJSDate'](),_0x3be0c2=_0x160ffe['toRelativeCalendar']()):_0x160ffe['hasSame'](_0x112bf2,'day')?(_0x355d36=_0x112bf2['toJSDate'](),_0x3be0c2=_0x160ffe['toRelativeCalendar']()):_0x160ffe['hasSame'](_0x1006b8,'week')?(_0x355d36=_0x160ffe['startOf']('week')['toJSDate'](),_0x3be0c2=_0x160ffe['weekdayLong']||''):_0x160ffe['hasSame'](_0x1006b8,'year')?(_0x355d36=_0x160ffe['startOf']('month')['toJSDate'](),_0x3be0c2=_0x160ffe['monthLong']||''):(_0x355d36=_0x160ffe['startOf']('year')['toJSDate'](),_0x3be0c2=String(_0x160ffe['year'])),{'startDate':_0x355d36,'localizedPeriodName':_0x3be0c2};}var _0x368a5a=class extends _0x14e616['View']{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1f419b,_0x2ac37f,_0x3933a0,_0x3fbdab){super(_0x1f419b);const _0x3b48df=_0x426f33(_0x2ac37f,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2ac37f,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3933a0,this['_requireRevisionName']=_0x3fbdab,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':_0x3b48df}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0xb2c6ae){const _0x2c1bca=new _0x416039(this['locale'],_0xb2c6ae,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x2c1bca);}['removeRevision'](_0x599564){const _0x52b15d=this['revisionViews']['find'](_0x58edc4=>_0x58edc4['id']===_0x599564['id']);this['revisionViews']['remove'](_0x52b15d);}},_0x34d799=class extends _0x14e616['View']{constructor(_0x5318ac){super(_0x5318ac);const _0x678231=new _0x14e616['IconView']();_0x678231['content']=_0x14e616['IconHistory'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x678231,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[_0x362172(_0x5318ac,'Revision\x20history')]}]});}},_0x3eef1c=class extends _0x14e616['View']{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x304d61,_0x4e9926,_0x26b42e,_0x4156b7){super(_0x304d61);const _0x5dc6a8=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4e9926,this['_revisionActions']=_0x26b42e,this['_requireRevisionName']=_0x4156b7,this['on']('select',(_0x16e7fd,_0x110fcb)=>{this['fire']('revisionSelected',_0x110fcb);}),this['on']('setName',(_0x3e34a9,_0xbe014d)=>{this['fire']('revisionSetName',_0xbe014d);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new _0x34d799(_0x304d61),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5dc6a8['if']('isEnabled','ck-disabled',_0x1bac7e=>!_0x1bac7e)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0xaa5d55 of this['_revisions'])this['_addRevision'](_0xaa5d55);this['_revisions']['on']('add',(_0x5d552e,_0x2b574a)=>{this['_addRevision'](_0x2b574a);}),this['_revisions']['on']('remove',(_0x56c3e8,_0xfcbdf8)=>{this['_removeRevision'](_0xfcbdf8);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x15720f=>_0x15720f['revisionViews']['map'](_0xa103a=>_0xa103a))['flat']();}['selectRevision'](_0x2e0e42){for(const _0x850df0 of this['revisionViews'])_0x2e0e42&&_0x2e0e42['id']===_0x850df0['id']?_0x850df0['select']():_0x850df0['deselect']();}['highlightRevisions'](_0x5cc7f8){for(const _0x2111c9 of this['revisionViews'])_0x5cc7f8['some'](({id:_0x76880f})=>_0x76880f===_0x2111c9['id'])?_0x2111c9['highlight']():_0x2111c9['unhighlight']();}['_addRevision'](_0x3588ef){const _0x3aca83=_0x426f33(_0x3588ef['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x70ea64=this['_getTimePeriodViewByStartDate'](_0x3aca83);_0x70ea64||(_0x70ea64=new _0x368a5a(this['locale'],_0x3aca83,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x70ea64)),_0x70ea64['addRevision'](_0x3588ef);}['_removeRevision'](_0x15422a){const _0x3d74e0=_0x426f33(_0x15422a['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3d74e0)['removeRevision'](_0x15422a);}['_getTimePeriodViewByStartDate'](_0x346573){return this['timePeriodViews']['find'](_0x1d5f5b=>_0x1d5f5b['startDate']['getTime']()===_0x346573['getTime']());}},_0x228785=class _0x5171b2 extends _0x14e616['Plugin']{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
_0x59d792();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x45a3d5];}constructor(_0x27634a){super(_0x27634a),this['_revisionViewer']=_0x27634a['plugins']['get'](_0x45a3d5),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5a88d1=this['_revisionsRepository']['_revisions'],_0x1e805a=this['_createRevisionActions'](),_0x15aeac=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new _0x3eef1c(this['editor']['locale'],_0x5a88d1,_0x1e805a,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',(_0x4c1e67,_0x53a444)=>{_0x53a444['revisionViews']['on']('add',(_0x3efc9e,_0x1e7c1e)=>{_0x1e7c1e['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)),_0x15aeac['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1c891b=this['_revisionsRepository']['getRevision'](0x0);if(_0x1c891b){const _0x6e0513=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1c891b['id']);this['_revisionViewer']['compare'](_0x1c891b,_0x6e0513);}}['_handleRevisionSelected'](_0x242813,_0x518862){const _0x507cba=this['_revisionsRepository']['getRevision'](_0x518862['id']),_0x48baf4=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x507cba['id']);this['_revisionViewer']['compare'](_0x507cba,_0x48baf4);}['_handleRevisionSetName'](_0x3f6f18,_0x466e0f){this['_revisionsRepository']['getRevision'](_0x466e0f['id'])['setName'](_0x466e0f['name']);}['_handleDiffChange'](_0x3db9c1,_0x54b866,_0x45403b){const _0x14fcc0=this['_revisionsRepository']['getRevisionsInDiff'](_0x45403b);_0x14fcc0['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x14fcc0),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x14fcc0[0x0]));}['_createRevisionActions'](){const _0x4ffd01=this['editor'],_0x5d68e3=_0x5171b2['availableRevisionActions'],_0x3254c7=_0x4ffd01['config']['get']('revisionHistory.revisionActions')||_0x5171b2['defaultRevisionActions'];if(_0x3254c7['length'])return _0x3254c7['map'](_0x2d326f=>{const _0x32f1d5='string'==typeof _0x2d326f?Object['assign']({},_0x5d68e3[_0x2d326f]):_0x2d326f;return _0x32f1d5['action']=_0x32f1d5['action']['bind'](this,_0x4ffd01),_0x32f1d5['isVisible']&&(_0x32f1d5['isVisible']=_0x32f1d5['isVisible']['bind'](this,_0x4ffd01)),_0x32f1d5;});}};function _0x59d792(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x539013},_0x3c7393)=>{const _0x8d9666=_0x539013['get'](_0x45a3d5),_0x2d68d9=_0x8d9666['repository'];let _0x2d35f7=_0x8d9666['diff']['newRevisionId'],_0x281019=_0x3c7393['id'];_0x2d68d9['getIndex'](_0x2d35f7)>_0x2d68d9['getIndex'](_0x281019)&&([_0x2d35f7,_0x281019]=[_0x281019,_0x2d35f7]),_0x8d9666['compare'](_0x2d35f7,_0x281019);},'isVisible':({plugins:_0x2fd850},_0x15003b)=>{const _0x39d829=_0x2fd850['get'](_0x45a3d5);return!(_0x39d829['repository']['getRevisionsInDiff'](_0x39d829['diff'])['length']>0x2)&&!_0x15003b['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x6f19e4,{id:_0x415cb1})=>{_0x6f19e4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x415cb1);},'isVisible':({plugins:_0x25aae5},_0x588261)=>!!_0x25aae5['get'](_0x45a3d5)['repository']['getLaterVisibleRevision'](_0x588261['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x398a10},{id:_0x163631,revisionNameView:_0x10a31d})=>{const _0x3cc9a8=_0x398a10['get'](_0x45a3d5),_0x1a4ca4=_0x3cc9a8['repository']['getEarlierVisibleRevision'](_0x163631);_0x3cc9a8['compare'](_0x163631,_0x1a4ca4),_0x10a31d['focus'](),_0x10a31d['fieldView']['select']();}}};}var _0x6df9bb=class extends _0x14e616['EditorUI']{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x45703c,_0x179dce){super(_0x45703c),this['_view']=_0x179dce,this['_toolbarConfig']=(0x0,_0x14e616['normalizeToolbarConfig'])(_0x45703c['config']['get']('toolbar')),this['_elementReplacer']=new _0x14e616['ElementReplacer']();}get['element'](){return this['view']['element'];}['init'](_0x230201){const _0x1af4f3=this['editor'],_0x26d813=this['view'],_0xe7f977=_0x1af4f3['editing']['view'],_0x7af82b=_0x26d813['editable'];_0x7af82b['name']=_0xe7f977['document']['getRoot']()['rootName'],_0x26d813['render']();const _0x2a8e29=_0x7af82b['element'];this['setEditableElement'](_0x7af82b['name'],_0x2a8e29),_0x26d813['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xe7f977['attachDomRoot'](_0x2a8e29),this['_elementReplacer']['replace'](_0x230201,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x340ad4=this['view'],_0x34f5d6=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x34f5d6['detachDomRoot'](_0x340ad4['editable']['name']),_0x340ad4['destroy']();}['_initToolbar'](){const _0x14fced=this['view'];_0x14fced['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x14fced['stickyPanel']['limiterElement']=_0x14fced['element'],_0x14fced['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x5a20f6})=>_0x5a20f6),_0x14fced['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x14fced['toolbar']);}},_0x3fa5b7=class extends _0x14e616['BoxedEditorUIView']{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1dc8e4,_0x3667b1,_0x174ca9={}){super(_0x1dc8e4),this['stickyPanel']=new _0x14e616['StickyPanelView'](_0x1dc8e4),this['toolbar']=new _0x14e616['ToolbarView'](_0x1dc8e4,{'shouldGroupWhenFull':_0x174ca9['shouldToolbarGroupWhenFull']}),this['_editable']=new _0x14e616['InlineEditableUIView'](_0x1dc8e4,_0x3667b1);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}};const _0x2e7e6a=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ElementApiMixin'])(_0x14e616['Editor']);var _0x3fa9fe=class extends _0x2e7e6a{['_ui'];get['ui'](){return this['_ui'];}constructor(_0x1d211b,_0x4cb635){super(_0x4cb635),this['sourceElement']=_0x1d211b,this['model']['document']['createRoot']();const _0xc00b5e=new _0x3fa5b7(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new _0x6df9bb(this,_0xc00b5e);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x11907d,_0x16f19a){const _0x10c5af=new this(_0x11907d,_0x16f19a);return await _0x10c5af['initPlugins'](),await _0x10c5af['ui']['init'](_0x11907d),await _0x10c5af['data']['init'](_0x10c5af['config']['get']('initialData')||''),_0x10c5af['fire']('ready'),_0x10c5af;}};const _0x109f42=['RevisionHistoryUI','RestrictedEditingMode','AIChat','AIReviewMode','AIBalloon','AIQuickActions','AIActions','AIChatShortcuts','AITranslate'];var _0x42f6b6=class extends _0x14e616['Plugin']{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x3181e6){super(_0x3181e6),this['result']='end',_0x3181e6['editing']['view']['_overlayModeHint']='auto',_0x3181e6['_sendUsageRequest']=()=>window['Promise']['resolve']({'status':'ok'});}},_0x493bd6=class extends _0x14e616['Plugin']{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x117f79,_0x466be1];}constructor(_0x3a4935){if(super(_0x3a4935),!this['editor']['config']['get']('revisionHistory'))throw new _0x14e616['CKEditorError']('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['set']('isRevisionViewerOpen',!0x1),this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x34906a=>this['_showRevisionViewer']({..._0x34906a,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5a62d8=>this['_closeRevisionViewer'](_0x5a62d8)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3205a1=>this['_restoreRevision'](_0x3205a1)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2d326d){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2d326d;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x22058a){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x22058a);}['getRevision'](_0x2447ac){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x2447ac);}['getRevisions'](_0x58c01c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x58c01c||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x32980a=this['editor'],_0x3644d2=_0x25b5c7(_0x32980a,_0x109f42),_0x244aeb=_0x32980a['plugins']['get']('RevisionTracker'),_0x58724f=_0x32980a['plugins']['get'](_0x17484f)['users'];_0x3644d2['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3644d2['lazyRoots'];class RevisionViewerInit extends _0x14e616['Plugin']{static get['requires'](){return[_0x45a3d5,_0x17484f];}['init'](){const _0xa2221d=this['editor']['plugins']['get'](_0x17484f);for(const _0x531b5d of _0x58724f)_0x531b5d['isAnonymous']||_0xa2221d['getUser'](_0x531b5d['id'])||_0xa2221d['addUser'](_0x531b5d);const _0x5700f7=_0x244aeb['repository']['getRevisions']();let _0x3ecf2e=null;const _0x44b566=this['editor']['plugins']['get']('RevisionViewer');_0x44b566['adapter']=_0x244aeb['adapter'],_0x44b566['bind']('isEnabled')['to'](_0x244aeb),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x32980a,'isReadOnly',_0x46d146=>!_0x46d146);for(const _0x5a54ed of _0x5700f7){const _0x158b73=null===_0x5a54ed['creator'];if(_0x158b73&&_0x5a54ed['toVersion']===_0x5a54ed['fromVersion'])continue;const _0x2eada7=_0x5a54ed['toJSON']();_0x44b566['addRevisionData'](_0x2eada7,(_0x2aaa05,_0xf703c1,_0x3281e0)=>{if(_0x158b73){if(_0x3ecf2e)_0x3ecf2e['_update'](_0x2aaa05,_0xf703c1);else{if(!_0xf703c1){const _0x57fe17=_0x3281e0['toJSON']();_0x57fe17['id']=(0x0,_0x14e616['uid'])(),_0x244aeb['saveRevision'](_0x57fe17,_0x3281e0['toVersion'])['then'](_0x13689f=>{_0x3ecf2e=_0x13689f;});}}}else _0x5a54ed['_update'](_0x2aaa05,_0xf703c1);});}}}return _0x3644d2['plugins']['push'](_0x42f6b6,_0x45a3d5,_0x546c0b,RevisionViewerInit,_0x228785),_0x3644d2;}['_enhanceShowRevisionViewerCallback'](){const _0x5ecff5=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x327f0a=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')?await this['editor']['plugins']['get']('Autosave')['save']():await _0x327f0a['update'](),this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x78e3a=this['editor']['plugins']['get']('Dialog');_0x78e3a['isOpen']&&_0x78e3a['hide']();}if(this['editor']['plugins']['has']('AITabs')){const _0x131b85=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x3da2dc of _0x131b85)_0x3da2dc['class']=_0x3da2dc['class']?_0x3da2dc['class']+'\x20ck-tab-panel_disabled':'ck-tab-panel_disabled';if(this['editor']['plugins']['has']('AIChat')){const _0x56bae1=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x56bae1&&_0x56bae1['setAttribute']('tabindex','-1');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x44984e=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x44984e&&_0x44984e['setAttribute']('tabindex','-1');}}return _0x5ecff5(this['_getRevisionViewerEditorConfig']())['then'](_0x2a5454=>(this['_viewerEditor']=_0x2a5454,this['editor']['plugins']['has']('Annotations')&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),this['editor']['plugins']['has']('DocumentOutline')&&(this['editor']['plugins']['get']('DocumentOutlineUI')['view']['element']['style']['display']='none'),_0x2a5454))['catch'](_0x5b8228=>(console['error'](_0x5b8228),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x5d521d=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>{if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('DocumentOutline')&&(this['editor']['plugins']['get']('DocumentOutlineUI')['view']['element']['style']['display']=''),this['editor']['plugins']['has']('AITabs')){const _0x4cb773=this['editor']['plugins']['get']('AITabs')['view']['panelViews'];for(const _0x2cea57 of _0x4cb773)_0x2cea57['class']='ck-tab-panel_disabled'===_0x2cea57['class']?'':_0x2cea57['class']['replace']('\x20ck-tab-panel_disabled','');if(this['editor']['plugins']['has']('AIChat')){const _0x39aba1=document['querySelector']('.ck-ai-chat__prompt-input\x20.ck-textarea');_0x39aba1&&_0x39aba1['removeAttribute']('tabindex');}if(this['editor']['plugins']['has']('AIChatHistory')){const _0x29c73e=document['querySelector']('.ck-ai-chat-history\x20.ck-input');_0x29c73e&&_0x29c73e['removeAttribute']('tabindex');}}return this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x5d521d(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x25a00f=this['editor']['plugins']['get']('Annotations');_0x25a00f['refreshVisibility'](),_0x25a00f['refreshPositioning']();}});});}['_showRevisionViewer'](_0x1f4975){const _0x319560=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x156247=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xb310f=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return _0x3fa9fe['create'](_0xb310f,_0x1f4975)['then'](_0x498737=>(_0x156247['style']['display']='block',_0x319560['style']['display']='none',this['isRevisionViewerOpen']=!0x0,_0x498737));}['_closeRevisionViewer'](_0x57f930){const _0x55941d=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x55941d['style']['display']='',this['isRevisionViewerOpen']=!0x1,_0x57f930['destroy']();}async['_restoreRevision'](_0x786d47){const _0x1a348e=this['editor'],_0x3806ce=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x481639=_0x1a348e['plugins']['get']('RevisionTracker'),_0x4699f7=_0x1a348e['plugins']['get']('RevisionHistoryUtils'),_0x3ba3b4=_0x3806ce['repository']['getRevision'](_0x786d47);let _0x1fae94,_0x1cc486,_0x422e43;try{await _0x4699f7['loadRevisionData'](_0x3ba3b4,this['adapter']),_0x1fae94=_0x4699f7['getRevisionDocumentData'](_0x3ba3b4),_0x1cc486=_0x4699f7['getRevisionRootsAttributes'](_0x3ba3b4);}catch(_0x4b3a11){return void console['error'](_0x4b3a11);}_0x1a348e['model']['change'](_0xa640ed=>{for(const _0x255db8 of Array['from'](_0x1a348e['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xa640ed['removeMarker'](_0x255db8);}),_0x3806ce['isReady']=!0x1,_0x1a348e['model']['enqueueChange'](_0x380f5c=>{_0x380f5c['setSelection'](null),_0x380f5c['removeSelectionAttribute'](_0x1a348e['model']['document']['selection']['getAttributeKeys']());const _0x5ed81f=Object['keys'](_0x1fae94);for(const _0x12c473 of _0x1a348e['model']['document']['roots'])'$graveyard'!=_0x12c473['rootName']&&_0x12c473['isAttached']()&&!_0x5ed81f['includes'](_0x12c473['rootName'])&&_0x380f5c['detachRoot'](_0x12c473);for(const _0x104eba of _0x5ed81f){let _0x5b197b=_0x1a348e['model']['document']['getRoot'](_0x104eba);if(!_0x5b197b||!_0x5b197b['isAttached']()){const _0xb3024f=_0x3ba3b4['diffData']?.[_0x104eba]?.['rootElementName']||'$root';_0x5b197b=_0x380f5c['addRoot'](_0x104eba,_0xb3024f);}const _0x22d813=_0x1cc486[_0x104eba],_0x4c55eb=Object['keys'](_0x22d813),_0x1206df=_0x1fae94[_0x104eba];for(const _0x40a8ef of _0x5b197b['getAttributeKeys']())_0x4c55eb['includes'](_0x40a8ef)||_0x380f5c['removeAttribute'](_0x40a8ef,_0x5b197b);for(const _0x3f3640 of _0x4c55eb)_0x380f5c['setAttribute'](_0x3f3640,_0x1cc486[_0x104eba][_0x3f3640],_0x5b197b);_0x380f5c['remove'](_0x380f5c['createRangeIn'](_0x5b197b)),_0x380f5c['insert'](_0x1a348e['data']['parse'](_0x1206df,_0x5b197b),_0x5b197b,0x0);}});const _0x19ed72=_0x362172(_0x1a348e['locale'],'Restored');if(_0x3ba3b4['name'])_0x422e43=-0x1==_0x3ba3b4['name']['indexOf'](_0x19ed72)?_0x19ed72+':\x20'+_0x3ba3b4['name']:_0x3ba3b4['name'];else _0x422e43=_0x19ed72+':\x20'+(_0x3ba3b4['createdAt']['toLocaleDateString'](_0x1a348e['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3ba3b4['createdAt']['toLocaleTimeString'](_0x1a348e['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x481639['saveRevision']({'name':_0x422e43}),_0x3806ce['isReady']=!0x0,_0x1a348e['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}},_0x2372f2=class CloudServicesRevisionHistoryAdapter extends _0x14e616['Plugin']{static ['RevisionHistoryService']=/* #__PURE__ -- @preserve */
((()=>_0x257843)());['_lastRequestId'];['_revisionTracker'];['_revisionHistoryService'];['_oldOffset'];static get['requires'](){return[_0x139077,_0x447b7c,_0x493bd6,_0x8848f6,_0x17484f];}static get['pluginName'](){return'CloudServicesRevisionHistoryAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x393b63){super(_0x393b63);const _0x5c6e86=this['editor']['config']['get']('collaboration.channelId');this['_lastRequestId']=null,this['_revisionTracker']=this['editor']['plugins']['get']('RevisionTracker'),this['_revisionHistoryService']=new CloudServicesRevisionHistoryAdapter['RevisionHistoryService'](_0x5c6e86);}async['init'](){const _0x48db06=this['editor']['plugins']['get'](_0x447b7c),_0x2e375d=_0x48db06['serverHistory'],_0x5ed854=this['editor']['plugins']['get'](_0x139077);this['_revisionTracker']['setSource']({'history':_0x2e375d,'getLatestVersion':()=>this['_getLatestVersion'](),'getCurrentRevisionId':()=>_0x48db06['sessionId']});const _0x3b3796=this['editor']['config']['get']('cloudServices.bundleVersion')||_0x14e616['version'],_0x42c3f5=await _0x127755['isBundleUploaded'](_0x5ed854['connection'],_0x3b3796);this['editor']['plugins']['get'](_0x493bd6)['adapter']={'getRevision':async({revisionId:_0xda9b5})=>(await this['_waitForServiceReady'](),await this['_revisionHistoryService']['getRevision'](_0xda9b5)),'updateRevisions':async _0xe4502=>{await this['_waitForServiceReady']();const _0x20ce0b=this['_revisionTracker']['currentRevision'];if(_0x42c3f5&&0x1===_0xe4502['length']&&_0xe4502[0x0]['id']===_0x20ce0b['id'])return _0xe4502;for(const _0x736052 of _0xe4502)_0x736052['id']===_0x20ce0b['id']&&(_0x736052['isEmptyCurrent']=_0x736052['fromVersion']===_0x736052['toVersion']);return this['_revisionHistoryService']['updateRevisions'](_0xe4502,this['_lastRequestId'])['then'](_0x2b9105=>(this['_lastRequestId']=_0x2b9105,_0xe4502))['catch'](_0x2a8fc7=>{if(_0x4918c1(_0x2a8fc7)||'400'===_0x2a8fc7['code']&&void 0x0!==_0x2a8fc7['data']['wrongRequestId']){for(const _0x87f18b of _0xe4502)this['_revisionTracker']['repository']['getRevision'](_0x87f18b['id'])&&this['_revisionTracker']['_bufferUpdate'](_0x87f18b['id'],_0x87f18b,!0x1);if(_0x4918c1(_0x2a8fc7)&&'destroyed'!==this['editor']['state'])throw _0x2a8fc7;return _0xe4502;}throw _0x2a8fc7;});}},this['listenTo'](this['_revisionHistoryService'],'revisionsUpdated',(_0x312acd,{revisionsData:_0x3596d7,requestId:_0x532239})=>{Math['max'](..._0x3596d7['map'](_0x51c93b=>_0x51c93b['toVersion']))>this['_getLatestVersionFromServerOperations']()-0x1?this['_getLatestVersion']()['then'](()=>{this['_handleRevisionsUpdate'](_0x3596d7,_0x532239);}):this['_handleRevisionsUpdate'](_0x3596d7,_0x532239);}),this['set']('_isServiceConnected',!0x1),this['listenTo'](this['_revisionHistoryService'],'connected',()=>{this['_isServiceConnected']=!0x0;}),this['listenTo'](this['_revisionHistoryService'],'disconnected',()=>{this['_isServiceConnected']=!0x1,'connected'===_0x5ed854['connection']?.['state']&&(_0x5ed854['removeFromReconnectionStack'](this),this['stopListening'](this['_revisionHistoryService']));});const {revisions:_0x2e0e7e,requestId:_0x5206d3}=await this['_revisionHistoryService']['connect'](_0x5ed854['connection']);_0x5ed854['addToReconnectionStack'](this),this['_lastRequestId']=_0x5206d3,await this['_fetchMissingUsers'](_0x2e0e7e);for(const _0x29954a of _0x2e0e7e)this['_revisionTracker']['addRevisionData'](_0x29954a);this['listenTo'](_0x48db06,'change:_isConnected',(_0x522709,_0x537ae1,_0x3dec02)=>{_0x3dec02&&(this['_oldOffset']=_0x48db06['_offset'],_0x522709['off']());}),this['_revisionTracker']['bind']('isEnabled')['to'](this,'_isServiceConnected');}async['reconnect'](){const _0x17552d=this['editor']['plugins']['get'](_0x139077),_0x249a54=this['editor']['plugins']['get'](_0x447b7c),_0x1b0246=async()=>{const _0x36476d=this['_revisionTracker']['currentRevision'],_0x1054c5=_0x36476d['id'],_0x39f8a3=_0x1054c5!==_0x249a54['sessionId'];if(_0x39f8a3){const _0x510147=_0x249a54['_offset']-this['_oldOffset'],_0x4f2eb8=this['_getLatestVersionFromServerOperations']();if(this['_revisionTracker']['_revisionDataBuilder']['reInit'](),_0x36476d['toVersion']+_0x510147!==_0x4f2eb8){const _0x2f9028=_0x36476d['fromVersion']+_0x510147,_0x4747ab=this['editor']['plugins']['get'](_0x17484f),_0x11732e=this['_revisionTracker']['buildRevisionData']({'revision':_0x36476d,'from':_0x2f9028,'to':_0x4f2eb8});_0x11732e['id']=_0x36476d['id'];const _0x180224=_0x11732e['authorsIds']['map'](_0x27f09c=>_0x4747ab['getUser'](_0x27f09c));_0x36476d['_update']({..._0x11732e,'authors':_0x180224},!0x0),this['_revisionTracker']['_bufferUpdate'](_0x36476d['id'],_0x11732e,!0x0);}this['_revisionTracker']['_startingVersion']=_0x4f2eb8,_0x36476d['toVersion']!==_0x36476d['fromVersion']||this['_revisionTracker']['_bufferedUpdates']['has'](_0x1054c5)||this['_revisionTracker']['repository']['_revisions']['remove'](_0x1054c5),this['_revisionTracker']['_createCurrentRevision'](_0x4f2eb8);}const {revisions:_0x1cbe7c,requestId:_0x380743}=await this['_revisionHistoryService']['reconnect'](_0x17552d['connection'],this['_lastRequestId']);_0x39f8a3&&_0x1cbe7c['length']>0x0?_0x249a54['_handleReconnectionError']():(await this['_fetchMissingUsers'](_0x1cbe7c),this['_handleRevisionsUpdate'](_0x1cbe7c,_0x380743),this['_revisionTracker']['sendBufferedUpdates']());};return _0x249a54['_isConnected']?_0x1b0246():new Promise((_0x3e085d,_0x3ecdb3)=>{_0x249a54['once']('change:_isConnected',()=>{_0x1b0246()['then'](_0x3e085d)['catch'](_0x3ecdb3);});});}['destroy'](){super['destroy']();}async['_waitForServiceReady'](){this['_revisionHistoryService']['isConnected']||await new Promise(_0x3efdaa=>{this['listenTo'](this['_revisionHistoryService'],'connected',_0x48d4e1=>{_0x48d4e1['off'](),_0x3efdaa();});});}['_getLatestVersionFromServerOperations'](){const _0x3decc7=this['editor']['plugins']['get'](_0x447b7c)['serverHistory']['getOperations']()['reverse']();for(const _0x55002c of _0x3decc7)if('marker'!==_0x55002c['type']||_0x55002c['affectsData'])return _0x55002c['baseVersion']+0x1;}['_getLatestVersion'](){const _0x378080=this['editor']['plugins']['get'](_0x447b7c);return new Promise(_0x266d8f=>{_0x378080['_isPendingUpdate']?_0x378080['once']('change:_isPendingUpdate',()=>{_0x266d8f(this['_getLatestVersionFromServerOperations']());}):_0x266d8f(this['_getLatestVersionFromServerOperations']());});}['_handleRevisionsUpdate'](_0x253687,_0x30ae43){const _0x5c15dd=this['_revisionTracker']['repository'];this['_lastRequestId']=_0x30ae43;for(const _0xcb6f42 of _0x253687){const _0x30ebd7=_0x5c15dd['getRevision'](_0xcb6f42['id']);if(_0x30ebd7){if((_0xcb6f42['fromVersion']||_0xcb6f42['toVersion'])&&(_0xcb6f42['diffData']=null),_0x30ebd7===this['_revisionTracker']['currentRevision']){const _0x131dc2=Math['max'](_0x30ebd7['toVersion'],_0xcb6f42['toVersion']),_0x4a1174=Math['max'](_0x30ebd7['fromVersion'],_0xcb6f42['fromVersion']);let _0x388e71;_0x30ebd7['toVersion']===_0xcb6f42['toVersion']&&_0x30ebd7['fromVersion']===_0xcb6f42['fromVersion']?(_0x388e71=!0x0,this['_preventResendingRevisionData'](_0xcb6f42)):_0xcb6f42['toVersion']===_0x131dc2&&_0xcb6f42['fromVersion']===_0x4a1174?_0x388e71=!0x1:(_0x30ebd7['toVersion']===_0x131dc2&&_0x30ebd7['fromVersion']===_0x4a1174||this['_fixRevision']({'revision':_0x30ebd7,'from':_0x4a1174,'to':_0x131dc2}),_0x388e71=!0x0),_0x388e71&&(delete _0xcb6f42['fromVersion'],delete _0xcb6f42['toVersion'],delete _0xcb6f42['diffData'],delete _0xcb6f42['createdAt'],delete _0xcb6f42['authorsIds']);}this['_revisionTracker']['setRevisionData'](_0xcb6f42),this['_preventResendingRevisionData'](_0xcb6f42);}else this['_revisionTracker']['addRevisionData'](_0xcb6f42);}const _0x4b8601=_0x5c15dd['getRevisions']();_0x4b8601['reverse']();for(let _0x2bd3bd=0x0;_0x2bd3bd<_0x4b8601['length']-0x1;_0x2bd3bd++){const _0x1b33a1=_0x4b8601[_0x2bd3bd],_0x177ec3=_0x4b8601[_0x2bd3bd+0x1];if(_0x1b33a1['fromVersion']<_0x177ec3['toVersion']){const _0x2b6a65=_0x177ec3['toVersion'],_0x3497ed=Math['max'](_0x2b6a65,_0x1b33a1['toVersion']);this['_fixRevision']({'revision':_0x1b33a1,'from':_0x2b6a65,'to':_0x3497ed});}}}['_fixRevision']({revision:_0xe531b3,from:_0x3092aa,to:_0x30a41c}={}){const _0x436730=this['editor']['plugins']['get'](_0x17484f),_0x19f540=this['_revisionTracker']['buildRevisionData']({'revision':_0xe531b3,'from':_0x3092aa,'to':_0x30a41c});_0x19f540['authors']=_0x19f540['authorsIds']['map'](_0x5acafd=>_0x436730['getUser'](_0x5acafd)),_0xe531b3['_update'](_0x19f540);}['_preventResendingRevisionData'](_0x4ccb9a){const _0x346370={};_0x346370['id']=_0x4ccb9a['id'];for(const _0x2c3b04 of Object['keys'](_0x4ccb9a))'id'!==_0x2c3b04&&(_0x346370[_0x2c3b04]=void 0x0);this['_revisionTracker']['_bufferUpdate'](_0x346370['id'],_0x346370,!0x0);}async['_fetchMissingUsers'](_0x4446df){const _0x280036=this['editor']['plugins']['get'](_0x17484f),{connection:_0x62a446}=this['editor']['plugins']['get'](_0x139077),_0x261c93=new Set();for(const _0x94f1d5 of _0x4446df){for(const _0x403ed0 of _0x94f1d5['authorsIds'])_0x3184dc(_0x403ed0);_0x94f1d5['creatorId']&&_0x3184dc(_0x94f1d5['creatorId']);}if(0x0===_0x261c93['size'])return;const _0x22f99e=await _0x21bf6e['getMany'](_0x62a446,Array['from'](_0x261c93));for(const _0x1e6dd0 of _0x22f99e)_0x280036['getUser'](_0x1e6dd0['id'])||_0x280036['addUser'](_0x1e6dd0);function _0x3184dc(_0xd333f8){_0x280036['getUser'](_0xd333f8)||_0x261c93['add'](_0xd333f8);}}};function _0x4918c1(_0x3a60e7){return _0x3a60e7['message']['startsWith']('cloud-services-internal-error:\x20Revision\x20History\x20Service\x20is\x20not\x20connected.')||_0x3a60e7['message']['startsWith']('cloud-services-internal-error:\x20Not\x20connected.')||_0x3a60e7['message']['startsWith']('cloud-services-internal-error:\x20Request\x20timeout.');}var _0x3e92f5=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x493bd6,_0x2372f2,_0x441214];}static get['pluginName'](){return'RealTimeCollaborativeRevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0x57b449=class extends _0x14e616['View']{['_collapseAt'];constructor(_0x1fbfee,_0x6f7692=0x6){super(_0x1fbfee);const _0x2cf017=this['bindTemplate'];this['set']('isHidden',!0x0),this['set']('usersCount',0x0),this['_collapseAt']=_0x6f7692,this['bind']('isHidden')['to'](this,'usersCount',_0x35ade2=>_0x35ade2<_0x6f7692),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item',_0x2cf017['if']('isHidden','ck-presence-list__counter--hidden')],'role':'listitem'},'children':[{'tag':'div','attributes':{'class':['ck','ck-presence-list__users-counter']},'children':[{'tag':'div','attributes':{'class':['ck','ck-presence-list__users-counter__text']},'children':[{'text':_0x2cf017['to']('usersCount',_0x6aa27a=>'+'+(_0x6aa27a-this['_collapseAt']+0x2)['toString']())}]}]}]});}},_0x347b0d=class extends _0x14e616['View']{['items'];['keystrokes'];constructor(_0x56f858){super(_0x56f858);const _0x33e274=this['bindTemplate'];this['items']=this['createCollection'](),this['keystrokes']=new _0x14e616['KeystrokeHandler'](),this['set']({'hasPopup':!0x1,'isExpanded':!0x1}),this['setTemplate']({'tag':'div','attributes':{'aria-haspopup':_0x33e274['if']('hasPopup'),'aria-expanded':_0x33e274['to']('isExpanded',_0x14f02c=>this['hasPopup']&&String(_0x14f02c)),'aria-label':_0x33e274['to']('hasPopup',_0x1c4691=>_0x2fa3d6(_0x56f858,_0x1c4691?'Collapsed\x20connected\x20users\x20list\x20(press\x20ENTER\x20to\x20open\x20it)':'Connected\x20users\x20list')),'role':'list','tabindex':_0x33e274['to']('hasPopup',_0x183f10=>!!_0x183f10&&0x0),'class':['ck','ck-presence-list__list']},'children':this['items'],'on':{'mouseenter':_0x33e274['to'](()=>this['fire']('presencelist:show')),'mouseleave':_0x33e274['to'](_0x45111a=>{const _0x1e0dd0=_0x45111a,_0x1438f5=document['querySelector']('.ck-presence-list__dropdown-list'),_0x450b6d=document['querySelector']('.ck-balloon-panel_with-arrow');_0x1438f5?.['contains'](_0x1e0dd0['relatedTarget'])||_0x450b6d?.['contains'](_0x1e0dd0['relatedTarget'])||this['fire']('presencelist:hide');})}}),this['on']('change:hasPopup',(_0x486da2,_0x541a04,_0x8b5a40)=>{this['element']&&(_0x8b5a40?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']);}},_0x124c1d=class extends _0x14e616['View']{['counterView'];['inlineListView'];constructor(_0x526ffe,_0x217d38=0x6){super(_0x526ffe);const _0x3a01e7=this['bindTemplate'];this['set']('isCollapsed',!0x0),this['counterView']=new _0x57b449(this['locale'],_0x217d38),this['inlineListView']=new _0x347b0d(_0x526ffe),this['inlineListView']['bind']('hasPopup')['to'](this,'isCollapsed'),this['listenTo'](this['inlineListView']['items'],'change',()=>{for(const _0x446477 of this['inlineListView']['items'])_0x446477['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',_0x3a01e7['if']('isCollapsed','ck-presence-list--collapsed')]},'children':[this['inlineListView']]});}},_0x356a18=class extends _0x14e616['View']{['listWrapperView'];constructor(_0xd2b95c,_0x2b17fb){super(_0xd2b95c);const _0x140257=this['bindTemplate'];this['listWrapperView']=new _0xabbf9f(_0xd2b95c,_0x2b17fb),this['setTemplate']({'tag':'div','attributes':{'tabindex':-0x1,'role':'application','class':['ck','ck-presence-list__dropdown-list'],'aria-label':_0x2fa3d6(_0xd2b95c,'Connected\x20users\x20list\x20dropdown\x20menu')},'children':[this['listWrapperView']],'on':{'mouseleave':_0x140257['to'](_0x4a5061=>{const _0x49df58=_0x4a5061,_0x402405=document['querySelector']('.ck-presence-list__list'),_0x19e81e=document['querySelector']('.ck-balloon-panel_with-arrow');_0x402405?.['contains'](_0x49df58['relatedTarget'])||_0x19e81e?.['contains'](_0x49df58['relatedTarget'])||this['fire']('presencelist:hide');})}});}},_0xabbf9f=class extends _0x14e616['ListView']{constructor(_0x42d764,_0x75a555){super(_0x42d764);const _0x7a08f=this['bindTemplate'];this['set']('_isScrollable',!0x1),this['setTemplate']({'tag':_0x75a555?'div':'ul','attributes':{'class':['ck','ck-reset','ck-list','ck-presence-list__dropdown-list-wrapper',_0x7a08f['if']('_isScrollable','ck-presence-list__dropdown-list-wrapper_scrollable')],'role':_0x7a08f['to']('role'),'aria-label':_0x7a08f['to']('ariaLabel'),'aria-labelledby':_0x7a08f['to']('ariaLabelledBy')},'children':this['items']}),this['listenTo'](_0x14e616['global']['window'],'resize',()=>this['checkIfScrollable']()),this['items']['on']('change',()=>this['checkIfScrollable']());}['render'](){super['render'](),this['checkIfScrollable']();}['checkIfScrollable'](){const _0x5c7424=this['element'];_0x5c7424&&(this['_isScrollable']=Math['max'](_0x5c7424['scrollHeight'],_0x5c7424['clientHeight'])>0.8*window['innerHeight']);}},_0x5d2371=class extends _0x14e616['ListItemView']{['userView'];constructor(_0x149889,_0x31936c,_0x552541){super(_0x149889);const _0xd2fcb1=this['bindTemplate'];this['userView']=new _0x1a027b(_0x149889,_0x31936c);const _0x409e4e={'tag':'li','attributes':{'class':['ck','ck-presence-list__dropdown-list-item'],'tabindex':-0x1,'role':'presentation','aria-label':_0x31936c['name']},'children':[this['userView'],{'tag':'span','attributes':{'class':['ck','ck-user__full-name']},'children':[{'text':_0x31936c['name']}]},{'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x31936c['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x31936c['color']['getColorVariable'](),'--ck-user-color-alpha':_0x31936c['color']['getColorAlphaVariable']()},'aria-hidden':'true'}}]};_0x552541&&(_0x409e4e['tag']='button',_0x409e4e['on']={'click':_0xd2fcb1['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x409e4e);}['focus'](){this['element']['focus']();}},_0x39a4a8=class extends _0x14e616['View']{['userView'];['markerView'];constructor(_0x473ba7,_0x2ce0f6,_0x247245){super(_0x473ba7);const _0x5d2600=this['bindTemplate'];this['set']('isFocusable',!0x1),this['set']('hasTooltip',!0x0),this['set']('tooltipPosition',''),this['userView']=new _0x1a027b(_0x473ba7,_0x2ce0f6),this['markerView']=new _0x357053(_0x473ba7,_0x2ce0f6);const _0x1c4812=new _0x14e616['LabelView'](_0x473ba7);_0x1c4812['template']['tag']='span',_0x1c4812['text']=_0x2ce0f6['name'];const _0x3bd584={'tag':'div','attributes':{'class':['ck','ck-presence-list__list-item'],'role':'listitem','tabindex':_0x5d2600['to']('isFocusable',_0x161cdb=>!!_0x161cdb&&0x0),'aria-labelledby':_0x1c4812['id'],'data-cke-tooltip-text':this['userView']['name'],'data-cke-tooltip-position':_0x5d2600['to']('tooltipPosition'),'data-cke-tooltip-disabled':_0x5d2600['to']('hasTooltip',_0xadc85f=>!_0xadc85f),'data-cke-tooltip-class':'ck-presence-list__list-item__tooltip'},'children':[this['userView'],this['markerView'],_0x1c4812]};_0x247245&&(_0x3bd584['tag']='button',_0x3bd584['on']={'click':_0x5d2600['to'](()=>this['fire']('execute'))}),this['setTemplate'](_0x3bd584);}},_0x357053=class extends _0x14e616['View']{constructor(_0x5ee5ec,_0x397dbf){super(_0x5ee5ec),this['setTemplate']({'tag':'span','attributes':{'class':['ck','ck-presence-list__marker',_0x397dbf['color']['getBackgroundColorClass']()],'style':{'--ck-user-color':_0x397dbf['color']['getColorVariable'](),'--ck-user-color-alpha':_0x397dbf['color']['getColorAlphaVariable']()},'aria-hidden':'true'}});}};const _0x2c904b={'collapseAt':0x6,'displayMe':!0x0};var _0x593dcf=class extends _0x14e616['ContextPlugin']{['currentDisplayedUsers'];['balloonPanelView'];['view'];['presenceDropdownView'];['_bodyCollection']=null;static get['pluginName'](){return'PresenceListUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x279dde){super(_0x279dde),this['context']['config']['define']('presenceList',_0x2c904b);const _0x3ff426=_0x279dde['config']['get']('presenceList.collapseAt');if('number'!=typeof _0x3ff426)throw new _0x14e616['CKEditorError']('presencelist-collapseat-invalid-format',this);if(_0x3ff426<0x1)throw new _0x14e616['CKEditorError']('presencelist-collapseat-invalid-format',this);this['_allConnectedUsers']=this['context']['plugins']['get'](_0x8848f6)['allConnectedUsers'],this['set']('usersCount',0x0),this['currentDisplayedUsers']=new _0x14e616['Collection'](),this['balloonPanelView']=new _0x14e616['BalloonPanelView'](),this['balloonPanelView']['class']='ck\x20ck-presence-list__balloon',this['view']=this['_createView'](),this['presenceDropdownView']=void 0x0;}static get['requires'](){return[_0x8848f6];}['init'](){for(const _0x364015 of this['_allConnectedUsers'])this['_handleUserAdd'](_0x364015);this['listenTo'](this['_allConnectedUsers'],'add',(_0x180103,_0x367c2f)=>{this['_handleUserAdd'](_0x367c2f);}),this['listenTo'](this['_allConnectedUsers'],'remove',(_0x294040,_0x48f541)=>{this['_handleUserRemove'](_0x48f541);});}['_createView'](){const _0x5c7ee7=this['context'],_0x17425d=new _0x124c1d(this['context']['locale'],this['context']['config']['get']('presenceList.collapseAt')),_0x389237=this['balloonPanelView'];if(!function(_0xfca2bd){return function(_0x1a8265){return'object'==typeof _0x1a8265&&null!==_0x1a8265;}(_0xfca2bd)&&0x1===_0xfca2bd['nodeType']&&!Nt(_0xfca2bd);}(_0x5c7ee7['config']['get']('presenceList.container')))throw new _0x14e616['CKEditorError']('presencelist-missing-container',this);return _0x17425d['counterView']['bind']('usersCount')['to'](this),_0x17425d['bind']('isCollapsed')['to'](this,'usersCount',_0x455f8f=>{const {collapseAt:_0x3dfbc6}=_0x5c7ee7['config']['get']('presenceList'),_0x11c923=_0x455f8f>=_0x3dfbc6;if(_0x11c923&&!_0x17425d['inlineListView']['items']['find'](_0x1d0125=>_0x1d0125 instanceof _0x57b449)){const _0xeb785e=this['context']['config']['get']('presenceList.collapseAt')-0x1;this['currentDisplayedUsers']['length']==_0xeb785e&&this['currentDisplayedUsers']['length']>0x1&&this['currentDisplayedUsers']['remove'](this['currentDisplayedUsers']['length']-0x1),_0x17425d['inlineListView']['items']['add'](_0x17425d['counterView']);}return _0x11c923||this['hideDropdown'](),_0x11c923;}),_0x17425d['inlineListView']['items']['bindTo'](this['currentDisplayedUsers'])['using'](_0x3b4634=>{const _0x413bd3=_0x5c7ee7['config']['get']('presenceList'),_0x35d319=new _0x39a4a8(_0x5c7ee7['locale'],_0x3b4634,!!_0x413bd3['onClick']);return _0x35d319['bind']('hasTooltip')['to'](_0x17425d,'isCollapsed',_0x1552a5=>!_0x1552a5),_0x35d319['bind']('isFocusable')['to'](_0x17425d,'isCollapsed',_0x36f2a3=>!_0x36f2a3),_0x413bd3['onClick']&&this['listenTo'](_0x35d319,'execute',()=>{this['view']['isCollapsed']||_0x413bd3['onClick'](_0x3b4634,_0x35d319['element']);}),_0x35d319;}),this['listenTo'](_0x17425d['inlineListView'],'presencelist:show',()=>{this['view']['isCollapsed']&&this['showDropdown']();}),this['listenTo'](_0x17425d['inlineListView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();}),_0x17425d['inlineListView']['keystrokes']['set']('Enter',(_0x52fcd1,_0x446ea0)=>{this['view']['isCollapsed']&&(this['showDropdown'](),_0x446ea0());}),_0x17425d['render'](),_0x389237['render'](),(0x0,_0x14e616['clickOutsideHandler'])({'emitter':_0x17425d,'activator':()=>_0x389237['isVisible'],'contextElements':[_0x389237['element'],_0x17425d['inlineListView']['element']],'callback':()=>this['hideDropdown']()}),_0x5c7ee7['config']['get']('presenceList.container')['appendChild'](_0x17425d['element']),this['_bodyCollection']=new _0x14e616['BodyCollection'](this['context']['locale']),this['_bodyCollection']['attachToDom'](),this['_bodyCollection']['add'](this['balloonPanelView']),_0x17425d;}['_handleUserAdd'](_0x517e57){if(!this['context']['config']['get']('presenceList.displayMe')&&_0x517e57['isMe'])return;const _0x199b7b=this['context']['config']['get']('presenceList.collapseAt')-0x1;for(this['usersCount']++;this['currentDisplayedUsers']['length']>=_0x199b7b-(this['view']['isCollapsed']?0x1:0x0)&&this['currentDisplayedUsers']['length']>0x1;)this['currentDisplayedUsers']['remove'](0x1);const _0x4795b0=_0x517e57['isMe']?0x0:this['currentDisplayedUsers']['length'];this['currentDisplayedUsers']['add'](_0x517e57,_0x4795b0);}['_handleUserRemove'](_0xeb5813){this['usersCount']--;const {collapseAt:_0x5060dc}=this['context']['config']['get']('presenceList'),_0x5aa2d5=this['usersCount']>=_0x5060dc;if(this['currentDisplayedUsers']['get'](_0xeb5813['id']))this['currentDisplayedUsers']['remove'](_0xeb5813['id']);else{if(_0x5aa2d5&&this['currentDisplayedUsers']['length']+0x1===_0x5060dc-0x1)return;}if(this['currentDisplayedUsers']['length']+(_0x5aa2d5?0x1:0x0)<this['usersCount']){for(const _0xe70b08 of Array['from'](this['_allConnectedUsers'])['reverse']())if(!this['currentDisplayedUsers']['get'](_0xe70b08['id'])&&(this['currentDisplayedUsers']['add'](_0xe70b08,Math['min'](this['currentDisplayedUsers']['length']-(_0x5aa2d5?0x1:0x0),0x1)),this['currentDisplayedUsers']['length']+(_0x5aa2d5?0x1:0x0)===_0x5060dc-0x1))return;}}['showDropdown'](){if(this['presenceDropdownView'])return;const _0x3c6ac8=this['context']['config']['get']('presenceList');this['presenceDropdownView']=new _0x356a18(this['context']['locale'],!!_0x3c6ac8['onClick']),this['view']['inlineListView']['isExpanded']=!0x0,this['listenTo'](this['presenceDropdownView'],'presencelist:hide',()=>{this['presenceDropdownView']&&this['hideDropdown']();});const {listWrapperView:_0x533008}=this['presenceDropdownView'];_0x533008['items']['bindTo'](this['_allConnectedUsers'])['using'](_0x5b4f5b=>{if(!_0x3c6ac8['displayMe']&&_0x5b4f5b['isMe'])return null;const _0x49f3d1=new _0x5d2371(this['context']['locale'],_0x5b4f5b,!!_0x3c6ac8['onClick']);return _0x3c6ac8['onClick']&&this['listenTo'](_0x49f3d1,'execute',()=>{_0x3c6ac8['onClick'](_0x5b4f5b,_0x49f3d1['element']);}),_0x49f3d1;}),this['balloonPanelView']['content']['add'](this['presenceDropdownView']),this['balloonPanelView']['pin']({'target':this['view']['inlineListView']['element']}),_0x533008['focus'](),_0x533008['checkIfScrollable']();const _0x3d2de0=(_0x146fac,_0x5c2806)=>{this['hideDropdown'](),this['view']['inlineListView']['focus'](),_0x5c2806();};_0x533008['keystrokes']['set']('Esc',_0x3d2de0),_0x533008['keystrokes']['set']('Shift+Tab',_0x3d2de0),_0x533008['keystrokes']['set']('Tab',(_0x5ed37c,_0x5a57c7)=>{!function(_0x3b3050){const _0x5592a6=['a','button','input','select','textarea','[tabindex]','[contenteditable]']['map'](_0x298ddf=>_0x298ddf+':not([disabled]):not([tabindex=\x22-1\x22])')['join'](','),_0x3a6785=[...document['body']['querySelectorAll'](_0x5592a6)]['filter'](_0x58f824=>_0x58f824===document['activeElement']||_0x58f824['offsetWidth']+_0x58f824['offsetHeight']>0x0)['sort']((_0x49dc77,_0x56b05a)=>(_0x49dc77['tabIndex']||0x0)-(_0x56b05a['tabIndex']||0x0)),_0x29044e=_0x3a6785[(_0x3a6785['indexOf'](_0x3b3050)+0x1)%_0x3a6785['length']];_0x29044e&&_0x29044e['focus']();}(this['view']['element']),this['hideDropdown'](),_0x5a57c7();}),_0x533008['focusTracker']['add'](this['view']['element']),_0x533008['focusTracker']['on']('change:isFocused',(_0x108ef8,_0x2ff126,_0x3ada3a)=>{_0x3ada3a||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);}},_0x32574a=class extends _0x14e616['ContextPlugin']{static get['requires'](){return[_0x8848f6,_0x593dcf];}static get['pluginName'](){return'PresenceList';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}},_0xec04f7=class extends _0x14e616['Plugin']{static get['pluginName'](){return'SlashCommandConfig';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x44768e){super(_0x44768e),this['_allowedCommands']=null;}['afterInit'](){const _0x5cb5e2=this['editor']['config']['get']('slashCommand.removeCommands')||[],_0x4bd5d1=function(_0x157476){let _0x5e274d=['heading4','heading5','heading6'];if(_0x157476){const _0x428790=_0x157476['map'](_0x1c16f4=>_0x1c16f4['model']);_0x5e274d=['heading1','heading2','heading3','heading4','heading5','heading6']['filter'](_0x401460=>!_0x428790['includes'](_0x401460));}return _0x5e274d;}(this['editor']['config']['get']('heading.options'));let _0x223622=this['getDefaultCommands']()['filter'](_0xa8a992=>!_0x4bd5d1['includes'](_0xa8a992['id']))['filter'](_0x29f25d=>!_0x5cb5e2['includes'](_0x29f25d['commandName']));const _0x193644=this['editor']['config']['get']('slashCommand.extraCommands');_0x193644&&_0x193644['length']&&(_0x223622=_0x223622['concat'](_0x193644));const _0x1360cc=this['editor']['config']['get']('template.definitions');_0x1360cc&&_0x1360cc['length']&&(_0x223622=_0x223622['concat'](function(_0x44852f){return _0x44852f['map'](_0x231660=>{const {title:_0x2191ce,icon:_0x3369cd,description:_0x28701e,data:_0x267220}=_0x231660,_0x1d4855={'id':_0xef6ef2(_0x2191ce,'template'),'commandName':'insertTemplate','execute':_0x4bd407=>{_0x4bd407['execute']('insertTemplate',_0x267220);},'description':_0x28701e,'icon':_0x3369cd,'title':_0x2191ce};return _0x3369cd&&(_0x1d4855['isIconColorInherited']=!0x1),_0x1d4855;});}(_0x1360cc)));const _0x243b63=this['editor']['config']['get']('style.definitions');_0x243b63&&_0x243b63['length']&&(_0x223622=_0x223622['concat'](function(_0x36796c){return _0x36796c['map'](_0x36f0e4=>({'id':_0xef6ef2(_0x36f0e4['name'],'style'),'commandName':'style','execute':_0x2d78e9=>{_0x2d78e9['execute']('style',{'styleName':_0x36f0e4['name']});},'isEnabled':_0x5add05=>{const _0x35adbb=_0x5add05['commands']['get']('style');return _0x35adbb['isEnabled']&&_0x35adbb['enabledStyles']['includes'](_0x36f0e4['name']);},'title':_0x36f0e4['name']}));}(_0x243b63)));const _0x5933aa=_0x223622['filter'](_0x38abe1=>!_0x38abe1['commandName']||void 0x0!==this['editor']['commands']['get'](_0x38abe1['commandName'])),_0x1c1b8b=[];for(const _0x404a2a of _0x5933aa)_0x1c1b8b['push']({'id':_0x404a2a['id'],'commandName':_0x404a2a['commandName'],'title':'function'==typeof _0x404a2a['title']?_0x404a2a['title'](this['editor']):_0x404a2a['title'],'description':_0x404a2a['description'],'icon':_0x404a2a['icon'],'isIconColorInherited':_0x404a2a['isIconColorInherited'],'aliases':_0x404a2a['aliases'],'isEnabled':()=>this['_proxyIsEnabled'](_0x404a2a),'execute':()=>this['_proxyExecute'](_0x404a2a)});this['_allowedCommands']=_0x1c1b8b['sort'](_0x46ee91),async function(_0xd8f81){const _0x37bbf4='umgl1F4YkAVEtv0TcN6nKiXCrhODd2PaGMSIJbspyz9QLBoWxUfj5HZew738Rq',_0x328530=0x78fc0,_0x1bd8ba=window['Date']['now'](),_0x5bb235=_0xd8f81['editor'],_0x2168df=new window['Promise'](_0x32059e=>{_0x5bb235['once']('ready',_0x32059e);}),_0x1c23a0={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x154423=_0x5bb235['config']['get']('licenseKey');async function _0x28bbec(){let _0x1ee073,_0x2f360c=null,_0x3abc80=null;try{return'GPL'==_0x154423?'NotAllowed':(_0x1ee073=_0xfddd53(),_0x1ee073?(_0x1ee073['usageEndpoint']&&(_0x3abc80=_0x2e0dd8(_0x1ee073['usageEndpoint'],_0x1ee073['jti'])),await _0x359443()?_0x4ff59d()?_0x3f70c6()?'Expired':_0x31335a()?('evaluation'==_0x1ee073['licenseType']&&(_0x2f360c=_0x54e894('EvaluationLimit')),await _0x1bad4d()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3f70c6(){const _0x2770c8=['evaluation','trial']['includes'](_0x1ee073['licenseType'])?_0x1bd8ba/0x3e8:0xe10*_0x328530;return _0x1ee073['exp']<_0x2770c8;}function _0x4ff59d(){const _0x3eb1e1=_0x1ee073['features'];return!!_0x3eb1e1&&(!!_0x3eb1e1['includes']('*')||(!!_0x3eb1e1['includes']('SC')||(!!_0x3eb1e1['includes']('PP')||!(!_0x3eb1e1['includes']('TRILIUM')||!_0x18547f()))));}function _0x31335a(){const _0x2bc5d5=_0x1ee073['licensedHosts'];if(!_0x2bc5d5||0x0==_0x2bc5d5['length'])return!0x0;const {hostname:_0x373222}=new URL(window['location']['href']);if(_0x2bc5d5['includes'](_0x373222))return!0x0;const _0x5a5edf=_0x373222['split']('.');return _0x2bc5d5['filter'](_0x46f4f9=>_0x46f4f9['includes']('*'))['map'](_0x975821=>_0x975821['split']('.'))['filter'](_0x144b94=>_0x144b94['length']<=_0x5a5edf['length'])['map'](_0x5b29c0=>Array(_0x5a5edf['length']-_0x5b29c0['length'])['fill']('*'===_0x5b29c0[0x0]?'*':'')['concat'](_0x5b29c0))['some'](_0x2971c0=>_0x5a5edf['every']((_0x29075b,_0xb9bb3e)=>_0x2971c0[_0xb9bb3e]===_0x29075b||'*'===_0x2971c0[_0xb9bb3e]));}function _0x1bad4d(){return _0x2f360c&&_0x3abc80?new window['Promise']((_0x28952f,_0x392acd)=>{_0x2f360c['then'](_0x28952f,_0x392acd),_0x3abc80['then'](_0xc5bfab=>{'Valid'!=_0xc5bfab&&_0x28952f(_0xc5bfab);},_0x392acd);}):_0x2f360c||_0x3abc80||'Valid';}}function _0x2e0dd8(_0x4cc55c,_0x44fd24){return new window['Promise'](_0x1f0f44=>{if(_0x1b60b0())return _0x1f0f44('Valid');_0x41a07d(),_0x5bb235['decorate']('_sendUsageRequest');let _0x2d5871=!0x1;const _0x40677f=(0x0,_0x14e616['uid'])();function _0x53ac61(_0x6828e5){return!!_0x6828e5&&('object'==typeof _0x6828e5||'function'==typeof _0x6828e5)&&'function'==typeof _0x6828e5['then']&&'function'==typeof _0x6828e5['catch'];}function _0xceb352(_0x35bdc5){_0x4e857a(_0x35bdc5)['then'](_0x6bd13a=>_0x6bd13a&&'ok'==_0x6bd13a['status']?_0x509faa(_0x2e93c3(_0x40677f+_0x44fd24))!=_0x6bd13a['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0xf386ba=>(_0x58f23c(),_0xf386ba),()=>{const _0x51ddb9=_0x1a3828();return null==_0x51ddb9?(_0x58f23c(),'Valid'):_0x1bd8ba-_0x51ddb9>0x240c8400?'UsageLimit':'Valid';})['then'](_0x1f0f44)['catch'](()=>{_0x1f0f44('UsageLimit');});const _0x189b20=0x36ee80;function _0x58f23c(){const _0xafc22b='llct-'+_0x509faa(_0x2e93c3(_0x4cc55c)),_0x3087ab=_0x4b32f9(_0x509faa(window['Math']['ceil'](_0x1bd8ba/_0x189b20)));window['localStorage']['setItem'](_0xafc22b,_0x3087ab);}function _0x1a3828(){const _0xb9f539='llct-'+_0x509faa(_0x2e93c3(_0x4cc55c)),_0x5b089e=window['localStorage']['getItem'](_0xb9f539);return _0x5b089e?window['parseInt'](_0x4b32f9(_0x5b089e),0x10)*_0x189b20:null;}function _0x4e857a(_0x28a0b2){return new window['Promise']((_0x120b9e,_0x109738)=>{_0x28a0b2['then'](_0x120b9e,_0x109738),window['setTimeout'](_0x109738,0x1d4c0);});}}_0x5bb235['on']('_sendUsageRequest',(_0x1a7633,_0x48f251)=>{if(_0x48f251[0x0]!=_0x4cc55c)return _0x1f0f44('UsageLimit');_0x48f251[0x1]={..._0x48f251[0x1],'requestId':_0x40677f};},{'priority':'high'}),_0x5bb235['on']('_sendUsageRequest',_0x43024d=>{_0x53ac61(_0x43024d['return'])&&(_0x2d5871=!0x0,_0xceb352(_0x43024d['return']));},{'priority':'low'}),_0x2168df['then'](()=>{_0x2d5871||_0x1f0f44('UsageLimit');});});function _0x1b60b0(){return'auto'==_0x5bb235['editing']['view']['_overlayModeHint'];}function _0x41a07d(){_0x5bb235['editing']['view']['_overlayModeHint']='auto';}}function _0x54e894(_0x3c0779){const _0x516f27=[new window['Promise'](_0x2d49c4=>setTimeout(_0x2d49c4,0x93ecc)),_0x2168df['then'](()=>new window['Promise'](_0x372f3b=>{let _0x3c5bf5=0x0;_0x5bb235['model']['on']('applyOperation',(_0x44c2d8,_0x552d98)=>{_0x552d98[0x0]['isDocumentOperation']&&_0x3c5bf5++,0x5e8==_0x3c5bf5&&(_0x372f3b(),_0x44c2d8['off']());});}))];return window['Promise']['race'](_0x516f27)['then'](()=>_0x3c0779);}async function _0x1112b4(){await _0x2168df,_0x5bb235['model']['change']=_0x23fd82,_0x5bb235['model']['enqueueChange']=_0x23fd82,_0x5bb235['enableReadOnlyMode']('model');}function _0x18547f(){return window['glob']&&window['glob']['triliumVersion'];}function _0x8be3bd(_0x76d685){const _0x10150d=_0x559e65();_0x5bb235[_0x10150d]='slashCommandLicenseKey'+_0x76d685,'Valid'!=_0x76d685&&_0x1112b4();}function _0x559e65(){const _0xef3867=window['String'](window['performance']['now']())['replace']('.','');let _0x49d1cc='u';for(let _0x364fa7=0x0;_0x364fa7<_0xef3867['length'];_0x364fa7+=0x2){let _0x5e6c7b=window['parseInt'](_0xef3867['substring'](_0x364fa7,_0x364fa7+0x2));_0x5e6c7b>=0x3e&&(_0x5e6c7b-=0x3e),_0x49d1cc+=_0x37bbf4[_0x5e6c7b];}return _0x49d1cc;}function _0xfddd53(){const _0x219dfd=_0x154423['split']('.');if(0x3!=_0x219dfd['length'])return null;return _0x35d9f2(_0x219dfd[0x1]);function _0x35d9f2(_0x57002e){const _0x347d0f=_0x765e73(_0x57002e);return _0x347d0f&&_0x47b266()?_0x347d0f:null;function _0x47b266(){const _0x2b34b8=_0x347d0f['jti'],_0x392d3b=window['parseInt'](_0x2b34b8['substring'](_0x2b34b8['length']-0x8),0x10),_0x45535b={..._0x347d0f,'jti':_0x2b34b8['substring'](0x0,_0x2b34b8['length']-0x8)};return delete _0x45535b['vc'],_0x2e93c3(_0x45535b)==_0x392d3b;}}}async function _0x359443(){let _0x2cc3ec=!0x0;try{const [_0x399c74,_0x460cd7,_0x393d10]=_0x154423['split']('.');return _0x5c5fe6(_0x399c74),await _0x272ee7(_0x399c74,_0x460cd7,_0x393d10),_0x2cc3ec;}catch{return!0x1;}function _0x5c5fe6(_0x1066da){const _0x24bb94=_0x765e73(_0x1066da);_0x24bb94&&'ES256'==_0x24bb94['alg']||(_0x2cc3ec=!0x1);}async function _0x272ee7(_0x31b188,_0x52f837,_0xb293ce){const _0x536461=window['Uint8Array']['from'](_0x54f6a4(_0xb293ce),_0x179eeb=>_0x179eeb['charCodeAt'](0x0)),_0x4a7af8=new window['TextEncoder']()['encode'](_0x31b188+'.'+_0x52f837),_0x35f453=window['crypto']['subtle'];if(!_0x35f453)return;const _0x3791f7=await _0x35f453['importKey']('jwk',_0x1c23a0,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x35f453['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3791f7,_0x536461,_0x4a7af8)||(_0x2cc3ec=!0x1);}}function _0x765e73(_0x58a83b){return _0x58a83b['startsWith']('ey')?JSON['parse'](_0x54f6a4(_0x58a83b)):null;}function _0x54f6a4(_0x34a876){return window['atob'](_0x34a876['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x2e93c3(_0x5db98e){let _0x3dc56c=0x1505;function _0x4aa03f(_0x32f368){for(let _0x570f9b=0x0;_0x570f9b<_0x32f368['length'];_0x570f9b++){const _0x4b3578=_0x32f368['charCodeAt'](_0x570f9b);_0x3dc56c=(_0x3dc56c<<0x5)+_0x3dc56c+_0x4b3578,_0x3dc56c&=_0x3dc56c;}}function _0x5abf79(_0x3d1803){Array['isArray'](_0x3d1803)?_0x3d1803['forEach'](_0x5abf79):_0x3d1803&&'object'==typeof _0x3d1803?Object['entries'](_0x3d1803)['sort']()['forEach'](([_0x453c76,_0x5f4a24])=>{_0x4aa03f(_0x453c76),_0x5abf79(_0x5f4a24);}):_0x4aa03f(window['String'](_0x3d1803));}return _0x5abf79(_0x5db98e),_0x3dc56c>>>0x0;}function _0x509faa(_0x95d11c){return _0x95d11c['toString'](0x10)['padStart'](0x8,'0');}function _0x4b32f9(_0x24b079){return _0x24b079['split']('')['reverse']()['join']('');}function _0x23fd82(){}_0x8be3bd(await _0x28bbec());}(this);}['getAllowedCommands'](){return this['_allowedCommands'];}['getDefaultCommands'](){const _0x2c2201=_0x5c0452=>function(_0x1bacd3,_0xf9fd73){const t=_0x1bacd3['t'],_0x201946=_0x1bacd3['t'];switch(_0xf9fd73){case'AI\x20Assistant':return _0x201946('AI\x20Assistant');case'Block\x20quote':return _0x201946('Block\x20quote');case'Bulleted\x20List':return _0x201946('Bulleted\x20List');case'Insert\x20code\x20block':return _0x201946('Insert\x20code\x20block');case'Open\x20file\x20manager':return _0x201946('Open\x20file\x20manager');case'Insert\x20image':return _0x201946('Insert\x20image');case'Heading\x201':return _0x201946('Heading\x201');case'Heading\x202':return _0x201946('Heading\x202');case'Heading\x203':return _0x201946('Heading\x203');case'Heading\x204':return _0x201946('Heading\x204');case'Heading\x205':return _0x201946('Heading\x205');case'Heading\x206':return _0x201946('Heading\x206');case'Horizontal\x20line':return _0x201946('Horizontal\x20line');case'Insert\x20HTML':return _0x201946('Insert\x20HTML');case'Increase\x20indent':return _0x201946('Increase\x20indent');case'Insert\x20table':return _0x201946('Insert\x20table');case'Table\x20of\x20contents':return _0x201946('Table\x20of\x20contents');case'Numbered\x20List':return _0x201946('Numbered\x20List');case'Decrease\x20indent':return _0x201946('Decrease\x20indent');case'Paragraph':return _0x201946('Paragraph');case'To-do\x20List':return _0x201946('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');case'Insert\x20a\x20footnote':return t('Insert\x20a\x20footnote');default:return _0xf9fd73;}}(this['editor']['locale'],_0x5c0452);return[{'id':'aiAssistant','commandName':'showAIAssistant','icon':_0x14e616['IconRobotPencil'],'title':_0x2c2201('AI\x20Assistant'),'description':_0x2c2201('Open\x20the\x20AI\x20Assistant\x20to\x20generate\x20content'),'execute':_0x2b6930=>{setTimeout(()=>_0x2b6930['execute']('showAIAssistant'));}},{'id':'blockQuote','commandName':'blockQuote','icon':_0x14e616['IconQuote'],'title':_0x2c2201('Block\x20quote'),'description':_0x2c2201('Create\x20a\x20block\x20quote')},{'id':'bulletedList','commandName':'bulletedList','icon':_0x14e616['IconBulletedList'],'title':_0x2c2201('Bulleted\x20List'),'description':_0x2c2201('Create\x20a\x20bulleted\x20list')},{'id':'codeBlock','commandName':'codeBlock','icon':_0x14e616['IconCodeBlock'],'title':_0x2c2201('Insert\x20code\x20block'),'description':_0x2c2201('Create\x20a\x20code\x20block')},{'id':'ckbox','commandName':'ckbox','icon':_0x14e616['IconBrowseFiles'],'title':_0x2c2201('Open\x20file\x20manager'),'description':_0x2c2201('Open\x20file\x20manager\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckfinder','filemanager','upload']},{'id':'ckfinder','commandName':'ckfinder','icon':_0x14e616['IconBrowseFiles'],'title':_0x2c2201('Insert\x20image'),'description':_0x2c2201('Open\x20file\x20browser\x20to\x20insert\x20an\x20image\x20or\x20a\x20file'),'aliases':['ckbox','filemanager','upload']},{'id':'emoji','commandName':'emoji','icon':_0x14e616['IconEmoji'],'title':_0x2c2201('Emoji'),'description':_0x2c2201('Insert\x20an\x20emoji'),'execute':_0x1cf63d=>{setTimeout(()=>_0x1cf63d['execute']('emoji'));}},{'id':'heading1','commandName':'heading','icon':_0x14e616['IconHeading1'],'title':_0x2c2201('Heading\x201'),'description':_0x2c2201('Create\x20a\x20heading\x20level\x201'),'execute':_0x18a487=>{_0x18a487['execute']('heading',{'value':'heading1'});}},{'id':'heading2','commandName':'heading','icon':_0x14e616['IconHeading2'],'title':_0x2c2201('Heading\x202'),'description':_0x2c2201('Create\x20a\x20heading\x20level\x202'),'execute':_0x1f53cc=>{_0x1f53cc['execute']('heading',{'value':'heading2'});}},{'id':'heading3','commandName':'heading','icon':_0x14e616['IconHeading3'],'title':_0x2c2201('Heading\x203'),'description':_0x2c2201('Create\x20a\x20heading\x20level\x203'),'execute':_0x57f37a=>{_0x57f37a['execute']('heading',{'value':'heading3'});}},{'id':'heading4','commandName':'heading','icon':_0x14e616['IconHeading4'],'title':_0x2c2201('Heading\x204'),'description':_0x2c2201('Create\x20a\x20heading\x20level\x204'),'execute':_0x10f9f8=>{_0x10f9f8['execute']('heading',{'value':'heading4'});}},{'id':'heading5','commandName':'heading','icon':_0x14e616['IconHeading5'],'title':_0x2c2201('Heading\x205'),'description':_0x2c2201('Create\x20a\x20heading\x20level\x205'),'execute':_0x574d19=>{_0x574d19['execute']('heading',{'value':'heading5'});}},{'id':'heading6','commandName':'heading','icon':_0x14e616['IconHeading6'],'title':_0x2c2201('Heading\x206'),'description':_0x2c2201('Create\x20a\x20heading\x20level\x206'),'execute':_0x26fbf8=>{_0x26fbf8['execute']('heading',{'value':'heading6'});}},{'id':'horizontalLine','commandName':'horizontalLine','icon':_0x14e616['IconHorizontalLine'],'title':_0x2c2201('Horizontal\x20line'),'description':_0x2c2201('Insert\x20a\x20horizontal\x20line')},{'id':'htmlEmbed','commandName':'htmlEmbed','icon':_0x14e616['IconHtml'],'title':_0x2c2201('Insert\x20HTML'),'description':_0x2c2201('Insert\x20an\x20HTML\x20snippet')},{'id':'indent','commandName':'indent','icon':_0x14e616['IconIndent'],'title':_0x2c2201('Increase\x20indent'),'description':_0x2c2201('Increase\x20the\x20indentation')},{'id':'insertMermaidCommand','commandName':'insertMermaidCommand','title':_0x2c2201('Insert\x20Mermaid\x20diagram'),'description':_0x2c2201('Insert\x20the\x20Mermaid\x20diagram')},{'id':'insertTable','commandName':'insertTable','icon':_0x14e616['IconTable'],'title':_0x2c2201('Insert\x20table'),'description':_0x2c2201('Create\x20a\x20table')},{'id':'insertTableOfContents','commandName':'insertTableOfContents','icon':_0x14e616['IconTableOfContents'],'title':_0x2c2201('Table\x20of\x20contents'),'description':_0x2c2201('Insert\x20table\x20of\x20contents'),'aliases':['toc']},{'id':'numberedList','commandName':'numberedList','icon':_0x14e616['IconNumberedList'],'title':_0x2c2201('Numbered\x20List'),'description':_0x2c2201('Create\x20a\x20numbered\x20list')},{'id':'outdent','commandName':'outdent','icon':_0x14e616['IconOutdent'],'title':_0x2c2201('Decrease\x20indent'),'description':_0x2c2201('Decrease\x20the\x20indentation')},{'id':'paragraph','commandName':'paragraph','icon':_0x14e616['IconParagraph'],'title':_0x2c2201('Paragraph'),'description':_0x2c2201('Insert\x20a\x20paragraph')},{'id':'todoList','commandName':'todoList','icon':_0x14e616['IconTodoList'],'title':_0x2c2201('To-do\x20List'),'description':_0x2c2201('Create\x20a\x20to-do\x20list')},{'id':'footnote','commandName':'insertFootnote','icon':_0x14e616['IconFootnote'],'title':_0x2c2201('Footnote'),'description':_0x2c2201('Insert\x20a\x20footnote')}];}['_proxyIsEnabled'](_0x447f81){return _0x447f81['isEnabled']?_0x447f81['isEnabled'](this['editor']):!_0x447f81['commandName']||this['editor']['commands']['get'](_0x447f81['commandName'])['isEnabled'];}['_proxyExecute'](_0x387735){if(_0x387735['execute'])_0x387735['execute'](this['editor']);else{if(!_0x387735['commandName'])throw new _0x14e616['CKEditorError']('slash-command-execute-missing',this['editor'],{'commandDefinition':_0x387735});this['editor']['execute'](_0x387735['commandName']);}}};function _0x46ee91(_0x2880c8,_0x4363c1){return _0x2880c8['title']<_0x4363c1['title']?-0x1:_0x2880c8['title']>_0x4363c1['title']?0x1:0x0;}function _0xef6ef2(_0x29cec9,_0x4c0a80){return _0x4c0a80+'-'+_0x29cec9['toLowerCase']()['split']('\x20')['join']('-');}var _0x463d38=class extends _0x14e616['Plugin']{static get['pluginName'](){return'SlashCommandEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0xec04f7];}['getMatchingCommands'](_0x166623){const _0x3c6663=_0x166623&&_0x166623['toLowerCase']();let _0x3884c4=this['editor']['plugins']['get']('SlashCommandConfig')['getAllowedCommands']();if(_0x3884c4=_0x3884c4['filter'](_0x5ad9b0=>_0x5ad9b0['isEnabled']()),_0x3c6663){const _0xb898a0=[],_0x3f3685=[],_0x12af66=[],_0x2a8d2b=[];for(const _0x2a8c90 of _0x3884c4)_0x2a8c90['id']['toLowerCase']()['includes'](_0x3c6663)?_0xb898a0['push'](_0x2a8c90):_0x2a8c90['title']['toLowerCase']()['includes'](_0x3c6663)?_0x3f3685['push'](_0x2a8c90):_0x2a8c90['aliases']&&_0x2a8c90['aliases']['some'](_0x3b03c2=>_0x3b03c2['toLowerCase']()['includes'](_0x3c6663))?_0x12af66['push'](_0x2a8c90):_0x2a8c90['description']&&_0x2a8c90['description']['toLowerCase']()['includes'](_0x3c6663)&&_0x2a8d2b['push'](_0x2a8c90);_0x3884c4=_0xb898a0['concat'](_0x3f3685,_0x12af66,_0x2a8d2b);}return _0x3884c4;}},_0x1593b8=class extends _0x14e616['ButtonView']{constructor(_0x378c2d,_0x298d7f){super(_0x378c2d),this['textPartView']=this['_createTextPartView'](_0x378c2d,_0x298d7f),void 0x0!==_0x298d7f['isIconColorInherited']&&(this['iconView']['isColorInherited']=_0x298d7f['isIconColorInherited']),this['set']({'icon':_0x298d7f['icon']||_0x14e616['IconPlay'],'withText':!0x0,'label':_0x298d7f['title'],'class':'ck-slash-command-button'});}['render'](){super['render'](),this['children']['add'](this['textPartView']);}['_createTextPartView'](_0xf1aacc,_0x3c3dfe){const _0x2fd53a=new _0x14e616['View'](_0xf1aacc);return _0x2fd53a['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-slash-command-button__text-part']},'children':_0x3c3dfe['description']?[this['labelView'],{'tag':'span','attributes':{'class':['ck','ck-slash-command-button__description']},'children':[{'text':_0x3c3dfe['description']}]}]:[this['labelView']]}),_0x2fd53a;}},_0x23829a=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SlashCommandUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x586f28){super(_0x586f28),this['_setupMentionConfiguration']();}['init'](){this['editor']['once']('ready',this['_overrideMentionExecuteListener']['bind'](this)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x322756=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28a7a8;for(const _0x31349e in _0x322756){const _0x71725=_0x31349e,_0x1c0d4c=_0x322756[_0x71725];if('slashCommandLicenseKeyValid'==_0x1c0d4c||'slashCommandLicenseKeyInvalid'==_0x1c0d4c||'slashCommandLicenseKeyExpired'==_0x1c0d4c||'slashCommandLicenseKeyDomainLimit'==_0x1c0d4c||'slashCommandLicenseKeyNotAllowed'==_0x1c0d4c||'slashCommandLicenseKeyEvaluationLimit'==_0x1c0d4c||'slashCommandLicenseKeyUsageLimit'==_0x1c0d4c){delete _0x322756[_0x71725],_0x28a7a8=_0x1c0d4c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'slashCommandLicenseKeyInvalid'==_0x28a7a8&&_0x322756['_showLicenseError']('invalid'),'slashCommandLicenseKeyExpired'==_0x28a7a8&&_0x322756['_showLicenseError']('expired'),'slashCommandLicenseKeyDomainLimit'==_0x28a7a8&&_0x322756['_showLicenseError']('domainLimit'),'slashCommandLicenseKeyNotAllowed'==_0x28a7a8&&_0x322756['_showLicenseError']('featureNotAllowed','SlashCommand'),'slashCommandLicenseKeyEvaluationLimit'==_0x28a7a8&&_0x322756['_showLicenseError']('evaluationLimit'),'slashCommandLicenseKeyUsageLimit'==_0x28a7a8&&_0x322756['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_setupMentionConfiguration'](){const _0x5dc9dc=this['editor'],_0xce75ab=this['editor']['plugins']['get']('SlashCommandEditing'),_0x44e792=_0x5dc9dc['config']['get']('mention.feeds');_0x44e792['push']({'marker':'/','feed':_0xd184a8=>_0xce75ab['getMatchingCommands'](_0xd184a8),'itemRenderer':this['_customItemRenderer']['bind'](this),'dropdownLimit':_0x5dc9dc['config']['get']('slashCommand.dropdownLimit')||0x1/0x0}),_0x5dc9dc['config']['set']('mention.feeds',_0x44e792);}['_overrideMentionExecuteListener'](){const _0x19e0d4=this['editor'];_0x19e0d4['commands']['get']('mention')['on']('execute',(_0x357bcd,_0x1367d7)=>{const _0x439e0b=_0x1367d7[0x0],_0x555fd6=_0x19e0d4['model'];'/'===_0x439e0b['marker']&&_0x555fd6['change'](_0x4e75d9=>{_0x4e75d9['remove'](_0x439e0b['range']),_0x439e0b['mention']['execute'](),_0x357bcd['stop']();});},{'priority':'high'});}['_customItemRenderer'](_0x4b1171){const _0x1166ce=this['editor']['locale'],_0x5a0a3e=new _0x1593b8(_0x1166ce,_0x4b1171);return _0x5a0a3e['render'](),_0x5a0a3e['element'];}},_0x13ea48=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x14e616['Mention'],_0x463d38,_0x23829a];}static get['pluginName'](){return'SlashCommand';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x295994(_0x59fbfd,_0x1c346b){const t=_0x59fbfd['t'];switch(_0x1c346b){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 _0x1c346b;}}function _0x4cd495(_0x3083fe){const _0x9502be=_0x3083fe['editing']['view']['document']['roots'],_0x140bd4=_0x9502be['length'];if(0x0===_0x140bd4)throw new _0x14e616['CKEditorError']('source-editing-enhanced-editor-no-root',_0x3083fe);return 0x1===_0x140bd4?_0x9502be['first']['rootName']:Array['from'](_0x3083fe['editing']['view']['document']['selection']['getRanges']())[0x0]['root']['rootName'];}function _0x350db6(_0x629b26){return _0x525f84(_0x629b26['replace'](/^[\n\s]*/g,''))?_0x629b26['replace'](/\s+/g,''):_0x629b26;}function _0x525f84(_0x3fa9c5){return _0x3fa9c5['startsWith']('<');}let _0xdd9ae5=[],_0x3db51b=[];function _0x457712(_0x5b5af2){if(_0x5b5af2<0x300)return!0x1;for(let _0x2ecdc4=0x0,_0x1a8129=_0xdd9ae5['length'];;){let _0x1268e4=_0x2ecdc4+_0x1a8129>>0x1;if(_0x5b5af2<_0xdd9ae5[_0x1268e4])_0x1a8129=_0x1268e4;else{if(!(_0x5b5af2>=_0x3db51b[_0x1268e4]))return!0x0;_0x2ecdc4=_0x1268e4+0x1;}if(_0x2ecdc4==_0x1a8129)return!0x1;}}function _0x27939e(_0x9205b1){return _0x9205b1>=0x1f1e6&&_0x9205b1<=0x1f1ff;}((()=>{let _0x232c72='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'](_0x36feee=>_0x36feee?parseInt(_0x36feee,0x24):0x1);for(let _0x12b50f=0x0,_0x29d823=0x0;_0x12b50f<_0x232c72['length'];_0x12b50f++)(_0x12b50f%0x2?_0x3db51b:_0xdd9ae5)['push'](_0x29d823+=_0x232c72[_0x12b50f]);})());function _0x546fc6(_0x41aaf0,_0x3cdcda,_0x427863=!0x0,_0x230e13=!0x0){return(_0x427863?_0x36b74d:_0x347322)(_0x41aaf0,_0x3cdcda,_0x230e13);}function _0x36b74d(_0x30ceab,_0x8692e3,_0x2e695f){if(_0x8692e3==_0x30ceab['length'])return _0x8692e3;_0x8692e3&&_0x27e24b(_0x30ceab['charCodeAt'](_0x8692e3))&&_0x32759e(_0x30ceab['charCodeAt'](_0x8692e3-0x1))&&_0x8692e3--;let _0x5f2778=_0xe11b9f(_0x30ceab,_0x8692e3);for(_0x8692e3+=_0x5a9e5a(_0x5f2778);_0x8692e3<_0x30ceab['length'];){let _0x1e9ada=_0xe11b9f(_0x30ceab,_0x8692e3);if(0x200d==_0x5f2778||0x200d==_0x1e9ada||_0x2e695f&&_0x457712(_0x1e9ada))_0x8692e3+=_0x5a9e5a(_0x1e9ada),_0x5f2778=_0x1e9ada;else{if(!_0x27939e(_0x1e9ada))break;{let _0x227fc8=0x0,_0x40f3c8=_0x8692e3-0x2;for(;_0x40f3c8>=0x0&&_0x27939e(_0xe11b9f(_0x30ceab,_0x40f3c8));)_0x227fc8++,_0x40f3c8-=0x2;if(_0x227fc8%0x2==0x0)break;_0x8692e3+=0x2;}}}return _0x8692e3;}function _0x347322(_0x239b72,_0x2cf29c,_0x407d2c){for(;_0x2cf29c>0x0;){let _0x3e763a=_0x36b74d(_0x239b72,_0x2cf29c-0x2,_0x407d2c);if(_0x3e763a<_0x2cf29c)return _0x3e763a;_0x2cf29c--;}return 0x0;}function _0xe11b9f(_0x1f4d9a,_0xbabef6){let _0x34f818=_0x1f4d9a['charCodeAt'](_0xbabef6);if(!_0x32759e(_0x34f818)||_0xbabef6+0x1==_0x1f4d9a['length'])return _0x34f818;let _0x57c152=_0x1f4d9a['charCodeAt'](_0xbabef6+0x1);return _0x27e24b(_0x57c152)?_0x57c152-0xdc00+(_0x34f818-0xd800<<0xa)+0x10000:_0x34f818;}function _0x27e24b(_0x10e493){return _0x10e493>=0xdc00&&_0x10e493<0xe000;}function _0x32759e(_0xcfeb3b){return _0xcfeb3b>=0xd800&&_0xcfeb3b<0xdc00;}function _0x5a9e5a(_0x5370dd){return _0x5370dd<0x10000?0x1:0x2;}var _0x3de5aa=class Text$1{['lineAt'](_0x15c8e9){if(_0x15c8e9<0x0||_0x15c8e9>this['length'])throw new RangeError('Invalid\x20position\x20'+_0x15c8e9+'\x20in\x20document\x20of\x20length\x20'+this['length']);return this['lineInner'](_0x15c8e9,!0x1,0x1,0x0);}['line'](_0x2c09b7){if(_0x2c09b7<0x1||_0x2c09b7>this['lines'])throw new RangeError('Invalid\x20line\x20number\x20'+_0x2c09b7+'\x20in\x20'+this['lines']+'-line\x20document');return this['lineInner'](_0x2c09b7,!0x0,0x1,0x0);}['replace'](_0x52d5e4,_0xe8463b,_0x8d6d3){[_0x52d5e4,_0xe8463b]=_0x3ca766(this,_0x52d5e4,_0xe8463b);let _0x18f4a0=[];return this['decompose'](0x0,_0x52d5e4,_0x18f4a0,0x2),_0x8d6d3['length']&&_0x8d6d3['decompose'](0x0,_0x8d6d3['length'],_0x18f4a0,0x3),this['decompose'](_0xe8463b,this['length'],_0x18f4a0,0x1),tx['from'](_0x18f4a0,this['length']-(_0xe8463b-_0x52d5e4)+_0x8d6d3['length']);}['append'](_0x316fba){return this['replace'](this['length'],this['length'],_0x316fba);}['slice'](_0x3b7e13,_0x23eec1=this['length']){[_0x3b7e13,_0x23eec1]=_0x3ca766(this,_0x3b7e13,_0x23eec1);let _0x56d9b2=[];return this['decompose'](_0x3b7e13,_0x23eec1,_0x56d9b2,0x0),tx['from'](_0x56d9b2,_0x23eec1-_0x3b7e13);}['eq'](_0xc5cebd){if(_0xc5cebd==this)return!0x0;if(_0xc5cebd['length']!=this['length']||_0xc5cebd['lines']!=this['lines'])return!0x1;let _0x1194be=this['scanIdentical'](_0xc5cebd,0x1),_0x4a41c=this['length']-this['scanIdentical'](_0xc5cebd,-0x1),_0x6eadd3=new _0x319163(this),_0x5e71b6=new _0x319163(_0xc5cebd);for(let _0x4f0cff=_0x1194be,_0x4495d0=_0x1194be;;){if(_0x6eadd3['next'](_0x4f0cff),_0x5e71b6['next'](_0x4f0cff),_0x4f0cff=0x0,_0x6eadd3['lineBreak']!=_0x5e71b6['lineBreak']||_0x6eadd3['done']!=_0x5e71b6['done']||_0x6eadd3['value']!=_0x5e71b6['value'])return!0x1;if(_0x4495d0+=_0x6eadd3['value']['length'],_0x6eadd3['done']||_0x4495d0>=_0x4a41c)return!0x0;}}['iter'](_0x4b341e=0x1){return new _0x319163(this,_0x4b341e);}['iterRange'](_0x32bac9,_0x33e555=this['length']){return new _0x179783(this,_0x32bac9,_0x33e555);}['iterLines'](_0x2c3fb3,_0xe34b65){let _0x15f17c;if(null==_0x2c3fb3)_0x15f17c=this['iter']();else{null==_0xe34b65&&(_0xe34b65=this['lines']+0x1);let _0xa913f7=this['line'](_0x2c3fb3)['from'];_0x15f17c=this['iterRange'](_0xa913f7,Math['max'](_0xa913f7,_0xe34b65==this['lines']+0x1?this['length']:_0xe34b65<=0x1?0x0:this['line'](_0xe34b65-0x1)['to']));}return new _0x118b13(_0x15f17c);}['toString'](){return this['sliceString'](0x0);}['toJSON'](){let _0x2d8c60=[];return this['flatten'](_0x2d8c60),_0x2d8c60;}constructor(){}static['of'](_0x368c90){if(0x0==_0x368c90['length'])throw new RangeError('A\x20document\x20must\x20have\x20at\x20least\x20one\x20line');return 0x1!=_0x368c90['length']||_0x368c90[0x0]?_0x368c90['length']<=0x20?new _0x1bf4dc(_0x368c90):tx['from'](_0x1bf4dc['split'](_0x368c90,[])):Text$1['empty'];}},_0x1bf4dc=class TextLeaf extends _0x3de5aa{constructor(_0x479d18,_0x5d7c0c=function(_0x2851e3){let _0x267ac9=-0x1;for(let _0x27db16 of _0x2851e3)_0x267ac9+=_0x27db16['length']+0x1;return _0x267ac9;}(_0x479d18)){super(),this['text']=_0x479d18,this['length']=_0x5d7c0c;}get['lines'](){return this['text']['length'];}get['children'](){return null;}['lineInner'](_0x5a62a9,_0x4a312d,_0x2e243c,_0x4ccca2){for(let _0xc96db6=0x0;;_0xc96db6++){let _0x3bef99=this['text'][_0xc96db6],_0x5be518=_0x4ccca2+_0x3bef99['length'];if((_0x4a312d?_0x2e243c:_0x5be518)>=_0x5a62a9)return new _0x5585de(_0x4ccca2,_0x5be518,_0x2e243c,_0x3bef99);_0x4ccca2=_0x5be518+0x1,_0x2e243c++;}}['decompose'](_0x3f775d,_0x5c41c8,_0x177aca,_0x259952){let _0x5e2135=_0x3f775d<=0x0&&_0x5c41c8>=this['length']?this:new TextLeaf(_0xe0f733(this['text'],_0x3f775d,_0x5c41c8),Math['min'](_0x5c41c8,this['length'])-Math['max'](0x0,_0x3f775d));if(0x1&_0x259952){let _0x488c38=_0x177aca['pop'](),_0x3930ab=_0x41789e(_0x5e2135['text'],_0x488c38['text']['slice'](),0x0,_0x5e2135['length']);if(_0x3930ab['length']<=0x20)_0x177aca['push'](new TextLeaf(_0x3930ab,_0x488c38['length']+_0x5e2135['length']));else{let _0x2d0bd6=_0x3930ab['length']>>0x1;_0x177aca['push'](new TextLeaf(_0x3930ab['slice'](0x0,_0x2d0bd6)),new TextLeaf(_0x3930ab['slice'](_0x2d0bd6)));}}else _0x177aca['push'](_0x5e2135);}['replace'](_0xb45e6f,_0x259098,_0x2b2813){if(!(_0x2b2813 instanceof TextLeaf))return super['replace'](_0xb45e6f,_0x259098,_0x2b2813);[_0xb45e6f,_0x259098]=_0x3ca766(this,_0xb45e6f,_0x259098);let _0x163bf6=_0x41789e(this['text'],_0x41789e(_0x2b2813['text'],_0xe0f733(this['text'],0x0,_0xb45e6f)),_0x259098),_0x63b0ef=this['length']+_0x2b2813['length']-(_0x259098-_0xb45e6f);return _0x163bf6['length']<=0x20?new TextLeaf(_0x163bf6,_0x63b0ef):tx['from'](TextLeaf['split'](_0x163bf6,[]),_0x63b0ef);}['sliceString'](_0x14967d,_0x8410e0=this['length'],_0x390285='\x0a'){[_0x14967d,_0x8410e0]=_0x3ca766(this,_0x14967d,_0x8410e0);let _0x41ed0b='';for(let _0x1b5045=0x0,_0x5de9dd=0x0;_0x1b5045<=_0x8410e0&&_0x5de9dd<this['text']['length'];_0x5de9dd++){let _0x192e4e=this['text'][_0x5de9dd],_0xc6ec9b=_0x1b5045+_0x192e4e['length'];_0x1b5045>_0x14967d&&_0x5de9dd&&(_0x41ed0b+=_0x390285),_0x14967d<_0xc6ec9b&&_0x8410e0>_0x1b5045&&(_0x41ed0b+=_0x192e4e['slice'](Math['max'](0x0,_0x14967d-_0x1b5045),_0x8410e0-_0x1b5045)),_0x1b5045=_0xc6ec9b+0x1;}return _0x41ed0b;}['flatten'](_0x994f9f){for(let _0x1ff9b8 of this['text'])_0x994f9f['push'](_0x1ff9b8);}['scanIdentical'](){return 0x0;}static['split'](_0x3e4ce2,_0x33ad1e){let _0x27df05=[],_0x2fb629=-0x1;for(let _0x1e0213 of _0x3e4ce2)_0x27df05['push'](_0x1e0213),_0x2fb629+=_0x1e0213['length']+0x1,0x20==_0x27df05['length']&&(_0x33ad1e['push'](new TextLeaf(_0x27df05,_0x2fb629)),_0x27df05=[],_0x2fb629=-0x1);return _0x2fb629>-0x1&&_0x33ad1e['push'](new TextLeaf(_0x27df05,_0x2fb629)),_0x33ad1e;}},tx=class TextNode extends _0x3de5aa{constructor(_0x4927db,_0x36e10d){super(),this['children']=_0x4927db,this['length']=_0x36e10d,this['lines']=0x0;for(let _0x4d771f of _0x4927db)this['lines']+=_0x4d771f['lines'];}['lineInner'](_0x197245,_0x50e5cc,_0x59170e,_0x50d5db){for(let _0x4b964c=0x0;;_0x4b964c++){let _0x48558c=this['children'][_0x4b964c],_0x490962=_0x50d5db+_0x48558c['length'],_0x2efc34=_0x59170e+_0x48558c['lines']-0x1;if((_0x50e5cc?_0x2efc34:_0x490962)>=_0x197245)return _0x48558c['lineInner'](_0x197245,_0x50e5cc,_0x59170e,_0x50d5db);_0x50d5db=_0x490962+0x1,_0x59170e=_0x2efc34+0x1;}}['decompose'](_0x5f29d8,_0x4432ad,_0x2d4074,_0x5388e8){for(let _0x1cd1ff=0x0,_0x7b06dc=0x0;_0x7b06dc<=_0x4432ad&&_0x1cd1ff<this['children']['length'];_0x1cd1ff++){let _0x37e81b=this['children'][_0x1cd1ff],_0x24f141=_0x7b06dc+_0x37e81b['length'];if(_0x5f29d8<=_0x24f141&&_0x4432ad>=_0x7b06dc){let _0x470e44=_0x5388e8&((_0x7b06dc<=_0x5f29d8?0x1:0x0)|(_0x24f141>=_0x4432ad?0x2:0x0));_0x7b06dc>=_0x5f29d8&&_0x24f141<=_0x4432ad&&!_0x470e44?_0x2d4074['push'](_0x37e81b):_0x37e81b['decompose'](_0x5f29d8-_0x7b06dc,_0x4432ad-_0x7b06dc,_0x2d4074,_0x470e44);}_0x7b06dc=_0x24f141+0x1;}}['replace'](_0x568a7f,_0x5205e9,_0x607fc1){if([_0x568a7f,_0x5205e9]=_0x3ca766(this,_0x568a7f,_0x5205e9),_0x607fc1['lines']<this['lines'])for(let _0x510f96=0x0,_0x53f9d4=0x0;_0x510f96<this['children']['length'];_0x510f96++){let _0xe2cd21=this['children'][_0x510f96],_0x43f8dd=_0x53f9d4+_0xe2cd21['length'];if(_0x568a7f>=_0x53f9d4&&_0x5205e9<=_0x43f8dd){let _0x5f1ec3=_0xe2cd21['replace'](_0x568a7f-_0x53f9d4,_0x5205e9-_0x53f9d4,_0x607fc1),_0x416f82=this['lines']-_0xe2cd21['lines']+_0x5f1ec3['lines'];if(_0x5f1ec3['lines']<_0x416f82>>0x4&&_0x5f1ec3['lines']>_0x416f82>>0x6){let _0x205158=this['children']['slice']();return _0x205158[_0x510f96]=_0x5f1ec3,new TextNode(_0x205158,this['length']-(_0x5205e9-_0x568a7f)+_0x607fc1['length']);}return super['replace'](_0x53f9d4,_0x43f8dd,_0x5f1ec3);}_0x53f9d4=_0x43f8dd+0x1;}return super['replace'](_0x568a7f,_0x5205e9,_0x607fc1);}['sliceString'](_0x3d8859,_0x29baf1=this['length'],_0x4cb1b4='\x0a'){[_0x3d8859,_0x29baf1]=_0x3ca766(this,_0x3d8859,_0x29baf1);let _0x46196a='';for(let _0x31de3c=0x0,_0x5c1b7b=0x0;_0x31de3c<this['children']['length']&&_0x5c1b7b<=_0x29baf1;_0x31de3c++){let _0x370674=this['children'][_0x31de3c],_0x985906=_0x5c1b7b+_0x370674['length'];_0x5c1b7b>_0x3d8859&&_0x31de3c&&(_0x46196a+=_0x4cb1b4),_0x3d8859<_0x985906&&_0x29baf1>_0x5c1b7b&&(_0x46196a+=_0x370674['sliceString'](_0x3d8859-_0x5c1b7b,_0x29baf1-_0x5c1b7b,_0x4cb1b4)),_0x5c1b7b=_0x985906+0x1;}return _0x46196a;}['flatten'](_0x4a085b){for(let _0x2c6f53 of this['children'])_0x2c6f53['flatten'](_0x4a085b);}['scanIdentical'](_0x1b2cdd,_0x2b7c33){if(!(_0x1b2cdd instanceof TextNode))return 0x0;let _0x406dea=0x0,[_0x2ff980,_0x1e9abf,_0x10310a,_0x3b2cea]=_0x2b7c33>0x0?[0x0,0x0,this['children']['length'],_0x1b2cdd['children']['length']]:[this['children']['length']-0x1,_0x1b2cdd['children']['length']-0x1,-0x1,-0x1];for(;;_0x2ff980+=_0x2b7c33,_0x1e9abf+=_0x2b7c33){if(_0x2ff980==_0x10310a||_0x1e9abf==_0x3b2cea)return _0x406dea;let _0x3877e8=this['children'][_0x2ff980],_0x1fcca4=_0x1b2cdd['children'][_0x1e9abf];if(_0x3877e8!=_0x1fcca4)return _0x406dea+_0x3877e8['scanIdentical'](_0x1fcca4,_0x2b7c33);_0x406dea+=_0x3877e8['length']+0x1;}}static['from'](_0x3306ab,_0x5021f2=_0x3306ab['reduce']((_0x4fa712,_0x5e79a0)=>_0x4fa712+_0x5e79a0['length']+0x1,-0x1)){let _0x32c13a=0x0;for(let _0x45d6c4 of _0x3306ab)_0x32c13a+=_0x45d6c4['lines'];if(_0x32c13a<0x20){let _0x3c1b41=[];for(let _0x561d96 of _0x3306ab)_0x561d96['flatten'](_0x3c1b41);return new _0x1bf4dc(_0x3c1b41,_0x5021f2);}let _0x26e5a9=Math['max'](0x20,_0x32c13a>>0x5),_0xde72c1=_0x26e5a9<<0x1,_0x369c44=_0x26e5a9>>0x1,_0x16dacf=[],_0x2804ab=0x0,_0x203c51=-0x1,_0x5417b9=[];function _0x3d3f87(_0x345938){let _0x2be907;if(_0x345938['lines']>_0xde72c1&&_0x345938 instanceof TextNode){for(let _0x2c9546 of _0x345938['children'])_0x3d3f87(_0x2c9546);}else _0x345938['lines']>_0x369c44&&(_0x2804ab>_0x369c44||!_0x2804ab)?(_0x2b3ba1(),_0x16dacf['push'](_0x345938)):_0x345938 instanceof _0x1bf4dc&&_0x2804ab&&(_0x2be907=_0x5417b9[_0x5417b9['length']-0x1])instanceof _0x1bf4dc&&_0x345938['lines']+_0x2be907['lines']<=0x20?(_0x2804ab+=_0x345938['lines'],_0x203c51+=_0x345938['length']+0x1,_0x5417b9[_0x5417b9['length']-0x1]=new _0x1bf4dc(_0x2be907['text']['concat'](_0x345938['text']),_0x2be907['length']+0x1+_0x345938['length'])):(_0x2804ab+_0x345938['lines']>_0x26e5a9&&_0x2b3ba1(),_0x2804ab+=_0x345938['lines'],_0x203c51+=_0x345938['length']+0x1,_0x5417b9['push'](_0x345938));}function _0x2b3ba1(){0x0!=_0x2804ab&&(_0x16dacf['push'](0x1==_0x5417b9['length']?_0x5417b9[0x0]:TextNode['from'](_0x5417b9,_0x203c51)),_0x203c51=-0x1,_0x2804ab=_0x5417b9['length']=0x0);}for(let _0x4a92ae of _0x3306ab)_0x3d3f87(_0x4a92ae);return _0x2b3ba1(),0x1==_0x16dacf['length']?_0x16dacf[0x0]:new TextNode(_0x16dacf,_0x5021f2);}};function _0x41789e(_0x2145d6,_0x5bc2aa,_0x26d632=0x0,_0x52a841=0x3b9aca00){for(let _0x88f540=0x0,_0x556af1=0x0,_0x472fd1=!0x0;_0x556af1<_0x2145d6['length']&&_0x88f540<=_0x52a841;_0x556af1++){let _0x15a7ad=_0x2145d6[_0x556af1],_0x31588d=_0x88f540+_0x15a7ad['length'];_0x31588d>=_0x26d632&&(_0x31588d>_0x52a841&&(_0x15a7ad=_0x15a7ad['slice'](0x0,_0x52a841-_0x88f540)),_0x88f540<_0x26d632&&(_0x15a7ad=_0x15a7ad['slice'](_0x26d632-_0x88f540)),_0x472fd1?(_0x5bc2aa[_0x5bc2aa['length']-0x1]+=_0x15a7ad,_0x472fd1=!0x1):_0x5bc2aa['push'](_0x15a7ad)),_0x88f540=_0x31588d+0x1;}return _0x5bc2aa;}function _0xe0f733(_0x3aaf6b,_0xe53727,_0x101412){return _0x41789e(_0x3aaf6b,[''],_0xe53727,_0x101412);}_0x3de5aa['empty']=new _0x1bf4dc([''],0x0);var _0x319163=class{constructor(_0x1b0db,_0x54b8be=0x1){this['dir']=_0x54b8be,this['done']=!0x1,this['lineBreak']=!0x1,this['value']='',this['nodes']=[_0x1b0db],this['offsets']=[_0x54b8be>0x0?0x1:(_0x1b0db instanceof _0x1bf4dc?_0x1b0db['text']['length']:_0x1b0db['children']['length'])<<0x1];}['nextInner'](_0x4cda09,_0x24eef3){for(this['done']=this['lineBreak']=!0x1;;){let _0x239ea4=this['nodes']['length']-0x1,_0x3f48fa=this['nodes'][_0x239ea4],_0x9d7f5e=this['offsets'][_0x239ea4],_0x34c835=_0x9d7f5e>>0x1,_0x2243d0=_0x3f48fa instanceof _0x1bf4dc?_0x3f48fa['text']['length']:_0x3f48fa['children']['length'];if(_0x34c835==(_0x24eef3>0x0?_0x2243d0:0x0)){if(0x0==_0x239ea4)return this['done']=!0x0,this['value']='',this;_0x24eef3>0x0&&this['offsets'][_0x239ea4-0x1]++,this['nodes']['pop'](),this['offsets']['pop']();}else{if((0x1&_0x9d7f5e)==(_0x24eef3>0x0?0x0:0x1)){if(this['offsets'][_0x239ea4]+=_0x24eef3,0x0==_0x4cda09)return this['lineBreak']=!0x0,this['value']='\x0a',this;_0x4cda09--;}else{if(_0x3f48fa instanceof _0x1bf4dc){let _0x45cfbc=_0x3f48fa['text'][_0x34c835+(_0x24eef3<0x0?-0x1:0x0)];if(this['offsets'][_0x239ea4]+=_0x24eef3,_0x45cfbc['length']>Math['max'](0x0,_0x4cda09))return this['value']=0x0==_0x4cda09?_0x45cfbc:_0x24eef3>0x0?_0x45cfbc['slice'](_0x4cda09):_0x45cfbc['slice'](0x0,_0x45cfbc['length']-_0x4cda09),this;_0x4cda09-=_0x45cfbc['length'];}else{let _0x1886d0=_0x3f48fa['children'][_0x34c835+(_0x24eef3<0x0?-0x1:0x0)];_0x4cda09>_0x1886d0['length']?(_0x4cda09-=_0x1886d0['length'],this['offsets'][_0x239ea4]+=_0x24eef3):(_0x24eef3<0x0&&this['offsets'][_0x239ea4]--,this['nodes']['push'](_0x1886d0),this['offsets']['push'](_0x24eef3>0x0?0x1:(_0x1886d0 instanceof _0x1bf4dc?_0x1886d0['text']['length']:_0x1886d0['children']['length'])<<0x1));}}}}}['next'](_0x33d446=0x0){return _0x33d446<0x0&&(this['nextInner'](-_0x33d446,-this['dir']),_0x33d446=this['value']['length']),this['nextInner'](_0x33d446,this['dir']);}},_0x179783=class{constructor(_0x25ccab,_0x5e137d,_0x46a2c0){this['value']='',this['done']=!0x1,this['cursor']=new _0x319163(_0x25ccab,_0x5e137d>_0x46a2c0?-0x1:0x1),this['pos']=_0x5e137d>_0x46a2c0?_0x25ccab['length']:0x0,this['from']=Math['min'](_0x5e137d,_0x46a2c0),this['to']=Math['max'](_0x5e137d,_0x46a2c0);}['nextInner'](_0x510e9f,_0x35bd49){if(_0x35bd49<0x0?this['pos']<=this['from']:this['pos']>=this['to'])return this['value']='',this['done']=!0x0,this;_0x510e9f+=Math['max'](0x0,_0x35bd49<0x0?this['pos']-this['to']:this['from']-this['pos']);let _0x3a929e=_0x35bd49<0x0?this['pos']-this['from']:this['to']-this['pos'];_0x510e9f>_0x3a929e&&(_0x510e9f=_0x3a929e),_0x3a929e-=_0x510e9f;let {value:_0x48f0f0}=this['cursor']['next'](_0x510e9f);return this['pos']+=(_0x48f0f0['length']+_0x510e9f)*_0x35bd49,this['value']=_0x48f0f0['length']<=_0x3a929e?_0x48f0f0:_0x35bd49<0x0?_0x48f0f0['slice'](_0x48f0f0['length']-_0x3a929e):_0x48f0f0['slice'](0x0,_0x3a929e),this['done']=!this['value'],this;}['next'](_0x468538=0x0){return _0x468538<0x0?_0x468538=Math['max'](_0x468538,this['from']-this['pos']):_0x468538>0x0&&(_0x468538=Math['min'](_0x468538,this['to']-this['pos'])),this['nextInner'](_0x468538,this['cursor']['dir']);}get['lineBreak'](){return this['cursor']['lineBreak']&&''!=this['value'];}},_0x118b13=class{constructor(_0x10f6f3){this['inner']=_0x10f6f3,this['afterBreak']=!0x0,this['value']='',this['done']=!0x1;}['next'](_0x23981a=0x0){let {done:_0x162d1c,lineBreak:_0x3217fc,value:_0x3fd587}=this['inner']['next'](_0x23981a);return _0x162d1c&&this['afterBreak']?(this['value']='',this['afterBreak']=!0x1):_0x162d1c?(this['done']=!0x0,this['value']=''):_0x3217fc?this['afterBreak']?this['value']='':(this['afterBreak']=!0x0,this['next']()):(this['value']=_0x3fd587,this['afterBreak']=!0x1),this;}get['lineBreak'](){return!0x1;}};'undefined'!=typeof Symbol&&(_0x3de5aa['prototype'][Symbol['iterator']]=function(){return this['iter']();},_0x319163['prototype'][Symbol['iterator']]=_0x179783['prototype'][Symbol['iterator']]=_0x118b13['prototype'][Symbol['iterator']]=function(){return this;});var _0x5585de=class{constructor(_0x1f9f0d,_0x152b9d,_0x54423d,_0x4ca060){this['from']=_0x1f9f0d,this['to']=_0x152b9d,this['number']=_0x54423d,this['text']=_0x4ca060;}get['length'](){return this['to']-this['from'];}};function _0x3ca766(_0x1628d5,_0x55bb26,_0x4b0d10){return[_0x55bb26=Math['max'](0x0,Math['min'](_0x1628d5['length'],_0x55bb26)),Math['max'](_0x55bb26,Math['min'](_0x1628d5['length'],_0x4b0d10))];}function _0x4b59d4(_0x47c261,_0x28ece5,_0x393136=!0x0,_0x810bed=!0x0){return _0x546fc6(_0x47c261,_0x28ece5,_0x393136,_0x810bed);}function _0x3d5bb6(_0x326b75,_0x49450e){let _0x17032c=_0x326b75['charCodeAt'](_0x49450e);if(!(_0x430053=_0x17032c,_0x430053>=0xd800&&_0x430053<0xdc00&&_0x49450e+0x1!=_0x326b75['length']))return _0x17032c;var _0x430053;let _0x1c292f=_0x326b75['charCodeAt'](_0x49450e+0x1);return function(_0xc2a788){return _0xc2a788>=0xdc00&&_0xc2a788<0xe000;}(_0x1c292f)?_0x1c292f-0xdc00+(_0x17032c-0xd800<<0xa)+0x10000:_0x17032c;}function _0x268183(_0x432605){return _0x432605<=0xffff?String['fromCharCode'](_0x432605):(_0x432605-=0x10000,String['fromCharCode'](0xd800+(_0x432605>>0xa),0xdc00+(0x3ff&_0x432605)));}function _0x6db7fc(_0x21e197){return _0x21e197<0x10000?0x1:0x2;}const _0x12dac0=/\r\n?|\n/;var _0x473ae9=function(_0x2fd5aa){return _0x2fd5aa[_0x2fd5aa['Simple']=0x0]='Simple',_0x2fd5aa[_0x2fd5aa['TrackDel']=0x1]='TrackDel',_0x2fd5aa[_0x2fd5aa['TrackBefore']=0x2]='TrackBefore',_0x2fd5aa[_0x2fd5aa['TrackAfter']=0x3]='TrackAfter',_0x2fd5aa;}(_0x473ae9||(_0x473ae9={})),_0xac57ff=class _0x3e5d2f{constructor(_0x306c58){this['sections']=_0x306c58;}get['length'](){let _0x1c88ab=0x0;for(let _0x5b6860=0x0;_0x5b6860<this['sections']['length'];_0x5b6860+=0x2)_0x1c88ab+=this['sections'][_0x5b6860];return _0x1c88ab;}get['newLength'](){let _0x4fe5d8=0x0;for(let _0x2ed972=0x0;_0x2ed972<this['sections']['length'];_0x2ed972+=0x2){let _0x9cbaa3=this['sections'][_0x2ed972+0x1];_0x4fe5d8+=_0x9cbaa3<0x0?this['sections'][_0x2ed972]:_0x9cbaa3;}return _0x4fe5d8;}get['empty'](){return 0x0==this['sections']['length']||0x2==this['sections']['length']&&this['sections'][0x1]<0x0;}['iterGaps'](_0x5d8378){for(let _0x4c9d88=0x0,_0x13f8c1=0x0,_0x4b8bb5=0x0;_0x4c9d88<this['sections']['length'];){let _0x4818da=this['sections'][_0x4c9d88++],_0x54a42a=this['sections'][_0x4c9d88++];_0x54a42a<0x0?(_0x5d8378(_0x13f8c1,_0x4b8bb5,_0x4818da),_0x4b8bb5+=_0x4818da):_0x4b8bb5+=_0x54a42a,_0x13f8c1+=_0x4818da;}}['iterChangedRanges'](_0x362dbc,_0x89b2eb=!0x1){_0x94f2a5(this,_0x362dbc,_0x89b2eb);}get['invertedDesc'](){let _0xeddfcb=[];for(let _0x451e9c=0x0;_0x451e9c<this['sections']['length'];){let _0x25ba51=this['sections'][_0x451e9c++],_0x213b43=this['sections'][_0x451e9c++];_0x213b43<0x0?_0xeddfcb['push'](_0x25ba51,_0x213b43):_0xeddfcb['push'](_0x213b43,_0x25ba51);}return new _0x3e5d2f(_0xeddfcb);}['composeDesc'](_0x2d7248){return this['empty']?_0x2d7248:_0x2d7248['empty']?this:_0x4cffff(this,_0x2d7248);}['mapDesc'](_0x526a05,_0x178be3=!0x1){return _0x526a05['empty']?this:_0x2e2bd5(this,_0x526a05,_0x178be3);}['mapPos'](_0x3448ef,_0x52754=-0x1,_0x425d28=_0x473ae9['Simple']){let _0x12a448=0x0,_0x4071dc=0x0;for(let _0x1ac27b=0x0;_0x1ac27b<this['sections']['length'];){let _0x1e4c49=this['sections'][_0x1ac27b++],_0x4306cd=this['sections'][_0x1ac27b++],_0x2f3c3a=_0x12a448+_0x1e4c49;if(_0x4306cd<0x0){if(_0x2f3c3a>_0x3448ef)return _0x4071dc+(_0x3448ef-_0x12a448);_0x4071dc+=_0x1e4c49;}else{if(_0x425d28!=_0x473ae9['Simple']&&_0x2f3c3a>=_0x3448ef&&(_0x425d28==_0x473ae9['TrackDel']&&_0x12a448<_0x3448ef&&_0x2f3c3a>_0x3448ef||_0x425d28==_0x473ae9['TrackBefore']&&_0x12a448<_0x3448ef||_0x425d28==_0x473ae9['TrackAfter']&&_0x2f3c3a>_0x3448ef))return null;if(_0x2f3c3a>_0x3448ef||_0x2f3c3a==_0x3448ef&&_0x52754<0x0&&!_0x1e4c49)return _0x3448ef==_0x12a448||_0x52754<0x0?_0x4071dc:_0x4071dc+_0x4306cd;_0x4071dc+=_0x4306cd;}_0x12a448=_0x2f3c3a;}if(_0x3448ef>_0x12a448)throw new RangeError('Position\x20'+_0x3448ef+'\x20is\x20out\x20of\x20range\x20for\x20changeset\x20of\x20length\x20'+_0x12a448);return _0x4071dc;}['touchesRange'](_0x1933b6,_0x3e0425=_0x1933b6){for(let _0x4614c1=0x0,_0x2130e2=0x0;_0x4614c1<this['sections']['length']&&_0x2130e2<=_0x3e0425;){let _0x434ab0=_0x2130e2+this['sections'][_0x4614c1++];if(this['sections'][_0x4614c1++]>=0x0&&_0x2130e2<=_0x3e0425&&_0x434ab0>=_0x1933b6)return!(_0x2130e2<_0x1933b6&&_0x434ab0>_0x3e0425)||'cover';_0x2130e2=_0x434ab0;}return!0x1;}['toString'](){let _0x898976='';for(let _0x5f09d1=0x0;_0x5f09d1<this['sections']['length'];){let _0x511cb9=this['sections'][_0x5f09d1++],_0x1b41c4=this['sections'][_0x5f09d1++];_0x898976+=(_0x898976?'\x20':'')+_0x511cb9+(_0x1b41c4>=0x0?':'+_0x1b41c4:'');}return _0x898976;}['toJSON'](){return this['sections'];}static['fromJSON'](_0x17d24b){if(!Array['isArray'](_0x17d24b)||_0x17d24b['length']%0x2||_0x17d24b['some'](_0x4cd2d3=>'number'!=typeof _0x4cd2d3))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeDesc');return new _0x3e5d2f(_0x17d24b);}static['create'](_0x21d7b8){return new _0x3e5d2f(_0x21d7b8);}},_0x1b9771=class ChangeSet extends _0xac57ff{constructor(_0x2b303e,_0x5538b7){super(_0x2b303e),this['inserted']=_0x5538b7;}['apply'](_0x1258a7){if(this['length']!=_0x1258a7['length'])throw new RangeError('Applying\x20change\x20set\x20to\x20a\x20document\x20with\x20the\x20wrong\x20length');return _0x94f2a5(this,(_0x191269,_0x34df61,_0x1b31ba,_0x1ff8f1,_0x55f9f0)=>_0x1258a7=_0x1258a7['replace'](_0x1b31ba,_0x1b31ba+(_0x34df61-_0x191269),_0x55f9f0),!0x1),_0x1258a7;}['mapDesc'](_0x1ebd65,_0x5977f7=!0x1){return _0x2e2bd5(this,_0x1ebd65,_0x5977f7,!0x0);}['invert'](_0x5ed106){let _0x5007fc=this['sections']['slice'](),_0x4997fe=[];for(let _0x246ec1=0x0,_0x392455=0x0;_0x246ec1<_0x5007fc['length'];_0x246ec1+=0x2){let _0x5f4383=_0x5007fc[_0x246ec1],_0x32f0ec=_0x5007fc[_0x246ec1+0x1];if(_0x32f0ec>=0x0){_0x5007fc[_0x246ec1]=_0x32f0ec,_0x5007fc[_0x246ec1+0x1]=_0x5f4383;let _0x49805a=_0x246ec1>>0x1;for(;_0x4997fe['length']<_0x49805a;)_0x4997fe['push'](_0x3de5aa['empty']);_0x4997fe['push'](_0x5f4383?_0x5ed106['slice'](_0x392455,_0x392455+_0x5f4383):_0x3de5aa['empty']);}_0x392455+=_0x5f4383;}return new ChangeSet(_0x5007fc,_0x4997fe);}['compose'](_0x1a6a99){return this['empty']?_0x1a6a99:_0x1a6a99['empty']?this:_0x4cffff(this,_0x1a6a99,!0x0);}['map'](_0x14c11b,_0x21ff4f=!0x1){return _0x14c11b['empty']?this:_0x2e2bd5(this,_0x14c11b,_0x21ff4f,!0x0);}['iterChanges'](_0x4c01e7,_0x8d9945=!0x1){_0x94f2a5(this,_0x4c01e7,_0x8d9945);}get['desc'](){return _0xac57ff['create'](this['sections']);}['filter'](_0x2a2025){let _0x533da5=[],_0x24bc03=[],_0x31cf6d=[],_0x2a0d87=new _0x220fdc(this);t:for(let _0x10ffe3=0x0,_0x18b2de=0x0;;){let _0x4db48c=_0x10ffe3==_0x2a2025['length']?0x3b9aca00:_0x2a2025[_0x10ffe3++];for(;_0x18b2de<_0x4db48c||_0x18b2de==_0x4db48c&&0x0==_0x2a0d87['len'];){if(_0x2a0d87['done'])break t;let _0x52f9a7=Math['min'](_0x2a0d87['len'],_0x4db48c-_0x18b2de);_0x239440(_0x31cf6d,_0x52f9a7,-0x1);let _0x236154=-0x1==_0x2a0d87['ins']?-0x1:0x0==_0x2a0d87['off']?_0x2a0d87['ins']:0x0;_0x239440(_0x533da5,_0x52f9a7,_0x236154),_0x236154>0x0&&_0x1f555f(_0x24bc03,_0x533da5,_0x2a0d87['text']),_0x2a0d87['forward'](_0x52f9a7),_0x18b2de+=_0x52f9a7;}let _0x48bed3=_0x2a2025[_0x10ffe3++];for(;_0x18b2de<_0x48bed3;){if(_0x2a0d87['done'])break t;let _0x2ed534=Math['min'](_0x2a0d87['len'],_0x48bed3-_0x18b2de);_0x239440(_0x533da5,_0x2ed534,-0x1),_0x239440(_0x31cf6d,_0x2ed534,-0x1==_0x2a0d87['ins']?-0x1:0x0==_0x2a0d87['off']?_0x2a0d87['ins']:0x0),_0x2a0d87['forward'](_0x2ed534),_0x18b2de+=_0x2ed534;}}return{'changes':new ChangeSet(_0x533da5,_0x24bc03),'filtered':_0xac57ff['create'](_0x31cf6d)};}['toJSON'](){let _0xc45d2a=[];for(let _0x247eba=0x0;_0x247eba<this['sections']['length'];_0x247eba+=0x2){let _0x551db3=this['sections'][_0x247eba],_0x12e87a=this['sections'][_0x247eba+0x1];_0x12e87a<0x0?_0xc45d2a['push'](_0x551db3):0x0==_0x12e87a?_0xc45d2a['push']([_0x551db3]):_0xc45d2a['push']([_0x551db3]['concat'](this['inserted'][_0x247eba>>0x1]['toJSON']()));}return _0xc45d2a;}static['of'](_0x2c75d2,_0x4ec694,_0x1b3a5d){let _0x3e9291=[],_0x349b18=[],_0x334cb7=0x0,_0x2c635f=null;function _0x20ad91(_0x5124c5=!0x1){if(!_0x5124c5&&!_0x3e9291['length'])return;_0x334cb7<_0x4ec694&&_0x239440(_0x3e9291,_0x4ec694-_0x334cb7,-0x1);let _0x50d02f=new ChangeSet(_0x3e9291,_0x349b18);_0x2c635f=_0x2c635f?_0x2c635f['compose'](_0x50d02f['map'](_0x2c635f)):_0x50d02f,_0x3e9291=[],_0x349b18=[],_0x334cb7=0x0;}return function _0x3a90ad(_0x4a509c){if(Array['isArray'](_0x4a509c)){for(let _0x1c5057 of _0x4a509c)_0x3a90ad(_0x1c5057);}else{if(_0x4a509c instanceof ChangeSet){if(_0x4a509c['length']!=_0x4ec694)throw new RangeError('Mismatched\x20change\x20set\x20length\x20(got\x20'+_0x4a509c['length']+',\x20expected\x20'+_0x4ec694+')');_0x20ad91(),_0x2c635f=_0x2c635f?_0x2c635f['compose'](_0x4a509c['map'](_0x2c635f)):_0x4a509c;}else{let {from:_0x269d5a,to:_0x55788a=_0x269d5a,insert:_0x320e79}=_0x4a509c;if(_0x269d5a>_0x55788a||_0x269d5a<0x0||_0x55788a>_0x4ec694)throw new RangeError('Invalid\x20change\x20range\x20'+_0x269d5a+'\x20to\x20'+_0x55788a+'\x20(in\x20doc\x20of\x20length\x20'+_0x4ec694+')');let _0x11b854=_0x320e79?'string'==typeof _0x320e79?_0x3de5aa['of'](_0x320e79['split'](_0x1b3a5d||_0x12dac0)):_0x320e79:_0x3de5aa['empty'],_0x2cdd6d=_0x11b854['length'];if(_0x269d5a==_0x55788a&&0x0==_0x2cdd6d)return;_0x269d5a<_0x334cb7&&_0x20ad91(),_0x269d5a>_0x334cb7&&_0x239440(_0x3e9291,_0x269d5a-_0x334cb7,-0x1),_0x239440(_0x3e9291,_0x55788a-_0x269d5a,_0x2cdd6d),_0x1f555f(_0x349b18,_0x3e9291,_0x11b854),_0x334cb7=_0x55788a;}}}(_0x2c75d2),_0x20ad91(!_0x2c635f),_0x2c635f;}static['empty'](_0x46ab19){return new ChangeSet(_0x46ab19?[_0x46ab19,-0x1]:[],[]);}static['fromJSON'](_0x3252a5){if(!Array['isArray'](_0x3252a5))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');let _0x2f9aee=[],_0x143fb2=[];for(let _0x19a96a=0x0;_0x19a96a<_0x3252a5['length'];_0x19a96a++){let _0x4c5faf=_0x3252a5[_0x19a96a];if('number'==typeof _0x4c5faf)_0x2f9aee['push'](_0x4c5faf,-0x1);else{if(!Array['isArray'](_0x4c5faf)||'number'!=typeof _0x4c5faf[0x0]||_0x4c5faf['some']((_0x20eee0,_0x3115b4)=>_0x3115b4&&'string'!=typeof _0x20eee0))throw new RangeError('Invalid\x20JSON\x20representation\x20of\x20ChangeSet');if(0x1==_0x4c5faf['length'])_0x2f9aee['push'](_0x4c5faf[0x0],0x0);else{for(;_0x143fb2['length']<_0x19a96a;)_0x143fb2['push'](_0x3de5aa['empty']);_0x143fb2[_0x19a96a]=_0x3de5aa['of'](_0x4c5faf['slice'](0x1)),_0x2f9aee['push'](_0x4c5faf[0x0],_0x143fb2[_0x19a96a]['length']);}}}return new ChangeSet(_0x2f9aee,_0x143fb2);}static['createSet'](_0x1c96ef,_0x261791){return new ChangeSet(_0x1c96ef,_0x261791);}};function _0x239440(_0x46f02e,_0x421f54,_0x507dab,_0x422633=!0x1){if(0x0==_0x421f54&&_0x507dab<=0x0)return;let _0x47402d=_0x46f02e['length']-0x2;_0x47402d>=0x0&&_0x507dab<=0x0&&_0x507dab==_0x46f02e[_0x47402d+0x1]?_0x46f02e[_0x47402d]+=_0x421f54:_0x47402d>=0x0&&0x0==_0x421f54&&0x0==_0x46f02e[_0x47402d]?_0x46f02e[_0x47402d+0x1]+=_0x507dab:_0x422633?(_0x46f02e[_0x47402d]+=_0x421f54,_0x46f02e[_0x47402d+0x1]+=_0x507dab):_0x46f02e['push'](_0x421f54,_0x507dab);}function _0x1f555f(_0x4d231a,_0x413a6f,_0x274c79){if(0x0==_0x274c79['length'])return;let _0x232926=_0x413a6f['length']-0x2>>0x1;if(_0x232926<_0x4d231a['length'])_0x4d231a[_0x4d231a['length']-0x1]=_0x4d231a[_0x4d231a['length']-0x1]['append'](_0x274c79);else{for(;_0x4d231a['length']<_0x232926;)_0x4d231a['push'](_0x3de5aa['empty']);_0x4d231a['push'](_0x274c79);}}function _0x94f2a5(_0x2ca7f5,_0x2624e9,_0x4fbf20){let _0x3278e0=_0x2ca7f5['inserted'];for(let _0x317deb=0x0,_0xa32079=0x0,_0x92547d=0x0;_0x92547d<_0x2ca7f5['sections']['length'];){let _0x14619e=_0x2ca7f5['sections'][_0x92547d++],_0x5d922e=_0x2ca7f5['sections'][_0x92547d++];if(_0x5d922e<0x0)_0x317deb+=_0x14619e,_0xa32079+=_0x14619e;else{let _0x5f5c7e=_0x317deb,_0x41ce61=_0xa32079,_0x56c6bc=_0x3de5aa['empty'];for(;_0x5f5c7e+=_0x14619e,_0x41ce61+=_0x5d922e,_0x5d922e&&_0x3278e0&&(_0x56c6bc=_0x56c6bc['append'](_0x3278e0[_0x92547d-0x2>>0x1])),!(_0x4fbf20||_0x92547d==_0x2ca7f5['sections']['length']||_0x2ca7f5['sections'][_0x92547d+0x1]<0x0);)_0x14619e=_0x2ca7f5['sections'][_0x92547d++],_0x5d922e=_0x2ca7f5['sections'][_0x92547d++];_0x2624e9(_0x317deb,_0x5f5c7e,_0xa32079,_0x41ce61,_0x56c6bc),_0x317deb=_0x5f5c7e,_0xa32079=_0x41ce61;}}}function _0x2e2bd5(_0xdf7e96,_0x5c9332,_0x1ca103,_0x40c00b=!0x1){let _0x140c0b=[],_0x4fa685=_0x40c00b?[]:null,_0x29a7d0=new _0x220fdc(_0xdf7e96),_0x3f8af1=new _0x220fdc(_0x5c9332);for(let _0x1a30cc=-0x1;;){if(_0x29a7d0['done']&&_0x3f8af1['len']||_0x3f8af1['done']&&_0x29a7d0['len'])throw new Error('Mismatched\x20change\x20set\x20lengths');if(-0x1==_0x29a7d0['ins']&&-0x1==_0x3f8af1['ins']){let _0x32b13f=Math['min'](_0x29a7d0['len'],_0x3f8af1['len']);_0x239440(_0x140c0b,_0x32b13f,-0x1),_0x29a7d0['forward'](_0x32b13f),_0x3f8af1['forward'](_0x32b13f);}else{if(_0x3f8af1['ins']>=0x0&&(_0x29a7d0['ins']<0x0||_0x1a30cc==_0x29a7d0['i']||0x0==_0x29a7d0['off']&&(_0x3f8af1['len']<_0x29a7d0['len']||_0x3f8af1['len']==_0x29a7d0['len']&&!_0x1ca103))){let _0x226e9a=_0x3f8af1['len'];for(_0x239440(_0x140c0b,_0x3f8af1['ins'],-0x1);_0x226e9a;){let _0x1719b3=Math['min'](_0x29a7d0['len'],_0x226e9a);_0x29a7d0['ins']>=0x0&&_0x1a30cc<_0x29a7d0['i']&&_0x29a7d0['len']<=_0x1719b3&&(_0x239440(_0x140c0b,0x0,_0x29a7d0['ins']),_0x4fa685&&_0x1f555f(_0x4fa685,_0x140c0b,_0x29a7d0['text']),_0x1a30cc=_0x29a7d0['i']),_0x29a7d0['forward'](_0x1719b3),_0x226e9a-=_0x1719b3;}_0x3f8af1['next']();}else{if(!(_0x29a7d0['ins']>=0x0)){if(_0x29a7d0['done']&&_0x3f8af1['done'])return _0x4fa685?_0x1b9771['createSet'](_0x140c0b,_0x4fa685):_0xac57ff['create'](_0x140c0b);throw new Error('Mismatched\x20change\x20set\x20lengths');}{let _0x379565=0x0,_0x5194d0=_0x29a7d0['len'];for(;_0x5194d0;)if(-0x1==_0x3f8af1['ins']){let _0x4db366=Math['min'](_0x5194d0,_0x3f8af1['len']);_0x379565+=_0x4db366,_0x5194d0-=_0x4db366,_0x3f8af1['forward'](_0x4db366);}else{if(!(0x0==_0x3f8af1['ins']&&_0x3f8af1['len']<_0x5194d0))break;_0x5194d0-=_0x3f8af1['len'],_0x3f8af1['next']();}_0x239440(_0x140c0b,_0x379565,_0x1a30cc<_0x29a7d0['i']?_0x29a7d0['ins']:0x0),_0x4fa685&&_0x1a30cc<_0x29a7d0['i']&&_0x1f555f(_0x4fa685,_0x140c0b,_0x29a7d0['text']),_0x1a30cc=_0x29a7d0['i'],_0x29a7d0['forward'](_0x29a7d0['len']-_0x5194d0);}}}}}function _0x4cffff(_0x404056,_0x4d62fb,_0x42d2f6=!0x1){let _0x378245=[],_0x3f51aa=_0x42d2f6?[]:null,_0x1d8b6a=new _0x220fdc(_0x404056),_0x243155=new _0x220fdc(_0x4d62fb);for(let _0xce349f=!0x1;;){if(_0x1d8b6a['done']&&_0x243155['done'])return _0x3f51aa?_0x1b9771['createSet'](_0x378245,_0x3f51aa):_0xac57ff['create'](_0x378245);if(0x0==_0x1d8b6a['ins'])_0x239440(_0x378245,_0x1d8b6a['len'],0x0,_0xce349f),_0x1d8b6a['next']();else{if(0x0!=_0x243155['len']||_0x243155['done']){if(_0x1d8b6a['done']||_0x243155['done'])throw new Error('Mismatched\x20change\x20set\x20lengths');{let _0x24acb3=Math['min'](_0x1d8b6a['len2'],_0x243155['len']),_0x10bd78=_0x378245['length'];if(-0x1==_0x1d8b6a['ins']){let _0x688cb7=-0x1==_0x243155['ins']?-0x1:_0x243155['off']?0x0:_0x243155['ins'];_0x239440(_0x378245,_0x24acb3,_0x688cb7,_0xce349f),_0x3f51aa&&_0x688cb7&&_0x1f555f(_0x3f51aa,_0x378245,_0x243155['text']);}else-0x1==_0x243155['ins']?(_0x239440(_0x378245,_0x1d8b6a['off']?0x0:_0x1d8b6a['len'],_0x24acb3,_0xce349f),_0x3f51aa&&_0x1f555f(_0x3f51aa,_0x378245,_0x1d8b6a['textBit'](_0x24acb3))):(_0x239440(_0x378245,_0x1d8b6a['off']?0x0:_0x1d8b6a['len'],_0x243155['off']?0x0:_0x243155['ins'],_0xce349f),_0x3f51aa&&!_0x243155['off']&&_0x1f555f(_0x3f51aa,_0x378245,_0x243155['text']));_0xce349f=(_0x1d8b6a['ins']>_0x24acb3||_0x243155['ins']>=0x0&&_0x243155['len']>_0x24acb3)&&(_0xce349f||_0x378245['length']>_0x10bd78),_0x1d8b6a['forward2'](_0x24acb3),_0x243155['forward'](_0x24acb3);}}else _0x239440(_0x378245,0x0,_0x243155['ins'],_0xce349f),_0x3f51aa&&_0x1f555f(_0x3f51aa,_0x378245,_0x243155['text']),_0x243155['next']();}}}var _0x220fdc=class{constructor(_0x31ca2a){this['set']=_0x31ca2a,this['i']=0x0,this['next']();}['next'](){let {sections:_0x7ba69}=this['set'];this['i']<_0x7ba69['length']?(this['len']=_0x7ba69[this['i']++],this['ins']=_0x7ba69[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:_0xfe5826}=this['set'],_0x17a69a=this['i']-0x2>>0x1;return _0x17a69a>=_0xfe5826['length']?_0x3de5aa['empty']:_0xfe5826[_0x17a69a];}['textBit'](_0x40d985){let {inserted:_0x32920b}=this['set'],_0x4b68b2=this['i']-0x2>>0x1;return _0x4b68b2>=_0x32920b['length']&&!_0x40d985?_0x3de5aa['empty']:_0x32920b[_0x4b68b2]['slice'](this['off'],null==_0x40d985?void 0x0:this['off']+_0x40d985);}['forward'](_0x3b1f84){_0x3b1f84==this['len']?this['next']():(this['len']-=_0x3b1f84,this['off']+=_0x3b1f84);}['forward2'](_0x31d3ff){-0x1==this['ins']?this['forward'](_0x31d3ff):_0x31d3ff==this['ins']?this['next']():(this['ins']-=_0x31d3ff,this['off']+=_0x31d3ff);}},_0xd3528e=class SelectionRange{constructor(_0x54457d,_0x3dec67,_0x3eb8df){this['from']=_0x54457d,this['to']=_0x3dec67,this['flags']=_0x3eb8df;}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 _0x551a9a=0x7&this['flags'];return 0x7==_0x551a9a?null:_0x551a9a;}get['goalColumn'](){let _0x48b372=this['flags']>>0x6;return 0xffffff==_0x48b372?void 0x0:_0x48b372;}['map'](_0x316bee,_0x54161a=-0x1){let _0x29438f,_0x1a9099;return this['empty']?_0x29438f=_0x1a9099=_0x316bee['mapPos'](this['from'],_0x54161a):(_0x29438f=_0x316bee['mapPos'](this['from'],0x1),_0x1a9099=_0x316bee['mapPos'](this['to'],-0x1)),_0x29438f==this['from']&&_0x1a9099==this['to']?this:new SelectionRange(_0x29438f,_0x1a9099,this['flags']);}['extend'](_0x2b1d63,_0x495673=_0x2b1d63,_0x2ea135=0x0){if(_0x2b1d63<=this['anchor']&&_0x495673>=this['anchor'])return _0x152831['range'](_0x2b1d63,_0x495673,void 0x0,void 0x0,_0x2ea135);let _0x1edeff=Math['abs'](_0x2b1d63-this['anchor'])>Math['abs'](_0x495673-this['anchor'])?_0x2b1d63:_0x495673;return _0x152831['range'](this['anchor'],_0x1edeff,void 0x0,void 0x0,_0x2ea135);}['eq'](_0x43ff8f,_0x3c9762=!0x1){return!(this['anchor']!=_0x43ff8f['anchor']||this['head']!=_0x43ff8f['head']||this['goalColumn']!=_0x43ff8f['goalColumn']||_0x3c9762&&this['empty']&&this['assoc']!=_0x43ff8f['assoc']);}['toJSON'](){return{'anchor':this['anchor'],'head':this['head']};}static['fromJSON'](_0x4f5353){if(!_0x4f5353||'number'!=typeof _0x4f5353['anchor']||'number'!=typeof _0x4f5353['head'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20SelectionRange');return _0x152831['range'](_0x4f5353['anchor'],_0x4f5353['head']);}static['create'](_0x238e32,_0x2ed40a,_0x4aa7b1){return new SelectionRange(_0x238e32,_0x2ed40a,_0x4aa7b1);}},_0x152831=class EditorSelection{constructor(_0x463fe0,_0x1f4955){this['ranges']=_0x463fe0,this['mainIndex']=_0x1f4955;}['map'](_0x18f828,_0x5ecf25=-0x1){return _0x18f828['empty']?this:EditorSelection['create'](this['ranges']['map'](_0x23f489=>_0x23f489['map'](_0x18f828,_0x5ecf25)),this['mainIndex']);}['eq'](_0x5ded1c,_0x4bafa1=!0x1){if(this['ranges']['length']!=_0x5ded1c['ranges']['length']||this['mainIndex']!=_0x5ded1c['mainIndex'])return!0x1;for(let _0x2d193e=0x0;_0x2d193e<this['ranges']['length'];_0x2d193e++)if(!this['ranges'][_0x2d193e]['eq'](_0x5ded1c['ranges'][_0x2d193e],_0x4bafa1))return!0x1;return!0x0;}get['main'](){return this['ranges'][this['mainIndex']];}['asSingle'](){return 0x1==this['ranges']['length']?this:new EditorSelection([this['main']],0x0);}['addRange'](_0x579175,_0x15242b=!0x0){return EditorSelection['create']([_0x579175]['concat'](this['ranges']),_0x15242b?0x0:this['mainIndex']+0x1);}['replaceRange'](_0x4cd2de,_0x4bd950=this['mainIndex']){let _0x32e885=this['ranges']['slice']();return _0x32e885[_0x4bd950]=_0x4cd2de,EditorSelection['create'](_0x32e885,this['mainIndex']);}['toJSON'](){return{'ranges':this['ranges']['map'](_0x30b677=>_0x30b677['toJSON']()),'main':this['mainIndex']};}static['fromJSON'](_0x27009a){if(!_0x27009a||!Array['isArray'](_0x27009a['ranges'])||'number'!=typeof _0x27009a['main']||_0x27009a['main']>=_0x27009a['ranges']['length'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorSelection');return new EditorSelection(_0x27009a['ranges']['map'](_0x3e386f=>_0xd3528e['fromJSON'](_0x3e386f)),_0x27009a['main']);}static['single'](_0x22bb60,_0x1c85a7=_0x22bb60){return new EditorSelection([EditorSelection['range'](_0x22bb60,_0x1c85a7)],0x0);}static['create'](_0x10abb3,_0x58eb99=0x0){if(0x0==_0x10abb3['length'])throw new RangeError('A\x20selection\x20needs\x20at\x20least\x20one\x20range');for(let _0x42417a=0x0,_0x24e506=0x0;_0x24e506<_0x10abb3['length'];_0x24e506++){let _0x815e6e=_0x10abb3[_0x24e506];if(_0x815e6e['empty']?_0x815e6e['from']<=_0x42417a:_0x815e6e['from']<_0x42417a)return EditorSelection['normalized'](_0x10abb3['slice'](),_0x58eb99);_0x42417a=_0x815e6e['to'];}return new EditorSelection(_0x10abb3,_0x58eb99);}static['cursor'](_0x10ad14,_0x3a4c0c=0x0,_0x293455,_0x275a0d){return _0xd3528e['create'](_0x10ad14,_0x10ad14,(0x0==_0x3a4c0c?0x0:_0x3a4c0c<0x0?0x8:0x10)|(null==_0x293455?0x7:Math['min'](0x6,_0x293455))|(null!=_0x275a0d?_0x275a0d:0xffffff)<<0x6);}static['range'](_0x526321,_0x58f76b,_0xf1917d,_0x7a59ab,_0xea4e45){let _0x1a1763=(null!=_0xf1917d?_0xf1917d:0xffffff)<<0x6|(null==_0x7a59ab?0x7:Math['min'](0x6,_0x7a59ab));return _0xea4e45||_0x526321==_0x58f76b||(_0xea4e45=_0x58f76b<_0x526321?0x1:-0x1),_0x58f76b<_0x526321?_0xd3528e['create'](_0x58f76b,_0x526321,0x30|_0x1a1763):_0xd3528e['create'](_0x526321,_0x58f76b,(_0xea4e45?_0xea4e45<0x0?0x8:0x10:0x0)|_0x1a1763);}static['normalized'](_0x21e776,_0x573012=0x0){let _0x43630a=_0x21e776[_0x573012];_0x21e776['sort']((_0x55573e,_0x241378)=>_0x55573e['from']-_0x241378['from']),_0x573012=_0x21e776['indexOf'](_0x43630a);for(let _0x1b6074=0x1;_0x1b6074<_0x21e776['length'];_0x1b6074++){let _0xf162e0=_0x21e776[_0x1b6074],_0x3e1c46=_0x21e776[_0x1b6074-0x1];if(_0xf162e0['empty']?_0xf162e0['from']<=_0x3e1c46['to']:_0xf162e0['from']<_0x3e1c46['to']){let _0x210a0a=_0x3e1c46['from'],_0x1d167d=Math['max'](_0xf162e0['to'],_0x3e1c46['to']);_0x1b6074<=_0x573012&&_0x573012--,_0x21e776['splice'](--_0x1b6074,0x2,_0xf162e0['anchor']>_0xf162e0['head']?EditorSelection['range'](_0x1d167d,_0x210a0a):EditorSelection['range'](_0x210a0a,_0x1d167d));}}return new EditorSelection(_0x21e776,_0x573012);}};function _0x11ea42(_0x12d0bd,_0x1409ab){for(let _0x5d66ae of _0x12d0bd['ranges'])if(_0x5d66ae['to']>_0x1409ab)throw new RangeError('Selection\x20points\x20outside\x20of\x20document');}let _0x3b1496=0x0;var _0x17b3ea=class Facet{constructor(_0x328645,_0x16eda2,_0xbe551e,_0x5e1110,_0x54b046){this['combine']=_0x328645,this['compareInput']=_0x16eda2,this['compare']=_0xbe551e,this['isStatic']=_0x5e1110,this['id']=_0x3b1496++,this['default']=_0x328645([]),this['extensions']='function'==typeof _0x54b046?_0x54b046(this):_0x54b046;}get['reader'](){return this;}static['define'](_0x474bb3={}){return new Facet(_0x474bb3['combine']||(_0x164843=>_0x164843),_0x474bb3['compareInput']||((_0x45d5ab,_0x4915df)=>_0x45d5ab===_0x4915df),_0x474bb3['compare']||(_0x474bb3['combine']?(_0x284b32,_0x377b5a)=>_0x284b32===_0x377b5a:_0x4cbe37),!!_0x474bb3['static'],_0x474bb3['enables']);}['of'](_0x548353){return new _0x27b002([],this,0x0,_0x548353);}['compute'](_0x894b1d,_0x254515){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new _0x27b002(_0x894b1d,this,0x1,_0x254515);}['computeN'](_0x439fe4,_0x456c7f){if(this['isStatic'])throw new Error('Can\x27t\x20compute\x20a\x20static\x20facet');return new _0x27b002(_0x439fe4,this,0x2,_0x456c7f);}['from'](_0x4f0d44,_0x501971){return _0x501971||(_0x501971=_0x276cae=>_0x276cae),this['compute']([_0x4f0d44],_0x5c27af=>_0x501971(_0x5c27af['field'](_0x4f0d44)));}};function _0x4cbe37(_0x523e2b,_0x57a929){return _0x523e2b==_0x57a929||_0x523e2b['length']==_0x57a929['length']&&_0x523e2b['every']((_0x30a7a2,_0x45eb4a)=>_0x30a7a2===_0x57a929[_0x45eb4a]);}var _0x27b002=class{constructor(_0x70161c,_0x15f6a7,_0x2812e6,_0x209967){this['dependencies']=_0x70161c,this['facet']=_0x15f6a7,this['type']=_0x2812e6,this['value']=_0x209967,this['id']=_0x3b1496++;}['dynamicSlot'](_0x23f2df){var _0x5e8bc5;let _0x498461=this['value'],_0x236b2d=this['facet']['compareInput'],_0x203fc6=this['id'],_0x584df2=_0x23f2df[_0x203fc6]>>0x1,_0x3736eb=0x2==this['type'],_0x3397cb=!0x1,_0x92da35=!0x1,_0x48e73e=[];for(let _0x3b826c of this['dependencies'])'doc'==_0x3b826c?_0x3397cb=!0x0:'selection'==_0x3b826c?_0x92da35=!0x0:0x1&(null!==(_0x5e8bc5=_0x23f2df[_0x3b826c['id']])&&void 0x0!==_0x5e8bc5?_0x5e8bc5:0x1)||_0x48e73e['push'](_0x23f2df[_0x3b826c['id']]);return{'create':_0x19cc0a=>(_0x19cc0a['values'][_0x584df2]=_0x498461(_0x19cc0a),0x1),'update'(_0x4c15f1,_0x49c243){if(_0x3397cb&&_0x49c243['docChanged']||_0x92da35&&(_0x49c243['docChanged']||_0x49c243['selection'])||_0x2df924(_0x4c15f1,_0x48e73e)){let _0x422c82=_0x498461(_0x4c15f1);if(_0x3736eb?!_0x238f04(_0x422c82,_0x4c15f1['values'][_0x584df2],_0x236b2d):!_0x236b2d(_0x422c82,_0x4c15f1['values'][_0x584df2]))return _0x4c15f1['values'][_0x584df2]=_0x422c82,0x1;}return 0x0;},'reconfigure':(_0x28ad55,_0x404bbe)=>{let _0x58933d,_0x4e1b03=_0x404bbe['config']['address'][_0x203fc6];if(null!=_0x4e1b03){let _0x4aa4c7=_0x283c23(_0x404bbe,_0x4e1b03);if(this['dependencies']['every'](_0x1fce61=>_0x1fce61 instanceof _0x17b3ea?_0x404bbe['facet'](_0x1fce61)===_0x28ad55['facet'](_0x1fce61):!(_0x1fce61 instanceof _0x2bf5e0)||_0x404bbe['field'](_0x1fce61,!0x1)==_0x28ad55['field'](_0x1fce61,!0x1))||(_0x3736eb?_0x238f04(_0x58933d=_0x498461(_0x28ad55),_0x4aa4c7,_0x236b2d):_0x236b2d(_0x58933d=_0x498461(_0x28ad55),_0x4aa4c7)))return _0x28ad55['values'][_0x584df2]=_0x4aa4c7,0x0;}else _0x58933d=_0x498461(_0x28ad55);return _0x28ad55['values'][_0x584df2]=_0x58933d,0x1;}};}};function _0x238f04(_0x26ca40,_0x51e4d6,_0x16e406){if(_0x26ca40['length']!=_0x51e4d6['length'])return!0x1;for(let _0x18a096=0x0;_0x18a096<_0x26ca40['length'];_0x18a096++)if(!_0x16e406(_0x26ca40[_0x18a096],_0x51e4d6[_0x18a096]))return!0x1;return!0x0;}function _0x2df924(_0x8fcec5,_0x5706d3){let _0x5c8e3d=!0x1;for(let _0x366c52 of _0x5706d3)0x1&_0x200ef5(_0x8fcec5,_0x366c52)&&(_0x5c8e3d=!0x0);return _0x5c8e3d;}function _0xd4bb02(_0x3a6aa3,_0x29aaaf,_0x2be29e){let _0x1714cf=_0x2be29e['map'](_0x466e8d=>_0x3a6aa3[_0x466e8d['id']]),_0x565210=_0x2be29e['map'](_0x460265=>_0x460265['type']),_0x5ab7cf=_0x1714cf['filter'](_0x382b20=>!(0x1&_0x382b20)),_0xe24dfe=_0x3a6aa3[_0x29aaaf['id']]>>0x1;function _0x4e6d0c(_0x2f2192){let _0x1b8623=[];for(let _0xd6e315=0x0;_0xd6e315<_0x1714cf['length'];_0xd6e315++){let _0x50b373=_0x283c23(_0x2f2192,_0x1714cf[_0xd6e315]);if(0x2==_0x565210[_0xd6e315]){for(let _0x687fc6 of _0x50b373)_0x1b8623['push'](_0x687fc6);}else _0x1b8623['push'](_0x50b373);}return _0x29aaaf['combine'](_0x1b8623);}return{'create'(_0x149dc1){for(let _0x22ee83 of _0x1714cf)_0x200ef5(_0x149dc1,_0x22ee83);return _0x149dc1['values'][_0xe24dfe]=_0x4e6d0c(_0x149dc1),0x1;},'update'(_0x25866b,_0x46385a){if(!_0x2df924(_0x25866b,_0x5ab7cf))return 0x0;let _0x2b951a=_0x4e6d0c(_0x25866b);return _0x29aaaf['compare'](_0x2b951a,_0x25866b['values'][_0xe24dfe])?0x0:(_0x25866b['values'][_0xe24dfe]=_0x2b951a,0x1);},'reconfigure'(_0x16f03c,_0x7e7981){let _0x23bd71=_0x2df924(_0x16f03c,_0x1714cf),_0x19a39a=_0x7e7981['config']['facets'][_0x29aaaf['id']],_0x3bdf68=_0x7e7981['facet'](_0x29aaaf);if(_0x19a39a&&!_0x23bd71&&_0x4cbe37(_0x2be29e,_0x19a39a))return _0x16f03c['values'][_0xe24dfe]=_0x3bdf68,0x0;let _0x5adbe1=_0x4e6d0c(_0x16f03c);return _0x29aaaf['compare'](_0x5adbe1,_0x3bdf68)?(_0x16f03c['values'][_0xe24dfe]=_0x3bdf68,0x0):(_0x16f03c['values'][_0xe24dfe]=_0x5adbe1,0x1);}};}const _0x3c936b=_0x17b3ea['define']({'static':!0x0});var _0x2bf5e0=class StateField{constructor(_0x425b19,_0x5229e4,_0x1912c1,_0x11ddc5,_0x598410){this['id']=_0x425b19,this['createF']=_0x5229e4,this['updateF']=_0x1912c1,this['compareF']=_0x11ddc5,this['spec']=_0x598410,this['provides']=void 0x0;}static['define'](_0x5439a3){let _0x50e99c=new StateField(_0x3b1496++,_0x5439a3['create'],_0x5439a3['update'],_0x5439a3['compare']||((_0x564791,_0x13f6f7)=>_0x564791===_0x13f6f7),_0x5439a3);return _0x5439a3['provide']&&(_0x50e99c['provides']=_0x5439a3['provide'](_0x50e99c)),_0x50e99c;}['create'](_0x24002e){let _0xdb12a9=_0x24002e['facet'](_0x3c936b)['find'](_0x4e83f9=>_0x4e83f9['field']==this);return((null==_0xdb12a9?void 0x0:_0xdb12a9['create'])||this['createF'])(_0x24002e);}['slot'](_0x4330aa){let _0x33ca83=_0x4330aa[this['id']]>>0x1;return{'create':_0x3310eb=>(_0x3310eb['values'][_0x33ca83]=this['create'](_0x3310eb),0x1),'update':(_0x20b737,_0x1437f0)=>{let _0x3c497f=_0x20b737['values'][_0x33ca83],_0x54af80=this['updateF'](_0x3c497f,_0x1437f0);return this['compareF'](_0x3c497f,_0x54af80)?0x0:(_0x20b737['values'][_0x33ca83]=_0x54af80,0x1);},'reconfigure':(_0x11a130,_0x2a8c92)=>{let _0xcdc9a6,_0x4a69eb=_0x11a130['facet'](_0x3c936b),_0x43e007=_0x2a8c92['facet'](_0x3c936b);return(_0xcdc9a6=_0x4a69eb['find'](_0x4cdc9d=>_0x4cdc9d['field']==this))&&_0xcdc9a6!=_0x43e007['find'](_0x59bce3=>_0x59bce3['field']==this)?(_0x11a130['values'][_0x33ca83]=_0xcdc9a6['create'](_0x11a130),0x1):null!=_0x2a8c92['config']['address'][this['id']]?(_0x11a130['values'][_0x33ca83]=_0x2a8c92['field'](this),0x0):(_0x11a130['values'][_0x33ca83]=this['create'](_0x11a130),0x1);}};}['init'](_0x211020){return[this,_0x3c936b['of']({'field':this,'create':_0x211020})];}get['extension'](){return this;}};const _0x404317=0x4,_0x4c9a60=0x3,_0x3671b0=0x2,_0x2ec824=0x1;function _0x2a5983(_0x8b4ec){return _0x39540c=>new _0x7d8dcf(_0x39540c,_0x8b4ec);}const _0x74fe9f={'highest':_0x2a5983(0x0),'high':_0x2a5983(_0x2ec824),'default':_0x2a5983(_0x3671b0),'low':_0x2a5983(_0x4c9a60),'lowest':_0x2a5983(_0x404317)};var _0x7d8dcf=class{constructor(_0x3ff909,_0x3ed775){this['inner']=_0x3ff909,this['prec']=_0x3ed775;}},_0x1ffd07=class Compartment{['of'](_0x1493c9){return new _0x58e7d0(this,_0x1493c9);}['reconfigure'](_0x52bea2){return Compartment['reconfigure']['of']({'compartment':this,'extension':_0x52bea2});}['get'](_0x5535d2){return _0x5535d2['config']['compartments']['get'](this);}},_0x58e7d0=class{constructor(_0x55e859,_0xf65a09){this['compartment']=_0x55e859,this['inner']=_0xf65a09;}},_0x845c1c=class Configuration{constructor(_0x4a7bf2,_0x59cded,_0x194133,_0x1a8e48,_0x3929d4,_0x164dd5){for(this['base']=_0x4a7bf2,this['compartments']=_0x59cded,this['dynamicSlots']=_0x194133,this['address']=_0x1a8e48,this['staticValues']=_0x3929d4,this['facets']=_0x164dd5,this['statusTemplate']=[];this['statusTemplate']['length']<_0x194133['length'];)this['statusTemplate']['push'](0x0);}['staticFacet'](_0x2e4b0e){let _0x34ee6d=this['address'][_0x2e4b0e['id']];return null==_0x34ee6d?_0x2e4b0e['default']:this['staticValues'][_0x34ee6d>>0x1];}static['resolve'](_0x4ed53f,_0x16632a,_0x5aea77){let _0xbcea0d=[],_0x29e9c6=Object['create'](null),_0x546418=new Map();for(let _0x327147 of function(_0x5787d7,_0x5f8e0d,_0x3e0e92){let _0x4b81b6=[[],[],[],[],[]],_0x2b3840=new Map();function _0x26f2e0(_0x39d846,_0xa955bb){let _0x5742ed=_0x2b3840['get'](_0x39d846);if(null!=_0x5742ed){if(_0x5742ed<=_0xa955bb)return;let _0x4b337b=_0x4b81b6[_0x5742ed]['indexOf'](_0x39d846);_0x4b337b>-0x1&&_0x4b81b6[_0x5742ed]['splice'](_0x4b337b,0x1),_0x39d846 instanceof _0x58e7d0&&_0x3e0e92['delete'](_0x39d846['compartment']);}if(_0x2b3840['set'](_0x39d846,_0xa955bb),Array['isArray'](_0x39d846)){for(let _0x4806c9 of _0x39d846)_0x26f2e0(_0x4806c9,_0xa955bb);}else{if(_0x39d846 instanceof _0x58e7d0){if(_0x3e0e92['has'](_0x39d846['compartment']))throw new RangeError('Duplicate\x20use\x20of\x20compartment\x20in\x20extensions');let _0x22fbcb=_0x5f8e0d['get'](_0x39d846['compartment'])||_0x39d846['inner'];_0x3e0e92['set'](_0x39d846['compartment'],_0x22fbcb),_0x26f2e0(_0x22fbcb,_0xa955bb);}else{if(_0x39d846 instanceof _0x7d8dcf)_0x26f2e0(_0x39d846['inner'],_0x39d846['prec']);else{if(_0x39d846 instanceof _0x2bf5e0)_0x4b81b6[_0xa955bb]['push'](_0x39d846),_0x39d846['provides']&&_0x26f2e0(_0x39d846['provides'],_0xa955bb);else{if(_0x39d846 instanceof _0x27b002)_0x4b81b6[_0xa955bb]['push'](_0x39d846),_0x39d846['facet']['extensions']&&_0x26f2e0(_0x39d846['facet']['extensions'],_0x3671b0);else{let _0x4f013c=_0x39d846['extension'];if(!_0x4f013c)throw new Error('Unrecognized\x20extension\x20value\x20in\x20extension\x20set\x20('+_0x39d846+').\x20This\x20sometimes\x20happens\x20because\x20multiple\x20instances\x20of\x20@codemirror/state\x20are\x20loaded,\x20breaking\x20instanceof\x20checks.');_0x26f2e0(_0x4f013c,_0xa955bb);}}}}}}return _0x26f2e0(_0x5787d7,_0x3671b0),_0x4b81b6['reduce']((_0x387cb6,_0x53b12e)=>_0x387cb6['concat'](_0x53b12e));}(_0x4ed53f,_0x16632a,_0x546418))_0x327147 instanceof _0x2bf5e0?_0xbcea0d['push'](_0x327147):(_0x29e9c6[_0x327147['facet']['id']]||(_0x29e9c6[_0x327147['facet']['id']]=[]))['push'](_0x327147);let _0x27e06f=Object['create'](null),_0x4b80c2=[],_0x5d5646=[];for(let _0x50320d of _0xbcea0d)_0x27e06f[_0x50320d['id']]=_0x5d5646['length']<<0x1,_0x5d5646['push'](_0x40bc53=>_0x50320d['slot'](_0x40bc53));let _0x40a322=null==_0x5aea77?void 0x0:_0x5aea77['config']['facets'];for(let _0x144f98 in _0x29e9c6){let _0x13425b=_0x29e9c6[_0x144f98],_0x4e3ac5=_0x13425b[0x0]['facet'],_0x1e73a0=_0x40a322&&_0x40a322[_0x144f98]||[];if(_0x13425b['every'](_0x504e2e=>0x0==_0x504e2e['type'])){if(_0x27e06f[_0x4e3ac5['id']]=_0x4b80c2['length']<<0x1|0x1,_0x4cbe37(_0x1e73a0,_0x13425b))_0x4b80c2['push'](_0x5aea77['facet'](_0x4e3ac5));else{let _0xecf16b=_0x4e3ac5['combine'](_0x13425b['map'](_0x482a45=>_0x482a45['value']));_0x4b80c2['push'](_0x5aea77&&_0x4e3ac5['compare'](_0xecf16b,_0x5aea77['facet'](_0x4e3ac5))?_0x5aea77['facet'](_0x4e3ac5):_0xecf16b);}}else{for(let _0x4920ce of _0x13425b)0x0==_0x4920ce['type']?(_0x27e06f[_0x4920ce['id']]=_0x4b80c2['length']<<0x1|0x1,_0x4b80c2['push'](_0x4920ce['value'])):(_0x27e06f[_0x4920ce['id']]=_0x5d5646['length']<<0x1,_0x5d5646['push'](_0x1b829f=>_0x4920ce['dynamicSlot'](_0x1b829f)));_0x27e06f[_0x4e3ac5['id']]=_0x5d5646['length']<<0x1,_0x5d5646['push'](_0x49e8bd=>_0xd4bb02(_0x49e8bd,_0x4e3ac5,_0x13425b));}}return new Configuration(_0x4ed53f,_0x546418,_0x5d5646['map'](_0x15b5aa=>_0x15b5aa(_0x27e06f)),_0x27e06f,_0x4b80c2,_0x29e9c6);}};function _0x200ef5(_0x2878ca,_0x149c78){if(0x1&_0x149c78)return 0x2;let _0x48e173=_0x149c78>>0x1,_0x3ca0c4=_0x2878ca['status'][_0x48e173];if(0x4==_0x3ca0c4)throw new Error('Cyclic\x20dependency\x20between\x20fields\x20and/or\x20facets');if(0x2&_0x3ca0c4)return _0x3ca0c4;_0x2878ca['status'][_0x48e173]=0x4;let _0x51bbb0=_0x2878ca['computeSlot'](_0x2878ca,_0x2878ca['config']['dynamicSlots'][_0x48e173]);return _0x2878ca['status'][_0x48e173]=0x2|_0x51bbb0;}function _0x283c23(_0x17a687,_0x4a5edb){return 0x1&_0x4a5edb?_0x17a687['config']['staticValues'][_0x4a5edb>>0x1]:_0x17a687['values'][_0x4a5edb>>0x1];}const _0x4a8c02=_0x17b3ea['define'](),_0x42fd81=_0x17b3ea['define']({'combine':_0x2c1835=>_0x2c1835['some'](_0x4c0e57=>_0x4c0e57),'static':!0x0}),_0x42ed05=_0x17b3ea['define']({'combine':_0x5026a6=>_0x5026a6['length']?_0x5026a6[0x0]:void 0x0,'static':!0x0}),_0x2563fc=_0x17b3ea['define'](),_0x33aac4=_0x17b3ea['define'](),_0x50f388=_0x17b3ea['define'](),_0x3af51b=_0x17b3ea['define']({'combine':_0x337112=>!!_0x337112['length']&&_0x337112[0x0]});var _0x185b62=class{constructor(_0x2efa90,_0x1430bc){this['type']=_0x2efa90,this['value']=_0x1430bc;}static['define'](){return new tC();}},tC=class{['of'](_0x4b9570){return new _0x185b62(this,_0x4b9570);}},_0xa7ae87=class{constructor(_0x40f14a){this['map']=_0x40f14a;}['of'](_0xea75d3){return new _0x41e66e(this,_0xea75d3);}},_0x41e66e=class StateEffect{constructor(_0x460c41,_0x5b64a2){this['type']=_0x460c41,this['value']=_0x5b64a2;}['map'](_0x33bc32){let _0x5dec83=this['type']['map'](this['value'],_0x33bc32);return void 0x0===_0x5dec83?void 0x0:_0x5dec83==this['value']?this:new StateEffect(this['type'],_0x5dec83);}['is'](_0x23156c){return this['type']==_0x23156c;}static['define'](_0x337688={}){return new _0xa7ae87(_0x337688['map']||(_0x4aa5ab=>_0x4aa5ab));}static['mapEffects'](_0x54fff6,_0x2999a9){if(!_0x54fff6['length'])return _0x54fff6;let _0x1f671f=[];for(let _0x17c84e of _0x54fff6){let _0x469e51=_0x17c84e['map'](_0x2999a9);_0x469e51&&_0x1f671f['push'](_0x469e51);}return _0x1f671f;}};_0x41e66e['reconfigure']=_0x41e66e['define'](),_0x41e66e['appendConfig']=_0x41e66e['define']();var _0x5b5d8a=class Transaction{constructor(_0x3b977a,_0x13c35a,_0x54013c,_0x5cfca7,_0x1a7ce0,_0xb15805){this['startState']=_0x3b977a,this['changes']=_0x13c35a,this['selection']=_0x54013c,this['effects']=_0x5cfca7,this['annotations']=_0x1a7ce0,this['scrollIntoView']=_0xb15805,this['_doc']=null,this['_state']=null,_0x54013c&&_0x11ea42(_0x54013c,_0x13c35a['newLength']),_0x1a7ce0['some'](_0x56faf6=>_0x56faf6['type']==Transaction['time'])||(this['annotations']=_0x1a7ce0['concat'](Transaction['time']['of'](Date['now']())));}static['create'](_0x3ab22a,_0x31fa92,_0x5b83bc,_0xc360f9,_0x18a5ab,_0x3977cf){return new Transaction(_0x3ab22a,_0x31fa92,_0x5b83bc,_0xc360f9,_0x18a5ab,_0x3977cf);}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'](_0x321597){for(let _0x3801f8 of this['annotations'])if(_0x3801f8['type']==_0x321597)return _0x3801f8['value'];}get['docChanged'](){return!this['changes']['empty'];}get['reconfigured'](){return this['startState']['config']!=this['state']['config'];}['isUserEvent'](_0x30ecf5){let _0x4f19f3=this['annotation'](Transaction['userEvent']);return!(!_0x4f19f3||!(_0x4f19f3==_0x30ecf5||_0x4f19f3['length']>_0x30ecf5['length']&&_0x4f19f3['slice'](0x0,_0x30ecf5['length'])==_0x30ecf5&&'.'==_0x4f19f3[_0x30ecf5['length']]));}};function _0x38a631(_0x3f6648,_0x1980d2){let _0x2a50db=[];for(let _0x273d25=0x0,_0x3c7774=0x0;;){let _0x6873af,_0x3c22d4;if(_0x273d25<_0x3f6648['length']&&(_0x3c7774==_0x1980d2['length']||_0x1980d2[_0x3c7774]>=_0x3f6648[_0x273d25]))_0x6873af=_0x3f6648[_0x273d25++],_0x3c22d4=_0x3f6648[_0x273d25++];else{if(!(_0x3c7774<_0x1980d2['length']))return _0x2a50db;_0x6873af=_0x1980d2[_0x3c7774++],_0x3c22d4=_0x1980d2[_0x3c7774++];}!_0x2a50db['length']||_0x2a50db[_0x2a50db['length']-0x1]<_0x6873af?_0x2a50db['push'](_0x6873af,_0x3c22d4):_0x2a50db[_0x2a50db['length']-0x1]<_0x3c22d4&&(_0x2a50db[_0x2a50db['length']-0x1]=_0x3c22d4);}}function _0x1df6f6(_0x3e7796,_0x57efcd,_0xdad211){var _0x37bfc7;let _0x2857e8,_0x56fae9,_0x3b9555;return _0xdad211?(_0x2857e8=_0x57efcd['changes'],_0x56fae9=_0x1b9771['empty'](_0x57efcd['changes']['length']),_0x3b9555=_0x3e7796['changes']['compose'](_0x57efcd['changes'])):(_0x2857e8=_0x57efcd['changes']['map'](_0x3e7796['changes']),_0x56fae9=_0x3e7796['changes']['mapDesc'](_0x57efcd['changes'],!0x0),_0x3b9555=_0x3e7796['changes']['compose'](_0x2857e8)),{'changes':_0x3b9555,'selection':_0x57efcd['selection']?_0x57efcd['selection']['map'](_0x56fae9):null===(_0x37bfc7=_0x3e7796['selection'])||void 0x0===_0x37bfc7?void 0x0:_0x37bfc7['map'](_0x2857e8),'effects':_0x41e66e['mapEffects'](_0x3e7796['effects'],_0x2857e8)['concat'](_0x41e66e['mapEffects'](_0x57efcd['effects'],_0x56fae9)),'annotations':_0x3e7796['annotations']['length']?_0x3e7796['annotations']['concat'](_0x57efcd['annotations']):_0x57efcd['annotations'],'scrollIntoView':_0x3e7796['scrollIntoView']||_0x57efcd['scrollIntoView']};}function _0xb2794e(_0x217054,_0x33194f,_0x3b673e){let _0x41263a=_0x33194f['selection'],_0x1454f8=_0x3fa51b(_0x33194f['annotations']);return _0x33194f['userEvent']&&(_0x1454f8=_0x1454f8['concat'](_0x5b5d8a['userEvent']['of'](_0x33194f['userEvent']))),{'changes':_0x33194f['changes']instanceof _0x1b9771?_0x33194f['changes']:_0x1b9771['of'](_0x33194f['changes']||[],_0x3b673e,_0x217054['facet'](_0x42ed05)),'selection':_0x41263a&&(_0x41263a instanceof _0x152831?_0x41263a:_0x152831['single'](_0x41263a['anchor'],_0x41263a['head'])),'effects':_0x3fa51b(_0x33194f['effects']),'annotations':_0x1454f8,'scrollIntoView':!!_0x33194f['scrollIntoView']};}function _0x4d7637(_0x4004ae,_0x2a97bc,_0x571b1f){let _0x2ee780=_0xb2794e(_0x4004ae,_0x2a97bc['length']?_0x2a97bc[0x0]:{},_0x4004ae['doc']['length']);_0x2a97bc['length']&&!0x1===_0x2a97bc[0x0]['filter']&&(_0x571b1f=!0x1);for(let _0x21a5ac=0x1;_0x21a5ac<_0x2a97bc['length'];_0x21a5ac++){!0x1===_0x2a97bc[_0x21a5ac]['filter']&&(_0x571b1f=!0x1);let _0x1b36d3=!!_0x2a97bc[_0x21a5ac]['sequential'];_0x2ee780=_0x1df6f6(_0x2ee780,_0xb2794e(_0x4004ae,_0x2a97bc[_0x21a5ac],_0x1b36d3?_0x2ee780['changes']['newLength']:_0x4004ae['doc']['length']),_0x1b36d3);}let _0x3442cf=_0x5b5d8a['create'](_0x4004ae,_0x2ee780['changes'],_0x2ee780['selection'],_0x2ee780['effects'],_0x2ee780['annotations'],_0x2ee780['scrollIntoView']);return function(_0x94291a){let _0xdeddcf=_0x94291a['startState'],_0x4ae9d7=_0xdeddcf['facet'](_0x50f388),_0x18e9b6=_0x94291a;for(let _0x1cd0a0=_0x4ae9d7['length']-0x1;_0x1cd0a0>=0x0;_0x1cd0a0--){let _0x180691=_0x4ae9d7[_0x1cd0a0](_0x94291a);_0x180691&&Object['keys'](_0x180691)['length']&&(_0x18e9b6=_0x1df6f6(_0x18e9b6,_0xb2794e(_0xdeddcf,_0x180691,_0x94291a['changes']['newLength']),!0x0));}return _0x18e9b6==_0x94291a?_0x94291a:_0x5b5d8a['create'](_0xdeddcf,_0x94291a['changes'],_0x94291a['selection'],_0x18e9b6['effects'],_0x18e9b6['annotations'],_0x18e9b6['scrollIntoView']);}(_0x571b1f?function(_0x5a7399){let _0x5f170c=_0x5a7399['startState'],_0x361d2b=!0x0;for(let _0x552383 of _0x5f170c['facet'](_0x2563fc)){let _0x311499=_0x552383(_0x5a7399);if(!0x1===_0x311499){_0x361d2b=!0x1;break;}Array['isArray'](_0x311499)&&(_0x361d2b=!0x0===_0x361d2b?_0x311499:_0x38a631(_0x361d2b,_0x311499));}if(!0x0!==_0x361d2b){let _0x1fdb5c,_0x3c62b9;if(!0x1===_0x361d2b)_0x3c62b9=_0x5a7399['changes']['invertedDesc'],_0x1fdb5c=_0x1b9771['empty'](_0x5f170c['doc']['length']);else{let _0x2842d9=_0x5a7399['changes']['filter'](_0x361d2b);_0x1fdb5c=_0x2842d9['changes'],_0x3c62b9=_0x2842d9['filtered']['mapDesc'](_0x2842d9['changes'])['invertedDesc'];}_0x5a7399=_0x5b5d8a['create'](_0x5f170c,_0x1fdb5c,_0x5a7399['selection']&&_0x5a7399['selection']['map'](_0x3c62b9),_0x41e66e['mapEffects'](_0x5a7399['effects'],_0x3c62b9),_0x5a7399['annotations'],_0x5a7399['scrollIntoView']);}let _0x297e1d=_0x5f170c['facet'](_0x33aac4);for(let _0xc744c4=_0x297e1d['length']-0x1;_0xc744c4>=0x0;_0xc744c4--){let _0x414bae=_0x297e1d[_0xc744c4](_0x5a7399);_0x5a7399=_0x414bae instanceof _0x5b5d8a?_0x414bae:Array['isArray'](_0x414bae)&&0x1==_0x414bae['length']&&_0x414bae[0x0]instanceof _0x5b5d8a?_0x414bae[0x0]:_0x4d7637(_0x5f170c,_0x3fa51b(_0x414bae),!0x1);}return _0x5a7399;}(_0x3442cf):_0x3442cf);}_0x5b5d8a['time']=_0x185b62['define'](),_0x5b5d8a['userEvent']=_0x185b62['define'](),_0x5b5d8a['addToHistory']=_0x185b62['define'](),_0x5b5d8a['remote']=_0x185b62['define']();const _0x51b10c=[];function _0x3fa51b(_0x14dc6f){return null==_0x14dc6f?_0x51b10c:Array['isArray'](_0x14dc6f)?_0x14dc6f:[_0x14dc6f];}var _0x14413f=function(_0x31ceec){return _0x31ceec[_0x31ceec['Word']=0x0]='Word',_0x31ceec[_0x31ceec['Space']=0x1]='Space',_0x31ceec[_0x31ceec['Other']=0x2]='Other',_0x31ceec;}(_0x14413f||(_0x14413f={}));const _0x3245bc=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let _0x50c7a6;try{_0x50c7a6=new RegExp('[\x5cp{Alphabetic}\x5cp{Number}_]','u');}catch(_0x28e3ea){}function _0x5dc602(_0x32d3f9){return _0x5efa9e=>{if(!/\S/['test'](_0x5efa9e))return _0x14413f['Space'];if(function(_0xea89da){if(_0x50c7a6)return _0x50c7a6['test'](_0xea89da);for(let _0x49d6da=0x0;_0x49d6da<_0xea89da['length'];_0x49d6da++){let _0x127341=_0xea89da[_0x49d6da];if(/\w/['test'](_0x127341)||_0x127341>'\u0080'&&(_0x127341['toUpperCase']()!=_0x127341['toLowerCase']()||_0x3245bc['test'](_0x127341)))return!0x0;}return!0x1;}(_0x5efa9e))return _0x14413f['Word'];for(let _0x35cdd9=0x0;_0x35cdd9<_0x32d3f9['length'];_0x35cdd9++)if(_0x5efa9e['indexOf'](_0x32d3f9[_0x35cdd9])>-0x1)return _0x14413f['Word'];return _0x14413f['Other'];};}var _0x2a2565=class EditorState{constructor(_0x195091,_0xb30746,_0x43c393,_0x5e0719,_0x4e1ad2,_0x1b72c){this['config']=_0x195091,this['doc']=_0xb30746,this['selection']=_0x43c393,this['values']=_0x5e0719,this['status']=_0x195091['statusTemplate']['slice'](),this['computeSlot']=_0x4e1ad2,_0x1b72c&&(_0x1b72c['_state']=this);for(let _0x1de19c=0x0;_0x1de19c<this['config']['dynamicSlots']['length'];_0x1de19c++)_0x200ef5(this,_0x1de19c<<0x1);this['computeSlot']=null;}['field'](_0x1e7f0e,_0x1eef65=!0x0){let _0x324d63=this['config']['address'][_0x1e7f0e['id']];if(null!=_0x324d63)return _0x200ef5(this,_0x324d63),_0x283c23(this,_0x324d63);if(_0x1eef65)throw new RangeError('Field\x20is\x20not\x20present\x20in\x20this\x20state');}['update'](..._0x72d5a4){return _0x4d7637(this,_0x72d5a4,!0x0);}['applyTransaction'](_0x215d89){let _0x52af12,_0x5c4f0d=this['config'],{base:_0x3e78cf,compartments:_0x31bb00}=_0x5c4f0d;for(let _0x572fbb of _0x215d89['effects'])_0x572fbb['is'](_0x1ffd07['reconfigure'])?(_0x5c4f0d&&(_0x31bb00=new Map(),_0x5c4f0d['compartments']['forEach']((_0x266241,_0x33eedf)=>_0x31bb00['set'](_0x33eedf,_0x266241)),_0x5c4f0d=null),_0x31bb00['set'](_0x572fbb['value']['compartment'],_0x572fbb['value']['extension'])):_0x572fbb['is'](_0x41e66e['reconfigure'])?(_0x5c4f0d=null,_0x3e78cf=_0x572fbb['value']):_0x572fbb['is'](_0x41e66e['appendConfig'])&&(_0x5c4f0d=null,_0x3e78cf=_0x3fa51b(_0x3e78cf)['concat'](_0x572fbb['value']));_0x5c4f0d?_0x52af12=_0x215d89['startState']['values']['slice']():(_0x5c4f0d=_0x845c1c['resolve'](_0x3e78cf,_0x31bb00,this),_0x52af12=new EditorState(_0x5c4f0d,this['doc'],this['selection'],_0x5c4f0d['dynamicSlots']['map'](()=>null),(_0x3233ed,_0x40182e)=>_0x40182e['reconfigure'](_0x3233ed,this),null)['values']);let _0x4aefaf=_0x215d89['startState']['facet'](_0x42fd81)?_0x215d89['newSelection']:_0x215d89['newSelection']['asSingle']();new EditorState(_0x5c4f0d,_0x215d89['newDoc'],_0x4aefaf,_0x52af12,(_0x3c1c5d,_0x377c0f)=>_0x377c0f['update'](_0x3c1c5d,_0x215d89),_0x215d89);}['replaceSelection'](_0x4fe67a){return'string'==typeof _0x4fe67a&&(_0x4fe67a=this['toText'](_0x4fe67a)),this['changeByRange'](_0x420be0=>({'changes':{'from':_0x420be0['from'],'to':_0x420be0['to'],'insert':_0x4fe67a},'range':_0x152831['cursor'](_0x420be0['from']+_0x4fe67a['length'])}));}['changeByRange'](_0x3e7f07){let _0x559738=this['selection'],_0x183c64=_0x3e7f07(_0x559738['ranges'][0x0]),_0x18182e=this['changes'](_0x183c64['changes']),_0x50abb5=[_0x183c64['range']],_0x5eee98=_0x3fa51b(_0x183c64['effects']);for(let _0x19b4a3=0x1;_0x19b4a3<_0x559738['ranges']['length'];_0x19b4a3++){let _0x45216b=_0x3e7f07(_0x559738['ranges'][_0x19b4a3]),_0x154d87=this['changes'](_0x45216b['changes']),_0xa3f0a9=_0x154d87['map'](_0x18182e);for(let _0x3c29ca=0x0;_0x3c29ca<_0x19b4a3;_0x3c29ca++)_0x50abb5[_0x3c29ca]=_0x50abb5[_0x3c29ca]['map'](_0xa3f0a9);let _0x20df2f=_0x18182e['mapDesc'](_0x154d87,!0x0);_0x50abb5['push'](_0x45216b['range']['map'](_0x20df2f)),_0x18182e=_0x18182e['compose'](_0xa3f0a9),_0x5eee98=_0x41e66e['mapEffects'](_0x5eee98,_0xa3f0a9)['concat'](_0x41e66e['mapEffects'](_0x3fa51b(_0x45216b['effects']),_0x20df2f));}return{'changes':_0x18182e,'selection':_0x152831['create'](_0x50abb5,_0x559738['mainIndex']),'effects':_0x5eee98};}['changes'](_0x4edc85=[]){return _0x4edc85 instanceof _0x1b9771?_0x4edc85:_0x1b9771['of'](_0x4edc85,this['doc']['length'],this['facet'](EditorState['lineSeparator']));}['toText'](_0x3328a7){return _0x3de5aa['of'](_0x3328a7['split'](this['facet'](EditorState['lineSeparator'])||_0x12dac0));}['sliceDoc'](_0x297885=0x0,_0x57f2a4=this['doc']['length']){return this['doc']['sliceString'](_0x297885,_0x57f2a4,this['lineBreak']);}['facet'](_0x51bfcb){let _0xbe2953=this['config']['address'][_0x51bfcb['id']];return null==_0xbe2953?_0x51bfcb['default']:(_0x200ef5(this,_0xbe2953),_0x283c23(this,_0xbe2953));}['toJSON'](_0xea0fb1){let _0x505aa9={'doc':this['sliceDoc'](),'selection':this['selection']['toJSON']()};if(_0xea0fb1)for(let _0x3778fa in _0xea0fb1){let _0x3c3d2b=_0xea0fb1[_0x3778fa];_0x3c3d2b instanceof _0x2bf5e0&&null!=this['config']['address'][_0x3c3d2b['id']]&&(_0x505aa9[_0x3778fa]=_0x3c3d2b['spec']['toJSON'](this['field'](_0xea0fb1[_0x3778fa]),this));}return _0x505aa9;}static['fromJSON'](_0x351ed2,_0x5f0bea={},_0x57b7f7){if(!_0x351ed2||'string'!=typeof _0x351ed2['doc'])throw new RangeError('Invalid\x20JSON\x20representation\x20for\x20EditorState');let _0x242758=[];if(_0x57b7f7){for(let _0x443368 in _0x57b7f7)if(Object['prototype']['hasOwnProperty']['call'](_0x351ed2,_0x443368)){let _0x2bd970=_0x57b7f7[_0x443368],_0x56f3a1=_0x351ed2[_0x443368];_0x242758['push'](_0x2bd970['init'](_0x22cc6b=>_0x2bd970['spec']['fromJSON'](_0x56f3a1,_0x22cc6b)));}}return EditorState['create']({'doc':_0x351ed2['doc'],'selection':_0x152831['fromJSON'](_0x351ed2['selection']),'extensions':_0x5f0bea['extensions']?_0x242758['concat']([_0x5f0bea['extensions']]):_0x242758});}static['create'](_0x414094={}){let _0x6fba12=_0x845c1c['resolve'](_0x414094['extensions']||[],new Map()),_0x1655c2=_0x414094['doc']instanceof _0x3de5aa?_0x414094['doc']:_0x3de5aa['of']((_0x414094['doc']||'')['split'](_0x6fba12['staticFacet'](EditorState['lineSeparator'])||_0x12dac0)),_0x54477a=_0x414094['selection']?_0x414094['selection']instanceof _0x152831?_0x414094['selection']:_0x152831['single'](_0x414094['selection']['anchor'],_0x414094['selection']['head']):_0x152831['single'](0x0);return _0x11ea42(_0x54477a,_0x1655c2['length']),_0x6fba12['staticFacet'](_0x42fd81)||(_0x54477a=_0x54477a['asSingle']()),new EditorState(_0x6fba12,_0x1655c2,_0x54477a,_0x6fba12['dynamicSlots']['map'](()=>null),(_0x26a193,_0x5f0b62)=>_0x5f0b62['create'](_0x26a193),null);}get['tabSize'](){return this['facet'](EditorState['tabSize']);}get['lineBreak'](){return this['facet'](EditorState['lineSeparator'])||'\x0a';}get['readOnly'](){return this['facet'](_0x3af51b);}['phrase'](_0x2f2cb6,..._0x1b2389){for(let _0x3593e6 of this['facet'](EditorState['phrases']))if(Object['prototype']['hasOwnProperty']['call'](_0x3593e6,_0x2f2cb6)){_0x2f2cb6=_0x3593e6[_0x2f2cb6];break;}return _0x1b2389['length']&&(_0x2f2cb6=_0x2f2cb6['replace'](/\$(\$|\d*)/g,(_0x298f16,_0x13f81e)=>{if('$'==_0x13f81e)return'$';let _0x1541b9=+(_0x13f81e||0x1);return!_0x1541b9||_0x1541b9>_0x1b2389['length']?_0x298f16:_0x1b2389[_0x1541b9-0x1];})),_0x2f2cb6;}['languageDataAt'](_0x23db66,_0x35b209,_0x838f17=-0x1){let _0x4aab85=[];for(let _0x5e0765 of this['facet'](_0x4a8c02))for(let _0x5ecaf4 of _0x5e0765(this,_0x35b209,_0x838f17))Object['prototype']['hasOwnProperty']['call'](_0x5ecaf4,_0x23db66)&&_0x4aab85['push'](_0x5ecaf4[_0x23db66]);return _0x4aab85;}['charCategorizer'](_0xbab52a){let _0x4297a5=this['languageDataAt']('wordChars',_0xbab52a);return _0x5dc602(_0x4297a5['length']?_0x4297a5[0x0]:'');}['wordAt'](_0x90aef){let {text:_0x400392,from:_0x460b28,length:_0x2c8e75}=this['doc']['lineAt'](_0x90aef),_0x46e2f5=this['charCategorizer'](_0x90aef),_0x216f0f=_0x90aef-_0x460b28,_0x433709=_0x90aef-_0x460b28;for(;_0x216f0f>0x0;){let _0x1232cb=_0x4b59d4(_0x400392,_0x216f0f,!0x1);if(_0x46e2f5(_0x400392['slice'](_0x1232cb,_0x216f0f))!=_0x14413f['Word'])break;_0x216f0f=_0x1232cb;}for(;_0x433709<_0x2c8e75;){let _0x4a87b7=_0x4b59d4(_0x400392,_0x433709);if(_0x46e2f5(_0x400392['slice'](_0x433709,_0x4a87b7))!=_0x14413f['Word'])break;_0x433709=_0x4a87b7;}return _0x216f0f==_0x433709?null:_0x152831['range'](_0x216f0f+_0x460b28,_0x433709+_0x460b28);}};function _0x31a8d4(_0x306837,_0x40f9cd,_0x6a7e32={}){let _0x1c2d89={};for(let _0x4e9b1c of _0x306837)for(let _0x321528 of Object['keys'](_0x4e9b1c)){let _0x2492f6=_0x4e9b1c[_0x321528],_0x772ac1=_0x1c2d89[_0x321528];if(void 0x0===_0x772ac1)_0x1c2d89[_0x321528]=_0x2492f6;else{if(_0x772ac1===_0x2492f6||void 0x0===_0x2492f6);else{if(!Object['hasOwnProperty']['call'](_0x6a7e32,_0x321528))throw new Error('Config\x20merge\x20conflict\x20for\x20field\x20'+_0x321528);_0x1c2d89[_0x321528]=_0x6a7e32[_0x321528](_0x772ac1,_0x2492f6);}}}for(let _0x4c6be8 in _0x40f9cd)void 0x0===_0x1c2d89[_0x4c6be8]&&(_0x1c2d89[_0x4c6be8]=_0x40f9cd[_0x4c6be8]);return _0x1c2d89;}_0x2a2565['allowMultipleSelections']=_0x42fd81,_0x2a2565['tabSize']=_0x17b3ea['define']({'combine':_0x55313e=>_0x55313e['length']?_0x55313e[0x0]:0x4}),_0x2a2565['lineSeparator']=_0x42ed05,_0x2a2565['readOnly']=_0x3af51b,_0x2a2565['phrases']=_0x17b3ea['define']({'compare'(_0x431e61,_0x1c08ae){let _0x570f42=Object['keys'](_0x431e61),_0x3937e0=Object['keys'](_0x1c08ae);return _0x570f42['length']==_0x3937e0['length']&&_0x570f42['every'](_0x13fd64=>_0x431e61[_0x13fd64]==_0x1c08ae[_0x13fd64]);}}),_0x2a2565['languageData']=_0x4a8c02,_0x2a2565['changeFilter']=_0x2563fc,_0x2a2565['transactionFilter']=_0x33aac4,_0x2a2565['transactionExtender']=_0x50f388,_0x1ffd07['reconfigure']=_0x41e66e['define']();var _0x15c541=class{['eq'](_0x3c252b){return this==_0x3c252b;}['range'](_0x2e3885,_0x3aad80=_0x2e3885){return _0x209ddb['create'](_0x2e3885,_0x3aad80,this);}};function _0x173a03(_0x3c8e22,_0x24057c){return _0x3c8e22==_0x24057c||_0x3c8e22['constructor']==_0x24057c['constructor']&&_0x3c8e22['eq'](_0x24057c);}_0x15c541['prototype']['startSide']=_0x15c541['prototype']['endSide']=0x0,_0x15c541['prototype']['point']=!0x1,_0x15c541['prototype']['mapMode']=_0x473ae9['TrackDel'];var _0x209ddb=class _0x2de9b5{constructor(_0x584e82,_0x5cdeac,_0x4d360c){this['from']=_0x584e82,this['to']=_0x5cdeac,this['value']=_0x4d360c;}static['create'](_0xd29ae7,_0x24bff5,_0x16818b){return new _0x2de9b5(_0xd29ae7,_0x24bff5,_0x16818b);}};function _0x3bb412(_0x5197ef,_0x5bb868){return _0x5197ef['from']-_0x5bb868['from']||_0x5197ef['value']['startSide']-_0x5bb868['value']['startSide'];}var _0x28189d=class _0x5be5a7{constructor(_0x12e034,_0x135e5c,_0x2565b9,_0x818954){this['from']=_0x12e034,this['to']=_0x135e5c,this['value']=_0x2565b9,this['maxPoint']=_0x818954;}get['length'](){return this['to'][this['to']['length']-0x1];}['findIndex'](_0x44edfa,_0x17d5bd,_0x55afd4,_0x56753b=0x0){let _0x5807a7=_0x55afd4?this['to']:this['from'];for(let _0xa637a1=_0x56753b,_0x5be640=_0x5807a7['length'];;){if(_0xa637a1==_0x5be640)return _0xa637a1;let _0xbbf05a=_0xa637a1+_0x5be640>>0x1,_0x2053d9=_0x5807a7[_0xbbf05a]-_0x44edfa||(_0x55afd4?this['value'][_0xbbf05a]['endSide']:this['value'][_0xbbf05a]['startSide'])-_0x17d5bd;if(_0xbbf05a==_0xa637a1)return _0x2053d9>=0x0?_0xa637a1:_0x5be640;_0x2053d9>=0x0?_0x5be640=_0xbbf05a:_0xa637a1=_0xbbf05a+0x1;}}['between'](_0x42203c,_0x1e5aa8,_0x3a74b5,_0x21cc00){for(let _0x4f7d32=this['findIndex'](_0x1e5aa8,-0x3b9aca00,!0x0),_0x19cc44=this['findIndex'](_0x3a74b5,0x3b9aca00,!0x1,_0x4f7d32);_0x4f7d32<_0x19cc44;_0x4f7d32++)if(!0x1===_0x21cc00(this['from'][_0x4f7d32]+_0x42203c,this['to'][_0x4f7d32]+_0x42203c,this['value'][_0x4f7d32]))return!0x1;}['map'](_0x4d1bd6,_0x36eca0){let _0xd7e264=[],_0x530fe4=[],_0x6a32f5=[],_0x4bcfa7=-0x1,_0xb0dd33=-0x1;for(let _0x4f79d9=0x0;_0x4f79d9<this['value']['length'];_0x4f79d9++){let _0x4ee63a,_0xde7b9d,_0x15d01b=this['value'][_0x4f79d9],_0x4277a5=this['from'][_0x4f79d9]+_0x4d1bd6,_0x2ac82c=this['to'][_0x4f79d9]+_0x4d1bd6;if(_0x4277a5==_0x2ac82c){let _0x4b901c=_0x36eca0['mapPos'](_0x4277a5,_0x15d01b['startSide'],_0x15d01b['mapMode']);if(null==_0x4b901c)continue;if(_0x4ee63a=_0xde7b9d=_0x4b901c,_0x15d01b['startSide']!=_0x15d01b['endSide']&&(_0xde7b9d=_0x36eca0['mapPos'](_0x4277a5,_0x15d01b['endSide']),_0xde7b9d<_0x4ee63a))continue;}else{if(_0x4ee63a=_0x36eca0['mapPos'](_0x4277a5,_0x15d01b['startSide']),_0xde7b9d=_0x36eca0['mapPos'](_0x2ac82c,_0x15d01b['endSide']),_0x4ee63a>_0xde7b9d||_0x4ee63a==_0xde7b9d&&_0x15d01b['startSide']>0x0&&_0x15d01b['endSide']<=0x0)continue;}(_0xde7b9d-_0x4ee63a||_0x15d01b['endSide']-_0x15d01b['startSide'])<0x0||(_0x4bcfa7<0x0&&(_0x4bcfa7=_0x4ee63a),_0x15d01b['point']&&(_0xb0dd33=Math['max'](_0xb0dd33,_0xde7b9d-_0x4ee63a)),_0xd7e264['push'](_0x15d01b),_0x530fe4['push'](_0x4ee63a-_0x4bcfa7),_0x6a32f5['push'](_0xde7b9d-_0x4bcfa7));}return{'mapped':_0xd7e264['length']?new _0x5be5a7(_0x530fe4,_0x6a32f5,_0xd7e264,_0xb0dd33):null,'pos':_0x4bcfa7};}},_0x397923=class RangeSet{constructor(_0x262837,_0x57bbfc,_0x53d2fc,_0x38dc02){this['chunkPos']=_0x262837,this['chunk']=_0x57bbfc,this['nextLayer']=_0x53d2fc,this['maxPoint']=_0x38dc02;}static['create'](_0x526221,_0x37134e,_0x71b47c,_0x452c63){return new RangeSet(_0x526221,_0x37134e,_0x71b47c,_0x452c63);}get['length'](){let _0x16b572=this['chunk']['length']-0x1;return _0x16b572<0x0?0x0:Math['max'](this['chunkEnd'](_0x16b572),this['nextLayer']['length']);}get['size'](){if(this['isEmpty'])return 0x0;let _0x1186ad=this['nextLayer']['size'];for(let _0x232dfb of this['chunk'])_0x1186ad+=_0x232dfb['value']['length'];return _0x1186ad;}['chunkEnd'](_0x445f84){return this['chunkPos'][_0x445f84]+this['chunk'][_0x445f84]['length'];}['update'](_0xeb67e5){let {add:_0x54a8bf=[],sort:_0x1d5036=!0x1,filterFrom:_0x217c0e=0x0,filterTo:_0x2bfd54=this['length']}=_0xeb67e5,_0x142fbd=_0xeb67e5['filter'];if(0x0==_0x54a8bf['length']&&!_0x142fbd)return this;if(_0x1d5036&&(_0x54a8bf=_0x54a8bf['slice']()['sort'](_0x3bb412)),this['isEmpty'])return _0x54a8bf['length']?RangeSet['of'](_0x54a8bf):this;let _0x5ef656=new _0x479a18(this,null,-0x1)['goto'](0x0),_0x5ce8f3=0x0,_0x4ac9c4=[],_0x322819=new _0x1cc6f8();for(;_0x5ef656['value']||_0x5ce8f3<_0x54a8bf['length'];)if(_0x5ce8f3<_0x54a8bf['length']&&(_0x5ef656['from']-_0x54a8bf[_0x5ce8f3]['from']||_0x5ef656['startSide']-_0x54a8bf[_0x5ce8f3]['value']['startSide'])>=0x0){let _0x331d01=_0x54a8bf[_0x5ce8f3++];_0x322819['addInner'](_0x331d01['from'],_0x331d01['to'],_0x331d01['value'])||_0x4ac9c4['push'](_0x331d01);}else 0x1==_0x5ef656['rangeIndex']&&_0x5ef656['chunkIndex']<this['chunk']['length']&&(_0x5ce8f3==_0x54a8bf['length']||this['chunkEnd'](_0x5ef656['chunkIndex'])<_0x54a8bf[_0x5ce8f3]['from'])&&(!_0x142fbd||_0x217c0e>this['chunkEnd'](_0x5ef656['chunkIndex'])||_0x2bfd54<this['chunkPos'][_0x5ef656['chunkIndex']])&&_0x322819['addChunk'](this['chunkPos'][_0x5ef656['chunkIndex']],this['chunk'][_0x5ef656['chunkIndex']])?_0x5ef656['nextChunk']():((!_0x142fbd||_0x217c0e>_0x5ef656['to']||_0x2bfd54<_0x5ef656['from']||_0x142fbd(_0x5ef656['from'],_0x5ef656['to'],_0x5ef656['value']))&&(_0x322819['addInner'](_0x5ef656['from'],_0x5ef656['to'],_0x5ef656['value'])||_0x4ac9c4['push'](_0x209ddb['create'](_0x5ef656['from'],_0x5ef656['to'],_0x5ef656['value']))),_0x5ef656['next']());return _0x322819['finishInner'](this['nextLayer']['isEmpty']&&!_0x4ac9c4['length']?RangeSet['empty']:this['nextLayer']['update']({'add':_0x4ac9c4,'filter':_0x142fbd,'filterFrom':_0x217c0e,'filterTo':_0x2bfd54}));}['map'](_0x4cc6ba){if(_0x4cc6ba['empty']||this['isEmpty'])return this;let _0x419f46=[],_0x43bbd2=[],_0x4dbb17=-0x1;for(let _0x29a679=0x0;_0x29a679<this['chunk']['length'];_0x29a679++){let _0x1e7c47=this['chunkPos'][_0x29a679],_0x5988ba=this['chunk'][_0x29a679],_0x8b3ba5=_0x4cc6ba['touchesRange'](_0x1e7c47,_0x1e7c47+_0x5988ba['length']);if(!0x1===_0x8b3ba5)_0x4dbb17=Math['max'](_0x4dbb17,_0x5988ba['maxPoint']),_0x419f46['push'](_0x5988ba),_0x43bbd2['push'](_0x4cc6ba['mapPos'](_0x1e7c47));else{if(!0x0===_0x8b3ba5){let {mapped:_0x3916b8,pos:_0x2f251c}=_0x5988ba['map'](_0x1e7c47,_0x4cc6ba);_0x3916b8&&(_0x4dbb17=Math['max'](_0x4dbb17,_0x3916b8['maxPoint']),_0x419f46['push'](_0x3916b8),_0x43bbd2['push'](_0x2f251c));}}}let _0x215c0b=this['nextLayer']['map'](_0x4cc6ba);return 0x0==_0x419f46['length']?_0x215c0b:new RangeSet(_0x43bbd2,_0x419f46,_0x215c0b||RangeSet['empty'],_0x4dbb17);}['between'](_0x56381d,_0x2c98e0,_0x2ad57f){if(!this['isEmpty']){for(let _0x5f24a1=0x0;_0x5f24a1<this['chunk']['length'];_0x5f24a1++){let _0x5eaf38=this['chunkPos'][_0x5f24a1],_0x335f3a=this['chunk'][_0x5f24a1];if(_0x2c98e0>=_0x5eaf38&&_0x56381d<=_0x5eaf38+_0x335f3a['length']&&!0x1===_0x335f3a['between'](_0x5eaf38,_0x56381d-_0x5eaf38,_0x2c98e0-_0x5eaf38,_0x2ad57f))return;}this['nextLayer']['between'](_0x56381d,_0x2c98e0,_0x2ad57f);}}['iter'](_0x53a9b1=0x0){return _0x5185b4['from']([this])['goto'](_0x53a9b1);}get['isEmpty'](){return this['nextLayer']==this;}static['iter'](_0x257e44,_0x566aa7=0x0){return _0x5185b4['from'](_0x257e44)['goto'](_0x566aa7);}static['compare'](_0x27a3c1,_0x43b991,_0x2de393,_0x60da75,_0x3ea974=-0x1){let _0x2c1317=_0x27a3c1['filter'](_0x3630a3=>_0x3630a3['maxPoint']>0x0||!_0x3630a3['isEmpty']&&_0x3630a3['maxPoint']>=_0x3ea974),_0x4063f3=_0x43b991['filter'](_0x13d04f=>_0x13d04f['maxPoint']>0x0||!_0x13d04f['isEmpty']&&_0x13d04f['maxPoint']>=_0x3ea974),_0x3e957f=_0xd896a2(_0x2c1317,_0x4063f3,_0x2de393),_0xcf836a=new _0x5b9e46(_0x2c1317,_0x3e957f,_0x3ea974),_0x2fca8a=new _0x5b9e46(_0x4063f3,_0x3e957f,_0x3ea974);_0x2de393['iterGaps']((_0x1a17bd,_0x1daccf,_0x28d82e)=>_0x369eed(_0xcf836a,_0x1a17bd,_0x2fca8a,_0x1daccf,_0x28d82e,_0x60da75)),_0x2de393['empty']&&0x0==_0x2de393['length']&&_0x369eed(_0xcf836a,0x0,_0x2fca8a,0x0,0x0,_0x60da75);}static['eq'](_0xb3aaee,_0x44a68b,_0x71d2ee=0x0,_0x416235){null==_0x416235&&(_0x416235=0x3b9ac9ff);let _0x5af979=_0xb3aaee['filter'](_0x25cc30=>!_0x25cc30['isEmpty']&&_0x44a68b['indexOf'](_0x25cc30)<0x0),_0x23c2c5=_0x44a68b['filter'](_0x39397a=>!_0x39397a['isEmpty']&&_0xb3aaee['indexOf'](_0x39397a)<0x0);if(_0x5af979['length']!=_0x23c2c5['length'])return!0x1;if(!_0x5af979['length'])return!0x0;let _0x561cb5=_0xd896a2(_0x5af979,_0x23c2c5),_0x4b794f=new _0x5b9e46(_0x5af979,_0x561cb5,0x0)['goto'](_0x71d2ee),_0x583dc1=new _0x5b9e46(_0x23c2c5,_0x561cb5,0x0)['goto'](_0x71d2ee);for(;;){if(_0x4b794f['to']!=_0x583dc1['to']||!_0x23fa3c(_0x4b794f['active'],_0x583dc1['active'])||_0x4b794f['point']&&(!_0x583dc1['point']||!_0x173a03(_0x4b794f['point'],_0x583dc1['point'])))return!0x1;if(_0x4b794f['to']>_0x416235)return!0x0;_0x4b794f['next'](),_0x583dc1['next']();}}static['spans'](_0x699646,_0x1705da,_0x161b4a,_0x55badb,_0x51a245=-0x1){let _0x39f636=new _0x5b9e46(_0x699646,null,_0x51a245)['goto'](_0x1705da),_0x49de83=_0x1705da,_0x2d743b=_0x39f636['openStart'];for(;;){let _0x3c6fbc=Math['min'](_0x39f636['to'],_0x161b4a);if(_0x39f636['point']){let _0x15307d=_0x39f636['activeForPoint'](_0x39f636['to']),_0x5dcb4b=_0x39f636['pointFrom']<_0x1705da?_0x15307d['length']+0x1:_0x39f636['point']['startSide']<0x0?_0x15307d['length']:Math['min'](_0x15307d['length'],_0x2d743b);_0x55badb['point'](_0x49de83,_0x3c6fbc,_0x39f636['point'],_0x15307d,_0x5dcb4b,_0x39f636['pointRank']),_0x2d743b=Math['min'](_0x39f636['openEnd'](_0x3c6fbc),_0x15307d['length']);}else _0x3c6fbc>_0x49de83&&(_0x55badb['span'](_0x49de83,_0x3c6fbc,_0x39f636['active'],_0x2d743b),_0x2d743b=_0x39f636['openEnd'](_0x3c6fbc));if(_0x39f636['to']>_0x161b4a)return _0x2d743b+(_0x39f636['point']&&_0x39f636['to']>_0x161b4a?0x1:0x0);_0x49de83=_0x39f636['to'],_0x39f636['next']();}}static['of'](_0x5db6f5,_0x574c1b=!0x1){let _0x18883b=new _0x1cc6f8();for(let _0x76c968 of _0x5db6f5 instanceof _0x209ddb?[_0x5db6f5]:_0x574c1b?function(_0x32f4f4){if(_0x32f4f4['length']>0x1)for(let _0x212335=_0x32f4f4[0x0],_0x1a513f=0x1;_0x1a513f<_0x32f4f4['length'];_0x1a513f++){let _0x300bcd=_0x32f4f4[_0x1a513f];if(_0x3bb412(_0x212335,_0x300bcd)>0x0)return _0x32f4f4['slice']()['sort'](_0x3bb412);_0x212335=_0x300bcd;}return _0x32f4f4;}(_0x5db6f5):_0x5db6f5)_0x18883b['add'](_0x76c968['from'],_0x76c968['to'],_0x76c968['value']);return _0x18883b['finish']();}static['join'](_0x19a585){if(!_0x19a585['length'])return RangeSet['empty'];let _0xf86940=_0x19a585[_0x19a585['length']-0x1];for(let _0x49444e=_0x19a585['length']-0x2;_0x49444e>=0x0;_0x49444e--)for(let _0x40d427=_0x19a585[_0x49444e];_0x40d427!=RangeSet['empty'];_0x40d427=_0x40d427['nextLayer'])_0xf86940=new RangeSet(_0x40d427['chunkPos'],_0x40d427['chunk'],_0xf86940,Math['max'](_0x40d427['maxPoint'],_0xf86940['maxPoint']));return _0xf86940;}};_0x397923['empty']=new _0x397923([],[],null,-0x1),_0x397923['empty']['nextLayer']=_0x397923['empty'];var _0x1cc6f8=class RangeSetBuilder{['finishChunk'](_0x4d4559){this['chunks']['push'](new _0x28189d(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,_0x4d4559&&(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'](_0x4de794,_0x438b55,_0x20c8d8){this['addInner'](_0x4de794,_0x438b55,_0x20c8d8)||(this['nextLayer']||(this['nextLayer']=new RangeSetBuilder()))['add'](_0x4de794,_0x438b55,_0x20c8d8);}['addInner'](_0x2ed61c,_0x231a70,_0x5e4107){let _0x333147=_0x2ed61c-this['lastTo']||_0x5e4107['startSide']-this['last']['endSide'];if(_0x333147<=0x0&&(_0x2ed61c-this['lastFrom']||_0x5e4107['startSide']-this['last']['startSide'])<0x0)throw new Error('Ranges\x20must\x20be\x20added\x20sorted\x20by\x20`from`\x20position\x20and\x20`startSide`');return!(_0x333147<0x0)&&(0xfa==this['from']['length']&&this['finishChunk'](!0x0),this['chunkStart']<0x0&&(this['chunkStart']=_0x2ed61c),this['from']['push'](_0x2ed61c-this['chunkStart']),this['to']['push'](_0x231a70-this['chunkStart']),this['last']=_0x5e4107,this['lastFrom']=_0x2ed61c,this['lastTo']=_0x231a70,this['value']['push'](_0x5e4107),_0x5e4107['point']&&(this['maxPoint']=Math['max'](this['maxPoint'],_0x231a70-_0x2ed61c)),!0x0);}['addChunk'](_0x42587f,_0x14bb5d){if((_0x42587f-this['lastTo']||_0x14bb5d['value'][0x0]['startSide']-this['last']['endSide'])<0x0)return!0x1;this['from']['length']&&this['finishChunk'](!0x0),this['setMaxPoint']=Math['max'](this['setMaxPoint'],_0x14bb5d['maxPoint']),this['chunks']['push'](_0x14bb5d),this['chunkPos']['push'](_0x42587f);let _0x63867f=_0x14bb5d['value']['length']-0x1;return this['last']=_0x14bb5d['value'][_0x63867f],this['lastFrom']=_0x14bb5d['from'][_0x63867f]+_0x42587f,this['lastTo']=_0x14bb5d['to'][_0x63867f]+_0x42587f,!0x0;}['finish'](){return this['finishInner'](_0x397923['empty']);}['finishInner'](_0x2d05cf){if(this['from']['length']&&this['finishChunk'](!0x1),0x0==this['chunks']['length'])return _0x2d05cf;let _0x2231b3=_0x397923['create'](this['chunkPos'],this['chunks'],this['nextLayer']?this['nextLayer']['finishInner'](_0x2d05cf):_0x2d05cf,this['setMaxPoint']);return this['from']=null,_0x2231b3;}};function _0xd896a2(_0x29f599,_0x1c6707,_0x49d1a4){let _0x39cacd=new Map();for(let _0x565b76 of _0x29f599)for(let _0x284021=0x0;_0x284021<_0x565b76['chunk']['length'];_0x284021++)_0x565b76['chunk'][_0x284021]['maxPoint']<=0x0&&_0x39cacd['set'](_0x565b76['chunk'][_0x284021],_0x565b76['chunkPos'][_0x284021]);let _0x161671=new Set();for(let _0x52c632 of _0x1c6707)for(let _0x1b305f=0x0;_0x1b305f<_0x52c632['chunk']['length'];_0x1b305f++){let _0x32f6af=_0x39cacd['get'](_0x52c632['chunk'][_0x1b305f]);null==_0x32f6af||(_0x49d1a4?_0x49d1a4['mapPos'](_0x32f6af):_0x32f6af)!=_0x52c632['chunkPos'][_0x1b305f]||(null==_0x49d1a4?void 0x0:_0x49d1a4['touchesRange'](_0x32f6af,_0x32f6af+_0x52c632['chunk'][_0x1b305f]['length']))||_0x161671['add'](_0x52c632['chunk'][_0x1b305f]);}return _0x161671;}var _0x479a18=class{constructor(_0x543ffe,_0x4c03f1,_0x28e886,_0x5ce461=0x0){this['layer']=_0x543ffe,this['skip']=_0x4c03f1,this['minPoint']=_0x28e886,this['rank']=_0x5ce461;}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}get['endSide'](){return this['value']?this['value']['endSide']:0x0;}['goto'](_0x471e5a,_0x30706e=-0x3b9aca00){return this['chunkIndex']=this['rangeIndex']=0x0,this['gotoInner'](_0x471e5a,_0x30706e,!0x1),this;}['gotoInner'](_0x47d6b9,_0x1c5046,_0x39072b){for(;this['chunkIndex']<this['layer']['chunk']['length'];){let _0x442e2c=this['layer']['chunk'][this['chunkIndex']];if(!(this['skip']&&this['skip']['has'](_0x442e2c)||this['layer']['chunkEnd'](this['chunkIndex'])<_0x47d6b9||_0x442e2c['maxPoint']<this['minPoint']))break;this['chunkIndex']++,_0x39072b=!0x1;}if(this['chunkIndex']<this['layer']['chunk']['length']){let _0x55856a=this['layer']['chunk'][this['chunkIndex']]['findIndex'](_0x47d6b9-this['layer']['chunkPos'][this['chunkIndex']],_0x1c5046,!0x0);(!_0x39072b||this['rangeIndex']<_0x55856a)&&this['setRangeIndex'](_0x55856a);}this['next']();}['forward'](_0x216642,_0x1bfa3c){(this['to']-_0x216642||this['endSide']-_0x1bfa3c)<0x0&&this['gotoInner'](_0x216642,_0x1bfa3c,!0x0);}['next'](){for(;;){if(this['chunkIndex']==this['layer']['chunk']['length']){this['from']=this['to']=0x3b9aca00,this['value']=null;break;}{let _0x3b5790=this['layer']['chunkPos'][this['chunkIndex']],_0x2a9825=this['layer']['chunk'][this['chunkIndex']],_0x1dc175=_0x3b5790+_0x2a9825['from'][this['rangeIndex']];if(this['from']=_0x1dc175,this['to']=_0x3b5790+_0x2a9825['to'][this['rangeIndex']],this['value']=_0x2a9825['value'][this['rangeIndex']],this['setRangeIndex'](this['rangeIndex']+0x1),this['minPoint']<0x0||this['value']['point']&&this['to']-this['from']>=this['minPoint'])break;}}}['setRangeIndex'](_0x327f9d){if(_0x327f9d==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']=_0x327f9d;}['nextChunk'](){this['chunkIndex']++,this['rangeIndex']=0x0,this['next']();}['compare'](_0x2c8eae){return this['from']-_0x2c8eae['from']||this['startSide']-_0x2c8eae['startSide']||this['rank']-_0x2c8eae['rank']||this['to']-_0x2c8eae['to']||this['endSide']-_0x2c8eae['endSide'];}},_0x5185b4=class _0x38a108{constructor(_0x3bd4a2){this['heap']=_0x3bd4a2;}static['from'](_0x4ae963,_0x51d70e=null,_0x13cf2e=-0x1){let _0x2168d8=[];for(let _0x524bb2=0x0;_0x524bb2<_0x4ae963['length'];_0x524bb2++)for(let _0x259858=_0x4ae963[_0x524bb2];!_0x259858['isEmpty'];_0x259858=_0x259858['nextLayer'])_0x259858['maxPoint']>=_0x13cf2e&&_0x2168d8['push'](new _0x479a18(_0x259858,_0x51d70e,_0x13cf2e,_0x524bb2));return 0x1==_0x2168d8['length']?_0x2168d8[0x0]:new _0x38a108(_0x2168d8);}get['startSide'](){return this['value']?this['value']['startSide']:0x0;}['goto'](_0x5d8b24,_0x448652=-0x3b9aca00){for(let _0x16d51d of this['heap'])_0x16d51d['goto'](_0x5d8b24,_0x448652);for(let _0x50c963=this['heap']['length']>>0x1;_0x50c963>=0x0;_0x50c963--)_0x308d25(this['heap'],_0x50c963);return this['next'](),this;}['forward'](_0x598b25,_0x362306){for(let _0x2130a4 of this['heap'])_0x2130a4['forward'](_0x598b25,_0x362306);for(let _0x423050=this['heap']['length']>>0x1;_0x423050>=0x0;_0x423050--)_0x308d25(this['heap'],_0x423050);(this['to']-_0x598b25||this['value']['endSide']-_0x362306)<0x0&&this['next']();}['next'](){if(0x0==this['heap']['length'])this['from']=this['to']=0x3b9aca00,this['value']=null,this['rank']=-0x1;else{let _0x17042c=this['heap'][0x0];this['from']=_0x17042c['from'],this['to']=_0x17042c['to'],this['value']=_0x17042c['value'],this['rank']=_0x17042c['rank'],_0x17042c['value']&&_0x17042c['next'](),_0x308d25(this['heap'],0x0);}}};function _0x308d25(_0x55bff1,_0x392775){for(let _0x1496c5=_0x55bff1[_0x392775];;){let _0x2eba50=0x1+(_0x392775<<0x1);if(_0x2eba50>=_0x55bff1['length'])break;let _0x492842=_0x55bff1[_0x2eba50];if(_0x2eba50+0x1<_0x55bff1['length']&&_0x492842['compare'](_0x55bff1[_0x2eba50+0x1])>=0x0&&(_0x492842=_0x55bff1[_0x2eba50+0x1],_0x2eba50++),_0x1496c5['compare'](_0x492842)<0x0)break;_0x55bff1[_0x2eba50]=_0x1496c5,_0x55bff1[_0x392775]=_0x492842,_0x392775=_0x2eba50;}}var _0x5b9e46=class{constructor(_0x40cfce,_0x4f86da,_0x25024f){this['minPoint']=_0x25024f,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']=_0x5185b4['from'](_0x40cfce,_0x4f86da,_0x25024f);}['goto'](_0x59ffee,_0x47e6a8=-0x3b9aca00){return this['cursor']['goto'](_0x59ffee,_0x47e6a8),this['active']['length']=this['activeTo']['length']=this['activeRank']['length']=0x0,this['minActive']=-0x1,this['to']=_0x59ffee,this['endSide']=_0x47e6a8,this['openStart']=-0x1,this['next'](),this;}['forward'](_0x111d85,_0x5ce756){for(;this['minActive']>-0x1&&(this['activeTo'][this['minActive']]-_0x111d85||this['active'][this['minActive']]['endSide']-_0x5ce756)<0x0;)this['removeActive'](this['minActive']);this['cursor']['forward'](_0x111d85,_0x5ce756);}['removeActive'](_0x4f429a){_0x40070c(this['active'],_0x4f429a),_0x40070c(this['activeTo'],_0x4f429a),_0x40070c(this['activeRank'],_0x4f429a),this['minActive']=_0x2b0e7e(this['active'],this['activeTo']);}['addActive'](_0x4d8918){let _0x786210=0x0,{value:_0xeb3482,to:_0x2b94bb,rank:_0x5a7294}=this['cursor'];for(;_0x786210<this['activeRank']['length']&&(_0x5a7294-this['activeRank'][_0x786210]||_0x2b94bb-this['activeTo'][_0x786210])>0x0;)_0x786210++;_0x3aacfa(this['active'],_0x786210,_0xeb3482),_0x3aacfa(this['activeTo'],_0x786210,_0x2b94bb),_0x3aacfa(this['activeRank'],_0x786210,_0x5a7294),_0x4d8918&&_0x3aacfa(_0x4d8918,_0x786210,this['cursor']['from']),this['minActive']=_0x2b0e7e(this['active'],this['activeTo']);}['next'](){let _0x36c818=this['to'],_0x4918c7=this['point'];this['point']=null;let _0x220058=this['openStart']<0x0?[]:null;for(;;){let _0x4f4bf9=this['minActive'];if(_0x4f4bf9>-0x1&&(this['activeTo'][_0x4f4bf9]-this['cursor']['from']||this['active'][_0x4f4bf9]['endSide']-this['cursor']['startSide'])<0x0){if(this['activeTo'][_0x4f4bf9]>_0x36c818){this['to']=this['activeTo'][_0x4f4bf9],this['endSide']=this['active'][_0x4f4bf9]['endSide'];break;}this['removeActive'](_0x4f4bf9),_0x220058&&_0x40070c(_0x220058,_0x4f4bf9);}else{if(!this['cursor']['value']){this['to']=this['endSide']=0x3b9aca00;break;}if(this['cursor']['from']>_0x36c818){this['to']=this['cursor']['from'],this['endSide']=this['cursor']['startSide'];break;}{let _0x173e9c=this['cursor']['value'];if(_0x173e9c['point']){if(!(_0x4918c7&&this['cursor']['to']==this['to']&&this['cursor']['from']<this['cursor']['to'])){this['point']=_0x173e9c,this['pointFrom']=this['cursor']['from'],this['pointRank']=this['cursor']['rank'],this['to']=this['cursor']['to'],this['endSide']=_0x173e9c['endSide'],this['cursor']['next'](),this['forward'](this['to'],this['endSide']);break;}this['cursor']['next']();}else this['addActive'](_0x220058),this['cursor']['next']();}}}if(_0x220058){this['openStart']=0x0;for(let _0x38ce3b=_0x220058['length']-0x1;_0x38ce3b>=0x0&&_0x220058[_0x38ce3b]<_0x36c818;_0x38ce3b--)this['openStart']++;}}['activeForPoint'](_0x145c64){if(!this['active']['length'])return this['active'];let _0x642756=[];for(let _0x3c48b4=this['active']['length']-0x1;_0x3c48b4>=0x0&&!(this['activeRank'][_0x3c48b4]<this['pointRank']);_0x3c48b4--)(this['activeTo'][_0x3c48b4]>_0x145c64||this['activeTo'][_0x3c48b4]==_0x145c64&&this['active'][_0x3c48b4]['endSide']>=this['point']['endSide'])&&_0x642756['push'](this['active'][_0x3c48b4]);return _0x642756['reverse']();}['openEnd'](_0x447c71){let _0x5004c9=0x0;for(let _0x2da610=this['activeTo']['length']-0x1;_0x2da610>=0x0&&this['activeTo'][_0x2da610]>_0x447c71;_0x2da610--)_0x5004c9++;return _0x5004c9;}};function _0x369eed(_0x5d542f,_0x2a5107,_0x16b1af,_0x29f636,_0x306aaf,_0x5420e7){_0x5d542f['goto'](_0x2a5107),_0x16b1af['goto'](_0x29f636);let _0x2eeed3=_0x29f636+_0x306aaf,_0x3b2419=_0x29f636,_0x440a6d=_0x29f636-_0x2a5107,_0xa4a4cb=!!_0x5420e7['boundChange'];for(let _0x4acb01=!0x1;;){let _0x19e45a=_0x5d542f['to']+_0x440a6d-_0x16b1af['to'],_0x46ed2d=_0x19e45a||_0x5d542f['endSide']-_0x16b1af['endSide'],_0x2df667=_0x46ed2d<0x0?_0x5d542f['to']+_0x440a6d:_0x16b1af['to'],_0x4d4ac0=Math['min'](_0x2df667,_0x2eeed3);if(_0x5d542f['point']||_0x16b1af['point']?(_0x5d542f['point']&&_0x16b1af['point']&&_0x173a03(_0x5d542f['point'],_0x16b1af['point'])&&_0x23fa3c(_0x5d542f['activeForPoint'](_0x5d542f['to']),_0x16b1af['activeForPoint'](_0x16b1af['to']))||_0x5420e7['comparePoint'](_0x3b2419,_0x4d4ac0,_0x5d542f['point'],_0x16b1af['point']),_0x4acb01=!0x1):(_0x4acb01&&_0x5420e7['boundChange'](_0x3b2419),_0x4d4ac0>_0x3b2419&&!_0x23fa3c(_0x5d542f['active'],_0x16b1af['active'])&&_0x5420e7['compareRange'](_0x3b2419,_0x4d4ac0,_0x5d542f['active'],_0x16b1af['active']),_0xa4a4cb&&_0x4d4ac0<_0x2eeed3&&(_0x19e45a||_0x5d542f['openEnd'](_0x2df667)!=_0x16b1af['openEnd'](_0x2df667))&&(_0x4acb01=!0x0)),_0x2df667>_0x2eeed3)break;_0x3b2419=_0x2df667,_0x46ed2d<=0x0&&_0x5d542f['next'](),_0x46ed2d>=0x0&&_0x16b1af['next']();}}function _0x23fa3c(_0x4db658,_0x396b4b){if(_0x4db658['length']!=_0x396b4b['length'])return!0x1;for(let _0x3e7b1b=0x0;_0x3e7b1b<_0x4db658['length'];_0x3e7b1b++)if(_0x4db658[_0x3e7b1b]!=_0x396b4b[_0x3e7b1b]&&!_0x173a03(_0x4db658[_0x3e7b1b],_0x396b4b[_0x3e7b1b]))return!0x1;return!0x0;}function _0x40070c(_0x16ca3d,_0xde3868){for(let _0x470d8b=_0xde3868,_0x35212d=_0x16ca3d['length']-0x1;_0x470d8b<_0x35212d;_0x470d8b++)_0x16ca3d[_0x470d8b]=_0x16ca3d[_0x470d8b+0x1];_0x16ca3d['pop']();}function _0x3aacfa(_0x1eaf19,_0x3f553c,_0x2fe08c){for(let _0x555800=_0x1eaf19['length']-0x1;_0x555800>=_0x3f553c;_0x555800--)_0x1eaf19[_0x555800+0x1]=_0x1eaf19[_0x555800];_0x1eaf19[_0x3f553c]=_0x2fe08c;}function _0x2b0e7e(_0x9e2254,_0x22a922){let _0x329b1d=-0x1,_0x242f5d=0x3b9aca00;for(let _0x54a34f=0x0;_0x54a34f<_0x22a922['length'];_0x54a34f++)(_0x22a922[_0x54a34f]-_0x242f5d||_0x9e2254[_0x54a34f]['endSide']-_0x9e2254[_0x329b1d]['endSide'])<0x0&&(_0x329b1d=_0x54a34f,_0x242f5d=_0x22a922[_0x54a34f]);return _0x329b1d;}function _0x144e8e(_0x1f3e05,_0x1c31cf,_0x526aab=_0x1f3e05['length']){let _0xdb1a0a=0x0;for(let _0x182db6=0x0;_0x182db6<_0x526aab&&_0x182db6<_0x1f3e05['length'];)0x9==_0x1f3e05['charCodeAt'](_0x182db6)?(_0xdb1a0a+=_0x1c31cf-_0xdb1a0a%_0x1c31cf,_0x182db6++):(_0xdb1a0a++,_0x182db6=_0x4b59d4(_0x1f3e05,_0x182db6));return _0xdb1a0a;}function _0x580085(_0x24624f,_0x42ffbb,_0x394c8f,_0x3701cc){for(let _0x1337fe=0x0,_0xb52836=0x0;;){if(_0xb52836>=_0x42ffbb)return _0x1337fe;if(_0x1337fe==_0x24624f['length'])break;_0xb52836+=0x9==_0x24624f['charCodeAt'](_0x1337fe)?_0x394c8f-_0xb52836%_0x394c8f:0x1,_0x1337fe=_0x4b59d4(_0x24624f,_0x1337fe);}return!0x0===_0x3701cc?-0x1:_0x24624f['length'];}const _0x545348='undefined'==typeof Symbol?'__ͼ':Symbol['for']('ͼ'),_0x5aa26b='undefined'==typeof Symbol?'__styleSet'+Math['floor'](0x5f5e100*Math['random']()):Symbol('styleSet'),_0x14b82e='undefined'!=typeof globalThis?globalThis:'undefined'!=typeof window?window:{};var _0x134700=class{constructor(_0x203e79,_0x5d425d){this['rules']=[];let {finish:_0x320313}=_0x5d425d||{};function _0x467b21(_0xc2b485){return/^@/['test'](_0xc2b485)?[_0xc2b485]:_0xc2b485['split'](/,\s*/);}function _0xf9442(_0x211452,_0x2ae2b4,_0x588a01,_0xf8b6e3){let _0x1d9777=[],_0x4c1277=/^@(\w+)\b/['exec'](_0x211452[0x0]),_0x3e9856=_0x4c1277&&'keyframes'==_0x4c1277[0x1];if(_0x4c1277&&null==_0x2ae2b4)return _0x588a01['push'](_0x211452[0x0]+';');for(let _0xabad15 in _0x2ae2b4){let _0x46fd45=_0x2ae2b4[_0xabad15];if(/&/['test'](_0xabad15))_0xf9442(_0xabad15['split'](/,\s*/)['map'](_0x31a916=>_0x211452['map'](_0x131e87=>_0x31a916['replace'](/&/,_0x131e87)))['reduce']((_0x4a8d42,_0x159905)=>_0x4a8d42['concat'](_0x159905)),_0x46fd45,_0x588a01);else{if(_0x46fd45&&'object'==typeof _0x46fd45){if(!_0x4c1277)throw new RangeError('The\x20value\x20of\x20a\x20property\x20('+_0xabad15+')\x20should\x20be\x20a\x20primitive\x20value.');_0xf9442(_0x467b21(_0xabad15),_0x46fd45,_0x1d9777,_0x3e9856);}else null!=_0x46fd45&&_0x1d9777['push'](_0xabad15['replace'](/_.*/,'')['replace'](/[A-Z]/g,_0x358ed9=>'-'+_0x358ed9['toLowerCase']())+':\x20'+_0x46fd45+';');}}(_0x1d9777['length']||_0x3e9856)&&_0x588a01['push']((!_0x320313||_0x4c1277||_0xf8b6e3?_0x211452:_0x211452['map'](_0x320313))['join'](',\x20')+'\x20{'+_0x1d9777['join']('\x20')+'}');}for(let _0x546cbc in _0x203e79)_0xf9442(_0x467b21(_0x546cbc),_0x203e79[_0x546cbc],this['rules']);}['getRules'](){return this['rules']['join']('\x0a');}static['newName'](){let _0x1f2ce4=_0x14b82e[_0x545348]||0x1;return _0x14b82e[_0x545348]=_0x1f2ce4+0x1,'ͼ'+_0x1f2ce4['toString'](0x24);}static['mount'](_0x32fe8a,_0x432ec3,_0x2a2989){let _0x2f598b=_0x32fe8a[_0x5aa26b],_0x160261=_0x2a2989&&_0x2a2989['nonce'];_0x2f598b?_0x160261&&_0x2f598b['setNonce'](_0x160261):_0x2f598b=new _0x1d2591(_0x32fe8a,_0x160261),_0x2f598b['mount'](Array['isArray'](_0x432ec3)?_0x432ec3:[_0x432ec3],_0x32fe8a);}};let _0x57ed3b=new Map();for(var _0x1d2591=class{constructor(_0x49cbbb,_0x33d6ab){let _0x44e4f1=_0x49cbbb['ownerDocument']||_0x49cbbb,_0x59dc5e=_0x44e4f1['defaultView'];if(!_0x49cbbb['head']&&_0x49cbbb['adoptedStyleSheets']&&_0x59dc5e['CSSStyleSheet']){let _0x3312c6=_0x57ed3b['get'](_0x44e4f1);if(_0x3312c6)return _0x49cbbb[_0x5aa26b]=_0x3312c6;this['sheet']=new _0x59dc5e['CSSStyleSheet'](),_0x57ed3b['set'](_0x44e4f1,this);}else this['styleTag']=_0x44e4f1['createElement']('style'),_0x33d6ab&&this['styleTag']['setAttribute']('nonce',_0x33d6ab);this['modules']=[],_0x49cbbb[_0x5aa26b]=this;}['mount'](_0x572196,_0x3ac80c){let _0x297dd4=this['sheet'],_0x3addf8=0x0,_0x273c3c=0x0;for(let _0x2b9260=0x0;_0x2b9260<_0x572196['length'];_0x2b9260++){let _0x4b1f96=_0x572196[_0x2b9260],_0xdab5ce=this['modules']['indexOf'](_0x4b1f96);if(_0xdab5ce<_0x273c3c&&_0xdab5ce>-0x1&&(this['modules']['splice'](_0xdab5ce,0x1),_0x273c3c--,_0xdab5ce=-0x1),-0x1==_0xdab5ce){if(this['modules']['splice'](_0x273c3c++,0x0,_0x4b1f96),_0x297dd4){for(let _0x1014ee=0x0;_0x1014ee<_0x4b1f96['rules']['length'];_0x1014ee++)_0x297dd4['insertRule'](_0x4b1f96['rules'][_0x1014ee],_0x3addf8++);}}else{for(;_0x273c3c<_0xdab5ce;)_0x3addf8+=this['modules'][_0x273c3c++]['rules']['length'];_0x3addf8+=_0x4b1f96['rules']['length'],_0x273c3c++;}}if(_0x297dd4)_0x3ac80c['adoptedStyleSheets']['indexOf'](this['sheet'])<0x0&&(_0x3ac80c['adoptedStyleSheets']=[this['sheet'],..._0x3ac80c['adoptedStyleSheets']]);else{let _0x2b455e='';for(let _0x422b9a=0x0;_0x422b9a<this['modules']['length'];_0x422b9a++)_0x2b455e+=this['modules'][_0x422b9a]['getRules']()+'\x0a';this['styleTag']['textContent']=_0x2b455e;let _0x5c0548=_0x3ac80c['head']||_0x3ac80c;this['styleTag']['parentNode']!=_0x5c0548&&_0x5c0548['insertBefore'](this['styleTag'],_0x5c0548['firstChild']);}}['setNonce'](_0xe6d91a){this['styleTag']&&this['styleTag']['getAttribute']('nonce')!=_0xe6d91a&&this['styleTag']['setAttribute']('nonce',_0xe6d91a);}},_0x4768fe={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'},_0x5d55df={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'},_0x22ed20='undefined'!=typeof navigator&&/Mac/['test'](navigator['platform']),_0x28695a='undefined'!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](navigator['userAgent']),_0x240b3d=0x0;_0x240b3d<0xa;_0x240b3d++)_0x4768fe[0x30+_0x240b3d]=_0x4768fe[0x60+_0x240b3d]=String(_0x240b3d);for(_0x240b3d=0x1;_0x240b3d<=0x18;_0x240b3d++)_0x4768fe[_0x240b3d+0x6f]='F'+_0x240b3d;for(_0x240b3d=0x41;_0x240b3d<=0x5a;_0x240b3d++)_0x4768fe[_0x240b3d]=String['fromCharCode'](_0x240b3d+0x20),_0x5d55df[_0x240b3d]=String['fromCharCode'](_0x240b3d);for(var _0x2c75ab in _0x4768fe)_0x5d55df['hasOwnProperty'](_0x2c75ab)||(_0x5d55df[_0x2c75ab]=_0x4768fe[_0x2c75ab]);let _0xc7fc33='undefined'!=typeof navigator?navigator:{'userAgent':'','vendor':'','platform':''},_0x1264c7='undefined'!=typeof document?document:{'documentElement':{'style':{}}};const _0x14300c=/Edge\/(\d+)/['exec'](_0xc7fc33['userAgent']),_0xfab774=/MSIE \d/['test'](_0xc7fc33['userAgent']),_0x550375=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/['exec'](_0xc7fc33['userAgent']),_0x17104b=!!(_0xfab774||_0x550375||_0x14300c),_0x1ec16b=!_0x17104b&&/gecko\/(\d+)/i['test'](_0xc7fc33['userAgent']),tR=!_0x17104b&&/Chrome\/(\d+)/['exec'](_0xc7fc33['userAgent']),_0x226d91='webkitFontSmoothing'in _0x1264c7['documentElement']['style'],_0x24e1fe=!_0x17104b&&/Apple Computer/['test'](_0xc7fc33['vendor']),_0x2aae93=_0x24e1fe&&(/Mobile\/\w+/['test'](_0xc7fc33['userAgent'])||_0xc7fc33['maxTouchPoints']>0x2);var _0x13bfcb={'mac':_0x2aae93||/Mac/['test'](_0xc7fc33['platform']),'windows':/Win/['test'](_0xc7fc33['platform']),'linux':/Linux|X11/['test'](_0xc7fc33['platform']),'ie':_0x17104b,'ie_version':_0xfab774?_0x1264c7['documentMode']||0x6:_0x550375?+_0x550375[0x1]:_0x14300c?+_0x14300c[0x1]:0x0,'gecko':_0x1ec16b,'gecko_version':_0x1ec16b?+(/Firefox\/(\d+)/['exec'](_0xc7fc33['userAgent'])||[0x0,0x0])[0x1]:0x0,'chrome':!!tR,'chrome_version':tR?+tR[0x1]:0x0,'ios':_0x2aae93,'android':/Android\b/['test'](_0xc7fc33['userAgent']),'webkit':_0x226d91,'webkit_version':_0x226d91?+(/\bAppleWebKit\/(\d+)/['exec'](_0xc7fc33['userAgent'])||[0x0,0x0])[0x1]:0x0,'safari':_0x24e1fe,'safari_version':_0x24e1fe?+(/\bVersion\/(\d+(\.\d+)?)/['exec'](_0xc7fc33['userAgent'])||[0x0,0x0])[0x1]:0x0,'tabSize':null!=_0x1264c7['documentElement']['style']['tabSize']?'tab-size':'-moz-tab-size'};function _0x3f1ac6(_0x12719b,_0x4de686){for(let _0x47d544 in _0x12719b)'class'==_0x47d544&&_0x4de686['class']?_0x4de686['class']+='\x20'+_0x12719b['class']:'style'==_0x47d544&&_0x4de686['style']?_0x4de686['style']+=';'+_0x12719b['style']:_0x4de686[_0x47d544]=_0x12719b[_0x47d544];return _0x4de686;}const _0x34069e=Object['create'](null);function _0x256aa8(_0x14bfca,_0x51766b,_0x4568fe){if(_0x14bfca==_0x51766b)return!0x0;_0x14bfca||(_0x14bfca=_0x34069e),_0x51766b||(_0x51766b=_0x34069e);let _0x14466f=Object['keys'](_0x14bfca),_0x20066c=Object['keys'](_0x51766b);if(_0x14466f['length']-(_0x4568fe&&_0x14466f['indexOf'](_0x4568fe)>-0x1?0x1:0x0)!=_0x20066c['length']-(_0x4568fe&&_0x20066c['indexOf'](_0x4568fe)>-0x1?0x1:0x0))return!0x1;for(let _0x1683b9 of _0x14466f)if(_0x1683b9!=_0x4568fe&&(-0x1==_0x20066c['indexOf'](_0x1683b9)||_0x14bfca[_0x1683b9]!==_0x51766b[_0x1683b9]))return!0x1;return!0x0;}function _0x38e53f(_0x97b101,_0x26ea05,_0x32de04){let _0x355a46=!0x1;if(_0x26ea05){for(let _0x44233c in _0x26ea05)_0x32de04&&_0x44233c in _0x32de04||(_0x355a46=!0x0,'style'==_0x44233c?_0x97b101['style']['cssText']='':_0x97b101['removeAttribute'](_0x44233c));}if(_0x32de04){for(let _0x3b4f2b in _0x32de04)_0x26ea05&&_0x26ea05[_0x3b4f2b]==_0x32de04[_0x3b4f2b]||(_0x355a46=!0x0,'style'==_0x3b4f2b?_0x97b101['style']['cssText']=_0x32de04[_0x3b4f2b]:_0x97b101['setAttribute'](_0x3b4f2b,_0x32de04[_0x3b4f2b]));}return _0x355a46;}function _0x2b2157(_0x320260){let _0x451e97=Object['create'](null);for(let _0x25e80e=0x0;_0x25e80e<_0x320260['attributes']['length'];_0x25e80e++){let _0x13f889=_0x320260['attributes'][_0x25e80e];_0x451e97[_0x13f889['name']]=_0x13f889['value'];}return _0x451e97;}var _0x129238=class{['eq'](_0x317791){return!0x1;}['updateDOM'](_0x458663,_0x22fe6c,_0xb8217){return!0x1;}['compare'](_0x179d97){return this==_0x179d97||this['constructor']==_0x179d97['constructor']&&this['eq'](_0x179d97);}get['estimatedHeight'](){return-0x1;}get['lineBreaks'](){return 0x0;}['ignoreEvent'](_0x3de243){return!0x0;}['coordsAt'](_0x9ec6b2,_0x501c29,_0x45e438){return null;}get['isHidden'](){return!0x1;}get['editable'](){return!0x1;}['destroy'](_0x47c9b4){}},_0x3027bf=function(_0x33a825){return _0x33a825[_0x33a825['Text']=0x0]='Text',_0x33a825[_0x33a825['WidgetBefore']=0x1]='WidgetBefore',_0x33a825[_0x33a825['WidgetAfter']=0x2]='WidgetAfter',_0x33a825[_0x33a825['WidgetRange']=0x3]='WidgetRange',_0x33a825;}(_0x3027bf||(_0x3027bf={})),_0x68bd12=class extends _0x15c541{constructor(_0xc64d65,_0x4035bd,_0x186e8a,_0x47ae5b){super(),this['startSide']=_0xc64d65,this['endSide']=_0x4035bd,this['widget']=_0x186e8a,this['spec']=_0x47ae5b;}get['heightRelevant'](){return!0x1;}static['mark'](_0x358910){return new _0x1f9c3c(_0x358910);}static['widget'](_0x19cd05){let _0x33bd76=Math['max'](-0x2710,Math['min'](0x2710,_0x19cd05['side']||0x0)),_0x962747=!!_0x19cd05['block'];return _0x33bd76+=_0x962747&&!_0x19cd05['inlineOrder']?_0x33bd76>0x0?0x11e1a300:-0x17d78400:_0x33bd76>0x0?0x5f5e100:-0x5f5e100,new _0x3932b4(_0x19cd05,_0x33bd76,_0x33bd76,_0x962747,_0x19cd05['widget']||null,!0x1);}static['replace'](_0x17c6b6){let _0x554098,_0x3dd258,_0x31580e=!!_0x17c6b6['block'];if(_0x17c6b6['isBlockGap'])_0x554098=-0x1dcd6500,_0x3dd258=0x17d78400;else{let {start:_0x346591,end:_0x315d9c}=_0x38c526(_0x17c6b6,_0x31580e);_0x554098=(_0x346591?_0x31580e?-0x11e1a300:-0x1:0x1dcd6500)-0x1,_0x3dd258=0x1+(_0x315d9c?_0x31580e?0xbebc200:0x1:-0x23c34600);}return new _0x3932b4(_0x17c6b6,_0x554098,_0x3dd258,_0x31580e,_0x17c6b6['widget']||null,!0x0);}static['line'](_0x45efc5){return new _0x2c07f1(_0x45efc5);}static['set'](_0xef03e9,_0x420519=!0x1){return _0x397923['of'](_0xef03e9,_0x420519);}['hasHeight'](){return!!this['widget']&&this['widget']['estimatedHeight']>-0x1;}};_0x68bd12['none']=_0x397923['empty'];var _0x1f9c3c=class MarkDecoration extends _0x68bd12{constructor(_0x40c53f){let {start:_0x1a0af1,end:_0x112331}=_0x38c526(_0x40c53f);super(_0x1a0af1?-0x1:0x1dcd6500,_0x112331?0x1:-0x23c34600,null,_0x40c53f),this['tagName']=_0x40c53f['tagName']||'span',this['attrs']=_0x40c53f['class']&&_0x40c53f['attributes']?_0x3f1ac6(_0x40c53f['attributes'],{'class':_0x40c53f['class']}):_0x40c53f['class']?{'class':_0x40c53f['class']}:_0x40c53f['attributes']||_0x34069e;}['eq'](_0x16387c){return this==_0x16387c||_0x16387c instanceof MarkDecoration&&this['tagName']==_0x16387c['tagName']&&_0x256aa8(this['attrs'],_0x16387c['attrs']);}['range'](_0x17515b,_0x4c6a42=_0x17515b){if(_0x17515b>=_0x4c6a42)throw new RangeError('Mark\x20decorations\x20may\x20not\x20be\x20empty');return super['range'](_0x17515b,_0x4c6a42);}};_0x1f9c3c['prototype']['point']=!0x1;var _0x2c07f1=class LineDecoration extends _0x68bd12{constructor(_0x11f977){super(-0xbebc200,-0xbebc200,null,_0x11f977);}['eq'](_0x41aab7){return _0x41aab7 instanceof LineDecoration&&this['spec']['class']==_0x41aab7['spec']['class']&&_0x256aa8(this['spec']['attributes'],_0x41aab7['spec']['attributes']);}['range'](_0x3abd50,_0x1c0856=_0x3abd50){if(_0x1c0856!=_0x3abd50)throw new RangeError('Line\x20decoration\x20ranges\x20must\x20be\x20zero-length');return super['range'](_0x3abd50,_0x1c0856);}};_0x2c07f1['prototype']['mapMode']=_0x473ae9['TrackBefore'],_0x2c07f1['prototype']['point']=!0x0;var _0x3932b4=class PointDecoration extends _0x68bd12{constructor(_0x2d3cc6,_0x17d8be,_0x26c730,_0x15d88d,_0x203a1e,_0x3e2f45){super(_0x17d8be,_0x26c730,_0x203a1e,_0x2d3cc6),this['block']=_0x15d88d,this['isReplace']=_0x3e2f45,this['mapMode']=_0x15d88d?_0x17d8be<=0x0?_0x473ae9['TrackBefore']:_0x473ae9['TrackAfter']:_0x473ae9['TrackDel'];}get['type'](){return this['startSide']!=this['endSide']?_0x3027bf['WidgetRange']:this['startSide']<=0x0?_0x3027bf['WidgetBefore']:_0x3027bf['WidgetAfter'];}get['heightRelevant'](){return this['block']||!!this['widget']&&(this['widget']['estimatedHeight']>=0x5||this['widget']['lineBreaks']>0x0);}['eq'](_0x275826){return _0x275826 instanceof PointDecoration&&(_0x19d86b=this['widget'],_0x2c0d55=_0x275826['widget'],_0x19d86b==_0x2c0d55||!!(_0x19d86b&&_0x2c0d55&&_0x19d86b['compare'](_0x2c0d55)))&&this['block']==_0x275826['block']&&this['startSide']==_0x275826['startSide']&&this['endSide']==_0x275826['endSide'];var _0x19d86b,_0x2c0d55;}['range'](_0x46ce50,_0x120ac3=_0x46ce50){if(this['isReplace']&&(_0x46ce50>_0x120ac3||_0x46ce50==_0x120ac3&&this['startSide']>0x0&&this['endSide']<=0x0))throw new RangeError('Invalid\x20range\x20for\x20replacement\x20decoration');if(!this['isReplace']&&_0x120ac3!=_0x46ce50)throw new RangeError('Widget\x20decorations\x20can\x20only\x20have\x20zero-length\x20ranges');return super['range'](_0x46ce50,_0x120ac3);}};function _0x38c526(_0x213e87,_0x6254e5=!0x1){let {inclusiveStart:_0x4b4da3,inclusiveEnd:_0x2381de}=_0x213e87;return null==_0x4b4da3&&(_0x4b4da3=_0x213e87['inclusive']),null==_0x2381de&&(_0x2381de=_0x213e87['inclusive']),{'start':null!=_0x4b4da3?_0x4b4da3:_0x6254e5,'end':null!=_0x2381de?_0x2381de:_0x6254e5};}function _0xea97e9(_0x123471,_0x4d047d,_0x57a569,_0xefb6db=0x0){let _0x167999=_0x57a569['length']-0x1;_0x167999>=0x0&&_0x57a569[_0x167999]+_0xefb6db>=_0x123471?_0x57a569[_0x167999]=Math['max'](_0x57a569[_0x167999],_0x4d047d):_0x57a569['push'](_0x123471,_0x4d047d);}_0x3932b4['prototype']['point']=!0x0;var _0x744ca9=class _0x76206b extends _0x15c541{constructor(_0x38a353,_0xbc0f6e,_0x12ddd7){super(),this['tagName']=_0x38a353,this['attributes']=_0xbc0f6e,this['rank']=_0x12ddd7;}['eq'](_0x3a2a30){return _0x3a2a30==this||_0x3a2a30 instanceof _0x76206b&&this['tagName']==_0x3a2a30['tagName']&&_0x256aa8(this['attributes'],_0x3a2a30['attributes']);}static['create'](_0x35e115){return new _0x76206b(_0x35e115['tagName'],_0x35e115['attributes']||_0x34069e,null==_0x35e115['rank']?0x32:Math['max'](0x0,Math['min'](_0x35e115['rank'],0x64)));}static['set'](_0x1b26cf,_0x4ff643=!0x1){return _0x397923['of'](_0x1b26cf,_0x4ff643);}};function _0x35c92b(_0xca28e5){let _0x1eeb09;return _0x1eeb09=0xb==_0xca28e5['nodeType']?_0xca28e5['getSelection']?_0xca28e5:_0xca28e5['ownerDocument']:_0xca28e5,_0x1eeb09['getSelection']();}function _0x5b1f20(_0x4a8ea8,_0x16295b){return!!_0x16295b&&(_0x4a8ea8==_0x16295b||_0x4a8ea8['contains'](0x1!=_0x16295b['nodeType']?_0x16295b['parentNode']:_0x16295b));}function _0x4f459f(_0xb3e421,_0x3e5be4){if(!_0x3e5be4['anchorNode'])return!0x1;try{return _0x5b1f20(_0xb3e421,_0x3e5be4['anchorNode']);}catch(_0x304970){return!0x1;}}function _0xa70946(_0x1d2183){return 0x3==_0x1d2183['nodeType']?_0x59dea4(_0x1d2183,0x0,_0x1d2183['nodeValue']['length'])['getClientRects']():0x1==_0x1d2183['nodeType']?_0x1d2183['getClientRects']():[];}function _0x274330(_0x21904b,_0x2d660b,_0x429a35,_0x5b9ff5){return!!_0x429a35&&(_0x45b952(_0x21904b,_0x2d660b,_0x429a35,_0x5b9ff5,-0x1)||_0x45b952(_0x21904b,_0x2d660b,_0x429a35,_0x5b9ff5,0x1));}function _0x30e7ff(_0xbc7dc0){for(var _0xbf6cfb=0x0;;_0xbf6cfb++)if(!(_0xbc7dc0=_0xbc7dc0['previousSibling']))return _0xbf6cfb;}function _0x37c35b(_0x498dfd){return 0x1==_0x498dfd['nodeType']&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/['test'](_0x498dfd['nodeName']);}function _0x45b952(_0xbf74e2,_0x11e54c,_0x341e23,_0x42abeb,_0x5dbc16){for(;;){if(_0xbf74e2==_0x341e23&&_0x11e54c==_0x42abeb)return!0x0;if(_0x11e54c==(_0x5dbc16<0x0?0x0:_0x998b10(_0xbf74e2))){if('DIV'==_0xbf74e2['nodeName'])return!0x1;let _0x2543c8=_0xbf74e2['parentNode'];if(!_0x2543c8||0x1!=_0x2543c8['nodeType'])return!0x1;_0x11e54c=_0x30e7ff(_0xbf74e2)+(_0x5dbc16<0x0?0x0:0x1),_0xbf74e2=_0x2543c8;}else{if(0x1!=_0xbf74e2['nodeType'])return!0x1;if(0x1==(_0xbf74e2=_0xbf74e2['childNodes'][_0x11e54c+(_0x5dbc16<0x0?-0x1:0x0)])['nodeType']&&'false'==_0xbf74e2['contentEditable'])return!0x1;_0x11e54c=_0x5dbc16<0x0?_0x998b10(_0xbf74e2):0x0;}}}function _0x998b10(_0x725d28){return 0x3==_0x725d28['nodeType']?_0x725d28['nodeValue']['length']:_0x725d28['childNodes']['length'];}function _0x3287e0(_0x50f173,_0x29b9bf){let _0x195ba9=_0x29b9bf?_0x50f173['left']:_0x50f173['right'];return{'left':_0x195ba9,'right':_0x195ba9,'top':_0x50f173['top'],'bottom':_0x50f173['bottom']};}function _0x2e6fd0(_0x4ee4ff){let _0x32e6a3=_0x4ee4ff['visualViewport'];return _0x32e6a3?{'left':0x0,'right':_0x32e6a3['width'],'top':0x0,'bottom':_0x32e6a3['height']}:{'left':0x0,'right':_0x4ee4ff['innerWidth'],'top':0x0,'bottom':_0x4ee4ff['innerHeight']};}function _0x3176dc(_0x138b7f,_0x979f3b){let _0x5cb297=_0x979f3b['width']/_0x138b7f['offsetWidth'],_0x3f4ce5=_0x979f3b['height']/_0x138b7f['offsetHeight'];return(_0x5cb297>0.995&&_0x5cb297<1.005||!isFinite(_0x5cb297)||Math['abs'](_0x979f3b['width']-_0x138b7f['offsetWidth'])<0x1)&&(_0x5cb297=0x1),(_0x3f4ce5>0.995&&_0x3f4ce5<1.005||!isFinite(_0x3f4ce5)||Math['abs'](_0x979f3b['height']-_0x138b7f['offsetHeight'])<0x1)&&(_0x3f4ce5=0x1),{'scaleX':_0x5cb297,'scaleY':_0x3f4ce5};}function _0x15fcb2(_0x2566d9,_0x1f2ba3=!0x0){let _0x66a464=_0x2566d9['ownerDocument'],_0x243184=null,_0x478f0d=null;for(let _0x37d1e5=_0x2566d9['parentNode'];_0x37d1e5&&(_0x37d1e5!=_0x66a464['body']&&(_0x1f2ba3&&!_0x243184||!_0x478f0d));)if(0x1==_0x37d1e5['nodeType'])!_0x478f0d&&_0x37d1e5['scrollHeight']>_0x37d1e5['clientHeight']&&(_0x478f0d=_0x37d1e5),_0x1f2ba3&&!_0x243184&&_0x37d1e5['scrollWidth']>_0x37d1e5['clientWidth']&&(_0x243184=_0x37d1e5),_0x37d1e5=_0x37d1e5['assignedSlot']||_0x37d1e5['parentNode'];else{if(0xb!=_0x37d1e5['nodeType'])break;_0x37d1e5=_0x37d1e5['host'];}return{'x':_0x243184,'y':_0x478f0d};}_0x744ca9['prototype']['startSide']=_0x744ca9['prototype']['endSide']=-0x1;var _0x38c00c=class{constructor(){this['anchorNode']=null,this['anchorOffset']=0x0,this['focusNode']=null,this['focusOffset']=0x0;}['eq'](_0x328b63){return this['anchorNode']==_0x328b63['anchorNode']&&this['anchorOffset']==_0x328b63['anchorOffset']&&this['focusNode']==_0x328b63['focusNode']&&this['focusOffset']==_0x328b63['focusOffset'];}['setRange'](_0x33a066){let {anchorNode:_0xc16c01,focusNode:_0xfb24c1}=_0x33a066;this['set'](_0xc16c01,Math['min'](_0x33a066['anchorOffset'],_0xc16c01?_0x998b10(_0xc16c01):0x0),_0xfb24c1,Math['min'](_0x33a066['focusOffset'],_0xfb24c1?_0x998b10(_0xfb24c1):0x0));}['set'](_0x138f44,_0x536789,_0x2246be,_0x59b576){this['anchorNode']=_0x138f44,this['anchorOffset']=_0x536789,this['focusNode']=_0x2246be,this['focusOffset']=_0x59b576;}};let _0x5ab2dd,_0x366b6a=null;function _0x2c6c1d(_0x2a63c4){if(_0x2a63c4['setActive'])return _0x2a63c4['setActive']();if(_0x366b6a)return _0x2a63c4['focus'](_0x366b6a);let _0x18acb7=[];for(let _0x48b4a2=_0x2a63c4;_0x48b4a2&&(_0x18acb7['push'](_0x48b4a2,_0x48b4a2['scrollTop'],_0x48b4a2['scrollLeft']),_0x48b4a2!=_0x48b4a2['ownerDocument']);_0x48b4a2=_0x48b4a2['parentNode']);if(_0x2a63c4['focus'](null==_0x366b6a?{get 'preventScroll'(){return _0x366b6a={'preventScroll':!0x0},!0x0;}}:void 0x0),!_0x366b6a){_0x366b6a=!0x1;for(let _0x47afe6=0x0;_0x47afe6<_0x18acb7['length'];){let _0x568169=_0x18acb7[_0x47afe6++],_0x170ed1=_0x18acb7[_0x47afe6++],_0x27c711=_0x18acb7[_0x47afe6++];_0x568169['scrollTop']!=_0x170ed1&&(_0x568169['scrollTop']=_0x170ed1),_0x568169['scrollLeft']!=_0x27c711&&(_0x568169['scrollLeft']=_0x27c711);}}}function _0x59dea4(_0x2a6459,_0x58f70f,_0x28b978=_0x58f70f){let _0x37a408=_0x5ab2dd||(_0x5ab2dd=document['createRange']());return _0x37a408['setEnd'](_0x2a6459,_0x28b978),_0x37a408['setStart'](_0x2a6459,_0x58f70f),_0x37a408;}function _0x12130e(_0x16c2ae,_0x42ab40,_0x2866be,_0x3a232f){let _0x3e3562={'key':_0x42ab40,'code':_0x42ab40,'keyCode':_0x2866be,'which':_0x2866be,'cancelable':!0x0};_0x3a232f&&({altKey:_0x3e3562['altKey'],ctrlKey:_0x3e3562['ctrlKey'],shiftKey:_0x3e3562['shiftKey'],metaKey:_0x3e3562['metaKey']}=_0x3a232f);let _0x81584f=new KeyboardEvent('keydown',_0x3e3562);_0x81584f['synthetic']=!0x0,_0x16c2ae['dispatchEvent'](_0x81584f);let _0x41f848=new KeyboardEvent('keyup',_0x3e3562);return _0x41f848['synthetic']=!0x0,_0x16c2ae['dispatchEvent'](_0x41f848),_0x81584f['defaultPrevented']||_0x41f848['defaultPrevented'];}function _0x2acd73(_0x2e7934){return _0x2e7934 instanceof Window?_0x2e7934['pageYOffset']>Math['max'](0x0,_0x2e7934['document']['documentElement']['scrollHeight']-_0x2e7934['innerHeight']-0x4):_0x2e7934['scrollTop']>Math['max'](0x1,_0x2e7934['scrollHeight']-_0x2e7934['clientHeight']-0x4);}function _0x2f9475(_0x541b6b,_0x474937){for(let _0x5f4556=_0x541b6b,_0x51da60=_0x474937;;){if(0x3==_0x5f4556['nodeType']&&_0x51da60>0x0)return{'node':_0x5f4556,'offset':_0x51da60};if(0x1==_0x5f4556['nodeType']&&_0x51da60>0x0){if('false'==_0x5f4556['contentEditable'])return null;_0x5f4556=_0x5f4556['childNodes'][_0x51da60-0x1],_0x51da60=_0x998b10(_0x5f4556);}else{if(!_0x5f4556['parentNode']||_0x37c35b(_0x5f4556))return null;_0x51da60=_0x30e7ff(_0x5f4556),_0x5f4556=_0x5f4556['parentNode'];}}}function _0x441a44(_0x4308cb,_0x4e2f8f){for(let _0x1e3268=_0x4308cb,_0x3a512d=_0x4e2f8f;;){if(0x3==_0x1e3268['nodeType']&&_0x3a512d<_0x1e3268['nodeValue']['length'])return{'node':_0x1e3268,'offset':_0x3a512d};if(0x1==_0x1e3268['nodeType']&&_0x3a512d<_0x1e3268['childNodes']['length']){if('false'==_0x1e3268['contentEditable'])return null;_0x1e3268=_0x1e3268['childNodes'][_0x3a512d],_0x3a512d=0x0;}else{if(!_0x1e3268['parentNode']||_0x37c35b(_0x1e3268))return null;_0x3a512d=_0x30e7ff(_0x1e3268)+0x1,_0x1e3268=_0x1e3268['parentNode'];}}}_0x13bfcb['safari']&&_0x13bfcb['safari_version']>=0x1a&&(_0x366b6a=!0x1);var _0xd96b86=class _0x782f36{constructor(_0x5e8655,_0x2a4a09,_0x582fed=!0x0){this['node']=_0x5e8655,this['offset']=_0x2a4a09,this['precise']=_0x582fed;}static['before'](_0x52f280,_0x278c69){return new _0x782f36(_0x52f280['parentNode'],_0x30e7ff(_0x52f280),_0x278c69);}static['after'](_0x46dd9d,_0x6ec2d1){return new _0x782f36(_0x46dd9d['parentNode'],_0x30e7ff(_0x46dd9d)+0x1,_0x6ec2d1);}},_0x48659f=function(_0x46ecf7){return _0x46ecf7[_0x46ecf7['LTR']=0x0]='LTR',_0x46ecf7[_0x46ecf7['RTL']=0x1]='RTL',_0x46ecf7;}(_0x48659f||(_0x48659f={}));const _0x5236b8=_0x48659f['LTR'],_0x2ca601=_0x48659f['RTL'];function _0x31fb17(_0x56a56d){let _0x143cac=[];for(let _0x55d411=0x0;_0x55d411<_0x56a56d['length'];_0x55d411++)_0x143cac['push'](0x1<<+_0x56a56d[_0x55d411]);return _0x143cac;}const _0xf94bb2=_0x31fb17('88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008'),_0x1cf28d=_0x31fb17('4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333'),_0xf05ec1=Object['create'](null),_0x31db0b=[];for(let _0x16736e of['()','[]','{}']){let _0x4ec039=_0x16736e['charCodeAt'](0x0),_0x45b42f=_0x16736e['charCodeAt'](0x1);_0xf05ec1[_0x4ec039]=_0x45b42f,_0xf05ec1[_0x45b42f]=-_0x4ec039;}function _0x393dfd(_0x43e2bf){return _0x43e2bf<=0xf7?_0xf94bb2[_0x43e2bf]:0x590<=_0x43e2bf&&_0x43e2bf<=0x5f4?0x2:0x600<=_0x43e2bf&&_0x43e2bf<=0x6f9?_0x1cf28d[_0x43e2bf-0x600]:0x6ee<=_0x43e2bf&&_0x43e2bf<=0x8ac?0x4:0x2000<=_0x43e2bf&&_0x43e2bf<=0x200c?0x100:0xfb50<=_0x43e2bf&&_0x43e2bf<=0xfdff?0x4:0x1;}const _0x5df02c=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;var _0x11a270=class{get['dir'](){return this['level']%0x2?_0x2ca601:_0x5236b8;}constructor(_0x50a581,_0x9f3477,_0x41b0c8){this['from']=_0x50a581,this['to']=_0x9f3477,this['level']=_0x41b0c8;}['side'](_0x4f4ccf,_0x44ba0b){return this['dir']==_0x44ba0b==_0x4f4ccf?this['to']:this['from'];}['forward'](_0x41221f,_0x3a9a2b){return _0x41221f==(this['dir']==_0x3a9a2b);}static['find'](_0x1d4fe5,_0x302443,_0x3939e4,_0x2f2636){let _0x83b75c=-0x1;for(let _0x35d97c=0x0;_0x35d97c<_0x1d4fe5['length'];_0x35d97c++){let _0xde5206=_0x1d4fe5[_0x35d97c];if(_0xde5206['from']<=_0x302443&&_0xde5206['to']>=_0x302443){if(_0xde5206['level']==_0x3939e4)return _0x35d97c;(_0x83b75c<0x0||(0x0!=_0x2f2636?_0x2f2636<0x0?_0xde5206['from']<_0x302443:_0xde5206['to']>_0x302443:_0x1d4fe5[_0x83b75c]['level']>_0xde5206['level']))&&(_0x83b75c=_0x35d97c);}}if(_0x83b75c<0x0)throw new RangeError('Index\x20out\x20of\x20range');return _0x83b75c;}};function _0x26bbdc(_0xb1093a,_0x48ccf1){if(_0xb1093a['length']!=_0x48ccf1['length'])return!0x1;for(let _0x193c7a=0x0;_0x193c7a<_0xb1093a['length'];_0x193c7a++){let _0x3ff899=_0xb1093a[_0x193c7a],_0x6f5658=_0x48ccf1[_0x193c7a];if(_0x3ff899['from']!=_0x6f5658['from']||_0x3ff899['to']!=_0x6f5658['to']||_0x3ff899['direction']!=_0x6f5658['direction']||!_0x26bbdc(_0x3ff899['inner'],_0x6f5658['inner']))return!0x1;}return!0x0;}const tP=[];function _0x4128da(_0x103ea7,_0x56384f,_0x3322d6,_0x1878f1,_0x357fb3,_0x5ef8e7,_0x383a90){let _0x31e916=_0x1878f1%0x2?0x2:0x1;if(_0x1878f1%0x2==_0x357fb3%0x2)for(let _0x13c890=_0x56384f,_0x2e9e8b=0x0;_0x13c890<_0x3322d6;){let _0x2e0606=!0x0,_0x21a5fe=!0x1;if(_0x2e9e8b==_0x5ef8e7['length']||_0x13c890<_0x5ef8e7[_0x2e9e8b]['from']){let _0x11f1bd=tP[_0x13c890];_0x11f1bd!=_0x31e916&&(_0x2e0606=!0x1,_0x21a5fe=0x10==_0x11f1bd);}let _0x220fb1=_0x2e0606||0x1!=_0x31e916?null:[],_0x892d90=_0x2e0606?_0x1878f1:_0x1878f1+0x1,_0x688591=_0x13c890;t:for(;;)if(_0x2e9e8b<_0x5ef8e7['length']&&_0x688591==_0x5ef8e7[_0x2e9e8b]['from']){if(_0x21a5fe)break t;let _0x5bcc08=_0x5ef8e7[_0x2e9e8b];if(!_0x2e0606)for(let _0x225cec=_0x5bcc08['to'],_0xc1e5af=_0x2e9e8b+0x1;;){if(_0x225cec==_0x3322d6)break t;if(!(_0xc1e5af<_0x5ef8e7['length']&&_0x5ef8e7[_0xc1e5af]['from']==_0x225cec)){if(tP[_0x225cec]==_0x31e916)break t;break;}_0x225cec=_0x5ef8e7[_0xc1e5af++]['to'];}_0x2e9e8b++,_0x220fb1?_0x220fb1['push'](_0x5bcc08):(_0x5bcc08['from']>_0x13c890&&_0x383a90['push'](new _0x11a270(_0x13c890,_0x5bcc08['from'],_0x892d90)),_0x3cf9bf(_0x103ea7,_0x5bcc08['direction']==_0x5236b8!=!(_0x892d90%0x2)?_0x1878f1+0x1:_0x1878f1,_0x357fb3,_0x5bcc08['inner'],_0x5bcc08['from'],_0x5bcc08['to'],_0x383a90),_0x13c890=_0x5bcc08['to']),_0x688591=_0x5bcc08['to'];}else{if(_0x688591==_0x3322d6||(_0x2e0606?tP[_0x688591]!=_0x31e916:tP[_0x688591]==_0x31e916))break;_0x688591++;}_0x220fb1?_0x4128da(_0x103ea7,_0x13c890,_0x688591,_0x1878f1+0x1,_0x357fb3,_0x220fb1,_0x383a90):_0x13c890<_0x688591&&_0x383a90['push'](new _0x11a270(_0x13c890,_0x688591,_0x892d90)),_0x13c890=_0x688591;}else for(let _0x1873d9=_0x3322d6,_0x58af26=_0x5ef8e7['length'];_0x1873d9>_0x56384f;){let _0x55378a=!0x0,_0x1997c3=!0x1;if(!_0x58af26||_0x1873d9>_0x5ef8e7[_0x58af26-0x1]['to']){let _0x48fa96=tP[_0x1873d9-0x1];_0x48fa96!=_0x31e916&&(_0x55378a=!0x1,_0x1997c3=0x10==_0x48fa96);}let _0x410e13=_0x55378a||0x1!=_0x31e916?null:[],_0x43cbcb=_0x55378a?_0x1878f1:_0x1878f1+0x1,_0x3f86eb=_0x1873d9;t:for(;;)if(_0x58af26&&_0x3f86eb==_0x5ef8e7[_0x58af26-0x1]['to']){if(_0x1997c3)break t;let _0x188ae5=_0x5ef8e7[--_0x58af26];if(!_0x55378a)for(let _0x41a374=_0x188ae5['from'],_0x31219a=_0x58af26;;){if(_0x41a374==_0x56384f)break t;if(!_0x31219a||_0x5ef8e7[_0x31219a-0x1]['to']!=_0x41a374){if(tP[_0x41a374-0x1]==_0x31e916)break t;break;}_0x41a374=_0x5ef8e7[--_0x31219a]['from'];}_0x410e13?_0x410e13['push'](_0x188ae5):(_0x188ae5['to']<_0x1873d9&&_0x383a90['push'](new _0x11a270(_0x188ae5['to'],_0x1873d9,_0x43cbcb)),_0x3cf9bf(_0x103ea7,_0x188ae5['direction']==_0x5236b8!=!(_0x43cbcb%0x2)?_0x1878f1+0x1:_0x1878f1,_0x357fb3,_0x188ae5['inner'],_0x188ae5['from'],_0x188ae5['to'],_0x383a90),_0x1873d9=_0x188ae5['from']),_0x3f86eb=_0x188ae5['from'];}else{if(_0x3f86eb==_0x56384f||(_0x55378a?tP[_0x3f86eb-0x1]!=_0x31e916:tP[_0x3f86eb-0x1]==_0x31e916))break;_0x3f86eb--;}_0x410e13?_0x4128da(_0x103ea7,_0x3f86eb,_0x1873d9,_0x1878f1+0x1,_0x357fb3,_0x410e13,_0x383a90):_0x3f86eb<_0x1873d9&&_0x383a90['push'](new _0x11a270(_0x3f86eb,_0x1873d9,_0x43cbcb)),_0x1873d9=_0x3f86eb;}}function _0x3cf9bf(_0x2e989c,_0x5a9afa,_0x49ec2b,_0x4bb991,_0x51f354,_0x58676b,_0x1f0652){let _0xb930f0=_0x5a9afa%0x2?0x2:0x1;!function(_0x12af3a,_0x368a10,_0x2b59a0,_0x331e1c,_0x57745f){for(let _0xec1ce4=0x0;_0xec1ce4<=_0x331e1c['length'];_0xec1ce4++){let _0x2f1f77=_0xec1ce4?_0x331e1c[_0xec1ce4-0x1]['to']:_0x368a10,_0x36f28f=_0xec1ce4<_0x331e1c['length']?_0x331e1c[_0xec1ce4]['from']:_0x2b59a0,_0x42e786=_0xec1ce4?0x100:_0x57745f;for(let _0xbcd873=_0x2f1f77,_0x145110=_0x42e786,_0x4b7eba=_0x42e786;_0xbcd873<_0x36f28f;_0xbcd873++){let _0x41f9fe=_0x393dfd(_0x12af3a['charCodeAt'](_0xbcd873));0x200==_0x41f9fe?_0x41f9fe=_0x145110:0x8==_0x41f9fe&&0x4==_0x4b7eba&&(_0x41f9fe=0x10),tP[_0xbcd873]=0x4==_0x41f9fe?0x2:_0x41f9fe,0x7&_0x41f9fe&&(_0x4b7eba=_0x41f9fe),_0x145110=_0x41f9fe;}for(let _0xa4cbf7=_0x2f1f77,_0x5a9e20=_0x42e786,_0xefeb28=_0x42e786;_0xa4cbf7<_0x36f28f;_0xa4cbf7++){let _0x4ded55=tP[_0xa4cbf7];if(0x80==_0x4ded55)_0xa4cbf7<_0x36f28f-0x1&&_0x5a9e20==tP[_0xa4cbf7+0x1]&&0x18&_0x5a9e20?_0x4ded55=tP[_0xa4cbf7]=_0x5a9e20:tP[_0xa4cbf7]=0x100;else{if(0x40==_0x4ded55){let _0x74cca4=_0xa4cbf7+0x1;for(;_0x74cca4<_0x36f28f&&0x40==tP[_0x74cca4];)_0x74cca4++;let _0x40fcc4=_0xa4cbf7&&0x8==_0x5a9e20||_0x74cca4<_0x2b59a0&&0x8==tP[_0x74cca4]?0x1==_0xefeb28?0x1:0x8:0x100;for(let _0x1295fd=_0xa4cbf7;_0x1295fd<_0x74cca4;_0x1295fd++)tP[_0x1295fd]=_0x40fcc4;_0xa4cbf7=_0x74cca4-0x1;}else 0x8==_0x4ded55&&0x1==_0xefeb28&&(tP[_0xa4cbf7]=0x1);}_0x5a9e20=_0x4ded55,0x7&_0x4ded55&&(_0xefeb28=_0x4ded55);}}}(_0x2e989c,_0x51f354,_0x58676b,_0x4bb991,_0xb930f0),function(_0x18c861,_0x3108d9,_0x2ada32,_0x4b8c4c,_0x1f52fb){let _0xa07cb1=0x1==_0x1f52fb?0x2:0x1;for(let _0x50c33b=0x0,_0xbb5aa6=0x0,_0x308f0a=0x0;_0x50c33b<=_0x4b8c4c['length'];_0x50c33b++){let _0x1339d9=_0x50c33b?_0x4b8c4c[_0x50c33b-0x1]['to']:_0x3108d9,_0x14796e=_0x50c33b<_0x4b8c4c['length']?_0x4b8c4c[_0x50c33b]['from']:_0x2ada32;for(let _0x6b87a5,_0x55f424,_0xfa2500,_0x3d61c3=_0x1339d9;_0x3d61c3<_0x14796e;_0x3d61c3++)if(_0x55f424=_0xf05ec1[_0x6b87a5=_0x18c861['charCodeAt'](_0x3d61c3)]){if(_0x55f424<0x0){for(let _0x14f0ec=_0xbb5aa6-0x3;_0x14f0ec>=0x0;_0x14f0ec-=0x3)if(_0x31db0b[_0x14f0ec+0x1]==-_0x55f424){let _0x1c853f=_0x31db0b[_0x14f0ec+0x2],_0x1d0f7b=0x2&_0x1c853f?_0x1f52fb:0x4&_0x1c853f?0x1&_0x1c853f?_0xa07cb1:_0x1f52fb:0x0;_0x1d0f7b&&(tP[_0x3d61c3]=tP[_0x31db0b[_0x14f0ec]]=_0x1d0f7b),_0xbb5aa6=_0x14f0ec;break;}}else{if(0xbd==_0x31db0b['length'])break;_0x31db0b[_0xbb5aa6++]=_0x3d61c3,_0x31db0b[_0xbb5aa6++]=_0x6b87a5,_0x31db0b[_0xbb5aa6++]=_0x308f0a;}}else{if(0x2==(_0xfa2500=tP[_0x3d61c3])||0x1==_0xfa2500){let _0x1f6433=_0xfa2500==_0x1f52fb;_0x308f0a=_0x1f6433?0x0:0x1;for(let _0x54210b=_0xbb5aa6-0x3;_0x54210b>=0x0;_0x54210b-=0x3){let _0x172e66=_0x31db0b[_0x54210b+0x2];if(0x2&_0x172e66)break;if(_0x1f6433)_0x31db0b[_0x54210b+0x2]|=0x2;else{if(0x4&_0x172e66)break;_0x31db0b[_0x54210b+0x2]|=0x4;}}}}}}(_0x2e989c,_0x51f354,_0x58676b,_0x4bb991,_0xb930f0),function(_0x1e5f93,_0x1ae46e,_0x4b945c,_0x465c41){for(let _0x4d5165=0x0,_0x3ec6f7=_0x465c41;_0x4d5165<=_0x4b945c['length'];_0x4d5165++){let _0x218abf=_0x4d5165?_0x4b945c[_0x4d5165-0x1]['to']:_0x1e5f93,_0x336880=_0x4d5165<_0x4b945c['length']?_0x4b945c[_0x4d5165]['from']:_0x1ae46e;for(let _0x59bba7=_0x218abf;_0x59bba7<_0x336880;){let _0x27b6b2=tP[_0x59bba7];if(0x100==_0x27b6b2){let _0x3706e1=_0x59bba7+0x1;for(;;)if(_0x3706e1==_0x336880){if(_0x4d5165==_0x4b945c['length'])break;_0x3706e1=_0x4b945c[_0x4d5165++]['to'],_0x336880=_0x4d5165<_0x4b945c['length']?_0x4b945c[_0x4d5165]['from']:_0x1ae46e;}else{if(0x100!=tP[_0x3706e1])break;_0x3706e1++;}let _0x25bd82=0x1==_0x3ec6f7,_0x380cdd=_0x25bd82==(0x1==(_0x3706e1<_0x1ae46e?tP[_0x3706e1]:_0x465c41))?_0x25bd82?0x1:0x2:_0x465c41;for(let _0x13666b=_0x3706e1,_0x2e3f0f=_0x4d5165,_0x14965e=_0x2e3f0f?_0x4b945c[_0x2e3f0f-0x1]['to']:_0x1e5f93;_0x13666b>_0x59bba7;)_0x13666b==_0x14965e&&(_0x13666b=_0x4b945c[--_0x2e3f0f]['from'],_0x14965e=_0x2e3f0f?_0x4b945c[_0x2e3f0f-0x1]['to']:_0x1e5f93),tP[--_0x13666b]=_0x380cdd;_0x59bba7=_0x3706e1;}else _0x3ec6f7=_0x27b6b2,_0x59bba7++;}}}(_0x51f354,_0x58676b,_0x4bb991,_0xb930f0),_0x4128da(_0x2e989c,_0x51f354,_0x58676b,_0x5a9afa,_0x49ec2b,_0x4bb991,_0x1f0652);}function _0x18a98c(_0x1b91c0){return[new _0x11a270(0x0,_0x1b91c0,0x0)];}let _0x2a3660='';function _0x5e1b2b(_0x278f02,_0x5dd3ae,_0xd54c41,_0xa02c35,_0x37d41a){var _0x25f557;let _0x2dcbc2=_0xa02c35['head']-_0x278f02['from'],_0x346076=_0x11a270['find'](_0x5dd3ae,_0x2dcbc2,null!==(_0x25f557=_0xa02c35['bidiLevel'])&&void 0x0!==_0x25f557?_0x25f557:-0x1,_0xa02c35['assoc']),_0x543919=_0x5dd3ae[_0x346076],_0x392a63=_0x543919['side'](_0x37d41a,_0xd54c41);if(_0x2dcbc2==_0x392a63){let _0x1ea395=_0x346076+=_0x37d41a?0x1:-0x1;if(_0x1ea395<0x0||_0x1ea395>=_0x5dd3ae['length'])return null;_0x543919=_0x5dd3ae[_0x346076=_0x1ea395],_0x2dcbc2=_0x543919['side'](!_0x37d41a,_0xd54c41),_0x392a63=_0x543919['side'](_0x37d41a,_0xd54c41);}let _0x52b7d1=_0x4b59d4(_0x278f02['text'],_0x2dcbc2,_0x543919['forward'](_0x37d41a,_0xd54c41));(_0x52b7d1<_0x543919['from']||_0x52b7d1>_0x543919['to'])&&(_0x52b7d1=_0x392a63),_0x2a3660=_0x278f02['text']['slice'](Math['min'](_0x2dcbc2,_0x52b7d1),Math['max'](_0x2dcbc2,_0x52b7d1));let _0x59a026=_0x346076==(_0x37d41a?_0x5dd3ae['length']-0x1:0x0)?null:_0x5dd3ae[_0x346076+(_0x37d41a?0x1:-0x1)];return _0x59a026&&_0x52b7d1==_0x392a63&&_0x59a026['level']+(_0x37d41a?0x0:0x1)<_0x543919['level']?_0x152831['cursor'](_0x59a026['side'](!_0x37d41a,_0xd54c41)+_0x278f02['from'],_0x59a026['forward'](_0x37d41a,_0xd54c41)?0x1:-0x1,_0x59a026['level']):_0x152831['cursor'](_0x52b7d1+_0x278f02['from'],_0x543919['forward'](_0x37d41a,_0xd54c41)?-0x1:0x1,_0x543919['level']);}function _0x131a62(_0x3ce2ac,_0x5e8ad0,_0x184159){for(let _0x1e549c=_0x5e8ad0;_0x1e549c<_0x184159;_0x1e549c++){let _0x469846=_0x393dfd(_0x3ce2ac['charCodeAt'](_0x1e549c));if(0x1==_0x469846)return _0x5236b8;if(0x2==_0x469846||0x4==_0x469846)return _0x2ca601;}return _0x5236b8;}const _0x11c9d2=_0x17b3ea['define'](),_0x98db87=_0x17b3ea['define'](),_0x351434=_0x17b3ea['define'](),_0x2d2c08=_0x17b3ea['define'](),_0x34acb9=_0x17b3ea['define'](),_0x36c30f=_0x17b3ea['define'](),_0x125eee=_0x17b3ea['define'](),_0x4fb379=_0x17b3ea['define'](),_0x3bcafb=_0x17b3ea['define'](),_0x5a4122=_0x17b3ea['define']({'combine':_0xeb4887=>_0xeb4887['some'](_0x173d56=>_0x173d56)}),_0x386818=_0x17b3ea['define']({'combine':_0x594aa5=>_0x594aa5['some'](_0x269820=>_0x269820)}),_0x4db2b6=_0x17b3ea['define']();var _0x66fda6=class ScrollTarget{constructor(_0x11ab7b,_0x5d43f3,_0x304ada,_0x283a07,_0x403a2a,_0x496bd7=!0x1){this['range']=_0x11ab7b,this['y']=_0x5d43f3,this['x']=_0x304ada,this['yMargin']=_0x283a07,this['xMargin']=_0x403a2a,this['isSnapshot']=_0x496bd7;}['map'](_0x2dc8b1){return _0x2dc8b1['empty']?this:new ScrollTarget(this['range']['map'](_0x2dc8b1),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}['clip'](_0x1aa4b8){return this['range']['to']<=_0x1aa4b8['doc']['length']?this:new ScrollTarget(_0x152831['cursor'](_0x1aa4b8['doc']['length']),this['y'],this['x'],this['yMargin'],this['xMargin'],this['isSnapshot']);}};const _0x33fb01=_0x41e66e['define']({'map':(t,_0x5e75fc)=>t['map'](_0x5e75fc)}),_0x215c65=_0x41e66e['define']();function _0x1947e5(_0x421cf2,_0x585393,_0x3c6087){let _0x4d48ec=_0x421cf2['facet'](_0x2d2c08);_0x4d48ec['length']?_0x4d48ec[0x0](_0x585393):window['onerror']&&window['onerror'](String(_0x585393),_0x3c6087,void 0x0,void 0x0,_0x585393)||(_0x3c6087?console['error'](_0x3c6087+':',_0x585393):console['error'](_0x585393));}const _0x390720=_0x17b3ea['define']({'combine':_0xd3644e=>!_0xd3644e['length']||_0xd3644e[0x0]});let _0x6c40e=0x0;const _0xdb4086=_0x17b3ea['define']({'combine':_0x16f1cb=>_0x16f1cb['filter']((_0x242f3b,_0x9d2add)=>{for(let _0x57e162=0x0;_0x57e162<_0x9d2add;_0x57e162++)if(_0x16f1cb[_0x57e162]['plugin']==_0x242f3b['plugin'])return!0x1;return!0x0;})});var _0x5873ca=class _0xecc0d8{constructor(_0x1d307e,_0x318972,_0x26ab1c,_0x161a17,_0x2faf45){this['id']=_0x1d307e,this['create']=_0x318972,this['domEventHandlers']=_0x26ab1c,this['domEventObservers']=_0x161a17,this['baseExtensions']=_0x2faf45(this),this['extension']=this['baseExtensions']['concat'](_0xdb4086['of']({'plugin':this,'arg':void 0x0}));}['of'](_0x17e3e9){return this['baseExtensions']['concat'](_0xdb4086['of']({'plugin':this,'arg':_0x17e3e9}));}static['define'](_0x16fcfb,_0x2ccfe8){const {eventHandlers:_0xae64ac,eventObservers:_0x530e4e,provide:_0x16a176,decorations:_0x4b806f}=_0x2ccfe8||{};return new _0xecc0d8(_0x6c40e++,_0x16fcfb,_0xae64ac,_0x530e4e,_0x151bfa=>{let _0x1c7673=[];return _0x4b806f&&_0x1c7673['push'](_0x469ee8['of'](_0x3fb7ec=>{let _0x12c2c8=_0x3fb7ec['plugin'](_0x151bfa);return _0x12c2c8?_0x4b806f(_0x12c2c8):_0x68bd12['none'];})),_0x16a176&&_0x1c7673['push'](_0x16a176(_0x151bfa)),_0x1c7673;});}static['fromClass'](_0x509100,_0x1a20ac){return _0xecc0d8['define']((_0x1321b8,_0x2d76ca)=>new _0x509100(_0x1321b8,_0x2d76ca),_0x1a20ac);}},_0x51306b=class{constructor(_0xcc8ee5){this['spec']=_0xcc8ee5,this['mustUpdate']=null,this['value']=null;}get['plugin'](){return this['spec']&&this['spec']['plugin'];}['update'](_0x15d7e2){if(this['value']){if(this['mustUpdate']){let _0x48f823=this['mustUpdate'];if(this['mustUpdate']=null,this['value']['update'])try{this['value']['update'](_0x48f823);}catch(_0x185a19){if(_0x1947e5(_0x48f823['state'],_0x185a19,'CodeMirror\x20plugin\x20crashed'),this['value']['destroy'])try{this['value']['destroy']();}catch(_0x511fdf){}this['deactivate']();}}}else{if(this['spec'])try{this['value']=this['spec']['plugin']['create'](_0x15d7e2,this['spec']['arg']);}catch(_0x4555d2){_0x1947e5(_0x15d7e2['state'],_0x4555d2,'CodeMirror\x20plugin\x20crashed'),this['deactivate']();}}return this;}['destroy'](_0x3e5ccf){var _0x53b822;if(null===(_0x53b822=this['value'])||void 0x0===_0x53b822?void 0x0:_0x53b822['destroy'])try{this['value']['destroy']();}catch(_0x2bef29){_0x1947e5(_0x3e5ccf['state'],_0x2bef29,'CodeMirror\x20plugin\x20crashed');}}['deactivate'](){this['spec']=this['value']=null;}};const _0x3be633=_0x17b3ea['define'](),_0x18dd99=_0x17b3ea['define'](),_0x469ee8=_0x17b3ea['define'](),_0x17325e=_0x17b3ea['define'](),_0x16ae8=_0x17b3ea['define'](),_0x3df8b7=_0x17b3ea['define'](),_0xbc6e2d=_0x17b3ea['define']();function _0x17502c(_0x3574ff,_0x51efa3){let _0x45cc1e=_0x3574ff['state']['facet'](_0xbc6e2d);if(!_0x45cc1e['length'])return _0x45cc1e;let _0x51f3a9=_0x45cc1e['map'](_0x4247e7=>_0x4247e7 instanceof Function?_0x4247e7(_0x3574ff):_0x4247e7),_0x5ece00=[];return _0x397923['spans'](_0x51f3a9,_0x51efa3['from'],_0x51efa3['to'],{'point'(){},'span'(_0x1dad49,_0x3179ce,_0x36c769,_0x588f89){let _0x34f9d2=_0x1dad49-_0x51efa3['from'],_0x5163a3=_0x3179ce-_0x51efa3['from'],_0x4e765b=_0x5ece00;for(let _0x28bb11=_0x36c769['length']-0x1;_0x28bb11>=0x0;_0x28bb11--,_0x588f89--){let _0x5d584a,_0x269e44=_0x36c769[_0x28bb11]['spec']['bidiIsolate'];if(null==_0x269e44&&(_0x269e44=_0x131a62(_0x51efa3['text'],_0x34f9d2,_0x5163a3)),_0x588f89>0x0&&_0x4e765b['length']&&(_0x5d584a=_0x4e765b[_0x4e765b['length']-0x1])['to']==_0x34f9d2&&_0x5d584a['direction']==_0x269e44)_0x5d584a['to']=_0x5163a3,_0x4e765b=_0x5d584a['inner'];else{let _0x124627={'from':_0x34f9d2,'to':_0x5163a3,'direction':_0x269e44,'inner':[]};_0x4e765b['push'](_0x124627),_0x4e765b=_0x124627['inner'];}}}}),_0x5ece00;}const _0x19c86f=_0x17b3ea['define']();function _0x15273d(_0x1f211a){let _0x3629ec=0x0,_0x394ea6=0x0,_0x5210a6=0x0,_0x9e157e=0x0;for(let _0x4bba4a of _0x1f211a['state']['facet'](_0x19c86f)){let _0x1313f3=_0x4bba4a(_0x1f211a);_0x1313f3&&(null!=_0x1313f3['left']&&(_0x3629ec=Math['max'](_0x3629ec,_0x1313f3['left'])),null!=_0x1313f3['right']&&(_0x394ea6=Math['max'](_0x394ea6,_0x1313f3['right'])),null!=_0x1313f3['top']&&(_0x5210a6=Math['max'](_0x5210a6,_0x1313f3['top'])),null!=_0x1313f3['bottom']&&(_0x9e157e=Math['max'](_0x9e157e,_0x1313f3['bottom'])));}return{'left':_0x3629ec,'right':_0x394ea6,'top':_0x5210a6,'bottom':_0x9e157e};}const _0x446ad5=_0x17b3ea['define']();var _0x190892=class _0x3d2dc4{constructor(_0x543a45,_0x28af85,_0x1c0371,_0x30e15a){this['fromA']=_0x543a45,this['toA']=_0x28af85,this['fromB']=_0x1c0371,this['toB']=_0x30e15a;}['join'](_0x1f635b){return new _0x3d2dc4(Math['min'](this['fromA'],_0x1f635b['fromA']),Math['max'](this['toA'],_0x1f635b['toA']),Math['min'](this['fromB'],_0x1f635b['fromB']),Math['max'](this['toB'],_0x1f635b['toB']));}['addToSet'](_0x3fe140){let _0x4c61e3=_0x3fe140['length'],_0x9b52ab=this;for(;_0x4c61e3>0x0;_0x4c61e3--){let _0x4ed542=_0x3fe140[_0x4c61e3-0x1];if(!(_0x4ed542['fromA']>_0x9b52ab['toA'])){if(_0x4ed542['toA']<_0x9b52ab['fromA'])break;_0x9b52ab=_0x9b52ab['join'](_0x4ed542),_0x3fe140['splice'](_0x4c61e3-0x1,0x1);}}return _0x3fe140['splice'](_0x4c61e3,0x0,_0x9b52ab),_0x3fe140;}static['extendWithRanges'](_0x1cc53e,_0xb0b712){if(0x0==_0xb0b712['length'])return _0x1cc53e;let _0x546b74=[];for(let _0x4dd69b=0x0,_0xb77259=0x0,_0x63def3=0x0;;){let _0x4d1328=_0x4dd69b<_0x1cc53e['length']?_0x1cc53e[_0x4dd69b]['fromB']:0x3b9aca00,_0x40f25b=_0xb77259<_0xb0b712['length']?_0xb0b712[_0xb77259]:0x3b9aca00,_0x3e4255=Math['min'](_0x4d1328,_0x40f25b);if(0x3b9aca00==_0x3e4255)break;let _0x40acf2=_0x3e4255+_0x63def3,_0x895d9c=_0x3e4255,_0xe01a52=_0x40acf2;for(;;)if(_0xb77259<_0xb0b712['length']&&_0xb0b712[_0xb77259]<=_0x895d9c){let _0x2e5ccb=_0xb0b712[_0xb77259+0x1];_0xb77259+=0x2,_0x895d9c=Math['max'](_0x895d9c,_0x2e5ccb);for(let _0x191fa2=_0x4dd69b;_0x191fa2<_0x1cc53e['length']&&_0x1cc53e[_0x191fa2]['fromB']<=_0x895d9c;_0x191fa2++)_0x63def3=_0x1cc53e[_0x191fa2]['toA']-_0x1cc53e[_0x191fa2]['toB'];_0xe01a52=Math['max'](_0xe01a52,_0x2e5ccb+_0x63def3);}else{if(!(_0x4dd69b<_0x1cc53e['length']&&_0x1cc53e[_0x4dd69b]['fromB']<=_0x895d9c))break;{let _0x3889d6=_0x1cc53e[_0x4dd69b++];_0x895d9c=Math['max'](_0x895d9c,_0x3889d6['toB']),_0xe01a52=Math['max'](_0xe01a52,_0x3889d6['toA']),_0x63def3=_0x3889d6['toA']-_0x3889d6['toB'];}}_0x546b74['push'](new _0x3d2dc4(_0x40acf2,_0xe01a52,_0x3e4255,_0x895d9c));}return _0x546b74;}},_0x54cd42=class ViewUpdate{constructor(_0x2bf7e1,_0x316947,_0xf46d5){this['view']=_0x2bf7e1,this['state']=_0x316947,this['transactions']=_0xf46d5,this['flags']=0x0,this['startState']=_0x2bf7e1['state'],this['changes']=_0x1b9771['empty'](this['startState']['doc']['length']);for(let _0x3e1855 of _0xf46d5)this['changes']=this['changes']['compose'](_0x3e1855['changes']);let _0xcd7217=[];this['changes']['iterChangedRanges']((_0x1e3b04,_0x5b1486,_0x11fc34,_0x5d98bd)=>_0xcd7217['push'](new _0x190892(_0x1e3b04,_0x5b1486,_0x11fc34,_0x5d98bd))),this['changedRanges']=_0xcd7217;}static['create'](_0x205b94,_0x3fd654,_0xea6ccc){return new ViewUpdate(_0x205b94,_0x3fd654,_0xea6ccc);}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'](_0x5b746a=>_0x5b746a['selection']);}get['empty'](){return 0x0==this['flags']&&0x0==this['transactions']['length'];}};const _0x5a00a1=[];var _0xbeef60=class{constructor(_0x40d297,_0x1dc19b,_0x38cf04=0x0){this['dom']=_0x40d297,this['length']=_0x1dc19b,this['flags']=_0x38cf04,this['parent']=null,_0x40d297['cmTile']=this;}get['breakAfter'](){return 0x1&this['flags'];}get['children'](){return _0x5a00a1;}['isWidget'](){return!0x1;}get['isHidden'](){return!0x1;}['isComposite'](){return!0x1;}['isLine'](){return!0x1;}['isText'](){return!0x1;}['isBlock'](){return!0x1;}get['domAttrs'](){return null;}['sync'](_0x21a6bc){if(this['flags']|=0x2,0x4&this['flags']){this['flags']&=-0x5;let _0x5e33fe=this['domAttrs'];_0x5e33fe&&function(_0x2ff781,_0x85945){for(let _0xd04388=_0x2ff781['attributes']['length']-0x1;_0xd04388>=0x0;_0xd04388--){let _0x5d5383=_0x2ff781['attributes'][_0xd04388]['name'];null==_0x85945[_0x5d5383]&&_0x2ff781['removeAttribute'](_0x5d5383);}for(let _0x1226d0 in _0x85945){let _0x46a4b4=_0x85945[_0x1226d0];'style'==_0x1226d0?_0x2ff781['style']['cssText']=_0x46a4b4:_0x2ff781['getAttribute'](_0x1226d0)!=_0x46a4b4&&_0x2ff781['setAttribute'](_0x1226d0,_0x46a4b4);}}(this['dom'],_0x5e33fe);}}['toString'](){return this['constructor']['name']+(this['children']['length']?'('+this['children']+')':'')+(this['breakAfter']?'#':'');}['destroy'](){this['parent']=null;}['setDOM'](_0x12d545){this['dom']=_0x12d545,_0x12d545['cmTile']=this;}get['posAtStart'](){return this['parent']?this['parent']['posBefore'](this):0x0;}get['posAtEnd'](){return this['posAtStart']+this['length'];}['posBefore'](_0x35d629,_0x2e0754=this['posAtStart']){let _0x29a423=_0x2e0754;for(let _0x2cd3a0 of this['children']){if(_0x2cd3a0==_0x35d629)return _0x29a423;_0x29a423+=_0x2cd3a0['length']+_0x2cd3a0['breakAfter'];}throw new RangeError('Invalid\x20child\x20in\x20posBefore');}['posAfter'](_0x1fd8c5){return this['posBefore'](_0x1fd8c5)+_0x1fd8c5['length'];}['covers'](_0x2d9195){return!0x0;}['coordsIn'](_0x3c3e69,_0x425a08){return null;}['domPosFor'](_0x1afdf8,_0x3b642b){let _0x2f1ffb=_0x30e7ff(this['dom']),_0x3c55af=this['length']?_0x1afdf8>0x0:_0x3b642b>0x0;return new _0xd96b86(this['parent']['dom'],_0x2f1ffb+(_0x3c55af?0x1:0x0),0x0==_0x1afdf8||_0x1afdf8==this['length']);}['markDirty'](_0x20cc56){this['flags']&=-0x3,_0x20cc56&&(this['flags']|=0x4),this['parent']&&0x2&this['parent']['flags']&&this['parent']['markDirty'](!0x1);}get['overrideDOMText'](){return null;}get['root'](){for(let t=this;t;t=t['parent'])if(t instanceof _0x45281b)return t;return null;}static['get'](_0x45f3ba){return _0x45f3ba['cmTile'];}},_0x262f01=class extends _0xbeef60{constructor(_0x20bc7e){super(_0x20bc7e,0x0),this['_children']=[];}['isComposite'](){return!0x0;}get['children'](){return this['_children'];}get['lastChild'](){return this['children']['length']?this['children'][this['children']['length']-0x1]:null;}['append'](_0x54ed07){this['children']['push'](_0x54ed07),_0x54ed07['parent']=this;}['sync'](_0x396706){if(0x2&this['flags'])return;super['sync'](_0x396706);let _0x531044,_0x2915aa=this['dom'],_0x372085=null,_0x3b72e3=(null==_0x396706?void 0x0:_0x396706['node'])==_0x2915aa?_0x396706:null,_0x52c0ff=0x0;for(let _0x11c822 of this['children']){if(_0x11c822['sync'](_0x396706),_0x52c0ff+=_0x11c822['length']+_0x11c822['breakAfter'],_0x531044=_0x372085?_0x372085['nextSibling']:_0x2915aa['firstChild'],_0x3b72e3&&_0x531044!=_0x11c822['dom']&&(_0x3b72e3['written']=!0x0),_0x11c822['dom']['parentNode']==_0x2915aa){for(;_0x531044&&_0x531044!=_0x11c822['dom'];)_0x531044=_0x3ce966(_0x531044);}else _0x2915aa['insertBefore'](_0x11c822['dom'],_0x531044);_0x372085=_0x11c822['dom'];}for(_0x531044=_0x372085?_0x372085['nextSibling']:_0x2915aa['firstChild'],_0x3b72e3&&_0x531044&&(_0x3b72e3['written']=!0x0);_0x531044;)_0x531044=_0x3ce966(_0x531044);this['length']=_0x52c0ff;}};function _0x3ce966(_0x47085a){let _0x37923e=_0x47085a['nextSibling'];return _0x47085a['parentNode']['removeChild'](_0x47085a),_0x37923e;}var _0x45281b=class extends _0x262f01{constructor(_0x4dafdc,_0x466452){super(_0x466452),this['view']=_0x4dafdc;}['owns'](_0x796e00){for(;_0x796e00;_0x796e00=_0x796e00['parent'])if(_0x796e00==this)return!0x0;return!0x1;}['isBlock'](){return!0x0;}['nearest'](_0x934cb3){for(;;){if(!_0x934cb3)return null;let _0x7ae28f=_0xbeef60['get'](_0x934cb3);if(_0x7ae28f&&this['owns'](_0x7ae28f))return _0x7ae28f;_0x934cb3=_0x934cb3['parentNode'];}}['blockTiles'](_0x4447a3){for(let _0x4a5bfc=[],_0x1539b3=this,_0x4bd178=0x0,_0x134ad3=0x0;;)if(_0x4bd178==_0x1539b3['children']['length']){if(!_0x4a5bfc['length'])return;_0x1539b3=_0x1539b3['parent'],_0x1539b3['breakAfter']&&_0x134ad3++,_0x4bd178=_0x4a5bfc['pop']();}else{let _0x24f794=_0x1539b3['children'][_0x4bd178++];if(_0x24f794 instanceof _0x99fa6d)_0x4a5bfc['push'](_0x4bd178),_0x1539b3=_0x24f794,_0x4bd178=0x0;else{let _0xc8db07=_0x134ad3+_0x24f794['length'],_0x5f34e0=_0x4447a3(_0x24f794,_0x134ad3);if(void 0x0!==_0x5f34e0)return _0x5f34e0;_0x134ad3=_0xc8db07+_0x24f794['breakAfter'];}}}['resolveBlock'](_0x48cfbc,_0x4c2e3a){let _0x118f2d,_0xf6026e,_0x198f81=-0x1,_0x469900=-0x1;if(this['blockTiles']((_0x3d02d3,_0x128afa)=>{let _0x4c4c15=_0x128afa+_0x3d02d3['length'];if(_0x48cfbc>=_0x128afa&&_0x48cfbc<=_0x4c4c15){if(_0x3d02d3['isWidget']()&&_0x4c2e3a>=-0x1&&_0x4c2e3a<=0x1){if(0x20&_0x3d02d3['flags'])return!0x0;0x10&_0x3d02d3['flags']&&(_0x118f2d=void 0x0);}(_0x128afa<_0x48cfbc||_0x48cfbc==_0x4c4c15&&(_0x4c2e3a<-0x1?_0x3d02d3['length']:_0x3d02d3['covers'](0x1)))&&(!_0x118f2d||!_0x3d02d3['isWidget']()&&_0x118f2d['isWidget']())&&(_0x118f2d=_0x3d02d3,_0x198f81=_0x48cfbc-_0x128afa),(_0x4c4c15>_0x48cfbc||_0x48cfbc==_0x128afa&&(_0x4c2e3a>0x1?_0x3d02d3['length']:_0x3d02d3['covers'](-0x1)))&&(!_0xf6026e||!_0x3d02d3['isWidget']()&&_0xf6026e['isWidget']())&&(_0xf6026e=_0x3d02d3,_0x469900=_0x48cfbc-_0x128afa);}}),!_0x118f2d&&!_0xf6026e)throw new Error('No\x20tile\x20at\x20position\x20'+_0x48cfbc);return _0x118f2d&&_0x4c2e3a<0x0||!_0xf6026e?{'tile':_0x118f2d,'offset':_0x198f81}:{'tile':_0xf6026e,'offset':_0x469900};}},_0x99fa6d=class _0x3d6f3e extends _0x262f01{constructor(_0x3ee882,_0x8eaee3){super(_0x3ee882),this['wrapper']=_0x8eaee3;}['isBlock'](){return!0x0;}['covers'](_0x11799e){return!!this['children']['length']&&(_0x11799e<0x0?this['children'][0x0]['covers'](-0x1):this['lastChild']['covers'](0x1));}get['domAttrs'](){return this['wrapper']['attributes'];}static['of'](_0x47bd67,_0x20e964){let _0x1f289b=new _0x3d6f3e(_0x20e964||document['createElement'](_0x47bd67['tagName']),_0x47bd67);return _0x20e964||(_0x1f289b['flags']|=0x4),_0x1f289b;}},_0x3fde5f=class _0x45aac3 extends _0x262f01{constructor(_0x45debe,_0x132b27){super(_0x45debe),this['attrs']=_0x132b27;}['isLine'](){return!0x0;}static['start'](_0x31e22d,_0x450b88,_0xbf8a1a){let _0xefc843=new _0x45aac3(_0x450b88||document['createElement']('div'),_0x31e22d);return _0x450b88&&_0xbf8a1a||(_0xefc843['flags']|=0x4),_0xefc843;}get['domAttrs'](){return this['attrs'];}['resolveInline'](_0x15dec4,_0x1480eb,_0x2f04c7){let _0x289fc8=null,_0x37645e=-0x1,_0x56ddbb=null,_0x7ae94c=-0x1;!function _0x4d05e2(_0x5deb93,_0x4b214b){for(let _0x17a58d=0x0,_0x525e05=0x0;_0x17a58d<_0x5deb93['children']['length']&&_0x525e05<=_0x4b214b;_0x17a58d++){let _0x7f04fe=_0x5deb93['children'][_0x17a58d],_0x45691a=_0x525e05+_0x7f04fe['length'];_0x45691a>=_0x4b214b&&(_0x7f04fe['isComposite']()?_0x4d05e2(_0x7f04fe,_0x4b214b-_0x525e05):(!_0x56ddbb||_0x56ddbb['isHidden']&&(_0x1480eb>0x0||_0x2f04c7&&_0x41f4ec(_0x56ddbb,_0x7f04fe)))&&(_0x45691a>_0x4b214b||0x20&_0x7f04fe['flags'])?(_0x56ddbb=_0x7f04fe,_0x7ae94c=_0x4b214b-_0x525e05):(_0x525e05<_0x4b214b||0x10&_0x7f04fe['flags']&&!_0x7f04fe['isHidden'])&&(_0x289fc8=_0x7f04fe,_0x37645e=_0x4b214b-_0x525e05)),_0x525e05=_0x45691a;}}(this,_0x15dec4);let _0x341309=(_0x1480eb<0x0?_0x289fc8:_0x56ddbb)||_0x289fc8||_0x56ddbb;return _0x341309?{'tile':_0x341309,'offset':_0x341309==_0x289fc8?_0x37645e:_0x7ae94c}:null;}['coordsIn'](_0x5a2568,_0x5d3a6a){let _0x42945c=this['resolveInline'](_0x5a2568,_0x5d3a6a,!0x0);return _0x42945c?_0x42945c['tile']['coordsIn'](Math['max'](0x0,_0x42945c['offset']),_0x5d3a6a):function(_0x5490d6){let _0xa2b24c=_0x5490d6['dom']['lastChild'];if(!_0xa2b24c)return _0x5490d6['dom']['getBoundingClientRect']();let _0x569f8a=_0xa70946(_0xa2b24c);return _0x569f8a[_0x569f8a['length']-0x1]||null;}(this);}['domIn'](_0x3bc199,_0x2efabc){let _0x2be2ee=this['resolveInline'](_0x3bc199,_0x2efabc);if(_0x2be2ee){let {tile:_0x519abf,offset:_0x5a7400}=_0x2be2ee;if(this['dom']['contains'](_0x519abf['dom']))return _0x519abf['isText']()?new _0xd96b86(_0x519abf['dom'],Math['min'](_0x519abf['dom']['nodeValue']['length'],_0x5a7400)):_0x519abf['domPosFor'](_0x5a7400,0x10&_0x519abf['flags']?0x1:0x20&_0x519abf['flags']?-0x1:_0x2efabc);let _0x1f7247=_0x2be2ee['tile']['parent'],_0x3dd2da=!0x1;for(let _0x4c89f3 of _0x1f7247['children']){if(_0x3dd2da)return new _0xd96b86(_0x4c89f3['dom'],0x0);_0x4c89f3==_0x2be2ee['tile']&&(_0x3dd2da=!0x0);}}return new _0xd96b86(this['dom'],0x0);}};function _0x41f4ec(_0x53ff45,_0x10cba0){let _0x13c4e9=_0x53ff45['coordsIn'](0x0,0x1),_0x15cce6=_0x10cba0['coordsIn'](0x0,0x1);return _0x13c4e9&&_0x15cce6&&_0x15cce6['top']<_0x13c4e9['bottom'];}var _0x247176=class _0x15d4d3 extends _0x262f01{constructor(_0x4d1cae,_0x5cca21){super(_0x4d1cae),this['mark']=_0x5cca21;}get['domAttrs'](){return this['mark']['attrs'];}static['of'](_0x588af8,_0x748133){let _0x3d7ed3=new _0x15d4d3(_0x748133||document['createElement'](_0x588af8['tagName']),_0x588af8);return _0x748133||(_0x3d7ed3['flags']|=0x4),_0x3d7ed3;}},_0x25aa00=class TextTile extends _0xbeef60{constructor(_0x192682,_0x824052){super(_0x192682,_0x824052['length']),this['text']=_0x824052;}['sync'](_0x395539){0x2&this['flags']||(super['sync'](_0x395539),this['dom']['nodeValue']!=this['text']&&(_0x395539&&_0x395539['node']==this['dom']&&(_0x395539['written']=!0x0),this['dom']['nodeValue']=this['text']));}['isText'](){return!0x0;}['toString'](){return JSON['stringify'](this['text']);}['coordsIn'](_0x23862d,_0x36f1f3){let _0xe0ef23=this['dom']['nodeValue']['length'];_0x23862d>_0xe0ef23&&(_0x23862d=_0xe0ef23);let _0x314ba9=_0x23862d,_0x4e435c=_0x23862d,_0x26c29a=0x0;0x0==_0x23862d&&_0x36f1f3<0x0||_0x23862d==_0xe0ef23&&_0x36f1f3>=0x0?_0x13bfcb['chrome']||_0x13bfcb['gecko']||(_0x23862d?(_0x314ba9--,_0x26c29a=0x1):_0x4e435c<_0xe0ef23&&(_0x4e435c++,_0x26c29a=-0x1)):_0x36f1f3<0x0?_0x314ba9--:_0x4e435c<_0xe0ef23&&_0x4e435c++;let _0x4548c1=_0x59dea4(this['dom'],_0x314ba9,_0x4e435c)['getClientRects']();if(!_0x4548c1['length'])return null;let _0xc6720f=_0x4548c1[(_0x26c29a?_0x26c29a<0x0:_0x36f1f3>=0x0)?0x0:_0x4548c1['length']-0x1];return _0x13bfcb['safari']&&!_0x26c29a&&0x0==_0xc6720f['width']&&(_0xc6720f=Array['prototype']['find']['call'](_0x4548c1,_0x440109=>_0x440109['width'])||_0xc6720f),_0x26c29a?_0x3287e0(_0xc6720f,_0x26c29a<0x0):_0xc6720f||null;}static['of'](_0x287efc,_0x383303){let _0x4ba28e=new TextTile(_0x383303||document['createTextNode'](_0x287efc),_0x287efc);return _0x383303||(_0x4ba28e['flags']|=0x2),_0x4ba28e;}},_0x3dfef1=class WidgetTile extends _0xbeef60{constructor(_0x2f2cfd,_0x3cc77a,_0x1e8705,_0x5dd0ab){super(_0x2f2cfd,_0x3cc77a,_0x5dd0ab),this['widget']=_0x1e8705;}['isWidget'](){return!0x0;}get['isHidden'](){return this['widget']['isHidden'];}['covers'](_0xd75844){return!(0x30&this['flags'])&&(this['flags']&(_0xd75844<0x0?0x40:0x80))>0x0;}['coordsIn'](_0x54e096,_0x3476b7){return this['coordsInWidget'](_0x54e096,_0x3476b7,!0x1);}['coordsInWidget'](_0x5894cd,_0x562701,_0x3395d8){let _0x1a9dc8=this['widget']['coordsAt'](this['dom'],_0x5894cd,_0x562701);if(_0x1a9dc8)return _0x1a9dc8;if(_0x3395d8)return _0x3287e0(this['dom']['getBoundingClientRect'](),this['length']?0x0==_0x5894cd:_0x562701<=0x0);{let _0x4286c8=this['dom']['getClientRects'](),_0x144237=null;if(!_0x4286c8['length'])return null;let _0x12cdef=!!(0x10&this['flags'])||!(0x20&this['flags'])&&_0x5894cd>0x0;for(let _0x432570=_0x12cdef?_0x4286c8['length']-0x1:0x0;_0x144237=_0x4286c8[_0x432570],!(_0x5894cd>0x0?0x0==_0x432570:_0x432570==_0x4286c8['length']-0x1||_0x144237['top']<_0x144237['bottom']);_0x432570+=_0x12cdef?-0x1:0x1);return _0x3287e0(_0x144237,!_0x12cdef);}}get['overrideDOMText'](){if(!this['length'])return _0x3de5aa['empty'];let {root:_0x4a862b}=this;if(!_0x4a862b)return _0x3de5aa['empty'];let _0x4925db=this['posAtStart'];return _0x4a862b['view']['state']['doc']['slice'](_0x4925db,_0x4925db+this['length']);}['destroy'](){super['destroy'](),this['widget']['destroy'](this['dom']);}static['of'](_0x2dfd0c,_0x190894,_0x2313fa,_0x26c452,_0x39efaf){return _0x39efaf||(_0x39efaf=_0x2dfd0c['toDOM'](_0x190894),_0x2dfd0c['editable']||(_0x39efaf['contentEditable']='false')),new WidgetTile(_0x39efaf,_0x2313fa,_0x2dfd0c,_0x26c452);}},_0x531ec2=class extends _0xbeef60{constructor(_0x5386c2){let _0x2c261e=document['createElement']('img');_0x2c261e['className']='cm-widgetBuffer',_0x2c261e['setAttribute']('aria-hidden','true'),super(_0x2c261e,0x0,_0x5386c2);}get['isHidden'](){return!0x0;}get['overrideDOMText'](){return _0x3de5aa['empty'];}['coordsIn'](_0x30de3c){return this['dom']['getBoundingClientRect']();}},_0x1ab630=class{constructor(_0x1f4d31){this['index']=0x0,this['beforeBreak']=!0x1,this['parents']=[],this['tile']=_0x1f4d31;}['advance'](_0x2136f6,_0x23f3e9,_0x580396){let {tile:_0x3c2abe,index:_0x4e36ec,beforeBreak:_0x4917eb,parents:_0x38336c}=this;for(;_0x2136f6||_0x23f3e9>0x0;)if(_0x3c2abe['isComposite']()){if(_0x4917eb){if(!_0x2136f6)break;_0x580396&&_0x580396['break'](),_0x2136f6--,_0x4917eb=!0x1;}else{if(_0x4e36ec==_0x3c2abe['children']['length']){if(!_0x2136f6&&!_0x38336c['length'])break;_0x580396&&_0x580396['leave'](_0x3c2abe),_0x4917eb=!!_0x3c2abe['breakAfter'],{tile:_0x3c2abe,index:_0x4e36ec}=_0x38336c['pop'](),_0x4e36ec++;}else{let _0x1e5fad=_0x3c2abe['children'][_0x4e36ec],_0x1b9a7f=_0x1e5fad['breakAfter'];!(_0x23f3e9>0x0?_0x1e5fad['length']<=_0x2136f6:_0x1e5fad['length']<_0x2136f6)||_0x580396&&!0x1===_0x580396['skip'](_0x1e5fad,0x0,_0x1e5fad['length'])&&_0x1e5fad['isComposite']?(_0x38336c['push']({'tile':_0x3c2abe,'index':_0x4e36ec}),_0x3c2abe=_0x1e5fad,_0x4e36ec=0x0,_0x580396&&_0x1e5fad['isComposite']()&&_0x580396['enter'](_0x1e5fad)):(_0x4917eb=!!_0x1b9a7f,_0x4e36ec++,_0x2136f6-=_0x1e5fad['length']);}}}else{if(_0x4e36ec==_0x3c2abe['length'])_0x4917eb=!!_0x3c2abe['breakAfter'],{tile:_0x3c2abe,index:_0x4e36ec}=_0x38336c['pop'](),_0x4e36ec++;else{if(!_0x2136f6)break;{let _0x5a6335=Math['min'](_0x2136f6,_0x3c2abe['length']-_0x4e36ec);_0x580396&&_0x580396['skip'](_0x3c2abe,_0x4e36ec,_0x4e36ec+_0x5a6335),_0x2136f6-=_0x5a6335,_0x4e36ec+=_0x5a6335;}}}return this['tile']=_0x3c2abe,this['index']=_0x4e36ec,this['beforeBreak']=_0x4917eb,this;}get['root'](){return this['parents']['length']?this['parents'][0x0]['tile']:this['tile'];}},tM=class{constructor(_0x704912,_0x225b17,_0x2d045e,_0x4b0fd8){this['from']=_0x704912,this['to']=_0x225b17,this['wrapper']=_0x2d045e,this['rank']=_0x4b0fd8;}},_0x3f8082=class{constructor(_0x270275,_0x3c2c54,_0x1f3c15){this['cache']=_0x270275,this['root']=_0x3c2c54,this['blockWrappers']=_0x1f3c15,this['curLine']=null,this['lastBlock']=null,this['afterWidget']=null,this['pos']=0x0,this['wrappers']=[],this['wrapperPos']=0x0;}['addText'](_0x1356c7,_0x58be37,_0x1d426c,_0xc5cfd0){var _0x51eaa4;this['flushBuffer']();let _0x436dc1=this['ensureMarks'](_0x58be37,_0x1d426c),_0x287eb1=_0x436dc1['lastChild'];if(_0x287eb1&&_0x287eb1['isText']()&&!(0x8&_0x287eb1['flags'])&&_0x287eb1['length']+_0x1356c7['length']<0x200)this['cache']['reused']['set'](_0x287eb1,0x2),(_0x436dc1['children'][_0x436dc1['children']['length']-0x1]=new _0x25aa00(_0x287eb1['dom'],_0x287eb1['text']+_0x1356c7))['parent']=_0x436dc1;else _0x436dc1['append'](_0xc5cfd0||_0x25aa00['of'](_0x1356c7,null===(_0x51eaa4=this['cache']['find'](_0x25aa00))||void 0x0===_0x51eaa4?void 0x0:_0x51eaa4['dom']));this['pos']+=_0x1356c7['length'],this['afterWidget']=null;}['addComposition'](_0x49b73b,_0x591b6c){let _0xaaba91=this['curLine'];_0xaaba91['dom']!=_0x591b6c['line']['dom']&&(_0xaaba91['setDOM'](this['cache']['reused']['has'](_0x591b6c['line'])?_0x21b285(_0x591b6c['line']['dom']):_0x591b6c['line']['dom']),this['cache']['reused']['set'](_0x591b6c['line'],0x2));let _0x12208a=_0xaaba91;for(let _0x42eae6=_0x591b6c['marks']['length']-0x1;_0x42eae6>=0x0;_0x42eae6--){let _0x243f3f=_0x591b6c['marks'][_0x42eae6],_0xc31865=_0x12208a['lastChild'];if(_0xc31865 instanceof _0x247176&&_0xc31865['mark']['eq'](_0x243f3f['mark']))_0xc31865['dom']!=_0x243f3f['dom']&&_0xc31865['setDOM'](_0x21b285(_0x243f3f['dom'])),_0x12208a=_0xc31865;else{if(this['cache']['reused']['get'](_0x243f3f)){let _0x4e0016=_0xbeef60['get'](_0x243f3f['dom']);_0x4e0016&&_0x4e0016['setDOM'](_0x21b285(_0x243f3f['dom']));}let _0x2bcea0=_0x247176['of'](_0x243f3f['mark'],_0x243f3f['dom']);_0x12208a['append'](_0x2bcea0),_0x12208a=_0x2bcea0;}this['cache']['reused']['set'](_0x243f3f,0x2);}let _0x4af835=_0xbeef60['get'](_0x49b73b['text']);_0x4af835&&this['cache']['reused']['set'](_0x4af835,0x2);let _0xc27ae1=new _0x25aa00(_0x49b73b['text'],_0x49b73b['text']['nodeValue']);_0xc27ae1['flags']|=0x8,this['pos']=_0x49b73b['range']['toB'],_0x12208a['append'](_0xc27ae1);}['addInlineWidget'](_0x55f99b,_0x2843fb,_0x3b0a03){let _0x476d75=this['afterWidget']&&0x30&_0x55f99b['flags']&&(0x30&this['afterWidget']['flags'])==(0x30&_0x55f99b['flags']);_0x476d75||this['flushBuffer']();let _0x2578d0=this['ensureMarks'](_0x2843fb,_0x3b0a03);_0x476d75||0x10&_0x55f99b['flags']||_0x2578d0['append'](this['getBuffer'](0x1)),_0x2578d0['append'](_0x55f99b),this['pos']+=_0x55f99b['length'],this['afterWidget']=_0x55f99b;}['addMark'](_0x394424,_0x135fbd,_0x1b620f){this['flushBuffer'](),this['ensureMarks'](_0x135fbd,_0x1b620f)['append'](_0x394424),this['pos']+=_0x394424['length'],this['afterWidget']=null;}['addBlockWidget'](_0x31554e){this['getBlockPos']()['append'](_0x31554e),this['pos']+=_0x31554e['length'],this['lastBlock']=_0x31554e,this['endLine']();}['continueWidget'](_0x4bff29){(this['afterWidget']||this['lastBlock'])['length']+=_0x4bff29,this['pos']+=_0x4bff29;}['addLineStart'](_0x2a7ffa,_0x1ee0c0){var _0x1504e5;_0x2a7ffa||(_0x2a7ffa=_0x146a64);let _0x57300a=_0x3fde5f['start'](_0x2a7ffa,_0x1ee0c0||(null===(_0x1504e5=this['cache']['find'](_0x3fde5f))||void 0x0===_0x1504e5?void 0x0:_0x1504e5['dom']),!!_0x1ee0c0);this['getBlockPos']()['append'](this['lastBlock']=this['curLine']=_0x57300a);}['addLine'](_0x3997de){this['getBlockPos']()['append'](_0x3997de),this['pos']+=_0x3997de['length'],this['lastBlock']=_0x3997de,this['endLine']();}['addBreak'](){this['lastBlock']['flags']|=0x1,this['endLine'](),this['pos']++;}['addLineStartIfNotCovered'](_0x175cf4){this['blockPosCovered']()||this['addLineStart'](_0x175cf4);}['ensureLine'](_0x22daa0){this['curLine']||this['addLineStart'](_0x22daa0);}['ensureMarks'](_0x44b7e2,_0x426039){var _0x36437c;let _0x462312=this['curLine'];for(let _0x5b1e5e=_0x44b7e2['length']-0x1;_0x5b1e5e>=0x0;_0x5b1e5e--){let _0x5cc905,_0x2737bc=_0x44b7e2[_0x5b1e5e];if(_0x426039>0x0&&(_0x5cc905=_0x462312['lastChild'])&&_0x5cc905 instanceof _0x247176&&_0x5cc905['mark']['eq'](_0x2737bc))_0x462312=_0x5cc905,_0x426039--;else{let _0x5398df=_0x247176['of'](_0x2737bc,null===(_0x36437c=this['cache']['find'](_0x247176,_0xaabaff=>_0xaabaff['mark']['eq'](_0x2737bc)))||void 0x0===_0x36437c?void 0x0:_0x36437c['dom']);_0x462312['append'](_0x5398df),_0x462312=_0x5398df,_0x426039=0x0;}}return _0x462312;}['endLine'](){if(this['curLine']){this['flushBuffer']();let _0x4b964f=this['curLine']['lastChild'];_0x4b964f&&_0x55ce57(this['curLine'],!0x1)&&('BR'==_0x4b964f['dom']['nodeName']||!_0x4b964f['isWidget']()||_0x13bfcb['ios']&&_0x55ce57(this['curLine'],!0x0))||this['curLine']['append'](this['cache']['findWidget'](_0x278b6c,0x0,0x20)||new _0x3dfef1(_0x278b6c['toDOM'](),0x0,_0x278b6c,0x20)),this['curLine']=this['afterWidget']=null;}}['updateBlockWrappers'](){this['wrapperPos']>this['pos']+0x2710&&(this['blockWrappers']['goto'](this['pos']),this['wrappers']['length']=0x0);for(let _0x180875=this['wrappers']['length']-0x1;_0x180875>=0x0;_0x180875--)this['wrappers'][_0x180875]['to']<this['pos']&&this['wrappers']['splice'](_0x180875,0x1);for(let _0x42cf4b=this['blockWrappers'];_0x42cf4b['value']&&_0x42cf4b['from']<=this['pos'];_0x42cf4b['next']())if(_0x42cf4b['to']>=this['pos']){let _0xf51107=0x66*_0x42cf4b['rank']+_0x42cf4b['value']['rank'],_0x262f05=new tM(_0x42cf4b['from'],_0x42cf4b['to'],_0x42cf4b['value'],_0xf51107),_0x90fc87=this['wrappers']['length'];for(;_0x90fc87>0x0&&(this['wrappers'][_0x90fc87-0x1]['rank']-_0x262f05['rank']||this['wrappers'][_0x90fc87-0x1]['to']-_0x262f05['to'])<0x0;)_0x90fc87--;this['wrappers']['splice'](_0x90fc87,0x0,_0x262f05);}this['wrapperPos']=this['pos'];}['getBlockPos'](){var _0x1ceb6e;this['updateBlockWrappers']();let _0x3eb6e3=this['root'];for(let _0x2b1954 of this['wrappers']){let _0x437226=_0x3eb6e3['lastChild'];if(_0x2b1954['from']<this['pos']&&_0x437226 instanceof _0x99fa6d&&_0x437226['wrapper']['eq'](_0x2b1954['wrapper']))_0x3eb6e3=_0x437226;else{let _0x189aa3=_0x99fa6d['of'](_0x2b1954['wrapper'],null===(_0x1ceb6e=this['cache']['find'](_0x99fa6d,t=>t['wrapper']['eq'](_0x2b1954['wrapper'])))||void 0x0===_0x1ceb6e?void 0x0:_0x1ceb6e['dom']);_0x3eb6e3['append'](_0x189aa3),_0x3eb6e3=_0x189aa3;}}return _0x3eb6e3;}['blockPosCovered'](){let _0x5c4d8f=this['lastBlock'];return null!=_0x5c4d8f&&!_0x5c4d8f['breakAfter']&&(!_0x5c4d8f['isWidget']()||(0xa0&_0x5c4d8f['flags'])>0x0);}['getBuffer'](_0x1adcea){let _0x344149=0x2|(_0x1adcea<0x0?0x10:0x20),_0x569f76=this['cache']['find'](_0x531ec2,void 0x0,0x1);return _0x569f76&&(_0x569f76['flags']=_0x344149),_0x569f76||new _0x531ec2(_0x344149);}['flushBuffer'](){!this['afterWidget']||0x20&this['afterWidget']['flags']||(this['afterWidget']['parent']['append'](this['getBuffer'](-0x1)),this['afterWidget']=null);}},_0x3dbf12=class{constructor(_0x5a35e7){this['skipCount']=0x0,this['text']='',this['textOff']=0x0,this['cursor']=_0x5a35e7['iter']();}['skip'](_0x5931a0){this['textOff']+_0x5931a0<=this['text']['length']?this['textOff']+=_0x5931a0:(this['skipCount']+=_0x5931a0-(this['text']['length']-this['textOff']),this['text']='',this['textOff']=0x0);}['next'](_0x1aca56){if(this['textOff']==this['text']['length']){let {value:_0x1ac1f7,lineBreak:_0x5c17f5,done:_0x3863af}=this['cursor']['next'](this['skipCount']);if(this['skipCount']=0x0,_0x3863af)throw new Error('Ran\x20out\x20of\x20text\x20content\x20when\x20drawing\x20inline\x20views');this['text']=_0x1ac1f7;let _0x16dcc2=this['textOff']=Math['min'](_0x1aca56,_0x1ac1f7['length']);return _0x5c17f5?null:_0x1ac1f7['slice'](0x0,_0x16dcc2);}let _0x27495b=Math['min'](this['text']['length'],this['textOff']+_0x1aca56),_0x5e3d41=this['text']['slice'](this['textOff'],_0x27495b);return this['textOff']=_0x27495b,_0x5e3d41;}};const _0x178fc1=[_0x3dfef1,_0x3fde5f,_0x25aa00,_0x247176,_0x531ec2,_0x99fa6d,_0x45281b];for(let _0x57f1a6=0x0;_0x57f1a6<_0x178fc1['length'];_0x57f1a6++)_0x178fc1[_0x57f1a6]['bucket']=_0x57f1a6;var _0xe9e499=class{constructor(_0x57108f){this['view']=_0x57108f,this['buckets']=_0x178fc1['map'](()=>[]),this['index']=_0x178fc1['map'](()=>0x0),this['reused']=new Map();}['add'](_0x52f102){let _0x42036b=_0x52f102['constructor']['bucket'],_0x4df4ed=this['buckets'][_0x42036b];_0x4df4ed['length']<0x6?_0x4df4ed['push'](_0x52f102):_0x4df4ed[this['index'][_0x42036b]=(this['index'][_0x42036b]+0x1)%0x6]=_0x52f102;}['find'](_0x2efb81,_0x1aa524,_0x2ed185=0x2){let _0x35cbb4=_0x2efb81['bucket'],_0x214879=this['buckets'][_0x35cbb4],_0x48ff45=this['index'][_0x35cbb4];for(let _0x2d248d=_0x214879['length']-0x1;_0x2d248d>=0x0;_0x2d248d--){let _0xa74170=(_0x2d248d+_0x48ff45)%_0x214879['length'],_0x3480e8=_0x214879[_0xa74170];if((!_0x1aa524||_0x1aa524(_0x3480e8))&&!this['reused']['has'](_0x3480e8))return _0x214879['splice'](_0xa74170,0x1),_0xa74170<_0x48ff45&&this['index'][_0x35cbb4]--,this['reused']['set'](_0x3480e8,_0x2ed185),_0x3480e8;}return null;}['findWidget'](_0x260a6f,_0x26b777,_0x487232){let _0x436993=this['buckets'][0x0];if(_0x436993['length'])for(let _0x50167a=0x0,_0x4d2596=0x0;;_0x50167a++){if(_0x50167a==_0x436993['length']){if(_0x4d2596)return null;_0x4d2596=0x1,_0x50167a=0x0;}let _0x3cbfcc=_0x436993[_0x50167a];if(!this['reused']['has'](_0x3cbfcc)&&(0x0==_0x4d2596?_0x3cbfcc['widget']['compare'](_0x260a6f):_0x3cbfcc['widget']['constructor']==_0x260a6f['constructor']&&_0x260a6f['updateDOM'](_0x3cbfcc['dom'],this['view'],_0x3cbfcc['widget'])))return _0x436993['splice'](_0x50167a,0x1),_0x50167a<this['index'][0x0]&&this['index'][0x0]--,_0x3cbfcc['widget']==_0x260a6f&&_0x3cbfcc['length']==_0x26b777&&(0x1f1&_0x3cbfcc['flags'])==_0x487232?(this['reused']['set'](_0x3cbfcc,0x1),_0x3cbfcc):(this['reused']['set'](_0x3cbfcc,0x2),new _0x3dfef1(_0x3cbfcc['dom'],_0x26b777,_0x260a6f,-0x1f2&_0x3cbfcc['flags']|_0x487232));}}['reuse'](_0x24d462){return this['reused']['set'](_0x24d462,0x1),_0x24d462;}['maybeReuse'](_0x1c3bba,_0x144912=0x2){if(!this['reused']['has'](_0x1c3bba))return this['reused']['set'](_0x1c3bba,_0x144912),_0x1c3bba['dom'];}['clear'](){for(let _0x562048=0x0;_0x562048<this['buckets']['length'];_0x562048++)this['buckets'][_0x562048]['length']=this['index'][_0x562048]=0x0;}},_0x207d77=class{constructor(_0x5b6c58,_0xd9ed2,_0x3bfc4b,_0x2c4f72,_0x99b8dd){this['view']=_0x5b6c58,this['decorations']=_0x2c4f72,this['disallowBlockEffectsFor']=_0x99b8dd,this['openWidget']=!0x1,this['openMarks']=0x0,this['cache']=new _0xe9e499(_0x5b6c58),this['text']=new _0x3dbf12(_0x5b6c58['state']['doc']),this['builder']=new _0x3f8082(this['cache'],new _0x45281b(_0x5b6c58,_0x5b6c58['contentDOM']),_0x397923['iter'](_0x3bfc4b)),this['cache']['reused']['set'](_0xd9ed2,0x2),this['old']=new _0x1ab630(_0xd9ed2),this['reuseWalker']={'skip':(_0x557fc7,_0x22d19f,_0x24f005)=>{if(this['cache']['add'](_0x557fc7),_0x557fc7['isComposite']())return!0x1;},'enter':_0x1a5ca1=>this['cache']['add'](_0x1a5ca1),'leave':()=>{},'break':()=>{}};}['run'](_0x760f55,_0xa48fb8){let _0x1591d1=_0xa48fb8&&this['getCompositionContext'](_0xa48fb8['text']);for(let _0x52e4aa=0x0,_0x508866=0x0,_0x8e0a6=0x0;;){let _0x713eb9=_0x8e0a6<_0x760f55['length']?_0x760f55[_0x8e0a6++]:null,_0x306c91=_0x713eb9?_0x713eb9['fromA']:this['old']['root']['length'];if(_0x306c91>_0x52e4aa){let _0x5ec361=_0x306c91-_0x52e4aa;this['preserve'](_0x5ec361,!_0x8e0a6,!_0x713eb9),_0x52e4aa=_0x306c91,_0x508866+=_0x5ec361;}if(!_0x713eb9)break;_0xa48fb8&&_0x713eb9['fromA']<=_0xa48fb8['range']['fromA']&&_0x713eb9['toA']>=_0xa48fb8['range']['toA']?(this['forward'](_0x713eb9['fromA'],_0xa48fb8['range']['fromA'],_0xa48fb8['range']['fromA']<_0xa48fb8['range']['toA']?0x1:-0x1),this['emit'](_0x508866,_0xa48fb8['range']['fromB']),this['builder']['flushBuffer'](),this['cache']['clear'](),this['builder']['addComposition'](_0xa48fb8,_0x1591d1),this['text']['skip'](_0xa48fb8['range']['toB']-_0xa48fb8['range']['fromB']),this['forward'](_0xa48fb8['range']['fromA'],_0x713eb9['toA']),this['emit'](_0xa48fb8['range']['toB'],_0x713eb9['toB'])):(this['forward'](_0x713eb9['fromA'],_0x713eb9['toA']),this['emit'](_0x508866,_0x713eb9['toB'])),_0x508866=_0x713eb9['toB'],_0x52e4aa=_0x713eb9['toA'];}return this['builder']['curLine']&&this['builder']['endLine'](),this['builder']['root'];}['preserve'](_0x2c68e0,_0xbd44d9,_0x1eb79f){let _0x2a2504=function(_0x43b676){let _0x366299=[];for(let _0x43a97c=_0x43b676['parents']['length'];_0x43a97c>0x1;_0x43a97c--){let _0x522736=_0x43a97c==_0x43b676['parents']['length']?_0x43b676['tile']:_0x43b676['parents'][_0x43a97c]['tile'];_0x522736 instanceof _0x247176&&_0x366299['push'](_0x522736['mark']);}return _0x366299;}(this['old']),_0x114d8d=this['openMarks'];this['old']['advance'](_0x2c68e0,_0x1eb79f?0x1:-0x1,{'skip':(_0x361a0c,_0x35f8b3,_0x54e2ec)=>{if(_0x361a0c['isWidget']()){if(this['openWidget'])this['builder']['continueWidget'](_0x54e2ec-_0x35f8b3);else{let _0x72d2e8=_0x54e2ec>0x0||_0x35f8b3<_0x361a0c['length']?_0x3dfef1['of'](_0x361a0c['widget'],this['view'],_0x54e2ec-_0x35f8b3,0x1f0&_0x361a0c['flags'],this['cache']['maybeReuse'](_0x361a0c)):this['cache']['reuse'](_0x361a0c);0x100&_0x72d2e8['flags']?(_0x72d2e8['flags']&=-0x2,this['builder']['addBlockWidget'](_0x72d2e8)):(this['builder']['ensureLine'](null),this['builder']['addInlineWidget'](_0x72d2e8,_0x2a2504,_0x114d8d),_0x114d8d=_0x2a2504['length']);}}else{if(_0x361a0c['isText']())this['builder']['ensureLine'](null),_0x35f8b3||_0x54e2ec!=_0x361a0c['length']||this['cache']['reused']['has'](_0x361a0c)?(this['cache']['add'](_0x361a0c),this['builder']['addText'](_0x361a0c['text']['slice'](_0x35f8b3,_0x54e2ec),_0x2a2504,_0x114d8d)):this['builder']['addText'](_0x361a0c['text'],_0x2a2504,_0x114d8d,this['cache']['reuse'](_0x361a0c)),_0x114d8d=_0x2a2504['length'];else{if(_0x361a0c['isLine']())_0x361a0c['flags']&=-0x2,this['cache']['reused']['set'](_0x361a0c,0x1),this['builder']['addLine'](_0x361a0c);else{if(_0x361a0c instanceof _0x531ec2)this['cache']['add'](_0x361a0c);else{if(!(_0x361a0c instanceof _0x247176))return!0x1;this['builder']['ensureLine'](null),this['builder']['addMark'](_0x361a0c,_0x2a2504,_0x114d8d),this['cache']['reused']['set'](_0x361a0c,0x1),_0x114d8d=_0x2a2504['length'];}}}}this['openWidget']=!0x1;},'enter':_0xc64a9e=>{_0xc64a9e['isLine']()?this['builder']['addLineStart'](_0xc64a9e['attrs'],this['cache']['maybeReuse'](_0xc64a9e)):(this['cache']['add'](_0xc64a9e),_0xc64a9e instanceof _0x247176&&_0x2a2504['unshift'](_0xc64a9e['mark'])),this['openWidget']=!0x1;},'leave':_0x519148=>{_0x519148['isLine']()?_0x2a2504['length']&&(_0x2a2504['length']=_0x114d8d=0x0):_0x519148 instanceof _0x247176&&(_0x2a2504['shift'](),_0x114d8d=Math['min'](_0x114d8d,_0x2a2504['length']));},'break':()=>{this['builder']['addBreak'](),this['openWidget']=!0x1;}}),this['text']['skip'](_0x2c68e0);}['emit'](_0x51b970,_0xab7d83){let _0x757f76=null,_0x206099=this['builder'],_0x210148=0x0,_0x265139=_0x397923['spans'](this['decorations'],_0x51b970,_0xab7d83,{'point':(_0x4a01e9,_0x11c05b,_0x4ba4bb,_0x280b90,_0x1bae5c,_0x5e8673)=>{if(_0x4ba4bb instanceof _0x3932b4){if(this['disallowBlockEffectsFor'][_0x5e8673]){if(_0x4ba4bb['block'])throw new RangeError('Block\x20decorations\x20may\x20not\x20be\x20specified\x20via\x20plugins');if(_0x11c05b>this['view']['state']['doc']['lineAt'](_0x4a01e9)['to'])throw new RangeError('Decorations\x20that\x20replace\x20line\x20breaks\x20may\x20not\x20be\x20specified\x20via\x20plugins');}if(_0x210148=_0x280b90['length'],_0x1bae5c>_0x280b90['length'])_0x206099['continueWidget'](_0x11c05b-_0x4a01e9);else{let _0x14c5e3=_0x4ba4bb['widget']||(_0x4ba4bb['block']?_0x1c2164['block']:_0x1c2164['inline']),_0x3f5bb3=function(_0x4aaf31){let _0x181a92=_0x4aaf31['isReplace']?(_0x4aaf31['startSide']<0x0?0x40:0x0)|(_0x4aaf31['endSide']>0x0?0x80:0x0):_0x4aaf31['startSide']>0x0?0x20:0x10;return _0x4aaf31['block']&&(_0x181a92|=0x100),_0x181a92;}(_0x4ba4bb),_0x3a41d1=this['cache']['findWidget'](_0x14c5e3,_0x11c05b-_0x4a01e9,_0x3f5bb3)||_0x3dfef1['of'](_0x14c5e3,this['view'],_0x11c05b-_0x4a01e9,_0x3f5bb3);_0x4ba4bb['block']?(_0x4ba4bb['startSide']>0x0&&_0x206099['addLineStartIfNotCovered'](_0x757f76),_0x206099['addBlockWidget'](_0x3a41d1)):(_0x206099['ensureLine'](_0x757f76),_0x206099['addInlineWidget'](_0x3a41d1,_0x280b90,_0x1bae5c));}_0x757f76=null;}else _0x757f76=function(_0x1490f0,_0x314675){let _0x441c17=_0x314675['spec']['attributes'],_0x4c02c4=_0x314675['spec']['class'];if(!_0x441c17&&!_0x4c02c4)return _0x1490f0;return _0x1490f0||(_0x1490f0={'class':'cm-line'}),_0x441c17&&_0x3f1ac6(_0x441c17,_0x1490f0),_0x4c02c4&&(_0x1490f0['class']+='\x20'+_0x4c02c4),_0x1490f0;}(_0x757f76,_0x4ba4bb);_0x11c05b>_0x4a01e9&&this['text']['skip'](_0x11c05b-_0x4a01e9);},'span':(_0x188572,_0x3cd940,_0x1be27c,_0x12e2f5)=>{for(let _0x15c0a1=_0x188572;_0x15c0a1<_0x3cd940;){let _0x3b6db0=this['text']['next'](Math['min'](0x200,_0x3cd940-_0x15c0a1));null==_0x3b6db0?(_0x206099['addLineStartIfNotCovered'](_0x757f76),_0x206099['addBreak'](),_0x15c0a1++):(_0x206099['ensureLine'](_0x757f76),_0x206099['addText'](_0x3b6db0,_0x1be27c,_0x15c0a1==_0x188572?_0x12e2f5:_0x1be27c['length']),_0x15c0a1+=_0x3b6db0['length']),_0x757f76=null;}}});_0x206099['addLineStartIfNotCovered'](_0x757f76),this['openWidget']=_0x265139>_0x210148,this['openMarks']=_0x265139;}['forward'](_0x15aa28,_0x46d8f2,_0x48d253=0x1){_0x46d8f2-_0x15aa28<=0xa?this['old']['advance'](_0x46d8f2-_0x15aa28,_0x48d253,this['reuseWalker']):(this['old']['advance'](0x5,-0x1,this['reuseWalker']),this['old']['advance'](_0x46d8f2-_0x15aa28-0xa,-0x1),this['old']['advance'](0x5,_0x48d253,this['reuseWalker']));}['getCompositionContext'](_0x26e443){let _0x3c0866=[],_0x1981d7=null;for(let _0x5a3ade=_0x26e443['parentNode'];;_0x5a3ade=_0x5a3ade['parentNode']){let _0x395f10=_0xbeef60['get'](_0x5a3ade);if(_0x5a3ade==this['view']['contentDOM'])break;_0x395f10 instanceof _0x247176?_0x3c0866['push'](_0x395f10):(null==_0x395f10?void 0x0:_0x395f10['isLine']())?_0x1981d7=_0x395f10:_0x395f10 instanceof _0x99fa6d||('DIV'!=_0x5a3ade['nodeName']||_0x1981d7||_0x5a3ade==this['view']['contentDOM']?_0x1981d7||_0x3c0866['push'](_0x247176['of'](new _0x1f9c3c({'tagName':_0x5a3ade['nodeName']['toLowerCase'](),'attributes':_0x2b2157(_0x5a3ade)}),_0x5a3ade)):_0x1981d7=new _0x3fde5f(_0x5a3ade,_0x146a64));}return{'line':_0x1981d7,'marks':_0x3c0866};}};function _0x55ce57(_0x2fdbdc,_0x469891){let _0x129ebf=_0xb7231b=>{for(let _0x4cabb3 of _0xb7231b['children'])if((_0x469891?_0x4cabb3['isText']():_0x4cabb3['length'])||_0x129ebf(_0x4cabb3))return!0x0;return!0x1;};return _0x129ebf(_0x2fdbdc);}const _0x146a64={'class':'cm-line'};function _0x21b285(_0x4926ff){let _0x2406e7=_0xbeef60['get'](_0x4926ff);return _0x2406e7&&_0x2406e7['setDOM'](_0x4926ff['cloneNode']()),_0x4926ff;}var _0x1c2164=class extends _0x129238{constructor(_0x191c1b){super(),this['tag']=_0x191c1b;}['eq'](_0xf37a69){return _0xf37a69['tag']==this['tag'];}['toDOM'](){return document['createElement'](this['tag']);}['updateDOM'](_0x21e514){return _0x21e514['nodeName']['toLowerCase']()==this['tag'];}get['isHidden'](){return!0x0;}};_0x1c2164['inline']=new _0x1c2164('span'),_0x1c2164['block']=new _0x1c2164('div');const _0x278b6c=new class extends _0x129238{['toDOM'](){return document['createElement']('br');}get['isHidden'](){return!0x0;}get['editable'](){return!0x0;}}();var _0x2545e1=class{constructor(_0x428f1d){this['view']=_0x428f1d,this['decorations']=[],this['blockWrappers']=[],this['dynamicDecorationMap']=[!0x1],this['domChanged']=null,this['hasComposition']=null,this['editContextFormatting']=_0x68bd12['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['updateDeco'](),this['tile']=new _0x45281b(_0x428f1d,_0x428f1d['contentDOM']),this['updateInner']([new _0x190892(0x0,0x0,0x0,_0x428f1d['state']['doc']['length'])],null);}['update'](_0x275c38){var _0x1bfc34;let _0x7ac4f7=_0x275c38['changedRanges'];this['minWidth']>0x0&&_0x7ac4f7['length']&&(_0x7ac4f7['every'](({fromA:_0x2834bf,toA:_0x22407f})=>_0x22407f<this['minWidthFrom']||_0x2834bf>this['minWidthTo'])?(this['minWidthFrom']=_0x275c38['changes']['mapPos'](this['minWidthFrom'],0x1),this['minWidthTo']=_0x275c38['changes']['mapPos'](this['minWidthTo'],0x1)):this['minWidth']=this['minWidthFrom']=this['minWidthTo']=0x0),this['updateEditContextFormatting'](_0x275c38);let _0x17d63f=-0x1;this['view']['inputState']['composing']>=0x0&&!this['view']['observer']['editContext']&&((null===(_0x1bfc34=this['domChanged'])||void 0x0===_0x1bfc34?void 0x0:_0x1bfc34['newSel'])?_0x17d63f=this['domChanged']['newSel']['head']:function(_0x2e89dd,_0x4d9036){let _0x1f12d2=!0x1;return _0x4d9036&&_0x2e89dd['iterChangedRanges']((_0x59deca,_0x2089a2)=>{_0x59deca<_0x4d9036['to']&&_0x2089a2>_0x4d9036['from']&&(_0x1f12d2=!0x0);}),_0x1f12d2;}(_0x275c38['changes'],this['hasComposition'])||_0x275c38['selectionSet']||(_0x17d63f=_0x275c38['state']['selection']['main']['head']));let _0xf83f98=_0x17d63f>-0x1?function(_0x38855a,_0x2ea931,_0x46ab96){let _0x44d12f=_0xcdb7df(_0x38855a,_0x46ab96);if(!_0x44d12f)return null;let {node:_0x1f27da,from:_0x284b4e,to:_0xfebd00}=_0x44d12f,_0x1cc0ef=_0x1f27da['nodeValue'];if(/[\n\r]/['test'](_0x1cc0ef))return null;if(_0x38855a['state']['doc']['sliceString'](_0x44d12f['from'],_0x44d12f['to'])!=_0x1cc0ef)return null;let _0x2232d7=_0x2ea931['invertedDesc'];return{'range':new _0x190892(_0x2232d7['mapPos'](_0x284b4e),_0x2232d7['mapPos'](_0xfebd00),_0x284b4e,_0xfebd00),'text':_0x1f27da};}(this['view'],_0x275c38['changes'],_0x17d63f):null;if(this['domChanged']=null,this['hasComposition']){let {from:_0x4d3cbd,to:_0x1ad4cd}=this['hasComposition'];_0x7ac4f7=new _0x190892(_0x4d3cbd,_0x1ad4cd,_0x275c38['changes']['mapPos'](_0x4d3cbd,-0x1),_0x275c38['changes']['mapPos'](_0x1ad4cd,0x1))['addToSet'](_0x7ac4f7['slice']());}this['hasComposition']=_0xf83f98?{'from':_0xf83f98['range']['fromB'],'to':_0xf83f98['range']['toB']}:null,(_0x13bfcb['ie']||_0x13bfcb['chrome'])&&!_0xf83f98&&_0x275c38&&_0x275c38['state']['doc']['lines']!=_0x275c38['startState']['doc']['lines']&&(this['forceSelection']=!0x0);let _0x4fc107=this['decorations'],_0x357ab8=this['blockWrappers'];this['updateDeco']();let _0x449dc1=function(_0x573d67,_0x17917,_0x7487f){let _0xb2de16=new _0x125a6e();return _0x397923['compare'](_0x573d67,_0x17917,_0x7487f,_0xb2de16),_0xb2de16['changes'];}(_0x4fc107,this['decorations'],_0x275c38['changes']);_0x449dc1['length']&&(_0x7ac4f7=_0x190892['extendWithRanges'](_0x7ac4f7,_0x449dc1));let _0x4927c1=function(_0x153845,_0x26f2cb,_0x2b1ebb){let _0x592e83=new _0x22d2d5();return _0x397923['compare'](_0x153845,_0x26f2cb,_0x2b1ebb,_0x592e83),_0x592e83['changes'];}(_0x357ab8,this['blockWrappers'],_0x275c38['changes']);return _0x4927c1['length']&&(_0x7ac4f7=_0x190892['extendWithRanges'](_0x7ac4f7,_0x4927c1)),_0xf83f98&&!_0x7ac4f7['some'](_0x5834e4=>_0x5834e4['fromA']<=_0xf83f98['range']['fromA']&&_0x5834e4['toA']>=_0xf83f98['range']['toA'])&&(_0x7ac4f7=_0xf83f98['range']['addToSet'](_0x7ac4f7['slice']())),!(0x2&this['tile']['flags']&&0x0==_0x7ac4f7['length'])&&(this['updateInner'](_0x7ac4f7,_0xf83f98),_0x275c38['transactions']['length']&&(this['lastUpdate']=Date['now']()),!0x0);}['updateInner'](_0x2ae2bc,_0x1a61bb){this['view']['viewState']['mustMeasureContent']=!0x0;let {observer:_0x5e424e}=this['view'];_0x5e424e['ignore'](()=>{if(_0x1a61bb||_0x2ae2bc['length']){let _0x532f52=this['tile'],_0x50a633=new _0x207d77(this['view'],_0x532f52,this['blockWrappers'],this['decorations'],this['dynamicDecorationMap']);_0x1a61bb&&_0xbeef60['get'](_0x1a61bb['text'])&&_0x50a633['cache']['reused']['set'](_0xbeef60['get'](_0x1a61bb['text']),0x2),this['tile']=_0x50a633['run'](_0x2ae2bc,_0x1a61bb),_0x252bb7(_0x532f52,_0x50a633['cache']['reused']);}this['tile']['dom']['style']['height']=this['view']['viewState']['contentHeight']/this['view']['scaleY']+'px',this['tile']['dom']['style']['flexBasis']=this['minWidth']?this['minWidth']+'px':'';let _0x920c15=_0x13bfcb['chrome']||_0x13bfcb['ios']?{'node':_0x5e424e['selectionRange']['focusNode'],'written':!0x1}:void 0x0;this['tile']['sync'](_0x920c15),!_0x920c15||!_0x920c15['written']&&_0x5e424e['selectionRange']['focusNode']==_0x920c15['node']&&this['tile']['dom']['contains'](_0x920c15['node'])||(this['forceSelection']=!0x0),this['tile']['dom']['style']['height']='';});let _0x364c6e=[];if(this['view']['viewport']['from']||this['view']['viewport']['to']<this['view']['state']['doc']['length']){for(let _0x596e36 of this['tile']['children'])_0x596e36['isWidget']()&&_0x596e36['widget']instanceof _0x39d309&&_0x364c6e['push'](_0x596e36['dom']);}_0x5e424e['updateGaps'](_0x364c6e);}['updateEditContextFormatting'](_0x44f551){this['editContextFormatting']=this['editContextFormatting']['map'](_0x44f551['changes']);for(let _0x14b69f of _0x44f551['transactions'])for(let _0x166777 of _0x14b69f['effects'])_0x166777['is'](_0x215c65)&&(this['editContextFormatting']=_0x166777['value']);}['updateSelection'](_0x5da333=!0x1,_0x53573b=!0x1){!_0x5da333&&this['view']['observer']['selectionRange']['focusNode']||this['view']['observer']['readSelectionRange']();let {dom:_0x441423}=this['tile'],_0x4741e5=this['view']['root']['activeElement'],_0x26222b=_0x4741e5==_0x441423,_0x207f4a=!_0x26222b&&!(this['view']['state']['facet'](_0x390720)||_0x441423['tabIndex']>-0x1)&&_0x4f459f(_0x441423,this['view']['observer']['selectionRange'])&&!(_0x4741e5&&_0x441423['contains'](_0x4741e5));if(!(_0x26222b||_0x53573b||_0x207f4a))return;let _0x3f8a06=this['forceSelection'];this['forceSelection']=!0x1;let _0x428826,_0x33b34d,_0xc1f901=this['view']['state']['selection']['main'];if(_0xc1f901['empty']?_0x33b34d=_0x428826=this['inlineDOMNearPos'](_0xc1f901['anchor'],_0xc1f901['assoc']||0x1):(_0x33b34d=this['inlineDOMNearPos'](_0xc1f901['head'],_0xc1f901['head']==_0xc1f901['from']?0x1:-0x1),_0x428826=this['inlineDOMNearPos'](_0xc1f901['anchor'],_0xc1f901['anchor']==_0xc1f901['from']?0x1:-0x1)),_0x13bfcb['gecko']&&_0xc1f901['empty']&&!this['hasComposition']&&(0x1==(_0x3f2a72=_0x428826)['node']['nodeType']&&_0x3f2a72['node']['firstChild']&&(0x0==_0x3f2a72['offset']||'false'==_0x3f2a72['node']['childNodes'][_0x3f2a72['offset']-0x1]['contentEditable'])&&(_0x3f2a72['offset']==_0x3f2a72['node']['childNodes']['length']||'false'==_0x3f2a72['node']['childNodes'][_0x3f2a72['offset']]['contentEditable']))){let _0x542a53=document['createTextNode']('');this['view']['observer']['ignore'](()=>_0x428826['node']['insertBefore'](_0x542a53,_0x428826['node']['childNodes'][_0x428826['offset']]||null)),_0x428826=_0x33b34d=new _0xd96b86(_0x542a53,0x0),_0x3f8a06=!0x0;}var _0x3f2a72;let _0x17718f=this['view']['observer']['selectionRange'];!_0x3f8a06&&_0x17718f['focusNode']&&(_0x274330(_0x428826['node'],_0x428826['offset'],_0x17718f['anchorNode'],_0x17718f['anchorOffset'])&&_0x274330(_0x33b34d['node'],_0x33b34d['offset'],_0x17718f['focusNode'],_0x17718f['focusOffset'])||this['suppressWidgetCursorChange'](_0x17718f,_0xc1f901))||(this['view']['observer']['ignore'](()=>{_0x13bfcb['android']&&_0x13bfcb['chrome']&&_0x441423['contains'](_0x17718f['focusNode'])&&function(_0x50ddc0,_0x27d02c){for(let _0x3141f1=_0x50ddc0;_0x3141f1&&_0x3141f1!=_0x27d02c;_0x3141f1=_0x3141f1['assignedSlot']||_0x3141f1['parentNode'])if(0x1==_0x3141f1['nodeType']&&'false'==_0x3141f1['contentEditable'])return!0x0;return!0x1;}(_0x17718f['focusNode'],_0x441423)&&(_0x441423['blur'](),_0x441423['focus']({'preventScroll':!0x0}));let _0x472863=_0x35c92b(this['view']['root']);if(_0x472863){if(_0xc1f901['empty']){if(_0x13bfcb['gecko']){let _0x23176e=function(_0x54a811,_0x5b45f0){return 0x1!=_0x54a811['nodeType']?0x0:(_0x5b45f0&&'false'==_0x54a811['childNodes'][_0x5b45f0-0x1]['contentEditable']?0x1:0x0)|(_0x5b45f0<_0x54a811['childNodes']['length']&&'false'==_0x54a811['childNodes'][_0x5b45f0]['contentEditable']?0x2:0x0);}(_0x428826['node'],_0x428826['offset']);if(_0x23176e&&0x3!=_0x23176e){let _0xfe95f3=(0x1==_0x23176e?_0x2f9475:_0x441a44)(_0x428826['node'],_0x428826['offset']);_0xfe95f3&&(_0x428826=new _0xd96b86(_0xfe95f3['node'],_0xfe95f3['offset']));}}_0x472863['collapse'](_0x428826['node'],_0x428826['offset']),null!=_0xc1f901['bidiLevel']&&void 0x0!==_0x472863['caretBidiLevel']&&(_0x472863['caretBidiLevel']=_0xc1f901['bidiLevel']);}else{if(_0x472863['extend']){_0x472863['collapse'](_0x428826['node'],_0x428826['offset']);try{_0x472863['extend'](_0x33b34d['node'],_0x33b34d['offset']);}catch(_0x3cef92){}}else{let _0x182fdf=document['createRange']();_0xc1f901['anchor']>_0xc1f901['head']&&([_0x428826,_0x33b34d]=[_0x33b34d,_0x428826]),_0x182fdf['setEnd'](_0x33b34d['node'],_0x33b34d['offset']),_0x182fdf['setStart'](_0x428826['node'],_0x428826['offset']),_0x472863['removeAllRanges'](),_0x472863['addRange'](_0x182fdf);}}}else;_0x207f4a&&this['view']['root']['activeElement']==_0x441423&&(_0x441423['blur'](),_0x4741e5&&_0x4741e5['focus']());}),this['view']['observer']['setSelectionRange'](_0x428826,_0x33b34d)),this['impreciseAnchor']=_0x428826['precise']?null:new _0xd96b86(_0x17718f['anchorNode'],_0x17718f['anchorOffset']),this['impreciseHead']=_0x33b34d['precise']?null:new _0xd96b86(_0x17718f['focusNode'],_0x17718f['focusOffset']);}['suppressWidgetCursorChange'](_0x330b10,_0x572ccc){return this['hasComposition']&&_0x572ccc['empty']&&_0x274330(_0x330b10['focusNode'],_0x330b10['focusOffset'],_0x330b10['anchorNode'],_0x330b10['anchorOffset'])&&this['posFromDOM'](_0x330b10['focusNode'],_0x330b10['focusOffset'])==_0x572ccc['head'];}['enforceCursorAssoc'](){if(this['hasComposition'])return;let {view:_0x4e765c}=this,_0x14e353=_0x4e765c['state']['selection']['main'],_0x27e83a=_0x35c92b(_0x4e765c['root']),{anchorNode:_0x23b6ba,anchorOffset:_0xbeaca5}=_0x4e765c['observer']['selectionRange'];if(!(_0x27e83a&&_0x14e353['empty']&&_0x14e353['assoc']&&_0x27e83a['modify']))return;let _0x448f20=this['lineAt'](_0x14e353['head'],_0x14e353['assoc']);if(!_0x448f20)return;let _0x181ad3=_0x448f20['posAtStart'];if(_0x14e353['head']==_0x181ad3||_0x14e353['head']==_0x181ad3+_0x448f20['length'])return;let _0x3b13d5=this['coordsAt'](_0x14e353['head'],-0x1),_0x54201c=this['coordsAt'](_0x14e353['head'],0x1);if(!_0x3b13d5||!_0x54201c||_0x3b13d5['bottom']>_0x54201c['top'])return;let _0x530ed4=this['domAtPos'](_0x14e353['head']+_0x14e353['assoc'],_0x14e353['assoc']);_0x27e83a['collapse'](_0x530ed4['node'],_0x530ed4['offset']),_0x27e83a['modify']('move',_0x14e353['assoc']<0x0?'forward':'backward','lineboundary'),_0x4e765c['observer']['readSelectionRange']();let _0x53d352=_0x4e765c['observer']['selectionRange'];_0x4e765c['docView']['posFromDOM'](_0x53d352['anchorNode'],_0x53d352['anchorOffset'])!=_0x14e353['from']&&_0x27e83a['collapse'](_0x23b6ba,_0xbeaca5);}['posFromDOM'](_0x44c712,_0x4f7bd3){let _0x377f3f=this['tile']['nearest'](_0x44c712);if(!_0x377f3f)return 0x2&this['tile']['dom']['compareDocumentPosition'](_0x44c712)?0x0:this['view']['state']['doc']['length'];let _0x54e7ca=_0x377f3f['posAtStart'];if(!_0x377f3f['isComposite']())return _0x377f3f['isText']()?_0x44c712==_0x377f3f['dom']?_0x54e7ca+_0x4f7bd3:_0x54e7ca+(_0x4f7bd3?_0x377f3f['length']:0x0):_0x54e7ca;{let _0x59369d;if(_0x44c712==_0x377f3f['dom'])_0x59369d=_0x377f3f['dom']['childNodes'][_0x4f7bd3];else{let _0x4b09cb=0x0==_0x998b10(_0x44c712)?0x0:0x0==_0x4f7bd3?-0x1:0x1;for(;;){let _0x39e64b=_0x44c712['parentNode'];if(_0x39e64b==_0x377f3f['dom'])break;0x0==_0x4b09cb&&_0x39e64b['firstChild']!=_0x39e64b['lastChild']&&(_0x4b09cb=_0x44c712==_0x39e64b['firstChild']?-0x1:0x1),_0x44c712=_0x39e64b;}_0x59369d=_0x4b09cb<0x0?_0x44c712:_0x44c712['nextSibling'];}if(_0x59369d==_0x377f3f['dom']['firstChild'])return _0x54e7ca;for(;_0x59369d&&!_0xbeef60['get'](_0x59369d);)_0x59369d=_0x59369d['nextSibling'];if(!_0x59369d)return _0x54e7ca+_0x377f3f['length'];for(let _0x585f65=0x0,_0x4c7645=_0x54e7ca;;_0x585f65++){let _0x42a3cf=_0x377f3f['children'][_0x585f65];if(_0x42a3cf['dom']==_0x59369d)return _0x4c7645;_0x4c7645+=_0x42a3cf['length']+_0x42a3cf['breakAfter'];}}}['domAtPos'](_0x211904,_0x45337c){let {tile:_0x402d36,offset:_0x2f2a0b}=this['tile']['resolveBlock'](_0x211904,_0x45337c);return _0x402d36['isWidget']()?_0x402d36['domPosFor'](_0x211904,_0x45337c):_0x402d36['domIn'](_0x2f2a0b,_0x45337c);}['inlineDOMNearPos'](_0x4da6f1,_0xb3d937){let _0x12dc30,_0x2400d7,_0x4cce3e=-0x1,_0x7be15d=!0x1,_0x362bdc=-0x1,_0x4c740a=!0x1;return this['tile']['blockTiles']((_0x15e5ac,_0x40ee4d)=>{if(_0x15e5ac['isWidget']()){if(0x20&_0x15e5ac['flags']&&_0x40ee4d>=_0x4da6f1)return!0x0;0x10&_0x15e5ac['flags']&&(_0x7be15d=!0x0);}else{let _0x365ca7=_0x40ee4d+_0x15e5ac['length'];if(_0x40ee4d<=_0x4da6f1&&(_0x12dc30=_0x15e5ac,_0x4cce3e=_0x4da6f1-_0x40ee4d,_0x7be15d=_0x365ca7<_0x4da6f1),_0x365ca7>=_0x4da6f1&&!_0x2400d7&&(_0x2400d7=_0x15e5ac,_0x362bdc=_0x4da6f1-_0x40ee4d,_0x4c740a=_0x40ee4d>_0x4da6f1),_0x40ee4d>_0x4da6f1&&_0x2400d7)return!0x0;}}),_0x12dc30||_0x2400d7?(_0x7be15d&&_0x2400d7?_0x12dc30=null:_0x4c740a&&_0x12dc30&&(_0x2400d7=null),_0x12dc30&&_0xb3d937<0x0||!_0x2400d7?_0x12dc30['domIn'](_0x4cce3e,_0xb3d937):_0x2400d7['domIn'](_0x362bdc,_0xb3d937)):this['domAtPos'](_0x4da6f1,_0xb3d937);}['coordsAt'](_0x33a54b,_0x4448d5){let {tile:_0x911de1,offset:_0x326183}=this['tile']['resolveBlock'](_0x33a54b,_0x4448d5);return _0x911de1['isWidget']()?_0x911de1['widget']instanceof _0x39d309?null:_0x911de1['coordsInWidget'](_0x326183,_0x4448d5,!0x0):_0x911de1['coordsIn'](_0x326183,_0x4448d5);}['lineAt'](_0x957dbc,_0x3d903d){let {tile:_0x1e7491}=this['tile']['resolveBlock'](_0x957dbc,_0x3d903d);return _0x1e7491['isLine']()?_0x1e7491:null;}['coordsForChar'](_0x44dd58){let {tile:_0x5d7439,offset:_0x978ca}=this['tile']['resolveBlock'](_0x44dd58,0x1);if(!_0x5d7439['isLine']())return null;return function _0x46617a(_0x18d85e,_0x1ddef7){if(_0x18d85e['isComposite']())for(let _0x30b5c7 of _0x18d85e['children']){if(_0x30b5c7['length']>=_0x1ddef7){let _0xfc37de=_0x46617a(_0x30b5c7,_0x1ddef7);if(_0xfc37de)return _0xfc37de;}if((_0x1ddef7-=_0x30b5c7['length'])<0x0)break;}else{if(_0x18d85e['isText']()&&_0x1ddef7<_0x18d85e['length']){let _0x36455d=_0x4b59d4(_0x18d85e['text'],_0x1ddef7);if(_0x36455d==_0x1ddef7)return null;let _0x46b0b1=_0x59dea4(_0x18d85e['dom'],_0x1ddef7,_0x36455d)['getClientRects']();for(let _0x5575c8=0x0;_0x5575c8<_0x46b0b1['length'];_0x5575c8++){let _0x1463bb=_0x46b0b1[_0x5575c8];if(_0x5575c8==_0x46b0b1['length']-0x1||_0x1463bb['top']<_0x1463bb['bottom']&&_0x1463bb['left']<_0x1463bb['right'])return _0x1463bb;}}}return null;}(_0x5d7439,_0x978ca);}['measureVisibleLineHeights'](_0x12730d){let _0x297485=[],{from:_0x451b0d,to:_0x347793}=_0x12730d,_0x7f3e1f=this['view']['contentDOM']['clientWidth'],_0x346ccf=_0x7f3e1f>Math['max'](this['view']['scrollDOM']['clientWidth'],this['minWidth'])+0x1,_0x1752c7=-0x1,_0x4cae10=this['view']['textDirection']==_0x48659f['LTR'],_0x20bbb5=0x0,_0x3ece87=(_0xddcd0e,_0x22c040,_0x1b1476)=>{for(let _0x5f0a88=0x0;_0x5f0a88<_0xddcd0e['children']['length']&&!(_0x22c040>_0x347793);_0x5f0a88++){let _0x25e17b=_0xddcd0e['children'][_0x5f0a88],_0x2a7c69=_0x22c040+_0x25e17b['length'],_0x19b1d3=_0x25e17b['dom']['getBoundingClientRect'](),{height:_0x2ff3d1}=_0x19b1d3;if(_0x1b1476&&!_0x5f0a88&&(_0x20bbb5+=_0x19b1d3['top']-_0x1b1476['top']),_0x25e17b instanceof _0x99fa6d)_0x2a7c69>_0x451b0d&&_0x3ece87(_0x25e17b,_0x22c040,_0x19b1d3);else{if(_0x22c040>=_0x451b0d&&(_0x20bbb5>0x0&&_0x297485['push'](-_0x20bbb5),_0x297485['push'](_0x2ff3d1+_0x20bbb5),_0x20bbb5=0x0,_0x346ccf)){let _0x1012ed=_0x25e17b['dom']['lastChild'],_0x345282=_0x1012ed?_0xa70946(_0x1012ed):[];if(_0x345282['length']){let _0x44090c=_0x345282[_0x345282['length']-0x1],_0x1370f7=_0x4cae10?_0x44090c['right']-_0x19b1d3['left']:_0x19b1d3['right']-_0x44090c['left'];_0x1370f7>_0x1752c7&&(_0x1752c7=_0x1370f7,this['minWidth']=_0x7f3e1f,this['minWidthFrom']=_0x22c040,this['minWidthTo']=_0x2a7c69);}}}_0x1b1476&&_0x5f0a88==_0xddcd0e['children']['length']-0x1&&(_0x20bbb5+=_0x1b1476['bottom']-_0x19b1d3['bottom']),_0x22c040=_0x2a7c69+_0x25e17b['breakAfter'];}};return _0x3ece87(this['tile'],0x0,null),_0x297485;}['textDirectionAt'](_0x2b06e1){let {tile:_0x29062c}=this['tile']['resolveBlock'](_0x2b06e1,0x1);return'rtl'==getComputedStyle(_0x29062c['dom'])['direction']?_0x48659f['RTL']:_0x48659f['LTR'];}['measureTextSize'](){let _0x139c20=this['tile']['blockTiles'](_0x31ada7=>{if(_0x31ada7['isLine']()&&_0x31ada7['children']['length']&&_0x31ada7['length']<=0x14){let _0x2653f4,_0x497753=0x0;for(let _0x967445 of _0x31ada7['children']){if(!_0x967445['isText']()||/[^ -~]/['test'](_0x967445['text']))return;let _0x3f1448=_0xa70946(_0x967445['dom']);if(0x1!=_0x3f1448['length'])return;_0x497753+=_0x3f1448[0x0]['width'],_0x2653f4=_0x3f1448[0x0]['height'];}if(_0x497753)return{'lineHeight':_0x31ada7['dom']['getBoundingClientRect']()['height'],'charWidth':_0x497753/_0x31ada7['length'],'textHeight':_0x2653f4};}});if(_0x139c20)return _0x139c20;let _0x570a8b,_0x29a803,_0x3311ef,_0x1957ae=document['createElement']('div');return _0x1957ae['className']='cm-line',_0x1957ae['style']['width']='99999px',_0x1957ae['style']['position']='absolute',_0x1957ae['textContent']='abc\x20def\x20ghi\x20jkl\x20mno\x20pqr\x20stu',this['view']['observer']['ignore'](()=>{this['tile']['dom']['appendChild'](_0x1957ae);let _0x5a6b26=_0xa70946(_0x1957ae['firstChild'])[0x0];_0x570a8b=_0x1957ae['getBoundingClientRect']()['height'],_0x29a803=_0x5a6b26&&_0x5a6b26['width']?_0x5a6b26['width']/0x1b:0x7,_0x3311ef=_0x5a6b26&&_0x5a6b26['height']?_0x5a6b26['height']:_0x570a8b,_0x1957ae['remove']();}),{'lineHeight':_0x570a8b,'charWidth':_0x29a803,'textHeight':_0x3311ef};}['computeBlockGapDeco'](){let _0x2c05b0=[],_0xbf6ead=this['view']['viewState'];for(let _0x55fec4=0x0,_0xb7e589=0x0;;_0xb7e589++){let _0x50a084=_0xb7e589==_0xbf6ead['viewports']['length']?null:_0xbf6ead['viewports'][_0xb7e589],_0x1efe7d=_0x50a084?_0x50a084['from']-0x1:this['view']['state']['doc']['length'];if(_0x1efe7d>_0x55fec4){let _0x194b1e=(_0xbf6ead['lineBlockAt'](_0x1efe7d)['bottom']-_0xbf6ead['lineBlockAt'](_0x55fec4)['top'])/this['view']['scaleY'];_0x2c05b0['push'](_0x68bd12['replace']({'widget':new _0x39d309(_0x194b1e),'block':!0x0,'inclusive':!0x0,'isBlockGap':!0x0})['range'](_0x55fec4,_0x1efe7d));}if(!_0x50a084)break;_0x55fec4=_0x50a084['to']+0x1;}return _0x68bd12['set'](_0x2c05b0);}['updateDeco'](){let _0xdc4e49=0x1,_0x25ac6f=this['view']['state']['facet'](_0x469ee8)['map'](_0x4b85fa=>(this['dynamicDecorationMap'][_0xdc4e49++]='function'==typeof _0x4b85fa)?_0x4b85fa(this['view']):_0x4b85fa),_0x2cfa92=!0x1,_0x5d5e6e=this['view']['state']['facet'](_0x16ae8)['map']((_0xb21f9b,_0x349c3d)=>{let _0x597cf1='function'==typeof _0xb21f9b;return _0x597cf1&&(_0x2cfa92=!0x0),_0x597cf1?_0xb21f9b(this['view']):_0xb21f9b;});for(_0x5d5e6e['length']&&(this['dynamicDecorationMap'][_0xdc4e49++]=_0x2cfa92,_0x25ac6f['push'](_0x397923['join'](_0x5d5e6e))),this['decorations']=[this['editContextFormatting'],..._0x25ac6f,this['computeBlockGapDeco'](),this['view']['viewState']['lineGapDeco']];_0xdc4e49<this['decorations']['length'];)this['dynamicDecorationMap'][_0xdc4e49++]=!0x1;this['blockWrappers']=this['view']['state']['facet'](_0x17325e)['map'](_0x29845d=>'function'==typeof _0x29845d?_0x29845d(this['view']):_0x29845d);}['scrollIntoView'](_0x5d4560){var _0x129d15;if(_0x5d4560['isSnapshot']){let _0x5ed08b=this['view']['viewState']['lineBlockAt'](_0x5d4560['range']['head']);return this['view']['scrollDOM']['scrollTop']=_0x5ed08b['top']-_0x5d4560['yMargin'],void(this['view']['scrollDOM']['scrollLeft']=_0x5d4560['xMargin']);}for(let _0x4d151 of this['view']['state']['facet'](_0x4db2b6))try{if(_0x4d151(this['view'],_0x5d4560['range'],_0x5d4560))return!0x0;}catch(_0x41d94f){_0x1947e5(this['view']['state'],_0x41d94f,'scroll\x20handler');}let _0x1333d2,{range:_0x50f057}=_0x5d4560,_0x6442b1=this['coordsAt'](_0x50f057['head'],null!==(_0x129d15=_0x50f057['assoc'])&&void 0x0!==_0x129d15?_0x129d15:_0x50f057['empty']?0x0:_0x50f057['head']>_0x50f057['anchor']?-0x1:0x1);if(!_0x6442b1)return;!_0x50f057['empty']&&(_0x1333d2=this['coordsAt'](_0x50f057['anchor'],_0x50f057['anchor']>_0x50f057['head']?-0x1:0x1))&&(_0x6442b1={'left':Math['min'](_0x6442b1['left'],_0x1333d2['left']),'top':Math['min'](_0x6442b1['top'],_0x1333d2['top']),'right':Math['max'](_0x6442b1['right'],_0x1333d2['right']),'bottom':Math['max'](_0x6442b1['bottom'],_0x1333d2['bottom'])});let _0x3ae06a=_0x15273d(this['view']),_0xa6e76b={'left':_0x6442b1['left']-_0x3ae06a['left'],'top':_0x6442b1['top']-_0x3ae06a['top'],'right':_0x6442b1['right']+_0x3ae06a['right'],'bottom':_0x6442b1['bottom']+_0x3ae06a['bottom']},{offsetWidth:_0xaf0e71,offsetHeight:_0x14a87b}=this['view']['scrollDOM'];if(function(_0x303b04,_0x51713f,_0x1faf2c,_0x1d2722,_0x5e2362,_0x5dafa2,_0x466b63,_0x37ebc7){let _0x5f0ba7=_0x303b04['ownerDocument'],_0x3fdc80=_0x5f0ba7['defaultView']||window;for(let _0x152335=_0x303b04,_0x2a819e=!0x1;_0x152335&&!_0x2a819e;)if(0x1==_0x152335['nodeType']){let _0x463cc0,_0x5cf62d=_0x152335==_0x5f0ba7['body'],_0xa1a6cd=0x1,_0xc0f08d=0x1;if(_0x5cf62d)_0x463cc0=_0x2e6fd0(_0x3fdc80);else{if(/^(fixed|sticky)$/['test'](getComputedStyle(_0x152335)['position'])&&(_0x2a819e=!0x0),_0x152335['scrollHeight']<=_0x152335['clientHeight']&&_0x152335['scrollWidth']<=_0x152335['clientWidth']){_0x152335=_0x152335['assignedSlot']||_0x152335['parentNode'];continue;}let _0x2831e4=_0x152335['getBoundingClientRect']();({scaleX:_0xa1a6cd,scaleY:_0xc0f08d}=_0x3176dc(_0x152335,_0x2831e4),_0x463cc0={'left':_0x2831e4['left'],'right':_0x2831e4['left']+_0x152335['clientWidth']*_0xa1a6cd,'top':_0x2831e4['top'],'bottom':_0x2831e4['top']+_0x152335['clientHeight']*_0xc0f08d});}let _0x28c6e5=0x0,_0x3cd470=0x0;if('nearest'==_0x5e2362)_0x51713f['top']<_0x463cc0['top']+_0x466b63?(_0x3cd470=_0x51713f['top']-(_0x463cc0['top']+_0x466b63),_0x1faf2c>0x0&&_0x51713f['bottom']>_0x463cc0['bottom']+_0x3cd470&&(_0x3cd470=_0x51713f['bottom']-_0x463cc0['bottom']+_0x466b63)):_0x51713f['bottom']>_0x463cc0['bottom']-_0x466b63&&(_0x3cd470=_0x51713f['bottom']-_0x463cc0['bottom']+_0x466b63,_0x1faf2c<0x0&&_0x51713f['top']-_0x3cd470<_0x463cc0['top']&&(_0x3cd470=_0x51713f['top']-(_0x463cc0['top']+_0x466b63)));else{let _0xacb3f3=_0x51713f['bottom']-_0x51713f['top'],_0x2c0d68=_0x463cc0['bottom']-_0x463cc0['top'];_0x3cd470=('center'==_0x5e2362&&_0xacb3f3<=_0x2c0d68?_0x51713f['top']+_0xacb3f3/0x2-_0x2c0d68/0x2:'start'==_0x5e2362||'center'==_0x5e2362&&_0x1faf2c<0x0?_0x51713f['top']-_0x466b63:_0x51713f['bottom']-_0x2c0d68+_0x466b63)-_0x463cc0['top'];}if('nearest'==_0x1d2722?_0x51713f['left']<_0x463cc0['left']+_0x5dafa2?(_0x28c6e5=_0x51713f['left']-(_0x463cc0['left']+_0x5dafa2),_0x1faf2c>0x0&&_0x51713f['right']>_0x463cc0['right']+_0x28c6e5&&(_0x28c6e5=_0x51713f['right']-_0x463cc0['right']+_0x5dafa2)):_0x51713f['right']>_0x463cc0['right']-_0x5dafa2&&(_0x28c6e5=_0x51713f['right']-_0x463cc0['right']+_0x5dafa2,_0x1faf2c<0x0&&_0x51713f['left']<_0x463cc0['left']+_0x28c6e5&&(_0x28c6e5=_0x51713f['left']-(_0x463cc0['left']+_0x5dafa2))):_0x28c6e5=('center'==_0x1d2722?_0x51713f['left']+(_0x51713f['right']-_0x51713f['left'])/0x2-(_0x463cc0['right']-_0x463cc0['left'])/0x2:'start'==_0x1d2722==_0x37ebc7?_0x51713f['left']-_0x5dafa2:_0x51713f['right']-(_0x463cc0['right']-_0x463cc0['left'])+_0x5dafa2)-_0x463cc0['left'],_0x28c6e5||_0x3cd470){if(_0x5cf62d)_0x3fdc80['scrollBy'](_0x28c6e5,_0x3cd470);else{let _0x302926=0x0,_0x5737b3=0x0;if(_0x3cd470){let _0x463461=_0x152335['scrollTop'];_0x152335['scrollTop']+=_0x3cd470/_0xc0f08d,_0x5737b3=(_0x152335['scrollTop']-_0x463461)*_0xc0f08d;}if(_0x28c6e5){let _0x1edfd0=_0x152335['scrollLeft'];_0x152335['scrollLeft']+=_0x28c6e5/_0xa1a6cd,_0x302926=(_0x152335['scrollLeft']-_0x1edfd0)*_0xa1a6cd;}_0x51713f={'left':_0x51713f['left']-_0x302926,'top':_0x51713f['top']-_0x5737b3,'right':_0x51713f['right']-_0x302926,'bottom':_0x51713f['bottom']-_0x5737b3},_0x302926&&Math['abs'](_0x302926-_0x28c6e5)<0x1&&(_0x1d2722='nearest'),_0x5737b3&&Math['abs'](_0x5737b3-_0x3cd470)<0x1&&(_0x5e2362='nearest');}}if(_0x5cf62d)break;(_0x51713f['top']<_0x463cc0['top']||_0x51713f['bottom']>_0x463cc0['bottom']||_0x51713f['left']<_0x463cc0['left']||_0x51713f['right']>_0x463cc0['right'])&&(_0x51713f={'left':Math['max'](_0x51713f['left'],_0x463cc0['left']),'right':Math['min'](_0x51713f['right'],_0x463cc0['right']),'top':Math['max'](_0x51713f['top'],_0x463cc0['top']),'bottom':Math['min'](_0x51713f['bottom'],_0x463cc0['bottom'])}),_0x152335=_0x152335['assignedSlot']||_0x152335['parentNode'];}else{if(0xb!=_0x152335['nodeType'])break;_0x152335=_0x152335['host'];}}(this['view']['scrollDOM'],_0xa6e76b,_0x50f057['head']<_0x50f057['anchor']?-0x1:0x1,_0x5d4560['x'],_0x5d4560['y'],Math['max'](Math['min'](_0x5d4560['xMargin'],_0xaf0e71),-_0xaf0e71),Math['max'](Math['min'](_0x5d4560['yMargin'],_0x14a87b),-_0x14a87b),this['view']['textDirection']==_0x48659f['LTR']),window['visualViewport']&&window['innerHeight']-window['visualViewport']['height']>0x1&&(_0x6442b1['top']>window['pageYOffset']+window['visualViewport']['offsetTop']+window['visualViewport']['height']||_0x6442b1['bottom']<window['pageYOffset']+window['visualViewport']['offsetTop'])){let _0x329069=this['view']['docView']['lineAt'](_0x50f057['head'],0x1);_0x329069&&_0x329069['dom']['scrollIntoView']({'block':'nearest'});}}['lineHasWidget'](_0x21fdf1){let _0x507940=_0x20cdc8=>_0x20cdc8['isWidget']()||_0x20cdc8['children']['some'](_0x507940);return _0x507940(this['tile']['resolveBlock'](_0x21fdf1,0x1)['tile']);}['destroy'](){_0x252bb7(this['tile']);}};function _0x252bb7(_0x2979a8,_0x3c5c21){let _0x3965f8=null==_0x3c5c21?void 0x0:_0x3c5c21['get'](_0x2979a8);if(0x1!=_0x3965f8){null==_0x3965f8&&_0x2979a8['destroy']();for(let _0x47e1b5 of _0x2979a8['children'])_0x252bb7(_0x47e1b5,_0x3c5c21);}}function _0xcdb7df(_0x53f18e,_0x16d7cb){let _0x5ab0e=_0x53f18e['observer']['selectionRange'];if(!_0x5ab0e['focusNode'])return null;let _0xb1278c=_0x2f9475(_0x5ab0e['focusNode'],_0x5ab0e['focusOffset']),_0x18ca71=_0x441a44(_0x5ab0e['focusNode'],_0x5ab0e['focusOffset']),_0xd14a85=_0xb1278c||_0x18ca71;if(_0x18ca71&&_0xb1278c&&_0x18ca71['node']!=_0xb1278c['node']){let _0x5e601e=_0xbeef60['get'](_0x18ca71['node']);if(!_0x5e601e||_0x5e601e['isText']()&&_0x5e601e['text']!=_0x18ca71['node']['nodeValue'])_0xd14a85=_0x18ca71;else{if(_0x53f18e['docView']['lastCompositionAfterCursor']){let _0x51cf98=_0xbeef60['get'](_0xb1278c['node']);!_0x51cf98||_0x51cf98['isText']()&&_0x51cf98['text']!=_0xb1278c['node']['nodeValue']||(_0xd14a85=_0x18ca71);}}}if(_0x53f18e['docView']['lastCompositionAfterCursor']=_0xd14a85!=_0xb1278c,!_0xd14a85)return null;let _0x1b720c=_0x16d7cb-_0xd14a85['offset'];return{'from':_0x1b720c,'to':_0x1b720c+_0xd14a85['node']['nodeValue']['length'],'node':_0xd14a85['node']};}let _0x125a6e=class DecorationComparator{constructor(){this['changes']=[];}['compareRange'](_0x1a8010,_0x3f4018){_0xea97e9(_0x1a8010,_0x3f4018,this['changes']);}['comparePoint'](_0x1da056,_0x3a99c2){_0xea97e9(_0x1da056,_0x3a99c2,this['changes']);}['boundChange'](_0x2c8eed){_0xea97e9(_0x2c8eed,_0x2c8eed,this['changes']);}};var _0x22d2d5=class{constructor(){this['changes']=[];}['compareRange'](_0x5279cc,_0x84fa0e){_0xea97e9(_0x5279cc,_0x84fa0e,this['changes']);}['comparePoint'](){}['boundChange'](_0x21f872){_0xea97e9(_0x21f872,_0x21f872,this['changes']);}},_0x39d309=class extends _0x129238{constructor(_0x3acfdd){super(),this['height']=_0x3acfdd;}['toDOM'](){let _0x25571c=document['createElement']('div');return _0x25571c['className']='cm-gap',this['updateDOM'](_0x25571c),_0x25571c;}['eq'](_0x563e8c){return _0x563e8c['height']==this['height'];}['updateDOM'](_0x1ba65a){return _0x1ba65a['style']['height']=this['height']+'px',!0x0;}get['editable'](){return!0x0;}get['estimatedHeight'](){return this['height'];}['ignoreEvent'](){return!0x1;}};function _0x2de505(_0x2bdae9,_0xce4f82,_0x354ab8){let _0x5cb867=_0x2bdae9['lineBlockAt'](_0xce4f82);if(Array['isArray'](_0x5cb867['type'])){let _0x47fe11;for(let _0x109530 of _0x5cb867['type']){if(_0x109530['from']>_0xce4f82)break;if(!(_0x109530['to']<_0xce4f82)){if(_0x109530['from']<_0xce4f82&&_0x109530['to']>_0xce4f82)return _0x109530;_0x47fe11&&(_0x109530['type']!=_0x3027bf['Text']||_0x47fe11['type']==_0x109530['type']&&!(_0x354ab8<0x0?_0x109530['from']<_0xce4f82:_0x109530['to']>_0xce4f82))||(_0x47fe11=_0x109530);}}return _0x47fe11||_0x5cb867;}return _0x5cb867;}function _0xecabe6(_0x597b34,_0x40e027,_0x1297dd,_0x530b0a){let _0x51b2fe=_0x597b34['state']['doc']['lineAt'](_0x40e027['head']),_0x144fa0=_0x597b34['bidiSpans'](_0x51b2fe),_0x40ac0f=_0x597b34['textDirectionAt'](_0x51b2fe['from']);for(let _0x34c109=_0x40e027,_0x3c5cee=null;;){let _0x383ae1=_0x5e1b2b(_0x51b2fe,_0x144fa0,_0x40ac0f,_0x34c109,_0x1297dd),_0xe360d4=_0x2a3660;if(!_0x383ae1){if(_0x51b2fe['number']==(_0x1297dd?_0x597b34['state']['doc']['lines']:0x1))return _0x34c109;_0xe360d4='\x0a',_0x51b2fe=_0x597b34['state']['doc']['line'](_0x51b2fe['number']+(_0x1297dd?0x1:-0x1)),_0x144fa0=_0x597b34['bidiSpans'](_0x51b2fe),_0x383ae1=_0x597b34['visualLineSide'](_0x51b2fe,!_0x1297dd);}if(_0x3c5cee){if(!_0x3c5cee(_0xe360d4))return _0x34c109;}else{if(!_0x530b0a)return _0x383ae1;_0x3c5cee=_0x530b0a(_0xe360d4);}_0x34c109=_0x383ae1;}}function _0x3c1569(_0x7d38c0,_0x10d2fb,_0x203a6e){for(;;){let _0x10d39c=0x0;for(let _0x57c7f of _0x7d38c0)_0x57c7f['between'](_0x10d2fb-0x1,_0x10d2fb+0x1,(_0x2374cb,_0x22712d,_0x1aa8f2)=>{if(_0x10d2fb>_0x2374cb&&_0x10d2fb<_0x22712d){let _0x46edae=_0x10d39c||_0x203a6e||(_0x10d2fb-_0x2374cb<_0x22712d-_0x10d2fb?-0x1:0x1);_0x10d2fb=_0x46edae<0x0?_0x2374cb:_0x22712d,_0x10d39c=_0x46edae;}});if(!_0x10d39c)return _0x10d2fb;}}function _0x4ff35c(_0x486926,_0xdad093){let _0x232ac3=null;for(let _0x3dc301=0x0;_0x3dc301<_0xdad093['ranges']['length'];_0x3dc301++){let _0x53486a=_0xdad093['ranges'][_0x3dc301],_0x48d396=null;if(_0x53486a['empty']){let _0x43a134=_0x3c1569(_0x486926,_0x53486a['from'],0x0);_0x43a134!=_0x53486a['from']&&(_0x48d396=_0x152831['cursor'](_0x43a134,-0x1));}else{let _0x27137d=_0x3c1569(_0x486926,_0x53486a['from'],-0x1),_0x1970e7=_0x3c1569(_0x486926,_0x53486a['to'],0x1);_0x27137d==_0x53486a['from']&&_0x1970e7==_0x53486a['to']||(_0x48d396=_0x152831['range'](_0x53486a['from']==_0x53486a['anchor']?_0x27137d:_0x1970e7,_0x53486a['from']==_0x53486a['head']?_0x27137d:_0x1970e7));}_0x48d396&&(_0x232ac3||(_0x232ac3=_0xdad093['ranges']['slice']()),_0x232ac3[_0x3dc301]=_0x48d396);}return _0x232ac3?_0x152831['create'](_0x232ac3,_0xdad093['mainIndex']):_0xdad093;}function _0x225f70(_0x4e09a7,_0x2a922f,_0x59bc71){let _0x4a364e=_0x3c1569(_0x4e09a7['state']['facet'](_0x3df8b7)['map'](_0x52a8ef=>_0x52a8ef(_0x4e09a7)),_0x59bc71['from'],_0x2a922f['head']>_0x59bc71['from']?-0x1:0x1);return _0x4a364e==_0x59bc71['from']?_0x59bc71:_0x152831['cursor'](_0x4a364e,_0x4a364e<_0x59bc71['from']?0x1:-0x1);}var _0x120b11=class{constructor(_0xcd6e48,_0x429d2d){this['pos']=_0xcd6e48,this['assoc']=_0x429d2d;}};function _0x51af3f(_0x11a999,_0x2e13ec,_0x2de3ab,_0x424432){let _0x32c5d4,_0x5eff61=_0x11a999['contentDOM']['getBoundingClientRect'](),_0x2b2531=_0x5eff61['top']+_0x11a999['viewState']['paddingTop'],{x:_0x38ae63,y:_0xaa0484}=_0x2e13ec,_0x5b8db4=_0xaa0484-_0x2b2531;for(;;){if(_0x5b8db4<0x0)return new _0x120b11(0x0,0x1);if(_0x5b8db4>_0x11a999['viewState']['docHeight'])return new _0x120b11(_0x11a999['state']['doc']['length'],-0x1);if(_0x32c5d4=_0x11a999['elementAtHeight'](_0x5b8db4),null==_0x424432)break;if(_0x32c5d4['type']==_0x3027bf['Text']){if(_0x424432<0x0?_0x32c5d4['to']<_0x11a999['viewport']['from']:_0x32c5d4['from']>_0x11a999['viewport']['to'])break;let _0x276569=_0x11a999['docView']['coordsAt'](_0x424432<0x0?_0x32c5d4['from']:_0x32c5d4['to'],_0x424432>0x0?-0x1:0x1);if(_0x276569&&(_0x424432<0x0?_0x276569['top']<=_0x5b8db4+_0x2b2531:_0x276569['bottom']>=_0x5b8db4+_0x2b2531))break;}let _0x1f9306=_0x11a999['viewState']['heightOracle']['textHeight']/0x2;_0x5b8db4=_0x424432>0x0?_0x32c5d4['bottom']+_0x1f9306:_0x32c5d4['top']-_0x1f9306;}if(_0x11a999['viewport']['from']>=_0x32c5d4['to']||_0x11a999['viewport']['to']<=_0x32c5d4['from']){if(_0x2de3ab)return null;if(_0x32c5d4['type']==_0x3027bf['Text']){let _0x5c8c25=function(_0x3f4144,_0x1719ce,_0x592c4b,_0x665b48,_0x505aef){let _0x11e8fc=Math['round']((_0x665b48-_0x1719ce['left'])*_0x3f4144['defaultCharacterWidth']);if(_0x3f4144['lineWrapping']&&_0x592c4b['height']>1.5*_0x3f4144['defaultLineHeight']){let _0x10a7b5=_0x3f4144['viewState']['heightOracle']['textHeight'];_0x11e8fc+=Math['floor']((_0x505aef-_0x592c4b['top']-0.5*(_0x3f4144['defaultLineHeight']-_0x10a7b5))/_0x10a7b5)*_0x3f4144['viewState']['heightOracle']['lineLength'];}let _0x2ea763=_0x3f4144['state']['sliceDoc'](_0x592c4b['from'],_0x592c4b['to']);return _0x592c4b['from']+_0x580085(_0x2ea763,_0x11e8fc,_0x3f4144['state']['tabSize']);}(_0x11a999,_0x5eff61,_0x32c5d4,_0x38ae63,_0xaa0484);return new _0x120b11(_0x5c8c25,_0x5c8c25==_0x32c5d4['from']?0x1:-0x1);}}if(_0x32c5d4['type']!=_0x3027bf['Text'])return _0x5b8db4<(_0x32c5d4['top']+_0x32c5d4['bottom'])/0x2?new _0x120b11(_0x32c5d4['from'],0x1):new _0x120b11(_0x32c5d4['to'],-0x1);let _0x58bf1f=_0x11a999['docView']['lineAt'](_0x32c5d4['from'],0x2);return _0x58bf1f&&_0x58bf1f['length']==_0x32c5d4['length']||(_0x58bf1f=_0x11a999['docView']['lineAt'](_0x32c5d4['from'],-0x2)),new _0x3e17bc(_0x11a999,_0x38ae63,_0xaa0484,_0x11a999['textDirectionAt'](_0x32c5d4['from']))['scanTile'](_0x58bf1f,_0x32c5d4['from']);}var _0x3e17bc=class{constructor(_0x2a3332,_0x100d75,_0x3b3d81,_0xcb193){this['view']=_0x2a3332,this['x']=_0x100d75,this['y']=_0x3b3d81,this['baseDir']=_0xcb193,this['line']=null,this['spans']=null;}['bidiSpansAt'](_0x38d307){return(!this['line']||this['line']['from']>_0x38d307||this['line']['to']<_0x38d307)&&(this['line']=this['view']['state']['doc']['lineAt'](_0x38d307),this['spans']=this['view']['bidiSpans'](this['line'])),this;}['baseDirAt'](_0x437fb8,_0x3f688f){let {line:_0x1960f9,spans:_0x13969c}=this['bidiSpansAt'](_0x437fb8);return _0x13969c[_0x11a270['find'](_0x13969c,_0x437fb8-_0x1960f9['from'],-0x1,_0x3f688f)]['level']==this['baseDir'];}['dirAt'](_0x3c0d4a,_0x110c55){let {line:_0xf73e7d,spans:_0x5d2cd1}=this['bidiSpansAt'](_0x3c0d4a);return _0x5d2cd1[_0x11a270['find'](_0x5d2cd1,_0x3c0d4a-_0xf73e7d['from'],-0x1,_0x110c55)]['dir'];}['bidiIn'](_0x217307,_0x10f448){let {spans:_0x5b1c74,line:_0x4c6177}=this['bidiSpansAt'](_0x217307);return _0x5b1c74['length']>0x1||_0x5b1c74['length']&&(_0x5b1c74[0x0]['level']!=this['baseDir']||_0x5b1c74[0x0]['to']+_0x4c6177['from']<_0x10f448);}['scan'](_0x11a6e9,_0x3f9bed,_0x2648d0=!0x1){let _0x36119d,_0x48cabe,_0x453cbd,_0x599526=0x0,_0x32f36c=_0x11a6e9['length']-0x1,_0x2c6248=new Set(),_0x563190=this['bidiIn'](_0x11a6e9[0x0],_0x11a6e9[_0x32f36c]),_0x5f038b=-0x1,_0x272b88=0x3b9aca00;t:for(;_0x599526<_0x32f36c;){let _0x209b25=_0x32f36c-_0x599526,_0x523482=_0x599526+_0x32f36c>>0x1;_0x3ba4a8:if(_0x2c6248['has'](_0x523482)){let _0x3cc1a2=_0x599526+Math['floor'](Math['random']()*_0x209b25);for(let _0x4f00cc=0x0;_0x4f00cc<_0x209b25;_0x4f00cc++){if(!_0x2c6248['has'](_0x3cc1a2)){_0x523482=_0x3cc1a2;break _0x3ba4a8;}_0x3cc1a2++,_0x3cc1a2==_0x32f36c&&(_0x3cc1a2=_0x599526);}break t;}_0x2c6248['add'](_0x523482);let _0x521373=_0x3f9bed(_0x523482);if(_0x521373)for(let _0x585a7b=0x0;_0x585a7b<_0x521373['length'];_0x585a7b++){let _0x17cba3=_0x521373[_0x585a7b],_0x182d11=0x0;if(!(0x0==_0x17cba3['width']&&_0x521373['length']>0x1)){if(_0x17cba3['bottom']<this['y'])(!_0x36119d||_0x36119d['bottom']<_0x17cba3['bottom'])&&(_0x36119d=_0x17cba3),_0x182d11=0x1;else{if(_0x17cba3['top']>this['y'])(!_0x48cabe||_0x48cabe['top']>_0x17cba3['top'])&&(_0x48cabe=_0x17cba3),_0x182d11=-0x1;else{let _0x1f2d14=_0x17cba3['left']>this['x']?this['x']-_0x17cba3['left']:_0x17cba3['right']<this['x']?this['x']-_0x17cba3['right']:0x0,_0x1971ad=Math['abs'](_0x1f2d14);_0x1971ad<_0x272b88&&(_0x5f038b=_0x523482,_0x272b88=_0x1971ad,_0x453cbd=_0x17cba3),_0x1f2d14&&(_0x182d11=_0x1f2d14<0x0==(this['baseDir']==_0x48659f['LTR'])?-0x1:0x1);}}-0x1!=_0x182d11||_0x563190&&!this['baseDirAt'](_0x11a6e9[_0x523482],0x1)?0x1!=_0x182d11||_0x563190&&!this['baseDirAt'](_0x11a6e9[_0x523482+0x1],-0x1)||(_0x599526=_0x523482+0x1):_0x32f36c=_0x523482;}}}if(!_0x453cbd){if(!_0x48cabe&&!_0x36119d)return{'i':_0x11a6e9[0x0],'after':!0x1};let _0x2971f5=_0x36119d&&(!_0x48cabe||this['y']-_0x36119d['bottom']<_0x48cabe['top']-this['y'])?_0x36119d:_0x48cabe;return this['y']=(_0x2971f5['top']+_0x2971f5['bottom'])/0x2,this['scan'](_0x11a6e9,_0x3f9bed,!0x0);}if(_0x272b88&&!_0x2648d0){let {top:_0x173ecd,bottom:_0x54c9ef}=_0x453cbd;if(_0x36119d&&_0x36119d['bottom']>(_0x173ecd+_0x173ecd+_0x54c9ef)/0x3)return this['y']=_0x36119d['bottom']-0x1,this['scan'](_0x11a6e9,_0x3f9bed,!0x0);if(_0x48cabe&&_0x48cabe['top']<(_0x173ecd+_0x54c9ef+_0x54c9ef)/0x3)return this['y']=_0x48cabe['top']+0x1,this['scan'](_0x11a6e9,_0x3f9bed,!0x0);}let _0x1b3499=(_0x563190?this['dirAt'](_0x11a6e9[_0x5f038b],0x1):this['baseDir'])==_0x48659f['LTR'];return{'i':_0x5f038b,'after':this['x']>(_0x453cbd['left']+_0x453cbd['right'])/0x2==_0x1b3499};}['scanText'](_0x5f5d55,_0x25f8c6){let _0x2786ce=[];for(let _0x4109ab=0x0;_0x4109ab<_0x5f5d55['length'];_0x4109ab=_0x4b59d4(_0x5f5d55['text'],_0x4109ab))_0x2786ce['push'](_0x25f8c6+_0x4109ab);_0x2786ce['push'](_0x25f8c6+_0x5f5d55['length']);let _0x3f781f=this['scan'](_0x2786ce,_0x22518f=>{let _0xa0bdfd=_0x2786ce[_0x22518f]-_0x25f8c6,_0x60211d=_0x2786ce[_0x22518f+0x1]-_0x25f8c6;return _0x59dea4(_0x5f5d55['dom'],_0xa0bdfd,_0x60211d)['getClientRects']();});return _0x3f781f['after']?new _0x120b11(_0x2786ce[_0x3f781f['i']+0x1],-0x1):new _0x120b11(_0x2786ce[_0x3f781f['i']],0x1);}['scanTile'](_0x45ed63,_0x996025){if(!_0x45ed63['length'])return new _0x120b11(_0x996025,0x1);if(0x1==_0x45ed63['children']['length']){let _0x3648da=_0x45ed63['children'][0x0];if(_0x3648da['isText']())return this['scanText'](_0x3648da,_0x996025);if(_0x3648da['isComposite']())return this['scanTile'](_0x3648da,_0x996025);}let _0x1ea69c=[_0x996025];for(let _0x1c00ba=0x0,_0x254ea1=_0x996025;_0x1c00ba<_0x45ed63['children']['length'];_0x1c00ba++)_0x1ea69c['push'](_0x254ea1+=_0x45ed63['children'][_0x1c00ba]['length']);let _0x43ae75=this['scan'](_0x1ea69c,_0x591d73=>{let _0x11a6cb=_0x45ed63['children'][_0x591d73];return 0x30&_0x11a6cb['flags']?null:(0x1==_0x11a6cb['dom']['nodeType']?_0x11a6cb['dom']:_0x59dea4(_0x11a6cb['dom'],0x0,_0x11a6cb['length']))['getClientRects']();}),_0x294673=_0x45ed63['children'][_0x43ae75['i']],_0xc75aa3=_0x1ea69c[_0x43ae75['i']];return _0x294673['isText']()?this['scanText'](_0x294673,_0xc75aa3):_0x294673['isComposite']()?this['scanTile'](_0x294673,_0xc75aa3):_0x43ae75['after']?new _0x120b11(_0x1ea69c[_0x43ae75['i']+0x1],-0x1):new _0x120b11(_0xc75aa3,0x1);}};const _0x2122e6='';var _0x567265=class{constructor(_0x3dc69f,_0x15bcc0){this['points']=_0x3dc69f,this['view']=_0x15bcc0,this['text']='',this['lineSeparator']=_0x15bcc0['state']['facet'](_0x2a2565['lineSeparator']);}['append'](_0x22c2a3){this['text']+=_0x22c2a3;}['lineBreak'](){this['text']+=_0x2122e6;}['readRange'](_0x1bcf0e,_0x3682e2){if(!_0x1bcf0e)return this;let _0x20dfe9=_0x1bcf0e['parentNode'];for(let _0x3482f4=_0x1bcf0e;;){this['findPointBefore'](_0x20dfe9,_0x3482f4);let _0x32a15c=this['text']['length'];this['readNode'](_0x3482f4);let _0x4e54fd=_0xbeef60['get'](_0x3482f4),_0x131d79=_0x3482f4['nextSibling'];if(_0x131d79==_0x3682e2){(null==_0x4e54fd?void 0x0:_0x4e54fd['breakAfter'])&&!_0x131d79&&_0x20dfe9!=this['view']['contentDOM']&&this['lineBreak']();break;}let _0x19ce09=_0xbeef60['get'](_0x131d79);(_0x4e54fd&&_0x19ce09?_0x4e54fd['breakAfter']:(_0x4e54fd?_0x4e54fd['breakAfter']:_0x37c35b(_0x3482f4))||_0x37c35b(_0x131d79)&&('BR'!=_0x3482f4['nodeName']||(null==_0x4e54fd?void 0x0:_0x4e54fd['isWidget']()))&&this['text']['length']>_0x32a15c)&&!_0x179e74(_0x131d79,_0x3682e2)&&this['lineBreak'](),_0x3482f4=_0x131d79;}return this['findPointBefore'](_0x20dfe9,_0x3682e2),this;}['readTextNode'](_0x6862ce){let _0x372e68=_0x6862ce['nodeValue'];for(let _0x34190b of this['points'])_0x34190b['node']==_0x6862ce&&(_0x34190b['pos']=this['text']['length']+Math['min'](_0x34190b['offset'],_0x372e68['length']));for(let _0x44e8bc=0x0,_0x2c809e=this['lineSeparator']?null:/\r\n?|\n/g;;){let _0x39a4ba,_0x438f5=-0x1,_0x164df5=0x1;if(this['lineSeparator']?(_0x438f5=_0x372e68['indexOf'](this['lineSeparator'],_0x44e8bc),_0x164df5=this['lineSeparator']['length']):(_0x39a4ba=_0x2c809e['exec'](_0x372e68))&&(_0x438f5=_0x39a4ba['index'],_0x164df5=_0x39a4ba[0x0]['length']),this['append'](_0x372e68['slice'](_0x44e8bc,_0x438f5<0x0?_0x372e68['length']:_0x438f5)),_0x438f5<0x0)break;if(this['lineBreak'](),_0x164df5>0x1){for(let _0x2a90d8 of this['points'])_0x2a90d8['node']==_0x6862ce&&_0x2a90d8['pos']>this['text']['length']&&(_0x2a90d8['pos']-=_0x164df5-0x1);}_0x44e8bc=_0x438f5+_0x164df5;}}['readNode'](_0x4a847f){let _0x1c905c=_0xbeef60['get'](_0x4a847f),_0x59a3e2=_0x1c905c&&_0x1c905c['overrideDOMText'];if(null!=_0x59a3e2){this['findPointInside'](_0x4a847f,_0x59a3e2['length']);for(let _0x3a93dd=_0x59a3e2['iter']();!_0x3a93dd['next']()['done'];)_0x3a93dd['lineBreak']?this['lineBreak']():this['append'](_0x3a93dd['value']);}else 0x3==_0x4a847f['nodeType']?this['readTextNode'](_0x4a847f):'BR'==_0x4a847f['nodeName']?_0x4a847f['nextSibling']&&this['lineBreak']():0x1==_0x4a847f['nodeType']&&this['readRange'](_0x4a847f['firstChild'],null);}['findPointBefore'](_0x24dc21,_0x4822d3){for(let _0x268f6c of this['points'])_0x268f6c['node']==_0x24dc21&&_0x24dc21['childNodes'][_0x268f6c['offset']]==_0x4822d3&&(_0x268f6c['pos']=this['text']['length']);}['findPointInside'](_0x103bc4,_0x397b70){for(let _0x174552 of this['points'])(0x3==_0x103bc4['nodeType']?_0x174552['node']==_0x103bc4:_0x103bc4['contains'](_0x174552['node']))&&(_0x174552['pos']=this['text']['length']+(_0x544fb6(_0x103bc4,_0x174552['node'],_0x174552['offset'])?_0x397b70:0x0));}};function _0x544fb6(_0x1f7e76,_0x59a370,_0x1f3f90){for(;;){if(!_0x59a370||_0x1f3f90<_0x998b10(_0x59a370))return!0x1;if(_0x59a370==_0x1f7e76)return!0x0;_0x1f3f90=_0x30e7ff(_0x59a370)+0x1,_0x59a370=_0x59a370['parentNode'];}}function _0x179e74(_0x38dbb0,_0x3ee70a){let _0x3e877d;for(;_0x38dbb0!=_0x3ee70a&&_0x38dbb0;_0x38dbb0=_0x38dbb0['nextSibling']){let _0x561a5d=_0xbeef60['get'](_0x38dbb0);if(!(null==_0x561a5d?void 0x0:_0x561a5d['isWidget']()))return!0x1;_0x561a5d&&(_0x3e877d||(_0x3e877d=[]))['push'](_0x561a5d);}if(_0x3e877d)for(let _0x5c62ff of _0x3e877d){let _0xe95cc2=_0x5c62ff['overrideDOMText'];if(null==_0xe95cc2?void 0x0:_0xe95cc2['length'])return!0x1;}return!0x0;}var _0x4ebfb6=class{constructor(_0x1697e7,_0x4bc627){this['node']=_0x1697e7,this['offset']=_0x4bc627,this['pos']=-0x1;}},_0x426f15=class{constructor(_0x14772,_0x40d810,_0x1c5a89,_0x524b51){this['typeOver']=_0x524b51,this['bounds']=null,this['text']='',this['domChanged']=_0x40d810>-0x1;let {impreciseHead:_0x392512,impreciseAnchor:_0x4562fd}=_0x14772['docView'],_0x141e63=_0x14772['state']['selection'];if(_0x14772['state']['readOnly']&&_0x40d810>-0x1)this['newSel']=null;else{if(_0x40d810>-0x1&&(this['bounds']=_0x285585(_0x14772['docView']['tile'],_0x40d810,_0x1c5a89,0x0))){let _0x290463=_0x392512||_0x4562fd?[]:function(_0x3d7ab2){let _0x5b2d3a=[];if(_0x3d7ab2['root']['activeElement']!=_0x3d7ab2['contentDOM'])return _0x5b2d3a;let {anchorNode:_0x5b8dad,anchorOffset:_0x5386bb,focusNode:_0x29d5e5,focusOffset:_0x133ef4}=_0x3d7ab2['observer']['selectionRange'];return _0x5b8dad&&(_0x5b2d3a['push'](new _0x4ebfb6(_0x5b8dad,_0x5386bb)),_0x29d5e5==_0x5b8dad&&_0x133ef4==_0x5386bb||_0x5b2d3a['push'](new _0x4ebfb6(_0x29d5e5,_0x133ef4))),_0x5b2d3a;}(_0x14772),_0x159afa=new _0x567265(_0x290463,_0x14772);_0x159afa['readRange'](this['bounds']['startDOM'],this['bounds']['endDOM']),this['text']=_0x159afa['text'],this['newSel']=function(_0x232e11,_0x598b60){if(0x0==_0x232e11['length'])return null;let _0x4f2407=_0x232e11[0x0]['pos'],_0x458ae4=0x2==_0x232e11['length']?_0x232e11[0x1]['pos']:_0x4f2407;return _0x4f2407>-0x1&&_0x458ae4>-0x1?_0x152831['single'](_0x4f2407+_0x598b60,_0x458ae4+_0x598b60):null;}(_0x290463,this['bounds']['from']);}else{let _0x361db6=_0x14772['observer']['selectionRange'],_0x45b7cc=_0x392512&&_0x392512['node']==_0x361db6['focusNode']&&_0x392512['offset']==_0x361db6['focusOffset']||!_0x5b1f20(_0x14772['contentDOM'],_0x361db6['focusNode'])?_0x141e63['main']['head']:_0x14772['docView']['posFromDOM'](_0x361db6['focusNode'],_0x361db6['focusOffset']),_0x3a32db=_0x4562fd&&_0x4562fd['node']==_0x361db6['anchorNode']&&_0x4562fd['offset']==_0x361db6['anchorOffset']||!_0x5b1f20(_0x14772['contentDOM'],_0x361db6['anchorNode'])?_0x141e63['main']['anchor']:_0x14772['docView']['posFromDOM'](_0x361db6['anchorNode'],_0x361db6['anchorOffset']),_0x4d85c9=_0x14772['viewport'];if((_0x13bfcb['ios']||_0x13bfcb['chrome'])&&_0x141e63['main']['empty']&&_0x45b7cc!=_0x3a32db&&(_0x4d85c9['from']>0x0||_0x4d85c9['to']<_0x14772['state']['doc']['length'])){let _0x2dc1ea=Math['min'](_0x45b7cc,_0x3a32db),_0x2235f4=Math['max'](_0x45b7cc,_0x3a32db),_0x379f0d=_0x4d85c9['from']-_0x2dc1ea,_0x41e5ac=_0x4d85c9['to']-_0x2235f4;0x0!=_0x379f0d&&0x1!=_0x379f0d&&0x0!=_0x2dc1ea||0x0!=_0x41e5ac&&-0x1!=_0x41e5ac&&_0x2235f4!=_0x14772['state']['doc']['length']||(_0x45b7cc=0x0,_0x3a32db=_0x14772['state']['doc']['length']);}if(_0x14772['inputState']['composing']>-0x1&&_0x141e63['ranges']['length']>0x1)this['newSel']=_0x141e63['replaceRange'](_0x152831['range'](_0x3a32db,_0x45b7cc));else{if(_0x14772['lineWrapping']&&_0x3a32db==_0x45b7cc&&(!_0x141e63['main']['empty']||_0x141e63['main']['head']!=_0x45b7cc)&&_0x14772['inputState']['lastTouchTime']>Date['now']()-0x64){let _0x3d5d23=_0x14772['coordsAtPos'](_0x45b7cc,-0x1),_0x1a42db=0x0;_0x3d5d23&&(_0x1a42db=_0x14772['inputState']['lastTouchY']<=_0x3d5d23['bottom']?-0x1:0x1),this['newSel']=_0x152831['create']([_0x152831['cursor'](_0x45b7cc,_0x1a42db)]);}else this['newSel']=_0x152831['single'](_0x3a32db,_0x45b7cc);}}}}};function _0x285585(_0x330743,_0x493803,_0x14e582,_0x1628ab){if(_0x330743['isComposite']()){let _0x49f2a0=-0x1,_0x3c1b27=-0x1,_0x30d0c2=-0x1,_0xff473f=-0x1;for(let _0x50ea44=0x0,_0x2b28c6=_0x1628ab,_0x1b1f34=_0x1628ab;_0x50ea44<_0x330743['children']['length'];_0x50ea44++){let _0x387b57=_0x330743['children'][_0x50ea44],_0x5d7051=_0x2b28c6+_0x387b57['length'];if(_0x2b28c6<_0x493803&&_0x5d7051>_0x14e582)return _0x285585(_0x387b57,_0x493803,_0x14e582,_0x2b28c6);if(_0x5d7051>=_0x493803&&-0x1==_0x49f2a0&&(_0x49f2a0=_0x50ea44,_0x3c1b27=_0x2b28c6),_0x2b28c6>_0x14e582&&_0x387b57['dom']['parentNode']==_0x330743['dom']){_0x30d0c2=_0x50ea44,_0xff473f=_0x1b1f34;break;}_0x1b1f34=_0x5d7051,_0x2b28c6=_0x5d7051+_0x387b57['breakAfter'];}return{'from':_0x3c1b27,'to':_0xff473f<0x0?_0x1628ab+_0x330743['length']:_0xff473f,'startDOM':(_0x49f2a0?_0x330743['children'][_0x49f2a0-0x1]['dom']['nextSibling']:null)||_0x330743['dom']['firstChild'],'endDOM':_0x30d0c2<_0x330743['children']['length']&&_0x30d0c2>=0x0?_0x330743['children'][_0x30d0c2]['dom']:null};}return _0x330743['isText']()?{'from':_0x1628ab,'to':_0x1628ab+_0x330743['length'],'startDOM':_0x330743['dom'],'endDOM':_0x330743['dom']['nextSibling']}:null;}function _0x12058d(_0x409c3d,_0x5e1027){let _0x9a5985,{newSel:_0x524d9e}=_0x5e1027,{state:_0x2fed50}=_0x409c3d,_0x48f573=_0x2fed50['selection']['main'],_0x6d373a=_0x409c3d['inputState']['lastKeyTime']>Date['now']()-0x64?_0x409c3d['inputState']['lastKeyCode']:-0x1;if(_0x5e1027['bounds']){let {from:_0x4e2e0d,to:_0x219d13}=_0x5e1027['bounds'],_0xbda22a=_0x48f573['from'],_0x3c4dc8=null;(0x8===_0x6d373a||_0x13bfcb['android']&&_0x5e1027['text']['length']<_0x219d13-_0x4e2e0d)&&(_0xbda22a=_0x48f573['to'],_0x3c4dc8='end');let _0x128e04,_0xab7059,_0x3f780d=_0x2fed50['doc']['sliceString'](_0x4e2e0d,_0x219d13,_0x2122e6);!_0x48f573['empty']&&_0x48f573['from']>=_0x4e2e0d&&_0x48f573['to']<=_0x219d13&&(_0x5e1027['typeOver']||_0x3f780d!=_0x5e1027['text'])&&_0x3f780d['slice'](0x0,_0x48f573['from']-_0x4e2e0d)==_0x5e1027['text']['slice'](0x0,_0x48f573['from']-_0x4e2e0d)&&_0x3f780d['slice'](_0x48f573['to']-_0x4e2e0d)==_0x5e1027['text']['slice'](_0x128e04=_0x5e1027['text']['length']-(_0x3f780d['length']-(_0x48f573['to']-_0x4e2e0d)))?_0x9a5985={'from':_0x48f573['from'],'to':_0x48f573['to'],'insert':_0x3de5aa['of'](_0x5e1027['text']['slice'](_0x48f573['from']-_0x4e2e0d,_0x128e04)['split'](_0x2122e6))}:(_0xab7059=_0x234c0b(_0x3f780d,_0x5e1027['text'],_0xbda22a-_0x4e2e0d,_0x3c4dc8))&&(_0x13bfcb['chrome']&&0xd==_0x6d373a&&_0xab7059['toB']==_0xab7059['from']+0x2&&''==_0x5e1027['text']['slice'](_0xab7059['from'],_0xab7059['toB'])&&_0xab7059['toB']--,_0x9a5985={'from':_0x4e2e0d+_0xab7059['from'],'to':_0x4e2e0d+_0xab7059['toA'],'insert':_0x3de5aa['of'](_0x5e1027['text']['slice'](_0xab7059['from'],_0xab7059['toB'])['split'](_0x2122e6))});}else _0x524d9e&&(!_0x409c3d['hasFocus']&&_0x2fed50['facet'](_0x390720)||_0xad07d8(_0x524d9e,_0x48f573))&&(_0x524d9e=null);if(!_0x9a5985&&!_0x524d9e)return!0x1;if((_0x13bfcb['mac']||_0x13bfcb['android'])&&_0x9a5985&&_0x9a5985['from']==_0x9a5985['to']&&_0x9a5985['from']==_0x48f573['head']-0x1&&/^\. ?$/['test'](_0x9a5985['insert']['toString']())&&'off'==_0x409c3d['contentDOM']['getAttribute']('autocorrect')?(_0x524d9e&&0x2==_0x9a5985['insert']['length']&&(_0x524d9e=_0x152831['single'](_0x524d9e['main']['anchor']-0x1,_0x524d9e['main']['head']-0x1)),_0x9a5985={'from':_0x9a5985['from'],'to':_0x9a5985['to'],'insert':_0x3de5aa['of']([_0x9a5985['insert']['toString']()['replace']('.','\x20')])}):_0x2fed50['doc']['lineAt'](_0x48f573['from'])['to']<_0x48f573['to']&&_0x409c3d['docView']['lineHasWidget'](_0x48f573['to'])&&_0x409c3d['inputState']['insertingTextAt']>Date['now']()-0x32?_0x9a5985={'from':_0x48f573['from'],'to':_0x48f573['to'],'insert':_0x2fed50['toText'](_0x409c3d['inputState']['insertingText'])}:_0x13bfcb['chrome']&&_0x9a5985&&_0x9a5985['from']==_0x9a5985['to']&&_0x9a5985['from']==_0x48f573['head']&&'\x0a\x20'==_0x9a5985['insert']['toString']()&&_0x409c3d['lineWrapping']&&(_0x524d9e&&(_0x524d9e=_0x152831['single'](_0x524d9e['main']['anchor']-0x1,_0x524d9e['main']['head']-0x1)),_0x9a5985={'from':_0x48f573['from'],'to':_0x48f573['to'],'insert':_0x3de5aa['of'](['\x20'])}),_0x9a5985)return _0x1a1f62(_0x409c3d,_0x9a5985,_0x524d9e,_0x6d373a);if(_0x524d9e&&!_0xad07d8(_0x524d9e,_0x48f573)){let _0x574e4b=!0x1,_0x51df32='select';return _0x409c3d['inputState']['lastSelectionTime']>Date['now']()-0x32&&('select'==_0x409c3d['inputState']['lastSelectionOrigin']&&(_0x574e4b=!0x0),_0x51df32=_0x409c3d['inputState']['lastSelectionOrigin'],'select.pointer'==_0x51df32&&(_0x524d9e=_0x4ff35c(_0x2fed50['facet'](_0x3df8b7)['map'](_0x50edb4=>_0x50edb4(_0x409c3d)),_0x524d9e))),_0x409c3d['dispatch']({'selection':_0x524d9e,'scrollIntoView':_0x574e4b,'userEvent':_0x51df32}),!0x0;}return!0x1;}function _0x1a1f62(_0x1e7686,_0x2b5db3,_0x1fbded,_0x5d8053=-0x1){if(_0x13bfcb['ios']&&_0x1e7686['inputState']['flushIOSKey'](_0x2b5db3))return!0x0;let _0x2cfa8e=_0x1e7686['state']['selection']['main'];if(_0x13bfcb['android']&&(_0x2b5db3['to']==_0x2cfa8e['to']&&(_0x2b5db3['from']==_0x2cfa8e['from']||_0x2b5db3['from']==_0x2cfa8e['from']-0x1&&'\x20'==_0x1e7686['state']['sliceDoc'](_0x2b5db3['from'],_0x2cfa8e['from']))&&0x1==_0x2b5db3['insert']['length']&&0x2==_0x2b5db3['insert']['lines']&&_0x12130e(_0x1e7686['contentDOM'],'Enter',0xd)||(_0x2b5db3['from']==_0x2cfa8e['from']-0x1&&_0x2b5db3['to']==_0x2cfa8e['to']&&0x0==_0x2b5db3['insert']['length']||0x8==_0x5d8053&&_0x2b5db3['insert']['length']<_0x2b5db3['to']-_0x2b5db3['from']&&_0x2b5db3['to']>_0x2cfa8e['head'])&&_0x12130e(_0x1e7686['contentDOM'],'Backspace',0x8)||_0x2b5db3['from']==_0x2cfa8e['from']&&_0x2b5db3['to']==_0x2cfa8e['to']+0x1&&0x0==_0x2b5db3['insert']['length']&&_0x12130e(_0x1e7686['contentDOM'],'Delete',0x2e)))return!0x0;let _0x95d206,_0x32b03a=_0x2b5db3['insert']['toString']();_0x1e7686['inputState']['composing']>=0x0&&_0x1e7686['inputState']['composing']++;let _0x12ef97=()=>_0x95d206||(_0x95d206=function(_0x5379d5,_0x1560b2,_0x1e6487){let _0x2147db,_0x1aa748=_0x5379d5['state'],_0x20c0e7=_0x1aa748['selection']['main'],_0x3fee77=-0x1;if(_0x1560b2['from']==_0x1560b2['to']&&_0x1560b2['from']<_0x20c0e7['from']||_0x1560b2['from']>_0x20c0e7['to']){let _0x44050a=_0x1560b2['from']<_0x20c0e7['from']?-0x1:0x1,_0xc6313c=_0x44050a<0x0?_0x20c0e7['from']:_0x20c0e7['to'],_0x4cb672=_0x3c1569(_0x1aa748['facet'](_0x3df8b7)['map'](_0x15bc82=>_0x15bc82(_0x5379d5)),_0xc6313c,_0x44050a);_0x1560b2['from']==_0x4cb672&&(_0x3fee77=_0x4cb672);}if(_0x3fee77>-0x1)_0x2147db={'changes':_0x1560b2,'selection':_0x152831['cursor'](_0x1560b2['from']+_0x1560b2['insert']['length'],-0x1)};else{if(_0x1560b2['from']>=_0x20c0e7['from']&&_0x1560b2['to']<=_0x20c0e7['to']&&_0x1560b2['to']-_0x1560b2['from']>=(_0x20c0e7['to']-_0x20c0e7['from'])/0x3&&(!_0x1e6487||_0x1e6487['main']['empty']&&_0x1e6487['main']['from']==_0x1560b2['from']+_0x1560b2['insert']['length'])&&_0x5379d5['inputState']['composing']<0x0){let _0x12db4d=_0x20c0e7['from']<_0x1560b2['from']?_0x1aa748['sliceDoc'](_0x20c0e7['from'],_0x1560b2['from']):'',_0x4fde62=_0x20c0e7['to']>_0x1560b2['to']?_0x1aa748['sliceDoc'](_0x1560b2['to'],_0x20c0e7['to']):'';_0x2147db=_0x1aa748['replaceSelection'](_0x5379d5['state']['toText'](_0x12db4d+_0x1560b2['insert']['sliceString'](0x0,void 0x0,_0x5379d5['state']['lineBreak'])+_0x4fde62));}else{let _0x368819=_0x1aa748['changes'](_0x1560b2),_0x2aa0b3=_0x1e6487&&_0x1e6487['main']['to']<=_0x368819['newLength']?_0x1e6487['main']:void 0x0;if(_0x1aa748['selection']['ranges']['length']>0x1&&(_0x5379d5['inputState']['composing']>=0x0||_0x5379d5['inputState']['compositionPendingChange'])&&_0x1560b2['to']<=_0x20c0e7['to']+0xa&&_0x1560b2['to']>=_0x20c0e7['to']-0xa){let _0x5a3c60,_0xea93c0=_0x5379d5['state']['sliceDoc'](_0x1560b2['from'],_0x1560b2['to']),_0x1018e2=_0x1e6487&&_0xcdb7df(_0x5379d5,_0x1e6487['main']['head']);if(_0x1018e2){let _0x52632b=_0x1560b2['insert']['length']-(_0x1560b2['to']-_0x1560b2['from']);_0x5a3c60={'from':_0x1018e2['from'],'to':_0x1018e2['to']-_0x52632b};}else _0x5a3c60=_0x5379d5['state']['doc']['lineAt'](_0x20c0e7['head']);let _0x3aa30f=_0x20c0e7['to']-_0x1560b2['to'];_0x2147db=_0x1aa748['changeByRange'](_0x10b135=>{if(_0x10b135['from']==_0x20c0e7['from']&&_0x10b135['to']==_0x20c0e7['to'])return{'changes':_0x368819,'range':_0x2aa0b3||_0x10b135['map'](_0x368819)};let _0x298e02=_0x10b135['to']-_0x3aa30f,_0x50f980=_0x298e02-_0xea93c0['length'];if(_0x5379d5['state']['sliceDoc'](_0x50f980,_0x298e02)!=_0xea93c0||_0x298e02>=_0x5a3c60['from']&&_0x50f980<=_0x5a3c60['to'])return{'range':_0x10b135};let _0x11da33=_0x1aa748['changes']({'from':_0x50f980,'to':_0x298e02,'insert':_0x1560b2['insert']}),_0x19d7d8=_0x10b135['to']-_0x20c0e7['to'];return{'changes':_0x11da33,'range':_0x2aa0b3?_0x152831['range'](Math['max'](0x0,_0x2aa0b3['anchor']+_0x19d7d8),Math['max'](0x0,_0x2aa0b3['head']+_0x19d7d8)):_0x10b135['map'](_0x11da33)};});}else _0x2147db={'changes':_0x368819,'selection':_0x2aa0b3&&_0x1aa748['selection']['replaceRange'](_0x2aa0b3)};}}let _0x44e151='input.type';return(_0x5379d5['composing']||_0x5379d5['inputState']['compositionPendingChange']&&_0x5379d5['inputState']['compositionEndedAt']>Date['now']()-0x32)&&(_0x5379d5['inputState']['compositionPendingChange']=!0x1,_0x44e151+='.compose',_0x5379d5['inputState']['compositionFirstChange']&&(_0x44e151+='.start',_0x5379d5['inputState']['compositionFirstChange']=!0x1)),_0x1aa748['update'](_0x2147db,{'userEvent':_0x44e151,'scrollIntoView':!0x0});}(_0x1e7686,_0x2b5db3,_0x1fbded));return _0x1e7686['state']['facet'](_0x36c30f)['some'](_0x26cabb=>_0x26cabb(_0x1e7686,_0x2b5db3['from'],_0x2b5db3['to'],_0x32b03a,_0x12ef97))||_0x1e7686['dispatch'](_0x12ef97()),!0x0;}function _0x234c0b(_0xd0a2bf,_0x5d0957,_0x3cb04a,_0x57752b){let _0xcd381c=Math['min'](_0xd0a2bf['length'],_0x5d0957['length']),_0xf1d98b=0x0;for(;_0xf1d98b<_0xcd381c&&_0xd0a2bf['charCodeAt'](_0xf1d98b)==_0x5d0957['charCodeAt'](_0xf1d98b);)_0xf1d98b++;if(_0xf1d98b==_0xcd381c&&_0xd0a2bf['length']==_0x5d0957['length'])return null;let _0xcbbf80=_0xd0a2bf['length'],_0x102aef=_0x5d0957['length'];for(;_0xcbbf80>0x0&&_0x102aef>0x0&&_0xd0a2bf['charCodeAt'](_0xcbbf80-0x1)==_0x5d0957['charCodeAt'](_0x102aef-0x1);)_0xcbbf80--,_0x102aef--;'end'==_0x57752b&&(_0x3cb04a-=_0xcbbf80+Math['max'](0x0,_0xf1d98b-Math['min'](_0xcbbf80,_0x102aef))-_0xf1d98b);if(_0xcbbf80<_0xf1d98b&&_0xd0a2bf['length']<_0x5d0957['length'])_0xf1d98b-=_0x3cb04a<=_0xf1d98b&&_0x3cb04a>=_0xcbbf80?_0xf1d98b-_0x3cb04a:0x0,_0x102aef=_0xf1d98b+(_0x102aef-_0xcbbf80),_0xcbbf80=_0xf1d98b;else _0x102aef<_0xf1d98b&&(_0xf1d98b-=_0x3cb04a<=_0xf1d98b&&_0x3cb04a>=_0x102aef?_0xf1d98b-_0x3cb04a:0x0,_0xcbbf80=_0xf1d98b+(_0xcbbf80-_0x102aef),_0x102aef=_0xf1d98b);return{'from':_0xf1d98b,'toA':_0xcbbf80,'toB':_0x102aef};}function _0xad07d8(_0x1241ff,_0xbaa3c){return _0xbaa3c['head']==_0x1241ff['main']['head']&&_0xbaa3c['anchor']==_0x1241ff['main']['anchor'];}var _0x357012=class{['setSelectionOrigin'](_0x16095c){this['lastSelectionOrigin']=_0x16095c,this['lastSelectionTime']=Date['now']();}constructor(_0x4cbdea){this['view']=_0x4cbdea,this['lastKeyCode']=0x0,this['lastKeyTime']=0x0,this['lastTouchTime']=0x0,this['lastTouchX']=0x0,this['lastTouchY']=0x0,this['lastFocusTime']=0x0,this['lastScrollTop']=0x0,this['lastScrollLeft']=0x0,this['lastWheelEvent']=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['insertingText']='',this['insertingTextAt']=0x0,this['mouseSelection']=null,this['draggedContent']=null,this['handleEvent']=this['handleEvent']['bind'](this),this['notifiedFocused']=_0x4cbdea['hasFocus'],_0x13bfcb['safari']&&_0x4cbdea['contentDOM']['addEventListener']('input',()=>null),_0x13bfcb['gecko']&&function(_0x244185){_0x277291['has'](_0x244185)||(_0x277291['add'](_0x244185),_0x244185['addEventListener']('copy',()=>{}),_0x244185['addEventListener']('cut',()=>{}));}(_0x4cbdea['contentDOM']['ownerDocument']);}['handleEvent'](_0x29bbc3){(function(_0x3503e9,_0x259ae5){if(!_0x259ae5['bubbles'])return!0x0;if(_0x259ae5['defaultPrevented'])return!0x1;for(let _0x1058a7,_0x245120=_0x259ae5['target'];_0x245120!=_0x3503e9['contentDOM'];_0x245120=_0x245120['parentNode'])if(!_0x245120||0xb==_0x245120['nodeType']||(_0x1058a7=_0xbeef60['get'](_0x245120))&&_0x1058a7['isWidget']()&&!_0x1058a7['isHidden']&&_0x1058a7['widget']['ignoreEvent'](_0x259ae5))return!0x1;return!0x0;}(this['view'],_0x29bbc3)&&!this['ignoreDuringComposition'](_0x29bbc3)&&('keydown'==_0x29bbc3['type']&&this['keydown'](_0x29bbc3)||(0x0!=this['view']['updateState']?Promise['resolve']()['then'](()=>this['runHandlers'](_0x29bbc3['type'],_0x29bbc3)):this['runHandlers'](_0x29bbc3['type'],_0x29bbc3))));}['runHandlers'](_0x6e86a3,_0x398d55){let _0x596214=this['handlers'][_0x6e86a3];if(_0x596214){for(let _0x282458 of _0x596214['observers'])_0x282458(this['view'],_0x398d55);for(let _0x2148d0 of _0x596214['handlers']){if(_0x398d55['defaultPrevented'])break;if(_0x2148d0(this['view'],_0x398d55)){_0x398d55['preventDefault']();break;}}}}['ensureHandlers'](_0x1c4b4a){let _0x338a26=_0x5079e4(_0x1c4b4a),_0x243fc6=this['handlers'],_0x484972=this['view']['contentDOM'];for(let _0x20af9e in _0x338a26)if('scroll'!=_0x20af9e){let _0x5d3bf1=!_0x338a26[_0x20af9e]['handlers']['length'],_0x32f2a8=_0x243fc6[_0x20af9e];_0x32f2a8&&_0x5d3bf1!=!_0x32f2a8['handlers']['length']&&(_0x484972['removeEventListener'](_0x20af9e,this['handleEvent']),_0x32f2a8=null),_0x32f2a8||_0x484972['addEventListener'](_0x20af9e,this['handleEvent'],{'passive':_0x5d3bf1});}for(let _0x126f1b in _0x243fc6)'scroll'==_0x126f1b||_0x338a26[_0x126f1b]||_0x484972['removeEventListener'](_0x126f1b,this['handleEvent']);this['handlers']=_0x338a26;}['keydown'](_0x3837e2){if(this['lastKeyCode']=_0x3837e2['keyCode'],this['lastKeyTime']=Date['now'](),0x9==_0x3837e2['keyCode']&&this['tabFocusMode']>-0x1&&(!this['tabFocusMode']||Date['now']()<=this['tabFocusMode']))return!0x0;if(this['tabFocusMode']>0x0&&0x1b!=_0x3837e2['keyCode']&&_0x50e2ea['indexOf'](_0x3837e2['keyCode'])<0x0&&(this['tabFocusMode']=-0x1),_0x13bfcb['android']&&_0x13bfcb['chrome']&&!_0x3837e2['synthetic']&&(0xd==_0x3837e2['keyCode']||0x8==_0x3837e2['keyCode']))return this['view']['observer']['delayAndroidKey'](_0x3837e2['key'],_0x3837e2['keyCode']),!0x0;let _0x1cab03;return!_0x13bfcb['ios']||_0x3837e2['synthetic']||_0x3837e2['altKey']||_0x3837e2['metaKey']||_0x3837e2['shiftKey']||!((_0x1cab03=_0x5b6628['find'](_0x26df01=>_0x26df01['keyCode']==_0x3837e2['keyCode']))&&!_0x3837e2['ctrlKey']||_0x32bea0['indexOf'](_0x3837e2['key'])>-0x1&&_0x3837e2['ctrlKey'])?(0xe5!=_0x3837e2['keyCode']&&this['view']['observer']['forceFlush'](),!0x1):(this['pendingIOSKey']=_0x1cab03||_0x3837e2,setTimeout(()=>this['flushIOSKey'](),0xfa),!0x0);}['flushIOSKey'](_0x355903){let _0x5ae0aa=this['pendingIOSKey'];return!!_0x5ae0aa&&(!('Enter'==_0x5ae0aa['key']&&_0x355903&&_0x355903['from']<_0x355903['to']&&/^\S+$/['test'](_0x355903['insert']['toString']()))&&(this['pendingIOSKey']=void 0x0,_0x12130e(this['view']['contentDOM'],_0x5ae0aa['key'],_0x5ae0aa['keyCode'],_0x5ae0aa instanceof KeyboardEvent?_0x5ae0aa:void 0x0)));}['ignoreDuringComposition'](_0x3ebb84){return!(!/^key/['test'](_0x3ebb84['type'])||_0x3ebb84['synthetic'])&&(this['composing']>0x0||!!(_0x13bfcb['safari']&&!_0x13bfcb['ios']&&this['compositionPendingKey']&&Date['now']()-this['compositionEndedAt']<0x64)&&(this['compositionPendingKey']=!0x1,!0x0));}['startMouseSelection'](_0x4e86a2){this['mouseSelection']&&this['mouseSelection']['destroy'](),this['mouseSelection']=_0x4e86a2;}['update'](_0x492ae1){this['view']['observer']['update'](_0x492ae1),this['mouseSelection']&&this['mouseSelection']['update'](_0x492ae1),this['draggedContent']&&_0x492ae1['docChanged']&&(this['draggedContent']=this['draggedContent']['map'](_0x492ae1['changes'])),_0x492ae1['transactions']['length']&&(this['lastKeyCode']=this['lastSelectionTime']=0x0);}['destroy'](){this['mouseSelection']&&this['mouseSelection']['destroy']();}};function _0x29be65(_0x36a3d6,_0xdb0b22){return(_0x8e8d7f,_0x155c39)=>{try{return _0xdb0b22['call'](_0x36a3d6,_0x155c39,_0x8e8d7f);}catch(_0x210f58){_0x1947e5(_0x8e8d7f['state'],_0x210f58);}};}function _0x5079e4(_0x501b48){let _0x16aa18=Object['create'](null);function _0x41ced5(_0x58f5a1){return _0x16aa18[_0x58f5a1]||(_0x16aa18[_0x58f5a1]={'observers':[],'handlers':[]});}for(let _0x18cbc7 of _0x501b48){let _0x2613f1=_0x18cbc7['spec'],_0x405878=_0x2613f1&&_0x2613f1['plugin']['domEventHandlers'],_0x36caaf=_0x2613f1&&_0x2613f1['plugin']['domEventObservers'];if(_0x405878)for(let _0xc58d33 in _0x405878){let _0x4c96f1=_0x405878[_0xc58d33];_0x4c96f1&&_0x41ced5(_0xc58d33)['handlers']['push'](_0x29be65(_0x18cbc7['value'],_0x4c96f1));}if(_0x36caaf)for(let _0x54173b in _0x36caaf){let _0x18a866=_0x36caaf[_0x54173b];_0x18a866&&_0x41ced5(_0x54173b)['observers']['push'](_0x29be65(_0x18cbc7['value'],_0x18a866));}}for(let _0x227495 in _0x582438)_0x41ced5(_0x227495)['handlers']['push'](_0x582438[_0x227495]);for(let _0x3b51a0 in _0x5115f9)_0x41ced5(_0x3b51a0)['observers']['push'](_0x5115f9[_0x3b51a0]);return _0x16aa18;}const _0x5b6628=[{'key':'Backspace','keyCode':0x8,'inputType':'deleteContentBackward'},{'key':'Enter','keyCode':0xd,'inputType':'insertParagraph'},{'key':'Enter','keyCode':0xd,'inputType':'insertLineBreak'},{'key':'Delete','keyCode':0x2e,'inputType':'deleteContentForward'}],_0x32bea0='dthko',_0x50e2ea=[0x10,0x11,0x12,0x14,0x5b,0x5c,0xe0,0xe1];function _0x289635(_0x5587c6){return 0.7*Math['max'](0x0,_0x5587c6)+0x8;}var _0x1a5193=class{constructor(_0x345356,_0x56e533,_0x1873e4,_0x456032){this['view']=_0x345356,this['startEvent']=_0x56e533,this['style']=_0x1873e4,this['mustSelect']=_0x456032,this['scrollSpeed']={'x':0x0,'y':0x0},this['scrolling']=-0x1,this['lastEvent']=_0x56e533,this['scrollParents']=_0x15fcb2(_0x345356['contentDOM']),this['atoms']=_0x345356['state']['facet'](_0x3df8b7)['map'](_0x566da4=>_0x566da4(_0x345356));let _0x28d15c=_0x345356['contentDOM']['ownerDocument'];_0x28d15c['addEventListener']('mousemove',this['move']=this['move']['bind'](this)),_0x28d15c['addEventListener']('mouseup',this['up']=this['up']['bind'](this)),this['extend']=_0x56e533['shiftKey'],this['multiple']=_0x345356['state']['facet'](_0x2a2565['allowMultipleSelections'])&&function(_0x2fdc79,_0x42b645){let _0x1f5b1c=_0x2fdc79['state']['facet'](_0x11c9d2);return _0x1f5b1c['length']?_0x1f5b1c[0x0](_0x42b645):_0x13bfcb['mac']?_0x42b645['metaKey']:_0x42b645['ctrlKey'];}(_0x345356,_0x56e533),this['dragging']=!(!function(_0x5cb252,_0x583067){let {main:_0xf7f9fd}=_0x5cb252['state']['selection'];if(_0xf7f9fd['empty'])return!0x1;let _0x9e5e5b=_0x35c92b(_0x5cb252['root']);if(!_0x9e5e5b||0x0==_0x9e5e5b['rangeCount'])return!0x0;let _0x6250a7=_0x9e5e5b['getRangeAt'](0x0)['getClientRects']();for(let _0x323296=0x0;_0x323296<_0x6250a7['length'];_0x323296++){let _0x106cd9=_0x6250a7[_0x323296];if(_0x106cd9['left']<=_0x583067['clientX']&&_0x106cd9['right']>=_0x583067['clientX']&&_0x106cd9['top']<=_0x583067['clientY']&&_0x106cd9['bottom']>=_0x583067['clientY'])return!0x0;}return!0x1;}(_0x345356,_0x56e533)||0x1!=tN(_0x56e533))&&null;}['start'](_0x39ff83){!0x1===this['dragging']&&this['select'](_0x39ff83);}['move'](_0x12520b){if(0x0==_0x12520b['buttons'])return this['destroy']();if(this['dragging']||null==this['dragging']&&(_0x2502dd=this['startEvent'],_0x2e0509=_0x12520b,Math['max'](Math['abs'](_0x2502dd['clientX']-_0x2e0509['clientX']),Math['abs'](_0x2502dd['clientY']-_0x2e0509['clientY']))<0xa))return;var _0x2502dd,_0x2e0509;this['select'](this['lastEvent']=_0x12520b);let _0x4a4907=0x0,_0x525d6f=0x0,_0x420479=0x0,_0x468407=0x0,_0x5995c8=this['view']['win']['innerWidth'],_0x3e2c7a=this['view']['win']['innerHeight'];this['scrollParents']['x']&&({left:_0x420479,right:_0x5995c8}=this['scrollParents']['x']['getBoundingClientRect']()),this['scrollParents']['y']&&({top:_0x468407,bottom:_0x3e2c7a}=this['scrollParents']['y']['getBoundingClientRect']());let _0x29409e=_0x15273d(this['view']);_0x12520b['clientX']-_0x29409e['left']<=_0x420479+0x6?_0x4a4907=-_0x289635(_0x420479-_0x12520b['clientX']):_0x12520b['clientX']+_0x29409e['right']>=_0x5995c8-0x6&&(_0x4a4907=_0x289635(_0x12520b['clientX']-_0x5995c8)),_0x12520b['clientY']-_0x29409e['top']<=_0x468407+0x6?_0x525d6f=-_0x289635(_0x468407-_0x12520b['clientY']):_0x12520b['clientY']+_0x29409e['bottom']>=_0x3e2c7a-0x6&&(_0x525d6f=_0x289635(_0x12520b['clientY']-_0x3e2c7a)),this['setScrollSpeed'](_0x4a4907,_0x525d6f);}['up'](_0x37471d){null==this['dragging']&&this['select'](this['lastEvent']),this['dragging']||_0x37471d['preventDefault'](),this['destroy']();}['destroy'](){this['setScrollSpeed'](0x0,0x0);let _0x564d8b=this['view']['contentDOM']['ownerDocument'];_0x564d8b['removeEventListener']('mousemove',this['move']),_0x564d8b['removeEventListener']('mouseup',this['up']),this['view']['inputState']['mouseSelection']=this['view']['inputState']['draggedContent']=null;}['setScrollSpeed'](_0x51d995,_0x455c46){this['scrollSpeed']={'x':_0x51d995,'y':_0x455c46},_0x51d995||_0x455c46?this['scrolling']<0x0&&(this['scrolling']=setInterval(()=>this['scroll'](),0x32)):this['scrolling']>-0x1&&(clearInterval(this['scrolling']),this['scrolling']=-0x1);}['scroll'](){let {x:_0x293a86,y:_0x523173}=this['scrollSpeed'];_0x293a86&&this['scrollParents']['x']&&(this['scrollParents']['x']['scrollLeft']+=_0x293a86,_0x293a86=0x0),_0x523173&&this['scrollParents']['y']&&(this['scrollParents']['y']['scrollTop']+=_0x523173,_0x523173=0x0),(_0x293a86||_0x523173)&&this['view']['win']['scrollBy'](_0x293a86,_0x523173),!0x1===this['dragging']&&this['select'](this['lastEvent']);}['select'](_0x377862){let {view:_0x3888e1}=this,_0x5b2c07=_0x4ff35c(this['atoms'],this['style']['get'](_0x377862,this['extend'],this['multiple']));!this['mustSelect']&&_0x5b2c07['eq'](_0x3888e1['state']['selection'],!0x1===this['dragging'])||this['view']['dispatch']({'selection':_0x5b2c07,'userEvent':'select.pointer'}),this['mustSelect']=!0x1;}['update'](_0x208eb9){_0x208eb9['transactions']['some'](_0x3bc2f0=>_0x3bc2f0['isUserEvent']('input.type'))?this['destroy']():this['style']['update'](_0x208eb9)&&setTimeout(()=>this['select'](this['lastEvent']),0x14);}};const _0x582438=Object['create'](null),_0x5115f9=Object['create'](null),_0x50e6d5=_0x13bfcb['ie']&&_0x13bfcb['ie_version']<0xf||_0x13bfcb['ios']&&_0x13bfcb['webkit_version']<0x25c;function _0x44d2f4(_0x25d6d8,_0x12ffd6,_0x580a73){for(let _0x245162 of _0x25d6d8['facet'](_0x12ffd6))_0x580a73=_0x245162(_0x580a73,_0x25d6d8);return _0x580a73;}function _0x44888b(_0x19d346,_0x308150){_0x308150=_0x44d2f4(_0x19d346['state'],_0x4fb379,_0x308150);let _0x597cc8,{state:_0x2b165a}=_0x19d346,_0x2ed125=0x1,_0xfad5de=_0x2b165a['toText'](_0x308150),_0x2b75a4=_0xfad5de['lines']==_0x2b165a['selection']['ranges']['length'];if(null!=_0x2700a3&&_0x2b165a['selection']['ranges']['every'](_0x558fae=>_0x558fae['empty'])&&_0x2700a3==_0xfad5de['toString']()){let _0x514780=-0x1;_0x597cc8=_0x2b165a['changeByRange'](_0x4f9bcb=>{let _0x2b8666=_0x2b165a['doc']['lineAt'](_0x4f9bcb['from']);if(_0x2b8666['from']==_0x514780)return{'range':_0x4f9bcb};_0x514780=_0x2b8666['from'];let _0x3aa6e4=_0x2b165a['toText']((_0x2b75a4?_0xfad5de['line'](_0x2ed125++)['text']:_0x308150)+_0x2b165a['lineBreak']);return{'changes':{'from':_0x2b8666['from'],'insert':_0x3aa6e4},'range':_0x152831['cursor'](_0x4f9bcb['from']+_0x3aa6e4['length'])};});}else _0x597cc8=_0x2b75a4?_0x2b165a['changeByRange'](_0x40c16a=>{let _0x27ab49=_0xfad5de['line'](_0x2ed125++);return{'changes':{'from':_0x40c16a['from'],'to':_0x40c16a['to'],'insert':_0x27ab49['text']},'range':_0x152831['cursor'](_0x40c16a['from']+_0x27ab49['length'])};}):_0x2b165a['replaceSelection'](_0xfad5de);_0x19d346['dispatch'](_0x597cc8,{'userEvent':'input.paste','scrollIntoView':!0x0});}function _0x5ef177(_0x23fc79,_0x35bbb2,_0x443c2c,_0xe30dfd){if(0x1==_0xe30dfd)return _0x152831['cursor'](_0x35bbb2,_0x443c2c);if(0x2==_0xe30dfd)return function(_0x247b9b,_0x2cac62,_0x5d224d=0x1){let _0x71b0d8=_0x247b9b['charCategorizer'](_0x2cac62),_0x4c9107=_0x247b9b['doc']['lineAt'](_0x2cac62),_0x38ee13=_0x2cac62-_0x4c9107['from'];if(0x0==_0x4c9107['length'])return _0x152831['cursor'](_0x2cac62);0x0==_0x38ee13?_0x5d224d=0x1:_0x38ee13==_0x4c9107['length']&&(_0x5d224d=-0x1);let _0x352949=_0x38ee13,_0x4cfb6f=_0x38ee13;_0x5d224d<0x0?_0x352949=_0x4b59d4(_0x4c9107['text'],_0x38ee13,!0x1):_0x4cfb6f=_0x4b59d4(_0x4c9107['text'],_0x38ee13);let _0x4119c7=_0x71b0d8(_0x4c9107['text']['slice'](_0x352949,_0x4cfb6f));for(;_0x352949>0x0;){let _0x423df0=_0x4b59d4(_0x4c9107['text'],_0x352949,!0x1);if(_0x71b0d8(_0x4c9107['text']['slice'](_0x423df0,_0x352949))!=_0x4119c7)break;_0x352949=_0x423df0;}for(;_0x4cfb6f<_0x4c9107['length'];){let _0x35500b=_0x4b59d4(_0x4c9107['text'],_0x4cfb6f);if(_0x71b0d8(_0x4c9107['text']['slice'](_0x4cfb6f,_0x35500b))!=_0x4119c7)break;_0x4cfb6f=_0x35500b;}return _0x152831['range'](_0x352949+_0x4c9107['from'],_0x4cfb6f+_0x4c9107['from']);}(_0x23fc79['state'],_0x35bbb2,_0x443c2c);{let _0x2efbb7=_0x23fc79['docView']['lineAt'](_0x35bbb2,_0x443c2c),_0x3ec152=_0x23fc79['state']['doc']['lineAt'](_0x2efbb7?_0x2efbb7['posAtEnd']:_0x35bbb2),_0x311c7e=_0x2efbb7?_0x2efbb7['posAtStart']:_0x3ec152['from'],_0x1a4be0=_0x2efbb7?_0x2efbb7['posAtEnd']:_0x3ec152['to'];return _0x1a4be0<_0x23fc79['state']['doc']['length']&&_0x1a4be0==_0x3ec152['to']&&_0x1a4be0++,_0x152831['range'](_0x311c7e,_0x1a4be0);}}_0x5115f9['scroll']=_0x391c45=>{_0x391c45['inputState']['lastScrollTop']=_0x391c45['scrollDOM']['scrollTop'],_0x391c45['inputState']['lastScrollLeft']=_0x391c45['scrollDOM']['scrollLeft'];},_0x5115f9['wheel']=_0x5115f9['mousewheel']=_0x1c2ffa=>{_0x1c2ffa['inputState']['lastWheelEvent']=Date['now']();},_0x582438['keydown']=(_0x37bd65,_0x442548)=>(_0x37bd65['inputState']['setSelectionOrigin']('select'),0x1b==_0x442548['keyCode']&&0x0!=_0x37bd65['inputState']['tabFocusMode']&&(_0x37bd65['inputState']['tabFocusMode']=Date['now']()+0x7d0),!0x1),_0x5115f9['touchstart']=(_0x2bc2c8,_0x412023)=>{let _0x429b21=_0x2bc2c8['inputState'],_0x187185=_0x412023['targetTouches'][0x0];_0x429b21['lastTouchTime']=Date['now'](),_0x187185&&(_0x429b21['lastTouchX']=_0x187185['clientX'],_0x429b21['lastTouchY']=_0x187185['clientY']),_0x429b21['setSelectionOrigin']('select.pointer');},_0x5115f9['touchmove']=_0x2637c8=>{_0x2637c8['inputState']['setSelectionOrigin']('select.pointer');},_0x582438['mousedown']=(_0x21710d,_0x15898a)=>{if(_0x21710d['observer']['flush'](),_0x21710d['inputState']['lastTouchTime']>Date['now']()-0x7d0)return!0x1;let _0x32d5f5=null;for(let _0x36b2ec of _0x21710d['state']['facet'](_0x351434))if(_0x32d5f5=_0x36b2ec(_0x21710d,_0x15898a),_0x32d5f5)break;if(_0x32d5f5||0x0!=_0x15898a['button']||(_0x32d5f5=function(_0x5c15c2,_0x5b8dc5){let _0x4843c6=_0x5c15c2['posAndSideAtCoords']({'x':_0x5b8dc5['clientX'],'y':_0x5b8dc5['clientY']},!0x1),_0x2b1d10=tN(_0x5b8dc5),_0x55a898=_0x5c15c2['state']['selection'];return{'update'(_0x4734a3){_0x4734a3['docChanged']&&(_0x4843c6['pos']=_0x4734a3['changes']['mapPos'](_0x4843c6['pos']),_0x55a898=_0x55a898['map'](_0x4734a3['changes']));},'get'(_0x5c9f1f,_0x4a0b99,_0x3441e9){let _0x147bb7,_0x5c3a3d=_0x5c15c2['posAndSideAtCoords']({'x':_0x5c9f1f['clientX'],'y':_0x5c9f1f['clientY']},!0x1),_0x3ec134=_0x5ef177(_0x5c15c2,_0x5c3a3d['pos'],_0x5c3a3d['assoc'],_0x2b1d10);if(_0x4843c6['pos']!=_0x5c3a3d['pos']&&!_0x4a0b99){let _0x3ae12b=_0x5ef177(_0x5c15c2,_0x4843c6['pos'],_0x4843c6['assoc'],_0x2b1d10),_0xb02d0f=Math['min'](_0x3ae12b['from'],_0x3ec134['from']),_0x4324ff=Math['max'](_0x3ae12b['to'],_0x3ec134['to']);_0x3ec134=_0xb02d0f<_0x3ec134['from']?_0x152831['range'](_0xb02d0f,_0x4324ff,_0x3ec134['assoc']):_0x152831['range'](_0x4324ff,_0xb02d0f,_0x3ec134['assoc']);}return _0x4a0b99?_0x55a898['replaceRange'](_0x55a898['main']['extend'](_0x3ec134['from'],_0x3ec134['to'],_0x3ec134['assoc'])):_0x3441e9&&0x1==_0x2b1d10&&_0x55a898['ranges']['length']>0x1&&(_0x147bb7=function(_0x1d7dbd,_0x107307){for(let _0x34088f=0x0;_0x34088f<_0x1d7dbd['ranges']['length'];_0x34088f++){let {from:_0x39d9b4,to:_0x5cedbd}=_0x1d7dbd['ranges'][_0x34088f];if(_0x39d9b4<=_0x107307&&_0x5cedbd>=_0x107307)return _0x152831['create'](_0x1d7dbd['ranges']['slice'](0x0,_0x34088f)['concat'](_0x1d7dbd['ranges']['slice'](_0x34088f+0x1)),_0x1d7dbd['mainIndex']==_0x34088f?0x0:_0x1d7dbd['mainIndex']-(_0x1d7dbd['mainIndex']>_0x34088f?0x1:0x0));}return null;}(_0x55a898,_0x5c3a3d['pos']))?_0x147bb7:_0x3441e9?_0x55a898['addRange'](_0x3ec134):_0x152831['create']([_0x3ec134]);}};}(_0x21710d,_0x15898a)),_0x32d5f5){let _0x3781db=!_0x21710d['hasFocus'];_0x21710d['inputState']['startMouseSelection'](new _0x1a5193(_0x21710d,_0x15898a,_0x32d5f5,_0x3781db)),_0x3781db&&_0x21710d['observer']['ignore'](()=>{_0x2c6c1d(_0x21710d['contentDOM']);let _0x33336c=_0x21710d['root']['activeElement'];_0x33336c&&!_0x33336c['contains'](_0x21710d['contentDOM'])&&_0x33336c['blur']();});let _0x2d59f6=_0x21710d['inputState']['mouseSelection'];if(_0x2d59f6)return _0x2d59f6['start'](_0x15898a),!0x1===_0x2d59f6['dragging'];}else _0x21710d['inputState']['setSelectionOrigin']('select.pointer');return!0x1;};const _0x224783=_0x13bfcb['ie']&&_0x13bfcb['ie_version']<=0xb;let _0x409e9d=null,_0x4b34ae=0x0,_0x356d7f=0x0;function tN(_0x3eb856){if(!_0x224783)return _0x3eb856['detail'];let _0x319071=_0x409e9d,_0x6fbb64=_0x356d7f;return _0x409e9d=_0x3eb856,_0x356d7f=Date['now'](),_0x4b34ae=!_0x319071||_0x6fbb64>Date['now']()-0x190&&Math['abs'](_0x319071['clientX']-_0x3eb856['clientX'])<0x2&&Math['abs'](_0x319071['clientY']-_0x3eb856['clientY'])<0x2?(_0x4b34ae+0x1)%0x3:0x1;}function _0xcca9a8(_0x49a077,_0x1eff76,_0x247053,_0x3686f4){if(!(_0x247053=_0x44d2f4(_0x49a077['state'],_0x4fb379,_0x247053)))return;let _0x26f5e4=_0x49a077['posAtCoords']({'x':_0x1eff76['clientX'],'y':_0x1eff76['clientY']},!0x1),{draggedContent:_0x5b04bd}=_0x49a077['inputState'],_0x1dc134=_0x3686f4&&_0x5b04bd&&function(_0x3a71c2,_0x52d547){let _0x455949=_0x3a71c2['state']['facet'](_0x98db87);return _0x455949['length']?_0x455949[0x0](_0x52d547):_0x13bfcb['mac']?!_0x52d547['altKey']:!_0x52d547['ctrlKey'];}(_0x49a077,_0x1eff76)?{'from':_0x5b04bd['from'],'to':_0x5b04bd['to']}:null,_0x3c033d={'from':_0x26f5e4,'insert':_0x247053},_0x138864=_0x49a077['state']['changes'](_0x1dc134?[_0x1dc134,_0x3c033d]:_0x3c033d);_0x49a077['focus'](),_0x49a077['dispatch']({'changes':_0x138864,'selection':{'anchor':_0x138864['mapPos'](_0x26f5e4,-0x1),'head':_0x138864['mapPos'](_0x26f5e4,0x1)},'userEvent':_0x1dc134?'move.drop':'input.drop'}),_0x49a077['inputState']['draggedContent']=null;}_0x582438['dragstart']=(_0x2f5512,_0x5a7a42)=>{let {selection:{main:_0x3bf481}}=_0x2f5512['state'];if(_0x5a7a42['target']['draggable']){let _0x48889e=_0x2f5512['docView']['tile']['nearest'](_0x5a7a42['target']);if(_0x48889e&&_0x48889e['isWidget']()){let _0x1057c8=_0x48889e['posAtStart'],_0x2d128d=_0x1057c8+_0x48889e['length'];(_0x1057c8>=_0x3bf481['to']||_0x2d128d<=_0x3bf481['from'])&&(_0x3bf481=_0x152831['range'](_0x1057c8,_0x2d128d));}}let {inputState:_0x25a14b}=_0x2f5512;return _0x25a14b['mouseSelection']&&(_0x25a14b['mouseSelection']['dragging']=!0x0),_0x25a14b['draggedContent']=_0x3bf481,_0x5a7a42['dataTransfer']&&(_0x5a7a42['dataTransfer']['setData']('Text',_0x44d2f4(_0x2f5512['state'],_0x3bcafb,_0x2f5512['state']['sliceDoc'](_0x3bf481['from'],_0x3bf481['to']))),_0x5a7a42['dataTransfer']['effectAllowed']='copyMove'),!0x1;},_0x582438['dragend']=_0x419a8a=>(_0x419a8a['inputState']['draggedContent']=null,!0x1),_0x582438['drop']=(_0x449445,_0x442e8f)=>{if(!_0x442e8f['dataTransfer'])return!0x1;if(_0x449445['state']['readOnly'])return!0x0;let _0x2ef3ad=_0x442e8f['dataTransfer']['files'];if(_0x2ef3ad&&_0x2ef3ad['length']){let _0x518f2d=Array(_0x2ef3ad['length']),_0xe5cf0=0x0,_0xf8f8a=()=>{++_0xe5cf0==_0x2ef3ad['length']&&_0xcca9a8(_0x449445,_0x442e8f,_0x518f2d['filter'](_0xe63b59=>null!=_0xe63b59)['join'](_0x449445['state']['lineBreak']),!0x1);};for(let _0x37a850=0x0;_0x37a850<_0x2ef3ad['length'];_0x37a850++){let _0x3bad66=new FileReader();_0x3bad66['onerror']=_0xf8f8a,_0x3bad66['onload']=()=>{/[\x00-\x08\x0e-\x1f]{2}/['test'](_0x3bad66['result'])||(_0x518f2d[_0x37a850]=_0x3bad66['result']),_0xf8f8a();},_0x3bad66['readAsText'](_0x2ef3ad[_0x37a850]);}return!0x0;}{let _0x3f35c2=_0x442e8f['dataTransfer']['getData']('Text');if(_0x3f35c2)return _0xcca9a8(_0x449445,_0x442e8f,_0x3f35c2,!0x0),!0x0;}return!0x1;},_0x582438['paste']=(_0x4a1428,_0x1e866c)=>{if(_0x4a1428['state']['readOnly'])return!0x0;_0x4a1428['observer']['flush']();let _0x2fec3a=_0x50e6d5?null:_0x1e866c['clipboardData'];return _0x2fec3a?(_0x44888b(_0x4a1428,_0x2fec3a['getData']('text/plain')||_0x2fec3a['getData']('text/uri-list')),!0x0):(function(_0x2e2806){let _0xcbb63c=_0x2e2806['dom']['parentNode'];if(!_0xcbb63c)return;let _0x200def=_0xcbb63c['appendChild'](document['createElement']('textarea'));_0x200def['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x200def['focus'](),setTimeout(()=>{_0x2e2806['focus'](),_0x200def['remove'](),_0x44888b(_0x2e2806,_0x200def['value']);},0x32);}(_0x4a1428),!0x1);};let _0x2700a3=null;_0x582438['copy']=_0x582438['cut']=(_0x396a08,_0x31ff43)=>{if(!_0x4f459f(_0x396a08['contentDOM'],_0x396a08['observer']['selectionRange']))return!0x1;let {text:_0x9dbc9,ranges:_0x4139a8,linewise:_0x2e04e3}=function(_0x4c87f3){let _0x441327=[],_0x32487f=[],_0x20387a=!0x1;for(let _0x1b0c2e of _0x4c87f3['selection']['ranges'])_0x1b0c2e['empty']||(_0x441327['push'](_0x4c87f3['sliceDoc'](_0x1b0c2e['from'],_0x1b0c2e['to'])),_0x32487f['push'](_0x1b0c2e));if(!_0x441327['length']){let _0x35c0b4=-0x1;for(let {from:_0x5c5af5}of _0x4c87f3['selection']['ranges']){let _0x3d71f0=_0x4c87f3['doc']['lineAt'](_0x5c5af5);_0x3d71f0['number']>_0x35c0b4&&(_0x441327['push'](_0x3d71f0['text']),_0x32487f['push']({'from':_0x3d71f0['from'],'to':Math['min'](_0x4c87f3['doc']['length'],_0x3d71f0['to']+0x1)})),_0x35c0b4=_0x3d71f0['number'];}_0x20387a=!0x0;}return{'text':_0x44d2f4(_0x4c87f3,_0x3bcafb,_0x441327['join'](_0x4c87f3['lineBreak'])),'ranges':_0x32487f,'linewise':_0x20387a};}(_0x396a08['state']);if(!_0x9dbc9&&!_0x2e04e3)return!0x1;_0x2700a3=_0x2e04e3?_0x9dbc9:null,'cut'!=_0x31ff43['type']||_0x396a08['state']['readOnly']||_0x396a08['dispatch']({'changes':_0x4139a8,'scrollIntoView':!0x0,'userEvent':'delete.cut'});let _0x497795=_0x50e6d5?null:_0x31ff43['clipboardData'];return _0x497795?(_0x497795['clearData'](),_0x497795['setData']('text/plain',_0x9dbc9),!0x0):(function(_0x11eb93,_0x487d3e){let _0x58738f=_0x11eb93['dom']['parentNode'];if(!_0x58738f)return;let _0x32d71f=_0x58738f['appendChild'](document['createElement']('textarea'));_0x32d71f['style']['cssText']='position:\x20fixed;\x20left:\x20-10000px;\x20top:\x2010px',_0x32d71f['value']=_0x487d3e,_0x32d71f['focus'](),_0x32d71f['selectionEnd']=_0x487d3e['length'],_0x32d71f['selectionStart']=0x0,setTimeout(()=>{_0x32d71f['remove'](),_0x11eb93['focus']();},0x32);}(_0x396a08,_0x9dbc9),!0x1);};const _0x45f326=_0x185b62['define']();function _0xb8e54b(_0x4bd394,_0x2087a9){let _0x3a3d0b=[];for(let _0x1105d0 of _0x4bd394['facet'](_0x125eee)){let _0x5a5773=_0x1105d0(_0x4bd394,_0x2087a9);_0x5a5773&&_0x3a3d0b['push'](_0x5a5773);}return _0x3a3d0b['length']?_0x4bd394['update']({'effects':_0x3a3d0b,'annotations':_0x45f326['of'](!0x0)}):null;}function _0x5a3623(_0x180d93){setTimeout(()=>{let _0x4526cf=_0x180d93['hasFocus'];if(_0x4526cf!=_0x180d93['inputState']['notifiedFocused']){let _0x461ca3=_0xb8e54b(_0x180d93['state'],_0x4526cf);_0x461ca3?_0x180d93['dispatch'](_0x461ca3):_0x180d93['update']([]);}},0xa);}_0x5115f9['focus']=_0x17bd59=>{_0x17bd59['inputState']['lastFocusTime']=Date['now'](),_0x17bd59['scrollDOM']['scrollTop']||!_0x17bd59['inputState']['lastScrollTop']&&!_0x17bd59['inputState']['lastScrollLeft']||(_0x17bd59['scrollDOM']['scrollTop']=_0x17bd59['inputState']['lastScrollTop'],_0x17bd59['scrollDOM']['scrollLeft']=_0x17bd59['inputState']['lastScrollLeft']),_0x5a3623(_0x17bd59);},_0x5115f9['blur']=_0x190932=>{_0x190932['observer']['clearSelectionRange'](),_0x5a3623(_0x190932);},_0x5115f9['compositionstart']=_0x5115f9['compositionupdate']=_0x3f9962=>{_0x3f9962['observer']['editContext']||(null==_0x3f9962['inputState']['compositionFirstChange']&&(_0x3f9962['inputState']['compositionFirstChange']=!0x0),_0x3f9962['inputState']['composing']<0x0&&(_0x3f9962['inputState']['composing']=0x0));},_0x5115f9['compositionend']=_0x52696a=>{_0x52696a['observer']['editContext']||(_0x52696a['inputState']['composing']=-0x1,_0x52696a['inputState']['compositionEndedAt']=Date['now'](),_0x52696a['inputState']['compositionPendingKey']=!0x0,_0x52696a['inputState']['compositionPendingChange']=_0x52696a['observer']['pendingRecords']()['length']>0x0,_0x52696a['inputState']['compositionFirstChange']=null,_0x13bfcb['chrome']&&_0x13bfcb['android']?_0x52696a['observer']['flushSoon']():_0x52696a['inputState']['compositionPendingChange']?Promise['resolve']()['then'](()=>_0x52696a['observer']['flush']()):setTimeout(()=>{_0x52696a['inputState']['composing']<0x0&&_0x52696a['docView']['hasComposition']&&_0x52696a['update']([]);},0x32));},_0x5115f9['contextmenu']=_0xd138a9=>{_0xd138a9['inputState']['lastContextMenu']=Date['now']();},_0x582438['beforeinput']=(_0x382a8c,_0x37c687)=>{var _0x5e0c09,_0xdf6fd1;if('insertText'!=_0x37c687['inputType']&&'insertCompositionText'!=_0x37c687['inputType']||(_0x382a8c['inputState']['insertingText']=_0x37c687['data'],_0x382a8c['inputState']['insertingTextAt']=Date['now']()),'insertReplacementText'==_0x37c687['inputType']&&_0x382a8c['observer']['editContext']){let _0x117a14=null===(_0x5e0c09=_0x37c687['dataTransfer'])||void 0x0===_0x5e0c09?void 0x0:_0x5e0c09['getData']('text/plain'),_0x5f1328=_0x37c687['getTargetRanges']();if(_0x117a14&&_0x5f1328['length']){let _0x1225d4=_0x5f1328[0x0];return _0x1a1f62(_0x382a8c,{'from':_0x382a8c['posAtDOM'](_0x1225d4['startContainer'],_0x1225d4['startOffset']),'to':_0x382a8c['posAtDOM'](_0x1225d4['endContainer'],_0x1225d4['endOffset']),'insert':_0x382a8c['state']['toText'](_0x117a14)},null),!0x0;}}let _0x450bee;if(_0x13bfcb['chrome']&&_0x13bfcb['android']&&(_0x450bee=_0x5b6628['find'](_0x553dfc=>_0x553dfc['inputType']==_0x37c687['inputType']))&&(_0x382a8c['observer']['delayAndroidKey'](_0x450bee['key'],_0x450bee['keyCode']),'Backspace'==_0x450bee['key']||'Delete'==_0x450bee['key'])){let _0x42c184=(null===(_0xdf6fd1=window['visualViewport'])||void 0x0===_0xdf6fd1?void 0x0:_0xdf6fd1['height'])||0x0;setTimeout(()=>{var _0x2d5aa4;((null===(_0x2d5aa4=window['visualViewport'])||void 0x0===_0x2d5aa4?void 0x0:_0x2d5aa4['height'])||0x0)>_0x42c184+0xa&&_0x382a8c['hasFocus']&&(_0x382a8c['contentDOM']['blur'](),_0x382a8c['focus']());},0x64);}return _0x13bfcb['ios']&&'deleteContentForward'==_0x37c687['inputType']&&_0x382a8c['observer']['flushSoon'](),_0x13bfcb['safari']&&'insertText'==_0x37c687['inputType']&&_0x382a8c['inputState']['composing']>=0x0&&setTimeout(()=>_0x5115f9['compositionend'](_0x382a8c,_0x37c687),0x14),!0x1;};const _0x277291=new Set(),_0x281df2=['pre-wrap','normal','pre-line','break-spaces'];let _0x246d3c=!0x1;function _0x46e8c8(){_0x246d3c=!0x1;}var _0x51ddae=class{constructor(_0x28f67f){this['lineWrapping']=_0x28f67f,this['doc']=_0x3de5aa['empty'],this['heightSamples']={},this['lineHeight']=0xe,this['charWidth']=0x7,this['textHeight']=0xe,this['lineLength']=0x1e;}['heightForGap'](_0x27b848,_0x3738af){let _0xbf3707=this['doc']['lineAt'](_0x3738af)['number']-this['doc']['lineAt'](_0x27b848)['number']+0x1;return this['lineWrapping']&&(_0xbf3707+=Math['max'](0x0,Math['ceil']((_0x3738af-_0x27b848-_0xbf3707*this['lineLength']*0.5)/this['lineLength']))),this['lineHeight']*_0xbf3707;}['heightForLine'](_0x4c7b95){return this['lineWrapping']?(0x1+Math['max'](0x0,Math['ceil']((_0x4c7b95-this['lineLength'])/Math['max'](0x1,this['lineLength']-0x5))))*this['lineHeight']:this['lineHeight'];}['setDoc'](_0x2caefd){return this['doc']=_0x2caefd,this;}['mustRefreshForWrapping'](_0x289e0d){return _0x281df2['indexOf'](_0x289e0d)>-0x1!=this['lineWrapping'];}['mustRefreshForHeights'](_0x26ff14){let _0x177293=!0x1;for(let _0x54e07=0x0;_0x54e07<_0x26ff14['length'];_0x54e07++){let _0x573245=_0x26ff14[_0x54e07];_0x573245<0x0?_0x54e07++:this['heightSamples'][Math['floor'](0xa*_0x573245)]||(_0x177293=!0x0,this['heightSamples'][Math['floor'](0xa*_0x573245)]=!0x0);}return _0x177293;}['refresh'](_0x844a1,_0x1e1f2d,_0x1cef94,_0x3c0cd8,_0x5508d3,_0x4d511b){let _0x301f08=_0x281df2['indexOf'](_0x844a1)>-0x1,_0x827f01=Math['abs'](_0x1e1f2d-this['lineHeight'])>0.3||this['lineWrapping']!=_0x301f08;if(this['lineWrapping']=_0x301f08,this['lineHeight']=_0x1e1f2d,this['charWidth']=_0x1cef94,this['textHeight']=_0x3c0cd8,this['lineLength']=_0x5508d3,_0x827f01){this['heightSamples']={};for(let _0x2a0083=0x0;_0x2a0083<_0x4d511b['length'];_0x2a0083++){let _0x5bd77d=_0x4d511b[_0x2a0083];_0x5bd77d<0x0?_0x2a0083++:this['heightSamples'][Math['floor'](0xa*_0x5bd77d)]=!0x0;}}return _0x827f01;}},_0x6d971d=class{constructor(_0x928ad1,_0x143e33){this['from']=_0x928ad1,this['heights']=_0x143e33,this['index']=0x0;}get['more'](){return this['index']<this['heights']['length'];}},_0x3f8a9c=class _0x4c3b5b{constructor(_0x45dd40,_0x493890,_0x627e7c,_0x3d9858,_0x2080e2){this['from']=_0x45dd40,this['length']=_0x493890,this['top']=_0x627e7c,this['height']=_0x3d9858,this['_content']=_0x2080e2;}get['type'](){return'number'==typeof this['_content']?_0x3027bf['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 _0x3932b4?this['_content']['widget']:null;}get['widgetLineBreaks'](){return'number'==typeof this['_content']?this['_content']:0x0;}['join'](_0x339ff5){let _0x583c03=(Array['isArray'](this['_content'])?this['_content']:[this])['concat'](Array['isArray'](_0x339ff5['_content'])?_0x339ff5['_content']:[_0x339ff5]);return new _0x4c3b5b(this['from'],this['length']+_0x339ff5['length'],this['top'],this['height']+_0x339ff5['height'],_0x583c03);}},_0x1d184a=function(_0x1841a6){return _0x1841a6[_0x1841a6['ByPos']=0x0]='ByPos',_0x1841a6[_0x1841a6['ByHeight']=0x1]='ByHeight',_0x1841a6[_0x1841a6['ByPosNoHeight']=0x2]='ByPosNoHeight',_0x1841a6;}(_0x1d184a||(_0x1d184a={}));const _0x34dee5=0.001;var _0x2e9a97=class HeightMap{constructor(_0x179ac5,_0x16e663,_0x3823c0=0x2){this['length']=_0x179ac5,this['height']=_0x16e663,this['flags']=_0x3823c0;}get['outdated'](){return(0x2&this['flags'])>0x0;}set['outdated'](_0x130053){this['flags']=(_0x130053?0x2:0x0)|-0x3&this['flags'];}['setHeight'](_0x991c3){this['height']!=_0x991c3&&(Math['abs'](this['height']-_0x991c3)>_0x34dee5&&(_0x246d3c=!0x0),this['height']=_0x991c3);}['replace'](_0x4c1780,_0x50cda1,_0x9cbd40){return HeightMap['of'](_0x9cbd40);}['decomposeLeft'](_0x2b006b,_0x12685b){_0x12685b['push'](this);}['decomposeRight'](_0x222d97,_0xeda297){_0xeda297['push'](this);}['applyChanges'](_0x1d0de3,_0x4712ed,_0x419a00,_0x439600){let _0x5068a8=this,_0x28f802=_0x419a00['doc'];for(let _0x1b5d88=_0x439600['length']-0x1;_0x1b5d88>=0x0;_0x1b5d88--){let {fromA:_0x580288,toA:_0x34d66e,fromB:_0x204de7,toB:_0x130b4e}=_0x439600[_0x1b5d88],_0x5ebdc8=_0x5068a8['lineAt'](_0x580288,_0x1d184a['ByPosNoHeight'],_0x419a00['setDoc'](_0x4712ed),0x0,0x0),_0x3fe8aa=_0x5ebdc8['to']>=_0x34d66e?_0x5ebdc8:_0x5068a8['lineAt'](_0x34d66e,_0x1d184a['ByPosNoHeight'],_0x419a00,0x0,0x0);for(_0x130b4e+=_0x3fe8aa['to']-_0x34d66e,_0x34d66e=_0x3fe8aa['to'];_0x1b5d88>0x0&&_0x5ebdc8['from']<=_0x439600[_0x1b5d88-0x1]['toA'];)_0x580288=_0x439600[_0x1b5d88-0x1]['fromA'],_0x204de7=_0x439600[_0x1b5d88-0x1]['fromB'],_0x1b5d88--,_0x580288<_0x5ebdc8['from']&&(_0x5ebdc8=_0x5068a8['lineAt'](_0x580288,_0x1d184a['ByPosNoHeight'],_0x419a00,0x0,0x0));_0x204de7+=_0x5ebdc8['from']-_0x580288,_0x580288=_0x5ebdc8['from'];let _0xaaf403=_0x530aec['build'](_0x419a00['setDoc'](_0x28f802),_0x1d0de3,_0x204de7,_0x130b4e);_0x5068a8=_0x3e6f5e(_0x5068a8,_0x5068a8['replace'](_0x580288,_0x34d66e,_0xaaf403));}return _0x5068a8['updateHeight'](_0x419a00,0x0);}static['empty'](){return new _0x23e7f6(0x0,0x0,0x0);}static['of'](_0x128962){if(0x1==_0x128962['length'])return _0x128962[0x0];let _0x225a6b=0x0,_0x1438de=_0x128962['length'],_0x145bed=0x0,_0x51fffc=0x0;for(;;)if(_0x225a6b==_0x1438de){if(_0x145bed>0x2*_0x51fffc){let _0x52daec=_0x128962[_0x225a6b-0x1];_0x52daec['break']?_0x128962['splice'](--_0x225a6b,0x1,_0x52daec['left'],null,_0x52daec['right']):_0x128962['splice'](--_0x225a6b,0x1,_0x52daec['left'],_0x52daec['right']),_0x1438de+=0x1+_0x52daec['break'],_0x145bed-=_0x52daec['size'];}else{if(!(_0x51fffc>0x2*_0x145bed))break;{let _0xdba446=_0x128962[_0x1438de];_0xdba446['break']?_0x128962['splice'](_0x1438de,0x1,_0xdba446['left'],null,_0xdba446['right']):_0x128962['splice'](_0x1438de,0x1,_0xdba446['left'],_0xdba446['right']),_0x1438de+=0x2+_0xdba446['break'],_0x51fffc-=_0xdba446['size'];}}}else{if(_0x145bed<_0x51fffc){let _0x135ea5=_0x128962[_0x225a6b++];_0x135ea5&&(_0x145bed+=_0x135ea5['size']);}else{let _0x4d0000=_0x128962[--_0x1438de];_0x4d0000&&(_0x51fffc+=_0x4d0000['size']);}}let _0x255ae2=0x0;return null==_0x128962[_0x225a6b-0x1]?(_0x255ae2=0x1,_0x225a6b--):null==_0x128962[_0x225a6b]&&(_0x255ae2=0x1,_0x1438de++),new _0x3f24d8(HeightMap['of'](_0x128962['slice'](0x0,_0x225a6b)),_0x255ae2,HeightMap['of'](_0x128962['slice'](_0x1438de)));}};function _0x3e6f5e(_0xdbd03d,_0x5c16a0){return _0xdbd03d==_0x5c16a0?_0xdbd03d:(_0xdbd03d['constructor']!=_0x5c16a0['constructor']&&(_0x246d3c=!0x0),_0x5c16a0);}_0x2e9a97['prototype']['size']=0x1;const _0x3ad6fa=_0x68bd12['replace']({});var _0x281e11=class extends _0x2e9a97{constructor(_0x920e5c,_0x176d6b,_0x3c2b90){super(_0x920e5c,_0x176d6b),this['deco']=_0x3c2b90,this['spaceAbove']=0x0;}['mainBlock'](_0x336d80,_0xed64d1){return new _0x3f8a9c(_0xed64d1,this['length'],_0x336d80+this['spaceAbove'],this['height']-this['spaceAbove'],this['deco']||0x0);}['blockAt'](_0x4996cd,_0x3678b1,_0xd8a956,_0x497f02){return this['spaceAbove']&&_0x4996cd<_0xd8a956+this['spaceAbove']?new _0x3f8a9c(_0x497f02,0x0,_0xd8a956,this['spaceAbove'],_0x3ad6fa):this['mainBlock'](_0xd8a956,_0x497f02);}['lineAt'](_0x5065a8,_0x596c51,_0x1dfe56,_0x4de3e3,_0x2d602d){let _0x56a91a=this['mainBlock'](_0x4de3e3,_0x2d602d);return this['spaceAbove']?this['blockAt'](0x0,_0x1dfe56,_0x4de3e3,_0x2d602d)['join'](_0x56a91a):_0x56a91a;}['forEachLine'](_0x40ff07,_0x2e418d,_0x5749b0,_0x51cc40,_0x158669,_0x18df62){_0x40ff07<=_0x158669+this['length']&&_0x2e418d>=_0x158669&&_0x18df62(this['lineAt'](0x0,_0x1d184a['ByPos'],_0x5749b0,_0x51cc40,_0x158669));}['setMeasuredHeight'](_0x2ac28e){let _0xfbfcf7=_0x2ac28e['heights'][_0x2ac28e['index']++];_0xfbfcf7<0x0?(this['spaceAbove']=-_0xfbfcf7,_0xfbfcf7=_0x2ac28e['heights'][_0x2ac28e['index']++]):this['spaceAbove']=0x0,this['setHeight'](_0xfbfcf7);}['updateHeight'](_0x17ff09,_0xa82d6b=0x0,_0x17843f=!0x1,_0x5ea86d){return _0x5ea86d&&_0x5ea86d['from']<=_0xa82d6b&&_0x5ea86d['more']&&this['setMeasuredHeight'](_0x5ea86d),this['outdated']=!0x1,this;}['toString'](){return'block('+this['length']+')';}},_0x23e7f6=class HeightMapText extends _0x281e11{constructor(_0x50a6d3,_0x254a7b,_0x1df165){super(_0x50a6d3,_0x254a7b,null),this['collapsed']=0x0,this['widgetHeight']=0x0,this['breaks']=0x0,this['spaceAbove']=_0x1df165;}['mainBlock'](_0x980015,_0x2c6c7d){return new _0x3f8a9c(_0x2c6c7d,this['length'],_0x980015+this['spaceAbove'],this['height']-this['spaceAbove'],this['breaks']);}['replace'](_0x2c7402,_0x477c99,_0x452e72){let _0x11f81a=_0x452e72[0x0];return 0x1==_0x452e72['length']&&(_0x11f81a instanceof HeightMapText||_0x11f81a instanceof _0x5063b0&&0x4&_0x11f81a['flags'])&&Math['abs'](this['length']-_0x11f81a['length'])<0xa?(_0x11f81a instanceof _0x5063b0?_0x11f81a=new HeightMapText(_0x11f81a['length'],this['height'],this['spaceAbove']):_0x11f81a['height']=this['height'],this['outdated']||(_0x11f81a['outdated']=!0x1),_0x11f81a):_0x2e9a97['of'](_0x452e72);}['updateHeight'](_0x32ebb6,_0x239614=0x0,_0x584137=!0x1,_0x1a6df8){return _0x1a6df8&&_0x1a6df8['from']<=_0x239614&&_0x1a6df8['more']?this['setMeasuredHeight'](_0x1a6df8):(_0x584137||this['outdated'])&&(this['spaceAbove']=0x0,this['setHeight'](Math['max'](this['widgetHeight'],_0x32ebb6['heightForLine'](this['length']-this['collapsed']))+this['breaks']*_0x32ebb6['lineHeight'])),this['outdated']=!0x1,this;}['toString'](){return'line('+this['length']+(this['collapsed']?-this['collapsed']:'')+(this['widgetHeight']?':'+this['widgetHeight']:'')+')';}},_0x5063b0=class HeightMapGap extends _0x2e9a97{constructor(_0x52386f){super(_0x52386f,0x0);}['heightMetrics'](_0x4fe51a,_0x2cae1d){let _0x34cc4c,_0x415aa8=_0x4fe51a['doc']['lineAt'](_0x2cae1d)['number'],_0x2da94c=_0x4fe51a['doc']['lineAt'](_0x2cae1d+this['length'])['number'],_0x3b9a87=_0x2da94c-_0x415aa8+0x1,_0x33069c=0x0;if(_0x4fe51a['lineWrapping']){let _0x4a808c=Math['min'](this['height'],_0x4fe51a['lineHeight']*_0x3b9a87);_0x34cc4c=_0x4a808c/_0x3b9a87,this['length']>_0x3b9a87+0x1&&(_0x33069c=(this['height']-_0x4a808c)/(this['length']-_0x3b9a87-0x1));}else _0x34cc4c=this['height']/_0x3b9a87;return{'firstLine':_0x415aa8,'lastLine':_0x2da94c,'perLine':_0x34cc4c,'perChar':_0x33069c};}['blockAt'](_0xc38f09,_0x290a6e,_0x4aaac5,_0x33aa41){let {firstLine:_0x2dd69a,lastLine:_0x47c59f,perLine:_0x56d16e,perChar:_0x5edcbf}=this['heightMetrics'](_0x290a6e,_0x33aa41);if(_0x290a6e['lineWrapping']){let _0x1e9bc9=_0x33aa41+(_0xc38f09<_0x290a6e['lineHeight']?0x0:Math['round'](Math['max'](0x0,Math['min'](0x1,(_0xc38f09-_0x4aaac5)/this['height']))*this['length'])),_0x4b6b04=_0x290a6e['doc']['lineAt'](_0x1e9bc9),_0x2816d5=_0x56d16e+_0x4b6b04['length']*_0x5edcbf,_0x490ac3=Math['max'](_0x4aaac5,_0xc38f09-_0x2816d5/0x2);return new _0x3f8a9c(_0x4b6b04['from'],_0x4b6b04['length'],_0x490ac3,_0x2816d5,0x0);}{let _0x475930=Math['max'](0x0,Math['min'](_0x47c59f-_0x2dd69a,Math['floor']((_0xc38f09-_0x4aaac5)/_0x56d16e))),{from:_0x5d2ee9,length:_0x501bc2}=_0x290a6e['doc']['line'](_0x2dd69a+_0x475930);return new _0x3f8a9c(_0x5d2ee9,_0x501bc2,_0x4aaac5+_0x56d16e*_0x475930,_0x56d16e,0x0);}}['lineAt'](_0xbcbfb0,_0x5ecd6b,_0x5726ee,_0x3c8c98,_0x4cd741){if(_0x5ecd6b==_0x1d184a['ByHeight'])return this['blockAt'](_0xbcbfb0,_0x5726ee,_0x3c8c98,_0x4cd741);if(_0x5ecd6b==_0x1d184a['ByPosNoHeight']){let {from:_0x1d274c,to:_0x376ab7}=_0x5726ee['doc']['lineAt'](_0xbcbfb0);return new _0x3f8a9c(_0x1d274c,_0x376ab7-_0x1d274c,0x0,0x0,0x0);}let {firstLine:_0x893596,perLine:_0x123f33,perChar:_0x29cd94}=this['heightMetrics'](_0x5726ee,_0x4cd741),_0x5a208e=_0x5726ee['doc']['lineAt'](_0xbcbfb0),_0x4fa1b4=_0x123f33+_0x5a208e['length']*_0x29cd94,_0x2d9ce7=_0x5a208e['number']-_0x893596,_0x435870=_0x3c8c98+_0x123f33*_0x2d9ce7+_0x29cd94*(_0x5a208e['from']-_0x4cd741-_0x2d9ce7);return new _0x3f8a9c(_0x5a208e['from'],_0x5a208e['length'],Math['max'](_0x3c8c98,Math['min'](_0x435870,_0x3c8c98+this['height']-_0x4fa1b4)),_0x4fa1b4,0x0);}['forEachLine'](_0x301edc,_0x30604f,_0x1b167e,_0xe0390e,_0x32de5e,_0x402af3){_0x301edc=Math['max'](_0x301edc,_0x32de5e),_0x30604f=Math['min'](_0x30604f,_0x32de5e+this['length']);let {firstLine:_0x1b2da5,perLine:_0x586c64,perChar:_0x28f57d}=this['heightMetrics'](_0x1b167e,_0x32de5e);for(let _0x306f38=_0x301edc,_0x25bcc6=_0xe0390e;_0x306f38<=_0x30604f;){let _0x3f8e8e=_0x1b167e['doc']['lineAt'](_0x306f38);if(_0x306f38==_0x301edc){let _0x331da5=_0x3f8e8e['number']-_0x1b2da5;_0x25bcc6+=_0x586c64*_0x331da5+_0x28f57d*(_0x301edc-_0x32de5e-_0x331da5);}let _0x566232=_0x586c64+_0x28f57d*_0x3f8e8e['length'];_0x402af3(new _0x3f8a9c(_0x3f8e8e['from'],_0x3f8e8e['length'],_0x25bcc6,_0x566232,0x0)),_0x25bcc6+=_0x566232,_0x306f38=_0x3f8e8e['to']+0x1;}}['replace'](_0x2b8d23,_0x1adf1e,_0x333dc2){let _0xe4ff63=this['length']-_0x1adf1e;if(_0xe4ff63>0x0){let _0x2adc44=_0x333dc2[_0x333dc2['length']-0x1];_0x2adc44 instanceof HeightMapGap?_0x333dc2[_0x333dc2['length']-0x1]=new HeightMapGap(_0x2adc44['length']+_0xe4ff63):_0x333dc2['push'](null,new HeightMapGap(_0xe4ff63-0x1));}if(_0x2b8d23>0x0){let _0x5a16f1=_0x333dc2[0x0];_0x5a16f1 instanceof HeightMapGap?_0x333dc2[0x0]=new HeightMapGap(_0x2b8d23+_0x5a16f1['length']):_0x333dc2['unshift'](new HeightMapGap(_0x2b8d23-0x1),null);}return _0x2e9a97['of'](_0x333dc2);}['decomposeLeft'](_0x3e8082,_0x805413){_0x805413['push'](new HeightMapGap(_0x3e8082-0x1),null);}['decomposeRight'](_0x299e7e,_0x531b25){_0x531b25['push'](null,new HeightMapGap(this['length']-_0x299e7e-0x1));}['updateHeight'](_0x59d0d0,_0x21b00e=0x0,_0x384558=!0x1,_0x2746e7){let _0x2a80b2=_0x21b00e+this['length'];if(_0x2746e7&&_0x2746e7['from']<=_0x21b00e+this['length']&&_0x2746e7['more']){let _0x18767d=[],_0x2a86a6=Math['max'](_0x21b00e,_0x2746e7['from']),_0x542634=-0x1;for(_0x2746e7['from']>_0x21b00e&&_0x18767d['push'](new HeightMapGap(_0x2746e7['from']-_0x21b00e-0x1)['updateHeight'](_0x59d0d0,_0x21b00e));_0x2a86a6<=_0x2a80b2&&_0x2746e7['more'];){let _0x27e20=_0x59d0d0['doc']['lineAt'](_0x2a86a6)['length'];_0x18767d['length']&&_0x18767d['push'](null);let _0x3108e4=_0x2746e7['heights'][_0x2746e7['index']++],_0xc013f6=0x0;_0x3108e4<0x0&&(_0xc013f6=-_0x3108e4,_0x3108e4=_0x2746e7['heights'][_0x2746e7['index']++]),-0x1==_0x542634?_0x542634=_0x3108e4:Math['abs'](_0x3108e4-_0x542634)>=_0x34dee5&&(_0x542634=-0x2);let _0x48c0d4=new _0x23e7f6(_0x27e20,_0x3108e4,_0xc013f6);_0x48c0d4['outdated']=!0x1,_0x18767d['push'](_0x48c0d4),_0x2a86a6+=_0x27e20+0x1;}_0x2a86a6<=_0x2a80b2&&_0x18767d['push'](null,new HeightMapGap(_0x2a80b2-_0x2a86a6)['updateHeight'](_0x59d0d0,_0x2a86a6));let _0x4a942b=_0x2e9a97['of'](_0x18767d);return(_0x542634<0x0||Math['abs'](_0x4a942b['height']-this['height'])>=_0x34dee5||Math['abs'](_0x542634-this['heightMetrics'](_0x59d0d0,_0x21b00e)['perLine'])>=_0x34dee5)&&(_0x246d3c=!0x0),_0x3e6f5e(this,_0x4a942b);}return(_0x384558||this['outdated'])&&(this['setHeight'](_0x59d0d0['heightForGap'](_0x21b00e,_0x21b00e+this['length'])),this['outdated']=!0x1),this;}['toString'](){return'gap('+this['length']+')';}},_0x3f24d8=class extends _0x2e9a97{constructor(_0x2fbaa8,_0x1d643e,_0x65d844){super(_0x2fbaa8['length']+_0x1d643e+_0x65d844['length'],_0x2fbaa8['height']+_0x65d844['height'],_0x1d643e|(_0x2fbaa8['outdated']||_0x65d844['outdated']?0x2:0x0)),this['left']=_0x2fbaa8,this['right']=_0x65d844,this['size']=_0x2fbaa8['size']+_0x65d844['size'];}get['break'](){return 0x1&this['flags'];}['blockAt'](_0x5b40c7,_0x19c623,_0x58b5e5,_0x153b8b){let _0x48658f=_0x58b5e5+this['left']['height'];return _0x5b40c7<_0x48658f?this['left']['blockAt'](_0x5b40c7,_0x19c623,_0x58b5e5,_0x153b8b):this['right']['blockAt'](_0x5b40c7,_0x19c623,_0x48658f,_0x153b8b+this['left']['length']+this['break']);}['lineAt'](_0x276603,_0x51cc17,_0x12be04,_0x4c9f2b,_0x2d087e){let _0x27d558=_0x4c9f2b+this['left']['height'],_0x697a65=_0x2d087e+this['left']['length']+this['break'],_0xd72cd2=_0x51cc17==_0x1d184a['ByHeight']?_0x276603<_0x27d558:_0x276603<_0x697a65,_0x454113=_0xd72cd2?this['left']['lineAt'](_0x276603,_0x51cc17,_0x12be04,_0x4c9f2b,_0x2d087e):this['right']['lineAt'](_0x276603,_0x51cc17,_0x12be04,_0x27d558,_0x697a65);if(this['break']||(_0xd72cd2?_0x454113['to']<_0x697a65:_0x454113['from']>_0x697a65))return _0x454113;let _0x40db3d=_0x51cc17==_0x1d184a['ByPosNoHeight']?_0x1d184a['ByPosNoHeight']:_0x1d184a['ByPos'];return _0xd72cd2?_0x454113['join'](this['right']['lineAt'](_0x697a65,_0x40db3d,_0x12be04,_0x27d558,_0x697a65)):this['left']['lineAt'](_0x697a65,_0x40db3d,_0x12be04,_0x4c9f2b,_0x2d087e)['join'](_0x454113);}['forEachLine'](_0x40e9f0,_0x4e4a74,_0x25343e,_0x325a93,_0x3e0eb8,_0x2b9167){let _0xedd84d=_0x325a93+this['left']['height'],_0x429994=_0x3e0eb8+this['left']['length']+this['break'];if(this['break'])_0x40e9f0<_0x429994&&this['left']['forEachLine'](_0x40e9f0,_0x4e4a74,_0x25343e,_0x325a93,_0x3e0eb8,_0x2b9167),_0x4e4a74>=_0x429994&&this['right']['forEachLine'](_0x40e9f0,_0x4e4a74,_0x25343e,_0xedd84d,_0x429994,_0x2b9167);else{let _0x213515=this['lineAt'](_0x429994,_0x1d184a['ByPos'],_0x25343e,_0x325a93,_0x3e0eb8);_0x40e9f0<_0x213515['from']&&this['left']['forEachLine'](_0x40e9f0,_0x213515['from']-0x1,_0x25343e,_0x325a93,_0x3e0eb8,_0x2b9167),_0x213515['to']>=_0x40e9f0&&_0x213515['from']<=_0x4e4a74&&_0x2b9167(_0x213515),_0x4e4a74>_0x213515['to']&&this['right']['forEachLine'](_0x213515['to']+0x1,_0x4e4a74,_0x25343e,_0xedd84d,_0x429994,_0x2b9167);}}['replace'](_0x2caf33,_0x20da71,_0x3fd1d7){let _0x3316eb=this['left']['length']+this['break'];if(_0x20da71<_0x3316eb)return this['balanced'](this['left']['replace'](_0x2caf33,_0x20da71,_0x3fd1d7),this['right']);if(_0x2caf33>this['left']['length'])return this['balanced'](this['left'],this['right']['replace'](_0x2caf33-_0x3316eb,_0x20da71-_0x3316eb,_0x3fd1d7));let _0x18b5a9=[];_0x2caf33>0x0&&this['decomposeLeft'](_0x2caf33,_0x18b5a9);let _0x38288f=_0x18b5a9['length'];for(let _0x1de25f of _0x3fd1d7)_0x18b5a9['push'](_0x1de25f);if(_0x2caf33>0x0&&_0x4618ef(_0x18b5a9,_0x38288f-0x1),_0x20da71<this['length']){let _0x3750fd=_0x18b5a9['length'];this['decomposeRight'](_0x20da71,_0x18b5a9),_0x4618ef(_0x18b5a9,_0x3750fd);}return _0x2e9a97['of'](_0x18b5a9);}['decomposeLeft'](_0x55cb07,_0x4a39b5){let _0x1af0b6=this['left']['length'];if(_0x55cb07<=_0x1af0b6)return this['left']['decomposeLeft'](_0x55cb07,_0x4a39b5);_0x4a39b5['push'](this['left']),this['break']&&(_0x1af0b6++,_0x55cb07>=_0x1af0b6&&_0x4a39b5['push'](null)),_0x55cb07>_0x1af0b6&&this['right']['decomposeLeft'](_0x55cb07-_0x1af0b6,_0x4a39b5);}['decomposeRight'](_0x194426,_0x55105a){let _0x53cec6=this['left']['length'],_0x5ab526=_0x53cec6+this['break'];if(_0x194426>=_0x5ab526)return this['right']['decomposeRight'](_0x194426-_0x5ab526,_0x55105a);_0x194426<_0x53cec6&&this['left']['decomposeRight'](_0x194426,_0x55105a),this['break']&&_0x194426<_0x5ab526&&_0x55105a['push'](null),_0x55105a['push'](this['right']);}['balanced'](_0x5c41a0,_0x47ceb3){return _0x5c41a0['size']>0x2*_0x47ceb3['size']||_0x47ceb3['size']>0x2*_0x5c41a0['size']?_0x2e9a97['of'](this['break']?[_0x5c41a0,null,_0x47ceb3]:[_0x5c41a0,_0x47ceb3]):(this['left']=_0x3e6f5e(this['left'],_0x5c41a0),this['right']=_0x3e6f5e(this['right'],_0x47ceb3),this['setHeight'](_0x5c41a0['height']+_0x47ceb3['height']),this['outdated']=_0x5c41a0['outdated']||_0x47ceb3['outdated'],this['size']=_0x5c41a0['size']+_0x47ceb3['size'],this['length']=_0x5c41a0['length']+this['break']+_0x47ceb3['length'],this);}['updateHeight'](_0x5ed8b8,_0x59377b=0x0,_0x4fae1c=!0x1,_0x3df560){let {left:_0x342276,right:_0x32494b}=this,_0x43be3a=_0x59377b+_0x342276['length']+this['break'],_0x1cd5ae=null;return _0x3df560&&_0x3df560['from']<=_0x59377b+_0x342276['length']&&_0x3df560['more']?_0x1cd5ae=_0x342276=_0x342276['updateHeight'](_0x5ed8b8,_0x59377b,_0x4fae1c,_0x3df560):_0x342276['updateHeight'](_0x5ed8b8,_0x59377b,_0x4fae1c),_0x3df560&&_0x3df560['from']<=_0x43be3a+_0x32494b['length']&&_0x3df560['more']?_0x1cd5ae=_0x32494b=_0x32494b['updateHeight'](_0x5ed8b8,_0x43be3a,_0x4fae1c,_0x3df560):_0x32494b['updateHeight'](_0x5ed8b8,_0x43be3a,_0x4fae1c),_0x1cd5ae?this['balanced'](_0x342276,_0x32494b):(this['height']=this['left']['height']+this['right']['height'],this['outdated']=!0x1,this);}['toString'](){return this['left']+(this['break']?'\x20':'-')+this['right'];}};function _0x4618ef(_0x40b5b1,_0x4f2e7e){let _0x1041e8,_0x16164a;null==_0x40b5b1[_0x4f2e7e]&&(_0x1041e8=_0x40b5b1[_0x4f2e7e-0x1])instanceof _0x5063b0&&(_0x16164a=_0x40b5b1[_0x4f2e7e+0x1])instanceof _0x5063b0&&_0x40b5b1['splice'](_0x4f2e7e-0x1,0x3,new _0x5063b0(_0x1041e8['length']+0x1+_0x16164a['length']));}var _0x530aec=class _0x17cbb9{constructor(_0x3822d6,_0x526039){this['pos']=_0x3822d6,this['oracle']=_0x526039,this['nodes']=[],this['lineStart']=-0x1,this['lineEnd']=-0x1,this['covering']=null,this['writtenTo']=_0x3822d6;}get['isCovered'](){return this['covering']&&this['nodes'][this['nodes']['length']-0x1]==this['covering'];}['span'](_0xbf5874,_0x13def5){if(this['lineStart']>-0x1){let _0x58dc4f=Math['min'](_0x13def5,this['lineEnd']),_0x1159fb=this['nodes'][this['nodes']['length']-0x1];_0x1159fb instanceof _0x23e7f6?_0x1159fb['length']+=_0x58dc4f-this['pos']:(_0x58dc4f>this['pos']||!this['isCovered'])&&this['nodes']['push'](new _0x23e7f6(_0x58dc4f-this['pos'],-0x1,0x0)),this['writtenTo']=_0x58dc4f,_0x13def5>_0x58dc4f&&(this['nodes']['push'](null),this['writtenTo']++,this['lineStart']=-0x1);}this['pos']=_0x13def5;}['point'](_0xc1c3d1,_0x5cdadc,_0x38dcc9){if(_0xc1c3d1<_0x5cdadc||_0x38dcc9['heightRelevant']){let _0x25ecb0=_0x38dcc9['widget']?_0x38dcc9['widget']['estimatedHeight']:0x0,_0x4af48d=_0x38dcc9['widget']?_0x38dcc9['widget']['lineBreaks']:0x0;_0x25ecb0<0x0&&(_0x25ecb0=this['oracle']['lineHeight']);let _0x2df2e7=_0x5cdadc-_0xc1c3d1;_0x38dcc9['block']?this['addBlock'](new _0x281e11(_0x2df2e7,_0x25ecb0,_0x38dcc9)):(_0x2df2e7||_0x4af48d||_0x25ecb0>=0x5)&&this['addLineDeco'](_0x25ecb0,_0x4af48d,_0x2df2e7);}else _0x5cdadc>_0xc1c3d1&&this['span'](_0xc1c3d1,_0x5cdadc);this['lineEnd']>-0x1&&this['lineEnd']<this['pos']&&(this['lineEnd']=this['oracle']['doc']['lineAt'](this['pos'])['to']);}['enterLine'](){if(this['lineStart']>-0x1)return;let {from:_0x32a654,to:_0x57f36f}=this['oracle']['doc']['lineAt'](this['pos']);this['lineStart']=_0x32a654,this['lineEnd']=_0x57f36f,this['writtenTo']<_0x32a654&&((this['writtenTo']<_0x32a654-0x1||null==this['nodes'][this['nodes']['length']-0x1])&&this['nodes']['push'](this['blankContent'](this['writtenTo'],_0x32a654-0x1)),this['nodes']['push'](null)),this['pos']>_0x32a654&&this['nodes']['push'](new _0x23e7f6(this['pos']-_0x32a654,-0x1,0x0)),this['writtenTo']=this['pos'];}['blankContent'](_0x8b75f2,_0x3380a8){let _0x20c21c=new _0x5063b0(_0x3380a8-_0x8b75f2);return this['oracle']['doc']['lineAt'](_0x8b75f2)['to']==_0x3380a8&&(_0x20c21c['flags']|=0x4),_0x20c21c;}['ensureLine'](){this['enterLine']();let _0x58b9b0=this['nodes']['length']?this['nodes'][this['nodes']['length']-0x1]:null;if(_0x58b9b0 instanceof _0x23e7f6)return _0x58b9b0;let _0x10817e=new _0x23e7f6(0x0,-0x1,0x0);return this['nodes']['push'](_0x10817e),_0x10817e;}['addBlock'](_0x3dd0e9){this['enterLine']();let _0x3a92c5=_0x3dd0e9['deco'];_0x3a92c5&&_0x3a92c5['startSide']>0x0&&!this['isCovered']&&this['ensureLine'](),this['nodes']['push'](_0x3dd0e9),this['writtenTo']=this['pos']=this['pos']+_0x3dd0e9['length'],_0x3a92c5&&_0x3a92c5['endSide']>0x0&&(this['covering']=_0x3dd0e9);}['addLineDeco'](_0xd5573e,_0x25a9a3,_0x5bcbbc){let _0x50763d=this['ensureLine']();_0x50763d['length']+=_0x5bcbbc,_0x50763d['collapsed']+=_0x5bcbbc,_0x50763d['widgetHeight']=Math['max'](_0x50763d['widgetHeight'],_0xd5573e),_0x50763d['breaks']+=_0x25a9a3,this['writtenTo']=this['pos']=this['pos']+_0x5bcbbc;}['finish'](_0x339f2f){let _0x25d851=0x0==this['nodes']['length']?null:this['nodes'][this['nodes']['length']-0x1];!(this['lineStart']>-0x1)||_0x25d851 instanceof _0x23e7f6||this['isCovered']?(this['writtenTo']<this['pos']||null==_0x25d851)&&this['nodes']['push'](this['blankContent'](this['writtenTo'],this['pos'])):this['nodes']['push'](new _0x23e7f6(0x0,-0x1,0x0));let _0x1019b7=_0x339f2f;for(let _0x49ab31 of this['nodes'])_0x49ab31 instanceof _0x23e7f6&&_0x49ab31['updateHeight'](this['oracle'],_0x1019b7),_0x1019b7+=_0x49ab31?_0x49ab31['length']:0x1;return this['nodes'];}static['build'](_0x4f8d9f,_0x95849e,_0x544bd3,_0x4b7689){let _0x22349c=new _0x17cbb9(_0x544bd3,_0x4f8d9f);return _0x397923['spans'](_0x95849e,_0x544bd3,_0x4b7689,_0x22349c,0x0),_0x22349c['finish'](_0x544bd3);}},_0x2fd15c=class{constructor(){this['changes']=[];}['compareRange'](){}['comparePoint'](_0x104eb3,_0x164040,_0x4cc6ec,_0x518049){(_0x104eb3<_0x164040||_0x4cc6ec&&_0x4cc6ec['heightRelevant']||_0x518049&&_0x518049['heightRelevant'])&&_0xea97e9(_0x104eb3,_0x164040,this['changes'],0x5);}};function _0x2cc498(_0x373bef,_0x2954bc){let _0x34e3c6=_0x373bef['getBoundingClientRect'](),_0x1d17a5=_0x373bef['ownerDocument'],_0x4e9564=_0x1d17a5['defaultView']||window,_0x23ff3c=Math['max'](0x0,_0x34e3c6['left']),_0x1a9fda=Math['min'](_0x4e9564['innerWidth'],_0x34e3c6['right']),_0x57036f=Math['max'](0x0,_0x34e3c6['top']),_0x4b208c=Math['min'](_0x4e9564['innerHeight'],_0x34e3c6['bottom']);for(let _0x1a2a74=_0x373bef['parentNode'];_0x1a2a74&&_0x1a2a74!=_0x1d17a5['body'];)if(0x1==_0x1a2a74['nodeType']){let _0x1a9139=_0x1a2a74,_0x4b7e47=window['getComputedStyle'](_0x1a9139);if((_0x1a9139['scrollHeight']>_0x1a9139['clientHeight']||_0x1a9139['scrollWidth']>_0x1a9139['clientWidth'])&&'visible'!=_0x4b7e47['overflow']){let _0x42cadd=_0x1a9139['getBoundingClientRect']();_0x23ff3c=Math['max'](_0x23ff3c,_0x42cadd['left']),_0x1a9fda=Math['min'](_0x1a9fda,_0x42cadd['right']),_0x57036f=Math['max'](_0x57036f,_0x42cadd['top']),_0x4b208c=Math['min'](_0x1a2a74==_0x373bef['parentNode']?_0x4e9564['innerHeight']:_0x4b208c,_0x42cadd['bottom']);}_0x1a2a74='absolute'==_0x4b7e47['position']||'fixed'==_0x4b7e47['position']?_0x1a9139['offsetParent']:_0x1a9139['parentNode'];}else{if(0xb!=_0x1a2a74['nodeType'])break;_0x1a2a74=_0x1a2a74['host'];}return{'left':_0x23ff3c-_0x34e3c6['left'],'right':Math['max'](_0x23ff3c,_0x1a9fda)-_0x34e3c6['left'],'top':_0x57036f-(_0x34e3c6['top']+_0x2954bc),'bottom':Math['max'](_0x57036f,_0x4b208c)-(_0x34e3c6['top']+_0x2954bc)};}function _0x3a58b6(_0x41bbc5,_0x2dad39){let _0x1e8d4e=_0x41bbc5['getBoundingClientRect']();return{'left':0x0,'right':_0x1e8d4e['right']-_0x1e8d4e['left'],'top':_0x2dad39,'bottom':_0x1e8d4e['bottom']-(_0x1e8d4e['top']+_0x2dad39)};}var _0x28cdd5=class{constructor(_0x162665,_0x36ff57,_0x113117,_0x3cf21c){this['from']=_0x162665,this['to']=_0x36ff57,this['size']=_0x113117,this['displaySize']=_0x3cf21c;}static['same'](_0x1eaa5a,_0x3119ea){if(_0x1eaa5a['length']!=_0x3119ea['length'])return!0x1;for(let _0x232db6=0x0;_0x232db6<_0x1eaa5a['length'];_0x232db6++){let _0x91cceb=_0x1eaa5a[_0x232db6],_0xf8030f=_0x3119ea[_0x232db6];if(_0x91cceb['from']!=_0xf8030f['from']||_0x91cceb['to']!=_0xf8030f['to']||_0x91cceb['size']!=_0xf8030f['size'])return!0x1;}return!0x0;}['draw'](_0x1707e7,_0x125c4b){return _0x68bd12['replace']({'widget':new _0x2338f8(this['displaySize']*(_0x125c4b?_0x1707e7['scaleY']:_0x1707e7['scaleX']),_0x125c4b)})['range'](this['from'],this['to']);}},_0x2338f8=class extends _0x129238{constructor(_0x50ed2c,_0x3eb362){super(),this['size']=_0x50ed2c,this['vertical']=_0x3eb362;}['eq'](_0x2f8e15){return _0x2f8e15['size']==this['size']&&_0x2f8e15['vertical']==this['vertical'];}['toDOM'](){let _0x436a0a=document['createElement']('div');return this['vertical']?_0x436a0a['style']['height']=this['size']+'px':(_0x436a0a['style']['width']=this['size']+'px',_0x436a0a['style']['height']='2px',_0x436a0a['style']['display']='inline-block'),_0x436a0a;}get['estimatedHeight'](){return this['vertical']?this['size']:-0x1;}},_0x59984d=class{constructor(_0x27c5fa,_0x5264d6){this['view']=_0x27c5fa,this['state']=_0x5264d6,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['scaleX']=0x1,this['scaleY']=0x1,this['scrollOffset']=0x0,this['scrolledToBottom']=!0x1,this['scrollAnchorPos']=0x0,this['scrollAnchorHeight']=-0x1,this['scaler']=_0x60bc8b,this['scrollTarget']=null,this['printing']=!0x1,this['mustMeasureContent']=!0x0,this['defaultTextDirection']=_0x48659f['LTR'],this['visibleRanges']=[],this['mustEnforceCursorAssoc']=!0x1;let _0x57fe0a=_0x5264d6['facet'](_0x18dd99)['some'](_0x16c13a=>'function'!=typeof _0x16c13a&&'cm-lineWrapping'==_0x16c13a['class']);this['heightOracle']=new _0x51ddae(_0x57fe0a),this['stateDeco']=_0x2efb11(_0x5264d6),this['heightMap']=_0x2e9a97['empty']()['applyChanges'](this['stateDeco'],_0x3de5aa['empty'],this['heightOracle']['setDoc'](_0x5264d6['doc']),[new _0x190892(0x0,0x0,0x0,_0x5264d6['doc']['length'])]);for(let _0x4b88f0=0x0;_0x4b88f0<0x2&&(this['viewport']=this['getViewport'](0x0,null),this['updateForViewport']());_0x4b88f0++);this['updateViewportLines'](),this['lineGaps']=this['ensureLineGaps']([]),this['lineGapDeco']=_0x68bd12['set'](this['lineGaps']['map'](_0x1b565b=>_0x1b565b['draw'](this,!0x1))),this['scrollParent']=_0x27c5fa['scrollDOM'],this['computeVisibleRanges']();}['updateForViewport'](){let _0xd0478a=[this['viewport']],{main:_0x3236a9}=this['state']['selection'];for(let _0x423cfb=0x0;_0x423cfb<=0x1;_0x423cfb++){let _0x1c38ef=_0x423cfb?_0x3236a9['head']:_0x3236a9['anchor'];if(!_0xd0478a['some'](({from:_0x158271,to:_0x433c6a})=>_0x1c38ef>=_0x158271&&_0x1c38ef<=_0x433c6a)){let {from:_0x4015e4,to:_0x10768f}=this['lineBlockAt'](_0x1c38ef);_0xd0478a['push'](new _0x2b4856(_0x4015e4,_0x10768f));}}return this['viewports']=_0xd0478a['sort']((_0x3e831c,_0x443933)=>_0x3e831c['from']-_0x443933['from']),this['updateScaler']();}['updateScaler'](){let _0x31c7b5=this['scaler'];return this['scaler']=this['heightMap']['height']<=0x6acfc0?_0x60bc8b:new _0x520388(this['heightOracle'],this['heightMap'],this['viewports']),_0x31c7b5['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,_0x38cf33=>{this['viewportLines']['push'](_0x4656ac(_0x38cf33,this['scaler']));});}['update'](_0x6dbbaf,_0x29f3c1=null){this['state']=_0x6dbbaf['state'];let _0xa99dc9=this['stateDeco'];this['stateDeco']=_0x2efb11(this['state']);let _0x5c8d4c=_0x6dbbaf['changedRanges'],_0x24aef7=_0x190892['extendWithRanges'](_0x5c8d4c,function(_0x28b480,_0x31192f,_0x4ee54e){let _0x5ab38a=new _0x2fd15c();return _0x397923['compare'](_0x28b480,_0x31192f,_0x4ee54e,_0x5ab38a,0x0),_0x5ab38a['changes'];}(_0xa99dc9,this['stateDeco'],_0x6dbbaf?_0x6dbbaf['changes']:_0x1b9771['empty'](this['state']['doc']['length']))),_0x2faac7=this['heightMap']['height'],_0x1d1cd1=this['scrolledToBottom']?null:this['scrollAnchorAt'](this['scrollOffset']);_0x46e8c8(),this['heightMap']=this['heightMap']['applyChanges'](this['stateDeco'],_0x6dbbaf['startState']['doc'],this['heightOracle']['setDoc'](this['state']['doc']),_0x24aef7),(this['heightMap']['height']!=_0x2faac7||_0x246d3c)&&(_0x6dbbaf['flags']|=0x2),_0x1d1cd1?(this['scrollAnchorPos']=_0x6dbbaf['changes']['mapPos'](_0x1d1cd1['from'],-0x1),this['scrollAnchorHeight']=_0x1d1cd1['top']):(this['scrollAnchorPos']=-0x1,this['scrollAnchorHeight']=_0x2faac7);let _0x68becc=_0x24aef7['length']?this['mapViewport'](this['viewport'],_0x6dbbaf['changes']):this['viewport'];(_0x29f3c1&&(_0x29f3c1['range']['head']<_0x68becc['from']||_0x29f3c1['range']['head']>_0x68becc['to'])||!this['viewportIsAppropriate'](_0x68becc))&&(_0x68becc=this['getViewport'](0x0,_0x29f3c1));let _0x53c1a4=_0x68becc['from']!=this['viewport']['from']||_0x68becc['to']!=this['viewport']['to'];this['viewport']=_0x68becc,_0x6dbbaf['flags']|=this['updateForViewport'](),(_0x53c1a4||!_0x6dbbaf['changes']['empty']||0x2&_0x6dbbaf['flags'])&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](this['mapLineGaps'](this['lineGaps'],_0x6dbbaf['changes']))),_0x6dbbaf['flags']|=this['computeVisibleRanges'](_0x6dbbaf['changes']),_0x29f3c1&&(this['scrollTarget']=_0x29f3c1),!this['mustEnforceCursorAssoc']&&(_0x6dbbaf['selectionSet']||_0x6dbbaf['focusChanged'])&&_0x6dbbaf['view']['lineWrapping']&&_0x6dbbaf['state']['selection']['main']['empty']&&_0x6dbbaf['state']['selection']['main']['assoc']&&!_0x6dbbaf['state']['facet'](_0x386818)&&(this['mustEnforceCursorAssoc']=!0x0);}['measure'](){let {view:_0x5b44c9}=this,_0x321512=_0x5b44c9['contentDOM'],_0xda2bb9=window['getComputedStyle'](_0x321512),_0x22c954=this['heightOracle'],_0x3bf9f3=_0xda2bb9['whiteSpace'];this['defaultTextDirection']='rtl'==_0xda2bb9['direction']?_0x48659f['RTL']:_0x48659f['LTR'];let _0xa0643c=this['heightOracle']['mustRefreshForWrapping'](_0x3bf9f3)||'refresh'===this['mustMeasureContent'],_0x239201=_0x321512['getBoundingClientRect'](),_0x31d448=_0xa0643c||this['mustMeasureContent']||this['contentDOMHeight']!=_0x239201['height'];this['contentDOMHeight']=_0x239201['height'],this['mustMeasureContent']=!0x1;let _0x59ae99=0x0,_0x73be6a=0x0;if(_0x239201['width']&&_0x239201['height']){let {scaleX:_0x18c53f,scaleY:_0x33cfba}=_0x3176dc(_0x321512,_0x239201);(_0x18c53f>0.005&&Math['abs'](this['scaleX']-_0x18c53f)>0.005||_0x33cfba>0.005&&Math['abs'](this['scaleY']-_0x33cfba)>0.005)&&(this['scaleX']=_0x18c53f,this['scaleY']=_0x33cfba,_0x59ae99|=0x10,_0xa0643c=_0x31d448=!0x0);}let _0x5a7bdf=(parseInt(_0xda2bb9['paddingTop'])||0x0)*this['scaleY'],_0x293b8d=(parseInt(_0xda2bb9['paddingBottom'])||0x0)*this['scaleY'];this['paddingTop']==_0x5a7bdf&&this['paddingBottom']==_0x293b8d||(this['paddingTop']=_0x5a7bdf,this['paddingBottom']=_0x293b8d,_0x59ae99|=0x12),this['editorWidth']!=_0x5b44c9['scrollDOM']['clientWidth']&&(_0x22c954['lineWrapping']&&(_0x31d448=!0x0),this['editorWidth']=_0x5b44c9['scrollDOM']['clientWidth'],_0x59ae99|=0x10);let _0xa0c3e1=_0x15fcb2(this['view']['contentDOM'],!0x1)['y'];_0xa0c3e1!=this['scrollParent']&&(this['scrollParent']=_0xa0c3e1,this['scrollAnchorHeight']=-0x1,this['scrollOffset']=0x0);let _0x2cc43b=this['getScrollOffset']();this['scrollOffset']!=_0x2cc43b&&(this['scrollAnchorHeight']=-0x1,this['scrollOffset']=_0x2cc43b),this['scrolledToBottom']=_0x2acd73(this['scrollParent']||_0x5b44c9['win']);let _0x158df1=(this['printing']?_0x3a58b6:_0x2cc498)(_0x321512,this['paddingTop']),_0x27eda6=_0x158df1['top']-this['pixelViewport']['top'],_0x3dab0d=_0x158df1['bottom']-this['pixelViewport']['bottom'];this['pixelViewport']=_0x158df1;let _0x517b98=this['pixelViewport']['bottom']>this['pixelViewport']['top']&&this['pixelViewport']['right']>this['pixelViewport']['left'];if(_0x517b98!=this['inView']&&(this['inView']=_0x517b98,_0x517b98&&(_0x31d448=!0x0)),!this['inView']&&!this['scrollTarget']&&!function(_0x16360b){let _0x49d309=_0x16360b['getBoundingClientRect'](),_0x270059=_0x16360b['ownerDocument']['defaultView']||window;return _0x49d309['left']<_0x270059['innerWidth']&&_0x49d309['right']>0x0&&_0x49d309['top']<_0x270059['innerHeight']&&_0x49d309['bottom']>0x0;}(_0x5b44c9['dom']))return 0x0;let _0x3aef2f=_0x239201['width'];if(this['contentDOMWidth']==_0x3aef2f&&this['editorHeight']==_0x5b44c9['scrollDOM']['clientHeight']||(this['contentDOMWidth']=_0x239201['width'],this['editorHeight']=_0x5b44c9['scrollDOM']['clientHeight'],_0x59ae99|=0x10),_0x31d448){let _0x464fcb=_0x5b44c9['docView']['measureVisibleLineHeights'](this['viewport']);if(_0x22c954['mustRefreshForHeights'](_0x464fcb)&&(_0xa0643c=!0x0),_0xa0643c||_0x22c954['lineWrapping']&&Math['abs'](_0x3aef2f-this['contentDOMWidth'])>_0x22c954['charWidth']){let {lineHeight:_0x3185dc,charWidth:_0x14328e,textHeight:_0x5e8be1}=_0x5b44c9['docView']['measureTextSize']();_0xa0643c=_0x3185dc>0x0&&_0x22c954['refresh'](_0x3bf9f3,_0x3185dc,_0x14328e,_0x5e8be1,Math['max'](0x5,_0x3aef2f/_0x14328e),_0x464fcb),_0xa0643c&&(_0x5b44c9['docView']['minWidth']=0x0,_0x59ae99|=0x10);}_0x27eda6>0x0&&_0x3dab0d>0x0?_0x73be6a=Math['max'](_0x27eda6,_0x3dab0d):_0x27eda6<0x0&&_0x3dab0d<0x0&&(_0x73be6a=Math['min'](_0x27eda6,_0x3dab0d)),_0x46e8c8();for(let _0x371023 of this['viewports']){let _0x2b9dc2=_0x371023['from']==this['viewport']['from']?_0x464fcb:_0x5b44c9['docView']['measureVisibleLineHeights'](_0x371023);this['heightMap']=(_0xa0643c?_0x2e9a97['empty']()['applyChanges'](this['stateDeco'],_0x3de5aa['empty'],this['heightOracle'],[new _0x190892(0x0,0x0,0x0,_0x5b44c9['state']['doc']['length'])]):this['heightMap'])['updateHeight'](_0x22c954,0x0,_0xa0643c,new _0x6d971d(_0x371023['from'],_0x2b9dc2));}_0x246d3c&&(_0x59ae99|=0x2);}let _0x22d503=!this['viewportIsAppropriate'](this['viewport'],_0x73be6a)||this['scrollTarget']&&(this['scrollTarget']['range']['head']<this['viewport']['from']||this['scrollTarget']['range']['head']>this['viewport']['to']);return _0x22d503&&(0x2&_0x59ae99&&(_0x59ae99|=this['updateScaler']()),this['viewport']=this['getViewport'](_0x73be6a,this['scrollTarget']),_0x59ae99|=this['updateForViewport']()),(0x2&_0x59ae99||_0x22d503)&&this['updateViewportLines'](),(this['lineGaps']['length']||this['viewport']['to']-this['viewport']['from']>0xfa0)&&this['updateLineGaps'](this['ensureLineGaps'](_0xa0643c?[]:this['lineGaps'],_0x5b44c9)),_0x59ae99|=this['computeVisibleRanges'](),this['mustEnforceCursorAssoc']&&(this['mustEnforceCursorAssoc']=!0x1,_0x5b44c9['docView']['enforceCursorAssoc']()),_0x59ae99;}get['visibleTop'](){return this['scaler']['fromDOM'](this['pixelViewport']['top']);}get['visibleBottom'](){return this['scaler']['fromDOM'](this['pixelViewport']['bottom']);}['getViewport'](_0x3b13ce,_0x50a253){let _0x540b5a=0.5-Math['max'](-0.5,Math['min'](0.5,_0x3b13ce/0x3e8/0x2)),_0x87e955=this['heightMap'],_0x121f4e=this['heightOracle'],{visibleTop:_0x28aa39,visibleBottom:_0x147b93}=this,_0x57f6cb=new _0x2b4856(_0x87e955['lineAt'](_0x28aa39-0x3e8*_0x540b5a,_0x1d184a['ByHeight'],_0x121f4e,0x0,0x0)['from'],_0x87e955['lineAt'](_0x147b93+0x3e8*(0x1-_0x540b5a),_0x1d184a['ByHeight'],_0x121f4e,0x0,0x0)['to']);if(_0x50a253){let {head:_0x3cb569}=_0x50a253['range'];if(_0x3cb569<_0x57f6cb['from']||_0x3cb569>_0x57f6cb['to']){let _0x3f11f2,_0x19e327=Math['min'](this['editorHeight'],this['pixelViewport']['bottom']-this['pixelViewport']['top']),_0x40a3d8=_0x87e955['lineAt'](_0x3cb569,_0x1d184a['ByPos'],_0x121f4e,0x0,0x0);_0x3f11f2='center'==_0x50a253['y']?(_0x40a3d8['top']+_0x40a3d8['bottom'])/0x2-_0x19e327/0x2:'start'==_0x50a253['y']||'nearest'==_0x50a253['y']&&_0x3cb569<_0x57f6cb['from']?_0x40a3d8['top']:_0x40a3d8['bottom']-_0x19e327,_0x57f6cb=new _0x2b4856(_0x87e955['lineAt'](_0x3f11f2-0x1f4,_0x1d184a['ByHeight'],_0x121f4e,0x0,0x0)['from'],_0x87e955['lineAt'](_0x3f11f2+_0x19e327+0x1f4,_0x1d184a['ByHeight'],_0x121f4e,0x0,0x0)['to']);}}return _0x57f6cb;}['mapViewport'](_0x3d4738,_0x45e499){let _0x1b73c0=_0x45e499['mapPos'](_0x3d4738['from'],-0x1),_0x1e273e=_0x45e499['mapPos'](_0x3d4738['to'],0x1);return new _0x2b4856(this['heightMap']['lineAt'](_0x1b73c0,_0x1d184a['ByPos'],this['heightOracle'],0x0,0x0)['from'],this['heightMap']['lineAt'](_0x1e273e,_0x1d184a['ByPos'],this['heightOracle'],0x0,0x0)['to']);}['viewportIsAppropriate']({from:_0x4e060a,to:_0x46b703},_0xa82f8f=0x0){if(!this['inView'])return!0x0;let {top:_0xcde75b}=this['heightMap']['lineAt'](_0x4e060a,_0x1d184a['ByPos'],this['heightOracle'],0x0,0x0),{bottom:_0x34c471}=this['heightMap']['lineAt'](_0x46b703,_0x1d184a['ByPos'],this['heightOracle'],0x0,0x0),{visibleTop:_0x5d567b,visibleBottom:_0x5d1a48}=this;return(0x0==_0x4e060a||_0xcde75b<=_0x5d567b-Math['max'](0xa,Math['min'](-_0xa82f8f,0xfa)))&&(_0x46b703==this['state']['doc']['length']||_0x34c471>=_0x5d1a48+Math['max'](0xa,Math['min'](_0xa82f8f,0xfa)))&&_0xcde75b>_0x5d567b-0x7d0&&_0x34c471<_0x5d1a48+0x7d0;}['mapLineGaps'](_0x448fa0,_0x42b2e0){if(!_0x448fa0['length']||_0x42b2e0['empty'])return _0x448fa0;let _0xc470b3=[];for(let _0x3794ee of _0x448fa0)_0x42b2e0['touchesRange'](_0x3794ee['from'],_0x3794ee['to'])||_0xc470b3['push'](new _0x28cdd5(_0x42b2e0['mapPos'](_0x3794ee['from']),_0x42b2e0['mapPos'](_0x3794ee['to']),_0x3794ee['size'],_0x3794ee['displaySize']));return _0xc470b3;}['ensureLineGaps'](_0x3ff024,_0x2b4d76){let _0x2237b4=this['heightOracle']['lineWrapping'],_0x26326e=_0x2237b4?0x2710:0x7d0,_0x3d1175=_0x26326e>>0x1,_0x322304=_0x26326e<<0x1;if(this['defaultTextDirection']!=_0x48659f['LTR']&&!_0x2237b4)return[];let _0x20cd8e=[],_0xd1076f=(_0x434047,_0x2b66d7,_0x1291be,_0x2861d6)=>{if(_0x2b66d7-_0x434047<_0x3d1175)return;let _0x5c8558=this['state']['selection']['main'],_0x44e429=[_0x5c8558['from']];_0x5c8558['empty']||_0x44e429['push'](_0x5c8558['to']);for(let _0x2a62ec of _0x44e429)if(_0x2a62ec>_0x434047&&_0x2a62ec<_0x2b66d7)return _0xd1076f(_0x434047,_0x2a62ec-0xa,_0x1291be,_0x2861d6),void _0xd1076f(_0x2a62ec+0xa,_0x2b66d7,_0x1291be,_0x2861d6);let _0x18c30a=function(_0x5cead7,_0xb6f462){for(let _0x19164b of _0x5cead7)if(_0xb6f462(_0x19164b))return _0x19164b;}(_0x3ff024,_0x3e2f99=>_0x3e2f99['from']>=_0x1291be['from']&&_0x3e2f99['to']<=_0x1291be['to']&&Math['abs'](_0x3e2f99['from']-_0x434047)<_0x3d1175&&Math['abs'](_0x3e2f99['to']-_0x2b66d7)<_0x3d1175&&!_0x44e429['some'](_0x3087a8=>_0x3e2f99['from']<_0x3087a8&&_0x3e2f99['to']>_0x3087a8));if(!_0x18c30a){if(_0x2b66d7<_0x1291be['to']&&_0x2b4d76&&_0x2237b4&&_0x2b4d76['visibleRanges']['some'](_0x5d0730=>_0x5d0730['from']<=_0x2b66d7&&_0x5d0730['to']>=_0x2b66d7)){let _0x30b394=_0x2b4d76['moveToLineBoundary'](_0x152831['cursor'](_0x2b66d7),!0x1,!0x0)['head'];_0x30b394>_0x434047&&(_0x2b66d7=_0x30b394);}let _0x7f72f7=this['gapSize'](_0x1291be,_0x434047,_0x2b66d7,_0x2861d6);_0x18c30a=new _0x28cdd5(_0x434047,_0x2b66d7,_0x7f72f7,_0x2237b4||_0x7f72f7<0x1e8480?_0x7f72f7:0x1e8480);}_0x20cd8e['push'](_0x18c30a);},_0x3c79d8=_0x7c78de=>{if(_0x7c78de['length']<_0x322304||_0x7c78de['type']!=_0x3027bf['Text'])return;let _0x501ba2=function(_0x1a9314,_0x2d53ce,_0x3c23a6){let _0x4cbd2a=[],_0x2cd2ef=_0x1a9314,_0x5c755b=0x0;return _0x397923['spans'](_0x3c23a6,_0x1a9314,_0x2d53ce,{'span'(){},'point'(_0x2f51ea,_0x1dd214){_0x2f51ea>_0x2cd2ef&&(_0x4cbd2a['push']({'from':_0x2cd2ef,'to':_0x2f51ea}),_0x5c755b+=_0x2f51ea-_0x2cd2ef),_0x2cd2ef=_0x1dd214;}},0x14),_0x2cd2ef<_0x2d53ce&&(_0x4cbd2a['push']({'from':_0x2cd2ef,'to':_0x2d53ce}),_0x5c755b+=_0x2d53ce-_0x2cd2ef),{'total':_0x5c755b,'ranges':_0x4cbd2a};}(_0x7c78de['from'],_0x7c78de['to'],this['stateDeco']);if(_0x501ba2['total']<_0x322304)return;let _0x19f873,_0x4a3f10,_0x43d9be=this['scrollTarget']?this['scrollTarget']['range']['head']:null;if(_0x2237b4){let _0x4192c9,_0x36c4c0,_0x4a80dd=_0x26326e/this['heightOracle']['lineLength']*this['heightOracle']['lineHeight'];if(null!=_0x43d9be){let _0x419593=_0x28c36d(_0x501ba2,_0x43d9be),_0x13e263=((this['visibleBottom']-this['visibleTop'])/0x2+_0x4a80dd)/_0x7c78de['height'];_0x4192c9=_0x419593-_0x13e263,_0x36c4c0=_0x419593+_0x13e263;}else _0x4192c9=(this['visibleTop']-_0x7c78de['top']-_0x4a80dd)/_0x7c78de['height'],_0x36c4c0=(this['visibleBottom']-_0x7c78de['top']+_0x4a80dd)/_0x7c78de['height'];_0x19f873=_0x278c8a(_0x501ba2,_0x4192c9),_0x4a3f10=_0x278c8a(_0x501ba2,_0x36c4c0);}else{let _0x45d40c=_0x501ba2['total']*this['heightOracle']['charWidth'],_0x5ac8ff=_0x26326e*this['heightOracle']['charWidth'],_0x173e6f=0x0;if(_0x45d40c>0x1e8480){for(let _0x2404b2 of _0x3ff024)_0x2404b2['from']>=_0x7c78de['from']&&_0x2404b2['from']<_0x7c78de['to']&&_0x2404b2['size']!=_0x2404b2['displaySize']&&_0x2404b2['from']*this['heightOracle']['charWidth']+_0x173e6f<this['pixelViewport']['left']&&(_0x173e6f=_0x2404b2['size']-_0x2404b2['displaySize']);}let _0x2b5888,_0x5e9379,_0x214112=this['pixelViewport']['left']+_0x173e6f,_0x549d47=this['pixelViewport']['right']+_0x173e6f;if(null!=_0x43d9be){let _0x2561fa=_0x28c36d(_0x501ba2,_0x43d9be),_0x5b270f=((_0x549d47-_0x214112)/0x2+_0x5ac8ff)/_0x45d40c;_0x2b5888=_0x2561fa-_0x5b270f,_0x5e9379=_0x2561fa+_0x5b270f;}else _0x2b5888=(_0x214112-_0x5ac8ff)/_0x45d40c,_0x5e9379=(_0x549d47+_0x5ac8ff)/_0x45d40c;_0x19f873=_0x278c8a(_0x501ba2,_0x2b5888),_0x4a3f10=_0x278c8a(_0x501ba2,_0x5e9379);}_0x19f873>_0x7c78de['from']&&_0xd1076f(_0x7c78de['from'],_0x19f873,_0x7c78de,_0x501ba2),_0x4a3f10<_0x7c78de['to']&&_0xd1076f(_0x4a3f10,_0x7c78de['to'],_0x7c78de,_0x501ba2);};for(let _0x331d63 of this['viewportLines'])Array['isArray'](_0x331d63['type'])?_0x331d63['type']['forEach'](_0x3c79d8):_0x3c79d8(_0x331d63);return _0x20cd8e;}['gapSize'](_0x4f1af1,_0x5c8c09,_0x449c86,_0x243f75){let _0x3ce587=_0x28c36d(_0x243f75,_0x449c86)-_0x28c36d(_0x243f75,_0x5c8c09);return this['heightOracle']['lineWrapping']?_0x4f1af1['height']*_0x3ce587:_0x243f75['total']*this['heightOracle']['charWidth']*_0x3ce587;}['updateLineGaps'](_0x35af3d){_0x28cdd5['same'](_0x35af3d,this['lineGaps'])||(this['lineGaps']=_0x35af3d,this['lineGapDeco']=_0x68bd12['set'](_0x35af3d['map'](_0x3c7ca6=>_0x3c7ca6['draw'](this,this['heightOracle']['lineWrapping']))));}['computeVisibleRanges'](_0x17aeab){let _0x5dc36f=this['stateDeco'];this['lineGaps']['length']&&(_0x5dc36f=_0x5dc36f['concat'](this['lineGapDeco']));let _0x321689=[];_0x397923['spans'](_0x5dc36f,this['viewport']['from'],this['viewport']['to'],{'span'(_0x31cb77,_0x28cc83){_0x321689['push']({'from':_0x31cb77,'to':_0x28cc83});},'point'(){}},0x14);let _0x3992a6=0x0;if(_0x321689['length']!=this['visibleRanges']['length'])_0x3992a6=0xc;else for(let _0x258db9=0x0;_0x258db9<_0x321689['length']&&!(0x8&_0x3992a6);_0x258db9++){let _0x474981=this['visibleRanges'][_0x258db9],_0x26e6d5=_0x321689[_0x258db9];_0x474981['from']==_0x26e6d5['from']&&_0x474981['to']==_0x26e6d5['to']||(_0x3992a6|=0x4,_0x17aeab&&_0x17aeab['mapPos'](_0x474981['from'],-0x1)==_0x26e6d5['from']&&_0x17aeab['mapPos'](_0x474981['to'],0x1)==_0x26e6d5['to']||(_0x3992a6|=0x8));}return this['visibleRanges']=_0x321689,_0x3992a6;}['lineBlockAt'](_0x98eb40){return _0x98eb40>=this['viewport']['from']&&_0x98eb40<=this['viewport']['to']&&this['viewportLines']['find'](_0x103fce=>_0x103fce['from']<=_0x98eb40&&_0x103fce['to']>=_0x98eb40)||_0x4656ac(this['heightMap']['lineAt'](_0x98eb40,_0x1d184a['ByPos'],this['heightOracle'],0x0,0x0),this['scaler']);}['lineBlockAtHeight'](_0x42be13){return _0x42be13>=this['viewportLines'][0x0]['top']&&_0x42be13<=this['viewportLines'][this['viewportLines']['length']-0x1]['bottom']&&this['viewportLines']['find'](_0x4d0f46=>_0x4d0f46['top']<=_0x42be13&&_0x4d0f46['bottom']>=_0x42be13)||_0x4656ac(this['heightMap']['lineAt'](this['scaler']['fromDOM'](_0x42be13),_0x1d184a['ByHeight'],this['heightOracle'],0x0,0x0),this['scaler']);}['getScrollOffset'](){return(this['scrollParent']==this['view']['scrollDOM']?this['scrollParent']['scrollTop']:(this['scrollParent']?this['scrollParent']['getBoundingClientRect']()['top']:0x0)-this['view']['contentDOM']['getBoundingClientRect']()['top'])*this['scaleY'];}['scrollAnchorAt'](_0x50dd79){let _0x4d3028=this['lineBlockAtHeight'](_0x50dd79+0x8);return _0x4d3028['from']>=this['viewport']['from']||this['viewportLines'][0x0]['top']-_0x50dd79>0xc8?_0x4d3028:this['viewportLines'][0x0];}['elementAtHeight'](_0x51af9b){return _0x4656ac(this['heightMap']['blockAt'](this['scaler']['fromDOM'](_0x51af9b),this['heightOracle'],0x0,0x0),this['scaler']);}get['docHeight'](){return this['scaler']['toDOM'](this['heightMap']['height']);}get['contentHeight'](){return this['docHeight']+this['paddingTop']+this['paddingBottom'];}},_0x2b4856=class{constructor(_0x213414,_0x22f819){this['from']=_0x213414,this['to']=_0x22f819;}};function _0x278c8a({total:_0x57d0f2,ranges:_0x4d5c26},_0xae7ad7){if(_0xae7ad7<=0x0)return _0x4d5c26[0x0]['from'];if(_0xae7ad7>=0x1)return _0x4d5c26[_0x4d5c26['length']-0x1]['to'];let _0x1fc44e=Math['floor'](_0x57d0f2*_0xae7ad7);for(let _0x3bf0fb=0x0;;_0x3bf0fb++){let {from:_0x1c9bb0,to:_0x2c922b}=_0x4d5c26[_0x3bf0fb],_0x56d035=_0x2c922b-_0x1c9bb0;if(_0x1fc44e<=_0x56d035)return _0x1c9bb0+_0x1fc44e;_0x1fc44e-=_0x56d035;}}function _0x28c36d(_0x274277,_0x2d9ddb){let _0x2d00c8=0x0;for(let {from:_0x188736,to:_0x23a36c}of _0x274277['ranges']){if(_0x2d9ddb<=_0x23a36c){_0x2d00c8+=_0x2d9ddb-_0x188736;break;}_0x2d00c8+=_0x23a36c-_0x188736;}return _0x2d00c8/_0x274277['total'];}const _0x60bc8b={'toDOM':_0x4bc0c5=>_0x4bc0c5,'fromDOM':_0x429527=>_0x429527,'scale':0x1,'eq'(_0xc391cf){return _0xc391cf==this;}};function _0x2efb11(_0x56cb8c){let _0x1fe8a0=_0x56cb8c['facet'](_0x469ee8)['filter'](_0xe67643=>'function'!=typeof _0xe67643),_0xe1360=_0x56cb8c['facet'](_0x16ae8)['filter'](_0x318e47=>'function'!=typeof _0x318e47);return _0xe1360['length']&&_0x1fe8a0['push'](_0x397923['join'](_0xe1360)),_0x1fe8a0;}var _0x520388=class _0x1ea21b{constructor(_0x1baec9,_0x2e48cf,_0x279250){let _0x18bd51=0x0,_0x413bb6=0x0,_0x4b19c4=0x0;this['viewports']=_0x279250['map'](({from:_0xe7466e,to:_0x210a10})=>{let _0x3857c6=_0x2e48cf['lineAt'](_0xe7466e,_0x1d184a['ByPos'],_0x1baec9,0x0,0x0)['top'],_0x23fb23=_0x2e48cf['lineAt'](_0x210a10,_0x1d184a['ByPos'],_0x1baec9,0x0,0x0)['bottom'];return _0x18bd51+=_0x23fb23-_0x3857c6,{'from':_0xe7466e,'to':_0x210a10,'top':_0x3857c6,'bottom':_0x23fb23,'domTop':0x0,'domBottom':0x0};}),this['scale']=(0x6acfc0-_0x18bd51)/(_0x2e48cf['height']-_0x18bd51);for(let _0x55630e of this['viewports'])_0x55630e['domTop']=_0x4b19c4+(_0x55630e['top']-_0x413bb6)*this['scale'],_0x4b19c4=_0x55630e['domBottom']=_0x55630e['domTop']+(_0x55630e['bottom']-_0x55630e['top']),_0x413bb6=_0x55630e['bottom'];}['toDOM'](_0x5e006f){for(let _0x206d82=0x0,_0x234808=0x0,_0x1f3cd4=0x0;;_0x206d82++){let _0x5c76fa=_0x206d82<this['viewports']['length']?this['viewports'][_0x206d82]:null;if(!_0x5c76fa||_0x5e006f<_0x5c76fa['top'])return _0x1f3cd4+(_0x5e006f-_0x234808)*this['scale'];if(_0x5e006f<=_0x5c76fa['bottom'])return _0x5c76fa['domTop']+(_0x5e006f-_0x5c76fa['top']);_0x234808=_0x5c76fa['bottom'],_0x1f3cd4=_0x5c76fa['domBottom'];}}['fromDOM'](_0x15d6d6){for(let _0x166e6e=0x0,_0x1f5559=0x0,_0x5adb34=0x0;;_0x166e6e++){let _0x23dbc7=_0x166e6e<this['viewports']['length']?this['viewports'][_0x166e6e]:null;if(!_0x23dbc7||_0x15d6d6<_0x23dbc7['domTop'])return _0x1f5559+(_0x15d6d6-_0x5adb34)/this['scale'];if(_0x15d6d6<=_0x23dbc7['domBottom'])return _0x23dbc7['top']+(_0x15d6d6-_0x23dbc7['domTop']);_0x1f5559=_0x23dbc7['bottom'],_0x5adb34=_0x23dbc7['domBottom'];}}['eq'](_0x685cb0){return _0x685cb0 instanceof _0x1ea21b&&(this['scale']==_0x685cb0['scale']&&this['viewports']['length']==_0x685cb0['viewports']['length']&&this['viewports']['every']((_0x9b9655,_0x33ec9c)=>_0x9b9655['from']==_0x685cb0['viewports'][_0x33ec9c]['from']&&_0x9b9655['to']==_0x685cb0['viewports'][_0x33ec9c]['to']));}};function _0x4656ac(_0x43d71c,_0x13263b){if(0x1==_0x13263b['scale'])return _0x43d71c;let _0x4b9829=_0x13263b['toDOM'](_0x43d71c['top']),_0x48c11a=_0x13263b['toDOM'](_0x43d71c['bottom']);return new _0x3f8a9c(_0x43d71c['from'],_0x43d71c['length'],_0x4b9829,_0x48c11a-_0x4b9829,Array['isArray'](_0x43d71c['_content'])?_0x43d71c['_content']['map'](_0x416974=>_0x4656ac(_0x416974,_0x13263b)):_0x43d71c['_content']);}const _0x27615c=_0x17b3ea['define']({'combine':_0x517e6b=>_0x517e6b['join']('\x20')}),_0x29dd97=_0x17b3ea['define']({'combine':_0x3f6142=>_0x3f6142['indexOf'](!0x0)>-0x1}),_0x4d1bff=_0x134700['newName'](),_0x20c35b=_0x134700['newName'](),_0x577457=_0x134700['newName'](),_0xa2a83f={'&light':'.'+_0x20c35b,'&dark':'.'+_0x577457};function _0x26bbf4(_0x55db0e,_0xd63d9,_0x4ae8d4){return new _0x134700(_0xd63d9,{'finish':_0x1717e4=>/&/['test'](_0x1717e4)?_0x1717e4['replace'](/&\w*/,_0x39a2ef=>{if('&'==_0x39a2ef)return _0x55db0e;if(!_0x4ae8d4||!_0x4ae8d4[_0x39a2ef])throw new RangeError('Unsupported\x20selector:\x20'+_0x39a2ef);return _0x4ae8d4[_0x39a2ef];}):_0x55db0e+'\x20'+_0x1717e4});}const _0x81f417=_0x26bbf4('.'+_0x4d1bff,{'&':{'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':{'userSelect':'none','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-selectionHandle':{'backgroundColor':'currentColor','width':'1.5px'},'.cm-selectionHandle-start::before,\x20.cm-selectionHandle-end::before':{'content':'\x22\x22','backgroundColor':'inherit','borderRadius':'50%','width':'8px','height':'8px','position':'absolute','left':'-3.25px'},'.cm-selectionHandle-start::before':{'top':'-8px'},'.cm-selectionHandle-end::before':{'bottom':'-8px'},'.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','zIndex':0xc8},'.cm-gutters-before':{'insetInlineStart':0x0},'.cm-gutters-after':{'insetInlineEnd':0x0},'&light\x20.cm-gutters':{'backgroundColor':'#f5f5f5','color':'#6c6c6c','border':'0px\x20solid\x20#ddd','&.cm-gutters-before':{'borderRightWidth':'1px'},'&.cm-gutters-after':{'borderLeftWidth':'1px'}},'&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-dialog':{'padding':'2px\x2019px\x204px\x206px','position':'relative','&\x20label':{'fontSize':'80%'}},'.cm-dialog-close':{'position':'absolute','top':'3px','right':'4px','backgroundColor':'inherit','border':'none','font':'inherit','fontSize':'14px','padding':'0'},'.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','userSelect':'none'},'.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'}},_0xa2a83f),_0x607388={'childList':!0x0,'characterData':!0x0,'subtree':!0x0,'attributes':!0x0,'characterDataOldValue':!0x0},_0x54554e=_0x13bfcb['ie']&&_0x13bfcb['ie_version']<=0xb;var _0x232259=class{constructor(_0x2cc5c5){this['view']=_0x2cc5c5,this['active']=!0x1,this['editContext']=null,this['selectionRange']=new _0x38c00c(),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']=_0x2cc5c5['contentDOM'],this['observer']=new MutationObserver(_0x5c19af=>{for(let _0x320bd8 of _0x5c19af)this['queue']['push'](_0x320bd8);(_0x13bfcb['ie']&&_0x13bfcb['ie_version']<=0xb||_0x13bfcb['ios']&&_0x2cc5c5['composing'])&&_0x5c19af['some'](_0x4d024e=>'childList'==_0x4d024e['type']&&_0x4d024e['removedNodes']['length']||'characterData'==_0x4d024e['type']&&_0x4d024e['oldValue']['length']>_0x4d024e['target']['nodeValue']['length'])?this['flushSoon']():this['flush']();}),!window['EditContext']||!_0x13bfcb['android']||!0x1===_0x2cc5c5['constructor']['EDIT_CONTEXT']||_0x13bfcb['chrome']&&_0x13bfcb['chrome_version']<0x7e||(this['editContext']=new _0x27183c(_0x2cc5c5),_0x2cc5c5['state']['facet'](_0x390720)&&(_0x2cc5c5['contentDOM']['editContext']=this['editContext']['editContext'])),_0x54554e&&(this['onCharData']=_0x2736f1=>{this['queue']['push']({'target':_0x2736f1['target'],'type':'characterData','oldValue':_0x2736f1['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 _0x102931;(null===(_0x102931=this['view']['docView'])||void 0x0===_0x102931?void 0x0:_0x102931['lastUpdate'])<Date['now']()-0x4b&&this['onResize']();}),this['resizeScroll']['observe'](_0x2cc5c5['scrollDOM'])),this['addWindowListeners'](this['win']=_0x2cc5c5['win']),this['start'](),'function'==typeof IntersectionObserver&&(this['intersection']=new IntersectionObserver(_0x1aff35=>{this['parentCheck']<0x0&&(this['parentCheck']=setTimeout(this['listenForScroll']['bind'](this),0x3e8)),_0x1aff35['length']>0x0&&_0x1aff35[_0x1aff35['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(_0x18a3aa=>{_0x18a3aa['length']>0x0&&_0x18a3aa[_0x18a3aa['length']-0x1]['intersectionRatio']>0x0&&this['onScrollChanged'](document['createEvent']('Event'));},{})),this['listenForScroll'](),this['readSelectionRange']();}['onScrollChanged'](_0x515b8a){this['view']['inputState']['runHandlers']('scroll',_0x515b8a),this['intersecting']&&this['view']['measure']();}['onScroll'](_0x4a42fd){this['intersecting']&&this['flush'](!0x1),this['editContext']&&this['view']['requestMeasure'](this['editContext']['measureReq']),this['onScrollChanged'](_0x4a42fd);}['onResize'](){this['resizeTimeout']<0x0&&(this['resizeTimeout']=setTimeout(()=>{this['resizeTimeout']=-0x1,this['view']['requestMeasure']();},0x32));}['onPrint'](_0x145e32){('change'!=_0x145e32['type']&&_0x145e32['type']||_0x145e32['matches'])&&(this['view']['viewState']['printing']=!0x0,this['view']['measure'](),setTimeout(()=>{this['view']['viewState']['printing']=!0x1,this['view']['requestMeasure']();},0x1f4));}['updateGaps'](_0x44c39f){if(this['gapIntersection']&&(_0x44c39f['length']!=this['gaps']['length']||this['gaps']['some']((_0x531fa4,_0x42c178)=>_0x531fa4!=_0x44c39f[_0x42c178]))){this['gapIntersection']['disconnect']();for(let _0x168e52 of _0x44c39f)this['gapIntersection']['observe'](_0x168e52);this['gaps']=_0x44c39f;}}['onSelectionChange'](_0x368c09){let _0x21fd63=this['selectionChanged'];if(!this['readSelectionRange']()||this['delayedAndroidKey'])return;let {view:_0x351089}=this,_0x55050d=this['selectionRange'];if(_0x351089['state']['facet'](_0x390720)?_0x351089['root']['activeElement']!=this['dom']:!_0x4f459f(this['dom'],_0x55050d))return;let _0x4850dd=_0x55050d['anchorNode']&&_0x351089['docView']['tile']['nearest'](_0x55050d['anchorNode']);_0x4850dd&&_0x4850dd['isWidget']()&&_0x4850dd['widget']['ignoreEvent'](_0x368c09)?_0x21fd63||(this['selectionChanged']=!0x1):(_0x13bfcb['ie']&&_0x13bfcb['ie_version']<=0xb||_0x13bfcb['android']&&_0x13bfcb['chrome'])&&!_0x351089['state']['selection']['main']['empty']&&_0x55050d['focusNode']&&_0x274330(_0x55050d['focusNode'],_0x55050d['focusOffset'],_0x55050d['anchorNode'],_0x55050d['anchorOffset'])?this['flushSoon']():this['flush'](!0x1);}['readSelectionRange'](){let {view:_0x5691eb}=this,_0x3e3c95=_0x35c92b(_0x5691eb['root']);if(!_0x3e3c95)return!0x1;let _0x41e4aa=_0x13bfcb['safari']&&0xb==_0x5691eb['root']['nodeType']&&_0x5691eb['root']['activeElement']==this['dom']&&function(_0x4eb83c,_0x2a57fd){if(_0x2a57fd['getComposedRanges']){let _0x1bbf3f=_0x2a57fd['getComposedRanges'](_0x4eb83c['root'])[0x0];if(_0x1bbf3f)return _0x16ad62(_0x4eb83c,_0x1bbf3f);}let _0x83d5dd=null;function _0x1a4369(_0x43df4e){_0x43df4e['preventDefault'](),_0x43df4e['stopImmediatePropagation'](),_0x83d5dd=_0x43df4e['getTargetRanges']()[0x0];}return _0x4eb83c['contentDOM']['addEventListener']('beforeinput',_0x1a4369,!0x0),_0x4eb83c['dom']['ownerDocument']['execCommand']('indent'),_0x4eb83c['contentDOM']['removeEventListener']('beforeinput',_0x1a4369,!0x0),_0x83d5dd?_0x16ad62(_0x4eb83c,_0x83d5dd):null;}(this['view'],_0x3e3c95)||_0x3e3c95;if(!_0x41e4aa||this['selectionRange']['eq'](_0x41e4aa))return!0x1;let _0xadcc36=_0x4f459f(this['dom'],_0x41e4aa);return _0xadcc36&&!this['selectionChanged']&&_0x5691eb['inputState']['lastFocusTime']>Date['now']()-0xc8&&_0x5691eb['inputState']['lastTouchTime']<Date['now']()-0x12c&&function(_0x7d8bb3,_0x70b8de){let _0x4b87e2=_0x70b8de['focusNode'],_0x470318=_0x70b8de['focusOffset'];if(!_0x4b87e2||_0x70b8de['anchorNode']!=_0x4b87e2||_0x70b8de['anchorOffset']!=_0x470318)return!0x1;for(_0x470318=Math['min'](_0x470318,_0x998b10(_0x4b87e2));;)if(_0x470318){if(0x1!=_0x4b87e2['nodeType'])return!0x1;let _0x86d9aa=_0x4b87e2['childNodes'][_0x470318-0x1];'false'==_0x86d9aa['contentEditable']?_0x470318--:(_0x4b87e2=_0x86d9aa,_0x470318=_0x998b10(_0x4b87e2));}else{if(_0x4b87e2==_0x7d8bb3)return!0x0;_0x470318=_0x30e7ff(_0x4b87e2),_0x4b87e2=_0x4b87e2['parentNode'];}}(this['dom'],_0x41e4aa)?(this['view']['inputState']['lastFocusTime']=0x0,_0x5691eb['docView']['updateSelection'](),!0x1):(this['selectionRange']['setRange'](_0x41e4aa),_0xadcc36&&(this['selectionChanged']=!0x0),!0x0);}['setSelectionRange'](_0x41fa0b,_0x417ae5){this['selectionRange']['set'](_0x41fa0b['node'],_0x41fa0b['offset'],_0x417ae5['node'],_0x417ae5['offset']),this['selectionChanged']=!0x1;}['clearSelectionRange'](){this['selectionRange']['set'](null,0x0,null,0x0);}['listenForScroll'](){this['parentCheck']=-0x1;let _0x5c6ccd=0x0,_0x5a2633=null;for(let _0x61af97=this['dom'];_0x61af97;)if(0x1==_0x61af97['nodeType'])!_0x5a2633&&_0x5c6ccd<this['scrollTargets']['length']&&this['scrollTargets'][_0x5c6ccd]==_0x61af97?_0x5c6ccd++:_0x5a2633||(_0x5a2633=this['scrollTargets']['slice'](0x0,_0x5c6ccd)),_0x5a2633&&_0x5a2633['push'](_0x61af97),_0x61af97=_0x61af97['assignedSlot']||_0x61af97['parentNode'];else{if(0xb!=_0x61af97['nodeType'])break;_0x61af97=_0x61af97['host'];}if(_0x5c6ccd<this['scrollTargets']['length']&&!_0x5a2633&&(_0x5a2633=this['scrollTargets']['slice'](0x0,_0x5c6ccd)),_0x5a2633){for(let _0x512b24 of this['scrollTargets'])_0x512b24['removeEventListener']('scroll',this['onScroll']);for(let _0x3af415 of this['scrollTargets']=_0x5a2633)_0x3af415['addEventListener']('scroll',this['onScroll']);}}['ignore'](_0x39dc8f){if(!this['active'])return _0x39dc8f();try{return this['stop'](),_0x39dc8f();}finally{this['start'](),this['clear']();}}['start'](){this['active']||(this['observer']['observe'](this['dom'],_0x607388),_0x54554e&&this['dom']['addEventListener']('DOMCharacterDataModified',this['onCharData']),this['active']=!0x0);}['stop'](){this['active']&&(this['active']=!0x1,this['observer']['disconnect'](),_0x54554e&&this['dom']['removeEventListener']('DOMCharacterDataModified',this['onCharData']));}['clear'](){this['processRecords'](),this['queue']['length']=0x0,this['selectionChanged']=!0x1;}['delayAndroidKey'](_0x2ad4b1,_0x1964b9){var _0x552799;if(!this['delayedAndroidKey']){let _0x1d4807=()=>{let _0x4ebf3d=this['delayedAndroidKey'];_0x4ebf3d&&(this['clearDelayedAndroidKey'](),this['view']['inputState']['lastKeyCode']=_0x4ebf3d['keyCode'],this['view']['inputState']['lastKeyTime']=Date['now'](),!this['flush']()&&_0x4ebf3d['force']&&_0x12130e(this['dom'],_0x4ebf3d['key'],_0x4ebf3d['keyCode']));};this['flushingAndroidKey']=this['view']['win']['requestAnimationFrame'](_0x1d4807);}this['delayedAndroidKey']&&'Enter'!=_0x2ad4b1||(this['delayedAndroidKey']={'key':_0x2ad4b1,'keyCode':_0x1964b9,'force':this['lastChange']<Date['now']()-0x32||!!(null===(_0x552799=this['delayedAndroidKey'])||void 0x0===_0x552799?void 0x0:_0x552799['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 _0x81d7d9 of this['observer']['takeRecords']())this['queue']['push'](_0x81d7d9);return this['queue'];}['processRecords'](){let _0xfe5e8d=this['pendingRecords']();_0xfe5e8d['length']&&(this['queue']=[]);let _0x3fb0fe=-0x1,_0x3e3a98=-0x1,_0x24c69f=!0x1;for(let _0x2f0a9f of _0xfe5e8d){let _0x6028f5=this['readMutation'](_0x2f0a9f);_0x6028f5&&(_0x6028f5['typeOver']&&(_0x24c69f=!0x0),-0x1==_0x3fb0fe?{from:_0x3fb0fe,to:_0x3e3a98}=_0x6028f5:(_0x3fb0fe=Math['min'](_0x6028f5['from'],_0x3fb0fe),_0x3e3a98=Math['max'](_0x6028f5['to'],_0x3e3a98)));}return{'from':_0x3fb0fe,'to':_0x3e3a98,'typeOver':_0x24c69f};}['readChange'](){let {from:_0x2d14d2,to:_0x55fa56,typeOver:_0x258e2b}=this['processRecords'](),_0x2a7b5a=this['selectionChanged']&&_0x4f459f(this['dom'],this['selectionRange']);if(_0x2d14d2<0x0&&!_0x2a7b5a)return null;_0x2d14d2>-0x1&&(this['lastChange']=Date['now']()),this['view']['inputState']['lastFocusTime']=0x0,this['selectionChanged']=!0x1;let _0x394c39=new _0x426f15(this['view'],_0x2d14d2,_0x55fa56,_0x258e2b);return this['view']['docView']['domChanged']={'newSel':_0x394c39['newSel']?_0x394c39['newSel']['main']:null},_0x394c39;}['flush'](_0x1157cb=!0x0){if(this['delayedFlush']>=0x0||this['delayedAndroidKey'])return!0x1;_0x1157cb&&this['readSelectionRange']();let _0x51c489=this['readChange']();if(!_0x51c489)return this['view']['requestMeasure'](),!0x1;let _0x2e5b1a=this['view']['state'],_0x27395f=_0x12058d(this['view'],_0x51c489);return this['view']['state']==_0x2e5b1a&&(_0x51c489['domChanged']||_0x51c489['newSel']&&!_0xad07d8(this['view']['state']['selection'],_0x51c489['newSel']['main']))&&this['view']['update']([]),_0x27395f;}['readMutation'](_0x978fc5){let _0x5bac64=this['view']['docView']['tile']['nearest'](_0x978fc5['target']);if(!_0x5bac64||_0x5bac64['isWidget']())return null;if(_0x5bac64['markDirty']('attributes'==_0x978fc5['type']),'childList'==_0x978fc5['type']){let _0x3b9027=_0x3b7878(_0x5bac64,_0x978fc5['previousSibling']||_0x978fc5['target']['previousSibling'],-0x1),_0x474af0=_0x3b7878(_0x5bac64,_0x978fc5['nextSibling']||_0x978fc5['target']['nextSibling'],0x1);return{'from':_0x3b9027?_0x5bac64['posAfter'](_0x3b9027):_0x5bac64['posAtStart'],'to':_0x474af0?_0x5bac64['posBefore'](_0x474af0):_0x5bac64['posAtEnd'],'typeOver':!0x1};}return'characterData'==_0x978fc5['type']?{'from':_0x5bac64['posAtStart'],'to':_0x5bac64['posAtEnd'],'typeOver':_0x978fc5['target']['nodeValue']==_0x978fc5['oldValue']}:null;}['setWindow'](_0x44d6b1){_0x44d6b1!=this['win']&&(this['removeWindowListeners'](this['win']),this['win']=_0x44d6b1,this['addWindowListeners'](this['win']));}['addWindowListeners'](_0x6a162d){_0x6a162d['addEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['addEventListener']?this['printQuery']['addEventListener']('change',this['onPrint']):this['printQuery']['addListener'](this['onPrint']):_0x6a162d['addEventListener']('beforeprint',this['onPrint']),_0x6a162d['addEventListener']('scroll',this['onScroll']),_0x6a162d['document']['addEventListener']('selectionchange',this['onSelectionChange']);}['removeWindowListeners'](_0x5c9973){_0x5c9973['removeEventListener']('scroll',this['onScroll']),_0x5c9973['removeEventListener']('resize',this['onResize']),this['printQuery']?this['printQuery']['removeEventListener']?this['printQuery']['removeEventListener']('change',this['onPrint']):this['printQuery']['removeListener'](this['onPrint']):_0x5c9973['removeEventListener']('beforeprint',this['onPrint']),_0x5c9973['document']['removeEventListener']('selectionchange',this['onSelectionChange']);}['update'](_0x2bd9d4){this['editContext']&&(this['editContext']['update'](_0x2bd9d4),_0x2bd9d4['startState']['facet'](_0x390720)!=_0x2bd9d4['state']['facet'](_0x390720)&&(_0x2bd9d4['view']['contentDOM']['editContext']=_0x2bd9d4['state']['facet'](_0x390720)?this['editContext']['editContext']:null));}['destroy'](){var _0x343a41,_0x144127,_0x3dc609;this['stop'](),null===(_0x343a41=this['intersection'])||void 0x0===_0x343a41||_0x343a41['disconnect'](),null===(_0x144127=this['gapIntersection'])||void 0x0===_0x144127||_0x144127['disconnect'](),null===(_0x3dc609=this['resizeScroll'])||void 0x0===_0x3dc609||_0x3dc609['disconnect']();for(let _0x4f7045 of this['scrollTargets'])_0x4f7045['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 _0x3b7878(_0x146490,_0x410bac,_0x235e31){for(;_0x410bac;){let _0x47102f=_0xbeef60['get'](_0x410bac);if(_0x47102f&&_0x47102f['parent']==_0x146490)return _0x47102f;let _0x42d390=_0x410bac['parentNode'];_0x410bac=_0x42d390!=_0x146490['dom']?_0x42d390:_0x235e31>0x0?_0x410bac['nextSibling']:_0x410bac['previousSibling'];}return null;}function _0x16ad62(_0x5d6e0f,_0x5de54a){let _0x3a53cd=_0x5de54a['startContainer'],_0x43e7ca=_0x5de54a['startOffset'],_0x557621=_0x5de54a['endContainer'],_0x1413ed=_0x5de54a['endOffset'],_0xb12a6a=_0x5d6e0f['docView']['domAtPos'](_0x5d6e0f['state']['selection']['main']['anchor'],0x1);return _0x274330(_0xb12a6a['node'],_0xb12a6a['offset'],_0x557621,_0x1413ed)&&([_0x3a53cd,_0x43e7ca,_0x557621,_0x1413ed]=[_0x557621,_0x1413ed,_0x3a53cd,_0x43e7ca]),{'anchorNode':_0x3a53cd,'anchorOffset':_0x43e7ca,'focusNode':_0x557621,'focusOffset':_0x1413ed};}var _0x27183c=class{constructor(_0x3fd408){this['from']=0x0,this['to']=0x0,this['pendingContextChange']=null,this['handlers']=Object['create'](null),this['composing']=null,this['resetRange'](_0x3fd408['state']);let _0x4d3807=this['editContext']=new window['EditContext']({'text':_0x3fd408['state']['doc']['sliceString'](this['from'],this['to']),'selectionStart':this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x3fd408['state']['selection']['main']['anchor']))),'selectionEnd':this['toContextPos'](_0x3fd408['state']['selection']['main']['head'])});this['handlers']['textupdate']=_0x41eeca=>{let _0x1842fa=_0x3fd408['state']['selection']['main'],{anchor:_0x42fb8f,head:_0x235bec}=_0x1842fa,_0x2e0394=this['toEditorPos'](_0x41eeca['updateRangeStart']),_0x16de9c=this['toEditorPos'](_0x41eeca['updateRangeEnd']);_0x3fd408['inputState']['composing']>=0x0&&!this['composing']&&(this['composing']={'contextBase':_0x41eeca['updateRangeStart'],'editorBase':_0x2e0394,'drifted':!0x1});let _0x14a565=_0x16de9c-_0x2e0394>_0x41eeca['text']['length'];_0x2e0394==this['from']&&_0x42fb8f<this['from']?_0x2e0394=_0x42fb8f:_0x16de9c==this['to']&&_0x42fb8f>this['to']&&(_0x16de9c=_0x42fb8f);let _0xa0f60f=_0x234c0b(_0x3fd408['state']['sliceDoc'](_0x2e0394,_0x16de9c),_0x41eeca['text'],(_0x14a565?_0x1842fa['from']:_0x1842fa['to'])-_0x2e0394,_0x14a565?'end':null);if(!_0xa0f60f){let _0x4e0c28=_0x152831['single'](this['toEditorPos'](_0x41eeca['selectionStart']),this['toEditorPos'](_0x41eeca['selectionEnd']));return void(_0xad07d8(_0x4e0c28,_0x1842fa)||_0x3fd408['dispatch']({'selection':_0x4e0c28,'userEvent':'select'}));}let _0x4435c1={'from':_0xa0f60f['from']+_0x2e0394,'to':_0xa0f60f['toA']+_0x2e0394,'insert':_0x3de5aa['of'](_0x41eeca['text']['slice'](_0xa0f60f['from'],_0xa0f60f['toB'])['split']('\x0a'))};if((_0x13bfcb['mac']||_0x13bfcb['android'])&&_0x4435c1['from']==_0x235bec-0x1&&/^\. ?$/['test'](_0x41eeca['text'])&&'off'==_0x3fd408['contentDOM']['getAttribute']('autocorrect')&&(_0x4435c1={'from':_0x2e0394,'to':_0x16de9c,'insert':_0x3de5aa['of']([_0x41eeca['text']['replace']('.','\x20')])}),this['pendingContextChange']=_0x4435c1,!_0x3fd408['state']['readOnly']){let _0x5f1a34=this['to']-this['from']+(_0x4435c1['to']-_0x4435c1['from']+_0x4435c1['insert']['length']);_0x1a1f62(_0x3fd408,_0x4435c1,_0x152831['single'](this['toEditorPos'](_0x41eeca['selectionStart'],_0x5f1a34),this['toEditorPos'](_0x41eeca['selectionEnd'],_0x5f1a34)));}this['pendingContextChange']&&(this['revertPending'](_0x3fd408['state']),this['setSelection'](_0x3fd408['state'])),_0x4435c1['from']<_0x4435c1['to']&&!_0x4435c1['insert']['length']&&_0x3fd408['inputState']['composing']>=0x0&&!/[\\p{Alphabetic}\\p{Number}_]/['test'](_0x4d3807['text']['slice'](Math['max'](0x0,_0x41eeca['updateRangeStart']-0x1),Math['min'](_0x4d3807['text']['length'],_0x41eeca['updateRangeStart']+0x1)))&&this['handlers']['compositionend'](_0x41eeca);},this['handlers']['characterboundsupdate']=_0x3f9e59=>{let _0x626be0=[],_0x3081b0=null;for(let _0x283385=this['toEditorPos'](_0x3f9e59['rangeStart']),_0x3755a8=this['toEditorPos'](_0x3f9e59['rangeEnd']);_0x283385<_0x3755a8;_0x283385++){let _0x1e0450=_0x3fd408['coordsForChar'](_0x283385);_0x3081b0=_0x1e0450&&new DOMRect(_0x1e0450['left'],_0x1e0450['top'],_0x1e0450['right']-_0x1e0450['left'],_0x1e0450['bottom']-_0x1e0450['top'])||_0x3081b0||new DOMRect(),_0x626be0['push'](_0x3081b0);}_0x4d3807['updateCharacterBounds'](_0x3f9e59['rangeStart'],_0x626be0);},this['handlers']['textformatupdate']=_0xf63ed1=>{let _0x58eb6b=[];for(let _0x5692e0 of _0xf63ed1['getTextFormats']()){let _0x16c557=_0x5692e0['underlineStyle'],_0x118c25=_0x5692e0['underlineThickness'];if(!/none/i['test'](_0x16c557)&&!/none/i['test'](_0x118c25)){let _0x33e3af=this['toEditorPos'](_0x5692e0['rangeStart']),_0x5efa11=this['toEditorPos'](_0x5692e0['rangeEnd']);if(_0x33e3af<_0x5efa11){let _0xb91f4e='text-decoration:\x20underline\x20'+(/^[a-z]/['test'](_0x16c557)?_0x16c557+'\x20':'Dashed'==_0x16c557?'dashed\x20':'Squiggle'==_0x16c557?'wavy\x20':'')+(/thin/i['test'](_0x118c25)?0x1:0x2)+'px';_0x58eb6b['push'](_0x68bd12['mark']({'attributes':{'style':_0xb91f4e}})['range'](_0x33e3af,_0x5efa11));}}}_0x3fd408['dispatch']({'effects':_0x215c65['of'](_0x68bd12['set'](_0x58eb6b))});},this['handlers']['compositionstart']=()=>{_0x3fd408['inputState']['composing']<0x0&&(_0x3fd408['inputState']['composing']=0x0,_0x3fd408['inputState']['compositionFirstChange']=!0x0);},this['handlers']['compositionend']=()=>{if(_0x3fd408['inputState']['composing']=-0x1,_0x3fd408['inputState']['compositionFirstChange']=null,this['composing']){let {drifted:_0x7e09e6}=this['composing'];this['composing']=null,_0x7e09e6&&this['reset'](_0x3fd408['state']);}};for(let _0x402e89 in this['handlers'])_0x4d3807['addEventListener'](_0x402e89,this['handlers'][_0x402e89]);this['measureReq']={'read':_0x57a6f7=>{this['editContext']['updateControlBounds'](_0x57a6f7['contentDOM']['getBoundingClientRect']());let _0x1353ce=_0x35c92b(_0x57a6f7['root']);_0x1353ce&&_0x1353ce['rangeCount']&&this['editContext']['updateSelectionBounds'](_0x1353ce['getRangeAt'](0x0)['getBoundingClientRect']());}};}['applyEdits'](_0x3c7469){let _0x296620=0x0,_0x52d11e=!0x1,_0x3297b7=this['pendingContextChange'];return _0x3c7469['changes']['iterChanges']((_0x5bada6,_0x20ad6b,_0x1676aa,_0x357c46,_0x5ec7f7)=>{if(_0x52d11e)return;let _0x4df246=_0x5ec7f7['length']-(_0x20ad6b-_0x5bada6);if(_0x3297b7&&_0x20ad6b>=_0x3297b7['to']){if(_0x3297b7['from']==_0x5bada6&&_0x3297b7['to']==_0x20ad6b&&_0x3297b7['insert']['eq'](_0x5ec7f7))return _0x3297b7=this['pendingContextChange']=null,_0x296620+=_0x4df246,void(this['to']+=_0x4df246);_0x3297b7=null,this['revertPending'](_0x3c7469['state']);}if(_0x5bada6+=_0x296620,(_0x20ad6b+=_0x296620)<=this['from'])this['from']+=_0x4df246,this['to']+=_0x4df246;else{if(_0x5bada6<this['to']){if(_0x5bada6<this['from']||_0x20ad6b>this['to']||this['to']-this['from']+_0x5ec7f7['length']>0x7530)return void(_0x52d11e=!0x0);this['editContext']['updateText'](this['toContextPos'](_0x5bada6),this['toContextPos'](_0x20ad6b),_0x5ec7f7['toString']()),this['to']+=_0x4df246;}}_0x296620+=_0x4df246;}),_0x3297b7&&!_0x52d11e&&this['revertPending'](_0x3c7469['state']),!_0x52d11e;}['update'](_0x3e74c5){let _0x6efbbc=this['pendingContextChange'],_0x3a1ec1=_0x3e74c5['startState']['selection']['main'];this['composing']&&(this['composing']['drifted']||!_0x3e74c5['changes']['touchesRange'](_0x3a1ec1['from'],_0x3a1ec1['to'])&&_0x3e74c5['transactions']['some'](_0x26026b=>!_0x26026b['isUserEvent']('input.type')&&_0x26026b['changes']['touchesRange'](this['from'],this['to'])))?(this['composing']['drifted']=!0x0,this['composing']['editorBase']=_0x3e74c5['changes']['mapPos'](this['composing']['editorBase'])):this['applyEdits'](_0x3e74c5)&&this['rangeIsValid'](_0x3e74c5['state'])?(_0x3e74c5['docChanged']||_0x3e74c5['selectionSet']||_0x6efbbc)&&this['setSelection'](_0x3e74c5['state']):(this['pendingContextChange']=null,this['reset'](_0x3e74c5['state'])),(_0x3e74c5['geometryChanged']||_0x3e74c5['docChanged']||_0x3e74c5['selectionSet'])&&_0x3e74c5['view']['requestMeasure'](this['measureReq']);}['resetRange'](_0x2008ed){let {head:_0x187c8f}=_0x2008ed['selection']['main'];this['from']=Math['max'](0x0,_0x187c8f-0x2710),this['to']=Math['min'](_0x2008ed['doc']['length'],_0x187c8f+0x2710);}['reset'](_0x26b626){this['resetRange'](_0x26b626),this['editContext']['updateText'](0x0,this['editContext']['text']['length'],_0x26b626['doc']['sliceString'](this['from'],this['to'])),this['setSelection'](_0x26b626);}['revertPending'](_0x63757a){let _0xf03ebb=this['pendingContextChange'];this['pendingContextChange']=null,this['editContext']['updateText'](this['toContextPos'](_0xf03ebb['from']),this['toContextPos'](_0xf03ebb['from']+_0xf03ebb['insert']['length']),_0x63757a['doc']['sliceString'](_0xf03ebb['from'],_0xf03ebb['to']));}['setSelection'](_0x4ea8b1){let {main:_0x40e01d}=_0x4ea8b1['selection'],_0x58ff64=this['toContextPos'](Math['max'](this['from'],Math['min'](this['to'],_0x40e01d['anchor']))),_0x53219e=this['toContextPos'](_0x40e01d['head']);this['editContext']['selectionStart']==_0x58ff64&&this['editContext']['selectionEnd']==_0x53219e||this['editContext']['updateSelection'](_0x58ff64,_0x53219e);}['rangeIsValid'](_0x4d21a7){let {head:_0x2a65cd}=_0x4d21a7['selection']['main'];return!(this['from']>0x0&&_0x2a65cd-this['from']<0x1f4||this['to']<_0x4d21a7['doc']['length']&&this['to']-_0x2a65cd<0x1f4||this['to']-this['from']>0x7530);}['toEditorPos'](_0xc935e1,_0x50cd9e=this['to']-this['from']){_0xc935e1=Math['min'](_0xc935e1,_0x50cd9e);let _0xa55b58=this['composing'];return _0xa55b58&&_0xa55b58['drifted']?_0xa55b58['editorBase']+(_0xc935e1-_0xa55b58['contextBase']):_0xc935e1+this['from'];}['toContextPos'](_0x2e3bfc){let _0x3880e2=this['composing'];return _0x3880e2&&_0x3880e2['drifted']?_0x3880e2['contextBase']+(_0x2e3bfc-_0x3880e2['editorBase']):_0x2e3bfc-this['from'];}['destroy'](){for(let _0x1b5354 in this['handlers'])this['editContext']['removeEventListener'](_0x1b5354,this['handlers'][_0x1b5354]);}},_0x118ca6=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']&&this['inputState']['composing']>0x0;}get['compositionStarted'](){return!!this['inputState']&&this['inputState']['composing']>=0x0;}get['root'](){return this['_root'];}get['win'](){return this['dom']['ownerDocument']['defaultView']||window;}constructor(_0x216c4f={}){var _0x5e37f4;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']),_0x216c4f['parent']&&_0x216c4f['parent']['appendChild'](this['dom']);let {dispatch:_0x3dca19}=_0x216c4f;this['dispatchTransactions']=_0x216c4f['dispatchTransactions']||_0x3dca19&&(_0x3f5077=>_0x3f5077['forEach'](_0x502256=>_0x3dca19(_0x502256,this)))||(_0x3c825f=>this['update'](_0x3c825f)),this['dispatch']=this['dispatch']['bind'](this),this['_root']=_0x216c4f['root']||function(_0x567dbb){for(;_0x567dbb;){if(_0x567dbb&&(0x9==_0x567dbb['nodeType']||0xb==_0x567dbb['nodeType']&&_0x567dbb['host']))return _0x567dbb;_0x567dbb=_0x567dbb['assignedSlot']||_0x567dbb['parentNode'];}return null;}(_0x216c4f['parent'])||document,this['viewState']=new _0x59984d(this,_0x216c4f['state']||_0x2a2565['create'](_0x216c4f)),_0x216c4f['scrollTo']&&_0x216c4f['scrollTo']['is'](_0x33fb01)&&(this['viewState']['scrollTarget']=_0x216c4f['scrollTo']['value']['clip'](this['viewState']['state'])),this['plugins']=this['state']['facet'](_0xdb4086)['map'](_0x488b30=>new _0x51306b(_0x488b30));for(let _0x236e85 of this['plugins'])_0x236e85['update'](this);this['observer']=new _0x232259(this),this['inputState']=new _0x357012(this),this['inputState']['ensureHandlers'](this['plugins']),this['docView']=new _0x2545e1(this),this['mountStyles'](),this['updateAttrs'](),this['updateState']=0x0,this['requestMeasure'](),(null===(_0x5e37f4=document['fonts'])||void 0x0===_0x5e37f4?void 0x0:_0x5e37f4['ready'])&&document['fonts']['ready']['then'](()=>{this['viewState']['mustMeasureContent']='refresh',this['requestMeasure']();});}['dispatch'](..._0x170cdb){let _0x363133=0x1==_0x170cdb['length']&&_0x170cdb[0x0]instanceof _0x5b5d8a?_0x170cdb:0x1==_0x170cdb['length']&&Array['isArray'](_0x170cdb[0x0])?_0x170cdb[0x0]:[this['state']['update'](..._0x170cdb)];this['dispatchTransactions'](_0x363133,this);}['update'](_0x106980){if(0x0!=this['updateState'])throw new Error('Calls\x20to\x20EditorView.update\x20are\x20not\x20allowed\x20while\x20an\x20update\x20is\x20in\x20progress');let _0x1a730a,_0x324994=!0x1,_0x9bace0=!0x1,_0x1892a3=this['state'];for(let _0x3fdce4 of _0x106980){if(_0x3fdce4['startState']!=_0x1892a3)throw new RangeError('Trying\x20to\x20update\x20state\x20with\x20a\x20transaction\x20that\x20doesn\x27t\x20start\x20from\x20the\x20previous\x20state.');_0x1892a3=_0x3fdce4['state'];}if(this['destroyed'])return void(this['viewState']['state']=_0x1892a3);let _0x4353da=this['hasFocus'],_0x284ee8=0x0,_0x5376d7=null;_0x106980['some'](_0x128583=>_0x128583['annotation'](_0x45f326))?(this['inputState']['notifiedFocused']=_0x4353da,_0x284ee8=0x1):_0x4353da!=this['inputState']['notifiedFocused']&&(this['inputState']['notifiedFocused']=_0x4353da,_0x5376d7=_0xb8e54b(_0x1892a3,_0x4353da),_0x5376d7||(_0x284ee8=0x1));let _0x2af176=this['observer']['delayedAndroidKey'],_0x44bc3d=null;if(_0x2af176?(this['observer']['clearDelayedAndroidKey'](),_0x44bc3d=this['observer']['readChange'](),(_0x44bc3d&&!this['state']['doc']['eq'](_0x1892a3['doc'])||!this['state']['selection']['eq'](_0x1892a3['selection']))&&(_0x44bc3d=null)):this['observer']['clear'](),_0x1892a3['facet'](_0x2a2565['phrases'])!=this['state']['facet'](_0x2a2565['phrases']))return this['setState'](_0x1892a3);_0x1a730a=_0x54cd42['create'](this,_0x1892a3,_0x106980),_0x1a730a['flags']|=_0x284ee8;let _0x274d96=this['viewState']['scrollTarget'];try{this['updateState']=0x2;for(let _0x394b8f of _0x106980){if(_0x274d96&&(_0x274d96=_0x274d96['map'](_0x394b8f['changes'])),_0x394b8f['scrollIntoView']){let {main:_0x3ab109}=_0x394b8f['state']['selection'],{x:_0x57752d,y:_0x20c7bc}=this['state']['facet'](EditorView['cursorScrollMargin']);_0x274d96=new _0x66fda6(_0x3ab109['empty']?_0x3ab109:_0x152831['cursor'](_0x3ab109['head'],_0x3ab109['head']>_0x3ab109['anchor']?-0x1:0x1),'nearest','nearest',_0x20c7bc,_0x57752d);}for(let _0x29d363 of _0x394b8f['effects'])_0x29d363['is'](_0x33fb01)&&(_0x274d96=_0x29d363['value']['clip'](this['state']));}this['viewState']['update'](_0x1a730a,_0x274d96),this['bidiCache']=tL['update'](this['bidiCache'],_0x1a730a['changes']),_0x1a730a['empty']||(this['updatePlugins'](_0x1a730a),this['inputState']['update'](_0x1a730a)),_0x324994=this['docView']['update'](_0x1a730a),this['state']['facet'](_0x446ad5)!=this['styleModules']&&this['mountStyles'](),_0x9bace0=this['updateAttrs'](),this['showAnnouncements'](_0x106980),this['docView']['updateSelection'](_0x324994,_0x106980['some'](_0x482575=>_0x482575['isUserEvent']('select.pointer')));}finally{this['updateState']=0x0;}if(_0x1a730a['startState']['facet'](_0x27615c)!=_0x1a730a['state']['facet'](_0x27615c)&&(this['viewState']['mustMeasureContent']=!0x0),(_0x324994||_0x9bace0||_0x274d96||this['viewState']['mustEnforceCursorAssoc']||this['viewState']['mustMeasureContent'])&&this['requestMeasure'](),_0x324994&&this['docViewUpdate'](),!_0x1a730a['empty']){for(let _0x2fa8ae of this['state']['facet'](_0x34acb9))try{_0x2fa8ae(_0x1a730a);}catch(_0x37c869){_0x1947e5(this['state'],_0x37c869,'update\x20listener');}}(_0x5376d7||_0x44bc3d)&&Promise['resolve']()['then'](()=>{_0x5376d7&&this['state']==_0x5376d7['startState']&&this['dispatch'](_0x5376d7),_0x44bc3d&&!_0x12058d(this,_0x44bc3d)&&_0x2af176['force']&&_0x12130e(this['contentDOM'],_0x2af176['key'],_0x2af176['keyCode']);});}['setState'](_0x331a47){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']=_0x331a47);this['updateState']=0x2;let _0x58044c=this['hasFocus'];try{for(let _0x55c6ac of this['plugins'])_0x55c6ac['destroy'](this);this['viewState']=new _0x59984d(this,_0x331a47),this['plugins']=_0x331a47['facet'](_0xdb4086)['map'](_0x4b813a=>new _0x51306b(_0x4b813a)),this['pluginMap']['clear']();for(let _0x55013b of this['plugins'])_0x55013b['update'](this);this['docView']['destroy'](),this['docView']=new _0x2545e1(this),this['inputState']['ensureHandlers'](this['plugins']),this['mountStyles'](),this['updateAttrs'](),this['bidiCache']=[];}finally{this['updateState']=0x0;}_0x58044c&&this['focus'](),this['requestMeasure']();}['updatePlugins'](_0x51b464){let _0x29320d=_0x51b464['startState']['facet'](_0xdb4086),_0x4c51b4=_0x51b464['state']['facet'](_0xdb4086);if(_0x29320d!=_0x4c51b4){let _0x277999=[];for(let _0x2e5aaa of _0x4c51b4){let _0x2933c7=_0x29320d['indexOf'](_0x2e5aaa);if(_0x2933c7<0x0)_0x277999['push'](new _0x51306b(_0x2e5aaa));else{let _0x4dd49b=this['plugins'][_0x2933c7];_0x4dd49b['mustUpdate']=_0x51b464,_0x277999['push'](_0x4dd49b);}}for(let _0x1cf6ae of this['plugins'])_0x1cf6ae['mustUpdate']!=_0x51b464&&_0x1cf6ae['destroy'](this);this['plugins']=_0x277999,this['pluginMap']['clear']();}else{for(let _0x41dc29 of this['plugins'])_0x41dc29['mustUpdate']=_0x51b464;}for(let _0x35f4d8=0x0;_0x35f4d8<this['plugins']['length'];_0x35f4d8++)this['plugins'][_0x35f4d8]['update'](this);_0x29320d!=_0x4c51b4&&this['inputState']['ensureHandlers'](this['plugins']);}['docViewUpdate'](){for(let _0x5294fd of this['plugins']){let _0xed39da=_0x5294fd['value'];if(_0xed39da&&_0xed39da['docViewUpdate'])try{_0xed39da['docViewUpdate'](this);}catch(_0x5ed865){_0x1947e5(this['state'],_0x5ed865,'doc\x20view\x20update\x20listener');}}}['measure'](_0x58ef9c=!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,_0x58ef9c&&this['observer']['forceFlush']();let _0x4331fa=null,_0x639345=this['viewState']['scrollParent'],_0x356e4c=this['viewState']['getScrollOffset'](),{scrollAnchorPos:_0x5a1a62,scrollAnchorHeight:_0x48e04a}=this['viewState'];Math['abs'](_0x356e4c-this['viewState']['scrollOffset'])>0x1&&(_0x48e04a=-0x1),this['viewState']['scrollAnchorHeight']=-0x1;try{for(let _0x235e6b=0x0;;_0x235e6b++){if(_0x48e04a<0x0){if(_0x2acd73(_0x639345||this['win']))_0x5a1a62=-0x1,_0x48e04a=this['viewState']['heightMap']['height'];else{let _0x428b75=this['viewState']['scrollAnchorAt'](_0x356e4c);_0x5a1a62=_0x428b75['from'],_0x48e04a=_0x428b75['top'];}}this['updateState']=0x1;let _0x57a6fb=this['viewState']['measure']();if(!_0x57a6fb&&!this['measureRequests']['length']&&null==this['viewState']['scrollTarget'])break;if(_0x235e6b>0x5){console['warn'](this['measureRequests']['length']?'Measure\x20loop\x20restarted\x20more\x20than\x205\x20times':'Viewport\x20failed\x20to\x20stabilize');break;}let _0x3349bd=[];0x4&_0x57a6fb||([this['measureRequests'],_0x3349bd]=[_0x3349bd,this['measureRequests']]);let _0x417d20=_0x3349bd['map'](_0x5421d0=>{try{return _0x5421d0['read'](this);}catch(_0x233478){return _0x1947e5(this['state'],_0x233478),_0x32919c;}}),_0x19189f=_0x54cd42['create'](this,this['state'],[]),_0x57af51=!0x1;_0x19189f['flags']|=_0x57a6fb,_0x4331fa?_0x4331fa['flags']|=_0x57a6fb:_0x4331fa=_0x19189f,this['updateState']=0x2,_0x19189f['empty']||(this['updatePlugins'](_0x19189f),this['inputState']['update'](_0x19189f),this['updateAttrs'](),_0x57af51=this['docView']['update'](_0x19189f),_0x57af51&&this['docViewUpdate']());for(let _0x3c9099=0x0;_0x3c9099<_0x3349bd['length'];_0x3c9099++)if(_0x417d20[_0x3c9099]!=_0x32919c)try{let _0x2ac854=_0x3349bd[_0x3c9099];_0x2ac854['write']&&_0x2ac854['write'](_0x417d20[_0x3c9099],this);}catch(_0x589f53){_0x1947e5(this['state'],_0x589f53);}if(_0x57af51&&this['docView']['updateSelection'](!0x0),!_0x19189f['viewportChanged']&&0x0==this['measureRequests']['length']){if(this['viewState']['editorHeight']){if(this['viewState']['scrollTarget']){this['docView']['scrollIntoView'](this['viewState']['scrollTarget']),this['viewState']['scrollTarget']=null,_0x48e04a=-0x1;continue;}{let _0x70d47c=((_0x5a1a62<0x0?this['viewState']['heightMap']['height']:this['viewState']['lineBlockAt'](_0x5a1a62)['top'])-_0x48e04a)/this['scaleY'];if((_0x70d47c>0x1||_0x70d47c<-0x1)&&(_0x639345==this['scrollDOM']||this['hasFocus']||Math['max'](this['inputState']['lastWheelEvent'],this['inputState']['lastTouchTime'])>Date['now']()-0x64)){_0x356e4c+=_0x70d47c,_0x639345?_0x639345['scrollTop']+=_0x70d47c:this['win']['scrollBy'](0x0,_0x70d47c),_0x48e04a=-0x1;continue;}}}break;}}}finally{this['updateState']=0x0,this['measureScheduled']=-0x1;}if(_0x4331fa&&!_0x4331fa['empty']){for(let _0x1dffd2 of this['state']['facet'](_0x34acb9))_0x1dffd2(_0x4331fa);}}get['themeClasses'](){return _0x4d1bff+'\x20'+(this['state']['facet'](_0x29dd97)?_0x577457:_0x20c35b)+'\x20'+this['state']['facet'](_0x27615c);}['updateAttrs'](){let _0x521ddc=_0x56730d(this,_0x3be633,{'class':'cm-editor'+(this['hasFocus']?'\x20cm-focused\x20':'\x20')+this['themeClasses']}),_0x1ac81c={'spellcheck':'false','autocorrect':'off','autocapitalize':'off','writingsuggestions':'false','translate':'no','contenteditable':this['state']['facet'](_0x390720)?'true':'false','class':'cm-content','style':_0x13bfcb['tabSize']+':\x20'+this['state']['tabSize'],'role':'textbox','aria-multiline':'true'};this['state']['readOnly']&&(_0x1ac81c['aria-readonly']='true'),_0x56730d(this,_0x18dd99,_0x1ac81c);let _0x4573f6=this['observer']['ignore'](()=>{let _0x3b9cb2=_0x38e53f(this['contentDOM'],this['contentAttrs'],_0x1ac81c),_0x310040=_0x38e53f(this['dom'],this['editorAttrs'],_0x521ddc);return _0x3b9cb2||_0x310040;});return this['editorAttrs']=_0x521ddc,this['contentAttrs']=_0x1ac81c,_0x4573f6;}['showAnnouncements'](_0x1374c3){let _0x56ed16=!0x0;for(let _0x3306ce of _0x1374c3)for(let _0x46c5e2 of _0x3306ce['effects'])_0x46c5e2['is'](EditorView['announce'])&&(_0x56ed16&&(this['announceDOM']['textContent']=''),_0x56ed16=!0x1,this['announceDOM']['appendChild'](document['createElement']('div'))['textContent']=_0x46c5e2['value']);}['mountStyles'](){this['styleModules']=this['state']['facet'](_0x446ad5);let _0x3d0dec=this['state']['facet'](EditorView['cspNonce']);_0x134700['mount'](this['root'],this['styleModules']['concat'](_0x81f417)['reverse'](),_0x3d0dec?{'nonce':_0x3d0dec}: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'](_0x52699b){if(this['measureScheduled']<0x0&&(this['measureScheduled']=this['win']['requestAnimationFrame'](()=>this['measure']())),_0x52699b){if(this['measureRequests']['indexOf'](_0x52699b)>-0x1)return;if(null!=_0x52699b['key']){for(let _0x57217a=0x0;_0x57217a<this['measureRequests']['length'];_0x57217a++)if(this['measureRequests'][_0x57217a]['key']===_0x52699b['key'])return void(this['measureRequests'][_0x57217a]=_0x52699b);}this['measureRequests']['push'](_0x52699b);}}['plugin'](_0x3a8c40){let _0x375974=this['pluginMap']['get'](_0x3a8c40);return(void 0x0===_0x375974||_0x375974&&_0x375974['plugin']!=_0x3a8c40)&&this['pluginMap']['set'](_0x3a8c40,_0x375974=this['plugins']['find'](_0x3e315e=>_0x3e315e['plugin']==_0x3a8c40)||null),_0x375974&&_0x375974['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'](_0x11f2d6){return this['readMeasured'](),this['viewState']['elementAtHeight'](_0x11f2d6);}['lineBlockAtHeight'](_0x5e8e2d){return this['readMeasured'](),this['viewState']['lineBlockAtHeight'](_0x5e8e2d);}get['viewportLineBlocks'](){return this['viewState']['viewportLines'];}['lineBlockAt'](_0x3286f0){return this['viewState']['lineBlockAt'](_0x3286f0);}get['contentHeight'](){return this['viewState']['contentHeight'];}['moveByChar'](_0x11869b,_0x182877,_0x2096d7){return _0x225f70(this,_0x11869b,_0xecabe6(this,_0x11869b,_0x182877,_0x2096d7));}['moveByGroup'](_0x4e6f9d,_0x66eaa5){return _0x225f70(this,_0x4e6f9d,_0xecabe6(this,_0x4e6f9d,_0x66eaa5,_0xdff255=>function(_0x33b33d,_0x45afda,_0x5e6e13){let _0xec17b7=_0x33b33d['state']['charCategorizer'](_0x45afda),_0x1522c3=_0xec17b7(_0x5e6e13);return _0x3752f6=>{let _0x29dadf=_0xec17b7(_0x3752f6);return _0x1522c3==_0x14413f['Space']&&(_0x1522c3=_0x29dadf),_0x1522c3==_0x29dadf;};}(this,_0x4e6f9d['head'],_0xdff255)));}['visualLineSide'](_0x9a8ac5,_0x9a82b5){let _0x421bf8=this['bidiSpans'](_0x9a8ac5),_0x22c66f=this['textDirectionAt'](_0x9a8ac5['from']),_0x4a2f35=_0x421bf8[_0x9a82b5?_0x421bf8['length']-0x1:0x0];return _0x152831['cursor'](_0x4a2f35['side'](_0x9a82b5,_0x22c66f)+_0x9a8ac5['from'],_0x4a2f35['forward'](!_0x9a82b5,_0x22c66f)?0x1:-0x1);}['moveToLineBoundary'](_0x1668d1,_0x3e83c5,_0x4425e2=!0x0){return function(_0x46e3b4,_0x5507cf,_0x537979,_0x586984){let _0x26604b=_0x2de505(_0x46e3b4,_0x5507cf['head'],_0x5507cf['assoc']||-0x1),_0x5b30ba=_0x586984&&_0x26604b['type']==_0x3027bf['Text']&&(_0x46e3b4['lineWrapping']||_0x26604b['widgetLineBreaks'])?_0x46e3b4['coordsAtPos'](_0x5507cf['assoc']<0x0&&_0x5507cf['head']>_0x26604b['from']?_0x5507cf['head']-0x1:_0x5507cf['head']):null;if(_0x5b30ba){let _0x148946=_0x46e3b4['dom']['getBoundingClientRect'](),_0x28c022=_0x46e3b4['textDirectionAt'](_0x26604b['from']),_0x3445f7=_0x46e3b4['posAtCoords']({'x':_0x537979==(_0x28c022==_0x48659f['LTR'])?_0x148946['right']-0x1:_0x148946['left']+0x1,'y':(_0x5b30ba['top']+_0x5b30ba['bottom'])/0x2});if(null!=_0x3445f7)return _0x152831['cursor'](_0x3445f7,_0x537979?-0x1:0x1);}return _0x152831['cursor'](_0x537979?_0x26604b['to']:_0x26604b['from'],_0x537979?-0x1:0x1);}(this,_0x1668d1,_0x3e83c5,_0x4425e2);}['moveVertically'](_0x103490,_0x428155,_0x5e3efc){return _0x225f70(this,_0x103490,function(_0x42a0be,_0x4ca0bb,_0x448f22,_0x605fa){let _0x317373=_0x4ca0bb['head'],_0x3071b8=_0x448f22?0x1:-0x1;if(_0x317373==(_0x448f22?_0x42a0be['state']['doc']['length']:0x0))return _0x152831['cursor'](_0x317373,_0x4ca0bb['assoc']);let _0x273115,_0x26091c=_0x4ca0bb['goalColumn'],_0x126063=_0x42a0be['contentDOM']['getBoundingClientRect'](),_0x2d1fea=_0x42a0be['coordsAtPos'](_0x317373,_0x4ca0bb['assoc']||((_0x4ca0bb['empty']?_0x448f22:_0x4ca0bb['head']==_0x4ca0bb['from'])?0x1:-0x1)),_0x4ed163=_0x42a0be['documentTop'];if(_0x2d1fea)null==_0x26091c&&(_0x26091c=_0x2d1fea['left']-_0x126063['left']),_0x273115=_0x3071b8<0x0?_0x2d1fea['top']:_0x2d1fea['bottom'];else{let _0x375f92=_0x42a0be['viewState']['lineBlockAt'](_0x317373);null==_0x26091c&&(_0x26091c=Math['min'](_0x126063['right']-_0x126063['left'],_0x42a0be['defaultCharacterWidth']*(_0x317373-_0x375f92['from']))),_0x273115=(_0x3071b8<0x0?_0x375f92['top']:_0x375f92['bottom'])+_0x4ed163;}let _0x1182c4=_0x126063['left']+_0x26091c,_0x497fd2=_0x42a0be['viewState']['heightOracle']['textHeight']>>0x1,_0x29385b=null!=_0x605fa?_0x605fa:_0x497fd2;for(let _0x38a8cd=0x0;;_0x38a8cd+=_0x497fd2){let _0x508a63=_0x273115+(_0x29385b+_0x38a8cd)*_0x3071b8,_0x51741e=_0x51af3f(_0x42a0be,{'x':_0x1182c4,'y':_0x508a63},!0x1,_0x3071b8);if(_0x448f22?_0x508a63>_0x126063['bottom']:_0x508a63<_0x126063['top'])return _0x152831['cursor'](_0x51741e['pos'],_0x51741e['assoc']);let _0x1948b3=_0x42a0be['coordsAtPos'](_0x51741e['pos'],_0x51741e['assoc']),_0x517c3d=_0x1948b3?(_0x1948b3['top']+_0x1948b3['bottom'])/0x2:0x0;if(!_0x1948b3||(_0x448f22?_0x517c3d>_0x273115:_0x517c3d<_0x273115))return _0x152831['cursor'](_0x51741e['pos'],_0x51741e['assoc'],void 0x0,_0x26091c);}}(this,_0x103490,_0x428155,_0x5e3efc));}['domAtPos'](_0x101bd4,_0x294fa7=0x1){return this['docView']['domAtPos'](_0x101bd4,_0x294fa7);}['posAtDOM'](_0x284549,_0x27fa5d=0x0){return this['docView']['posFromDOM'](_0x284549,_0x27fa5d);}['posAtCoords'](_0x1e73b9,_0x11ba68=!0x0){this['readMeasured']();let _0x1a6b7b=_0x51af3f(this,_0x1e73b9,_0x11ba68);return _0x1a6b7b&&_0x1a6b7b['pos'];}['posAndSideAtCoords'](_0x2d2423,_0x10a7cd=!0x0){return this['readMeasured'](),_0x51af3f(this,_0x2d2423,_0x10a7cd);}['coordsAtPos'](_0x4ac237,_0x352cc1=0x1){this['readMeasured']();let _0xe60ff9=this['docView']['coordsAt'](_0x4ac237,_0x352cc1);if(!_0xe60ff9||_0xe60ff9['left']==_0xe60ff9['right'])return _0xe60ff9;let _0x599c0a=this['state']['doc']['lineAt'](_0x4ac237),_0x1cd3a5=this['bidiSpans'](_0x599c0a);return _0x3287e0(_0xe60ff9,_0x1cd3a5[_0x11a270['find'](_0x1cd3a5,_0x4ac237-_0x599c0a['from'],-0x1,_0x352cc1)]['dir']==_0x48659f['LTR']==_0x352cc1>0x0);}['coordsForChar'](_0x3b43f9){return this['readMeasured'](),this['docView']['coordsForChar'](_0x3b43f9);}get['defaultCharacterWidth'](){return this['viewState']['heightOracle']['charWidth'];}get['defaultLineHeight'](){return this['viewState']['heightOracle']['lineHeight'];}get['textDirection'](){return this['viewState']['defaultTextDirection'];}['textDirectionAt'](_0x219027){return!this['state']['facet'](_0x5a4122)||_0x219027<this['viewport']['from']||_0x219027>this['viewport']['to']?this['textDirection']:(this['readMeasured'](),this['docView']['textDirectionAt'](_0x219027));}get['lineWrapping'](){return this['viewState']['heightOracle']['lineWrapping'];}['bidiSpans'](_0x2867c4){if(_0x2867c4['length']>_0x1c88a7)return _0x18a98c(_0x2867c4['length']);let _0x20b93c,_0x50c4c2=this['textDirectionAt'](_0x2867c4['from']);for(let _0x3a21b8 of this['bidiCache'])if(_0x3a21b8['from']==_0x2867c4['from']&&_0x3a21b8['dir']==_0x50c4c2&&(_0x3a21b8['fresh']||_0x26bbdc(_0x3a21b8['isolates'],_0x20b93c=_0x17502c(this,_0x2867c4))))return _0x3a21b8['order'];_0x20b93c||(_0x20b93c=_0x17502c(this,_0x2867c4));let _0x32c25c=function(_0x3c4d45,_0x3a65eb,_0x57a2f0){if(!_0x3c4d45)return[new _0x11a270(0x0,0x0,_0x3a65eb==_0x2ca601?0x1:0x0)];if(_0x3a65eb==_0x5236b8&&!_0x57a2f0['length']&&!_0x5df02c['test'](_0x3c4d45))return _0x18a98c(_0x3c4d45['length']);if(_0x57a2f0['length']){for(;_0x3c4d45['length']>tP['length'];)tP[tP['length']]=0x100;}let _0x406184=[],_0x3a0bd0=_0x3a65eb==_0x5236b8?0x0:0x1;return _0x3cf9bf(_0x3c4d45,_0x3a0bd0,_0x3a0bd0,_0x57a2f0,0x0,_0x3c4d45['length'],_0x406184),_0x406184;}(_0x2867c4['text'],_0x50c4c2,_0x20b93c);return this['bidiCache']['push'](new tL(_0x2867c4['from'],_0x2867c4['to'],_0x50c4c2,_0x20b93c,!0x0,_0x32c25c)),_0x32c25c;}get['hasFocus'](){var _0x4292db;return(this['dom']['ownerDocument']['hasFocus']()||_0x13bfcb['safari']&&(null===(_0x4292db=this['inputState'])||void 0x0===_0x4292db?void 0x0:_0x4292db['lastContextMenu'])>Date['now']()-0x7530)&&this['root']['activeElement']==this['contentDOM'];}['focus'](){this['observer']['ignore'](()=>{_0x2c6c1d(this['contentDOM']),this['docView']['updateSelection']();});}['setRoot'](_0x1c83fb){this['_root']!=_0x1c83fb&&(this['_root']=_0x1c83fb,this['observer']['setWindow']((0x9==_0x1c83fb['nodeType']?_0x1c83fb:_0x1c83fb['ownerDocument'])['defaultView']||window),this['mountStyles']());}['destroy'](){this['root']['activeElement']==this['contentDOM']&&this['contentDOM']['blur']();for(let _0x21e520 of this['plugins'])_0x21e520['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'](_0x44988d,_0x4b1977={}){var _0xf3ee17,_0x4cd386,_0x3134ce,_0x13c690;return _0x33fb01['of'](new _0x66fda6('number'==typeof _0x44988d?_0x152831['cursor'](_0x44988d):_0x44988d,null!==(_0xf3ee17=_0x4b1977['y'])&&void 0x0!==_0xf3ee17?_0xf3ee17:'nearest',null!==(_0x4cd386=_0x4b1977['x'])&&void 0x0!==_0x4cd386?_0x4cd386:'nearest',null!==(_0x3134ce=_0x4b1977['yMargin'])&&void 0x0!==_0x3134ce?_0x3134ce:0x5,null!==(_0x13c690=_0x4b1977['xMargin'])&&void 0x0!==_0x13c690?_0x13c690:0x5));}['scrollSnapshot'](){let {scrollTop:_0x383d09,scrollLeft:_0x414bfe}=this['scrollDOM'],_0x56fcbe=this['viewState']['scrollAnchorAt'](_0x383d09);return _0x33fb01['of'](new _0x66fda6(_0x152831['cursor'](_0x56fcbe['from']),'start','start',_0x56fcbe['top']-_0x383d09,_0x414bfe,!0x0));}['setTabFocusMode'](_0x2d82e2){null==_0x2d82e2?this['inputState']['tabFocusMode']=this['inputState']['tabFocusMode']<0x0?0x0:-0x1:'boolean'==typeof _0x2d82e2?this['inputState']['tabFocusMode']=_0x2d82e2?0x0:-0x1:0x0!=this['inputState']['tabFocusMode']&&(this['inputState']['tabFocusMode']=Date['now']()+_0x2d82e2);}static['domEventHandlers'](_0x2740e3){return _0x5873ca['define'](()=>({}),{'eventHandlers':_0x2740e3});}static['domEventObservers'](_0xcabcf4){return _0x5873ca['define'](()=>({}),{'eventObservers':_0xcabcf4});}static['theme'](_0x5f1653,_0x5deb4a){let _0x5ac46c=_0x134700['newName'](),_0x48247e=[_0x27615c['of'](_0x5ac46c),_0x446ad5['of'](_0x26bbf4('.'+_0x5ac46c,_0x5f1653))];return _0x5deb4a&&_0x5deb4a['dark']&&_0x48247e['push'](_0x29dd97['of'](!0x0)),_0x48247e;}static['baseTheme'](_0x458c9f){return _0x74fe9f['lowest'](_0x446ad5['of'](_0x26bbf4('.'+_0x4d1bff,_0x458c9f,_0xa2a83f)));}static['findFromDOM'](_0x54b2d3){var _0x39e054;let _0x27dfcb=_0x54b2d3['querySelector']('.cm-content'),_0x1c848c=_0x27dfcb&&_0xbeef60['get'](_0x27dfcb)||_0xbeef60['get'](_0x54b2d3);return(null===(_0x39e054=null==_0x1c848c?void 0x0:_0x1c848c['root'])||void 0x0===_0x39e054?void 0x0:_0x39e054['view'])||null;}};_0x118ca6['styleModule']=_0x446ad5,_0x118ca6['inputHandler']=_0x36c30f,_0x118ca6['clipboardInputFilter']=_0x4fb379,_0x118ca6['clipboardOutputFilter']=_0x3bcafb,_0x118ca6['scrollHandler']=_0x4db2b6,_0x118ca6['focusChangeEffect']=_0x125eee,_0x118ca6['perLineTextDirection']=_0x5a4122,_0x118ca6['exceptionSink']=_0x2d2c08,_0x118ca6['updateListener']=_0x34acb9,_0x118ca6['editable']=_0x390720,_0x118ca6['mouseSelectionStyle']=_0x351434,_0x118ca6['dragMovesSelection']=_0x98db87,_0x118ca6['clickAddsSelectionRange']=_0x11c9d2,_0x118ca6['decorations']=_0x469ee8,_0x118ca6['blockWrappers']=_0x17325e,_0x118ca6['outerDecorations']=_0x16ae8,_0x118ca6['atomicRanges']=_0x3df8b7,_0x118ca6['bidiIsolatedRanges']=_0xbc6e2d,_0x118ca6['cursorScrollMargin']=_0x17b3ea['define']({'combine':_0x2f0249=>{let _0x5186b3=0x5,_0x58e302=0x5;for(let _0x11de25 of _0x2f0249)'number'==typeof _0x11de25?_0x5186b3=_0x58e302=_0x11de25:{x:_0x5186b3,y:_0x58e302}=_0x11de25;return{'x':_0x5186b3,'y':_0x58e302};}}),_0x118ca6['scrollMargins']=_0x19c86f,_0x118ca6['darkTheme']=_0x29dd97,_0x118ca6['cspNonce']=_0x17b3ea['define']({'combine':_0x529982=>_0x529982['length']?_0x529982[0x0]:''}),_0x118ca6['contentAttributes']=_0x18dd99,_0x118ca6['editorAttributes']=_0x3be633,_0x118ca6['lineWrapping']=_0x118ca6['contentAttributes']['of']({'class':'cm-lineWrapping'}),_0x118ca6['announce']=_0x41e66e['define']();const _0x1c88a7=0x1000,_0x32919c={};var tL=class _0x10f3df{constructor(_0x78f89c,_0xecd505,_0xea9dfd,_0x47111b,_0x236de2,_0x504c84){this['from']=_0x78f89c,this['to']=_0xecd505,this['dir']=_0xea9dfd,this['isolates']=_0x47111b,this['fresh']=_0x236de2,this['order']=_0x504c84;}static['update'](_0x4750ce,_0x3406ae){if(_0x3406ae['empty']&&!_0x4750ce['some'](_0x542a3b=>_0x542a3b['fresh']))return _0x4750ce;let _0x311459=[],_0x43058f=_0x4750ce['length']?_0x4750ce[_0x4750ce['length']-0x1]['dir']:_0x48659f['LTR'];for(let _0x481369=Math['max'](0x0,_0x4750ce['length']-0xa);_0x481369<_0x4750ce['length'];_0x481369++){let _0x2c1862=_0x4750ce[_0x481369];_0x2c1862['dir']!=_0x43058f||_0x3406ae['touchesRange'](_0x2c1862['from'],_0x2c1862['to'])||_0x311459['push'](new _0x10f3df(_0x3406ae['mapPos'](_0x2c1862['from'],0x1),_0x3406ae['mapPos'](_0x2c1862['to'],-0x1),_0x2c1862['dir'],_0x2c1862['isolates'],!0x1,_0x2c1862['order']));}return _0x311459;}};function _0x56730d(_0x18aad2,_0x393ebb,_0x29c972){for(let _0xbf3774=_0x18aad2['state']['facet'](_0x393ebb),_0x3d4db2=_0xbf3774['length']-0x1;_0x3d4db2>=0x0;_0x3d4db2--){let _0x224b47=_0xbf3774[_0x3d4db2],_0x98f309='function'==typeof _0x224b47?_0x224b47(_0x18aad2):_0x224b47;_0x98f309&&_0x3f1ac6(_0x98f309,_0x29c972);}return _0x29c972;}const _0x5e2886=_0x13bfcb['mac']?'mac':_0x13bfcb['windows']?'win':_0x13bfcb['linux']?'linux':'key';function _0x4e5aa2(_0x3343cd,_0x38da69,_0x9dc39c){return _0x38da69['altKey']&&(_0x3343cd='Alt-'+_0x3343cd),_0x38da69['ctrlKey']&&(_0x3343cd='Ctrl-'+_0x3343cd),_0x38da69['metaKey']&&(_0x3343cd='Meta-'+_0x3343cd),!0x1!==_0x9dc39c&&_0x38da69['shiftKey']&&(_0x3343cd='Shift-'+_0x3343cd),_0x3343cd;}const _0x11df7d=_0x74fe9f['default'](_0x118ca6['domEventHandlers']({'keydown':(_0x15827e,_0x1acb63)=>function(_0xabebe,_0x4a9eab,_0x553bde,_0x5c1309){_0xfdf08b=_0x4a9eab;let _0x580978=function(_0x410bee){var _0x380380=!(_0x22ed20&&_0x410bee['metaKey']&&_0x410bee['shiftKey']&&!_0x410bee['ctrlKey']&&!_0x410bee['altKey']||_0x28695a&&_0x410bee['shiftKey']&&_0x410bee['key']&&0x1==_0x410bee['key']['length']||'Unidentified'==_0x410bee['key'])&&_0x410bee['key']||(_0x410bee['shiftKey']?_0x5d55df:_0x4768fe)[_0x410bee['keyCode']]||_0x410bee['key']||'Unidentified';return'Esc'==_0x380380&&(_0x380380='Escape'),'Del'==_0x380380&&(_0x380380='Delete'),'Left'==_0x380380&&(_0x380380='ArrowLeft'),'Up'==_0x380380&&(_0x380380='ArrowUp'),'Right'==_0x380380&&(_0x380380='ArrowRight'),'Down'==_0x380380&&(_0x380380='ArrowDown'),_0x380380;}(_0x4a9eab),_0x2f271f=_0x6db7fc(_0x3d5bb6(_0x580978,0x0))==_0x580978['length']&&'\x20'!=_0x580978,_0x10eae0='',_0xc2f903=!0x1,_0x37a994=!0x1,_0x474e93=!0x1;_0x5dbca6&&_0x5dbca6['view']==_0x553bde&&_0x5dbca6['scope']==_0x5c1309&&(_0x10eae0=_0x5dbca6['prefix']+'\x20',_0x50e2ea['indexOf'](_0x4a9eab['keyCode'])<0x0&&(_0x37a994=!0x0,_0x5dbca6=null));let _0x2012f2,_0x2f2469,_0xb1de0=new Set(),_0x187aa5=_0x4680ae=>{if(_0x4680ae){for(let _0x3aa54f of _0x4680ae['run'])if(!_0xb1de0['has'](_0x3aa54f)&&(_0xb1de0['add'](_0x3aa54f),_0x3aa54f(_0x553bde)))return _0x4680ae['stopPropagation']&&(_0x474e93=!0x0),!0x0;_0x4680ae['preventDefault']&&(_0x4680ae['stopPropagation']&&(_0x474e93=!0x0),_0x37a994=!0x0);}return!0x1;},_0x551593=_0xabebe[_0x5c1309];return _0x551593&&(_0x187aa5(_0x551593[_0x10eae0+_0x4e5aa2(_0x580978,_0x4a9eab,!_0x2f271f)])?_0xc2f903=!0x0:!_0x2f271f||!(_0x4a9eab['altKey']||_0x4a9eab['metaKey']||_0x4a9eab['ctrlKey'])||_0x13bfcb['windows']&&_0x4a9eab['ctrlKey']&&_0x4a9eab['altKey']||_0x13bfcb['mac']&&_0x4a9eab['altKey']&&!_0x4a9eab['ctrlKey']&&!_0x4a9eab['metaKey']||!(_0x2012f2=_0x4768fe[_0x4a9eab['keyCode']])||_0x2012f2==_0x580978?_0x2f271f&&_0x4a9eab['shiftKey']&&_0x187aa5(_0x551593[_0x10eae0+_0x4e5aa2(_0x580978,_0x4a9eab,!0x0)])&&(_0xc2f903=!0x0):(_0x187aa5(_0x551593[_0x10eae0+_0x4e5aa2(_0x2012f2,_0x4a9eab,!0x0)])||_0x4a9eab['shiftKey']&&(_0x2f2469=_0x5d55df[_0x4a9eab['keyCode']])!=_0x580978&&_0x2f2469!=_0x2012f2&&_0x187aa5(_0x551593[_0x10eae0+_0x4e5aa2(_0x2f2469,_0x4a9eab,!0x1)]))&&(_0xc2f903=!0x0),!_0xc2f903&&_0x187aa5(_0x551593['_any'])&&(_0xc2f903=!0x0)),_0x37a994&&(_0xc2f903=!0x0),_0xc2f903&&_0x474e93&&_0x4a9eab['stopPropagation'](),(_0xfdf08b=null,_0xc2f903);}(function(_0x509afa){let _0x40c861=_0x509afa['facet'](_0x12f94f),_0xcb7fd9=_0x57a9a8['get'](_0x40c861);return _0xcb7fd9||_0x57a9a8['set'](_0x40c861,_0xcb7fd9=function(_0x5b99e5,_0x57920c=_0x5e2886){let _0x5d6afe=Object['create'](null),_0x1e70f2=Object['create'](null),_0x3f7fec=(_0x1acf89,_0x1beb47)=>{let _0x2cb2f2=_0x1e70f2[_0x1acf89];if(null==_0x2cb2f2)_0x1e70f2[_0x1acf89]=_0x1beb47;else{if(_0x2cb2f2!=_0x1beb47)throw new Error('Key\x20binding\x20'+_0x1acf89+'\x20is\x20used\x20both\x20as\x20a\x20regular\x20binding\x20and\x20as\x20a\x20multi-stroke\x20prefix');}},_0x4e305d=(_0x2de220,_0xe87199,_0x26e14c,_0x1de21f,_0x404bae)=>{var _0x19299d,_0x298784;let _0x543f15=_0x5d6afe[_0x2de220]||(_0x5d6afe[_0x2de220]=Object['create'](null)),_0x330573=_0xe87199['split'](/ (?!$)/)['map'](_0x579f4e=>function(_0x195b54,_0x2ddb6f){const _0x4aa04d=_0x195b54['split'](/-(?!$)/);let _0x2f033d,_0xc686bf,_0x38baa5,_0x10306a,_0x5415a9=_0x4aa04d[_0x4aa04d['length']-0x1];'Space'==_0x5415a9&&(_0x5415a9='\x20');for(let _0x507609=0x0;_0x507609<_0x4aa04d['length']-0x1;++_0x507609){const _0x5e8401=_0x4aa04d[_0x507609];if(/^(cmd|meta|m)$/i['test'](_0x5e8401))_0x10306a=!0x0;else{if(/^a(lt)?$/i['test'](_0x5e8401))_0x2f033d=!0x0;else{if(/^(c|ctrl|control)$/i['test'](_0x5e8401))_0xc686bf=!0x0;else{if(/^s(hift)?$/i['test'](_0x5e8401))_0x38baa5=!0x0;else{if(!/^mod$/i['test'](_0x5e8401))throw new Error('Unrecognized\x20modifier\x20name:\x20'+_0x5e8401);'mac'==_0x2ddb6f?_0x10306a=!0x0:_0xc686bf=!0x0;}}}}}return _0x2f033d&&(_0x5415a9='Alt-'+_0x5415a9),_0xc686bf&&(_0x5415a9='Ctrl-'+_0x5415a9),_0x10306a&&(_0x5415a9='Meta-'+_0x5415a9),_0x38baa5&&(_0x5415a9='Shift-'+_0x5415a9),_0x5415a9;}(_0x579f4e,_0x57920c));for(let _0x24091a=0x1;_0x24091a<_0x330573['length'];_0x24091a++){let _0x2a17cb=_0x330573['slice'](0x0,_0x24091a)['join']('\x20');_0x3f7fec(_0x2a17cb,!0x0),_0x543f15[_0x2a17cb]||(_0x543f15[_0x2a17cb]={'preventDefault':!0x0,'stopPropagation':!0x1,'run':[_0x5b8e4f=>{let _0x5a7909=_0x5dbca6={'view':_0x5b8e4f,'prefix':_0x2a17cb,'scope':_0x2de220};return setTimeout(()=>{_0x5dbca6==_0x5a7909&&(_0x5dbca6=null);},_0x4366bc),!0x0;}]});}let _0x4ecdec=_0x330573['join']('\x20');_0x3f7fec(_0x4ecdec,!0x1);let _0x2581f4=_0x543f15[_0x4ecdec]||(_0x543f15[_0x4ecdec]={'preventDefault':!0x1,'stopPropagation':!0x1,'run':(null===(_0x298784=null===(_0x19299d=_0x543f15['_any'])||void 0x0===_0x19299d?void 0x0:_0x19299d['run'])||void 0x0===_0x298784?void 0x0:_0x298784['slice']())||[]});_0x26e14c&&_0x2581f4['run']['push'](_0x26e14c),_0x1de21f&&(_0x2581f4['preventDefault']=!0x0),_0x404bae&&(_0x2581f4['stopPropagation']=!0x0);};for(let _0x5063db of _0x5b99e5){let _0x26f7af=_0x5063db['scope']?_0x5063db['scope']['split']('\x20'):['editor'];if(_0x5063db['any'])for(let _0x231b97 of _0x26f7af){let _0x13ded7=_0x5d6afe[_0x231b97]||(_0x5d6afe[_0x231b97]=Object['create'](null));_0x13ded7['_any']||(_0x13ded7['_any']={'preventDefault':!0x1,'stopPropagation':!0x1,'run':[]});let {any:_0x38dc58}=_0x5063db;for(let _0x5007e8 in _0x13ded7)_0x13ded7[_0x5007e8]['run']['push'](_0x54d82f=>_0x38dc58(_0x54d82f,_0xfdf08b));}let _0x35b08a=_0x5063db[_0x57920c]||_0x5063db['key'];if(_0x35b08a){for(let _0x50468a of _0x26f7af)_0x4e305d(_0x50468a,_0x35b08a,_0x5063db['run'],_0x5063db['preventDefault'],_0x5063db['stopPropagation']),_0x5063db['shift']&&_0x4e305d(_0x50468a,'Shift-'+_0x35b08a,_0x5063db['shift'],_0x5063db['preventDefault'],_0x5063db['stopPropagation']);}}return _0x5d6afe;}(_0x40c861['reduce']((_0x599866,_0xb36627)=>_0x599866['concat'](_0xb36627),[]))),_0xcb7fd9;}(_0x1acb63['state']),_0x15827e,_0x1acb63,'editor')})),_0x12f94f=_0x17b3ea['define']({'enables':_0x11df7d}),_0x57a9a8=new WeakMap();let _0x5dbca6=null;const _0x4366bc=0xfa0;let _0xfdf08b=null;var _0x4e4c21=class RectangleMarker{constructor(_0x236f34,_0x3ae0a6,_0x52d893,_0x342e1e,_0x59e721){this['className']=_0x236f34,this['left']=_0x3ae0a6,this['top']=_0x52d893,this['width']=_0x342e1e,this['height']=_0x59e721;}['draw'](){let _0x455aba=document['createElement']('div');return _0x455aba['className']=this['className'],this['adjust'](_0x455aba),_0x455aba;}['update'](_0x3d8984,_0x28c4ae){return _0x28c4ae['className']==this['className']&&(this['adjust'](_0x3d8984),!0x0);}['adjust'](_0x34cb46){_0x34cb46['style']['left']=this['left']+'px',_0x34cb46['style']['top']=this['top']+'px',null!=this['width']&&(_0x34cb46['style']['width']=this['width']+'px'),_0x34cb46['style']['height']=this['height']+'px';}['eq'](_0x430185){return this['left']==_0x430185['left']&&this['top']==_0x430185['top']&&this['width']==_0x430185['width']&&this['height']==_0x430185['height']&&this['className']==_0x430185['className'];}static['forRange'](_0x336b04,_0x8667ed,_0x3b527e){if(_0x3b527e['empty']){let _0x949f37=_0x336b04['coordsAtPos'](_0x3b527e['head'],_0x3b527e['assoc']||0x1);if(!_0x949f37)return[];let _0x56e778=_0x34681a(_0x336b04);return[new RectangleMarker(_0x8667ed,_0x949f37['left']-_0x56e778['left'],_0x949f37['top']-_0x56e778['top'],null,_0x949f37['bottom']-_0x949f37['top'])];}return _0x490b37(_0x336b04,_0x8667ed,_0x3b527e);}};function _0x34681a(_0x19361b){let _0x738dca=_0x19361b['scrollDOM']['getBoundingClientRect']();return{'left':(_0x19361b['textDirection']==_0x48659f['LTR']?_0x738dca['left']:_0x738dca['right']-_0x19361b['scrollDOM']['clientWidth']*_0x19361b['scaleX'])-_0x19361b['scrollDOM']['scrollLeft']*_0x19361b['scaleX'],'top':_0x738dca['top']-_0x19361b['scrollDOM']['scrollTop']*_0x19361b['scaleY']};}function _0x7d3566(_0x255bc9,_0x216e76,_0x4ca0f6,_0x598b29){let _0x156c53=_0x255bc9['coordsAtPos'](_0x216e76,0x2*_0x4ca0f6);if(!_0x156c53)return _0x598b29;let _0x471996=_0x255bc9['dom']['getBoundingClientRect'](),_0x5edb17=(_0x156c53['top']+_0x156c53['bottom'])/0x2,_0x571773=_0x255bc9['posAtCoords']({'x':_0x471996['left']+0x1,'y':_0x5edb17}),_0x377163=_0x255bc9['posAtCoords']({'x':_0x471996['right']-0x1,'y':_0x5edb17});return null==_0x571773||null==_0x377163?_0x598b29:{'from':Math['max'](_0x598b29['from'],Math['min'](_0x571773,_0x377163)),'to':Math['min'](_0x598b29['to'],Math['max'](_0x571773,_0x377163))};}function _0x490b37(_0x3368f2,_0x4722c7,_0x312ccc){if(_0x312ccc['to']<=_0x3368f2['viewport']['from']||_0x312ccc['from']>=_0x3368f2['viewport']['to'])return[];let _0x13bea2=Math['max'](_0x312ccc['from'],_0x3368f2['viewport']['from']),_0x1bebfa=Math['min'](_0x312ccc['to'],_0x3368f2['viewport']['to']),_0x5b17f6=_0x3368f2['textDirection']==_0x48659f['LTR'],_0x2f2ba5=_0x3368f2['contentDOM'],_0x253a83=_0x2f2ba5['getBoundingClientRect'](),_0xfebd4c=_0x34681a(_0x3368f2),_0x5035ce=_0x2f2ba5['querySelector']('.cm-line'),_0x253800=_0x5035ce&&window['getComputedStyle'](_0x5035ce),_0x450c6d=_0x253a83['left']+(_0x253800?parseInt(_0x253800['paddingLeft'])+Math['min'](0x0,parseInt(_0x253800['textIndent'])):0x0),_0xa9895a=_0x253a83['right']-(_0x253800?parseInt(_0x253800['paddingRight']):0x0),_0x44fdd3=_0x2de505(_0x3368f2,_0x13bea2,0x1),_0x54ead1=_0x2de505(_0x3368f2,_0x1bebfa,-0x1),_0xedeef1=_0x44fdd3['type']==_0x3027bf['Text']?_0x44fdd3:null,_0x2174c3=_0x54ead1['type']==_0x3027bf['Text']?_0x54ead1:null;if(_0xedeef1&&(_0x3368f2['lineWrapping']||_0x44fdd3['widgetLineBreaks'])&&(_0xedeef1=_0x7d3566(_0x3368f2,_0x13bea2,0x1,_0xedeef1)),_0x2174c3&&(_0x3368f2['lineWrapping']||_0x54ead1['widgetLineBreaks'])&&(_0x2174c3=_0x7d3566(_0x3368f2,_0x1bebfa,-0x1,_0x2174c3)),_0xedeef1&&_0x2174c3&&_0xedeef1['from']==_0x2174c3['from']&&_0xedeef1['to']==_0x2174c3['to'])return _0xd88a1c(_0x16ae77(_0x312ccc['from'],_0x312ccc['to'],_0xedeef1));{let _0x39d063=_0xedeef1?_0x16ae77(_0x312ccc['from'],null,_0xedeef1):_0x41ebdd(_0x44fdd3,!0x1),_0x4ce4f0=_0x2174c3?_0x16ae77(null,_0x312ccc['to'],_0x2174c3):_0x41ebdd(_0x54ead1,!0x0),_0x44b305=[];return(_0xedeef1||_0x44fdd3)['to']<(_0x2174c3||_0x54ead1)['from']-(_0xedeef1&&_0x2174c3?0x1:0x0)||_0x44fdd3['widgetLineBreaks']>0x1&&_0x39d063['bottom']+_0x3368f2['defaultLineHeight']/0x2<_0x4ce4f0['top']?_0x44b305['push'](_0x340369(_0x450c6d,_0x39d063['bottom'],_0xa9895a,_0x4ce4f0['top'])):_0x39d063['bottom']<_0x4ce4f0['top']&&_0x3368f2['elementAtHeight']((_0x39d063['bottom']+_0x4ce4f0['top'])/0x2)['type']==_0x3027bf['Text']&&(_0x39d063['bottom']=_0x4ce4f0['top']=(_0x39d063['bottom']+_0x4ce4f0['top'])/0x2),_0xd88a1c(_0x39d063)['concat'](_0x44b305)['concat'](_0xd88a1c(_0x4ce4f0));}function _0x340369(_0x22d778,_0x2c9b9f,_0x10ee40,_0x390fa3){return new _0x4e4c21(_0x4722c7,_0x22d778-_0xfebd4c['left'],_0x2c9b9f-_0xfebd4c['top'],Math['max'](0x0,_0x10ee40-_0x22d778),_0x390fa3-_0x2c9b9f);}function _0xd88a1c({top:_0x2aa2bb,bottom:_0x1dc293,horizontal:_0xe631fa}){let _0x211256=[];for(let _0x13822c=0x0;_0x13822c<_0xe631fa['length'];_0x13822c+=0x2)_0x211256['push'](_0x340369(_0xe631fa[_0x13822c],_0x2aa2bb,_0xe631fa[_0x13822c+0x1],_0x1dc293));return _0x211256;}function _0x16ae77(_0x23fe7f,_0x11db95,_0xdca614){let _0x5b27ae=0x3b9aca00,_0x24b30d=-0x3b9aca00,_0x1b31a0=[];function _0x77ba8f(_0x5965e6,_0x8c9006,_0x1ec026,_0xe32f82,_0x1a6aa9){let _0x2ced02=_0x3368f2['coordsAtPos'](_0x5965e6,_0x5965e6==_0xdca614['to']?-0x2:0x2),_0x234a5b=_0x3368f2['coordsAtPos'](_0x1ec026,_0x1ec026==_0xdca614['from']?0x2:-0x2);_0x2ced02&&_0x234a5b&&(_0x5b27ae=Math['min'](_0x2ced02['top'],_0x234a5b['top'],_0x5b27ae),_0x24b30d=Math['max'](_0x2ced02['bottom'],_0x234a5b['bottom'],_0x24b30d),_0x1a6aa9==_0x48659f['LTR']?_0x1b31a0['push'](_0x5b17f6&&_0x8c9006?_0x450c6d:_0x2ced02['left'],_0x5b17f6&&_0xe32f82?_0xa9895a:_0x234a5b['right']):_0x1b31a0['push'](!_0x5b17f6&&_0xe32f82?_0x450c6d:_0x234a5b['left'],!_0x5b17f6&&_0x8c9006?_0xa9895a:_0x2ced02['right']));}let _0x25773d=null!=_0x23fe7f?_0x23fe7f:_0xdca614['from'],_0x13cb7a=null!=_0x11db95?_0x11db95:_0xdca614['to'];for(let _0x1ba638 of _0x3368f2['visibleRanges'])if(_0x1ba638['to']>_0x25773d&&_0x1ba638['from']<_0x13cb7a)for(let _0x2e6600=Math['max'](_0x1ba638['from'],_0x25773d),_0x1b1e39=Math['min'](_0x1ba638['to'],_0x13cb7a);;){let _0x47dc9f=_0x3368f2['state']['doc']['lineAt'](_0x2e6600);for(let _0xf0b4ba of _0x3368f2['bidiSpans'](_0x47dc9f)){let _0x50fa16=_0xf0b4ba['from']+_0x47dc9f['from'],_0xeeb416=_0xf0b4ba['to']+_0x47dc9f['from'];if(_0x50fa16>=_0x1b1e39)break;_0xeeb416>_0x2e6600&&_0x77ba8f(Math['max'](_0x50fa16,_0x2e6600),null==_0x23fe7f&&_0x50fa16<=_0x25773d,Math['min'](_0xeeb416,_0x1b1e39),null==_0x11db95&&_0xeeb416>=_0x13cb7a,_0xf0b4ba['dir']);}if(_0x2e6600=_0x47dc9f['to']+0x1,_0x2e6600>=_0x1b1e39)break;}return 0x0==_0x1b31a0['length']&&_0x77ba8f(_0x25773d,null==_0x23fe7f,_0x13cb7a,null==_0x11db95,_0x3368f2['textDirection']),{'top':_0x5b27ae,'bottom':_0x24b30d,'horizontal':_0x1b31a0};}function _0x41ebdd(_0x4b5dd9,_0x23da09){let _0x23cd75=_0x253a83['top']+(_0x23da09?_0x4b5dd9['top']:_0x4b5dd9['bottom']);return{'top':_0x23cd75,'bottom':_0x23cd75,'horizontal':[]};}}var _0x150082=class{constructor(_0x21d099,_0x1bce4d){this['view']=_0x21d099,this['layer']=_0x1bce4d,this['drawn']=[],this['scaleX']=0x1,this['scaleY']=0x1,this['measureReq']={'read':this['measure']['bind'](this),'write':this['draw']['bind'](this)},this['dom']=_0x21d099['scrollDOM']['appendChild'](document['createElement']('div')),this['dom']['classList']['add']('cm-layer'),_0x1bce4d['above']&&this['dom']['classList']['add']('cm-layer-above'),_0x1bce4d['class']&&this['dom']['classList']['add'](_0x1bce4d['class']),this['scale'](),this['dom']['setAttribute']('aria-hidden','true'),this['setOrder'](_0x21d099['state']),_0x21d099['requestMeasure'](this['measureReq']),_0x1bce4d['mount']&&_0x1bce4d['mount'](this['dom'],_0x21d099);}['update'](_0xe7d0f1){_0xe7d0f1['startState']['facet'](_0x3730e5)!=_0xe7d0f1['state']['facet'](_0x3730e5)&&this['setOrder'](_0xe7d0f1['state']),(this['layer']['update'](_0xe7d0f1,this['dom'])||_0xe7d0f1['geometryChanged'])&&(this['scale'](),_0xe7d0f1['view']['requestMeasure'](this['measureReq']));}['docViewUpdate'](_0x5f0cff){!0x1!==this['layer']['updateOnDocViewUpdate']&&_0x5f0cff['requestMeasure'](this['measureReq']);}['setOrder'](_0x1f00e2){let _0x1530e9=0x0,_0x3ea463=_0x1f00e2['facet'](_0x3730e5);for(;_0x1530e9<_0x3ea463['length']&&_0x3ea463[_0x1530e9]!=this['layer'];)_0x1530e9++;this['dom']['style']['zIndex']=String((this['layer']['above']?0x96:-0x1)-_0x1530e9);}['measure'](){return this['layer']['markers'](this['view']);}['scale'](){let {scaleX:_0x36ebf8,scaleY:_0x3d1c38}=this['view'];_0x36ebf8==this['scaleX']&&_0x3d1c38==this['scaleY']||(this['scaleX']=_0x36ebf8,this['scaleY']=_0x3d1c38,this['dom']['style']['transform']='scale('+0x1/_0x36ebf8+',\x20'+0x1/_0x3d1c38+')');}['draw'](_0xf3b8a6){if(_0xf3b8a6['length']!=this['drawn']['length']||_0xf3b8a6['some']((_0x49dbad,_0x292f17)=>{return _0x49d9f5=_0x49dbad,_0x15d620=this['drawn'][_0x292f17],!(_0x49d9f5['constructor']==_0x15d620['constructor']&&_0x49d9f5['eq'](_0x15d620));var _0x49d9f5,_0x15d620;})){let _0x4328da=this['dom']['firstChild'],_0x3d3a96=0x0;for(let _0x43cb7a of _0xf3b8a6)_0x43cb7a['update']&&_0x4328da&&_0x43cb7a['constructor']&&this['drawn'][_0x3d3a96]['constructor']&&_0x43cb7a['update'](_0x4328da,this['drawn'][_0x3d3a96])?(_0x4328da=_0x4328da['nextSibling'],_0x3d3a96++):this['dom']['insertBefore'](_0x43cb7a['draw'](),_0x4328da);for(;_0x4328da;){let _0x5243d4=_0x4328da['nextSibling'];_0x4328da['remove'](),_0x4328da=_0x5243d4;}this['drawn']=_0xf3b8a6,_0x13bfcb['webkit']&&(this['dom']['style']['display']=this['dom']['firstChild']?'':'none');}}['destroy'](){this['layer']['destroy']&&this['layer']['destroy'](this['dom'],this['view']),this['dom']['remove']();}};const _0x3730e5=_0x17b3ea['define']();function _0x53b5c4(_0x295365){return[_0x5873ca['define'](_0x24842f=>new _0x150082(_0x24842f,_0x295365)),_0x3730e5['of'](_0x295365)];}const _0x20a6a9=_0x17b3ea['define']({'combine':_0x1f9ce1=>_0x31a8d4(_0x1f9ce1,{'cursorBlinkRate':0x4b0,'drawRangeCursor':!0x0,'iosSelectionHandles':!0x0},{'cursorBlinkRate':(_0x2d0388,_0x29e0ad)=>Math['min'](_0x2d0388,_0x29e0ad),'drawRangeCursor':(_0x6a74ac,_0x378fbe)=>_0x6a74ac||_0x378fbe})});function _0x1c91b4(_0x4bfb38={}){return[_0x20a6a9['of'](_0x4bfb38),_0x11f9d6,_0x828643,_0x21cf02,_0x386818['of'](!0x0)];}function _0x4fb32a(_0xe8f845){return _0xe8f845['startState']['facet'](_0x20a6a9)!=_0xe8f845['state']['facet'](_0x20a6a9);}const _0x11f9d6=_0x53b5c4({'above':!0x0,'markers'(_0x5c2a70){let {state:_0x46d4ea}=_0x5c2a70,_0x5b7eea=_0x46d4ea['facet'](_0x20a6a9),_0x1297b8=[];for(let _0x24a8a0 of _0x46d4ea['selection']['ranges']){let _0x50a949=_0x24a8a0==_0x46d4ea['selection']['main'];if(_0x24a8a0['empty']||_0x5b7eea['drawRangeCursor']&&!(_0x50a949&&_0x13bfcb['ios']&&_0x5b7eea['iosSelectionHandles'])){let _0x360259=_0x50a949?'cm-cursor\x20cm-cursor-primary':'cm-cursor\x20cm-cursor-secondary',_0x36f64d=_0x24a8a0['empty']?_0x24a8a0:_0x152831['cursor'](_0x24a8a0['head'],_0x24a8a0['assoc']);for(let _0x901257 of _0x4e4c21['forRange'](_0x5c2a70,_0x360259,_0x36f64d))_0x1297b8['push'](_0x901257);}}return _0x1297b8;},'update'(_0x35d405,_0x2e48f8){_0x35d405['transactions']['some'](_0x336a21=>_0x336a21['selection'])&&(_0x2e48f8['style']['animationName']='cm-blink'==_0x2e48f8['style']['animationName']?'cm-blink2':'cm-blink');let _0x75b12b=_0x4fb32a(_0x35d405);return _0x75b12b&&_0x567f67(_0x35d405['state'],_0x2e48f8),_0x35d405['docChanged']||_0x35d405['selectionSet']||_0x75b12b;},'mount'(_0x4658af,_0x2d2868){_0x567f67(_0x2d2868['state'],_0x4658af);},'class':'cm-cursorLayer'});function _0x567f67(_0x19f680,_0x4c3c3a){_0x4c3c3a['style']['animationDuration']=_0x19f680['facet'](_0x20a6a9)['cursorBlinkRate']+'ms';}const _0x828643=_0x53b5c4({'above':!0x1,'markers'(_0x3310da){let _0x1847f7=[],{main:_0x4654d5,ranges:_0x4f5fb9}=_0x3310da['state']['selection'];for(let _0x59d4fc of _0x4f5fb9)if(!_0x59d4fc['empty']){for(let _0x71e262 of _0x4e4c21['forRange'](_0x3310da,'cm-selectionBackground',_0x59d4fc))_0x1847f7['push'](_0x71e262);}if(_0x13bfcb['ios']&&!_0x4654d5['empty']&&_0x3310da['state']['facet'](_0x20a6a9)['iosSelectionHandles']){for(let _0x66727a of _0x4e4c21['forRange'](_0x3310da,'cm-selectionHandle\x20cm-selectionHandle-start',_0x152831['cursor'](_0x4654d5['from'],0x1)))_0x1847f7['push'](_0x66727a);for(let _0x1c3fa0 of _0x4e4c21['forRange'](_0x3310da,'cm-selectionHandle\x20cm-selectionHandle-end',_0x152831['cursor'](_0x4654d5['to'],0x1)))_0x1847f7['push'](_0x1c3fa0);}return _0x1847f7;},'update':(_0x3883c9,_0x7c5bb2)=>_0x3883c9['docChanged']||_0x3883c9['selectionSet']||_0x3883c9['viewportChanged']||_0x4fb32a(_0x3883c9),'class':'cm-selectionLayer'}),_0x21cf02=_0x74fe9f['highest'](_0x118ca6['theme']({'.cm-line':{'&\x20::selection,\x20&::selection':{'backgroundColor':'transparent\x20!important'},'caretColor':'transparent\x20!important'},'.cm-content':{'caretColor':'transparent\x20!important','&\x20:focus':{'caretColor':'initial\x20!important','&::selection,\x20&\x20::selection':{'backgroundColor':'Highlight\x20!important'}}}})),_0x4b1cb8=_0x41e66e['define']({'map':(_0x57532c,_0x102a73)=>null==_0x57532c?null:_0x102a73['mapPos'](_0x57532c)}),_0x268c00=_0x2bf5e0['define']({'create':()=>null,'update':(_0x58ce07,_0x932537)=>(null!=_0x58ce07&&(_0x58ce07=_0x932537['changes']['mapPos'](_0x58ce07)),_0x932537['effects']['reduce']((_0x155cbf,_0x5d24c6)=>_0x5d24c6['is'](_0x4b1cb8)?_0x5d24c6['value']:_0x155cbf,_0x58ce07))}),_0x27967c=_0x5873ca['fromClass'](class{constructor(_0x2d5801){this['view']=_0x2d5801,this['cursor']=null,this['measureReq']={'read':this['readPos']['bind'](this),'write':this['drawCursor']['bind'](this)};}['update'](_0x3d67b4){var _0x470821;let _0x1137db=_0x3d67b4['state']['field'](_0x268c00);null==_0x1137db?null!=this['cursor']&&(null===(_0x470821=this['cursor'])||void 0x0===_0x470821||_0x470821['remove'](),this['cursor']=null):(this['cursor']||(this['cursor']=this['view']['scrollDOM']['appendChild'](document['createElement']('div')),this['cursor']['className']='cm-dropCursor'),(_0x3d67b4['startState']['field'](_0x268c00)!=_0x1137db||_0x3d67b4['docChanged']||_0x3d67b4['geometryChanged'])&&this['view']['requestMeasure'](this['measureReq']));}['readPos'](){let {view:_0x338ded}=this,_0x697f9a=_0x338ded['state']['field'](_0x268c00),_0x3f098e=null!=_0x697f9a&&_0x338ded['coordsAtPos'](_0x697f9a);if(!_0x3f098e)return null;let _0x37b6b8=_0x338ded['scrollDOM']['getBoundingClientRect']();return{'left':_0x3f098e['left']-_0x37b6b8['left']+_0x338ded['scrollDOM']['scrollLeft']*_0x338ded['scaleX'],'top':_0x3f098e['top']-_0x37b6b8['top']+_0x338ded['scrollDOM']['scrollTop']*_0x338ded['scaleY'],'height':_0x3f098e['bottom']-_0x3f098e['top']};}['drawCursor'](_0x13438a){if(this['cursor']){let {scaleX:_0x387e94,scaleY:_0x4d90e7}=this['view'];_0x13438a?(this['cursor']['style']['left']=_0x13438a['left']/_0x387e94+'px',this['cursor']['style']['top']=_0x13438a['top']/_0x4d90e7+'px',this['cursor']['style']['height']=_0x13438a['height']/_0x4d90e7+'px'):this['cursor']['style']['left']='-100000px';}}['destroy'](){this['cursor']&&this['cursor']['remove']();}['setDropPos'](_0x7af72e){this['view']['state']['field'](_0x268c00)!=_0x7af72e&&this['view']['dispatch']({'effects':_0x4b1cb8['of'](_0x7af72e)});}},{'eventObservers':{'dragover'(_0x1c6b97){this['setDropPos'](this['view']['posAtCoords']({'x':_0x1c6b97['clientX'],'y':_0x1c6b97['clientY']}));},'dragleave'(_0x53c5a5){_0x53c5a5['target']!=this['view']['contentDOM']&&this['view']['contentDOM']['contains'](_0x53c5a5['relatedTarget'])||this['setDropPos'](null);},'dragend'(){this['setDropPos'](null);},'drop'(){this['setDropPos'](null);}}});function _0x2fd2da(){return[_0x268c00,_0x27967c];}function _0x170879(_0x5cd100,_0x3b0acc,_0x155de2,_0x3e87f8,_0x25e513){_0x3b0acc['lastIndex']=0x0;for(let _0xe5f6be,_0xf4e2bc=_0x5cd100['iterRange'](_0x155de2,_0x3e87f8),_0x1d79d7=_0x155de2;!_0xf4e2bc['next']()['done'];_0x1d79d7+=_0xf4e2bc['value']['length'])if(!_0xf4e2bc['lineBreak']){for(;_0xe5f6be=_0x3b0acc['exec'](_0xf4e2bc['value']);)_0x25e513(_0x1d79d7+_0xe5f6be['index'],_0xe5f6be);}}var _0x31bc88=class{constructor(_0x2f753c){const {regexp:_0x147c60,decoration:_0x3b9662,decorate:_0x508782,boundary:_0x2fa238,maxLength:_0x1c6f9a=0x3e8}=_0x2f753c;if(!_0x147c60['global'])throw new RangeError('The\x20regular\x20expression\x20given\x20to\x20MatchDecorator\x20should\x20have\x20its\x20\x27g\x27\x20flag\x20set');if(this['regexp']=_0x147c60,_0x508782)this['addMatch']=(_0x3695e3,_0x575c4a,_0x529bdf,_0x91056)=>_0x508782(_0x91056,_0x529bdf,_0x529bdf+_0x3695e3[0x0]['length'],_0x3695e3,_0x575c4a);else{if('function'==typeof _0x3b9662)this['addMatch']=(_0x5dddda,_0x2e252c,_0x6e540f,_0x467ca8)=>{let _0x39ec1f=_0x3b9662(_0x5dddda,_0x2e252c,_0x6e540f);_0x39ec1f&&_0x467ca8(_0x6e540f,_0x6e540f+_0x5dddda[0x0]['length'],_0x39ec1f);};else{if(!_0x3b9662)throw new RangeError('Either\x20\x27decorate\x27\x20or\x20\x27decoration\x27\x20should\x20be\x20provided\x20to\x20MatchDecorator');this['addMatch']=(_0x5ede7b,_0x381a3d,_0x37eefd,_0x159daa)=>_0x159daa(_0x37eefd,_0x37eefd+_0x5ede7b[0x0]['length'],_0x3b9662);}}this['boundary']=_0x2fa238,this['maxLength']=_0x1c6f9a;}['createDeco'](_0x1b8733){let _0x5352d2=new _0x1cc6f8(),_0xcf147c=_0x5352d2['add']['bind'](_0x5352d2);for(let {from:_0x1fb93c,to:_0x1e554a}of function(_0x178dce,_0x4c0f01){let _0x5359b4=_0x178dce['visibleRanges'];if(0x1==_0x5359b4['length']&&_0x5359b4[0x0]['from']==_0x178dce['viewport']['from']&&_0x5359b4[0x0]['to']==_0x178dce['viewport']['to'])return _0x5359b4;let _0x4069ec=[];for(let {from:_0x3ea7d3,to:_0x285b97}of _0x5359b4)_0x3ea7d3=Math['max'](_0x178dce['state']['doc']['lineAt'](_0x3ea7d3)['from'],_0x3ea7d3-_0x4c0f01),_0x285b97=Math['min'](_0x178dce['state']['doc']['lineAt'](_0x285b97)['to'],_0x285b97+_0x4c0f01),_0x4069ec['length']&&_0x4069ec[_0x4069ec['length']-0x1]['to']>=_0x3ea7d3?_0x4069ec[_0x4069ec['length']-0x1]['to']=_0x285b97:_0x4069ec['push']({'from':_0x3ea7d3,'to':_0x285b97});return _0x4069ec;}(_0x1b8733,this['maxLength']))_0x170879(_0x1b8733['state']['doc'],this['regexp'],_0x1fb93c,_0x1e554a,(_0x1a2b61,_0x4dd828)=>this['addMatch'](_0x4dd828,_0x1b8733,_0x1a2b61,_0xcf147c));return _0x5352d2['finish']();}['updateDeco'](_0x38e232,_0xe6d862){let _0x598e54=0x3b9aca00,_0x2e2a28=-0x1;return _0x38e232['docChanged']&&_0x38e232['changes']['iterChanges']((_0x5a9cdc,_0x4cf627,_0x787cbe,_0x50db06)=>{_0x50db06>=_0x38e232['view']['viewport']['from']&&_0x787cbe<=_0x38e232['view']['viewport']['to']&&(_0x598e54=Math['min'](_0x787cbe,_0x598e54),_0x2e2a28=Math['max'](_0x50db06,_0x2e2a28));}),_0x38e232['viewportMoved']||_0x2e2a28-_0x598e54>0x3e8?this['createDeco'](_0x38e232['view']):_0x2e2a28>-0x1?this['updateRange'](_0x38e232['view'],_0xe6d862['map'](_0x38e232['changes']),_0x598e54,_0x2e2a28):_0xe6d862;}['updateRange'](_0x44f461,_0x1fdfee,_0x31e002,_0x1ce93e){for(let _0x1807a7 of _0x44f461['visibleRanges']){let _0x4e1917=Math['max'](_0x1807a7['from'],_0x31e002),_0x12a0d1=Math['min'](_0x1807a7['to'],_0x1ce93e);if(_0x12a0d1>=_0x4e1917){let _0x12ae57=_0x44f461['state']['doc']['lineAt'](_0x4e1917),_0x29cb04=_0x12ae57['to']<_0x12a0d1?_0x44f461['state']['doc']['lineAt'](_0x12a0d1):_0x12ae57,_0x469c25=Math['max'](_0x1807a7['from'],_0x12ae57['from']),_0x2c4776=Math['min'](_0x1807a7['to'],_0x29cb04['to']);if(this['boundary']){for(;_0x4e1917>_0x12ae57['from'];_0x4e1917--)if(this['boundary']['test'](_0x12ae57['text'][_0x4e1917-0x1-_0x12ae57['from']])){_0x469c25=_0x4e1917;break;}for(;_0x12a0d1<_0x29cb04['to'];_0x12a0d1++)if(this['boundary']['test'](_0x29cb04['text'][_0x12a0d1-_0x29cb04['from']])){_0x2c4776=_0x12a0d1;break;}}let _0x5b8cdf,_0x4ad317=[],_0x3e1985=(_0x289d17,_0x1543ca,_0x1dadf6)=>_0x4ad317['push'](_0x1dadf6['range'](_0x289d17,_0x1543ca));if(_0x12ae57==_0x29cb04){for(this['regexp']['lastIndex']=_0x469c25-_0x12ae57['from'];(_0x5b8cdf=this['regexp']['exec'](_0x12ae57['text']))&&_0x5b8cdf['index']<_0x2c4776-_0x12ae57['from'];)this['addMatch'](_0x5b8cdf,_0x44f461,_0x5b8cdf['index']+_0x12ae57['from'],_0x3e1985);}else _0x170879(_0x44f461['state']['doc'],this['regexp'],_0x469c25,_0x2c4776,(_0x34418,_0x3c6cdb)=>this['addMatch'](_0x3c6cdb,_0x44f461,_0x34418,_0x3e1985));_0x1fdfee=_0x1fdfee['update']({'filterFrom':_0x469c25,'filterTo':_0x2c4776,'filter':(_0x58655e,_0x12a2ba)=>_0x58655e<_0x469c25||_0x12a2ba>_0x2c4776,'add':_0x4ad317});}}return _0x1fdfee;}};const _0x23826b=null!=/x/['unicode']?'gu':'g',_0x4585b8=new RegExp('[\x00-\x08\x0a-\x1f\x7f-\u009f­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]',_0x23826b),_0xce439f={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 _0x204bdc=null;const _0x222db5=_0x17b3ea['define']({'combine'(_0x36730f){let _0x37c791=_0x31a8d4(_0x36730f,{'render':null,'specialChars':_0x4585b8,'addSpecialChars':null});return(_0x37c791['replaceTabs']=!(function(){var _0x1e3b64;if(null==_0x204bdc&&'undefined'!=typeof document&&document['body']){let _0x55fbc5=document['body']['style'];_0x204bdc=null!=(null!==(_0x1e3b64=_0x55fbc5['tabSize'])&&void 0x0!==_0x1e3b64?_0x1e3b64:_0x55fbc5['MozTabSize']);}return _0x204bdc||!0x1;}()))&&(_0x37c791['specialChars']=new RegExp('\x09|'+_0x37c791['specialChars']['source'],_0x23826b)),_0x37c791['addSpecialChars']&&(_0x37c791['specialChars']=new RegExp(_0x37c791['specialChars']['source']+'|'+_0x37c791['addSpecialChars']['source'],_0x23826b)),_0x37c791;}});function _0xb84f6e(_0x4d32d3={}){return[_0x222db5['of'](_0x4d32d3),_0x3e3b34||(_0x3e3b34=_0x5873ca['fromClass'](class{constructor(_0x5b0ded){this['view']=_0x5b0ded,this['decorations']=_0x68bd12['none'],this['decorationCache']=Object['create'](null),this['decorator']=this['makeDecorator'](_0x5b0ded['state']['facet'](_0x222db5)),this['decorations']=this['decorator']['createDeco'](_0x5b0ded);}['makeDecorator'](_0x5e31e6){return new _0x31bc88({'regexp':_0x5e31e6['specialChars'],'decoration':(_0x4eb82d,_0x2c96d5,_0x28dc74)=>{let {doc:_0x5d5f8f}=_0x2c96d5['state'],_0x218f58=_0x3d5bb6(_0x4eb82d[0x0],0x0);if(0x9==_0x218f58){let _0x30b807=_0x5d5f8f['lineAt'](_0x28dc74),_0x4452df=_0x2c96d5['state']['tabSize'],_0x333f93=_0x144e8e(_0x30b807['text'],_0x4452df,_0x28dc74-_0x30b807['from']);return _0x68bd12['replace']({'widget':new _0x4cc613((_0x4452df-_0x333f93%_0x4452df)*this['view']['defaultCharacterWidth']/this['view']['scaleX'])});}return this['decorationCache'][_0x218f58]||(this['decorationCache'][_0x218f58]=_0x68bd12['replace']({'widget':new _0x2586fa(_0x5e31e6,_0x218f58)}));},'boundary':_0x5e31e6['replaceTabs']?void 0x0:/[^]/});}['update'](_0xb641cb){let _0xe636bf=_0xb641cb['state']['facet'](_0x222db5);_0xb641cb['startState']['facet'](_0x222db5)!=_0xe636bf?(this['decorator']=this['makeDecorator'](_0xe636bf),this['decorations']=this['decorator']['createDeco'](_0xb641cb['view'])):this['decorations']=this['decorator']['updateDeco'](_0xb641cb,this['decorations']);}},{'decorations':_0x4a615f=>_0x4a615f['decorations']}))];}let _0x3e3b34=null;var _0x2586fa=class extends _0x129238{constructor(_0x391eba,_0x38b30d){super(),this['options']=_0x391eba,this['code']=_0x38b30d;}['eq'](_0x2c65a9){return _0x2c65a9['code']==this['code'];}['toDOM'](_0x23a5e1){let _0x2b07d4=function(_0x4e20d2){return _0x4e20d2>=0x20?'•':0xa==_0x4e20d2?'␤':String['fromCharCode'](0x2400+_0x4e20d2);}(this['code']),_0x39473a=_0x23a5e1['state']['phrase']('Control\x20character')+'\x20'+(_0xce439f[this['code']]||'0x'+this['code']['toString'](0x10)),_0x132d85=this['options']['render']&&this['options']['render'](this['code'],_0x39473a,_0x2b07d4);if(_0x132d85)return _0x132d85;let _0x5496a6=document['createElement']('span');return _0x5496a6['textContent']=_0x2b07d4,_0x5496a6['title']=_0x39473a,_0x5496a6['setAttribute']('aria-label',_0x39473a),_0x5496a6['className']='cm-specialChar',_0x5496a6;}['ignoreEvent'](){return!0x1;}},_0x4cc613=class extends _0x129238{constructor(_0x3e5bd4){super(),this['width']=_0x3e5bd4;}['eq'](_0x3c4d97){return _0x3c4d97['width']==this['width'];}['toDOM'](){let _0x391252=document['createElement']('span');return _0x391252['textContent']='\x09',_0x391252['className']='cm-tab',_0x391252['style']['width']=this['width']+'px',_0x391252;}['ignoreEvent'](){return!0x1;}};function _0x5aa800(){return _0x514f6a;}const _0x10f9f2=_0x68bd12['line']({'class':'cm-activeLine'}),_0x514f6a=_0x5873ca['fromClass'](class{constructor(_0x167cbf){this['decorations']=this['getDeco'](_0x167cbf);}['update'](_0x426ad1){(_0x426ad1['docChanged']||_0x426ad1['selectionSet'])&&(this['decorations']=this['getDeco'](_0x426ad1['view']));}['getDeco'](_0x27a0da){let _0x4736ad=-0x1,_0x4e7852=[];for(let _0x283abd of _0x27a0da['state']['selection']['ranges']){let _0x10f042=_0x27a0da['lineBlockAt'](_0x283abd['head']);_0x10f042['from']>_0x4736ad&&(_0x4e7852['push'](_0x10f9f2['range'](_0x10f042['from'])),_0x4736ad=_0x10f042['from']);}return _0x68bd12['set'](_0x4e7852);}},{'decorations':_0x231eb3=>_0x231eb3['decorations']}),_0x3660a1=0x7d0;function _0x2e32c8(_0x54b5ad,_0x7c1ae3){let _0x505ca6=_0x54b5ad['posAtCoords']({'x':_0x7c1ae3['clientX'],'y':_0x7c1ae3['clientY']},!0x1),_0x3da1f8=_0x54b5ad['state']['doc']['lineAt'](_0x505ca6),_0x3fdcfb=_0x505ca6-_0x3da1f8['from'],_0x81a253=_0x3fdcfb>_0x3660a1?-0x1:_0x3fdcfb==_0x3da1f8['length']?function(_0x6fb861,_0x19fe72){let _0x24a298=_0x6fb861['coordsAtPos'](_0x6fb861['viewport']['from']);return _0x24a298?Math['round'](Math['abs']((_0x24a298['left']-_0x19fe72)/_0x6fb861['defaultCharacterWidth'])):-0x1;}(_0x54b5ad,_0x7c1ae3['clientX']):_0x144e8e(_0x3da1f8['text'],_0x54b5ad['state']['tabSize'],_0x505ca6-_0x3da1f8['from']);return{'line':_0x3da1f8['number'],'col':_0x81a253,'off':_0x3fdcfb};}function _0x537796(_0x59e3b4,_0x491783){let _0x2a8667=_0x2e32c8(_0x59e3b4,_0x491783),_0x57de9c=_0x59e3b4['state']['selection'];return _0x2a8667?{'update'(_0x42b0df){if(_0x42b0df['docChanged']){let _0x4c548e=_0x42b0df['changes']['mapPos'](_0x42b0df['startState']['doc']['line'](_0x2a8667['line'])['from']),_0x586dbf=_0x42b0df['state']['doc']['lineAt'](_0x4c548e);_0x2a8667={'line':_0x586dbf['number'],'col':_0x2a8667['col'],'off':Math['min'](_0x2a8667['off'],_0x586dbf['length'])},_0x57de9c=_0x57de9c['map'](_0x42b0df['changes']);}},'get'(_0x5905b9,_0x50f332,_0x2e416e){let _0x25d14e=_0x2e32c8(_0x59e3b4,_0x5905b9);if(!_0x25d14e)return _0x57de9c;let _0x3b4d78=function(_0x303fea,_0x4c3bdc,_0x569bcf){let _0x90e709=Math['min'](_0x4c3bdc['line'],_0x569bcf['line']),_0xf0ef2d=Math['max'](_0x4c3bdc['line'],_0x569bcf['line']),_0x5de994=[];if(_0x4c3bdc['off']>_0x3660a1||_0x569bcf['off']>_0x3660a1||_0x4c3bdc['col']<0x0||_0x569bcf['col']<0x0){let _0x1981a1=Math['min'](_0x4c3bdc['off'],_0x569bcf['off']),_0x5e43a1=Math['max'](_0x4c3bdc['off'],_0x569bcf['off']);for(let _0x4aa6bb=_0x90e709;_0x4aa6bb<=_0xf0ef2d;_0x4aa6bb++){let _0x1cd9a4=_0x303fea['doc']['line'](_0x4aa6bb);_0x1cd9a4['length']<=_0x5e43a1&&_0x5de994['push'](_0x152831['range'](_0x1cd9a4['from']+_0x1981a1,_0x1cd9a4['to']+_0x5e43a1));}}else{let _0x42d9f0=Math['min'](_0x4c3bdc['col'],_0x569bcf['col']),_0x3bac68=Math['max'](_0x4c3bdc['col'],_0x569bcf['col']);for(let _0x5319d5=_0x90e709;_0x5319d5<=_0xf0ef2d;_0x5319d5++){let _0x1fc966=_0x303fea['doc']['line'](_0x5319d5),_0x2e7b90=_0x580085(_0x1fc966['text'],_0x42d9f0,_0x303fea['tabSize'],!0x0);if(_0x2e7b90<0x0)_0x5de994['push'](_0x152831['cursor'](_0x1fc966['to']));else{let _0x89ad39=_0x580085(_0x1fc966['text'],_0x3bac68,_0x303fea['tabSize']);_0x5de994['push'](_0x152831['range'](_0x1fc966['from']+_0x2e7b90,_0x1fc966['from']+_0x89ad39));}}}return _0x5de994;}(_0x59e3b4['state'],_0x2a8667,_0x25d14e);return _0x3b4d78['length']?_0x2e416e?_0x152831['create'](_0x3b4d78['concat'](_0x57de9c['ranges'])):_0x152831['create'](_0x3b4d78):_0x57de9c;}}:null;}function _0x441869(_0x7d12b8){let _0x499cb6=(null==_0x7d12b8?void 0x0:_0x7d12b8['eventFilter'])||(_0x3a8f0f=>_0x3a8f0f['altKey']&&0x0==_0x3a8f0f['button']);return _0x118ca6['mouseSelectionStyle']['of']((_0x320036,_0x278d35)=>_0x499cb6(_0x278d35)?_0x537796(_0x320036,_0x278d35):null);}const _0x5af3a2={'Alt':[0x12,_0x403ffd=>!!_0x403ffd['altKey']],'Control':[0x11,_0x341378=>!!_0x341378['ctrlKey']],'Shift':[0x10,_0x4ad181=>!!_0x4ad181['shiftKey']],'Meta':[0x5b,_0x20c279=>!!_0x20c279['metaKey']]},_0x24f287={'style':'cursor:\x20crosshair'};function _0x228109(_0x394604={}){let [_0x439921,_0x3f8284]=_0x5af3a2[_0x394604['key']||'Alt'],_0x22617f=_0x5873ca['fromClass'](class{constructor(_0x522eef){this['view']=_0x522eef,this['isDown']=!0x1;}['set'](_0x6462f3){this['isDown']!=_0x6462f3&&(this['isDown']=_0x6462f3,this['view']['update']([]));}},{'eventObservers':{'keydown'(_0xfe39a3){this['set'](_0xfe39a3['keyCode']==_0x439921||_0x3f8284(_0xfe39a3));},'keyup'(_0xa15561){_0xa15561['keyCode']!=_0x439921&&_0x3f8284(_0xa15561)||this['set'](!0x1);},'mousemove'(_0x3ba8ab){this['set'](_0x3f8284(_0x3ba8ab));}}});return[_0x22617f,_0x118ca6['contentAttributes']['of'](_0x2759a6=>{var _0x26e659;return(null===(_0x26e659=_0x2759a6['plugin'](_0x22617f))||void 0x0===_0x26e659?void 0x0:_0x26e659['isDown'])?_0x24f287:null;})];}const _0x301160='-10000px';var _0x12525a=class{constructor(_0x3e5811,_0x4590a9,_0x565f16,_0xab7811){this['facet']=_0x4590a9,this['createTooltipView']=_0x565f16,this['removeTooltipView']=_0xab7811,this['input']=_0x3e5811['state']['facet'](_0x4590a9),this['tooltips']=this['input']['filter'](t=>t);let _0x1267fd=null;this['tooltipViews']=this['tooltips']['map'](t=>_0x1267fd=_0x565f16(t,_0x1267fd));}['update'](_0x4a43e5,_0x4c1d7a){var _0xe4811e;let _0x1250aa=_0x4a43e5['state']['facet'](this['facet']),_0x9fae0a=_0x1250aa['filter'](_0x263279=>_0x263279);if(_0x1250aa===this['input']){for(let t of this['tooltipViews'])t['update']&&t['update'](_0x4a43e5);return!0x1;}let _0x57af93=[],_0xd30752=_0x4c1d7a?[]:null;for(let _0x563622=0x0;_0x563622<_0x9fae0a['length'];_0x563622++){let _0x1baa12=_0x9fae0a[_0x563622],_0x5c2342=-0x1;if(_0x1baa12){for(let _0x4e437e=0x0;_0x4e437e<this['tooltips']['length'];_0x4e437e++){let _0x32ca5e=this['tooltips'][_0x4e437e];_0x32ca5e&&_0x32ca5e['create']==_0x1baa12['create']&&(_0x5c2342=_0x4e437e);}if(_0x5c2342<0x0)_0x57af93[_0x563622]=this['createTooltipView'](_0x1baa12,_0x563622?_0x57af93[_0x563622-0x1]:null),_0xd30752&&(_0xd30752[_0x563622]=!!_0x1baa12['above']);else{let _0x3e02b1=_0x57af93[_0x563622]=this['tooltipViews'][_0x5c2342];_0xd30752&&(_0xd30752[_0x563622]=_0x4c1d7a[_0x5c2342]),_0x3e02b1['update']&&_0x3e02b1['update'](_0x4a43e5);}}}for(let t of this['tooltipViews'])_0x57af93['indexOf'](t)<0x0&&(this['removeTooltipView'](t),null===(_0xe4811e=t['destroy'])||void 0x0===_0xe4811e||_0xe4811e['call'](t));return _0x4c1d7a&&(_0xd30752['forEach']((_0x2ca614,_0x29531a)=>_0x4c1d7a[_0x29531a]=_0x2ca614),_0x4c1d7a['length']=_0xd30752['length']),this['input']=_0x1250aa,this['tooltips']=_0x9fae0a,this['tooltipViews']=_0x57af93,!0x0;}};function _0x52ffd9(_0x1f5105){let _0x10e453=_0x1f5105['dom']['ownerDocument']['documentElement'];return{'top':0x0,'left':0x0,'bottom':_0x10e453['clientHeight'],'right':_0x10e453['clientWidth']};}const _0x136665=_0x17b3ea['define']({'combine':_0x38b513=>{var _0xe6f22e,_0xbe58ee,_0x397129;return{'position':_0x13bfcb['ios']?'absolute':(null===(_0xe6f22e=_0x38b513['find'](_0x44deee=>_0x44deee['position']))||void 0x0===_0xe6f22e?void 0x0:_0xe6f22e['position'])||'fixed','parent':(null===(_0xbe58ee=_0x38b513['find'](_0x16aeb0=>_0x16aeb0['parent']))||void 0x0===_0xbe58ee?void 0x0:_0xbe58ee['parent'])||null,'tooltipSpace':(null===(_0x397129=_0x38b513['find'](_0x4c4b3f=>_0x4c4b3f['tooltipSpace']))||void 0x0===_0x397129?void 0x0:_0x397129['tooltipSpace'])||_0x52ffd9};}}),_0x2d20af=new WeakMap(),t$=_0x5873ca['fromClass'](class{constructor(_0x567166){this['view']=_0x567166,this['above']=[],this['inView']=!0x0,this['madeAbsolute']=!0x1,this['lastTransaction']=0x0,this['measureTimeout']=-0x1;let _0x4f6edd=_0x567166['state']['facet'](_0x136665);this['position']=_0x4f6edd['position'],this['parent']=_0x4f6edd['parent'],this['classes']=_0x567166['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 _0x12525a(_0x567166,_0x445ef4,(t,_0x3a5286)=>this['createTooltip'](t,_0x3a5286),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(_0x542082=>{Date['now']()>this['lastTransaction']-0x32&&_0x542082['length']>0x0&&_0x542082[_0x542082['length']-0x1]['intersectionRatio']<0x1&&this['measureSoon']();},{'threshold':[0x1]}):null,this['observeIntersection'](),_0x567166['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 _0x26aa71 of this['manager']['tooltipViews'])this['intersectionObserver']['observe'](_0x26aa71['dom']);}}['measureSoon'](){this['measureTimeout']<0x0&&(this['measureTimeout']=setTimeout(()=>{this['measureTimeout']=-0x1,this['maybeMeasure']();},0x32));}['update'](_0x229885){_0x229885['transactions']['length']&&(this['lastTransaction']=Date['now']());let _0x41fa23=this['manager']['update'](_0x229885,this['above']);_0x41fa23&&this['observeIntersection']();let _0x36549a=_0x41fa23||_0x229885['geometryChanged'],_0x414bbc=_0x229885['state']['facet'](_0x136665);if(_0x414bbc['position']!=this['position']&&!this['madeAbsolute']){this['position']=_0x414bbc['position'];for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']=this['position'];_0x36549a=!0x0;}if(_0x414bbc['parent']!=this['parent']){this['parent']&&this['container']['remove'](),this['parent']=_0x414bbc['parent'],this['createContainer']();for(let t of this['manager']['tooltipViews'])this['container']['appendChild'](t['dom']);_0x36549a=!0x0;}else this['parent']&&this['view']['themeClasses']!=this['classes']&&(this['classes']=this['container']['className']=this['view']['themeClasses']);_0x36549a&&this['maybeMeasure']();}['createTooltip'](_0x265567,_0x2368f7){let _0x3c51f4=_0x265567['create'](this['view']),_0x15a120=_0x2368f7?_0x2368f7['dom']:null;if(_0x3c51f4['dom']['classList']['add']('cm-tooltip'),_0x265567['arrow']&&!_0x3c51f4['dom']['querySelector']('.cm-tooltip\x20>\x20.cm-tooltip-arrow')){let _0x57ebff=document['createElement']('div');_0x57ebff['className']='cm-tooltip-arrow',_0x3c51f4['dom']['appendChild'](_0x57ebff);}return _0x3c51f4['dom']['style']['position']=this['position'],_0x3c51f4['dom']['style']['top']=_0x301160,_0x3c51f4['dom']['style']['left']='0px',this['container']['insertBefore'](_0x3c51f4['dom'],_0x15a120),_0x3c51f4['mount']&&_0x3c51f4['mount'](this['view']),this['resizeObserver']&&this['resizeObserver']['observe'](_0x3c51f4['dom']),_0x3c51f4;}['destroy'](){var _0x5348c9,_0x5d2750,_0x1cdbe5;this['view']['win']['removeEventListener']('resize',this['measureSoon']);for(let _0x12a2d2 of this['manager']['tooltipViews'])_0x12a2d2['dom']['remove'](),null===(_0x5348c9=_0x12a2d2['destroy'])||void 0x0===_0x5348c9||_0x5348c9['call'](_0x12a2d2);this['parent']&&this['container']['remove'](),null===(_0x5d2750=this['resizeObserver'])||void 0x0===_0x5d2750||_0x5d2750['disconnect'](),null===(_0x1cdbe5=this['intersectionObserver'])||void 0x0===_0x1cdbe5||_0x1cdbe5['disconnect'](),clearTimeout(this['measureTimeout']);}['readMeasure'](){let _0x46830d=0x1,_0x126e22=0x1,_0x47f899=!0x1;if('fixed'==this['position']&&this['manager']['tooltipViews']['length']){let {dom:_0x200b17}=this['manager']['tooltipViews'][0x0];if(_0x13bfcb['safari']){let _0x4f5201=_0x200b17['getBoundingClientRect']();_0x47f899=Math['abs'](_0x4f5201['top']+0x2710)>0x1||Math['abs'](_0x4f5201['left'])>0x1;}else _0x47f899=!!_0x200b17['offsetParent']&&_0x200b17['offsetParent']!=this['container']['ownerDocument']['body'];}if(_0x47f899||'absolute'==this['position']){if(this['parent']){let _0x6fdaf9=this['parent']['getBoundingClientRect']();_0x6fdaf9['width']&&_0x6fdaf9['height']&&(_0x46830d=_0x6fdaf9['width']/this['parent']['offsetWidth'],_0x126e22=_0x6fdaf9['height']/this['parent']['offsetHeight']);}else({scaleX:_0x46830d,scaleY:_0x126e22}=this['view']['viewState']);}let _0x17a1b1=this['view']['scrollDOM']['getBoundingClientRect'](),_0x574b48=_0x15273d(this['view']);return{'visible':{'left':_0x17a1b1['left']+_0x574b48['left'],'top':_0x17a1b1['top']+_0x574b48['top'],'right':_0x17a1b1['right']-_0x574b48['right'],'bottom':_0x17a1b1['bottom']-_0x574b48['bottom']},'parent':this['parent']?this['container']['getBoundingClientRect']():this['view']['dom']['getBoundingClientRect'](),'pos':this['manager']['tooltips']['map']((t,_0x107b5e)=>{let _0x449a71=this['manager']['tooltipViews'][_0x107b5e];return _0x449a71['getCoords']?_0x449a71['getCoords'](t['pos']):this['view']['coordsAtPos'](t['pos']);}),'size':this['manager']['tooltipViews']['map'](({dom:_0x4cc4a0})=>_0x4cc4a0['getBoundingClientRect']()),'space':this['view']['state']['facet'](_0x136665)['tooltipSpace'](this['view']),'scaleX':_0x46830d,'scaleY':_0x126e22,'makeAbsolute':_0x47f899};}['writeMeasure'](_0x2affb3){var _0x1d40ba;if(_0x2affb3['makeAbsolute']){this['madeAbsolute']=!0x0,this['position']='absolute';for(let t of this['manager']['tooltipViews'])t['dom']['style']['position']='absolute';}let {visible:_0x4129bf,space:_0x413c8f,scaleX:_0x7e6b00,scaleY:_0x456cb0}=_0x2affb3,_0x45a6cf=[];for(let _0x293cfd=0x0;_0x293cfd<this['manager']['tooltips']['length'];_0x293cfd++){let _0x1dd1ea=this['manager']['tooltips'][_0x293cfd],_0x105c4c=this['manager']['tooltipViews'][_0x293cfd],{dom:_0x1ba195}=_0x105c4c,_0x411578=_0x2affb3['pos'][_0x293cfd],_0x7b7ab=_0x2affb3['size'][_0x293cfd];if(!_0x411578||!0x1!==_0x1dd1ea['clip']&&(_0x411578['bottom']<=Math['max'](_0x4129bf['top'],_0x413c8f['top'])||_0x411578['top']>=Math['min'](_0x4129bf['bottom'],_0x413c8f['bottom'])||_0x411578['right']<Math['max'](_0x4129bf['left'],_0x413c8f['left'])-0.1||_0x411578['left']>Math['min'](_0x4129bf['right'],_0x413c8f['right'])+0.1)){_0x1ba195['style']['top']=_0x301160;continue;}let _0x11bc6d=_0x1dd1ea['arrow']?_0x105c4c['dom']['querySelector']('.cm-tooltip-arrow'):null,_0x482735=_0x11bc6d?0x7:0x0,_0x1165bc=_0x7b7ab['right']-_0x7b7ab['left'],_0x3970ab=null!==(_0x1d40ba=_0x2d20af['get'](_0x105c4c))&&void 0x0!==_0x1d40ba?_0x1d40ba:_0x7b7ab['bottom']-_0x7b7ab['top'],_0x188d9c=_0x105c4c['offset']||_0x4e57c9,_0x4e374f=this['view']['textDirection']==_0x48659f['LTR'],_0x44680f=_0x7b7ab['width']>_0x413c8f['right']-_0x413c8f['left']?_0x4e374f?_0x413c8f['left']:_0x413c8f['right']-_0x7b7ab['width']:_0x4e374f?Math['max'](_0x413c8f['left'],Math['min'](_0x411578['left']-(_0x11bc6d?0xe:0x0)+_0x188d9c['x'],_0x413c8f['right']-_0x1165bc)):Math['min'](Math['max'](_0x413c8f['left'],_0x411578['left']-_0x1165bc+(_0x11bc6d?0xe:0x0)-_0x188d9c['x']),_0x413c8f['right']-_0x1165bc),_0x1aebaa=this['above'][_0x293cfd];!_0x1dd1ea['strictSide']&&(_0x1aebaa?_0x411578['top']-_0x3970ab-_0x482735-_0x188d9c['y']<_0x413c8f['top']:_0x411578['bottom']+_0x3970ab+_0x482735+_0x188d9c['y']>_0x413c8f['bottom'])&&_0x1aebaa==_0x413c8f['bottom']-_0x411578['bottom']>_0x411578['top']-_0x413c8f['top']&&(_0x1aebaa=this['above'][_0x293cfd]=!_0x1aebaa);let _0x4f8269=(_0x1aebaa?_0x411578['top']-_0x413c8f['top']:_0x413c8f['bottom']-_0x411578['bottom'])-_0x482735;if(_0x4f8269<_0x3970ab&&!0x1!==_0x105c4c['resize']){if(_0x4f8269<this['view']['defaultLineHeight']){_0x1ba195['style']['top']=_0x301160;continue;}_0x2d20af['set'](_0x105c4c,_0x3970ab),_0x1ba195['style']['height']=(_0x3970ab=_0x4f8269)/_0x456cb0+'px';}else _0x1ba195['style']['height']&&(_0x1ba195['style']['height']='');let _0x576f68=_0x1aebaa?_0x411578['top']-_0x3970ab-_0x482735-_0x188d9c['y']:_0x411578['bottom']+_0x482735+_0x188d9c['y'],_0x364a32=_0x44680f+_0x1165bc;if(!0x0!==_0x105c4c['overlap']){for(let _0x78501e of _0x45a6cf)_0x78501e['left']<_0x364a32&&_0x78501e['right']>_0x44680f&&_0x78501e['top']<_0x576f68+_0x3970ab&&_0x78501e['bottom']>_0x576f68&&(_0x576f68=_0x1aebaa?_0x78501e['top']-_0x3970ab-0x2-_0x482735:_0x78501e['bottom']+_0x482735+0x2);}if('absolute'==this['position']?(_0x1ba195['style']['top']=(_0x576f68-_0x2affb3['parent']['top'])/_0x456cb0+'px',_0x1e43dc(_0x1ba195,(_0x44680f-_0x2affb3['parent']['left'])/_0x7e6b00)):(_0x1ba195['style']['top']=_0x576f68/_0x456cb0+'px',_0x1e43dc(_0x1ba195,_0x44680f/_0x7e6b00)),_0x11bc6d){let _0x18c2c0=_0x411578['left']+(_0x4e374f?_0x188d9c['x']:-_0x188d9c['x'])-(_0x44680f+0xe-0x7);_0x11bc6d['style']['left']=_0x18c2c0/_0x7e6b00+'px';}!0x0!==_0x105c4c['overlap']&&_0x45a6cf['push']({'left':_0x44680f,'top':_0x576f68,'right':_0x364a32,'bottom':_0x576f68+_0x3970ab}),_0x1ba195['classList']['toggle']('cm-tooltip-above',_0x1aebaa),_0x1ba195['classList']['toggle']('cm-tooltip-below',!_0x1aebaa),_0x105c4c['positioned']&&_0x105c4c['positioned'](_0x2affb3['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 _0x1aee66 of this['manager']['tooltipViews'])_0x1aee66['dom']['style']['top']=_0x301160;}}},{'eventObservers':{'scroll'(){this['maybeMeasure']();}}});function _0x1e43dc(_0x7adbc2,_0x15d26c){let _0x4b95cf=parseInt(_0x7adbc2['style']['left'],0xa);(isNaN(_0x4b95cf)||Math['abs'](_0x15d26c-_0x4b95cf)>0x1)&&(_0x7adbc2['style']['left']=_0x15d26c+'px');}const _0x304645=_0x118ca6['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'}}}),_0x4e57c9={'x':0x0,'y':0x0},_0x445ef4=_0x17b3ea['define']({'enables':[t$,_0x304645]});function _0x2a1ca6(_0x46c754,_0x325d39){let _0x3352c0=_0x46c754['plugin'](t$);if(!_0x3352c0)return null;let _0x16357c=_0x3352c0['manager']['tooltips']['indexOf'](_0x325d39);return _0x16357c<0x0?null:_0x3352c0['manager']['tooltipViews'][_0x16357c];}var _0x5c0666=class extends _0x15c541{['compare'](_0x44fb2d){return this==_0x44fb2d||this['constructor']==_0x44fb2d['constructor']&&this['eq'](_0x44fb2d);}['eq'](_0x5ba90f){return!0x1;}['destroy'](_0x51838e){}};_0x5c0666['prototype']['elementClass']='',_0x5c0666['prototype']['toDOM']=void 0x0,_0x5c0666['prototype']['mapMode']=_0x473ae9['TrackBefore'],_0x5c0666['prototype']['startSide']=_0x5c0666['prototype']['endSide']=-0x1,_0x5c0666['prototype']['point']=!0x0;const _0x8efc6=_0x17b3ea['define'](),_0x5ab2c8=_0x17b3ea['define'](),_0x3565b4={'class':'','renderEmptyElements':!0x1,'elementStyle':'','markers':()=>_0x397923['empty'],'lineMarker':()=>null,'widgetMarker':()=>null,'lineMarkerChange':null,'initialSpacer':null,'updateSpacer':null,'domEventHandlers':{},'side':'before'},_0x42eb54=_0x17b3ea['define']();function _0x38d460(_0x39fe0){return[_0x313925(),_0x42eb54['of']({..._0x3565b4,..._0x39fe0})];}const _0x307dd5=_0x17b3ea['define']({'combine':_0xddbbe9=>_0xddbbe9['some'](_0xf9a064=>_0xf9a064)});function _0x313925(_0x5446aa){let _0x502e97=[_0x5d2f60];return _0x5446aa&&!0x1===_0x5446aa['fixed']&&_0x502e97['push'](_0x307dd5['of'](!0x0)),_0x502e97;}const _0x5d2f60=_0x5873ca['fromClass'](class{constructor(_0x3e045f){this['view']=_0x3e045f,this['domAfter']=null,this['prevViewport']=_0x3e045f['viewport'],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutters\x20cm-gutters-before',this['dom']['setAttribute']('aria-hidden','true'),this['dom']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px',this['gutters']=_0x3e045f['state']['facet'](_0x42eb54)['map'](_0x34525f=>new _0x1ea78b(_0x3e045f,_0x34525f)),this['fixed']=!_0x3e045f['state']['facet'](_0x307dd5);for(let _0x47fdc7 of this['gutters'])'after'==_0x47fdc7['config']['side']?this['getDOMAfter']()['appendChild'](_0x47fdc7['dom']):this['dom']['appendChild'](_0x47fdc7['dom']);this['fixed']&&(this['dom']['style']['position']='sticky'),this['syncGutters'](!0x1),_0x3e045f['scrollDOM']['insertBefore'](this['dom'],_0x3e045f['contentDOM']);}['getDOMAfter'](){return this['domAfter']||(this['domAfter']=document['createElement']('div'),this['domAfter']['className']='cm-gutters\x20cm-gutters-after',this['domAfter']['setAttribute']('aria-hidden','true'),this['domAfter']['style']['minHeight']=this['view']['contentHeight']/this['view']['scaleY']+'px',this['domAfter']['style']['position']=this['fixed']?'sticky':'',this['view']['scrollDOM']['appendChild'](this['domAfter'])),this['domAfter'];}['update'](_0x5f10f1){if(this['updateGutters'](_0x5f10f1)){let _0x3866b0=this['prevViewport'],_0x224766=_0x5f10f1['view']['viewport'],_0x2ac0b3=Math['min'](_0x3866b0['to'],_0x224766['to'])-Math['max'](_0x3866b0['from'],_0x224766['from']);this['syncGutters'](_0x2ac0b3<0.8*(_0x224766['to']-_0x224766['from']));}if(_0x5f10f1['geometryChanged']){let _0x2e10af=this['view']['contentHeight']/this['view']['scaleY']+'px';this['dom']['style']['minHeight']=_0x2e10af,this['domAfter']&&(this['domAfter']['style']['minHeight']=_0x2e10af);}this['view']['state']['facet'](_0x307dd5)!=!this['fixed']&&(this['fixed']=!this['fixed'],this['dom']['style']['position']=this['fixed']?'sticky':'',this['domAfter']&&(this['domAfter']['style']['position']=this['fixed']?'sticky':'')),this['prevViewport']=_0x5f10f1['view']['viewport'];}['syncGutters'](_0x4ee624){let _0x1853fe=this['dom']['nextSibling'];_0x4ee624&&(this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']());let _0x2d0681=_0x397923['iter'](this['view']['state']['facet'](_0x8efc6),this['view']['viewport']['from']),_0x1265f7=[],_0x3cb3b0=this['gutters']['map'](_0x550699=>new _0x49e81f(_0x550699,this['view']['viewport'],-this['view']['documentPadding']['top']));for(let _0x16f1d1 of this['view']['viewportLineBlocks'])if(_0x1265f7['length']&&(_0x1265f7=[]),Array['isArray'](_0x16f1d1['type'])){let _0x1b51ed=!0x0;for(let _0x205863 of _0x16f1d1['type'])if(_0x205863['type']==_0x3027bf['Text']&&_0x1b51ed){_0x4da8d7(_0x2d0681,_0x1265f7,_0x205863['from']);for(let _0x42b3ca of _0x3cb3b0)_0x42b3ca['line'](this['view'],_0x205863,_0x1265f7);_0x1b51ed=!0x1;}else{if(_0x205863['widget']){for(let _0x45e0b7 of _0x3cb3b0)_0x45e0b7['widget'](this['view'],_0x205863);}}}else{if(_0x16f1d1['type']==_0x3027bf['Text']){_0x4da8d7(_0x2d0681,_0x1265f7,_0x16f1d1['from']);for(let _0x23289b of _0x3cb3b0)_0x23289b['line'](this['view'],_0x16f1d1,_0x1265f7);}else{if(_0x16f1d1['widget']){for(let _0x7b25aa of _0x3cb3b0)_0x7b25aa['widget'](this['view'],_0x16f1d1);}}}for(let _0x2c2e05 of _0x3cb3b0)_0x2c2e05['finish']();_0x4ee624&&(this['view']['scrollDOM']['insertBefore'](this['dom'],_0x1853fe),this['domAfter']&&this['view']['scrollDOM']['appendChild'](this['domAfter']));}['updateGutters'](_0x54cff3){let _0x30279e=_0x54cff3['startState']['facet'](_0x42eb54),_0x22a67c=_0x54cff3['state']['facet'](_0x42eb54),_0x48e7e5=_0x54cff3['docChanged']||_0x54cff3['heightChanged']||_0x54cff3['viewportChanged']||!_0x397923['eq'](_0x54cff3['startState']['facet'](_0x8efc6),_0x54cff3['state']['facet'](_0x8efc6),_0x54cff3['view']['viewport']['from'],_0x54cff3['view']['viewport']['to']);if(_0x30279e==_0x22a67c){for(let _0xbac42d of this['gutters'])_0xbac42d['update'](_0x54cff3)&&(_0x48e7e5=!0x0);}else{_0x48e7e5=!0x0;let _0x1cc938=[];for(let _0x24b7c1 of _0x22a67c){let _0x5c29be=_0x30279e['indexOf'](_0x24b7c1);_0x5c29be<0x0?_0x1cc938['push'](new _0x1ea78b(this['view'],_0x24b7c1)):(this['gutters'][_0x5c29be]['update'](_0x54cff3),_0x1cc938['push'](this['gutters'][_0x5c29be]));}for(let _0x141cb3 of this['gutters'])_0x141cb3['dom']['remove'](),_0x1cc938['indexOf'](_0x141cb3)<0x0&&_0x141cb3['destroy']();for(let _0x47b080 of _0x1cc938)'after'==_0x47b080['config']['side']?this['getDOMAfter']()['appendChild'](_0x47b080['dom']):this['dom']['appendChild'](_0x47b080['dom']);this['gutters']=_0x1cc938;}return _0x48e7e5;}['destroy'](){for(let _0x4c32bf of this['gutters'])_0x4c32bf['destroy']();this['dom']['remove'](),this['domAfter']&&this['domAfter']['remove']();}},{'provide':_0x3ddf26=>_0x118ca6['scrollMargins']['of'](_0xf7cda=>{let _0x2110ee=_0xf7cda['plugin'](_0x3ddf26);if(!_0x2110ee||0x0==_0x2110ee['gutters']['length']||!_0x2110ee['fixed'])return null;let _0x531137=_0x2110ee['dom']['offsetWidth']*_0xf7cda['scaleX'],_0x36a80e=_0x2110ee['domAfter']?_0x2110ee['domAfter']['offsetWidth']*_0xf7cda['scaleX']:0x0;return _0xf7cda['textDirection']==_0x48659f['LTR']?{'left':_0x531137,'right':_0x36a80e}:{'right':_0x531137,'left':_0x36a80e};})});function _0x2b5415(_0x45a8be){return Array['isArray'](_0x45a8be)?_0x45a8be:[_0x45a8be];}function _0x4da8d7(_0x5855e1,_0x4c9ee2,_0x16ed0c){for(;_0x5855e1['value']&&_0x5855e1['from']<=_0x16ed0c;)_0x5855e1['from']==_0x16ed0c&&_0x4c9ee2['push'](_0x5855e1['value']),_0x5855e1['next']();}var _0x49e81f=class{constructor(_0xc211fe,_0x132530,_0x238c20){this['gutter']=_0xc211fe,this['height']=_0x238c20,this['i']=0x0,this['cursor']=_0x397923['iter'](_0xc211fe['markers'],_0x132530['from']);}['addElement'](_0x77e8c2,_0x351023,_0x5167d8){let {gutter:_0x1e412d}=this,_0x3de4b2=(_0x351023['top']-this['height'])/_0x77e8c2['scaleY'],_0x1778d9=_0x351023['height']/_0x77e8c2['scaleY'];if(this['i']==_0x1e412d['elements']['length']){let _0x324014=new _0x5543ff(_0x77e8c2,_0x1778d9,_0x3de4b2,_0x5167d8);_0x1e412d['elements']['push'](_0x324014),_0x1e412d['dom']['appendChild'](_0x324014['dom']);}else _0x1e412d['elements'][this['i']]['update'](_0x77e8c2,_0x1778d9,_0x3de4b2,_0x5167d8);this['height']=_0x351023['bottom'],this['i']++;}['line'](_0x572d8c,_0x4067cd,_0x54687c){let _0x494470=[];_0x4da8d7(this['cursor'],_0x494470,_0x4067cd['from']),_0x54687c['length']&&(_0x494470=_0x494470['concat'](_0x54687c));let _0x71c2d3=this['gutter']['config']['lineMarker'](_0x572d8c,_0x4067cd,_0x494470);_0x71c2d3&&_0x494470['unshift'](_0x71c2d3);let _0x2e0e23=this['gutter'];(0x0!=_0x494470['length']||_0x2e0e23['config']['renderEmptyElements'])&&this['addElement'](_0x572d8c,_0x4067cd,_0x494470);}['widget'](_0x502f72,_0x16de88){let _0x3178b4=this['gutter']['config']['widgetMarker'](_0x502f72,_0x16de88['widget'],_0x16de88),_0x2d4112=_0x3178b4?[_0x3178b4]:null;for(let _0x45bedc of _0x502f72['state']['facet'](_0x5ab2c8)){let _0x29383d=_0x45bedc(_0x502f72,_0x16de88['widget'],_0x16de88);_0x29383d&&(_0x2d4112||(_0x2d4112=[]))['push'](_0x29383d);}_0x2d4112&&this['addElement'](_0x502f72,_0x16de88,_0x2d4112);}['finish'](){let _0x2f1983=this['gutter'];for(;_0x2f1983['elements']['length']>this['i'];){let _0x191a42=_0x2f1983['elements']['pop']();_0x2f1983['dom']['removeChild'](_0x191a42['dom']),_0x191a42['destroy']();}}},_0x1ea78b=class{constructor(_0x147ea0,_0x5b0439){this['view']=_0x147ea0,this['config']=_0x5b0439,this['elements']=[],this['spacer']=null,this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutter'+(this['config']['class']?'\x20'+this['config']['class']:'');for(let _0x5bdbbd in _0x5b0439['domEventHandlers'])this['dom']['addEventListener'](_0x5bdbbd,_0x2b3804=>{let _0x5c8d87,_0xdcf4a1=_0x2b3804['target'];if(_0xdcf4a1!=this['dom']&&this['dom']['contains'](_0xdcf4a1)){for(;_0xdcf4a1['parentNode']!=this['dom'];)_0xdcf4a1=_0xdcf4a1['parentNode'];let _0x57e8f8=_0xdcf4a1['getBoundingClientRect']();_0x5c8d87=(_0x57e8f8['top']+_0x57e8f8['bottom'])/0x2;}else _0x5c8d87=_0x2b3804['clientY'];let _0x3b4e47=_0x147ea0['lineBlockAtHeight'](_0x5c8d87-_0x147ea0['documentTop']);_0x5b0439['domEventHandlers'][_0x5bdbbd](_0x147ea0,_0x3b4e47,_0x2b3804)&&_0x2b3804['preventDefault']();});this['markers']=_0x2b5415(_0x5b0439['markers'](_0x147ea0)),_0x5b0439['initialSpacer']&&(this['spacer']=new _0x5543ff(_0x147ea0,0x0,0x0,[_0x5b0439['initialSpacer'](_0x147ea0)]),this['dom']['appendChild'](this['spacer']['dom']),this['spacer']['dom']['style']['cssText']+='visibility:\x20hidden;\x20pointer-events:\x20none');}['update'](_0x1b68a1){let _0x52789d=this['markers'];if(this['markers']=_0x2b5415(this['config']['markers'](_0x1b68a1['view'])),this['spacer']&&this['config']['updateSpacer']){let _0x2cc714=this['config']['updateSpacer'](this['spacer']['markers'][0x0],_0x1b68a1);_0x2cc714!=this['spacer']['markers'][0x0]&&this['spacer']['update'](_0x1b68a1['view'],0x0,0x0,[_0x2cc714]);}let _0x4a23da=_0x1b68a1['view']['viewport'];return!_0x397923['eq'](this['markers'],_0x52789d,_0x4a23da['from'],_0x4a23da['to'])||!!this['config']['lineMarkerChange']&&this['config']['lineMarkerChange'](_0x1b68a1);}['destroy'](){for(let _0x486ec1 of this['elements'])_0x486ec1['destroy']();}},_0x5543ff=class{constructor(_0x3351e3,_0x5f2d28,_0x1f9f02,_0x253581){this['height']=-0x1,this['above']=0x0,this['markers']=[],this['dom']=document['createElement']('div'),this['dom']['className']='cm-gutterElement',this['update'](_0x3351e3,_0x5f2d28,_0x1f9f02,_0x253581);}['update'](_0x4e1334,_0x406360,_0x57e555,_0x467337){this['height']!=_0x406360&&(this['height']=_0x406360,this['dom']['style']['height']=_0x406360+'px'),this['above']!=_0x57e555&&(this['dom']['style']['marginTop']=(this['above']=_0x57e555)?_0x57e555+'px':''),function(_0x1a3345,_0x461c4d){if(_0x1a3345['length']!=_0x461c4d['length'])return!0x1;for(let _0x4eac92=0x0;_0x4eac92<_0x1a3345['length'];_0x4eac92++)if(!_0x1a3345[_0x4eac92]['compare'](_0x461c4d[_0x4eac92]))return!0x1;return!0x0;}(this['markers'],_0x467337)||this['setMarkers'](_0x4e1334,_0x467337);}['setMarkers'](_0x1e5ffc,_0x129e73){let _0x3d5943='cm-gutterElement',_0xd62071=this['dom']['firstChild'];for(let _0x4dbcb5=0x0,_0x50a210=0x0;;){let _0x2e02bc=_0x50a210,_0x1124b2=_0x4dbcb5<_0x129e73['length']?_0x129e73[_0x4dbcb5++]:null,_0x96e4c4=!0x1;if(_0x1124b2){let _0x2bca06=_0x1124b2['elementClass'];_0x2bca06&&(_0x3d5943+='\x20'+_0x2bca06);for(let _0x219341=_0x50a210;_0x219341<this['markers']['length'];_0x219341++)if(this['markers'][_0x219341]['compare'](_0x1124b2)){_0x2e02bc=_0x219341,_0x96e4c4=!0x0;break;}}else _0x2e02bc=this['markers']['length'];for(;_0x50a210<_0x2e02bc;){let _0x202ffc=this['markers'][_0x50a210++];if(_0x202ffc['toDOM']){_0x202ffc['destroy'](_0xd62071);let _0x46911a=_0xd62071['nextSibling'];_0xd62071['remove'](),_0xd62071=_0x46911a;}}if(!_0x1124b2)break;_0x1124b2['toDOM']&&(_0x96e4c4?_0xd62071=_0xd62071['nextSibling']:this['dom']['insertBefore'](_0x1124b2['toDOM'](_0x1e5ffc),_0xd62071)),_0x96e4c4&&_0x50a210++;}this['dom']['className']=_0x3d5943,this['markers']=_0x129e73;}['destroy'](){this['setMarkers'](null,[]);}};const _0x366e3c=_0x17b3ea['define'](),_0x4f2c3a=_0x17b3ea['define'](),_0x1e277f=_0x17b3ea['define']({'combine':_0x818fc1=>_0x31a8d4(_0x818fc1,{'formatNumber':String,'domEventHandlers':{}},{'domEventHandlers'(_0x462f9b,_0x44b5a9){let _0x27d335=Object['assign']({},_0x462f9b);for(let _0x4b36c6 in _0x44b5a9){let _0x535f1b=_0x27d335[_0x4b36c6],_0x3f53c7=_0x44b5a9[_0x4b36c6];_0x27d335[_0x4b36c6]=_0x535f1b?(_0x5b6019,_0x35907c,_0x4026b4)=>_0x535f1b(_0x5b6019,_0x35907c,_0x4026b4)||_0x3f53c7(_0x5b6019,_0x35907c,_0x4026b4):_0x3f53c7;}return _0x27d335;}})});var _0x180668=class extends _0x5c0666{constructor(_0x29f0f9){super(),this['number']=_0x29f0f9;}['eq'](_0x3e0e21){return this['number']==_0x3e0e21['number'];}['toDOM'](){return document['createTextNode'](this['number']);}};function _0xd624a9(_0x352361,_0x4c20cc){return _0x352361['state']['facet'](_0x1e277f)['formatNumber'](_0x4c20cc,_0x352361['state']);}const _0x32c96c=_0x42eb54['compute']([_0x1e277f],_0x1a44bf=>({'class':'cm-lineNumbers','renderEmptyElements':!0x1,'markers':_0x57e055=>_0x57e055['state']['facet'](_0x366e3c),'lineMarker':(_0x1fa065,_0x134ba9,_0x140a9a)=>_0x140a9a['some'](_0x261b7c=>_0x261b7c['toDOM'])?null:new _0x180668(_0xd624a9(_0x1fa065,_0x1fa065['state']['doc']['lineAt'](_0x134ba9['from'])['number'])),'widgetMarker':(_0x3a2517,_0x58b606,_0x5fe921)=>{for(let _0x5be0e5 of _0x3a2517['state']['facet'](_0x4f2c3a)){let _0x209efe=_0x5be0e5(_0x3a2517,_0x58b606,_0x5fe921);if(_0x209efe)return _0x209efe;}return null;},'lineMarkerChange':_0x572b30=>_0x572b30['startState']['facet'](_0x1e277f)!=_0x572b30['state']['facet'](_0x1e277f),'initialSpacer':_0x66e3b7=>new _0x180668(_0xd624a9(_0x66e3b7,_0x5c83f3(_0x66e3b7['state']['doc']['lines']))),'updateSpacer'(_0x279b1e,_0x40d488){let _0x39a55e=_0xd624a9(_0x40d488['view'],_0x5c83f3(_0x40d488['view']['state']['doc']['lines']));return _0x39a55e==_0x279b1e['number']?_0x279b1e:new _0x180668(_0x39a55e);},'domEventHandlers':_0x1a44bf['facet'](_0x1e277f)['domEventHandlers'],'side':'before'}));function _0x1a3192(_0x50bff9={}){return[_0x1e277f['of'](_0x50bff9),_0x313925(),_0x32c96c];}function _0x5c83f3(_0x2775c3){let _0x8b1c3e=0x9;for(;_0x8b1c3e<_0x2775c3;)_0x8b1c3e=0xa*_0x8b1c3e+0x9;return _0x8b1c3e;}const _0xb6ec2f=new class extends _0x5c0666{constructor(){super(...arguments),this['elementClass']='cm-activeLineGutter';}}(),_0xc5f4c4=_0x8efc6['compute'](['selection'],_0xd929bf=>{let _0x3c8bec=[],_0x1dadfa=-0x1;for(let _0x28094c of _0xd929bf['selection']['ranges']){let _0x35caa4=_0xd929bf['doc']['lineAt'](_0x28094c['head'])['from'];_0x35caa4>_0x1dadfa&&(_0x1dadfa=_0x35caa4,_0x3c8bec['push'](_0xb6ec2f['range'](_0x35caa4)));}return _0x397923['of'](_0x3c8bec);});function _0x37648d(){return _0xc5f4c4;}const _0x17d3ca=0x400;let _0x220cff=0x0;var _0x22fca6=class{constructor(_0x30f5d5,_0x4380d5){this['from']=_0x30f5d5,this['to']=_0x4380d5;}},_0x172440=class{constructor(_0x3f1672={}){this['id']=_0x220cff++,this['perNode']=!!_0x3f1672['perNode'],this['deserialize']=_0x3f1672['deserialize']||(()=>{throw new Error('This\x20node\x20type\x20doesn\x27t\x20define\x20a\x20deserialize\x20function');}),this['combine']=_0x3f1672['combine']||null;}['add'](_0x5aa4af){if(this['perNode'])throw new RangeError('Can\x27t\x20add\x20per-node\x20props\x20to\x20node\x20types');return'function'!=typeof _0x5aa4af&&(_0x5aa4af=_0x37f725['match'](_0x5aa4af)),_0x152bc8=>{let _0x2f398e=_0x5aa4af(_0x152bc8);return void 0x0===_0x2f398e?null:[this,_0x2f398e];};}};_0x172440['closedBy']=new _0x172440({'deserialize':_0x9c71ca=>_0x9c71ca['split']('\x20')}),_0x172440['openedBy']=new _0x172440({'deserialize':_0x2a0971=>_0x2a0971['split']('\x20')}),_0x172440['group']=new _0x172440({'deserialize':_0x5b52db=>_0x5b52db['split']('\x20')}),_0x172440['isolate']=new _0x172440({'deserialize':_0x538dc7=>{if(_0x538dc7&&'rtl'!=_0x538dc7&&'ltr'!=_0x538dc7&&'auto'!=_0x538dc7)throw new RangeError('Invalid\x20value\x20for\x20isolate:\x20'+_0x538dc7);return _0x538dc7||'auto';}}),_0x172440['contextHash']=new _0x172440({'perNode':!0x0}),_0x172440['lookAhead']=new _0x172440({'perNode':!0x0}),_0x172440['mounted']=new _0x172440({'perNode':!0x0});var _0x255b40=class{constructor(_0x16a155,_0x318893,_0x10fb35,_0x31212c=!0x1){this['tree']=_0x16a155,this['overlay']=_0x318893,this['parser']=_0x10fb35,this['bracketed']=_0x31212c;}static['get'](_0x3d2e46){return _0x3d2e46&&_0x3d2e46['props']&&_0x3d2e46['props'][_0x172440['mounted']['id']];}};const _0x550908=Object['create'](null);var _0x37f725=class _0x4370fd{constructor(_0x2d5b6d,_0x57587b,_0x28cd1e,_0xeb9aeb=0x0){this['name']=_0x2d5b6d,this['props']=_0x57587b,this['id']=_0x28cd1e,this['flags']=_0xeb9aeb;}static['define'](_0x1a2cf3){let _0x4b0e12=_0x1a2cf3['props']&&_0x1a2cf3['props']['length']?Object['create'](null):_0x550908,_0x144d2e=(_0x1a2cf3['top']?0x1:0x0)|(_0x1a2cf3['skipped']?0x2:0x0)|(_0x1a2cf3['error']?0x4:0x0)|(null==_0x1a2cf3['name']?0x8:0x0),_0xe9392f=new _0x4370fd(_0x1a2cf3['name']||'',_0x4b0e12,_0x1a2cf3['id'],_0x144d2e);if(_0x1a2cf3['props']){for(let _0x57b116 of _0x1a2cf3['props'])if(Array['isArray'](_0x57b116)||(_0x57b116=_0x57b116(_0xe9392f)),_0x57b116){if(_0x57b116[0x0]['perNode'])throw new RangeError('Can\x27t\x20store\x20a\x20per-node\x20prop\x20on\x20a\x20node\x20type');_0x4b0e12[_0x57b116[0x0]['id']]=_0x57b116[0x1];}}return _0xe9392f;}['prop'](_0x517a8c){return this['props'][_0x517a8c['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'](_0x5b73aa){if('string'==typeof _0x5b73aa){if(this['name']==_0x5b73aa)return!0x0;let _0x20ea7f=this['prop'](_0x172440['group']);return!!_0x20ea7f&&_0x20ea7f['indexOf'](_0x5b73aa)>-0x1;}return this['id']==_0x5b73aa;}static['match'](_0x2ad3fc){let _0x52af1a=Object['create'](null);for(let _0x4532e0 in _0x2ad3fc)for(let _0x5f496f of _0x4532e0['split']('\x20'))_0x52af1a[_0x5f496f]=_0x2ad3fc[_0x4532e0];return _0x55d43f=>{for(let _0x5f3e44=_0x55d43f['prop'](_0x172440['group']),_0xfa9539=-0x1;_0xfa9539<(_0x5f3e44?_0x5f3e44['length']:0x0);_0xfa9539++){let _0x46d1dc=_0x52af1a[_0xfa9539<0x0?_0x55d43f['name']:_0x5f3e44[_0xfa9539]];if(_0x46d1dc)return _0x46d1dc;}};}};_0x37f725['none']=new _0x37f725('',Object['create'](null),0x0,0x8);var _0x190eda=class NodeSet{constructor(_0x1c0c34){this['types']=_0x1c0c34;for(let _0x3d5e4f=0x0;_0x3d5e4f<_0x1c0c34['length'];_0x3d5e4f++)if(_0x1c0c34[_0x3d5e4f]['id']!=_0x3d5e4f)throw new RangeError('Node\x20type\x20ids\x20should\x20correspond\x20to\x20array\x20positions\x20when\x20creating\x20a\x20node\x20set');}['extend'](..._0x53f256){let _0x1aad4d=[];for(let _0x14de88 of this['types']){let _0x23a0b0=null;for(let _0x2b575d of _0x53f256){let _0x3db2cd=_0x2b575d(_0x14de88);if(_0x3db2cd){_0x23a0b0||(_0x23a0b0=Object['assign']({},_0x14de88['props']));let _0x57995d=_0x3db2cd[0x1],_0x381854=_0x3db2cd[0x0];_0x381854['combine']&&_0x381854['id']in _0x23a0b0&&(_0x57995d=_0x381854['combine'](_0x23a0b0[_0x381854['id']],_0x57995d)),_0x23a0b0[_0x381854['id']]=_0x57995d;}}_0x1aad4d['push'](_0x23a0b0?new _0x37f725(_0x14de88['name'],_0x23a0b0,_0x14de88['id'],_0x14de88['flags']):_0x14de88);}return new NodeSet(_0x1aad4d);}};const _0x4f82c6=new WeakMap(),_0x5f557c=new WeakMap();var _0x529189;!function(_0x3a35cd){_0x3a35cd[_0x3a35cd['ExcludeBuffers']=0x1]='ExcludeBuffers',_0x3a35cd[_0x3a35cd['IncludeAnonymous']=0x2]='IncludeAnonymous',_0x3a35cd[_0x3a35cd['IgnoreMounts']=0x4]='IgnoreMounts',_0x3a35cd[_0x3a35cd['IgnoreOverlays']=0x8]='IgnoreOverlays',_0x3a35cd[_0x3a35cd['EnterBracketed']=0x10]='EnterBracketed';}(_0x529189||(_0x529189={}));var _0x5a1f7d=class _0x371892{constructor(_0x2e3964,_0x77935f,_0x488907,_0x5e4eec,_0x8d4ee0){if(this['type']=_0x2e3964,this['children']=_0x77935f,this['positions']=_0x488907,this['length']=_0x5e4eec,this['props']=null,_0x8d4ee0&&_0x8d4ee0['length']){this['props']=Object['create'](null);for(let [_0x583b45,_0x31a5be]of _0x8d4ee0)this['props']['number'==typeof _0x583b45?_0x583b45:_0x583b45['id']]=_0x31a5be;}}['toString'](){let _0x18402d=_0x255b40['get'](this);if(_0x18402d&&!_0x18402d['overlay'])return _0x18402d['tree']['toString']();let _0xe2ea14='';for(let _0x3922b1 of this['children']){let _0x4fe9b4=_0x3922b1['toString']();_0x4fe9b4&&(_0xe2ea14&&(_0xe2ea14+=','),_0xe2ea14+=_0x4fe9b4);}return this['type']['name']?(/\W/['test'](this['type']['name'])&&!this['type']['isError']?JSON['stringify'](this['type']['name']):this['type']['name'])+(_0xe2ea14['length']?'('+_0xe2ea14+')':''):_0xe2ea14;}['cursor'](_0x2fa0fe=0x0){return new _0x12b54c(this['topNode'],_0x2fa0fe);}['cursorAt'](_0x9677e4,_0x280b0e=0x0,_0x4e0b2e=0x0){let _0x4cc811=new _0x12b54c(_0x4f82c6['get'](this)||this['topNode']);return _0x4cc811['moveTo'](_0x9677e4,_0x280b0e),_0x4f82c6['set'](this,_0x4cc811['_tree']),_0x4cc811;}get['topNode'](){return new _0x4a67c9(this,0x0,0x0,null);}['resolve'](_0x5ca738,_0x771d1e=0x0){let _0x2c4ad0=_0x5baea5(_0x4f82c6['get'](this)||this['topNode'],_0x5ca738,_0x771d1e,!0x1);return _0x4f82c6['set'](this,_0x2c4ad0),_0x2c4ad0;}['resolveInner'](_0x15e0be,_0x1d13ec=0x0){let _0x35b72b=_0x5baea5(_0x5f557c['get'](this)||this['topNode'],_0x15e0be,_0x1d13ec,!0x0);return _0x5f557c['set'](this,_0x35b72b),_0x35b72b;}['resolveStack'](_0x4aa56d,_0x3647cb=0x0){return function(_0xf1e851,_0x27422f,_0x46b14a){let _0x2a1938=_0xf1e851['resolveInner'](_0x27422f,_0x46b14a),_0x39bf21=null;for(let _0x4ccd6e=_0x2a1938 instanceof _0x4a67c9?_0x2a1938:_0x2a1938['context']['parent'];_0x4ccd6e;_0x4ccd6e=_0x4ccd6e['parent'])if(_0x4ccd6e['index']<0x0){let _0x23579e=_0x4ccd6e['parent'];(_0x39bf21||(_0x39bf21=[_0x2a1938]))['push'](_0x23579e['resolve'](_0x27422f,_0x46b14a)),_0x4ccd6e=_0x23579e;}else{let _0x205441=_0x255b40['get'](_0x4ccd6e['tree']);if(_0x205441&&_0x205441['overlay']&&_0x205441['overlay'][0x0]['from']<=_0x27422f&&_0x205441['overlay'][_0x205441['overlay']['length']-0x1]['to']>=_0x27422f){let _0x29a99e=new _0x4a67c9(_0x205441['tree'],_0x205441['overlay'][0x0]['from']+_0x4ccd6e['from'],-0x1,_0x4ccd6e);(_0x39bf21||(_0x39bf21=[_0x2a1938]))['push'](_0x5baea5(_0x29a99e,_0x27422f,_0x46b14a,!0x1));}}return _0x39bf21?_0x42b0d2(_0x39bf21):_0x2a1938;}(this,_0x4aa56d,_0x3647cb);}['iterate'](_0x4ab226){let {enter:_0x434060,leave:_0x2fdad0,from:_0x3d0017=0x0,to:_0xc11101=this['length']}=_0x4ab226,_0x315a3b=_0x4ab226['mode']||0x0,_0x2b9f55=(_0x315a3b&_0x529189['IncludeAnonymous'])>0x0;for(let _0x34ccce=this['cursor'](_0x315a3b|_0x529189['IncludeAnonymous']);;){let _0x332233=!0x1;if(_0x34ccce['from']<=_0xc11101&&_0x34ccce['to']>=_0x3d0017&&(!_0x2b9f55&&_0x34ccce['type']['isAnonymous']||!0x1!==_0x434060(_0x34ccce))){if(_0x34ccce['firstChild']())continue;_0x332233=!0x0;}for(;_0x332233&&_0x2fdad0&&(_0x2b9f55||!_0x34ccce['type']['isAnonymous'])&&_0x2fdad0(_0x34ccce),!_0x34ccce['nextSibling']();){if(!_0x34ccce['parent']())return;_0x332233=!0x0;}}}['prop'](_0x130305){return _0x130305['perNode']?this['props']?this['props'][_0x130305['id']]:void 0x0:this['type']['prop'](_0x130305);}get['propValues'](){let _0x851ee1=[];if(this['props']){for(let _0x498653 in this['props'])_0x851ee1['push']([+_0x498653,this['props'][_0x498653]]);}return _0x851ee1;}['balance'](_0x877b02={}){return this['children']['length']<=0x8?this:_0x37bfa1(_0x37f725['none'],this['children'],this['positions'],0x0,this['children']['length'],0x0,this['length'],(_0xbbdf90,_0x35263d,_0x20ba21)=>new _0x371892(this['type'],_0xbbdf90,_0x35263d,_0x20ba21,this['propValues']),_0x877b02['makeTree']||((_0x1e50cf,_0xcc01a0,_0x5df146)=>new _0x371892(_0x37f725['none'],_0x1e50cf,_0xcc01a0,_0x5df146)));}static['build'](_0x5314ea){return _0x42636f(_0x5314ea);}};_0x5a1f7d['empty']=new _0x5a1f7d(_0x37f725['none'],[],[],0x0);var _0x454fb3=class FlatBufferCursor{constructor(_0x35545d,_0xc7311){this['buffer']=_0x35545d,this['index']=_0xc7311;}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']);}},_0x3fcffb=class _0x3777e0{constructor(_0x1ceb70,_0x387422,_0x4e532b){this['buffer']=_0x1ceb70,this['length']=_0x387422,this['set']=_0x4e532b;}get['type'](){return _0x37f725['none'];}['toString'](){let _0x5c50b3=[];for(let _0x1193f2=0x0;_0x1193f2<this['buffer']['length'];)_0x5c50b3['push'](this['childString'](_0x1193f2)),_0x1193f2=this['buffer'][_0x1193f2+0x3];return _0x5c50b3['join'](',');}['childString'](_0x322a27){let _0x4e0971=this['buffer'][_0x322a27],_0x31ec02=this['buffer'][_0x322a27+0x3],_0x2e369d=this['set']['types'][_0x4e0971],_0x6f8a95=_0x2e369d['name'];if(/\W/['test'](_0x6f8a95)&&!_0x2e369d['isError']&&(_0x6f8a95=JSON['stringify'](_0x6f8a95)),_0x31ec02==(_0x322a27+=0x4))return _0x6f8a95;let _0x233147=[];for(;_0x322a27<_0x31ec02;)_0x233147['push'](this['childString'](_0x322a27)),_0x322a27=this['buffer'][_0x322a27+0x3];return _0x6f8a95+'('+_0x233147['join'](',')+')';}['findChild'](_0xa1fa7f,_0x42fa40,_0x2d4399,_0x3d5e8f,_0x4f0a95){let {buffer:_0x2be136}=this,_0xe1a03c=-0x1;for(let _0x502b08=_0xa1fa7f;_0x502b08!=_0x42fa40&&!(_0x43fe45(_0x4f0a95,_0x3d5e8f,_0x2be136[_0x502b08+0x1],_0x2be136[_0x502b08+0x2])&&(_0xe1a03c=_0x502b08,_0x2d4399>0x0));_0x502b08=_0x2be136[_0x502b08+0x3]);return _0xe1a03c;}['slice'](_0x2ade5d,_0xac6c57,_0x50a17d){let _0x1213a1=this['buffer'],_0x46272c=new Uint16Array(_0xac6c57-_0x2ade5d),_0xdadba0=0x0;for(let _0xb622ff=_0x2ade5d,_0xb76df7=0x0;_0xb622ff<_0xac6c57;){_0x46272c[_0xb76df7++]=_0x1213a1[_0xb622ff++],_0x46272c[_0xb76df7++]=_0x1213a1[_0xb622ff++]-_0x50a17d;let _0x300d82=_0x46272c[_0xb76df7++]=_0x1213a1[_0xb622ff++]-_0x50a17d;_0x46272c[_0xb76df7++]=_0x1213a1[_0xb622ff++]-_0x2ade5d,_0xdadba0=Math['max'](_0xdadba0,_0x300d82);}return new _0x3777e0(_0x46272c,_0xdadba0,this['set']);}};function _0x43fe45(_0x36817d,_0x3426da,_0x36a8ac,_0x166342){switch(_0x36817d){case-0x2:return _0x36a8ac<_0x3426da;case-0x1:return _0x166342>=_0x3426da&&_0x36a8ac<_0x3426da;case 0x0:return _0x36a8ac<_0x3426da&&_0x166342>_0x3426da;case 0x1:return _0x36a8ac<=_0x3426da&&_0x166342>_0x3426da;case 0x2:return _0x166342>_0x3426da;case 0x4:return!0x0;}}function _0x5baea5(_0x5eb2cf,_0x133720,_0xad9850,_0x1d07fe){for(var _0x448152;_0x5eb2cf['from']==_0x5eb2cf['to']||(_0xad9850<0x1?_0x5eb2cf['from']>=_0x133720:_0x5eb2cf['from']>_0x133720)||(_0xad9850>-0x1?_0x5eb2cf['to']<=_0x133720:_0x5eb2cf['to']<_0x133720);){let _0x55328a=!_0x1d07fe&&_0x5eb2cf instanceof _0x4a67c9&&_0x5eb2cf['index']<0x0?null:_0x5eb2cf['parent'];if(!_0x55328a)return _0x5eb2cf;_0x5eb2cf=_0x55328a;}let _0x31b880=_0x1d07fe?0x0:_0x529189['IgnoreOverlays'];if(_0x1d07fe){for(let _0x5e02ef=_0x5eb2cf,_0x108eaa=_0x5e02ef['parent'];_0x108eaa;_0x5e02ef=_0x108eaa,_0x108eaa=_0x5e02ef['parent'])_0x5e02ef instanceof _0x4a67c9&&_0x5e02ef['index']<0x0&&(null===(_0x448152=_0x108eaa['enter'](_0x133720,_0xad9850,_0x31b880))||void 0x0===_0x448152?void 0x0:_0x448152['from'])!=_0x5e02ef['from']&&(_0x5eb2cf=_0x108eaa);}for(;;){let _0x22f605=_0x5eb2cf['enter'](_0x133720,_0xad9850,_0x31b880);if(!_0x22f605)return _0x5eb2cf;_0x5eb2cf=_0x22f605;}}var _0x50a53d=class{['cursor'](_0x1db0cc=0x0){return new _0x12b54c(this,_0x1db0cc);}['getChild'](_0x1c8e40,_0x3d6e97=null,_0x3ded36=null){let _0x25284a=_0x103d05(this,_0x1c8e40,_0x3d6e97,_0x3ded36);return _0x25284a['length']?_0x25284a[0x0]:null;}['getChildren'](_0x4ad791,_0x7d8033=null,_0xf32ee2=null){return _0x103d05(this,_0x4ad791,_0x7d8033,_0xf32ee2);}['resolve'](_0x2e588a,_0x503597=0x0){return _0x5baea5(this,_0x2e588a,_0x503597,!0x1);}['resolveInner'](_0x5e3af4,_0x1368e9=0x0){return _0x5baea5(this,_0x5e3af4,_0x1368e9,!0x0);}['matchContext'](_0x36c385){return _0x44a489(this['parent'],_0x36c385);}['enterUnfinishedNodesBefore'](_0x23f914){let _0x490c7e=this['childBefore'](_0x23f914),_0x160dce=this;for(;_0x490c7e;){let _0xdd15ce=_0x490c7e['lastChild'];if(!_0xdd15ce||_0xdd15ce['to']!=_0x490c7e['to'])break;_0xdd15ce['type']['isError']&&_0xdd15ce['from']==_0xdd15ce['to']?(_0x160dce=_0x490c7e,_0x490c7e=_0xdd15ce['prevSibling']):_0x490c7e=_0xdd15ce;}return _0x160dce;}get['node'](){return this;}get['next'](){return this['parent'];}},_0x4a67c9=class _0x3c6428 extends _0x50a53d{constructor(_0x3e8d0a,_0x1b8d57,_0x12a576,_0x2beec6){super(),this['_tree']=_0x3e8d0a,this['from']=_0x1b8d57,this['index']=_0x12a576,this['_parent']=_0x2beec6;}get['type'](){return this['_tree']['type'];}get['name'](){return this['_tree']['type']['name'];}get['to'](){return this['from']+this['_tree']['length'];}['nextChild'](_0xa132c9,_0x213344,_0x323224,_0x445223,_0x45d097=0x0){for(let _0x44aee9=this;;){for(let {children:_0x58cd60,positions:_0x493007}=_0x44aee9['_tree'],_0x5e5556=_0x213344>0x0?_0x58cd60['length']:-0x1;_0xa132c9!=_0x5e5556;_0xa132c9+=_0x213344){let _0x62300c,_0x528beb=_0x58cd60[_0xa132c9],_0xb7a417=_0x493007[_0xa132c9]+_0x44aee9['from'];if(_0x45d097&_0x529189['EnterBracketed']&&_0x528beb instanceof _0x5a1f7d&&(_0x62300c=_0x255b40['get'](_0x528beb))&&!_0x62300c['overlay']&&_0x62300c['bracketed']&&_0x323224>=_0xb7a417&&_0x323224<=_0xb7a417+_0x528beb['length']||_0x43fe45(_0x445223,_0x323224,_0xb7a417,_0xb7a417+_0x528beb['length'])){if(_0x528beb instanceof _0x3fcffb){if(_0x45d097&_0x529189['ExcludeBuffers'])continue;let _0x1c599a=_0x528beb['findChild'](0x0,_0x528beb['buffer']['length'],_0x213344,_0x323224-_0xb7a417,_0x445223);if(_0x1c599a>-0x1)return new _0x12493f(new _0x5952ce(_0x44aee9,_0x528beb,_0xa132c9,_0xb7a417),null,_0x1c599a);}else{if(_0x45d097&_0x529189['IncludeAnonymous']||!_0x528beb['type']['isAnonymous']||_0x35a0df(_0x528beb)){let _0x18488a;if(!(_0x45d097&_0x529189['IgnoreMounts'])&&(_0x18488a=_0x255b40['get'](_0x528beb))&&!_0x18488a['overlay'])return new _0x3c6428(_0x18488a['tree'],_0xb7a417,_0xa132c9,_0x44aee9);let _0x5c3b8b=new _0x3c6428(_0x528beb,_0xb7a417,_0xa132c9,_0x44aee9);return _0x45d097&_0x529189['IncludeAnonymous']||!_0x5c3b8b['type']['isAnonymous']?_0x5c3b8b:_0x5c3b8b['nextChild'](_0x213344<0x0?_0x528beb['children']['length']-0x1:0x0,_0x213344,_0x323224,_0x445223,_0x45d097);}}}}if(_0x45d097&_0x529189['IncludeAnonymous']||!_0x44aee9['type']['isAnonymous'])return null;if(_0xa132c9=_0x44aee9['index']>=0x0?_0x44aee9['index']+_0x213344:_0x213344<0x0?-0x1:_0x44aee9['_parent']['_tree']['children']['length'],_0x44aee9=_0x44aee9['_parent'],!_0x44aee9)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'](_0x503761){return this['nextChild'](0x0,0x1,_0x503761,0x2);}['childBefore'](_0x5e0625){return this['nextChild'](this['_tree']['children']['length']-0x1,-0x1,_0x5e0625,-0x2);}['prop'](_0x3ff5d8){return this['_tree']['prop'](_0x3ff5d8);}['enter'](_0x1954e2,_0x492462,_0x1320af=0x0){let _0x398339;if(!(_0x1320af&_0x529189['IgnoreOverlays'])&&(_0x398339=_0x255b40['get'](this['_tree']))&&_0x398339['overlay']){let _0x15b3b4=_0x1954e2-this['from'],_0x17f902=_0x1320af&_0x529189['EnterBracketed']&&_0x398339['bracketed'];for(let {from:_0x483bbe,to:_0xf3599}of _0x398339['overlay'])if((_0x492462>0x0||_0x17f902?_0x483bbe<=_0x15b3b4:_0x483bbe<_0x15b3b4)&&(_0x492462<0x0||_0x17f902?_0xf3599>=_0x15b3b4:_0xf3599>_0x15b3b4))return new _0x3c6428(_0x398339['tree'],_0x398339['overlay'][0x0]['from']+this['from'],-0x1,this);}return this['nextChild'](0x0,0x1,_0x1954e2,_0x492462,_0x1320af);}['nextSignificantParent'](){let _0x36e75a=this;for(;_0x36e75a['type']['isAnonymous']&&_0x36e75a['_parent'];)_0x36e75a=_0x36e75a['_parent'];return _0x36e75a;}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 _0x103d05(_0x4e6504,_0x4d25bd,_0x1dd4f9,_0x563ba7){let _0x35c548=_0x4e6504['cursor'](),_0x1b3480=[];if(!_0x35c548['firstChild']())return _0x1b3480;if(null!=_0x1dd4f9){for(let _0x55078c=!0x1;!_0x55078c;)if(_0x55078c=_0x35c548['type']['is'](_0x1dd4f9),!_0x35c548['nextSibling']())return _0x1b3480;}for(;;){if(null!=_0x563ba7&&_0x35c548['type']['is'](_0x563ba7))return _0x1b3480;if(_0x35c548['type']['is'](_0x4d25bd)&&_0x1b3480['push'](_0x35c548['node']),!_0x35c548['nextSibling']())return null==_0x563ba7?_0x1b3480:[];}}function _0x44a489(_0x2ced95,_0x5b2c9a,_0x3d8928=_0x5b2c9a['length']-0x1){for(let _0x23afae=_0x2ced95;_0x3d8928>=0x0;_0x23afae=_0x23afae['parent']){if(!_0x23afae)return!0x1;if(!_0x23afae['type']['isAnonymous']){if(_0x5b2c9a[_0x3d8928]&&_0x5b2c9a[_0x3d8928]!=_0x23afae['name'])return!0x1;_0x3d8928--;}}return!0x0;}var _0x5952ce=class{constructor(_0x5ddb76,_0x29fa29,_0xc2dd51,_0x58e8f0){this['parent']=_0x5ddb76,this['buffer']=_0x29fa29,this['index']=_0xc2dd51,this['start']=_0x58e8f0;}},_0x12493f=class _0x42e015 extends _0x50a53d{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(_0x2fd135,_0x5ec1a7,_0x3d5e7e){super(),this['context']=_0x2fd135,this['_parent']=_0x5ec1a7,this['index']=_0x3d5e7e,this['type']=_0x2fd135['buffer']['set']['types'][_0x2fd135['buffer']['buffer'][_0x3d5e7e]];}['child'](_0x1a1ecb,_0x156d83,_0xfb31c5){let {buffer:_0x3a2c67}=this['context'],_0x4e6413=_0x3a2c67['findChild'](this['index']+0x4,_0x3a2c67['buffer'][this['index']+0x3],_0x1a1ecb,_0x156d83-this['context']['start'],_0xfb31c5);return _0x4e6413<0x0?null:new _0x42e015(this['context'],this,_0x4e6413);}get['firstChild'](){return this['child'](0x1,0x0,0x4);}get['lastChild'](){return this['child'](-0x1,0x0,0x4);}['childAfter'](_0x103da9){return this['child'](0x1,_0x103da9,0x2);}['childBefore'](_0x3b79d2){return this['child'](-0x1,_0x3b79d2,-0x2);}['prop'](_0x2065ea){return this['type']['prop'](_0x2065ea);}['enter'](_0x59b8d8,_0x155772,_0x4c03d9=0x0){if(_0x4c03d9&_0x529189['ExcludeBuffers'])return null;let {buffer:_0x345dc0}=this['context'],_0x59356b=_0x345dc0['findChild'](this['index']+0x4,_0x345dc0['buffer'][this['index']+0x3],_0x155772>0x0?0x1:-0x1,_0x59b8d8-this['context']['start'],_0x155772);return _0x59356b<0x0?null:new _0x42e015(this['context'],this,_0x59356b);}get['parent'](){return this['_parent']||this['context']['parent']['nextSignificantParent']();}['externalSibling'](_0xf9a35d){return this['_parent']?null:this['context']['parent']['nextChild'](this['context']['index']+_0xf9a35d,_0xf9a35d,0x0,0x4);}get['nextSibling'](){let {buffer:_0x4c9a4a}=this['context'],_0x1f37ec=_0x4c9a4a['buffer'][this['index']+0x3];return _0x1f37ec<(this['_parent']?_0x4c9a4a['buffer'][this['_parent']['index']+0x3]:_0x4c9a4a['buffer']['length'])?new _0x42e015(this['context'],this['_parent'],_0x1f37ec):this['externalSibling'](0x1);}get['prevSibling'](){let {buffer:_0x136659}=this['context'],_0x3b6dff=this['_parent']?this['_parent']['index']+0x4:0x0;return this['index']==_0x3b6dff?this['externalSibling'](-0x1):new _0x42e015(this['context'],this['_parent'],_0x136659['findChild'](_0x3b6dff,this['index'],-0x1,0x0,0x4));}get['tree'](){return null;}['toTree'](){let _0x1c2448=[],_0x518445=[],{buffer:_0x25fa68}=this['context'],_0x5ce368=this['index']+0x4,_0x464472=_0x25fa68['buffer'][this['index']+0x3];if(_0x464472>_0x5ce368){let _0x51b4be=_0x25fa68['buffer'][this['index']+0x1];_0x1c2448['push'](_0x25fa68['slice'](_0x5ce368,_0x464472,_0x51b4be)),_0x518445['push'](0x0);}return new _0x5a1f7d(this['type'],_0x1c2448,_0x518445,this['to']-this['from']);}['toString'](){return this['context']['buffer']['childString'](this['index']);}};function _0x42b0d2(_0xf9bf75){if(!_0xf9bf75['length'])return null;let _0x4dfcc6=0x0,_0xc5621e=_0xf9bf75[0x0];for(let _0x53bff4=0x1;_0x53bff4<_0xf9bf75['length'];_0x53bff4++){let _0x721ad2=_0xf9bf75[_0x53bff4];(_0x721ad2['from']>_0xc5621e['from']||_0x721ad2['to']<_0xc5621e['to'])&&(_0xc5621e=_0x721ad2,_0x4dfcc6=_0x53bff4);}let _0x316219=_0xc5621e instanceof _0x4a67c9&&_0xc5621e['index']<0x0?null:_0xc5621e['parent'],_0x50116d=_0xf9bf75['slice']();return _0x316219?_0x50116d[_0x4dfcc6]=_0x316219:_0x50116d['splice'](_0x4dfcc6,0x1),new tD(_0x50116d,_0xc5621e);}var tD=class{constructor(_0x524bb8,_0x425372){this['heads']=_0x524bb8,this['node']=_0x425372;}get['next'](){return _0x42b0d2(this['heads']);}},_0x12b54c=class{get['name'](){return this['type']['name'];}constructor(_0x29e576,_0x1a456f=0x0){if(this['buffer']=null,this['stack']=[],this['index']=0x0,this['bufferNode']=null,this['mode']=_0x1a456f&~_0x529189['EnterBracketed'],_0x29e576 instanceof _0x4a67c9)this['yieldNode'](_0x29e576);else{this['_tree']=_0x29e576['context']['parent'],this['buffer']=_0x29e576['context'];for(let _0x2518aa=_0x29e576['_parent'];_0x2518aa;_0x2518aa=_0x2518aa['_parent'])this['stack']['unshift'](_0x2518aa['index']);this['bufferNode']=_0x29e576,this['yieldBuf'](_0x29e576['index']);}}['yieldNode'](_0x7461dd){return!!_0x7461dd&&(this['_tree']=_0x7461dd,this['type']=_0x7461dd['type'],this['from']=_0x7461dd['from'],this['to']=_0x7461dd['to'],!0x0);}['yieldBuf'](_0xc706bb,_0x223651){this['index']=_0xc706bb;let {start:_0x455901,buffer:_0x526dc3}=this['buffer'];return this['type']=_0x223651||_0x526dc3['set']['types'][_0x526dc3['buffer'][_0xc706bb]],this['from']=_0x455901+_0x526dc3['buffer'][_0xc706bb+0x1],this['to']=_0x455901+_0x526dc3['buffer'][_0xc706bb+0x2],!0x0;}['yield'](_0x4380fa){return!!_0x4380fa&&(_0x4380fa instanceof _0x4a67c9?(this['buffer']=null,this['yieldNode'](_0x4380fa)):(this['buffer']=_0x4380fa['context'],this['yieldBuf'](_0x4380fa['index'],_0x4380fa['type'])));}['toString'](){return this['buffer']?this['buffer']['buffer']['childString'](this['index']):this['_tree']['toString']();}['enterChild'](_0x2dbf54,_0x139671,_0xff9991){if(!this['buffer'])return this['yield'](this['_tree']['nextChild'](_0x2dbf54<0x0?this['_tree']['_tree']['children']['length']-0x1:0x0,_0x2dbf54,_0x139671,_0xff9991,this['mode']));let {buffer:_0x1a56f7}=this['buffer'],_0x20b9ca=_0x1a56f7['findChild'](this['index']+0x4,_0x1a56f7['buffer'][this['index']+0x3],_0x2dbf54,_0x139671-this['buffer']['start'],_0xff9991);return!(_0x20b9ca<0x0)&&(this['stack']['push'](this['index']),this['yieldBuf'](_0x20b9ca));}['firstChild'](){return this['enterChild'](0x1,0x0,0x4);}['lastChild'](){return this['enterChild'](-0x1,0x0,0x4);}['childAfter'](_0x1c21d2){return this['enterChild'](0x1,_0x1c21d2,0x2);}['childBefore'](_0x4364f2){return this['enterChild'](-0x1,_0x4364f2,-0x2);}['enter'](_0x53c825,_0x165f77,_0x3d1eee=this['mode']){return this['buffer']?!(_0x3d1eee&_0x529189['ExcludeBuffers'])&&this['enterChild'](0x1,_0x53c825,_0x165f77):this['yield'](this['_tree']['enter'](_0x53c825,_0x165f77,_0x3d1eee));}['parent'](){if(!this['buffer'])return this['yieldNode'](this['mode']&_0x529189['IncludeAnonymous']?this['_tree']['_parent']:this['_tree']['parent']);if(this['stack']['length'])return this['yieldBuf'](this['stack']['pop']());let _0x3796b2=this['mode']&_0x529189['IncludeAnonymous']?this['buffer']['parent']:this['buffer']['parent']['nextSignificantParent']();return this['buffer']=null,this['yieldNode'](_0x3796b2);}['sibling'](_0x5cc45e){if(!this['buffer'])return!!this['_tree']['_parent']&&this['yield'](this['_tree']['index']<0x0?null:this['_tree']['_parent']['nextChild'](this['_tree']['index']+_0x5cc45e,_0x5cc45e,0x0,0x4,this['mode']));let {buffer:_0x5a049d}=this['buffer'],_0x2cf618=this['stack']['length']-0x1;if(_0x5cc45e<0x0){let _0x225f63=_0x2cf618<0x0?0x0:this['stack'][_0x2cf618]+0x4;if(this['index']!=_0x225f63)return this['yieldBuf'](_0x5a049d['findChild'](_0x225f63,this['index'],-0x1,0x0,0x4));}else{let _0x4044e7=_0x5a049d['buffer'][this['index']+0x3];if(_0x4044e7<(_0x2cf618<0x0?_0x5a049d['buffer']['length']:_0x5a049d['buffer'][this['stack'][_0x2cf618]+0x3]))return this['yieldBuf'](_0x4044e7);}return _0x2cf618<0x0&&this['yield'](this['buffer']['parent']['nextChild'](this['buffer']['index']+_0x5cc45e,_0x5cc45e,0x0,0x4,this['mode']));}['nextSibling'](){return this['sibling'](0x1);}['prevSibling'](){return this['sibling'](-0x1);}['atLastNode'](_0xc96c0b){let _0x4af1d1,_0x50495c,{buffer:_0x1fc315}=this;if(_0x1fc315){if(_0xc96c0b>0x0){if(this['index']<_0x1fc315['buffer']['buffer']['length'])return!0x1;}else{for(let _0x90734b=0x0;_0x90734b<this['index'];_0x90734b++)if(_0x1fc315['buffer']['buffer'][_0x90734b+0x3]<this['index'])return!0x1;}({index:_0x4af1d1,parent:_0x50495c}=_0x1fc315);}else({index:_0x4af1d1,_parent:_0x50495c}=this['_tree']);for(;_0x50495c;{index:_0x4af1d1,_parent:_0x50495c}=_0x50495c)if(_0x4af1d1>-0x1)for(let _0x4c1496=_0x4af1d1+_0xc96c0b,_0x44a73a=_0xc96c0b<0x0?-0x1:_0x50495c['_tree']['children']['length'];_0x4c1496!=_0x44a73a;_0x4c1496+=_0xc96c0b){let _0x137b0d=_0x50495c['_tree']['children'][_0x4c1496];if(this['mode']&_0x529189['IncludeAnonymous']||_0x137b0d instanceof _0x3fcffb||!_0x137b0d['type']['isAnonymous']||_0x35a0df(_0x137b0d))return!0x1;}return!0x0;}['move'](_0xdfbe46,_0xfa9327){if(_0xfa9327&&this['enterChild'](_0xdfbe46,0x0,0x4))return!0x0;for(;;){if(this['sibling'](_0xdfbe46))return!0x0;if(this['atLastNode'](_0xdfbe46)||!this['parent']())return!0x1;}}['next'](_0x906625=!0x0){return this['move'](0x1,_0x906625);}['prev'](_0x50f340=!0x0){return this['move'](-0x1,_0x50f340);}['moveTo'](_0x22dde2,_0x5d1cd8=0x0){for(;(this['from']==this['to']||(_0x5d1cd8<0x1?this['from']>=_0x22dde2:this['from']>_0x22dde2)||(_0x5d1cd8>-0x1?this['to']<=_0x22dde2:this['to']<_0x22dde2))&&this['parent'](););for(;this['enterChild'](0x1,_0x22dde2,_0x5d1cd8););return this;}get['node'](){if(!this['buffer'])return this['_tree'];let _0x2c0dc3=this['bufferNode'],_0x5462d5=null,_0x3afa2=0x0;if(_0x2c0dc3&&_0x2c0dc3['context']==this['buffer']){t:for(let _0x534bf0=this['index'],_0x31819d=this['stack']['length'];_0x31819d>=0x0;){for(let _0x190baa=_0x2c0dc3;_0x190baa;_0x190baa=_0x190baa['_parent'])if(_0x190baa['index']==_0x534bf0){if(_0x534bf0==this['index'])return _0x190baa;_0x5462d5=_0x190baa,_0x3afa2=_0x31819d+0x1;break t;}_0x534bf0=this['stack'][--_0x31819d];}}for(let _0x498c6f=_0x3afa2;_0x498c6f<this['stack']['length'];_0x498c6f++)_0x5462d5=new _0x12493f(this['buffer'],_0x5462d5,this['stack'][_0x498c6f]);return this['bufferNode']=new _0x12493f(this['buffer'],_0x5462d5,this['index']);}get['tree'](){return this['buffer']?null:this['_tree']['_tree'];}['iterate'](_0x326b56,_0x529373){for(let _0x16d66d=0x0;;){let _0x53c22b=!0x1;if(this['type']['isAnonymous']||!0x1!==_0x326b56(this)){if(this['firstChild']()){_0x16d66d++;continue;}this['type']['isAnonymous']||(_0x53c22b=!0x0);}for(;;){if(_0x53c22b&&_0x529373&&_0x529373(this),_0x53c22b=this['type']['isAnonymous'],!_0x16d66d)return;if(this['nextSibling']())break;this['parent'](),_0x16d66d--,_0x53c22b=!0x0;}}}['matchContext'](_0x28c2d1){if(!this['buffer'])return _0x44a489(this['node']['parent'],_0x28c2d1);let {buffer:_0x4e450e}=this['buffer'],{types:_0x39cf0a}=_0x4e450e['set'];for(let _0x21ea3d=_0x28c2d1['length']-0x1,_0x57d0c2=this['stack']['length']-0x1;_0x21ea3d>=0x0;_0x57d0c2--){if(_0x57d0c2<0x0)return _0x44a489(this['_tree'],_0x28c2d1,_0x21ea3d);let _0x248278=_0x39cf0a[_0x4e450e['buffer'][this['stack'][_0x57d0c2]]];if(!_0x248278['isAnonymous']){if(_0x28c2d1[_0x21ea3d]&&_0x28c2d1[_0x21ea3d]!=_0x248278['name'])return!0x1;_0x21ea3d--;}}return!0x0;}};function _0x35a0df(_0x2e70a6){return _0x2e70a6['children']['some'](_0x2d5063=>_0x2d5063 instanceof _0x3fcffb||!_0x2d5063['type']['isAnonymous']||_0x35a0df(_0x2d5063));}function _0x42636f(_0xbe7345){var _0x2ba924;let {buffer:_0x2ebd2b,nodeSet:_0x3635a1,maxBufferLength:_0xb648e5=_0x17d3ca,reused:_0x11ea21=[],minRepeatType:_0x1efa2d=_0x3635a1['types']['length']}=_0xbe7345,_0x18c1bd=Array['isArray'](_0x2ebd2b)?new _0x454fb3(_0x2ebd2b,_0x2ebd2b['length']):_0x2ebd2b,_0x268324=_0x3635a1['types'],_0x194d34=0x0,_0x396d56=0x0;function _0x37e7a2(_0x417933,_0x1e1f33,_0x49ab48,_0x5df247,_0x5ac756,_0x257935){let {id:_0x1b5179,start:_0x5f0aeb,end:_0x1e10e2,size:_0x4ba985}=_0x18c1bd,_0x1bf4b8=_0x396d56,_0x1604b6=_0x194d34;if(_0x4ba985<0x0){if(_0x18c1bd['next'](),-0x1==_0x4ba985){let _0x12d530=_0x11ea21[_0x1b5179];return _0x49ab48['push'](_0x12d530),void _0x5df247['push'](_0x5f0aeb-_0x417933);}if(-0x3==_0x4ba985)return void(_0x194d34=_0x1b5179);if(-0x4==_0x4ba985)return void(_0x396d56=_0x1b5179);throw new RangeError('Unrecognized\x20record\x20size:\x20'+_0x4ba985);}let _0x6e96fc,_0x3b53ad,_0x1ddc2b=_0x268324[_0x1b5179],_0x409c58=_0x5f0aeb-_0x417933;if(_0x1e10e2-_0x5f0aeb<=_0xb648e5&&(_0x3b53ad=function(_0x2a809e,_0x10d545){let _0x16b43f=_0x18c1bd['fork'](),_0x54a6da=0x0,_0x306c02=0x0,_0x3da9d8=0x0,_0x525ad8=_0x16b43f['end']-_0xb648e5,_0x28175c={'size':0x0,'start':0x0,'skip':0x0};t:for(let _0x295f53=_0x16b43f['pos']-_0x2a809e;_0x16b43f['pos']>_0x295f53;){let _0x31e35a=_0x16b43f['size'];if(_0x16b43f['id']==_0x10d545&&_0x31e35a>=0x0){_0x28175c['size']=_0x54a6da,_0x28175c['start']=_0x306c02,_0x28175c['skip']=_0x3da9d8,_0x3da9d8+=0x4,_0x54a6da+=0x4,_0x16b43f['next']();continue;}let _0x280876=_0x16b43f['pos']-_0x31e35a;if(_0x31e35a<0x0||_0x280876<_0x295f53||_0x16b43f['start']<_0x525ad8)break;let _0x5b690f=_0x16b43f['id']>=_0x1efa2d?0x4:0x0,_0x4f48c8=_0x16b43f['start'];for(_0x16b43f['next']();_0x16b43f['pos']>_0x280876;){if(_0x16b43f['size']<0x0){if(-0x3!=_0x16b43f['size']&&-0x4!=_0x16b43f['size'])break t;_0x5b690f+=0x4;}else _0x16b43f['id']>=_0x1efa2d&&(_0x5b690f+=0x4);_0x16b43f['next']();}_0x306c02=_0x4f48c8,_0x54a6da+=_0x31e35a,_0x3da9d8+=_0x5b690f;}return(_0x10d545<0x0||_0x54a6da==_0x2a809e)&&(_0x28175c['size']=_0x54a6da,_0x28175c['start']=_0x306c02,_0x28175c['skip']=_0x3da9d8),_0x28175c['size']>0x4?_0x28175c:void 0x0;}(_0x18c1bd['pos']-_0x1e1f33,_0x5ac756))){let _0x3c1c95=new Uint16Array(_0x3b53ad['size']-_0x3b53ad['skip']),_0xe84e50=_0x18c1bd['pos']-_0x3b53ad['size'],_0x9fb93f=_0x3c1c95['length'];for(;_0x18c1bd['pos']>_0xe84e50;)_0x9fb93f=_0x53300d(_0x3b53ad['start'],_0x3c1c95,_0x9fb93f);_0x6e96fc=new _0x3fcffb(_0x3c1c95,_0x1e10e2-_0x3b53ad['start'],_0x3635a1),_0x409c58=_0x3b53ad['start']-_0x417933;}else{let _0x59381c=_0x18c1bd['pos']-_0x4ba985;_0x18c1bd['next']();let _0x8ba567=[],_0xd3ad10=[],_0x36735d=_0x1b5179>=_0x1efa2d?_0x1b5179:-0x1,_0x5c006f=0x0,_0x5d6e3e=_0x1e10e2;for(;_0x18c1bd['pos']>_0x59381c;)_0x36735d>=0x0&&_0x18c1bd['id']==_0x36735d&&_0x18c1bd['size']>=0x0?(_0x18c1bd['end']<=_0x5d6e3e-_0xb648e5&&(_0x317a1d(_0x8ba567,_0xd3ad10,_0x5f0aeb,_0x5c006f,_0x18c1bd['end'],_0x5d6e3e,_0x36735d,_0x1bf4b8,_0x1604b6),_0x5c006f=_0x8ba567['length'],_0x5d6e3e=_0x18c1bd['end']),_0x18c1bd['next']()):_0x257935>0x9c4?_0x587a76(_0x5f0aeb,_0x59381c,_0x8ba567,_0xd3ad10):_0x37e7a2(_0x5f0aeb,_0x59381c,_0x8ba567,_0xd3ad10,_0x36735d,_0x257935+0x1);if(_0x36735d>=0x0&&_0x5c006f>0x0&&_0x5c006f<_0x8ba567['length']&&_0x317a1d(_0x8ba567,_0xd3ad10,_0x5f0aeb,_0x5c006f,_0x5f0aeb,_0x5d6e3e,_0x36735d,_0x1bf4b8,_0x1604b6),_0x8ba567['reverse'](),_0xd3ad10['reverse'](),_0x36735d>-0x1&&_0x5c006f>0x0){let _0x3732ee=function(_0x11bdb9,_0x27f031){return(_0x19b69d,_0x4df8a3,_0x41f76e)=>{let _0xe98573,_0x27f4ac,_0x17295a=0x0,_0x4915d5=_0x19b69d['length']-0x1;if(_0x4915d5>=0x0&&(_0xe98573=_0x19b69d[_0x4915d5])instanceof _0x5a1f7d){if(!_0x4915d5&&_0xe98573['type']==_0x11bdb9&&_0xe98573['length']==_0x41f76e)return _0xe98573;(_0x27f4ac=_0xe98573['prop'](_0x172440['lookAhead']))&&(_0x17295a=_0x4df8a3[_0x4915d5]+_0xe98573['length']+_0x27f4ac);}return _0x1eb8bd(_0x11bdb9,_0x19b69d,_0x4df8a3,_0x41f76e,_0x17295a,_0x27f031);};}(_0x1ddc2b,_0x1604b6);_0x6e96fc=_0x37bfa1(_0x1ddc2b,_0x8ba567,_0xd3ad10,0x0,_0x8ba567['length'],0x0,_0x1e10e2-_0x5f0aeb,_0x3732ee,_0x3732ee);}else _0x6e96fc=_0x1eb8bd(_0x1ddc2b,_0x8ba567,_0xd3ad10,_0x1e10e2-_0x5f0aeb,_0x1bf4b8-_0x1e10e2,_0x1604b6);}_0x49ab48['push'](_0x6e96fc),_0x5df247['push'](_0x409c58);}function _0x587a76(_0x15ee35,_0x31b768,_0x439d30,_0x2bddf2){let _0x17d0d1=[],_0x1b6aa8=0x0,_0x428e98=-0x1;for(;_0x18c1bd['pos']>_0x31b768;){let {id:_0x354b9f,start:_0x17bb3a,end:_0x17421c,size:_0x4be23b}=_0x18c1bd;if(_0x4be23b>0x4)_0x18c1bd['next']();else{if(_0x428e98>-0x1&&_0x17bb3a<_0x428e98)break;_0x428e98<0x0&&(_0x428e98=_0x17421c-_0xb648e5),_0x17d0d1['push'](_0x354b9f,_0x17bb3a,_0x17421c),_0x1b6aa8++,_0x18c1bd['next']();}}if(_0x1b6aa8){let _0x1df4c6=new Uint16Array(0x4*_0x1b6aa8),_0x49030b=_0x17d0d1[_0x17d0d1['length']-0x2];for(let _0x51aeda=_0x17d0d1['length']-0x3,_0x37a6a3=0x0;_0x51aeda>=0x0;_0x51aeda-=0x3)_0x1df4c6[_0x37a6a3++]=_0x17d0d1[_0x51aeda],_0x1df4c6[_0x37a6a3++]=_0x17d0d1[_0x51aeda+0x1]-_0x49030b,_0x1df4c6[_0x37a6a3++]=_0x17d0d1[_0x51aeda+0x2]-_0x49030b,_0x1df4c6[_0x37a6a3++]=_0x37a6a3;_0x439d30['push'](new _0x3fcffb(_0x1df4c6,_0x17d0d1[0x2]-_0x49030b,_0x3635a1)),_0x2bddf2['push'](_0x49030b-_0x15ee35);}}function _0x317a1d(_0x3e5d81,_0x3b5b5c,_0x2b4bc0,_0x38d54f,_0x4f9f27,_0x15b26b,_0x15ce50,_0x58b202,_0x38c557){let _0x499f5f=[],_0x2abc3b=[];for(;_0x3e5d81['length']>_0x38d54f;)_0x499f5f['push'](_0x3e5d81['pop']()),_0x2abc3b['push'](_0x3b5b5c['pop']()+_0x2b4bc0-_0x4f9f27);_0x3e5d81['push'](_0x1eb8bd(_0x3635a1['types'][_0x15ce50],_0x499f5f,_0x2abc3b,_0x15b26b-_0x4f9f27,_0x58b202-_0x15b26b,_0x38c557)),_0x3b5b5c['push'](_0x4f9f27-_0x2b4bc0);}function _0x1eb8bd(_0x3f90f7,_0x5250d0,_0x23a8f8,_0x149104,_0x44d5f2,_0x3aba58,_0x34c222){if(_0x3aba58){let _0x53b6f4=[_0x172440['contextHash'],_0x3aba58];_0x34c222=_0x34c222?[_0x53b6f4]['concat'](_0x34c222):[_0x53b6f4];}if(_0x44d5f2>0x19){let _0x395fc6=[_0x172440['lookAhead'],_0x44d5f2];_0x34c222=_0x34c222?[_0x395fc6]['concat'](_0x34c222):[_0x395fc6];}return new _0x5a1f7d(_0x3f90f7,_0x5250d0,_0x23a8f8,_0x149104,_0x34c222);}function _0x53300d(_0x3869fe,_0x2dfe5c,_0x56cdc6){let {id:_0x4e19bf,start:_0x166d6a,end:_0x6dcb17,size:_0x581ccc}=_0x18c1bd;if(_0x18c1bd['next'](),_0x581ccc>=0x0&&_0x4e19bf<_0x1efa2d){let _0x442c8e=_0x56cdc6;if(_0x581ccc>0x4){let _0x47d947=_0x18c1bd['pos']-(_0x581ccc-0x4);for(;_0x18c1bd['pos']>_0x47d947;)_0x56cdc6=_0x53300d(_0x3869fe,_0x2dfe5c,_0x56cdc6);}_0x2dfe5c[--_0x56cdc6]=_0x442c8e,_0x2dfe5c[--_0x56cdc6]=_0x6dcb17-_0x3869fe,_0x2dfe5c[--_0x56cdc6]=_0x166d6a-_0x3869fe,_0x2dfe5c[--_0x56cdc6]=_0x4e19bf;}else-0x3==_0x581ccc?_0x194d34=_0x4e19bf:-0x4==_0x581ccc&&(_0x396d56=_0x4e19bf);return _0x56cdc6;}let _0x20c25f=[],_0x2490dd=[];for(;_0x18c1bd['pos']>0x0;)_0x37e7a2(_0xbe7345['start']||0x0,_0xbe7345['bufferStart']||0x0,_0x20c25f,_0x2490dd,-0x1,0x0);let _0x366f8f=null!==(_0x2ba924=_0xbe7345['length'])&&void 0x0!==_0x2ba924?_0x2ba924:_0x20c25f['length']?_0x2490dd[0x0]+_0x20c25f[0x0]['length']:0x0;return new _0x5a1f7d(_0x268324[_0xbe7345['topID']],_0x20c25f['reverse'](),_0x2490dd['reverse'](),_0x366f8f);}const _0x3f1f38=new WeakMap();function _0x184342(_0x4b9b5f,_0x4868bb){if(!_0x4b9b5f['isAnonymous']||_0x4868bb instanceof _0x3fcffb||_0x4868bb['type']!=_0x4b9b5f)return 0x1;let _0x394854=_0x3f1f38['get'](_0x4868bb);if(null==_0x394854){_0x394854=0x1;for(let _0x3d7822 of _0x4868bb['children']){if(_0x3d7822['type']!=_0x4b9b5f||!(_0x3d7822 instanceof _0x5a1f7d)){_0x394854=0x1;break;}_0x394854+=_0x184342(_0x4b9b5f,_0x3d7822);}_0x3f1f38['set'](_0x4868bb,_0x394854);}return _0x394854;}function _0x37bfa1(_0x3e8f9e,_0xcee56c,_0x2f7782,_0x32d868,_0x348448,_0x5d3792,_0x5a7fe3,_0x200904,_0x5c8ceb){let _0x3383a7=0x0;for(let _0xf48d3b=_0x32d868;_0xf48d3b<_0x348448;_0xf48d3b++)_0x3383a7+=_0x184342(_0x3e8f9e,_0xcee56c[_0xf48d3b]);let _0x5df539=Math['ceil'](1.5*_0x3383a7/0x8),_0x59360e=[],_0x2b0528=[];return function _0x1a9be2(_0x247e52,_0x273d1a,_0x1f338c,_0x33a32a,_0x56791e){for(let _0x254bee=_0x1f338c;_0x254bee<_0x33a32a;){let _0x13c339=_0x254bee,_0x559d31=_0x273d1a[_0x254bee],_0x5987e7=_0x184342(_0x3e8f9e,_0x247e52[_0x254bee]);for(_0x254bee++;_0x254bee<_0x33a32a;_0x254bee++){let _0x1a8f15=_0x184342(_0x3e8f9e,_0x247e52[_0x254bee]);if(_0x5987e7+_0x1a8f15>=_0x5df539)break;_0x5987e7+=_0x1a8f15;}if(_0x254bee==_0x13c339+0x1){if(_0x5987e7>_0x5df539){let _0x4a089e=_0x247e52[_0x13c339];_0x1a9be2(_0x4a089e['children'],_0x4a089e['positions'],0x0,_0x4a089e['children']['length'],_0x273d1a[_0x13c339]+_0x56791e);continue;}_0x59360e['push'](_0x247e52[_0x13c339]);}else{let _0x27bdf3=_0x273d1a[_0x254bee-0x1]+_0x247e52[_0x254bee-0x1]['length']-_0x559d31;_0x59360e['push'](_0x37bfa1(_0x3e8f9e,_0x247e52,_0x273d1a,_0x13c339,_0x254bee,_0x559d31,_0x27bdf3,null,_0x5c8ceb));}_0x2b0528['push'](_0x559d31+_0x56791e-_0x5d3792);}}(_0xcee56c,_0x2f7782,_0x32d868,_0x348448,0x0),(_0x200904||_0x5c8ceb)(_0x59360e,_0x2b0528,_0x5a7fe3);}var _0x1c1a8c=class{constructor(){this['map']=new WeakMap();}['setBuffer'](_0x56008b,_0x25af0c,_0x23acbe){let _0x3e8583=this['map']['get'](_0x56008b);_0x3e8583||this['map']['set'](_0x56008b,_0x3e8583=new Map()),_0x3e8583['set'](_0x25af0c,_0x23acbe);}['getBuffer'](_0x31c3e9,_0x4c0250){let _0x1391be=this['map']['get'](_0x31c3e9);return _0x1391be&&_0x1391be['get'](_0x4c0250);}['set'](_0x55d84e,_0x3baece){_0x55d84e instanceof _0x12493f?this['setBuffer'](_0x55d84e['context']['buffer'],_0x55d84e['index'],_0x3baece):_0x55d84e instanceof _0x4a67c9&&this['map']['set'](_0x55d84e['tree'],_0x3baece);}['get'](_0x9eaa37){return _0x9eaa37 instanceof _0x12493f?this['getBuffer'](_0x9eaa37['context']['buffer'],_0x9eaa37['index']):_0x9eaa37 instanceof _0x4a67c9?this['map']['get'](_0x9eaa37['tree']):void 0x0;}['cursorSet'](_0x584334,_0x4901ec){_0x584334['buffer']?this['setBuffer'](_0x584334['buffer']['buffer'],_0x584334['index'],_0x4901ec):this['map']['set'](_0x584334['tree'],_0x4901ec);}['cursorGet'](_0x3a1924){return _0x3a1924['buffer']?this['getBuffer'](_0x3a1924['buffer']['buffer'],_0x3a1924['index']):this['map']['get'](_0x3a1924['tree']);}},_0x3241a4=class TreeFragment{constructor(_0x227fae,_0x568732,_0x55110d,_0x30f94c,_0x6aaaea=!0x1,_0x5969b9=!0x1){this['from']=_0x227fae,this['to']=_0x568732,this['tree']=_0x55110d,this['offset']=_0x30f94c,this['open']=(_0x6aaaea?0x1:0x0)|(_0x5969b9?0x2:0x0);}get['openStart'](){return(0x1&this['open'])>0x0;}get['openEnd'](){return(0x2&this['open'])>0x0;}static['addTree'](_0x2c0986,_0x55ffe9=[],_0x223796=!0x1){let _0x7cc02e=[new TreeFragment(0x0,_0x2c0986['length'],_0x2c0986,0x0,!0x1,_0x223796)];for(let _0x13fccb of _0x55ffe9)_0x13fccb['to']>_0x2c0986['length']&&_0x7cc02e['push'](_0x13fccb);return _0x7cc02e;}static['applyChanges'](_0x2ab896,_0x4acb2d,_0x307968=0x80){if(!_0x4acb2d['length'])return _0x2ab896;let _0x329c20=[],_0x5821f3=0x1,_0x1346a2=_0x2ab896['length']?_0x2ab896[0x0]:null;for(let _0x1a125d=0x0,_0x34d611=0x0,_0x4fcd48=0x0;;_0x1a125d++){let _0xcac24f=_0x1a125d<_0x4acb2d['length']?_0x4acb2d[_0x1a125d]:null,_0x4b2b79=_0xcac24f?_0xcac24f['fromA']:0x3b9aca00;if(_0x4b2b79-_0x34d611>=_0x307968)for(;_0x1346a2&&_0x1346a2['from']<_0x4b2b79;){let _0x3c63aa=_0x1346a2;if(_0x34d611>=_0x3c63aa['from']||_0x4b2b79<=_0x3c63aa['to']||_0x4fcd48){let _0x281b8f=Math['max'](_0x3c63aa['from'],_0x34d611)-_0x4fcd48,_0x502975=Math['min'](_0x3c63aa['to'],_0x4b2b79)-_0x4fcd48;_0x3c63aa=_0x281b8f>=_0x502975?null:new TreeFragment(_0x281b8f,_0x502975,_0x3c63aa['tree'],_0x3c63aa['offset']+_0x4fcd48,_0x1a125d>0x0,!!_0xcac24f);}if(_0x3c63aa&&_0x329c20['push'](_0x3c63aa),_0x1346a2['to']>_0x4b2b79)break;_0x1346a2=_0x5821f3<_0x2ab896['length']?_0x2ab896[_0x5821f3++]:null;}if(!_0xcac24f)break;_0x34d611=_0xcac24f['toA'],_0x4fcd48=_0xcac24f['toA']-_0xcac24f['toB'];}return _0x329c20;}},_0xb212c5=class{['startParse'](_0x738763,_0x560ba9,_0x5ed415){return'string'==typeof _0x738763&&(_0x738763=new _0x595aa7(_0x738763)),_0x5ed415=_0x5ed415?_0x5ed415['length']?_0x5ed415['map'](_0x1c1fb0=>new _0x22fca6(_0x1c1fb0['from'],_0x1c1fb0['to'])):[new _0x22fca6(0x0,0x0)]:[new _0x22fca6(0x0,_0x738763['length'])],this['createParse'](_0x738763,_0x560ba9||[],_0x5ed415);}['parse'](_0x27fbc8,_0x158272,_0x563d1f){let _0x3403e2=this['startParse'](_0x27fbc8,_0x158272,_0x563d1f);for(;;){let _0x34f245=_0x3403e2['advance']();if(_0x34f245)return _0x34f245;}}},_0x595aa7=class{constructor(_0x14e830){this['string']=_0x14e830;}get['length'](){return this['string']['length'];}['chunk'](_0x23ab1a){return this['string']['slice'](_0x23ab1a);}get['lineChunks'](){return!0x1;}['read'](_0x565867,_0x58db4d){return this['string']['slice'](_0x565867,_0x58db4d);}};function _0x26e649(_0x286364){return(_0x132755,_0x13e9f5,_0x41c301,_0x28591f)=>new _0x5abd22(_0x132755,_0x286364,_0x13e9f5,_0x41c301,_0x28591f);}var _0x34eab7=class{constructor(_0x5d621c,_0x67d895,_0x2ae220,_0x46c79a,_0x44fed8,_0x4c69c7){this['parser']=_0x5d621c,this['parse']=_0x67d895,this['overlay']=_0x2ae220,this['bracketed']=_0x46c79a,this['target']=_0x44fed8,this['from']=_0x4c69c7;}};function _0x1c69b6(_0x1df62b){if(!_0x1df62b['length']||_0x1df62b['some'](_0x338338=>_0x338338['from']>=_0x338338['to']))throw new RangeError('Invalid\x20inner\x20parse\x20ranges\x20given:\x20'+JSON['stringify'](_0x1df62b));}var _0xae2cf9=class{constructor(_0x2cb0f2,_0x4a9814,_0x16b90f,_0x1ff0f9,_0x4de471,_0x4bbaff,_0x2bd5ca,_0x24ca1d){this['parser']=_0x2cb0f2,this['predicate']=_0x4a9814,this['mounts']=_0x16b90f,this['index']=_0x1ff0f9,this['start']=_0x4de471,this['bracketed']=_0x4bbaff,this['target']=_0x2bd5ca,this['prev']=_0x24ca1d,this['depth']=0x0,this['ranges']=[];}};const _0x564a85=new _0x172440({'perNode':!0x0});var _0x5abd22=class{constructor(_0xcd1b7a,_0xbfa295,_0x4d2002,_0x1cc3bd,_0xe3dbf){this['nest']=_0xbfa295,this['input']=_0x4d2002,this['fragments']=_0x1cc3bd,this['ranges']=_0xe3dbf,this['inner']=[],this['innerDone']=0x0,this['baseTree']=null,this['stoppedAt']=null,this['baseParse']=_0xcd1b7a;}['advance'](){if(this['baseParse']){let _0x2ab9e1=this['baseParse']['advance']();if(!_0x2ab9e1)return null;if(this['baseParse']=null,this['baseTree']=_0x2ab9e1,this['startInner'](),null!=this['stoppedAt']){for(let _0x58b685 of this['inner'])_0x58b685['parse']['stopAt'](this['stoppedAt']);}}if(this['innerDone']==this['inner']['length']){let _0x264618=this['baseTree'];return null!=this['stoppedAt']&&(_0x264618=new _0x5a1f7d(_0x264618['type'],_0x264618['children'],_0x264618['positions'],_0x264618['length'],_0x264618['propValues']['concat']([[_0x564a85,this['stoppedAt']]]))),_0x264618;}let _0x2a9154=this['inner'][this['innerDone']],_0x431f95=_0x2a9154['parse']['advance']();if(_0x431f95){this['innerDone']++;let _0x1b99dc=Object['assign'](Object['create'](null),_0x2a9154['target']['props']);_0x1b99dc[_0x172440['mounted']['id']]=new _0x255b40(_0x431f95,_0x2a9154['overlay'],_0x2a9154['parser'],_0x2a9154['bracketed']),_0x2a9154['target']['props']=_0x1b99dc;}return null;}get['parsedPos'](){if(this['baseParse'])return 0x0;let _0x450e87=this['input']['length'];for(let _0x527b13=this['innerDone'];_0x527b13<this['inner']['length'];_0x527b13++)this['inner'][_0x527b13]['from']<_0x450e87&&(_0x450e87=Math['min'](_0x450e87,this['inner'][_0x527b13]['parse']['parsedPos']));return _0x450e87;}['stopAt'](_0x240d5c){if(this['stoppedAt']=_0x240d5c,this['baseParse'])this['baseParse']['stopAt'](_0x240d5c);else{for(let _0x4da729=this['innerDone'];_0x4da729<this['inner']['length'];_0x4da729++)this['inner'][_0x4da729]['parse']['stopAt'](_0x240d5c);}}['startInner'](){let _0x3668fd=new _0x5f3f0c(this['fragments']),_0x378fb3=null,_0xcd8176=null,_0x2840d6=new _0x12b54c(new _0x4a67c9(this['baseTree'],this['ranges'][0x0]['from'],0x0,null),_0x529189['IncludeAnonymous']|_0x529189['IgnoreMounts']);t:for(let _0x38bf2a,_0x57fa78;;){let _0xf68018,_0xdbad6=!0x0;if(null!=this['stoppedAt']&&_0x2840d6['from']>=this['stoppedAt'])_0xdbad6=!0x1;else{if(_0x3668fd['hasNode'](_0x2840d6)){if(_0x378fb3){let _0x3d5c21=_0x378fb3['mounts']['find'](_0x5c2540=>_0x5c2540['frag']['from']<=_0x2840d6['from']&&_0x5c2540['frag']['to']>=_0x2840d6['to']&&_0x5c2540['mount']['overlay']);if(_0x3d5c21)for(let _0x14c280 of _0x3d5c21['mount']['overlay']){let _0x249ae1=_0x14c280['from']+_0x3d5c21['pos'],_0x1de426=_0x14c280['to']+_0x3d5c21['pos'];_0x249ae1>=_0x2840d6['from']&&_0x1de426<=_0x2840d6['to']&&!_0x378fb3['ranges']['some'](_0x51e62e=>_0x51e62e['from']<_0x1de426&&_0x51e62e['to']>_0x249ae1)&&_0x378fb3['ranges']['push']({'from':_0x249ae1,'to':_0x1de426});}}_0xdbad6=!0x1;}else{if(_0xcd8176&&(_0x57fa78=_0x3be25b(_0xcd8176['ranges'],_0x2840d6['from'],_0x2840d6['to'])))_0xdbad6=0x2!=_0x57fa78;else{if(!_0x2840d6['type']['isAnonymous']&&(_0x38bf2a=this['nest'](_0x2840d6,this['input']))&&(_0x2840d6['from']<_0x2840d6['to']||!_0x38bf2a['overlay'])){_0x2840d6['tree']||(_0x191f40(_0x2840d6),_0x378fb3&&_0x378fb3['depth']++,_0xcd8176&&_0xcd8176['depth']++);let _0x1aef0a=_0x3668fd['findMounts'](_0x2840d6['from'],_0x38bf2a['parser']);if('function'==typeof _0x38bf2a['overlay'])_0x378fb3=new _0xae2cf9(_0x38bf2a['parser'],_0x38bf2a['overlay'],_0x1aef0a,this['inner']['length'],_0x2840d6['from'],!!_0x38bf2a['bracketed'],_0x2840d6['tree'],_0x378fb3);else{let _0x3c0b21=_0x202b5a(this['ranges'],_0x38bf2a['overlay']||(_0x2840d6['from']<_0x2840d6['to']?[new _0x22fca6(_0x2840d6['from'],_0x2840d6['to'])]:[]));_0x3c0b21['length']&&_0x1c69b6(_0x3c0b21),!_0x3c0b21['length']&&_0x38bf2a['overlay']||this['inner']['push'](new _0x34eab7(_0x38bf2a['parser'],_0x3c0b21['length']?_0x38bf2a['parser']['startParse'](this['input'],_0x54cb5c(_0x1aef0a,_0x3c0b21),_0x3c0b21):_0x38bf2a['parser']['startParse'](''),_0x38bf2a['overlay']?_0x38bf2a['overlay']['map'](_0x3e6f70=>new _0x22fca6(_0x3e6f70['from']-_0x2840d6['from'],_0x3e6f70['to']-_0x2840d6['from'])):null,!!_0x38bf2a['bracketed'],_0x2840d6['tree'],_0x3c0b21['length']?_0x3c0b21[0x0]['from']:_0x2840d6['from'])),_0x38bf2a['overlay']?_0x3c0b21['length']&&(_0xcd8176={'ranges':_0x3c0b21,'depth':0x0,'prev':_0xcd8176}):_0xdbad6=!0x1;}}else{if(_0x378fb3&&(_0xf68018=_0x378fb3['predicate'](_0x2840d6))&&(!0x0===_0xf68018&&(_0xf68018=new _0x22fca6(_0x2840d6['from'],_0x2840d6['to'])),_0xf68018['from']<_0xf68018['to'])){let _0x684e7a=_0x378fb3['ranges']['length']-0x1;_0x684e7a>=0x0&&_0x378fb3['ranges'][_0x684e7a]['to']==_0xf68018['from']?_0x378fb3['ranges'][_0x684e7a]={'from':_0x378fb3['ranges'][_0x684e7a]['from'],'to':_0xf68018['to']}:_0x378fb3['ranges']['push'](_0xf68018);}}}}}if(_0xdbad6&&_0x2840d6['firstChild']())_0x378fb3&&_0x378fb3['depth']++,_0xcd8176&&_0xcd8176['depth']++;else for(;!_0x2840d6['nextSibling']();){if(!_0x2840d6['parent']())break t;if(_0x378fb3&&!--_0x378fb3['depth']){let _0x5b21f0=_0x202b5a(this['ranges'],_0x378fb3['ranges']);_0x5b21f0['length']&&(_0x1c69b6(_0x5b21f0),this['inner']['splice'](_0x378fb3['index'],0x0,new _0x34eab7(_0x378fb3['parser'],_0x378fb3['parser']['startParse'](this['input'],_0x54cb5c(_0x378fb3['mounts'],_0x5b21f0),_0x5b21f0),_0x378fb3['ranges']['map'](_0x547f74=>new _0x22fca6(_0x547f74['from']-_0x378fb3['start'],_0x547f74['to']-_0x378fb3['start'])),_0x378fb3['bracketed'],_0x378fb3['target'],_0x5b21f0[0x0]['from']))),_0x378fb3=_0x378fb3['prev'];}_0xcd8176&&!--_0xcd8176['depth']&&(_0xcd8176=_0xcd8176['prev']);}}}};function _0x3be25b(_0x3a4cbc,_0x59c8a5,_0xa1c008){for(let _0x1ef1a1 of _0x3a4cbc){if(_0x1ef1a1['from']>=_0xa1c008)break;if(_0x1ef1a1['to']>_0x59c8a5)return _0x1ef1a1['from']<=_0x59c8a5&&_0x1ef1a1['to']>=_0xa1c008?0x2:0x1;}return 0x0;}function _0x41cf9b(_0xc99523,_0x25e932,_0x290ab0,_0x5d7cf2,_0x4bcb26,_0x256bc9){if(_0x25e932<_0x290ab0){let _0x52688d=_0xc99523['buffer'][_0x25e932+0x1];_0x5d7cf2['push'](_0xc99523['slice'](_0x25e932,_0x290ab0,_0x52688d)),_0x4bcb26['push'](_0x52688d-_0x256bc9);}}function _0x191f40(_0xb05676){let {node:_0xf5eeea}=_0xb05676,_0x354413=[],_0x59df62=_0xf5eeea['context']['buffer'];do{_0x354413['push'](_0xb05676['index']),_0xb05676['parent']();}while(!_0xb05676['tree']);let _0x16051d=_0xb05676['tree'],_0xee2a26=_0x16051d['children']['indexOf'](_0x59df62),_0x3af511=_0x16051d['children'][_0xee2a26],_0x40e402=_0x3af511['buffer'],_0x257b28=[_0xee2a26];_0x16051d['children'][_0xee2a26]=function _0x82b0e1(_0x32fb63,_0x22cd56,_0x1b83fc,_0x454897,_0x1729cd,_0x57fcd1){let _0x571c18=_0x354413[_0x57fcd1],_0x51acd3=[],_0x12b37f=[];_0x41cf9b(_0x3af511,_0x32fb63,_0x571c18,_0x51acd3,_0x12b37f,_0x454897);let _0x4b547e=_0x40e402[_0x571c18+0x1],_0x39ad72=_0x40e402[_0x571c18+0x2];_0x257b28['push'](_0x51acd3['length']);let _0x569b4c=_0x57fcd1?_0x82b0e1(_0x571c18+0x4,_0x40e402[_0x571c18+0x3],_0x3af511['set']['types'][_0x40e402[_0x571c18]],_0x4b547e,_0x39ad72-_0x4b547e,_0x57fcd1-0x1):_0xf5eeea['toTree']();return _0x51acd3['push'](_0x569b4c),_0x12b37f['push'](_0x4b547e-_0x454897),_0x41cf9b(_0x3af511,_0x40e402[_0x571c18+0x3],_0x22cd56,_0x51acd3,_0x12b37f,_0x454897),new _0x5a1f7d(_0x1b83fc,_0x51acd3,_0x12b37f,_0x1729cd);}(0x0,_0x40e402['length'],_0x37f725['none'],0x0,_0x3af511['length'],_0x354413['length']-0x1);for(let _0x1666ab of _0x257b28){let _0x570c31=_0xb05676['tree']['children'][_0x1666ab],_0x1be94c=_0xb05676['tree']['positions'][_0x1666ab];_0xb05676['yield'](new _0x4a67c9(_0x570c31,_0x1be94c+_0xb05676['from'],_0x1666ab,_0xb05676['_tree']));}}var _0x292707=class{constructor(_0x28422b,_0xf9e01c){this['offset']=_0xf9e01c,this['done']=!0x1,this['cursor']=_0x28422b['cursor'](_0x529189['IncludeAnonymous']|_0x529189['IgnoreMounts']);}['moveTo'](_0x5d9b9e){let {cursor:_0x583353}=this,_0x2b3f6e=_0x5d9b9e-this['offset'];for(;!this['done']&&_0x583353['from']<_0x2b3f6e;)if(_0x583353['to']>=_0x5d9b9e&&_0x583353['enter'](_0x2b3f6e,0x1,_0x529189['IgnoreOverlays']|_0x529189['ExcludeBuffers']));else{if(!(_0x583353['to']<=_0x5d9b9e))break;_0x583353['next'](!0x1)||(this['done']=!0x0);}}['hasNode'](_0x53832e){if(this['moveTo'](_0x53832e['from']),!this['done']&&this['cursor']['from']+this['offset']==_0x53832e['from']&&this['cursor']['tree'])for(let _0x515f88=this['cursor']['tree'];;){if(_0x515f88==_0x53832e['tree'])return!0x0;if(!(_0x515f88['children']['length']&&0x0==_0x515f88['positions'][0x0]&&_0x515f88['children'][0x0]instanceof _0x5a1f7d))break;_0x515f88=_0x515f88['children'][0x0];}return!0x1;}},_0x5f3f0c=class{constructor(_0x7f5f3e){var _0x17cf5c;if(this['fragments']=_0x7f5f3e,this['curTo']=0x0,this['fragI']=0x0,_0x7f5f3e['length']){let _0x571317=this['curFrag']=_0x7f5f3e[0x0];this['curTo']=null!==(_0x17cf5c=_0x571317['tree']['prop'](_0x564a85))&&void 0x0!==_0x17cf5c?_0x17cf5c:_0x571317['to'],this['inner']=new _0x292707(_0x571317['tree'],-_0x571317['offset']);}else this['curFrag']=this['inner']=null;}['hasNode'](_0x360fd2){for(;this['curFrag']&&_0x360fd2['from']>=this['curTo'];)this['nextFrag']();return this['curFrag']&&this['curFrag']['from']<=_0x360fd2['from']&&this['curTo']>=_0x360fd2['to']&&this['inner']['hasNode'](_0x360fd2);}['nextFrag'](){var _0x3b0f4d;if(this['fragI']++,this['fragI']==this['fragments']['length'])this['curFrag']=this['inner']=null;else{let _0x14878b=this['curFrag']=this['fragments'][this['fragI']];this['curTo']=null!==(_0x3b0f4d=_0x14878b['tree']['prop'](_0x564a85))&&void 0x0!==_0x3b0f4d?_0x3b0f4d:_0x14878b['to'],this['inner']=new _0x292707(_0x14878b['tree'],-_0x14878b['offset']);}}['findMounts'](_0x342bc1,_0x4900df){var _0x31d314;let _0x16de1b=[];if(this['inner']){this['inner']['cursor']['moveTo'](_0x342bc1,0x1);for(let _0x3badc6=this['inner']['cursor']['node'];_0x3badc6;_0x3badc6=_0x3badc6['parent']){let _0x3cbe5f=null===(_0x31d314=_0x3badc6['tree'])||void 0x0===_0x31d314?void 0x0:_0x31d314['prop'](_0x172440['mounted']);if(_0x3cbe5f&&_0x3cbe5f['parser']==_0x4900df)for(let _0x4adec8=this['fragI'];_0x4adec8<this['fragments']['length'];_0x4adec8++){let _0x2b4003=this['fragments'][_0x4adec8];if(_0x2b4003['from']>=_0x3badc6['to'])break;_0x2b4003['tree']==this['curFrag']['tree']&&_0x16de1b['push']({'frag':_0x2b4003,'pos':_0x3badc6['from']-_0x2b4003['offset'],'mount':_0x3cbe5f});}}}return _0x16de1b;}};function _0x202b5a(_0x17c95b,_0x19bb71){let _0x62639d=null,_0x205fa1=_0x19bb71;for(let _0x572a5c=0x1,_0x3e1c3e=0x0;_0x572a5c<_0x17c95b['length'];_0x572a5c++){let _0x3d3600=_0x17c95b[_0x572a5c-0x1]['to'],_0x33460=_0x17c95b[_0x572a5c]['from'];for(;_0x3e1c3e<_0x205fa1['length'];_0x3e1c3e++){let _0x25c771=_0x205fa1[_0x3e1c3e];if(_0x25c771['from']>=_0x33460)break;_0x25c771['to']<=_0x3d3600||(_0x62639d||(_0x205fa1=_0x62639d=_0x19bb71['slice']()),_0x25c771['from']<_0x3d3600?(_0x62639d[_0x3e1c3e]=new _0x22fca6(_0x25c771['from'],_0x3d3600),_0x25c771['to']>_0x33460&&_0x62639d['splice'](_0x3e1c3e+0x1,0x0,new _0x22fca6(_0x33460,_0x25c771['to']))):_0x25c771['to']>_0x33460?_0x62639d[_0x3e1c3e--]=new _0x22fca6(_0x33460,_0x25c771['to']):_0x62639d['splice'](_0x3e1c3e--,0x1));}}return _0x205fa1;}function _0x46fdfa(_0x353091,_0x547631,_0xd3678b,_0x2c31e9){let _0x3cd454=0x0,_0x52fbc8=0x0,_0x593524=!0x1,_0x387c20=!0x1,_0x3a03ec=-0x3b9aca00,_0x4cd984=[];for(;;){let _0x5ea039=_0x3cd454==_0x353091['length']?0x3b9aca00:_0x593524?_0x353091[_0x3cd454]['to']:_0x353091[_0x3cd454]['from'],_0x5f0ade=_0x52fbc8==_0x547631['length']?0x3b9aca00:_0x387c20?_0x547631[_0x52fbc8]['to']:_0x547631[_0x52fbc8]['from'];if(_0x593524!=_0x387c20){let _0x19431d=Math['max'](_0x3a03ec,_0xd3678b),_0xf8529f=Math['min'](_0x5ea039,_0x5f0ade,_0x2c31e9);_0x19431d<_0xf8529f&&_0x4cd984['push'](new _0x22fca6(_0x19431d,_0xf8529f));}if(_0x3a03ec=Math['min'](_0x5ea039,_0x5f0ade),0x3b9aca00==_0x3a03ec)break;_0x5ea039==_0x3a03ec&&(_0x593524?(_0x593524=!0x1,_0x3cd454++):_0x593524=!0x0),_0x5f0ade==_0x3a03ec&&(_0x387c20?(_0x387c20=!0x1,_0x52fbc8++):_0x387c20=!0x0);}return _0x4cd984;}function _0x54cb5c(_0x1be76a,_0x2ba33d){let _0x32f054=[];for(let {pos:_0x3b08a9,mount:_0x2ab5aa,frag:_0x50c7ca}of _0x1be76a){let _0x2e939e=_0x3b08a9+(_0x2ab5aa['overlay']?_0x2ab5aa['overlay'][0x0]['from']:0x0),_0xd05a2f=_0x2e939e+_0x2ab5aa['tree']['length'],_0x58991a=Math['max'](_0x50c7ca['from'],_0x2e939e),_0x5caeb5=Math['min'](_0x50c7ca['to'],_0xd05a2f);if(_0x2ab5aa['overlay']){let _0x4ac75d=_0x46fdfa(_0x2ba33d,_0x2ab5aa['overlay']['map'](_0x38d2d4=>new _0x22fca6(_0x38d2d4['from']+_0x3b08a9,_0x38d2d4['to']+_0x3b08a9)),_0x58991a,_0x5caeb5);for(let _0x4afd36=0x0,_0x5e1845=_0x58991a;;_0x4afd36++){let _0x2ecc7e=_0x4afd36==_0x4ac75d['length'],_0x4f3633=_0x2ecc7e?_0x5caeb5:_0x4ac75d[_0x4afd36]['from'];if(_0x4f3633>_0x5e1845&&_0x32f054['push'](new _0x3241a4(_0x5e1845,_0x4f3633,_0x2ab5aa['tree'],-_0x2e939e,_0x50c7ca['from']>=_0x5e1845||_0x50c7ca['openStart'],_0x50c7ca['to']<=_0x4f3633||_0x50c7ca['openEnd'])),_0x2ecc7e)break;_0x5e1845=_0x4ac75d[_0x4afd36]['to'];}}else _0x32f054['push'](new _0x3241a4(_0x58991a,_0x5caeb5,_0x2ab5aa['tree'],-_0x2e939e,_0x50c7ca['from']>=_0x2e939e||_0x50c7ca['openStart'],_0x50c7ca['to']<=_0xd05a2f||_0x50c7ca['openEnd']));}return _0x32f054;}let _0x312037=0x0;var _0x49677a=class _0xa95684{constructor(_0x5b17b0,_0x2e6b4a,_0x3eb8be,_0x5a2105){this['name']=_0x5b17b0,this['set']=_0x2e6b4a,this['base']=_0x3eb8be,this['modified']=_0x5a2105,this['id']=_0x312037++;}['toString'](){let {name:_0x100a46}=this;for(let _0x1949ad of this['modified'])_0x1949ad['name']&&(_0x100a46=_0x1949ad['name']+'('+_0x100a46+')');return _0x100a46;}static['define'](_0x3ebb3f,_0xa800e9){let _0x22e338='string'==typeof _0x3ebb3f?_0x3ebb3f:'?';if(_0x3ebb3f instanceof _0xa95684&&(_0xa800e9=_0x3ebb3f),null==_0xa800e9?void 0x0:_0xa800e9['base'])throw new Error('Can\x20not\x20derive\x20from\x20a\x20modified\x20tag');let _0x2cdf1d=new _0xa95684(_0x22e338,[],null,[]);if(_0x2cdf1d['set']['push'](_0x2cdf1d),_0xa800e9){for(let t of _0xa800e9['set'])_0x2cdf1d['set']['push'](t);}return _0x2cdf1d;}static['defineModifier'](_0x2b363a){let _0x3c92fa=new _0x5d9830(_0x2b363a);return _0x509d47=>_0x509d47['modified']['indexOf'](_0x3c92fa)>-0x1?_0x509d47:_0x5d9830['get'](_0x509d47['base']||_0x509d47,_0x509d47['modified']['concat'](_0x3c92fa)['sort']((_0xd2b326,_0x1ddaa7)=>_0xd2b326['id']-_0x1ddaa7['id']));}};let _0x24faa0=0x0;var _0x5d9830=class _0x2998da{constructor(_0x18d607){this['name']=_0x18d607,this['instances']=[],this['id']=_0x24faa0++;}static['get'](_0x576b72,_0x2f6a37){if(!_0x2f6a37['length'])return _0x576b72;let _0x2f58d9=_0x2f6a37[0x0]['instances']['find'](t=>{return t['base']==_0x576b72&&(_0x12944b=_0x2f6a37,_0x453732=t['modified'],_0x12944b['length']==_0x453732['length']&&_0x12944b['every']((_0x501606,_0x20ca78)=>_0x501606==_0x453732[_0x20ca78]));var _0x12944b,_0x453732;});if(_0x2f58d9)return _0x2f58d9;let _0x4e76ff=[],_0x2ec263=new _0x49677a(_0x576b72['name'],_0x4e76ff,_0x576b72,_0x2f6a37);for(let _0x57ef22 of _0x2f6a37)_0x57ef22['instances']['push'](_0x2ec263);let _0x12e770=function(_0x3546c4){let _0x1d207f=[[]];for(let _0x4b16a8=0x0;_0x4b16a8<_0x3546c4['length'];_0x4b16a8++)for(let _0x31b75d=0x0,_0x5dfe5e=_0x1d207f['length'];_0x31b75d<_0x5dfe5e;_0x31b75d++)_0x1d207f['push'](_0x1d207f[_0x31b75d]['concat'](_0x3546c4[_0x4b16a8]));return _0x1d207f['sort']((_0x6f4cf2,_0xf6704e)=>_0xf6704e['length']-_0x6f4cf2['length']);}(_0x2f6a37);for(let _0x145c6c of _0x576b72['set'])if(!_0x145c6c['modified']['length']){for(let _0x37c8a2 of _0x12e770)_0x4e76ff['push'](_0x2998da['get'](_0x145c6c,_0x37c8a2));}return _0x2ec263;}};function _0x2f1f50(_0xb37151){let _0x11eda9=Object['create'](null);for(let _0x2a3ffa in _0xb37151){let _0x12effc=_0xb37151[_0x2a3ffa];Array['isArray'](_0x12effc)||(_0x12effc=[_0x12effc]);for(let _0x42a947 of _0x2a3ffa['split']('\x20'))if(_0x42a947){let _0x15cc19=[],_0x44ef30=0x2,_0x2e6c38=_0x42a947;for(let _0x12aad2=0x0;;){if('...'==_0x2e6c38&&_0x12aad2>0x0&&_0x12aad2+0x3==_0x42a947['length']){_0x44ef30=0x1;break;}let _0x5ccc7e=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/['exec'](_0x2e6c38);if(!_0x5ccc7e)throw new RangeError('Invalid\x20path:\x20'+_0x42a947);if(_0x15cc19['push']('*'==_0x5ccc7e[0x0]?'':'\x22'==_0x5ccc7e[0x0][0x0]?JSON['parse'](_0x5ccc7e[0x0]):_0x5ccc7e[0x0]),_0x12aad2+=_0x5ccc7e[0x0]['length'],_0x12aad2==_0x42a947['length'])break;let _0x1bd910=_0x42a947[_0x12aad2++];if(_0x12aad2==_0x42a947['length']&&'!'==_0x1bd910){_0x44ef30=0x0;break;}if('/'!=_0x1bd910)throw new RangeError('Invalid\x20path:\x20'+_0x42a947);_0x2e6c38=_0x42a947['slice'](_0x12aad2);}let _0x234c79=_0x15cc19['length']-0x1,_0x58e6e7=_0x15cc19[_0x234c79];if(!_0x58e6e7)throw new RangeError('Invalid\x20path:\x20'+_0x42a947);_0x11eda9[_0x58e6e7]=new _0x2e746b(_0x12effc,_0x44ef30,_0x234c79>0x0?_0x15cc19['slice'](0x0,_0x234c79):null)['sort'](_0x11eda9[_0x58e6e7]);}}return _0x23c98f['add'](_0x11eda9);}const _0x23c98f=new _0x172440({'combine'(_0x4fe0e3,_0x420ca7){let _0x18e092,_0x523926,_0x3d6513;for(;_0x4fe0e3||_0x420ca7;){if(!_0x4fe0e3||_0x420ca7&&_0x4fe0e3['depth']>=_0x420ca7['depth']?(_0x3d6513=_0x420ca7,_0x420ca7=_0x420ca7['next']):(_0x3d6513=_0x4fe0e3,_0x4fe0e3=_0x4fe0e3['next']),_0x18e092&&_0x18e092['mode']==_0x3d6513['mode']&&!_0x3d6513['context']&&!_0x18e092['context'])continue;let _0x131739=new _0x2e746b(_0x3d6513['tags'],_0x3d6513['mode'],_0x3d6513['context']);_0x18e092?_0x18e092['next']=_0x131739:_0x523926=_0x131739,_0x18e092=_0x131739;}return _0x523926;}});var _0x2e746b=class{constructor(_0x497214,_0x401b64,_0x48022,_0x4eebba){this['tags']=_0x497214,this['mode']=_0x401b64,this['context']=_0x48022,this['next']=_0x4eebba;}get['opaque'](){return 0x0==this['mode'];}get['inherit'](){return 0x1==this['mode'];}['sort'](_0x24bdd6){return!_0x24bdd6||_0x24bdd6['depth']<this['depth']?(this['next']=_0x24bdd6,this):(_0x24bdd6['next']=this['sort'](_0x24bdd6['next']),_0x24bdd6);}get['depth'](){return this['context']?this['context']['length']:0x0;}};function _0x2ed56d(_0x526dbc,_0x3203ec){let _0x435f5d=Object['create'](null);for(let _0x185dff of _0x526dbc)if(Array['isArray'](_0x185dff['tag'])){for(let _0x137b83 of _0x185dff['tag'])_0x435f5d[_0x137b83['id']]=_0x185dff['class'];}else _0x435f5d[_0x185dff['tag']['id']]=_0x185dff['class'];let {scope:_0x4e749d,all:_0x120c1c=null}=_0x3203ec||{};return{'style':_0x9ce137=>{let _0x44417c=_0x120c1c;for(let _0x884daa of _0x9ce137)for(let _0x593fe5 of _0x884daa['set']){let _0x91deae=_0x435f5d[_0x593fe5['id']];if(_0x91deae){_0x44417c=_0x44417c?_0x44417c+'\x20'+_0x91deae:_0x91deae;break;}}return _0x44417c;},'scope':_0x4e749d};}function _0x3c13d9(_0x9df47d,_0x321e89,_0x361271,_0x48089a=0x0,_0x52bdef=_0x9df47d['length']){let _0x52cb95=new _0x24430b(_0x48089a,Array['isArray'](_0x321e89)?_0x321e89:[_0x321e89],_0x361271);_0x52cb95['highlightRange'](_0x9df47d['cursor'](),_0x48089a,_0x52bdef,'',_0x52cb95['highlighters']),_0x52cb95['flush'](_0x52bdef);}_0x2e746b['empty']=new _0x2e746b([],0x2,null);var _0x24430b=class{constructor(_0xd30a8b,_0x312d3b,_0x18ddc8){this['at']=_0xd30a8b,this['highlighters']=_0x312d3b,this['span']=_0x18ddc8,this['class']='';}['startSpan'](_0x336c14,_0x6ac3ab){_0x6ac3ab!=this['class']&&(this['flush'](_0x336c14),_0x336c14>this['at']&&(this['at']=_0x336c14),this['class']=_0x6ac3ab);}['flush'](_0x453391){_0x453391>this['at']&&this['class']&&this['span'](this['at'],_0x453391,this['class']);}['highlightRange'](_0x41f7ff,_0x5747e9,_0x3d3227,_0x50f613,_0x4313fb){let {type:_0x3f8aed,from:_0x2e1781,to:_0x14b9a0}=_0x41f7ff;if(_0x2e1781>=_0x3d3227||_0x14b9a0<=_0x5747e9)return;_0x3f8aed['isTop']&&(_0x4313fb=this['highlighters']['filter'](_0x1343e8=>!_0x1343e8['scope']||_0x1343e8['scope'](_0x3f8aed)));let _0x51eeaf=_0x50f613,_0x275d84=function(_0x3057c2){let _0xfdad4a=_0x3057c2['type']['prop'](_0x23c98f);for(;_0xfdad4a&&_0xfdad4a['context']&&!_0x3057c2['matchContext'](_0xfdad4a['context']);)_0xfdad4a=_0xfdad4a['next'];return _0xfdad4a||null;}(_0x41f7ff)||_0x2e746b['empty'],_0x4fe1e6=function(_0x33d536,_0x46690c){let _0x4cba3f=null;for(let _0x115faf of _0x33d536){let _0x149d14=_0x115faf['style'](_0x46690c);_0x149d14&&(_0x4cba3f=_0x4cba3f?_0x4cba3f+'\x20'+_0x149d14:_0x149d14);}return _0x4cba3f;}(_0x4313fb,_0x275d84['tags']);if(_0x4fe1e6&&(_0x51eeaf&&(_0x51eeaf+='\x20'),_0x51eeaf+=_0x4fe1e6,0x1==_0x275d84['mode']&&(_0x50f613+=(_0x50f613?'\x20':'')+_0x4fe1e6)),this['startSpan'](Math['max'](_0x5747e9,_0x2e1781),_0x51eeaf),_0x275d84['opaque'])return;let _0x4ea477=_0x41f7ff['tree']&&_0x41f7ff['tree']['prop'](_0x172440['mounted']);if(_0x4ea477&&_0x4ea477['overlay']){let _0x1370e4=_0x41f7ff['node']['enter'](_0x4ea477['overlay'][0x0]['from']+_0x2e1781,0x1),_0x2e521c=this['highlighters']['filter'](_0x17d479=>!_0x17d479['scope']||_0x17d479['scope'](_0x4ea477['tree']['type'])),_0x16ac37=_0x41f7ff['firstChild']();for(let _0x3dfa42=0x0,_0x1f3616=_0x2e1781;;_0x3dfa42++){let _0xa74319=_0x3dfa42<_0x4ea477['overlay']['length']?_0x4ea477['overlay'][_0x3dfa42]:null,_0x13b41c=_0xa74319?_0xa74319['from']+_0x2e1781:_0x14b9a0,_0x26c2c9=Math['max'](_0x5747e9,_0x1f3616),_0x15b137=Math['min'](_0x3d3227,_0x13b41c);if(_0x26c2c9<_0x15b137&&_0x16ac37){for(;_0x41f7ff['from']<_0x15b137&&(this['highlightRange'](_0x41f7ff,_0x26c2c9,_0x15b137,_0x50f613,_0x4313fb),this['startSpan'](Math['min'](_0x15b137,_0x41f7ff['to']),_0x51eeaf),!(_0x41f7ff['to']>=_0x13b41c)&&_0x41f7ff['nextSibling']()););}if(!_0xa74319||_0x13b41c>_0x3d3227)break;_0x1f3616=_0xa74319['to']+_0x2e1781,_0x1f3616>_0x5747e9&&(this['highlightRange'](_0x1370e4['cursor'](),Math['max'](_0x5747e9,_0xa74319['from']+_0x2e1781),Math['min'](_0x3d3227,_0x1f3616),'',_0x2e521c),this['startSpan'](Math['min'](_0x3d3227,_0x1f3616),_0x51eeaf));}_0x16ac37&&_0x41f7ff['parent']();}else{if(_0x41f7ff['firstChild']()){_0x4ea477&&(_0x50f613='');do{if(!(_0x41f7ff['to']<=_0x5747e9)){if(_0x41f7ff['from']>=_0x3d3227)break;this['highlightRange'](_0x41f7ff,_0x5747e9,_0x3d3227,_0x50f613,_0x4313fb),this['startSpan'](Math['min'](_0x3d3227,_0x41f7ff['to']),_0x51eeaf);}}while(_0x41f7ff['nextSibling']());_0x41f7ff['parent']();}}}};const t=_0x49677a['define'],_0x2fb67f=t(),_0x3e9c99=t(),_0xe2be84=t(_0x3e9c99),_0x1ac7ec=t(_0x3e9c99),_0x36ec60=t(),_0x5f3556=t(_0x36ec60),_0x37af5c=t(_0x36ec60),_0x1eed92=t(),_0x1f78b6=t(_0x1eed92),_0x5a0326=t(),_0x3f6faf=t(),_0x331386=t(),_0x9a2674=t(_0x331386),_0x503284=t(),_0x554ddb={'comment':_0x2fb67f,'lineComment':t(_0x2fb67f),'blockComment':t(_0x2fb67f),'docComment':t(_0x2fb67f),'name':_0x3e9c99,'variableName':t(_0x3e9c99),'typeName':_0xe2be84,'tagName':t(_0xe2be84),'propertyName':_0x1ac7ec,'attributeName':t(_0x1ac7ec),'className':t(_0x3e9c99),'labelName':t(_0x3e9c99),'namespace':t(_0x3e9c99),'macroName':t(_0x3e9c99),'literal':_0x36ec60,'string':_0x5f3556,'docString':t(_0x5f3556),'character':t(_0x5f3556),'attributeValue':t(_0x5f3556),'number':_0x37af5c,'integer':t(_0x37af5c),'float':t(_0x37af5c),'bool':t(_0x36ec60),'regexp':t(_0x36ec60),'escape':t(_0x36ec60),'color':t(_0x36ec60),'url':t(_0x36ec60),'keyword':_0x5a0326,'self':t(_0x5a0326),'null':t(_0x5a0326),'atom':t(_0x5a0326),'unit':t(_0x5a0326),'modifier':t(_0x5a0326),'operatorKeyword':t(_0x5a0326),'controlKeyword':t(_0x5a0326),'definitionKeyword':t(_0x5a0326),'moduleKeyword':t(_0x5a0326),'operator':_0x3f6faf,'derefOperator':t(_0x3f6faf),'arithmeticOperator':t(_0x3f6faf),'logicOperator':t(_0x3f6faf),'bitwiseOperator':t(_0x3f6faf),'compareOperator':t(_0x3f6faf),'updateOperator':t(_0x3f6faf),'definitionOperator':t(_0x3f6faf),'typeOperator':t(_0x3f6faf),'controlOperator':t(_0x3f6faf),'punctuation':_0x331386,'separator':t(_0x331386),'bracket':_0x9a2674,'angleBracket':t(_0x9a2674),'squareBracket':t(_0x9a2674),'paren':t(_0x9a2674),'brace':t(_0x9a2674),'content':_0x1eed92,'heading':_0x1f78b6,'heading1':t(_0x1f78b6),'heading2':t(_0x1f78b6),'heading3':t(_0x1f78b6),'heading4':t(_0x1f78b6),'heading5':t(_0x1f78b6),'heading6':t(_0x1f78b6),'contentSeparator':t(_0x1eed92),'list':t(_0x1eed92),'quote':t(_0x1eed92),'emphasis':t(_0x1eed92),'strong':t(_0x1eed92),'link':t(_0x1eed92),'monospace':t(_0x1eed92),'strikethrough':t(_0x1eed92),'inserted':t(),'deleted':t(),'changed':t(),'invalid':t(),'meta':_0x503284,'documentMeta':t(_0x503284),'annotation':t(_0x503284),'processingInstruction':t(_0x503284),'definition':_0x49677a['defineModifier']('definition'),'constant':_0x49677a['defineModifier']('constant'),'function':_0x49677a['defineModifier']('function'),'standard':_0x49677a['defineModifier']('standard'),'local':_0x49677a['defineModifier']('local'),'special':_0x49677a['defineModifier']('special')};for(let _0x34e907 in _0x554ddb){let _0x2b82ae=_0x554ddb[_0x34e907];_0x2b82ae instanceof _0x49677a&&(_0x2b82ae['name']=_0x34e907);}var _0x1f3694;_0x2ed56d([{'tag':_0x554ddb['link'],'class':'tok-link'},{'tag':_0x554ddb['heading'],'class':'tok-heading'},{'tag':_0x554ddb['emphasis'],'class':'tok-emphasis'},{'tag':_0x554ddb['strong'],'class':'tok-strong'},{'tag':_0x554ddb['keyword'],'class':'tok-keyword'},{'tag':_0x554ddb['atom'],'class':'tok-atom'},{'tag':_0x554ddb['bool'],'class':'tok-bool'},{'tag':_0x554ddb['url'],'class':'tok-url'},{'tag':_0x554ddb['labelName'],'class':'tok-labelName'},{'tag':_0x554ddb['inserted'],'class':'tok-inserted'},{'tag':_0x554ddb['deleted'],'class':'tok-deleted'},{'tag':_0x554ddb['literal'],'class':'tok-literal'},{'tag':_0x554ddb['string'],'class':'tok-string'},{'tag':_0x554ddb['number'],'class':'tok-number'},{'tag':[_0x554ddb['regexp'],_0x554ddb['escape'],_0x554ddb['special'](_0x554ddb['string'])],'class':'tok-string2'},{'tag':_0x554ddb['variableName'],'class':'tok-variableName'},{'tag':_0x554ddb['local'](_0x554ddb['variableName']),'class':'tok-variableName\x20tok-local'},{'tag':_0x554ddb['definition'](_0x554ddb['variableName']),'class':'tok-variableName\x20tok-definition'},{'tag':_0x554ddb['special'](_0x554ddb['variableName']),'class':'tok-variableName2'},{'tag':_0x554ddb['definition'](_0x554ddb['propertyName']),'class':'tok-propertyName\x20tok-definition'},{'tag':_0x554ddb['typeName'],'class':'tok-typeName'},{'tag':_0x554ddb['namespace'],'class':'tok-namespace'},{'tag':_0x554ddb['className'],'class':'tok-className'},{'tag':_0x554ddb['macroName'],'class':'tok-macroName'},{'tag':_0x554ddb['propertyName'],'class':'tok-propertyName'},{'tag':_0x554ddb['operator'],'class':'tok-operator'},{'tag':_0x554ddb['comment'],'class':'tok-comment'},{'tag':_0x554ddb['meta'],'class':'tok-meta'},{'tag':_0x554ddb['invalid'],'class':'tok-invalid'},{'tag':_0x554ddb['punctuation'],'class':'tok-punctuation'}]);const _0x627ccf=new _0x172440();function _0xd6a355(_0x3f16fd){return _0x17b3ea['define']({'combine':_0x3f16fd?_0x251e9f=>_0x251e9f['concat'](_0x3f16fd):void 0x0});}const _0x3245b9=new _0x172440();var tQ=class{constructor(_0x28c7ff,_0x181681,_0x4812db=[],_0x363e60=''){this['data']=_0x28c7ff,this['name']=_0x363e60,_0x2a2565['prototype']['hasOwnProperty']('tree')||Object['defineProperty'](_0x2a2565['prototype'],'tree',{'get'(){return _0xcd4dc4(this);}}),this['parser']=_0x181681,this['extension']=[_0x2e5746['of'](this),_0x2a2565['languageData']['of']((_0x42c37f,_0x171ebb,_0x264359)=>{let _0x526c33=_0x5d923e(_0x42c37f,_0x171ebb,_0x264359),_0xd2e5a6=_0x526c33['type']['prop'](_0x627ccf);if(!_0xd2e5a6)return[];let _0x5ec21e=_0x42c37f['facet'](_0xd2e5a6),_0x2d1a3d=_0x526c33['type']['prop'](_0x3245b9);if(_0x2d1a3d){let _0x2ab376=_0x526c33['resolve'](_0x171ebb-_0x526c33['from'],_0x264359);for(let _0x2eb1d4 of _0x2d1a3d)if(_0x2eb1d4['test'](_0x2ab376,_0x42c37f)){let _0x5c6675=_0x42c37f['facet'](_0x2eb1d4['facet']);return'replace'==_0x2eb1d4['type']?_0x5c6675:_0x5c6675['concat'](_0x5ec21e);}}return _0x5ec21e;})]['concat'](_0x4812db);}['isActiveAt'](_0x5d0648,_0x568906,_0x4b64dd=-0x1){return _0x5d923e(_0x5d0648,_0x568906,_0x4b64dd)['type']['prop'](_0x627ccf)==this['data'];}['findRegions'](_0x2f60c7){let _0x218210=_0x2f60c7['facet'](_0x2e5746);if((null==_0x218210?void 0x0:_0x218210['data'])==this['data'])return[{'from':0x0,'to':_0x2f60c7['doc']['length']}];if(!_0x218210||!_0x218210['allowsNesting'])return[];let _0x518a48=[],_0x25480b=(_0x3e1292,_0x316b5f)=>{if(_0x3e1292['prop'](_0x627ccf)==this['data'])return void _0x518a48['push']({'from':_0x316b5f,'to':_0x316b5f+_0x3e1292['length']});let _0x138955=_0x3e1292['prop'](_0x172440['mounted']);if(_0x138955){if(_0x138955['tree']['prop'](_0x627ccf)==this['data']){if(_0x138955['overlay']){for(let _0x55a946 of _0x138955['overlay'])_0x518a48['push']({'from':_0x55a946['from']+_0x316b5f,'to':_0x55a946['to']+_0x316b5f});}else _0x518a48['push']({'from':_0x316b5f,'to':_0x316b5f+_0x3e1292['length']});return;}if(_0x138955['overlay']){let _0x1fc530=_0x518a48['length'];if(_0x25480b(_0x138955['tree'],_0x138955['overlay'][0x0]['from']+_0x316b5f),_0x518a48['length']>_0x1fc530)return;}}for(let _0x526192=0x0;_0x526192<_0x3e1292['children']['length'];_0x526192++){let _0x46c066=_0x3e1292['children'][_0x526192];_0x46c066 instanceof _0x5a1f7d&&_0x25480b(_0x46c066,_0x3e1292['positions'][_0x526192]+_0x316b5f);}};return _0x25480b(_0xcd4dc4(_0x2f60c7),0x0),_0x518a48;}get['allowsNesting'](){return!0x0;}};function _0x5d923e(_0x19ef64,_0x2e7b23,_0x35f693){let _0x21c3f1=_0x19ef64['facet'](_0x2e5746),_0x184218=_0xcd4dc4(_0x19ef64)['topNode'];if(!_0x21c3f1||_0x21c3f1['allowsNesting']){for(let _0x176b53=_0x184218;_0x176b53;_0x176b53=_0x176b53['enter'](_0x2e7b23,_0x35f693,_0x529189['ExcludeBuffers']|_0x529189['EnterBracketed']))_0x176b53['type']['isTop']&&(_0x184218=_0x176b53);}return _0x184218;}tQ['setState']=_0x41e66e['define']();var _0x3e4f27=class _0x26d075 extends tQ{constructor(_0x12c82b,_0x49b785,_0x5c874f){super(_0x12c82b,_0x49b785,[],_0x5c874f),this['parser']=_0x49b785;}static['define'](_0x29ff8f){let _0xade62b=_0xd6a355(_0x29ff8f['languageData']);return new _0x26d075(_0xade62b,_0x29ff8f['parser']['configure']({'props':[_0x627ccf['add'](_0x37a87d=>_0x37a87d['isTop']?_0xade62b:void 0x0)]}),_0x29ff8f['name']);}['configure'](_0x557784,_0xf37b6b){return new _0x26d075(this['data'],this['parser']['configure'](_0x557784),_0xf37b6b||this['name']);}get['allowsNesting'](){return this['parser']['hasWrappers']();}};function _0xcd4dc4(_0x16d673){let _0x5e03ea=_0x16d673['field'](tQ['state'],!0x1);return _0x5e03ea?_0x5e03ea['tree']:_0x5a1f7d['empty'];}var _0x1e2aa9=class{constructor(_0x151b60){this['doc']=_0x151b60,this['cursorPos']=0x0,this['string']='',this['cursor']=_0x151b60['iter']();}get['length'](){return this['doc']['length'];}['syncTo'](_0x6830b){return this['string']=this['cursor']['next'](_0x6830b-this['cursorPos'])['value'],this['cursorPos']=_0x6830b+this['string']['length'],this['cursorPos']-this['string']['length'];}['chunk'](_0xfd9bef){return this['syncTo'](_0xfd9bef),this['string'];}get['lineChunks'](){return!0x0;}['read'](_0x5109f9,_0x9f1fce){let _0x1bf5e3=this['cursorPos']-this['string']['length'];return _0x5109f9<_0x1bf5e3||_0x9f1fce>=this['cursorPos']?this['doc']['sliceString'](_0x5109f9,_0x9f1fce):this['string']['slice'](_0x5109f9-_0x1bf5e3,_0x9f1fce-_0x1bf5e3);}};let _0x57ebde=null;var _0x2254e9=class ParseContext{constructor(_0x140185,_0x3ac16d,_0x20de45=[],_0x12aeb6,_0x4ec1a2,_0x1a446e,_0x39db38,_0x35575d){this['parser']=_0x140185,this['state']=_0x3ac16d,this['fragments']=_0x20de45,this['tree']=_0x12aeb6,this['treeLen']=_0x4ec1a2,this['viewport']=_0x1a446e,this['skipped']=_0x39db38,this['scheduleOn']=_0x35575d,this['parse']=null,this['tempSkipped']=[];}static['create'](_0x1f9d41,_0xdd278c,_0x4b159e){return new ParseContext(_0x1f9d41,_0xdd278c,[],_0x5a1f7d['empty'],0x0,_0x4b159e,[],null);}['startParse'](){return this['parser']['startParse'](new _0x1e2aa9(this['state']['doc']),this['fragments']);}['work'](_0x513843,_0x4c36fe){return null!=_0x4c36fe&&_0x4c36fe>=this['state']['doc']['length']&&(_0x4c36fe=void 0x0),this['tree']!=_0x5a1f7d['empty']&&this['isDone'](null!=_0x4c36fe?_0x4c36fe:this['state']['doc']['length'])?(this['takeTree'](),!0x0):this['withContext'](()=>{var _0x1c09b5;if('number'==typeof _0x513843){let _0x163fa2=Date['now']()+_0x513843;_0x513843=()=>Date['now']()>_0x163fa2;}for(this['parse']||(this['parse']=this['startParse']()),null!=_0x4c36fe&&(null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x4c36fe)&&_0x4c36fe<this['state']['doc']['length']&&this['parse']['stopAt'](_0x4c36fe);;){let _0x48b0ff=this['parse']['advance']();if(_0x48b0ff){if(this['fragments']=this['withoutTempSkipped'](_0x3241a4['addTree'](_0x48b0ff,this['fragments'],null!=this['parse']['stoppedAt'])),this['treeLen']=null!==(_0x1c09b5=this['parse']['stoppedAt'])&&void 0x0!==_0x1c09b5?_0x1c09b5:this['state']['doc']['length'],this['tree']=_0x48b0ff,this['parse']=null,!(this['treeLen']<(null!=_0x4c36fe?_0x4c36fe:this['state']['doc']['length'])))return!0x0;this['parse']=this['startParse']();}if(_0x513843())return!0x1;}});}['takeTree'](){let _0x1284df,_0x11fe56;this['parse']&&(_0x1284df=this['parse']['parsedPos'])>=this['treeLen']&&((null==this['parse']['stoppedAt']||this['parse']['stoppedAt']>_0x1284df)&&this['parse']['stopAt'](_0x1284df),this['withContext'](()=>{for(;!(_0x11fe56=this['parse']['advance']()););}),this['treeLen']=_0x1284df,this['tree']=_0x11fe56,this['fragments']=this['withoutTempSkipped'](_0x3241a4['addTree'](this['tree'],this['fragments'],!0x0)),this['parse']=null);}['withContext'](_0x3d6a69){let _0x42959b=_0x57ebde;_0x57ebde=this;try{return _0x3d6a69();}finally{_0x57ebde=_0x42959b;}}['withoutTempSkipped'](_0x5d6001){for(let _0x2148b6;_0x2148b6=this['tempSkipped']['pop']();)_0x5d6001=_0x130790(_0x5d6001,_0x2148b6['from'],_0x2148b6['to']);return _0x5d6001;}['changes'](_0x15d9b4,_0xe4e56a){let {fragments:_0x1211e3,tree:_0x390866,treeLen:_0x17448c,viewport:_0x5c201f,skipped:_0x31bc44}=this;if(this['takeTree'](),!_0x15d9b4['empty']){let _0x129e67=[];if(_0x15d9b4['iterChangedRanges']((_0xc06396,_0x25a867,_0x147b08,_0xf69f60)=>_0x129e67['push']({'fromA':_0xc06396,'toA':_0x25a867,'fromB':_0x147b08,'toB':_0xf69f60})),_0x1211e3=_0x3241a4['applyChanges'](_0x1211e3,_0x129e67),_0x390866=_0x5a1f7d['empty'],_0x17448c=0x0,_0x5c201f={'from':_0x15d9b4['mapPos'](_0x5c201f['from'],-0x1),'to':_0x15d9b4['mapPos'](_0x5c201f['to'],0x1)},this['skipped']['length']){_0x31bc44=[];for(let _0x5941f1 of this['skipped']){let _0x19bf54=_0x15d9b4['mapPos'](_0x5941f1['from'],0x1),_0x120259=_0x15d9b4['mapPos'](_0x5941f1['to'],-0x1);_0x19bf54<_0x120259&&_0x31bc44['push']({'from':_0x19bf54,'to':_0x120259});}}}return new ParseContext(this['parser'],_0xe4e56a,_0x1211e3,_0x390866,_0x17448c,_0x5c201f,_0x31bc44,this['scheduleOn']);}['updateViewport'](_0x355c00){if(this['viewport']['from']==_0x355c00['from']&&this['viewport']['to']==_0x355c00['to'])return!0x1;this['viewport']=_0x355c00;let _0x29380e=this['skipped']['length'];for(let _0x11e555=0x0;_0x11e555<this['skipped']['length'];_0x11e555++){let {from:_0x12e4fe,to:_0x158c8b}=this['skipped'][_0x11e555];_0x12e4fe<_0x355c00['to']&&_0x158c8b>_0x355c00['from']&&(this['fragments']=_0x130790(this['fragments'],_0x12e4fe,_0x158c8b),this['skipped']['splice'](_0x11e555--,0x1));}return!(this['skipped']['length']>=_0x29380e)&&(this['reset'](),!0x0);}['reset'](){this['parse']&&(this['takeTree'](),this['parse']=null);}['skipUntilInView'](_0x538486,_0xeda215){this['skipped']['push']({'from':_0x538486,'to':_0xeda215});}static['getSkippingParser'](_0xd896ff){return new class extends _0xb212c5{['createParse'](_0x5636db,_0x4f2a1d,_0x3dad70){let _0x67a45=_0x3dad70[0x0]['from'],_0x5aaba7=_0x3dad70[_0x3dad70['length']-0x1]['to'];return{'parsedPos':_0x67a45,'advance'(){let _0x260865=_0x57ebde;if(_0x260865){for(let _0x34dcf9 of _0x3dad70)_0x260865['tempSkipped']['push'](_0x34dcf9);_0xd896ff&&(_0x260865['scheduleOn']=_0x260865['scheduleOn']?Promise['all']([_0x260865['scheduleOn'],_0xd896ff]):_0xd896ff);}return this['parsedPos']=_0x5aaba7,new _0x5a1f7d(_0x37f725['none'],[],[],_0x5aaba7-_0x67a45);},'stoppedAt':null,'stopAt'(){}};}}();}['isDone'](_0x3cd3da){_0x3cd3da=Math['min'](_0x3cd3da,this['state']['doc']['length']);let _0x5720f7=this['fragments'];return this['treeLen']>=_0x3cd3da&&_0x5720f7['length']&&0x0==_0x5720f7[0x0]['from']&&_0x5720f7[0x0]['to']>=_0x3cd3da;}static['get'](){return _0x57ebde;}};function _0x130790(_0x3551ef,_0x585366,_0x2c353d){return _0x3241a4['applyChanges'](_0x3551ef,[{'fromA':_0x585366,'toA':_0x2c353d,'fromB':_0x585366,'toB':_0x2c353d}]);}var _0x2b59e6=class LanguageState{constructor(_0x12692f){this['context']=_0x12692f,this['tree']=_0x12692f['tree'];}['apply'](_0x337d4b){if(!_0x337d4b['docChanged']&&this['tree']==this['context']['tree'])return this;let _0x5eb08f=this['context']['changes'](_0x337d4b['changes'],_0x337d4b['state']),_0x5d2ee6=this['context']['treeLen']==_0x337d4b['startState']['doc']['length']?void 0x0:Math['max'](_0x337d4b['changes']['mapPos'](this['context']['treeLen']),_0x5eb08f['viewport']['to']);return _0x5eb08f['work'](0x14,_0x5d2ee6)||_0x5eb08f['takeTree'](),new LanguageState(_0x5eb08f);}static['init'](_0x316ac2){let _0x5fabe5=Math['min'](0xbb8,_0x316ac2['doc']['length']),_0x3175b1=_0x2254e9['create'](_0x316ac2['facet'](_0x2e5746)['parser'],_0x316ac2,{'from':0x0,'to':_0x5fabe5});return _0x3175b1['work'](0x14,_0x5fabe5)||_0x3175b1['takeTree'](),new LanguageState(_0x3175b1);}};tQ['state']=_0x2bf5e0['define']({'create':_0x2b59e6['init'],'update'(_0xc5afcd,_0x5898ab){for(let _0x542b03 of _0x5898ab['effects'])if(_0x542b03['is'](tQ['setState']))return _0x542b03['value'];return _0x5898ab['startState']['facet'](_0x2e5746)!=_0x5898ab['state']['facet'](_0x2e5746)?_0x2b59e6['init'](_0x5898ab['state']):_0xc5afcd['apply'](_0x5898ab);}});let _0x20b1e8=_0xf7dac2=>{let _0x454ad0=setTimeout(()=>_0xf7dac2(),0x1f4);return()=>clearTimeout(_0x454ad0);};'undefined'!=typeof requestIdleCallback&&(_0x20b1e8=_0x356d96=>{let _0x1439c8=-0x1,_0x3607aa=setTimeout(()=>{_0x1439c8=requestIdleCallback(_0x356d96,{'timeout':0x190});},0x64);return()=>_0x1439c8<0x0?clearTimeout(_0x3607aa):cancelIdleCallback(_0x1439c8);});const _0x2b45bf='undefined'!=typeof navigator&&(null===(_0x1f3694=navigator['scheduling'])||void 0x0===_0x1f3694?void 0x0:_0x1f3694['isInputPending'])?()=>navigator['scheduling']['isInputPending']():null,_0xa783b9=_0x5873ca['fromClass'](class _0x5ccc9d{constructor(_0x3e5c34){this['view']=_0x3e5c34,this['working']=null,this['workScheduled']=0x0,this['chunkEnd']=-0x1,this['chunkBudget']=-0x1,this['work']=this['work']['bind'](this),this['scheduleWork']();}['update'](_0x128527){let _0x5a95cf=this['view']['state']['field'](tQ['state'])['context'];(_0x5a95cf['updateViewport'](_0x128527['view']['viewport'])||this['view']['viewport']['to']>_0x5a95cf['treeLen'])&&this['scheduleWork'](),(_0x128527['docChanged']||_0x128527['selectionSet'])&&(this['view']['hasFocus']&&(this['chunkBudget']+=0x32),this['scheduleWork']()),this['checkAsyncSchedule'](_0x5a95cf);}['scheduleWork'](){if(this['working'])return;let {state:_0x2c25c1}=this['view'],_0x31374d=_0x2c25c1['field'](tQ['state']);_0x31374d['tree']==_0x31374d['context']['tree']&&_0x31374d['context']['isDone'](_0x2c25c1['doc']['length'])||(this['working']=_0x20b1e8(this['work']));}['work'](_0x4326c8){this['working']=null;let _0x99779b=Date['now']();if(this['chunkEnd']<_0x99779b&&(this['chunkEnd']<0x0||this['view']['hasFocus'])&&(this['chunkEnd']=_0x99779b+0x7530,this['chunkBudget']=0xbb8),this['chunkBudget']<=0x0)return;let {state:_0x3986a9,viewport:{to:_0x22a6db}}=this['view'],_0x1a1b4d=_0x3986a9['field'](tQ['state']);if(_0x1a1b4d['tree']==_0x1a1b4d['context']['tree']&&_0x1a1b4d['context']['isDone'](_0x22a6db+0x186a0))return;let _0x6ff9b7=Date['now']()+Math['min'](this['chunkBudget'],0x64,_0x4326c8&&!_0x2b45bf?Math['max'](0x19,_0x4326c8['timeRemaining']()-0x5):0x3b9aca00),_0x44bd51=_0x1a1b4d['context']['treeLen']<_0x22a6db&&_0x3986a9['doc']['length']>_0x22a6db+0x3e8,_0x2c389f=_0x1a1b4d['context']['work'](()=>_0x2b45bf&&_0x2b45bf()||Date['now']()>_0x6ff9b7,_0x22a6db+(_0x44bd51?0x0:0x186a0));this['chunkBudget']-=Date['now']()-_0x99779b,(_0x2c389f||this['chunkBudget']<=0x0)&&(_0x1a1b4d['context']['takeTree'](),this['view']['dispatch']({'effects':tQ['setState']['of'](new _0x2b59e6(_0x1a1b4d['context']))})),this['chunkBudget']>0x0&&(!_0x2c389f||_0x44bd51)&&this['scheduleWork'](),this['checkAsyncSchedule'](_0x1a1b4d['context']);}['checkAsyncSchedule'](_0x3d99ad){_0x3d99ad['scheduleOn']&&(this['workScheduled']++,_0x3d99ad['scheduleOn']['then'](()=>this['scheduleWork']())['catch'](_0x45fb98=>_0x1947e5(this['view']['state'],_0x45fb98))['then'](()=>this['workScheduled']--),_0x3d99ad['scheduleOn']=null);}['destroy'](){this['working']&&this['working']();}['isWorking'](){return!!(this['working']||this['workScheduled']>0x0);}},{'eventHandlers':{'focus'(){this['scheduleWork']();}}}),_0x2e5746=_0x17b3ea['define']({'combine':_0x255bf3=>_0x255bf3['length']?_0x255bf3[0x0]:null,'enables':_0x50086f=>[tQ['state'],_0xa783b9,_0x118ca6['contentAttributes']['compute']([_0x50086f],_0x375a60=>{let _0x23a184=_0x375a60['facet'](_0x50086f);return _0x23a184&&_0x23a184['name']?{'data-language':_0x23a184['name']}:{};})]});var _0x45630c=class{constructor(_0x13fe61,_0x3e1a93=[]){this['language']=_0x13fe61,this['support']=_0x3e1a93,this['extension']=[_0x13fe61,_0x3e1a93];}},_0xdab1f8=class LanguageDescription{constructor(_0x3c9f21,_0x28cf4f,_0x3b6415,_0x3ee321,_0x348fd5,_0x5c6588=void 0x0){this['name']=_0x3c9f21,this['alias']=_0x28cf4f,this['extensions']=_0x3b6415,this['filename']=_0x3ee321,this['loadFunc']=_0x348fd5,this['support']=_0x5c6588,this['loading']=null;}['load'](){return this['loading']||(this['loading']=this['loadFunc']()['then'](_0x433697=>this['support']=_0x433697,_0x2091fc=>{throw this['loading']=null,_0x2091fc;}));}static['of'](_0x3a7788){let {load:_0x319944,support:_0x4b05a1}=_0x3a7788;if(!_0x319944){if(!_0x4b05a1)throw new RangeError('Must\x20pass\x20either\x20\x27load\x27\x20or\x20\x27support\x27\x20to\x20LanguageDescription.of');_0x319944=()=>Promise['resolve'](_0x4b05a1);}return new LanguageDescription(_0x3a7788['name'],(_0x3a7788['alias']||[])['concat'](_0x3a7788['name'])['map'](_0x1fb1bb=>_0x1fb1bb['toLowerCase']()),_0x3a7788['extensions']||[],_0x3a7788['filename'],_0x319944,_0x4b05a1);}static['matchFilename'](_0x7145f9,_0x10e7b7){for(let _0x44ee05 of _0x7145f9)if(_0x44ee05['filename']&&_0x44ee05['filename']['test'](_0x10e7b7))return _0x44ee05;let _0x957872=/\.([^.]+)$/['exec'](_0x10e7b7);if(_0x957872){for(let _0x206ab7 of _0x7145f9)if(_0x206ab7['extensions']['indexOf'](_0x957872[0x1])>-0x1)return _0x206ab7;}return null;}static['matchLanguageName'](_0x36a6e2,_0x39d3ee,_0x1abf0d=!0x0){_0x39d3ee=_0x39d3ee['toLowerCase']();for(let _0xd20487 of _0x36a6e2)if(_0xd20487['alias']['some'](_0x41c3b3=>_0x41c3b3==_0x39d3ee))return _0xd20487;if(_0x1abf0d){for(let _0x2db6e8 of _0x36a6e2)for(let _0x3dbece of _0x2db6e8['alias']){let _0x335953=_0x39d3ee['indexOf'](_0x3dbece);if(_0x335953>-0x1&&(_0x3dbece['length']>0x2||!/\w/['test'](_0x39d3ee[_0x335953-0x1])&&!/\w/['test'](_0x39d3ee[_0x335953+_0x3dbece['length']])))return _0x2db6e8;}}return null;}};const _0x184ef1=_0x17b3ea['define'](),_0x53d31a=_0x17b3ea['define']({'combine':_0x5c256a=>{if(!_0x5c256a['length'])return'\x20\x20';let _0x4f2500=_0x5c256a[0x0];if(!_0x4f2500||/\S/['test'](_0x4f2500)||Array['from'](_0x4f2500)['some'](_0x255979=>_0x255979!=_0x4f2500[0x0]))throw new Error('Invalid\x20indent\x20unit:\x20'+JSON['stringify'](_0x5c256a[0x0]));return _0x4f2500;}});function _0xf1877a(_0x3cff77){let _0x16fe0f=_0x3cff77['facet'](_0x53d31a);return 0x9==_0x16fe0f['charCodeAt'](0x0)?_0x3cff77['tabSize']*_0x16fe0f['length']:_0x16fe0f['length'];}function _0x5876cb(_0x3d3b30,_0x6c3b2a){let _0x4c4a9f='',_0x39ffe5=_0x3d3b30['tabSize'],_0x5d0426=_0x3d3b30['facet'](_0x53d31a)[0x0];if('\x09'==_0x5d0426){for(;_0x6c3b2a>=_0x39ffe5;)_0x4c4a9f+='\x09',_0x6c3b2a-=_0x39ffe5;_0x5d0426='\x20';}for(let _0x497a58=0x0;_0x497a58<_0x6c3b2a;_0x497a58++)_0x4c4a9f+=_0x5d0426;return _0x4c4a9f;}function _0x5338db(_0xc06bb9,_0x4fb0f7){_0xc06bb9 instanceof _0x2a2565&&(_0xc06bb9=new _0x3a0fa3(_0xc06bb9));for(let _0x5451fb of _0xc06bb9['state']['facet'](_0x184ef1)){let _0x936090=_0x5451fb(_0xc06bb9,_0x4fb0f7);if(void 0x0!==_0x936090)return _0x936090;}let _0x13fdc8=_0xcd4dc4(_0xc06bb9['state']);return _0x13fdc8['length']>=_0x4fb0f7?function(_0x2e2442,_0x544140,_0x3ea4de){let _0x59d5b8=_0x544140['resolveStack'](_0x3ea4de),_0x47b7c5=_0x544140['resolveInner'](_0x3ea4de,-0x1)['resolve'](_0x3ea4de,0x0)['enterUnfinishedNodesBefore'](_0x3ea4de);if(_0x47b7c5!=_0x59d5b8['node']){let _0x4bfcfb=[];for(let _0x4eeabc=_0x47b7c5;_0x4eeabc&&!(_0x4eeabc['from']<_0x59d5b8['node']['from']||_0x4eeabc['to']>_0x59d5b8['node']['to']||_0x4eeabc['from']==_0x59d5b8['node']['from']&&_0x4eeabc['type']==_0x59d5b8['node']['type']);_0x4eeabc=_0x4eeabc['parent'])_0x4bfcfb['push'](_0x4eeabc);for(let _0x211b86=_0x4bfcfb['length']-0x1;_0x211b86>=0x0;_0x211b86--)_0x59d5b8={'node':_0x4bfcfb[_0x211b86],'next':_0x59d5b8};}return _0x3d39cd(_0x59d5b8,_0x2e2442,_0x3ea4de);}(_0xc06bb9,_0x13fdc8,_0x4fb0f7):null;}var _0x3a0fa3=class{constructor(_0x10fbeb,_0x514081={}){this['state']=_0x10fbeb,this['options']=_0x514081,this['unit']=_0xf1877a(_0x10fbeb);}['lineAt'](_0x4bd865,_0x5201e7=0x1){let _0x17ae61=this['state']['doc']['lineAt'](_0x4bd865),{simulateBreak:_0xba7335,simulateDoubleBreak:_0x18ec6d}=this['options'];return null!=_0xba7335&&_0xba7335>=_0x17ae61['from']&&_0xba7335<=_0x17ae61['to']?_0x18ec6d&&_0xba7335==_0x4bd865?{'text':'','from':_0x4bd865}:(_0x5201e7<0x0?_0xba7335<_0x4bd865:_0xba7335<=_0x4bd865)?{'text':_0x17ae61['text']['slice'](_0xba7335-_0x17ae61['from']),'from':_0xba7335}:{'text':_0x17ae61['text']['slice'](0x0,_0xba7335-_0x17ae61['from']),'from':_0x17ae61['from']}:_0x17ae61;}['textAfterPos'](_0x4ae693,_0x3d2cb4=0x1){if(this['options']['simulateDoubleBreak']&&_0x4ae693==this['options']['simulateBreak'])return'';let {text:_0x46dd48,from:_0x229412}=this['lineAt'](_0x4ae693,_0x3d2cb4);return _0x46dd48['slice'](_0x4ae693-_0x229412,Math['min'](_0x46dd48['length'],_0x4ae693+0x64-_0x229412));}['column'](_0x58f50b,_0x3ca760=0x1){let {text:_0x487010,from:_0x5db993}=this['lineAt'](_0x58f50b,_0x3ca760),_0x59351a=this['countColumn'](_0x487010,_0x58f50b-_0x5db993),_0x541556=this['options']['overrideIndentation']?this['options']['overrideIndentation'](_0x5db993):-0x1;return _0x541556>-0x1&&(_0x59351a+=_0x541556-this['countColumn'](_0x487010,_0x487010['search'](/\S|$/))),_0x59351a;}['countColumn'](_0x589bbc,_0x42d245=_0x589bbc['length']){return _0x144e8e(_0x589bbc,this['state']['tabSize'],_0x42d245);}['lineIndent'](_0x22dcad,_0x11df66=0x1){let {text:_0x31966,from:_0x14a247}=this['lineAt'](_0x22dcad,_0x11df66),_0x5c0935=this['options']['overrideIndentation'];if(_0x5c0935){let _0x8b94cb=_0x5c0935(_0x14a247);if(_0x8b94cb>-0x1)return _0x8b94cb;}return this['countColumn'](_0x31966,_0x31966['search'](/\S|$/));}get['simulatedBreak'](){return this['options']['simulateBreak']||null;}};const _0x265e6b=new _0x172440();function _0x3d39cd(_0x27f814,_0x267e2f,_0x56d8b4){for(let _0x33581e=_0x27f814;_0x33581e;_0x33581e=_0x33581e['next']){let _0x3680fe=_0x5cdacc(_0x33581e['node']);if(_0x3680fe)return _0x3680fe(_0x3e175f['create'](_0x267e2f,_0x56d8b4,_0x33581e));}return 0x0;}function _0x5cdacc(_0x4380ce){let _0x2ca966=_0x4380ce['type']['prop'](_0x265e6b);if(_0x2ca966)return _0x2ca966;let _0x574ded,_0x277bf1=_0x4380ce['firstChild'];if(_0x277bf1&&(_0x574ded=_0x277bf1['type']['prop'](_0x172440['closedBy']))){let _0x409e7d=_0x4380ce['lastChild'],_0x4fe6a7=_0x409e7d&&_0x574ded['indexOf'](_0x409e7d['name'])>-0x1;return _0x42d5a8=>_0x1cffc2(_0x42d5a8,!0x0,0x1,void 0x0,_0x4fe6a7&&!function(_0x5ccb1b){return _0x5ccb1b['pos']==_0x5ccb1b['options']['simulateBreak']&&_0x5ccb1b['options']['simulateDoubleBreak'];}(_0x42d5a8)?_0x409e7d['from']:void 0x0);}return null==_0x4380ce['parent']?_0x51a30b:null;}function _0x51a30b(){return 0x0;}var _0x3e175f=class TreeIndentContext extends _0x3a0fa3{constructor(_0x1c01ba,_0x5ae5b2,_0x5983e7){super(_0x1c01ba['state'],_0x1c01ba['options']),this['base']=_0x1c01ba,this['pos']=_0x5ae5b2,this['context']=_0x5983e7;}get['node'](){return this['context']['node'];}static['create'](_0x3c6265,_0x5388db,_0x3c0b89){return new TreeIndentContext(_0x3c6265,_0x5388db,_0x3c0b89);}get['textAfter'](){return this['textAfterPos'](this['pos']);}get['baseIndent'](){return this['baseIndentFor'](this['node']);}['baseIndentFor'](_0x46fcd1){let _0x3024d9=this['state']['doc']['lineAt'](_0x46fcd1['from']);for(;;){let _0x2d298c=_0x46fcd1['resolve'](_0x3024d9['from']);for(;_0x2d298c['parent']&&_0x2d298c['parent']['from']==_0x2d298c['from'];)_0x2d298c=_0x2d298c['parent'];if(_0x475cdb(_0x2d298c,_0x46fcd1))break;_0x3024d9=this['state']['doc']['lineAt'](_0x2d298c['from']);}return this['lineIndent'](_0x3024d9['from']);}['continue'](){return _0x3d39cd(this['context']['next'],this['base'],this['pos']);}};function _0x475cdb(_0x496cc6,_0xe5137e){for(let _0x5bc189=_0xe5137e;_0x5bc189;_0x5bc189=_0x5bc189['parent'])if(_0x496cc6==_0x5bc189)return!0x0;return!0x1;}function _0x424a46({closing:_0x2c6feb,align:_0x4927d2=!0x0,units:_0x304af6=0x1}){return _0x4089c9=>_0x1cffc2(_0x4089c9,_0x4927d2,_0x304af6,_0x2c6feb);}function _0x1cffc2(_0x548303,_0x103774,_0x33c0f7,_0x2b3107,_0x10a391){let _0x49a654=_0x548303['textAfter'],_0x51ea9d=_0x49a654['match'](/^\s*/)[0x0]['length'],_0x32e029=_0x2b3107&&_0x49a654['slice'](_0x51ea9d,_0x51ea9d+_0x2b3107['length'])==_0x2b3107||_0x10a391==_0x548303['pos']+_0x51ea9d,_0xa49ae9=_0x103774?function(_0x2f0317){let _0x38e4c2=_0x2f0317['node'],_0x51d51e=_0x38e4c2['childAfter'](_0x38e4c2['from']),_0x4eb422=_0x38e4c2['lastChild'];if(!_0x51d51e)return null;let _0x3d55a2=_0x2f0317['options']['simulateBreak'],_0x2233cb=_0x2f0317['state']['doc']['lineAt'](_0x51d51e['from']),_0x45adb1=null==_0x3d55a2||_0x3d55a2<=_0x2233cb['from']?_0x2233cb['to']:Math['min'](_0x2233cb['to'],_0x3d55a2);for(let _0x407847=_0x51d51e['to'];;){let _0x55cc9e=_0x38e4c2['childAfter'](_0x407847);if(!_0x55cc9e||_0x55cc9e==_0x4eb422)return null;if(!_0x55cc9e['type']['isSkipped']){if(_0x55cc9e['from']>=_0x45adb1)return null;let _0x193f63=/^ */['exec'](_0x2233cb['text']['slice'](_0x51d51e['to']-_0x2233cb['from']))[0x0]['length'];return{'from':_0x51d51e['from'],'to':_0x51d51e['to']+_0x193f63};}_0x407847=_0x55cc9e['to'];}}(_0x548303):null;return _0xa49ae9?_0x32e029?_0x548303['column'](_0xa49ae9['from']):_0x548303['column'](_0xa49ae9['to']):_0x548303['baseIndent']+(_0x32e029?0x0:_0x548303['unit']*_0x33c0f7);}function _0x3967b6({except:_0x3aa1a9,units:_0x50b40d=0x1}={}){return _0x49acc8=>{let _0x569311=_0x3aa1a9&&_0x3aa1a9['test'](_0x49acc8['textAfter']);return _0x49acc8['baseIndent']+(_0x569311?0x0:_0x50b40d*_0x49acc8['unit']);};}function _0x110653(){return _0x2a2565['transactionFilter']['of'](_0x288760=>{if(!_0x288760['docChanged']||!_0x288760['isUserEvent']('input.type')&&!_0x288760['isUserEvent']('input.complete'))return _0x288760;let _0x27947f=_0x288760['startState']['languageDataAt']('indentOnInput',_0x288760['startState']['selection']['main']['head']);if(!_0x27947f['length'])return _0x288760;let _0x107a6e=_0x288760['newDoc'],{head:_0x1f66c}=_0x288760['newSelection']['main'],_0xa98652=_0x107a6e['lineAt'](_0x1f66c);if(_0x1f66c>_0xa98652['from']+0xc8)return _0x288760;let _0x215fed=_0x107a6e['sliceString'](_0xa98652['from'],_0x1f66c);if(!_0x27947f['some'](_0x5c626e=>_0x5c626e['test'](_0x215fed)))return _0x288760;let {state:_0x5e4875}=_0x288760,_0x25b0ca=-0x1,_0x421d4d=[];for(let {head:_0x250766}of _0x5e4875['selection']['ranges']){let _0x2a0a23=_0x5e4875['doc']['lineAt'](_0x250766);if(_0x2a0a23['from']==_0x25b0ca)continue;_0x25b0ca=_0x2a0a23['from'];let _0x2cb109=_0x5338db(_0x5e4875,_0x2a0a23['from']);if(null==_0x2cb109)continue;let _0x1151fc=/^\s*/['exec'](_0x2a0a23['text'])[0x0],_0x2d81af=_0x5876cb(_0x5e4875,_0x2cb109);_0x1151fc!=_0x2d81af&&_0x421d4d['push']({'from':_0x2a0a23['from'],'to':_0x2a0a23['from']+_0x1151fc['length'],'insert':_0x2d81af});}return _0x421d4d['length']?[_0x288760,{'changes':_0x421d4d,'sequential':!0x0}]:_0x288760;});}const _0x34ea1f=_0x17b3ea['define'](),_0x8620af=new _0x172440();function _0x110d7d(_0x1bccde){let _0x1f1e74=_0x1bccde['firstChild'],_0x4a135a=_0x1bccde['lastChild'];return _0x1f1e74&&_0x1f1e74['to']<_0x4a135a['from']?{'from':_0x1f1e74['to'],'to':_0x4a135a['type']['isError']?_0x1bccde['to']:_0x4a135a['from']}:null;}function _0x2429bc(_0x4e0a18){let _0x38c08a=_0x4e0a18['lastChild'];return _0x38c08a&&_0x38c08a['to']==_0x4e0a18['to']&&_0x38c08a['type']['isError'];}function _0xb65f5d(_0x18ff18,_0x45bcb3,_0x50d3e1){for(let _0xbde718 of _0x18ff18['facet'](_0x34ea1f)){let _0x5cdfdc=_0xbde718(_0x18ff18,_0x45bcb3,_0x50d3e1);if(_0x5cdfdc)return _0x5cdfdc;}return function(_0x4571fd,_0x8e19b6,_0x26b420){let _0x30e957=_0xcd4dc4(_0x4571fd);if(_0x30e957['length']<_0x26b420)return null;let _0xd794b1=null;for(let _0x2552fb=_0x30e957['resolveStack'](_0x26b420,0x1);_0x2552fb;_0x2552fb=_0x2552fb['next']){let _0x9dee2e=_0x2552fb['node'];if(_0x9dee2e['to']<=_0x26b420||_0x9dee2e['from']>_0x26b420)continue;if(_0xd794b1&&_0x9dee2e['from']<_0x8e19b6)break;let _0x2d352e=_0x9dee2e['type']['prop'](_0x8620af);if(_0x2d352e&&(_0x9dee2e['to']<_0x30e957['length']-0x32||_0x30e957['length']==_0x4571fd['doc']['length']||!_0x2429bc(_0x9dee2e))){let _0x304606=_0x2d352e(_0x9dee2e,_0x4571fd);_0x304606&&_0x304606['from']<=_0x26b420&&_0x304606['from']>=_0x8e19b6&&_0x304606['to']>_0x26b420&&(_0xd794b1=_0x304606);}}return _0xd794b1;}(_0x18ff18,_0x45bcb3,_0x50d3e1);}function _0x4e9ff4(_0x22d9f7,_0x2e0199){let _0x4d5905=_0x2e0199['mapPos'](_0x22d9f7['from'],0x1),_0x5dd90a=_0x2e0199['mapPos'](_0x22d9f7['to'],-0x1);return _0x4d5905>=_0x5dd90a?void 0x0:{'from':_0x4d5905,'to':_0x5dd90a};}const _0x10bf20=_0x41e66e['define']({'map':_0x4e9ff4}),_0x4d18cc=_0x41e66e['define']({'map':_0x4e9ff4});function _0x2af829(_0xa855a8){let _0x596f38=[];for(let {head:_0x428e55}of _0xa855a8['state']['selection']['ranges'])_0x596f38['some'](_0x732275=>_0x732275['from']<=_0x428e55&&_0x732275['to']>=_0x428e55)||_0x596f38['push'](_0xa855a8['lineBlockAt'](_0x428e55));return _0x596f38;}const _0x406428=_0x2bf5e0['define']({'create':()=>_0x68bd12['none'],'update'(_0x390da3,_0x59d859){_0x59d859['isUserEvent']('delete')&&_0x59d859['changes']['iterChangedRanges']((_0x343111,_0xbe4930)=>_0x390da3=_0x3b7e23(_0x390da3,_0x343111,_0xbe4930)),_0x390da3=_0x390da3['map'](_0x59d859['changes']);for(let _0x2da392 of _0x59d859['effects'])if(_0x2da392['is'](_0x10bf20)&&!_0x4221ae(_0x390da3,_0x2da392['value']['from'],_0x2da392['value']['to'])){let {preparePlaceholder:_0x466254}=_0x59d859['state']['facet'](_0x34c643),_0x496a3a=_0x466254?_0x68bd12['replace']({'widget':new _0x57a24e(_0x466254(_0x59d859['state'],_0x2da392['value']))}):_0x395a7f;_0x390da3=_0x390da3['update']({'add':[_0x496a3a['range'](_0x2da392['value']['from'],_0x2da392['value']['to'])]});}else _0x2da392['is'](_0x4d18cc)&&(_0x390da3=_0x390da3['update']({'filter':(_0x5a0383,_0x2e2ec9)=>_0x2da392['value']['from']!=_0x5a0383||_0x2da392['value']['to']!=_0x2e2ec9,'filterFrom':_0x2da392['value']['from'],'filterTo':_0x2da392['value']['to']}));return _0x59d859['selection']&&(_0x390da3=_0x3b7e23(_0x390da3,_0x59d859['selection']['main']['head'])),_0x390da3;},'provide':_0x181f44=>_0x118ca6['decorations']['from'](_0x181f44),'toJSON'(_0x3034fa,_0x1b2aa3){let _0x5bb531=[];return _0x3034fa['between'](0x0,_0x1b2aa3['doc']['length'],(_0x1c1677,_0xe81ae3)=>{_0x5bb531['push'](_0x1c1677,_0xe81ae3);}),_0x5bb531;},'fromJSON'(_0x5108cb){if(!Array['isArray'](_0x5108cb)||_0x5108cb['length']%0x2)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');let _0x1facf7=[];for(let _0x38dd85=0x0;_0x38dd85<_0x5108cb['length'];){let _0x1e605f=_0x5108cb[_0x38dd85++],_0x5b0863=_0x5108cb[_0x38dd85++];if('number'!=typeof _0x1e605f||'number'!=typeof _0x5b0863)throw new RangeError('Invalid\x20JSON\x20for\x20fold\x20state');_0x1facf7['push'](_0x395a7f['range'](_0x1e605f,_0x5b0863));}return _0x68bd12['set'](_0x1facf7,!0x0);}});function _0x3b7e23(_0x2cd3b7,_0x55d754,_0x5e9c42=_0x55d754){let _0x59f330=!0x1;return _0x2cd3b7['between'](_0x55d754,_0x5e9c42,(_0x53d9e1,_0x23a0b4)=>{_0x53d9e1<_0x5e9c42&&_0x23a0b4>_0x55d754&&(_0x59f330=!0x0);}),_0x59f330?_0x2cd3b7['update']({'filterFrom':_0x55d754,'filterTo':_0x5e9c42,'filter':(_0x395ce0,_0x3f38ab)=>_0x395ce0>=_0x5e9c42||_0x3f38ab<=_0x55d754}):_0x2cd3b7;}function _0x40df1a(_0x2bad77,_0x2d0c87,_0x186f82){var _0x2fe3f8;let _0x3b0448=null;return null===(_0x2fe3f8=_0x2bad77['field'](_0x406428,!0x1))||void 0x0===_0x2fe3f8||_0x2fe3f8['between'](_0x2d0c87,_0x186f82,(_0x3518a1,_0x16b82e)=>{(!_0x3b0448||_0x3b0448['from']>_0x3518a1)&&(_0x3b0448={'from':_0x3518a1,'to':_0x16b82e});}),_0x3b0448;}function _0x4221ae(_0x12452b,_0x1ef6ec,_0x4c947c){let _0x5ff027=!0x1;return _0x12452b['between'](_0x1ef6ec,_0x1ef6ec,(_0x592354,_0x3d875e)=>{_0x592354==_0x1ef6ec&&_0x3d875e==_0x4c947c&&(_0x5ff027=!0x0);}),_0x5ff027;}function _0x4d228f(_0x1e7950,_0x3d4c21){return _0x1e7950['field'](_0x406428,!0x1)?_0x3d4c21:_0x3d4c21['concat'](_0x41e66e['appendConfig']['of'](_0x32b44f()));}function _0x50395f(_0x54d896,_0x2dd859,_0x316488=!0x0){let _0x4ebed1=_0x54d896['state']['doc']['lineAt'](_0x2dd859['from'])['number'],_0x4e68a0=_0x54d896['state']['doc']['lineAt'](_0x2dd859['to'])['number'];return _0x118ca6['announce']['of'](_0x54d896['state']['phrase'](_0x316488?'Folded\x20lines':'Unfolded\x20lines')+'\x20'+_0x4ebed1+'\x20'+_0x54d896['state']['phrase']('to')+'\x20'+_0x4e68a0+'.');}const _0x58dae1=[{'key':'Ctrl-Shift-[','mac':'Cmd-Alt-[','run':_0x2bc407=>{for(let _0x26f1f7 of _0x2af829(_0x2bc407)){let _0x4981a6=_0xb65f5d(_0x2bc407['state'],_0x26f1f7['from'],_0x26f1f7['to']);if(_0x4981a6)return _0x2bc407['dispatch']({'effects':_0x4d228f(_0x2bc407['state'],[_0x10bf20['of'](_0x4981a6),_0x50395f(_0x2bc407,_0x4981a6)])}),!0x0;}return!0x1;}},{'key':'Ctrl-Shift-]','mac':'Cmd-Alt-]','run':_0x3d2cd5=>{if(!_0x3d2cd5['state']['field'](_0x406428,!0x1))return!0x1;let _0x1bd717=[];for(let _0x5b8009 of _0x2af829(_0x3d2cd5)){let _0x588f61=_0x40df1a(_0x3d2cd5['state'],_0x5b8009['from'],_0x5b8009['to']);_0x588f61&&_0x1bd717['push'](_0x4d18cc['of'](_0x588f61),_0x50395f(_0x3d2cd5,_0x588f61,!0x1));}return _0x1bd717['length']&&_0x3d2cd5['dispatch']({'effects':_0x1bd717}),_0x1bd717['length']>0x0;}},{'key':'Ctrl-Alt-[','run':_0x289d4b=>{let {state:_0x739aee}=_0x289d4b,_0x37f061=[];for(let _0x222c4d=0x0;_0x222c4d<_0x739aee['doc']['length'];){let _0x2da47e=_0x289d4b['lineBlockAt'](_0x222c4d),_0x431993=_0xb65f5d(_0x739aee,_0x2da47e['from'],_0x2da47e['to']);_0x431993&&_0x37f061['push'](_0x10bf20['of'](_0x431993)),_0x222c4d=(_0x431993?_0x289d4b['lineBlockAt'](_0x431993['to']):_0x2da47e)['to']+0x1;}return _0x37f061['length']&&_0x289d4b['dispatch']({'effects':_0x4d228f(_0x289d4b['state'],_0x37f061)}),!!_0x37f061['length'];}},{'key':'Ctrl-Alt-]','run':_0x35f46c=>{let _0x579338=_0x35f46c['state']['field'](_0x406428,!0x1);if(!_0x579338||!_0x579338['size'])return!0x1;let _0xe028b0=[];return _0x579338['between'](0x0,_0x35f46c['state']['doc']['length'],(_0x5da4a5,_0x51c611)=>{_0xe028b0['push'](_0x4d18cc['of']({'from':_0x5da4a5,'to':_0x51c611}));}),_0x35f46c['dispatch']({'effects':_0xe028b0}),!0x0;}}],_0x72c5a2={'placeholderDOM':null,'preparePlaceholder':null,'placeholderText':'…'},_0x34c643=_0x17b3ea['define']({'combine':_0x5722ab=>_0x31a8d4(_0x5722ab,_0x72c5a2)});function _0x32b44f(_0x6bc99c){let _0x2db7f0=[_0x406428,_0x35586d];return _0x6bc99c&&_0x2db7f0['push'](_0x34c643['of'](_0x6bc99c)),_0x2db7f0;}function _0x311f3d(_0x2be42e,_0x48fc0b){let {state:_0x25c269}=_0x2be42e,_0xec5a89=_0x25c269['facet'](_0x34c643),_0x2eda42=_0x3db097=>{let _0x2a8daf=_0x2be42e['lineBlockAt'](_0x2be42e['posAtDOM'](_0x3db097['target'])),_0x54d76d=_0x40df1a(_0x2be42e['state'],_0x2a8daf['from'],_0x2a8daf['to']);_0x54d76d&&_0x2be42e['dispatch']({'effects':_0x4d18cc['of'](_0x54d76d)}),_0x3db097['preventDefault']();};if(_0xec5a89['placeholderDOM'])return _0xec5a89['placeholderDOM'](_0x2be42e,_0x2eda42,_0x48fc0b);let _0x2a05ad=document['createElement']('span');return _0x2a05ad['textContent']=_0xec5a89['placeholderText'],_0x2a05ad['setAttribute']('aria-label',_0x25c269['phrase']('folded\x20code')),_0x2a05ad['title']=_0x25c269['phrase']('unfold'),_0x2a05ad['className']='cm-foldPlaceholder',_0x2a05ad['onclick']=_0x2eda42,_0x2a05ad;}const _0x395a7f=_0x68bd12['replace']({'widget':new class extends _0x129238{['toDOM'](_0x4457ca){return _0x311f3d(_0x4457ca,null);}}()});var _0x57a24e=class extends _0x129238{constructor(_0x4ea45f){super(),this['value']=_0x4ea45f;}['eq'](_0x19f576){return this['value']==_0x19f576['value'];}['toDOM'](_0xb086bd){return _0x311f3d(_0xb086bd,this['value']);}};const _0xa4b53a={'openText':'⌄','closedText':'›','markerDOM':null,'domEventHandlers':{},'foldingChanged':()=>!0x1};var tj=class extends _0x5c0666{constructor(_0x392a5b,_0x4f500f){super(),this['config']=_0x392a5b,this['open']=_0x4f500f;}['eq'](_0x18a7bb){return this['config']==_0x18a7bb['config']&&this['open']==_0x18a7bb['open'];}['toDOM'](_0x4908b8){if(this['config']['markerDOM'])return this['config']['markerDOM'](this['open']);let _0x3460be=document['createElement']('span');return _0x3460be['textContent']=this['open']?this['config']['openText']:this['config']['closedText'],_0x3460be['title']=_0x4908b8['state']['phrase'](this['open']?'Fold\x20line':'Unfold\x20line'),_0x3460be;}};function _0x4ebb3a(_0xdf8c57={}){let _0x4062c5={..._0xa4b53a,..._0xdf8c57},_0x51b1c5=new tj(_0x4062c5,!0x0),_0x1955ad=new tj(_0x4062c5,!0x1),_0x2cd63e=_0x5873ca['fromClass'](class{constructor(_0x3207c0){this['from']=_0x3207c0['viewport']['from'],this['markers']=this['buildMarkers'](_0x3207c0);}['update'](_0x27be7b){(_0x27be7b['docChanged']||_0x27be7b['viewportChanged']||_0x27be7b['startState']['facet'](_0x2e5746)!=_0x27be7b['state']['facet'](_0x2e5746)||_0x27be7b['startState']['field'](_0x406428,!0x1)!=_0x27be7b['state']['field'](_0x406428,!0x1)||_0xcd4dc4(_0x27be7b['startState'])!=_0xcd4dc4(_0x27be7b['state'])||_0x4062c5['foldingChanged'](_0x27be7b))&&(this['markers']=this['buildMarkers'](_0x27be7b['view']));}['buildMarkers'](_0x3e4dd2){let _0x52836b=new _0x1cc6f8();for(let _0x3d2806 of _0x3e4dd2['viewportLineBlocks']){let _0x30c901=_0x40df1a(_0x3e4dd2['state'],_0x3d2806['from'],_0x3d2806['to'])?_0x1955ad:_0xb65f5d(_0x3e4dd2['state'],_0x3d2806['from'],_0x3d2806['to'])?_0x51b1c5:null;_0x30c901&&_0x52836b['add'](_0x3d2806['from'],_0x3d2806['from'],_0x30c901);}return _0x52836b['finish']();}}),{domEventHandlers:_0x25bc75}=_0x4062c5;return[_0x2cd63e,_0x38d460({'class':'cm-foldGutter','markers'(_0x333134){var _0x58e85d;return(null===(_0x58e85d=_0x333134['plugin'](_0x2cd63e))||void 0x0===_0x58e85d?void 0x0:_0x58e85d['markers'])||_0x397923['empty'];},'initialSpacer':()=>new tj(_0x4062c5,!0x1),'domEventHandlers':{..._0x25bc75,'click':(_0x479bed,_0x40e28b,_0x158f06)=>{if(_0x25bc75['click']&&_0x25bc75['click'](_0x479bed,_0x40e28b,_0x158f06))return!0x0;let _0x426a94=_0x40df1a(_0x479bed['state'],_0x40e28b['from'],_0x40e28b['to']);if(_0x426a94)return _0x479bed['dispatch']({'effects':_0x4d18cc['of'](_0x426a94)}),!0x0;let _0x531f01=_0xb65f5d(_0x479bed['state'],_0x40e28b['from'],_0x40e28b['to']);return!!_0x531f01&&(_0x479bed['dispatch']({'effects':_0x10bf20['of'](_0x531f01)}),!0x0);}}}),_0x32b44f()];}const _0x35586d=_0x118ca6['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'}});var _0x99ae80=class HighlightStyle{constructor(_0x362e75,_0x161b94){let _0x353866;function _0x560153(_0x4a0238){let _0x189462=_0x134700['newName']();return(_0x353866||(_0x353866=Object['create'](null)))['.'+_0x189462]=_0x4a0238,_0x189462;}this['specs']=_0x362e75;const _0x1bda9e='string'==typeof _0x161b94['all']?_0x161b94['all']:_0x161b94['all']?_0x560153(_0x161b94['all']):void 0x0,_0x3770c2=_0x161b94['scope'];this['scope']=_0x3770c2 instanceof tQ?_0x4344b9=>_0x4344b9['prop'](_0x627ccf)==_0x3770c2['data']:_0x3770c2?_0x126e4d=>_0x126e4d==_0x3770c2:void 0x0,this['style']=_0x2ed56d(_0x362e75['map'](_0x36ab5a=>({'tag':_0x36ab5a['tag'],'class':_0x36ab5a['class']||_0x560153(Object['assign']({},_0x36ab5a,{'tag':null}))})),{'all':_0x1bda9e})['style'],this['module']=_0x353866?new _0x134700(_0x353866):null,this['themeType']=_0x161b94['themeType'];}static['define'](_0x567f8e,_0x277cdf){return new HighlightStyle(_0x567f8e,_0x277cdf||{});}};const _0x225476=_0x17b3ea['define'](),_0x2b6b73=_0x17b3ea['define']({'combine':_0x1d9e99=>_0x1d9e99['length']?[_0x1d9e99[0x0]]:null});function _0x512322(_0x65e39f){let _0x58245c=_0x65e39f['facet'](_0x225476);return _0x58245c['length']?_0x58245c:_0x65e39f['facet'](_0x2b6b73);}function _0x58919c(_0x9de12a,_0x23c3c8){let _0x3fe9b9,_0x4badf0=[_0x317f62];return _0x9de12a instanceof _0x99ae80&&(_0x9de12a['module']&&_0x4badf0['push'](_0x118ca6['styleModule']['of'](_0x9de12a['module'])),_0x3fe9b9=_0x9de12a['themeType']),(null==_0x23c3c8?void 0x0:_0x23c3c8['fallback'])?_0x4badf0['push'](_0x2b6b73['of'](_0x9de12a)):_0x3fe9b9?_0x4badf0['push'](_0x225476['computeN']([_0x118ca6['darkTheme']],_0x237e11=>_0x237e11['facet'](_0x118ca6['darkTheme'])==('dark'==_0x3fe9b9)?[_0x9de12a]:[])):_0x4badf0['push'](_0x225476['of'](_0x9de12a)),_0x4badf0;}var _0x1951dd=class{constructor(_0x1baf20){this['markCache']=Object['create'](null),this['tree']=_0xcd4dc4(_0x1baf20['state']),this['decorations']=this['buildDeco'](_0x1baf20,_0x512322(_0x1baf20['state'])),this['decoratedTo']=_0x1baf20['viewport']['to'];}['update'](_0x1de8ba){let _0x13ca22=_0xcd4dc4(_0x1de8ba['state']),_0x1c5a4d=_0x512322(_0x1de8ba['state']),_0x305bca=_0x1c5a4d!=_0x512322(_0x1de8ba['startState']),{viewport:_0x5edef9}=_0x1de8ba['view'],_0x58a8ee=_0x1de8ba['changes']['mapPos'](this['decoratedTo'],0x1);_0x13ca22['length']<_0x5edef9['to']&&!_0x305bca&&_0x13ca22['type']==this['tree']['type']&&_0x58a8ee>=_0x5edef9['to']?(this['decorations']=this['decorations']['map'](_0x1de8ba['changes']),this['decoratedTo']=_0x58a8ee):(_0x13ca22!=this['tree']||_0x1de8ba['viewportChanged']||_0x305bca)&&(this['tree']=_0x13ca22,this['decorations']=this['buildDeco'](_0x1de8ba['view'],_0x1c5a4d),this['decoratedTo']=_0x5edef9['to']);}['buildDeco'](_0x10f76c,_0x4ce84e){if(!_0x4ce84e||!this['tree']['length'])return _0x68bd12['none'];let _0x482409=new _0x1cc6f8();for(let {from:_0x66053c,to:_0x32fa67}of _0x10f76c['visibleRanges'])_0x3c13d9(this['tree'],_0x4ce84e,(_0x2c0114,_0x2349fb,_0x1b68a7)=>{_0x482409['add'](_0x2c0114,_0x2349fb,this['markCache'][_0x1b68a7]||(this['markCache'][_0x1b68a7]=_0x68bd12['mark']({'class':_0x1b68a7})));},_0x66053c,_0x32fa67);return _0x482409['finish']();}};const _0x317f62=_0x74fe9f['high'](_0x5873ca['fromClass'](_0x1951dd,{'decorations':_0x4daa37=>_0x4daa37['decorations']})),_0x41480d=_0x99ae80['define']([{'tag':_0x554ddb['meta'],'color':'#404740'},{'tag':_0x554ddb['link'],'textDecoration':'underline'},{'tag':_0x554ddb['heading'],'textDecoration':'underline','fontWeight':'bold'},{'tag':_0x554ddb['emphasis'],'fontStyle':'italic'},{'tag':_0x554ddb['strong'],'fontWeight':'bold'},{'tag':_0x554ddb['strikethrough'],'textDecoration':'line-through'},{'tag':_0x554ddb['keyword'],'color':'#708'},{'tag':[_0x554ddb['atom'],_0x554ddb['bool'],_0x554ddb['url'],_0x554ddb['contentSeparator'],_0x554ddb['labelName']],'color':'#219'},{'tag':[_0x554ddb['literal'],_0x554ddb['inserted']],'color':'#164'},{'tag':[_0x554ddb['string'],_0x554ddb['deleted']],'color':'#a11'},{'tag':[_0x554ddb['regexp'],_0x554ddb['escape'],_0x554ddb['special'](_0x554ddb['string'])],'color':'#e40'},{'tag':_0x554ddb['definition'](_0x554ddb['variableName']),'color':'#00f'},{'tag':_0x554ddb['local'](_0x554ddb['variableName']),'color':'#30a'},{'tag':[_0x554ddb['typeName'],_0x554ddb['namespace']],'color':'#085'},{'tag':_0x554ddb['className'],'color':'#167'},{'tag':[_0x554ddb['special'](_0x554ddb['variableName']),_0x554ddb['macroName']],'color':'#256'},{'tag':_0x554ddb['definition'](_0x554ddb['propertyName']),'color':'#00c'},{'tag':_0x554ddb['comment'],'color':'#940'},{'tag':_0x554ddb['invalid'],'color':'#f00'}]),_0x1721ce=_0x118ca6['baseTheme']({'&.cm-focused\x20.cm-matchingBracket':{'backgroundColor':'#328c8252'},'&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bb555544'}}),_0x5cb7fd='()[]{}',_0xb4392c=_0x17b3ea['define']({'combine':_0x205768=>_0x31a8d4(_0x205768,{'afterCursor':!0x0,'brackets':_0x5cb7fd,'maxScanDistance':0x2710,'renderMatch':_0x51b5a1})}),_0x5c1aff=_0x68bd12['mark']({'class':'cm-matchingBracket'}),_0x131d54=_0x68bd12['mark']({'class':'cm-nonmatchingBracket'});function _0x51b5a1(_0x3ab81d){let _0x2c51c7=[],_0x197244=_0x3ab81d['matched']?_0x5c1aff:_0x131d54;return _0x2c51c7['push'](_0x197244['range'](_0x3ab81d['start']['from'],_0x3ab81d['start']['to'])),_0x3ab81d['end']&&_0x2c51c7['push'](_0x197244['range'](_0x3ab81d['end']['from'],_0x3ab81d['end']['to'])),_0x2c51c7;}function _0x41f37b(_0x278673){let _0x4ed863=[],_0x200f80=_0x278673['facet'](_0xb4392c);for(let _0x4c8d02 of _0x278673['selection']['ranges']){if(!_0x4c8d02['empty'])continue;let _0xfd4f81=_0x5dcb68(_0x278673,_0x4c8d02['head'],-0x1,_0x200f80)||_0x4c8d02['head']>0x0&&_0x5dcb68(_0x278673,_0x4c8d02['head']-0x1,0x1,_0x200f80)||_0x200f80['afterCursor']&&(_0x5dcb68(_0x278673,_0x4c8d02['head'],0x1,_0x200f80)||_0x4c8d02['head']<_0x278673['doc']['length']&&_0x5dcb68(_0x278673,_0x4c8d02['head']+0x1,-0x1,_0x200f80));_0xfd4f81&&(_0x4ed863=_0x4ed863['concat'](_0x200f80['renderMatch'](_0xfd4f81,_0x278673)));}return _0x68bd12['set'](_0x4ed863,!0x0);}const _0x391954=[_0x5873ca['fromClass'](class{constructor(_0xd25123){this['paused']=!0x1,this['decorations']=_0x41f37b(_0xd25123['state']);}['update'](_0x252d43){(_0x252d43['docChanged']||_0x252d43['selectionSet']||this['paused'])&&(_0x252d43['view']['composing']?(this['decorations']=this['decorations']['map'](_0x252d43['changes']),this['paused']=!0x0):(this['decorations']=_0x41f37b(_0x252d43['state']),this['paused']=!0x1));}},{'decorations':_0x127f74=>_0x127f74['decorations']}),_0x1721ce];function _0xfb5527(_0x8e937e={}){return[_0xb4392c['of'](_0x8e937e),_0x391954];}const _0x403f93=new _0x172440();function _0x239621(_0x16365b,_0xcd581d,_0x272694){let _0x2cc38c=_0x16365b['prop'](_0xcd581d<0x0?_0x172440['openedBy']:_0x172440['closedBy']);if(_0x2cc38c)return _0x2cc38c;if(0x1==_0x16365b['name']['length']){let _0x8e6c7c=_0x272694['indexOf'](_0x16365b['name']);if(_0x8e6c7c>-0x1&&_0x8e6c7c%0x2==(_0xcd581d<0x0?0x1:0x0))return[_0x272694[_0x8e6c7c+_0xcd581d]];}return null;}function _0x16de0f(_0x1cbe6b){let _0x249ef3=_0x1cbe6b['type']['prop'](_0x403f93);return _0x249ef3?_0x249ef3(_0x1cbe6b['node']):_0x1cbe6b;}function _0x5dcb68(_0x228e27,_0x3ace56,_0x45829c,_0x1e6bb6={}){let _0x4ed0c8=_0x1e6bb6['maxScanDistance']||0x2710,_0x3297c4=_0x1e6bb6['brackets']||_0x5cb7fd,_0x27317e=_0xcd4dc4(_0x228e27),_0x137969=_0x27317e['resolveInner'](_0x3ace56,_0x45829c);for(let _0x1db268=_0x137969;_0x1db268;_0x1db268=_0x1db268['parent']){let _0xcf23b2=_0x239621(_0x1db268['type'],_0x45829c,_0x3297c4);if(_0xcf23b2&&_0x1db268['from']<_0x1db268['to']){let _0x324f3b=_0x16de0f(_0x1db268);if(_0x324f3b&&(_0x45829c>0x0?_0x3ace56>=_0x324f3b['from']&&_0x3ace56<_0x324f3b['to']:_0x3ace56>_0x324f3b['from']&&_0x3ace56<=_0x324f3b['to']))return _0xdb54cf(_0x228e27,_0x3ace56,_0x45829c,_0x1db268,_0x324f3b,_0xcf23b2,_0x3297c4);}}return function(_0x17288f,_0x3ee6f6,_0x3228c9,_0x6d7ff0,_0x1df9f5,_0x2ec3d6,_0x47e60c){if(_0x3228c9<0x0?!_0x3ee6f6:_0x3ee6f6==_0x17288f['doc']['length'])return null;let _0x319267=_0x3228c9<0x0?_0x17288f['sliceDoc'](_0x3ee6f6-0x1,_0x3ee6f6):_0x17288f['sliceDoc'](_0x3ee6f6,_0x3ee6f6+0x1),_0x1729d5=_0x47e60c['indexOf'](_0x319267);if(_0x1729d5<0x0||_0x1729d5%0x2==0x0!=_0x3228c9>0x0)return null;let _0xa366a1={'from':_0x3228c9<0x0?_0x3ee6f6-0x1:_0x3ee6f6,'to':_0x3228c9>0x0?_0x3ee6f6+0x1:_0x3ee6f6},_0x2e1ff6=_0x17288f['doc']['iterRange'](_0x3ee6f6,_0x3228c9>0x0?_0x17288f['doc']['length']:0x0),_0x1dd480=0x0;for(let _0x4e66a5=0x0;!_0x2e1ff6['next']()['done']&&_0x4e66a5<=_0x2ec3d6;){let _0x31cae2=_0x2e1ff6['value'];_0x3228c9<0x0&&(_0x4e66a5+=_0x31cae2['length']);let _0x4c2b7a=_0x3ee6f6+_0x4e66a5*_0x3228c9;for(let _0xe2dfa1=_0x3228c9>0x0?0x0:_0x31cae2['length']-0x1,_0x27bac6=_0x3228c9>0x0?_0x31cae2['length']:-0x1;_0xe2dfa1!=_0x27bac6;_0xe2dfa1+=_0x3228c9){let _0x442a4e=_0x47e60c['indexOf'](_0x31cae2[_0xe2dfa1]);if(!(_0x442a4e<0x0||_0x6d7ff0['resolveInner'](_0x4c2b7a+_0xe2dfa1,0x1)['type']!=_0x1df9f5)){if(_0x442a4e%0x2==0x0==_0x3228c9>0x0)_0x1dd480++;else{if(0x1==_0x1dd480)return{'start':_0xa366a1,'end':{'from':_0x4c2b7a+_0xe2dfa1,'to':_0x4c2b7a+_0xe2dfa1+0x1},'matched':_0x442a4e>>0x1==_0x1729d5>>0x1};_0x1dd480--;}}}_0x3228c9>0x0&&(_0x4e66a5+=_0x31cae2['length']);}return _0x2e1ff6['done']?{'start':_0xa366a1,'matched':!0x1}:null;}(_0x228e27,_0x3ace56,_0x45829c,_0x27317e,_0x137969['type'],_0x4ed0c8,_0x3297c4);}function _0xdb54cf(_0xa688fd,_0x34fb16,_0x28330d,_0x57dc64,_0x23093f,_0x550da7,_0x36c04b){let _0x432867=_0x57dc64['parent'],_0x1e99f5={'from':_0x23093f['from'],'to':_0x23093f['to']},_0x1a9b05=0x0,_0x337af6=null==_0x432867?void 0x0:_0x432867['cursor']();if(_0x337af6&&(_0x28330d<0x0?_0x337af6['childBefore'](_0x57dc64['from']):_0x337af6['childAfter'](_0x57dc64['to'])))do{if(_0x28330d<0x0?_0x337af6['to']<=_0x57dc64['from']:_0x337af6['from']>=_0x57dc64['to']){if(0x0==_0x1a9b05&&_0x550da7['indexOf'](_0x337af6['type']['name'])>-0x1&&_0x337af6['from']<_0x337af6['to']){let _0x4c67db=_0x16de0f(_0x337af6);return{'start':_0x1e99f5,'end':_0x4c67db?{'from':_0x4c67db['from'],'to':_0x4c67db['to']}:void 0x0,'matched':!0x0};}if(_0x239621(_0x337af6['type'],_0x28330d,_0x36c04b))_0x1a9b05++;else{if(_0x239621(_0x337af6['type'],-_0x28330d,_0x36c04b)){if(0x0==_0x1a9b05){let _0x379acc=_0x16de0f(_0x337af6);return{'start':_0x1e99f5,'end':_0x379acc&&_0x379acc['from']<_0x379acc['to']?{'from':_0x379acc['from'],'to':_0x379acc['to']}:void 0x0,'matched':!0x1};}_0x1a9b05--;}}}}while(_0x28330d<0x0?_0x337af6['prevSibling']():_0x337af6['nextSibling']());return{'start':_0x1e99f5,'matched':!0x1};}const _0x295267=Object['create'](null),_0x4bf0aa=[_0x37f725['none']],_0x5a6ebc=[],_0x1d8cfd=Object['create'](null),_0x171906=Object['create'](null);for(let [_0x187632,_0x3c0393]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']])_0x171906[_0x187632]=_0x1b820a(_0x295267,_0x3c0393);function _0x301f98(_0x585c6d,_0x2330c7){_0x5a6ebc['indexOf'](_0x585c6d)>-0x1||(_0x5a6ebc['push'](_0x585c6d),console['warn'](_0x2330c7));}function _0x1b820a(_0x43e4a5,_0x4ef3be){let _0xe46d42=[];for(let _0x22b2ae of _0x4ef3be['split']('\x20')){let _0xd4000a=[];for(let _0x441796 of _0x22b2ae['split']('.')){let _0x9c369f=_0x43e4a5[_0x441796]||_0x554ddb[_0x441796];_0x9c369f?'function'==typeof _0x9c369f?_0xd4000a['length']?_0xd4000a=_0xd4000a['map'](_0x9c369f):_0x301f98(_0x441796,'Modifier\x20'+_0x441796+'\x20used\x20at\x20start\x20of\x20tag'):_0xd4000a['length']?_0x301f98(_0x441796,'Tag\x20'+_0x441796+'\x20used\x20as\x20modifier'):_0xd4000a=Array['isArray'](_0x9c369f)?_0x9c369f:[_0x9c369f]:_0x301f98(_0x441796,'Unknown\x20highlighting\x20tag\x20'+_0x441796);}for(let _0x2cd87a of _0xd4000a)_0xe46d42['push'](_0x2cd87a);}if(!_0xe46d42['length'])return 0x0;let _0x566f48=_0x4ef3be['replace'](/ /g,'_'),_0x57a662=_0x566f48+'\x20'+_0xe46d42['map'](t=>t['id']),_0x5dee35=_0x1d8cfd[_0x57a662];if(_0x5dee35)return _0x5dee35['id'];let _0x2f4fcc=_0x1d8cfd[_0x57a662]=_0x37f725['define']({'id':_0x4bf0aa['length'],'name':_0x566f48,'props':[_0x2f1f50({[_0x566f48]:_0xe46d42})]});return _0x4bf0aa['push'](_0x2f4fcc),_0x2f4fcc['id'];}_0x48659f['RTL'],_0x48659f['LTR'];function _0x58869a(_0x3513b1,_0x3e29ee){return({state:_0x31f157,dispatch:_0x2b4945})=>{if(_0x31f157['readOnly'])return!0x1;let _0x32ae86=_0x3513b1(_0x3e29ee,_0x31f157);return!!_0x32ae86&&(_0x2b4945(_0x31f157['update'](_0x32ae86)),!0x0);};}const _0x30c072=_0x58869a(_0x31970f,0x0),_0x29d56e=_0x58869a(_0x492b47,0x0),_0x22f4ff=_0x58869a((_0x1f4042,_0x3aa45f)=>_0x492b47(_0x1f4042,_0x3aa45f,function(_0x7297b9){let _0x329997=[];for(let _0x286c05 of _0x7297b9['selection']['ranges']){let _0x4e2f67=_0x7297b9['doc']['lineAt'](_0x286c05['from']),_0x243068=_0x286c05['to']<=_0x4e2f67['to']?_0x4e2f67:_0x7297b9['doc']['lineAt'](_0x286c05['to']);_0x243068['from']>_0x4e2f67['from']&&_0x243068['from']==_0x286c05['to']&&(_0x243068=_0x286c05['to']==_0x4e2f67['to']+0x1?_0x4e2f67:_0x7297b9['doc']['lineAt'](_0x286c05['to']-0x1));let _0x5e3858=_0x329997['length']-0x1;_0x5e3858>=0x0&&_0x329997[_0x5e3858]['to']>_0x4e2f67['from']?_0x329997[_0x5e3858]['to']=_0x243068['to']:_0x329997['push']({'from':_0x4e2f67['from']+/^\s*/['exec'](_0x4e2f67['text'])[0x0]['length'],'to':_0x243068['to']});}return _0x329997;}(_0x3aa45f)),0x0);function _0x386090(_0x15dab5,_0x52e219){let _0x48498a=_0x15dab5['languageDataAt']('commentTokens',_0x52e219,0x1);return _0x48498a['length']?_0x48498a[0x0]:{};}const _0x220ec0=0x32;function _0x492b47(_0xbb4c44,_0x3460f9,_0x105385=_0x3460f9['selection']['ranges']){let _0x15b5a7=_0x105385['map'](_0x3c363b=>_0x386090(_0x3460f9,_0x3c363b['from'])['block']);if(!_0x15b5a7['every'](_0x206a67=>_0x206a67))return null;let _0x24da93=_0x105385['map']((_0x10668c,_0x5a2558)=>function(_0x4dbbd3,{open:_0x570ba3,close:_0x39ecb9},_0x21ae1f,_0x2ba192){let _0xc76287,_0x13b1b5,_0x12567e=_0x4dbbd3['sliceDoc'](_0x21ae1f-_0x220ec0,_0x21ae1f),_0x388b39=_0x4dbbd3['sliceDoc'](_0x2ba192,_0x2ba192+_0x220ec0),_0xbc9834=/\s*$/['exec'](_0x12567e)[0x0]['length'],_0x22e49b=/^\s*/['exec'](_0x388b39)[0x0]['length'],_0x129766=_0x12567e['length']-_0xbc9834;if(_0x12567e['slice'](_0x129766-_0x570ba3['length'],_0x129766)==_0x570ba3&&_0x388b39['slice'](_0x22e49b,_0x22e49b+_0x39ecb9['length'])==_0x39ecb9)return{'open':{'pos':_0x21ae1f-_0xbc9834,'margin':_0xbc9834&&0x1},'close':{'pos':_0x2ba192+_0x22e49b,'margin':_0x22e49b&&0x1}};_0x2ba192-_0x21ae1f<=0x2*_0x220ec0?_0xc76287=_0x13b1b5=_0x4dbbd3['sliceDoc'](_0x21ae1f,_0x2ba192):(_0xc76287=_0x4dbbd3['sliceDoc'](_0x21ae1f,_0x21ae1f+_0x220ec0),_0x13b1b5=_0x4dbbd3['sliceDoc'](_0x2ba192-_0x220ec0,_0x2ba192));let _0x107960=/^\s*/['exec'](_0xc76287)[0x0]['length'],_0x47c06c=/\s*$/['exec'](_0x13b1b5)[0x0]['length'],_0x2c4b5d=_0x13b1b5['length']-_0x47c06c-_0x39ecb9['length'];return _0xc76287['slice'](_0x107960,_0x107960+_0x570ba3['length'])==_0x570ba3&&_0x13b1b5['slice'](_0x2c4b5d,_0x2c4b5d+_0x39ecb9['length'])==_0x39ecb9?{'open':{'pos':_0x21ae1f+_0x107960+_0x570ba3['length'],'margin':/\s/['test'](_0xc76287['charAt'](_0x107960+_0x570ba3['length']))?0x1:0x0},'close':{'pos':_0x2ba192-_0x47c06c-_0x39ecb9['length'],'margin':/\s/['test'](_0x13b1b5['charAt'](_0x2c4b5d-0x1))?0x1:0x0}}:null;}(_0x3460f9,_0x15b5a7[_0x5a2558],_0x10668c['from'],_0x10668c['to']));if(0x2!=_0xbb4c44&&!_0x24da93['every'](_0x1fd09b=>_0x1fd09b))return{'changes':_0x3460f9['changes'](_0x105385['map']((_0x1e9faa,_0x558085)=>_0x24da93[_0x558085]?[]:[{'from':_0x1e9faa['from'],'insert':_0x15b5a7[_0x558085]['open']+'\x20'},{'from':_0x1e9faa['to'],'insert':'\x20'+_0x15b5a7[_0x558085]['close']}]))};if(0x1!=_0xbb4c44&&_0x24da93['some'](_0x21d5ef=>_0x21d5ef)){let _0x43ec26=[];for(let _0x3acc0b,_0xfe74af=0x0;_0xfe74af<_0x24da93['length'];_0xfe74af++)if(_0x3acc0b=_0x24da93[_0xfe74af]){let _0x26fab9=_0x15b5a7[_0xfe74af],{open:_0x3d0178,close:_0x25bb38}=_0x3acc0b;_0x43ec26['push']({'from':_0x3d0178['pos']-_0x26fab9['open']['length'],'to':_0x3d0178['pos']+_0x3d0178['margin']},{'from':_0x25bb38['pos']-_0x25bb38['margin'],'to':_0x25bb38['pos']+_0x26fab9['close']['length']});}return{'changes':_0x43ec26};}return null;}function _0x31970f(_0x5ccc3a,_0x3fc9b9,_0x1bfb8c=_0x3fc9b9['selection']['ranges']){let _0x363a63=[],_0x330cc8=-0x1;for(let {from:_0x5830a8,to:_0x246d00}of _0x1bfb8c){let _0x474324=_0x363a63['length'],_0x3d051d=0x3b9aca00,_0x5dcba1=_0x386090(_0x3fc9b9,_0x5830a8)['line'];if(_0x5dcba1){for(let _0x2b0d6b=_0x5830a8;_0x2b0d6b<=_0x246d00;){let _0xa0210d=_0x3fc9b9['doc']['lineAt'](_0x2b0d6b);if(_0xa0210d['from']>_0x330cc8&&(_0x5830a8==_0x246d00||_0x246d00>_0xa0210d['from'])){_0x330cc8=_0xa0210d['from'];let _0x24bab0=/^\s*/['exec'](_0xa0210d['text'])[0x0]['length'],_0x42be6b=_0x24bab0==_0xa0210d['length'],_0x4e2817=_0xa0210d['text']['slice'](_0x24bab0,_0x24bab0+_0x5dcba1['length'])==_0x5dcba1?_0x24bab0:-0x1;_0x24bab0<_0xa0210d['text']['length']&&_0x24bab0<_0x3d051d&&(_0x3d051d=_0x24bab0),_0x363a63['push']({'line':_0xa0210d,'comment':_0x4e2817,'token':_0x5dcba1,'indent':_0x24bab0,'empty':_0x42be6b,'single':!0x1});}_0x2b0d6b=_0xa0210d['to']+0x1;}if(_0x3d051d<0x3b9aca00){for(let _0x267208=_0x474324;_0x267208<_0x363a63['length'];_0x267208++)_0x363a63[_0x267208]['indent']<_0x363a63[_0x267208]['line']['text']['length']&&(_0x363a63[_0x267208]['indent']=_0x3d051d);}_0x363a63['length']==_0x474324+0x1&&(_0x363a63[_0x474324]['single']=!0x0);}}if(0x2!=_0x5ccc3a&&_0x363a63['some'](_0x219a47=>_0x219a47['comment']<0x0&&(!_0x219a47['empty']||_0x219a47['single']))){let _0x5d8b73=[];for(let {line:_0x236d8e,token:_0x4c0875,indent:_0x982c7,empty:_0x229199,single:_0x20f6b2}of _0x363a63)!_0x20f6b2&&_0x229199||_0x5d8b73['push']({'from':_0x236d8e['from']+_0x982c7,'insert':_0x4c0875+'\x20'});let _0x3cf047=_0x3fc9b9['changes'](_0x5d8b73);return{'changes':_0x3cf047,'selection':_0x3fc9b9['selection']['map'](_0x3cf047,0x1)};}if(0x1!=_0x5ccc3a&&_0x363a63['some'](_0x4b01c4=>_0x4b01c4['comment']>=0x0)){let _0x171f5a=[];for(let {line:_0xdd9b58,comment:_0x3d7d14,token:_0xaa5154}of _0x363a63)if(_0x3d7d14>=0x0){let _0x56a278=_0xdd9b58['from']+_0x3d7d14,_0x1a3fdb=_0x56a278+_0xaa5154['length'];'\x20'==_0xdd9b58['text'][_0x1a3fdb-_0xdd9b58['from']]&&_0x1a3fdb++,_0x171f5a['push']({'from':_0x56a278,'to':_0x1a3fdb});}return{'changes':_0x171f5a};}return null;}const _0x4a4efa=_0x185b62['define'](),_0xcc01e1=_0x185b62['define'](),_0x3eb66a=_0x17b3ea['define'](),_0x250aa9=_0x17b3ea['define']({'combine':_0x385707=>_0x31a8d4(_0x385707,{'minDepth':0x64,'newGroupDelay':0x1f4,'joinToEvent':(_0x564c08,_0x1d4049)=>_0x1d4049},{'minDepth':Math['max'],'newGroupDelay':Math['min'],'joinToEvent':(_0xc3ae11,_0x42a19d)=>(_0x1c3fd0,_0xdece7c)=>_0xc3ae11(_0x1c3fd0,_0xdece7c)||_0x42a19d(_0x1c3fd0,_0xdece7c)})}),_0x1b9fe4=_0x2bf5e0['define']({'create':()=>_0x5e867f['empty'],'update'(_0x42cfb9,_0x46b355){let _0x2c4d0e=_0x46b355['state']['facet'](_0x250aa9),_0x3d1944=_0x46b355['annotation'](_0x4a4efa);if(_0x3d1944){let _0x5f40c7=_0x391658['fromTransaction'](_0x46b355,_0x3d1944['selection']),_0x421a26=_0x3d1944['side'],_0x2d0803=0x0==_0x421a26?_0x42cfb9['undone']:_0x42cfb9['done'];return _0x2d0803=_0x5f40c7?_0x50b464(_0x2d0803,_0x2d0803['length'],_0x2c4d0e['minDepth'],_0x5f40c7):_0x5be00d(_0x2d0803,_0x46b355['startState']['selection']),new _0x5e867f(0x0==_0x421a26?_0x3d1944['rest']:_0x2d0803,0x0==_0x421a26?_0x2d0803:_0x3d1944['rest']);}let _0x2b1797=_0x46b355['annotation'](_0xcc01e1);if('full'!=_0x2b1797&&'before'!=_0x2b1797||(_0x42cfb9=_0x42cfb9['isolate']()),!0x1===_0x46b355['annotation'](_0x5b5d8a['addToHistory']))return _0x46b355['changes']['empty']?_0x42cfb9:_0x42cfb9['addMapping'](_0x46b355['changes']['desc']);let _0x29e6c7=_0x391658['fromTransaction'](_0x46b355),_0x4009aa=_0x46b355['annotation'](_0x5b5d8a['time']),_0x2b40a1=_0x46b355['annotation'](_0x5b5d8a['userEvent']);return _0x29e6c7?_0x42cfb9=_0x42cfb9['addChanges'](_0x29e6c7,_0x4009aa,_0x2b40a1,_0x2c4d0e,_0x46b355):_0x46b355['selection']&&(_0x42cfb9=_0x42cfb9['addSelection'](_0x46b355['startState']['selection'],_0x4009aa,_0x2b40a1,_0x2c4d0e['newGroupDelay'])),'full'!=_0x2b1797&&'after'!=_0x2b1797||(_0x42cfb9=_0x42cfb9['isolate']()),_0x42cfb9;},'toJSON':_0x461af3=>({'done':_0x461af3['done']['map'](_0x31c502=>_0x31c502['toJSON']()),'undone':_0x461af3['undone']['map'](_0x2314e4=>_0x2314e4['toJSON']())}),'fromJSON':_0x5c5f8a=>new _0x5e867f(_0x5c5f8a['done']['map'](_0x391658['fromJSON']),_0x5c5f8a['undone']['map'](_0x391658['fromJSON']))});function _0x55542d(_0x153fab={}){return[_0x1b9fe4,_0x250aa9['of'](_0x153fab),_0x118ca6['domEventHandlers']({'beforeinput'(_0x41abc7,_0x1508df){let _0x477462='historyUndo'==_0x41abc7['inputType']?_0x2d384:'historyRedo'==_0x41abc7['inputType']?_0x37e28d:null;return!!_0x477462&&(_0x41abc7['preventDefault'](),_0x477462(_0x1508df));}})];}function _0x4f0a37(_0x3b5129,_0x565bac){return function({state:_0x43b332,dispatch:_0x5c9a6d}){if(!_0x565bac&&_0x43b332['readOnly'])return!0x1;let _0x3795ad=_0x43b332['field'](_0x1b9fe4,!0x1);if(!_0x3795ad)return!0x1;let _0x40b5b9=_0x3795ad['pop'](_0x3b5129,_0x43b332,_0x565bac);return!!_0x40b5b9&&(_0x5c9a6d(_0x40b5b9),!0x0);};}const _0x2d384=_0x4f0a37(0x0,!0x1),_0x37e28d=_0x4f0a37(0x1,!0x1),_0xfc334d=_0x4f0a37(0x0,!0x0),_0xc1a73d=_0x4f0a37(0x1,!0x0);var _0x391658=class HistEvent{constructor(_0x3dd213,_0x5537c2,_0x1ff1dc,_0x331aa5,_0x57548b){this['changes']=_0x3dd213,this['effects']=_0x5537c2,this['mapped']=_0x1ff1dc,this['startSelection']=_0x331aa5,this['selectionsAfter']=_0x57548b;}['setSelAfter'](_0x513afe){return new HistEvent(this['changes'],this['effects'],this['mapped'],this['startSelection'],_0x513afe);}['toJSON'](){var _0x280d4d,_0x434587,_0x25b599;return{'changes':null===(_0x280d4d=this['changes'])||void 0x0===_0x280d4d?void 0x0:_0x280d4d['toJSON'](),'mapped':null===(_0x434587=this['mapped'])||void 0x0===_0x434587?void 0x0:_0x434587['toJSON'](),'startSelection':null===(_0x25b599=this['startSelection'])||void 0x0===_0x25b599?void 0x0:_0x25b599['toJSON'](),'selectionsAfter':this['selectionsAfter']['map'](_0x1423ba=>_0x1423ba['toJSON']())};}static['fromJSON'](_0x31a3c4){return new HistEvent(_0x31a3c4['changes']&&_0x1b9771['fromJSON'](_0x31a3c4['changes']),[],_0x31a3c4['mapped']&&_0xac57ff['fromJSON'](_0x31a3c4['mapped']),_0x31a3c4['startSelection']&&_0x152831['fromJSON'](_0x31a3c4['startSelection']),_0x31a3c4['selectionsAfter']['map'](_0x152831['fromJSON']));}static['fromTransaction'](_0x474852,_0xff2b53){let _0x4cacf8=tU;for(let _0x26f391 of _0x474852['startState']['facet'](_0x3eb66a)){let _0x3428ab=_0x26f391(_0x474852);_0x3428ab['length']&&(_0x4cacf8=_0x4cacf8['concat'](_0x3428ab));}return!_0x4cacf8['length']&&_0x474852['changes']['empty']?null:new HistEvent(_0x474852['changes']['invert'](_0x474852['startState']['doc']),_0x4cacf8,void 0x0,_0xff2b53||_0x474852['startState']['selection'],tU);}static['selection'](_0x476bba){return new HistEvent(void 0x0,tU,void 0x0,void 0x0,_0x476bba);}};function _0x50b464(_0x3ccbfe,_0x5247e8,_0x3d5a3d,_0x32221b){let _0x9a6129=_0x5247e8+0x1>_0x3d5a3d+0x14?_0x5247e8-_0x3d5a3d-0x1:0x0,_0x21a482=_0x3ccbfe['slice'](_0x9a6129,_0x5247e8);return _0x21a482['push'](_0x32221b),_0x21a482;}function _0x58ab7a(_0x3a9be0,_0x44ce29){return _0x3a9be0['length']?_0x44ce29['length']?_0x3a9be0['concat'](_0x44ce29):_0x3a9be0:_0x44ce29;}const tU=[],_0x576b88=0xc8;function _0x5be00d(_0x1f857b,_0x22b6bc){if(_0x1f857b['length']){let _0x2eecaa=_0x1f857b[_0x1f857b['length']-0x1],_0x412a5b=_0x2eecaa['selectionsAfter']['slice'](Math['max'](0x0,_0x2eecaa['selectionsAfter']['length']-_0x576b88));return _0x412a5b['length']&&_0x412a5b[_0x412a5b['length']-0x1]['eq'](_0x22b6bc)?_0x1f857b:(_0x412a5b['push'](_0x22b6bc),_0x50b464(_0x1f857b,_0x1f857b['length']-0x1,0x3b9aca00,_0x2eecaa['setSelAfter'](_0x412a5b)));}return[_0x391658['selection']([_0x22b6bc])];}function _0xb0f0cb(_0x48a1c4){let _0x4603e0=_0x48a1c4[_0x48a1c4['length']-0x1],_0x47cd8b=_0x48a1c4['slice']();return _0x47cd8b[_0x48a1c4['length']-0x1]=_0x4603e0['setSelAfter'](_0x4603e0['selectionsAfter']['slice'](0x0,_0x4603e0['selectionsAfter']['length']-0x1)),_0x47cd8b;}function _0xcc6c32(_0x40fa6f,_0x159fdc){if(!_0x40fa6f['length'])return _0x40fa6f;let _0x94c747=_0x40fa6f['length'],_0x3854e9=tU;for(;_0x94c747;){let _0x5d2be7=_0x3ae13b(_0x40fa6f[_0x94c747-0x1],_0x159fdc,_0x3854e9);if(_0x5d2be7['changes']&&!_0x5d2be7['changes']['empty']||_0x5d2be7['effects']['length']){let _0x262ab4=_0x40fa6f['slice'](0x0,_0x94c747);return _0x262ab4[_0x94c747-0x1]=_0x5d2be7,_0x262ab4;}_0x159fdc=_0x5d2be7['mapped'],_0x94c747--,_0x3854e9=_0x5d2be7['selectionsAfter'];}return _0x3854e9['length']?[_0x391658['selection'](_0x3854e9)]:tU;}function _0x3ae13b(_0x50e44d,_0x465004,_0x28dfef){let _0x4a8d9c=_0x58ab7a(_0x50e44d['selectionsAfter']['length']?_0x50e44d['selectionsAfter']['map'](_0x7dedda=>_0x7dedda['map'](_0x465004)):tU,_0x28dfef);if(!_0x50e44d['changes'])return _0x391658['selection'](_0x4a8d9c);let _0x395a60=_0x50e44d['changes']['map'](_0x465004),_0xe33398=_0x465004['mapDesc'](_0x50e44d['changes'],!0x0),_0x43adba=_0x50e44d['mapped']?_0x50e44d['mapped']['composeDesc'](_0xe33398):_0xe33398;return new _0x391658(_0x395a60,_0x41e66e['mapEffects'](_0x50e44d['effects'],_0x465004),_0x43adba,_0x50e44d['startSelection']['map'](_0xe33398),_0x4a8d9c);}const _0x468bd1=/^(input\.type|delete)($|\.)/;var _0x5e867f=class HistoryState{constructor(_0x53695e,_0x13d896,_0x257794=0x0,_0x129873=void 0x0){this['done']=_0x53695e,this['undone']=_0x13d896,this['prevTime']=_0x257794,this['prevUserEvent']=_0x129873;}['isolate'](){return this['prevTime']?new HistoryState(this['done'],this['undone']):this;}['addChanges'](_0xe165a0,_0x153b76,_0x3524de,_0x50c0fa,_0x202150){let _0x304023=this['done'],_0x1bbc24=_0x304023[_0x304023['length']-0x1];return _0x304023=_0x1bbc24&&_0x1bbc24['changes']&&!_0x1bbc24['changes']['empty']&&_0xe165a0['changes']&&(!_0x3524de||_0x468bd1['test'](_0x3524de))&&(!_0x1bbc24['selectionsAfter']['length']&&_0x153b76-this['prevTime']<_0x50c0fa['newGroupDelay']&&_0x50c0fa['joinToEvent'](_0x202150,function(_0x2e3b9d,_0x2dd15a){let _0x2c3e55=[],_0x497d03=!0x1;return _0x2e3b9d['iterChangedRanges']((_0x439f9c,t)=>_0x2c3e55['push'](_0x439f9c,t)),_0x2dd15a['iterChangedRanges']((_0x5e0033,_0x1d1be2,_0x1e7b44,t)=>{for(let _0x5a37a9=0x0;_0x5a37a9<_0x2c3e55['length'];){let _0xfe16a4=_0x2c3e55[_0x5a37a9++],_0x1b7428=_0x2c3e55[_0x5a37a9++];t>=_0xfe16a4&&_0x1e7b44<=_0x1b7428&&(_0x497d03=!0x0);}}),_0x497d03;}(_0x1bbc24['changes'],_0xe165a0['changes']))||'input.type.compose'==_0x3524de)?_0x50b464(_0x304023,_0x304023['length']-0x1,_0x50c0fa['minDepth'],new _0x391658(_0xe165a0['changes']['compose'](_0x1bbc24['changes']),_0x58ab7a(_0x41e66e['mapEffects'](_0xe165a0['effects'],_0x1bbc24['changes']),_0x1bbc24['effects']),_0x1bbc24['mapped'],_0x1bbc24['startSelection'],tU)):_0x50b464(_0x304023,_0x304023['length'],_0x50c0fa['minDepth'],_0xe165a0),new HistoryState(_0x304023,tU,_0x153b76,_0x3524de);}['addSelection'](_0x251cfd,_0x21ffb6,_0x2166b7,_0x1e140d){let _0x3666e2=this['done']['length']?this['done'][this['done']['length']-0x1]['selectionsAfter']:tU;return _0x3666e2['length']>0x0&&_0x21ffb6-this['prevTime']<_0x1e140d&&_0x2166b7==this['prevUserEvent']&&_0x2166b7&&/^select($|\.)/['test'](_0x2166b7)&&(_0x5468af=_0x3666e2[_0x3666e2['length']-0x1],_0x57b16a=_0x251cfd,_0x5468af['ranges']['length']==_0x57b16a['ranges']['length']&&0x0===_0x5468af['ranges']['filter']((_0x1377b5,_0x420d0e)=>_0x1377b5['empty']!=_0x57b16a['ranges'][_0x420d0e]['empty'])['length'])?this:new HistoryState(_0x5be00d(this['done'],_0x251cfd),this['undone'],_0x21ffb6,_0x2166b7);var _0x5468af,_0x57b16a;}['addMapping'](_0x1d0297){return new HistoryState(_0xcc6c32(this['done'],_0x1d0297),_0xcc6c32(this['undone'],_0x1d0297),this['prevTime'],this['prevUserEvent']);}['pop'](_0x5cdf3b,_0x4d654b,_0x34185e){let _0x3c9c14=0x0==_0x5cdf3b?this['done']:this['undone'];if(0x0==_0x3c9c14['length'])return null;let _0x45afcf=_0x3c9c14[_0x3c9c14['length']-0x1],_0x33bb8e=_0x45afcf['selectionsAfter'][0x0]||_0x4d654b['selection'];if(_0x34185e&&_0x45afcf['selectionsAfter']['length'])return _0x4d654b['update']({'selection':_0x45afcf['selectionsAfter'][_0x45afcf['selectionsAfter']['length']-0x1],'annotations':_0x4a4efa['of']({'side':_0x5cdf3b,'rest':_0xb0f0cb(_0x3c9c14),'selection':_0x33bb8e}),'userEvent':0x0==_0x5cdf3b?'select.undo':'select.redo','scrollIntoView':!0x0});if(_0x45afcf['changes']){let _0x39554f=0x1==_0x3c9c14['length']?tU:_0x3c9c14['slice'](0x0,_0x3c9c14['length']-0x1);return _0x45afcf['mapped']&&(_0x39554f=_0xcc6c32(_0x39554f,_0x45afcf['mapped'])),_0x4d654b['update']({'changes':_0x45afcf['changes'],'selection':_0x45afcf['startSelection'],'effects':_0x45afcf['effects'],'annotations':_0x4a4efa['of']({'side':_0x5cdf3b,'rest':_0x39554f,'selection':_0x33bb8e}),'filter':!0x1,'userEvent':0x0==_0x5cdf3b?'undo':'redo','scrollIntoView':!0x0});}return null;}};_0x5e867f['empty']=new _0x5e867f(tU,tU);const _0x3885b0=[{'key':'Mod-z','run':_0x2d384,'preventDefault':!0x0},{'key':'Mod-y','mac':'Mod-Shift-z','run':_0x37e28d,'preventDefault':!0x0},{'linux':'Ctrl-Shift-z','run':_0x37e28d,'preventDefault':!0x0},{'key':'Mod-u','run':_0xfc334d,'preventDefault':!0x0},{'key':'Alt-u','mac':'Mod-Shift-u','run':_0xc1a73d,'preventDefault':!0x0}];function _0x456731(_0x1c73a4,_0x34d3b5){return _0x152831['create'](_0x1c73a4['ranges']['map'](_0x34d3b5),_0x1c73a4['mainIndex']);}function _0x3fd5c9(_0x278810,_0x38e743){return _0x278810['update']({'selection':_0x38e743,'scrollIntoView':!0x0,'userEvent':'select'});}function _0x2ca9ea({state:_0x2dd3cf,dispatch:_0x28a78c},_0x1952ea){let _0x3e1cb7=_0x456731(_0x2dd3cf['selection'],_0x1952ea);return!_0x3e1cb7['eq'](_0x2dd3cf['selection'],!0x0)&&(_0x28a78c(_0x3fd5c9(_0x2dd3cf,_0x3e1cb7)),!0x0);}function _0x2b9285(_0x3e704e,_0x1626cb){return _0x152831['cursor'](_0x1626cb?_0x3e704e['to']:_0x3e704e['from']);}function _0x18fe61(_0x524eee,_0x208004){return _0x2ca9ea(_0x524eee,_0x41feb8=>_0x41feb8['empty']?_0x524eee['moveByChar'](_0x41feb8,_0x208004):_0x2b9285(_0x41feb8,_0x208004));}function _0x17a926(_0x25741f){return _0x25741f['textDirectionAt'](_0x25741f['state']['selection']['main']['head'])==_0x48659f['LTR'];}const _0x23e354=_0x5d1497=>_0x18fe61(_0x5d1497,!_0x17a926(_0x5d1497)),_0x374b36=_0x42f4fe=>_0x18fe61(_0x42f4fe,_0x17a926(_0x42f4fe));function _0x2e2c4c(_0x3bf379,_0x84620b){return _0x2ca9ea(_0x3bf379,_0x2587d0=>_0x2587d0['empty']?_0x3bf379['moveByGroup'](_0x2587d0,_0x84620b):_0x2b9285(_0x2587d0,_0x84620b));}function _0x48a88(_0x2d3b51,_0x262773,_0x227359){if(_0x262773['type']['prop'](_0x227359))return!0x0;let _0x4be228=_0x262773['to']-_0x262773['from'];return _0x4be228&&(_0x4be228>0x2||/[^\s,.;:]/['test'](_0x2d3b51['sliceDoc'](_0x262773['from'],_0x262773['to'])))||_0x262773['firstChild'];}function _0x3c38ea(_0x3fe7f2,_0x3df12d,_0x3c3800){let _0x41946a,_0x43f1b3,_0x2cb2e8=_0xcd4dc4(_0x3fe7f2)['resolveInner'](_0x3df12d['head']),_0x5d80f5=_0x3c3800?_0x172440['closedBy']:_0x172440['openedBy'];for(let _0x3993f4=_0x3df12d['head'];;){let _0x2f6fb4=_0x3c3800?_0x2cb2e8['childAfter'](_0x3993f4):_0x2cb2e8['childBefore'](_0x3993f4);if(!_0x2f6fb4)break;_0x48a88(_0x3fe7f2,_0x2f6fb4,_0x5d80f5)?_0x2cb2e8=_0x2f6fb4:_0x3993f4=_0x3c3800?_0x2f6fb4['to']:_0x2f6fb4['from'];}return _0x43f1b3=_0x2cb2e8['type']['prop'](_0x5d80f5)&&(_0x41946a=_0x3c3800?_0x5dcb68(_0x3fe7f2,_0x2cb2e8['from'],0x1):_0x5dcb68(_0x3fe7f2,_0x2cb2e8['to'],-0x1))&&_0x41946a['matched']?_0x3c3800?_0x41946a['end']['to']:_0x41946a['end']['from']:_0x3c3800?_0x2cb2e8['to']:_0x2cb2e8['from'],_0x152831['cursor'](_0x43f1b3,_0x3c3800?-0x1:0x1);}'undefined'!=typeof Intl&&Intl['Segmenter'];function _0x5cb77f(_0x37ee21,_0x3f57dc){return _0x2ca9ea(_0x37ee21,_0x3ad58a=>{if(!_0x3ad58a['empty'])return _0x2b9285(_0x3ad58a,_0x3f57dc);let _0xa11730=_0x37ee21['moveVertically'](_0x3ad58a,_0x3f57dc);return _0xa11730['head']!=_0x3ad58a['head']?_0xa11730:_0x37ee21['moveToLineBoundary'](_0x3ad58a,_0x3f57dc);});}const _0x6f3c78=_0x5b9c63=>_0x5cb77f(_0x5b9c63,!0x1),_0x439397=_0x4f7481=>_0x5cb77f(_0x4f7481,!0x0);function _0x280514(_0x36e715){let _0x32523f,_0x26fd99=_0x36e715['scrollDOM']['clientHeight']<_0x36e715['scrollDOM']['scrollHeight']-0x2,_0x5778a8=0x0,_0x50bc6f=0x0;if(_0x26fd99){for(let _0x49a768 of _0x36e715['state']['facet'](_0x118ca6['scrollMargins'])){let _0x439c92=_0x49a768(_0x36e715);(null==_0x439c92?void 0x0:_0x439c92['top'])&&(_0x5778a8=Math['max'](null==_0x439c92?void 0x0:_0x439c92['top'],_0x5778a8)),(null==_0x439c92?void 0x0:_0x439c92['bottom'])&&(_0x50bc6f=Math['max'](null==_0x439c92?void 0x0:_0x439c92['bottom'],_0x50bc6f));}_0x32523f=_0x36e715['scrollDOM']['clientHeight']-_0x5778a8-_0x50bc6f;}else _0x32523f=(_0x36e715['dom']['ownerDocument']['defaultView']||window)['innerHeight'];return{'marginTop':_0x5778a8,'marginBottom':_0x50bc6f,'selfScroll':_0x26fd99,'height':Math['max'](_0x36e715['defaultLineHeight'],_0x32523f-0x5)};}function _0x12a84d(_0x54eca7,_0x7f3dbd){let _0x37cda5,_0x199dd6=_0x280514(_0x54eca7),{state:_0x1a2938}=_0x54eca7,_0x226bd4=_0x456731(_0x1a2938['selection'],_0xb22c11=>_0xb22c11['empty']?_0x54eca7['moveVertically'](_0xb22c11,_0x7f3dbd,_0x199dd6['height']):_0x2b9285(_0xb22c11,_0x7f3dbd));if(_0x226bd4['eq'](_0x1a2938['selection']))return!0x1;if(_0x199dd6['selfScroll']){let _0x238645=_0x54eca7['coordsAtPos'](_0x1a2938['selection']['main']['head']),_0x243cbb=_0x54eca7['scrollDOM']['getBoundingClientRect'](),_0x4e9c46=_0x243cbb['top']+_0x199dd6['marginTop'],_0x1adfeb=_0x243cbb['bottom']-_0x199dd6['marginBottom'];_0x238645&&_0x238645['top']>_0x4e9c46&&_0x238645['bottom']<_0x1adfeb&&(_0x37cda5=_0x118ca6['scrollIntoView'](_0x226bd4['main']['head'],{'y':'start','yMargin':_0x238645['top']-_0x4e9c46}));}return _0x54eca7['dispatch'](_0x3fd5c9(_0x1a2938,_0x226bd4),{'effects':_0x37cda5}),!0x0;}const _0x28830b=_0x2e06cd=>_0x12a84d(_0x2e06cd,!0x1),_0xcc0fa0=_0x4f23a6=>_0x12a84d(_0x4f23a6,!0x0);function _0x5d020e(_0x157508,_0x440c2c,_0x47ae9a){let _0x181efa=_0x157508['lineBlockAt'](_0x440c2c['head']),_0xdbee02=_0x157508['moveToLineBoundary'](_0x440c2c,_0x47ae9a);if(_0xdbee02['head']==_0x440c2c['head']&&_0xdbee02['head']!=(_0x47ae9a?_0x181efa['to']:_0x181efa['from'])&&(_0xdbee02=_0x157508['moveToLineBoundary'](_0x440c2c,_0x47ae9a,!0x1)),!_0x47ae9a&&_0xdbee02['head']==_0x181efa['from']&&_0x181efa['length']){let _0x4e1c67=/^\s*/['exec'](_0x157508['state']['sliceDoc'](_0x181efa['from'],Math['min'](_0x181efa['from']+0x64,_0x181efa['to'])))[0x0]['length'];_0x4e1c67&&_0x440c2c['head']!=_0x181efa['from']+_0x4e1c67&&(_0xdbee02=_0x152831['cursor'](_0x181efa['from']+_0x4e1c67));}return _0xdbee02;}function _0x2c5a29(_0x18c5a9,_0x22dd62){let _0x3f1b30=_0x456731(_0x18c5a9['state']['selection'],_0x48d037=>{let _0x188728=_0x22dd62(_0x48d037);return _0x152831['range'](_0x48d037['anchor'],_0x188728['head'],_0x188728['goalColumn'],_0x188728['bidiLevel']||void 0x0);});return!_0x3f1b30['eq'](_0x18c5a9['state']['selection'])&&(_0x18c5a9['dispatch'](_0x3fd5c9(_0x18c5a9['state'],_0x3f1b30)),!0x0);}function _0x1e4532(_0x3985b6,_0x12b874){return _0x2c5a29(_0x3985b6,_0x5d9891=>_0x3985b6['moveByChar'](_0x5d9891,_0x12b874));}const _0x2e5f37=_0x450aa6=>_0x1e4532(_0x450aa6,!_0x17a926(_0x450aa6)),_0x44332b=_0x47fd44=>_0x1e4532(_0x47fd44,_0x17a926(_0x47fd44));function _0x1bd439(_0x54663f,_0xa247e1){return _0x2c5a29(_0x54663f,_0x4766da=>_0x54663f['moveByGroup'](_0x4766da,_0xa247e1));}function _0x20486d(_0x40a9b2,_0xa0c4b0){return _0x2c5a29(_0x40a9b2,_0x5c79de=>_0x40a9b2['moveVertically'](_0x5c79de,_0xa0c4b0));}const _0x1f20f0=_0x347b75=>_0x20486d(_0x347b75,!0x1),_0x196542=_0x4a8b1c=>_0x20486d(_0x4a8b1c,!0x0);function _0x185180(_0x1c0255,_0x3096ad){return _0x2c5a29(_0x1c0255,_0x20b365=>_0x1c0255['moveVertically'](_0x20b365,_0x3096ad,_0x280514(_0x1c0255)['height']));}const _0x902c7=_0x54d5cb=>_0x185180(_0x54d5cb,!0x1),_0x264454=_0x3541c3=>_0x185180(_0x3541c3,!0x0),_0x3cc8e7=({state:_0x4f699b,dispatch:_0x25ed8d})=>(_0x25ed8d(_0x3fd5c9(_0x4f699b,{'anchor':0x0})),!0x0),_0x2e253e=({state:_0x4f967b,dispatch:_0x49bf6a})=>(_0x49bf6a(_0x3fd5c9(_0x4f967b,{'anchor':_0x4f967b['doc']['length']})),!0x0),_0x122693=({state:_0x35ae35,dispatch:_0x3cb1ea})=>(_0x3cb1ea(_0x3fd5c9(_0x35ae35,{'anchor':_0x35ae35['selection']['main']['anchor'],'head':0x0})),!0x0),_0xd28b70=({state:_0x5c86f1,dispatch:_0x4cf9f2})=>(_0x4cf9f2(_0x3fd5c9(_0x5c86f1,{'anchor':_0x5c86f1['selection']['main']['anchor'],'head':_0x5c86f1['doc']['length']})),!0x0);function _0x2e0c16(_0x291533,_0x481073){if(_0x291533['state']['readOnly'])return!0x1;let _0x5d3481='delete.selection',{state:_0x4f7554}=_0x291533,_0x23033a=_0x4f7554['changeByRange'](_0x5d82b1=>{let {from:_0x4b5d75,to:_0x1f2cac}=_0x5d82b1;if(_0x4b5d75==_0x1f2cac){let _0x3baa02=_0x481073(_0x5d82b1);_0x3baa02<_0x4b5d75?(_0x5d3481='delete.backward',_0x3baa02=_0x28d795(_0x291533,_0x3baa02,!0x1)):_0x3baa02>_0x4b5d75&&(_0x5d3481='delete.forward',_0x3baa02=_0x28d795(_0x291533,_0x3baa02,!0x0)),_0x4b5d75=Math['min'](_0x4b5d75,_0x3baa02),_0x1f2cac=Math['max'](_0x1f2cac,_0x3baa02);}else _0x4b5d75=_0x28d795(_0x291533,_0x4b5d75,!0x1),_0x1f2cac=_0x28d795(_0x291533,_0x1f2cac,!0x0);return _0x4b5d75==_0x1f2cac?{'range':_0x5d82b1}:{'changes':{'from':_0x4b5d75,'to':_0x1f2cac},'range':_0x152831['cursor'](_0x4b5d75,_0x4b5d75<_0x5d82b1['head']?-0x1:0x1)};});return!_0x23033a['changes']['empty']&&(_0x291533['dispatch'](_0x4f7554['update'](_0x23033a,{'scrollIntoView':!0x0,'userEvent':_0x5d3481,'effects':'delete.selection'==_0x5d3481?_0x118ca6['announce']['of'](_0x4f7554['phrase']('Selection\x20deleted')):void 0x0})),!0x0);}function _0x28d795(_0x54ebc5,_0x593bb1,_0x307f6b){if(_0x54ebc5 instanceof _0x118ca6){for(let _0x3837c4 of _0x54ebc5['state']['facet'](_0x118ca6['atomicRanges'])['map'](_0x33de84=>_0x33de84(_0x54ebc5)))_0x3837c4['between'](_0x593bb1,_0x593bb1,(_0x68a830,_0x5a29bb)=>{_0x68a830<_0x593bb1&&_0x5a29bb>_0x593bb1&&(_0x593bb1=_0x307f6b?_0x5a29bb:_0x68a830);});}return _0x593bb1;}const _0x28ec67=(_0x3da5b3,_0x34b07d,_0x1bec82)=>_0x2e0c16(_0x3da5b3,_0x18c5cd=>{let _0x45104b,_0x5d2fc6,_0x39c78e=_0x18c5cd['from'],{state:_0x27c8cb}=_0x3da5b3,_0x57993c=_0x27c8cb['doc']['lineAt'](_0x39c78e);if(_0x1bec82&&!_0x34b07d&&_0x39c78e>_0x57993c['from']&&_0x39c78e<_0x57993c['from']+0xc8&&!/[^ \t]/['test'](_0x45104b=_0x57993c['text']['slice'](0x0,_0x39c78e-_0x57993c['from']))){if('\x09'==_0x45104b[_0x45104b['length']-0x1])return _0x39c78e-0x1;let _0x4ca742=_0x144e8e(_0x45104b,_0x27c8cb['tabSize'])%_0xf1877a(_0x27c8cb)||_0xf1877a(_0x27c8cb);for(let _0x41c339=0x0;_0x41c339<_0x4ca742&&'\x20'==_0x45104b[_0x45104b['length']-0x1-_0x41c339];_0x41c339++)_0x39c78e--;_0x5d2fc6=_0x39c78e;}else _0x5d2fc6=_0x4b59d4(_0x57993c['text'],_0x39c78e-_0x57993c['from'],_0x34b07d,_0x34b07d)+_0x57993c['from'],_0x5d2fc6==_0x39c78e&&_0x57993c['number']!=(_0x34b07d?_0x27c8cb['doc']['lines']:0x1)?_0x5d2fc6+=_0x34b07d?0x1:-0x1:!_0x34b07d&&/[\ufe00-\ufe0f]/['test'](_0x57993c['text']['slice'](_0x5d2fc6-_0x57993c['from'],_0x39c78e-_0x57993c['from']))&&(_0x5d2fc6=_0x4b59d4(_0x57993c['text'],_0x5d2fc6-_0x57993c['from'],!0x1,!0x1)+_0x57993c['from']);return _0x5d2fc6;}),_0x48e85e=_0x1793a6=>_0x28ec67(_0x1793a6,!0x1,!0x0),_0xf17ff0=_0x820412=>_0x28ec67(_0x820412,!0x0,!0x1),_0x3649cb=(_0x167043,_0x52ef76)=>_0x2e0c16(_0x167043,_0x3c916c=>{let _0xba4484=_0x3c916c['head'],{state:_0x5b25af}=_0x167043,_0x586b1d=_0x5b25af['doc']['lineAt'](_0xba4484),_0x20302f=_0x5b25af['charCategorizer'](_0xba4484);for(let _0x4bdc97=null;;){if(_0xba4484==(_0x52ef76?_0x586b1d['to']:_0x586b1d['from'])){_0xba4484==_0x3c916c['head']&&_0x586b1d['number']!=(_0x52ef76?_0x5b25af['doc']['lines']:0x1)&&(_0xba4484+=_0x52ef76?0x1:-0x1);break;}let _0x59e14=_0x4b59d4(_0x586b1d['text'],_0xba4484-_0x586b1d['from'],_0x52ef76)+_0x586b1d['from'],_0x4bb3be=_0x586b1d['text']['slice'](Math['min'](_0xba4484,_0x59e14)-_0x586b1d['from'],Math['max'](_0xba4484,_0x59e14)-_0x586b1d['from']),_0x4b03d2=_0x20302f(_0x4bb3be);if(null!=_0x4bdc97&&_0x4b03d2!=_0x4bdc97)break;'\x20'==_0x4bb3be&&_0xba4484==_0x3c916c['head']||(_0x4bdc97=_0x4b03d2),_0xba4484=_0x59e14;}return _0xba4484;}),_0x3eeebf=_0x4f9311=>_0x3649cb(_0x4f9311,!0x1);function _0x54efff(_0x27581e){let _0xc551fa=[],_0x196a66=-0x1;for(let _0xebb6ee of _0x27581e['selection']['ranges']){let _0x87d755=_0x27581e['doc']['lineAt'](_0xebb6ee['from']),_0xbb3697=_0x27581e['doc']['lineAt'](_0xebb6ee['to']);if(_0xebb6ee['empty']||_0xebb6ee['to']!=_0xbb3697['from']||(_0xbb3697=_0x27581e['doc']['lineAt'](_0xebb6ee['to']-0x1)),_0x196a66>=_0x87d755['number']){let _0x1603e3=_0xc551fa[_0xc551fa['length']-0x1];_0x1603e3['to']=_0xbb3697['to'],_0x1603e3['ranges']['push'](_0xebb6ee);}else _0xc551fa['push']({'from':_0x87d755['from'],'to':_0xbb3697['to'],'ranges':[_0xebb6ee]});_0x196a66=_0xbb3697['number']+0x1;}return _0xc551fa;}function _0x35b2f2(_0x2c53db,_0x3e81f5,_0x317c5e){if(_0x2c53db['readOnly'])return!0x1;let _0x52c5bd=[],_0x2e7243=[];for(let _0x4adebc of _0x54efff(_0x2c53db)){if(_0x317c5e?_0x4adebc['to']==_0x2c53db['doc']['length']:0x0==_0x4adebc['from'])continue;let _0x386780=_0x2c53db['doc']['lineAt'](_0x317c5e?_0x4adebc['to']+0x1:_0x4adebc['from']-0x1),_0x3d3dda=_0x386780['length']+0x1;if(_0x317c5e){_0x52c5bd['push']({'from':_0x4adebc['to'],'to':_0x386780['to']},{'from':_0x4adebc['from'],'insert':_0x386780['text']+_0x2c53db['lineBreak']});for(let _0x5e1ecb of _0x4adebc['ranges'])_0x2e7243['push'](_0x152831['range'](Math['min'](_0x2c53db['doc']['length'],_0x5e1ecb['anchor']+_0x3d3dda),Math['min'](_0x2c53db['doc']['length'],_0x5e1ecb['head']+_0x3d3dda)));}else{_0x52c5bd['push']({'from':_0x386780['from'],'to':_0x4adebc['from']},{'from':_0x4adebc['to'],'insert':_0x2c53db['lineBreak']+_0x386780['text']});for(let _0x59148c of _0x4adebc['ranges'])_0x2e7243['push'](_0x152831['range'](_0x59148c['anchor']-_0x3d3dda,_0x59148c['head']-_0x3d3dda));}}return!!_0x52c5bd['length']&&(_0x3e81f5(_0x2c53db['update']({'changes':_0x52c5bd,'scrollIntoView':!0x0,'selection':_0x152831['create'](_0x2e7243,_0x2c53db['selection']['mainIndex']),'userEvent':'move.line'})),!0x0);}function _0xc7ac96(_0x361566,_0x1e3a4a,_0x46a28c){if(_0x361566['readOnly'])return!0x1;let _0x46c390=[];for(let _0xb9adac of _0x54efff(_0x361566))_0x46a28c?_0x46c390['push']({'from':_0xb9adac['from'],'insert':_0x361566['doc']['slice'](_0xb9adac['from'],_0xb9adac['to'])+_0x361566['lineBreak']}):_0x46c390['push']({'from':_0xb9adac['to'],'insert':_0x361566['lineBreak']+_0x361566['doc']['slice'](_0xb9adac['from'],_0xb9adac['to'])});return _0x1e3a4a(_0x361566['update']({'changes':_0x46c390,'scrollIntoView':!0x0,'userEvent':'input.copyline'})),!0x0;}const _0x4649a8=_0x3e6bf1(!0x1),tV=_0x3e6bf1(!0x0);function _0x3e6bf1(_0x2ee5cd){return({state:_0x24cd7c,dispatch:_0x553080})=>{if(_0x24cd7c['readOnly'])return!0x1;let _0x583ed9=_0x24cd7c['changeByRange'](_0x74b00c=>{let {from:_0x398bf2,to:_0x11f2af}=_0x74b00c,_0x256762=_0x24cd7c['doc']['lineAt'](_0x398bf2),_0x24b185=!_0x2ee5cd&&_0x398bf2==_0x11f2af&&function(_0x3d6f34,_0x5e695b){if(/\(\)|\[\]|\{\}/['test'](_0x3d6f34['sliceDoc'](_0x5e695b-0x1,_0x5e695b+0x1)))return{'from':_0x5e695b,'to':_0x5e695b};let _0x13fd24,_0x2a7374=_0xcd4dc4(_0x3d6f34)['resolveInner'](_0x5e695b),_0x5ea16a=_0x2a7374['childBefore'](_0x5e695b),_0x385f08=_0x2a7374['childAfter'](_0x5e695b);return _0x5ea16a&&_0x385f08&&_0x5ea16a['to']<=_0x5e695b&&_0x385f08['from']>=_0x5e695b&&(_0x13fd24=_0x5ea16a['type']['prop'](_0x172440['closedBy']))&&_0x13fd24['indexOf'](_0x385f08['name'])>-0x1&&_0x3d6f34['doc']['lineAt'](_0x5ea16a['to'])['from']==_0x3d6f34['doc']['lineAt'](_0x385f08['from'])['from']&&!/\S/['test'](_0x3d6f34['sliceDoc'](_0x5ea16a['to'],_0x385f08['from']))?{'from':_0x5ea16a['to'],'to':_0x385f08['from']}:null;}(_0x24cd7c,_0x398bf2);_0x2ee5cd&&(_0x398bf2=_0x11f2af=(_0x11f2af<=_0x256762['to']?_0x256762:_0x24cd7c['doc']['lineAt'](_0x11f2af))['to']);let _0x1c021c=new _0x3a0fa3(_0x24cd7c,{'simulateBreak':_0x398bf2,'simulateDoubleBreak':!!_0x24b185}),_0xf63feb=_0x5338db(_0x1c021c,_0x398bf2);for(null==_0xf63feb&&(_0xf63feb=_0x144e8e(/^\s*/['exec'](_0x24cd7c['doc']['lineAt'](_0x398bf2)['text'])[0x0],_0x24cd7c['tabSize']));_0x11f2af<_0x256762['to']&&/\s/['test'](_0x256762['text'][_0x11f2af-_0x256762['from']]);)_0x11f2af++;_0x24b185?{from:_0x398bf2,to:_0x11f2af}=_0x24b185:_0x398bf2>_0x256762['from']&&_0x398bf2<_0x256762['from']+0x64&&!/\S/['test'](_0x256762['text']['slice'](0x0,_0x398bf2))&&(_0x398bf2=_0x256762['from']);let _0x2a7201=['',_0x5876cb(_0x24cd7c,_0xf63feb)];return _0x24b185&&_0x2a7201['push'](_0x5876cb(_0x24cd7c,_0x1c021c['lineIndent'](_0x256762['from'],-0x1))),{'changes':{'from':_0x398bf2,'to':_0x11f2af,'insert':_0x3de5aa['of'](_0x2a7201)},'range':_0x152831['cursor'](_0x398bf2+0x1+_0x2a7201[0x1]['length'])};});return _0x553080(_0x24cd7c['update'](_0x583ed9,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;};}function _0x45c299(_0x49d863,_0x240ec3){let _0x388569=-0x1;return _0x49d863['changeByRange'](_0x1e5d4d=>{let _0x4b139b=[];for(let _0x498c58=_0x1e5d4d['from'];_0x498c58<=_0x1e5d4d['to'];){let _0x1bdd77=_0x49d863['doc']['lineAt'](_0x498c58);_0x1bdd77['number']>_0x388569&&(_0x1e5d4d['empty']||_0x1e5d4d['to']>_0x1bdd77['from'])&&(_0x240ec3(_0x1bdd77,_0x4b139b,_0x1e5d4d),_0x388569=_0x1bdd77['number']),_0x498c58=_0x1bdd77['to']+0x1;}let _0x4ee237=_0x49d863['changes'](_0x4b139b);return{'changes':_0x4b139b,'range':_0x152831['range'](_0x4ee237['mapPos'](_0x1e5d4d['anchor'],0x1),_0x4ee237['mapPos'](_0x1e5d4d['head'],0x1))};});}const _0x456b6c=({state:_0xdcda53,dispatch:_0x1a53c8})=>!_0xdcda53['readOnly']&&(_0x1a53c8(_0xdcda53['update'](_0x45c299(_0xdcda53,(_0x16c385,_0x1fd297)=>{_0x1fd297['push']({'from':_0x16c385['from'],'insert':_0xdcda53['facet'](_0x53d31a)});}),{'userEvent':'input.indent'})),!0x0),_0x384eb4=({state:_0x4d9e1c,dispatch:_0x31efd3})=>!_0x4d9e1c['readOnly']&&(_0x31efd3(_0x4d9e1c['update'](_0x45c299(_0x4d9e1c,(_0x58922e,_0x3c3be3)=>{let _0x210ee5=/^\s*/['exec'](_0x58922e['text'])[0x0];if(!_0x210ee5)return;let _0x22c126=_0x144e8e(_0x210ee5,_0x4d9e1c['tabSize']),_0x40c400=0x0,_0x3e127f=_0x5876cb(_0x4d9e1c,Math['max'](0x0,_0x22c126-_0xf1877a(_0x4d9e1c)));for(;_0x40c400<_0x210ee5['length']&&_0x40c400<_0x3e127f['length']&&_0x210ee5['charCodeAt'](_0x40c400)==_0x3e127f['charCodeAt'](_0x40c400);)_0x40c400++;_0x3c3be3['push']({'from':_0x58922e['from']+_0x40c400,'to':_0x58922e['from']+_0x210ee5['length'],'insert':_0x3e127f['slice'](_0x40c400)});}),{'userEvent':'delete.dedent'})),!0x0),_0xaed38d=_0x185095=>(_0x185095['setTabFocusMode'](),!0x0),_0x13f470=[{'key':'Ctrl-b','run':_0x23e354,'shift':_0x2e5f37,'preventDefault':!0x0},{'key':'Ctrl-f','run':_0x374b36,'shift':_0x44332b},{'key':'Ctrl-p','run':_0x6f3c78,'shift':_0x1f20f0},{'key':'Ctrl-n','run':_0x439397,'shift':_0x196542},{'key':'Ctrl-a','run':_0x4fd3a5=>_0x2ca9ea(_0x4fd3a5,_0x2a8d42=>_0x152831['cursor'](_0x4fd3a5['lineBlockAt'](_0x2a8d42['head'])['from'],0x1)),'shift':_0x4f55b3=>_0x2c5a29(_0x4f55b3,_0x16512e=>_0x152831['cursor'](_0x4f55b3['lineBlockAt'](_0x16512e['head'])['from']))},{'key':'Ctrl-e','run':_0x2660c2=>_0x2ca9ea(_0x2660c2,_0x291f1c=>_0x152831['cursor'](_0x2660c2['lineBlockAt'](_0x291f1c['head'])['to'],-0x1)),'shift':_0x28c855=>_0x2c5a29(_0x28c855,_0x20acb7=>_0x152831['cursor'](_0x28c855['lineBlockAt'](_0x20acb7['head'])['to']))},{'key':'Ctrl-d','run':_0xf17ff0},{'key':'Ctrl-h','run':_0x48e85e},{'key':'Ctrl-k','run':_0x15b3c0=>_0x2e0c16(_0x15b3c0,_0x49d19c=>{let _0x2e8dd1=_0x15b3c0['lineBlockAt'](_0x49d19c['head'])['to'];return _0x49d19c['head']<_0x2e8dd1?_0x2e8dd1:Math['min'](_0x15b3c0['state']['doc']['length'],_0x49d19c['head']+0x1);})},{'key':'Ctrl-Alt-h','run':_0x3eeebf},{'key':'Ctrl-o','run':({state:_0x599abf,dispatch:_0x506c81})=>{if(_0x599abf['readOnly'])return!0x1;let _0x204e61=_0x599abf['changeByRange'](_0x475a85=>({'changes':{'from':_0x475a85['from'],'to':_0x475a85['to'],'insert':_0x3de5aa['of'](['',''])},'range':_0x152831['cursor'](_0x475a85['from'])}));return _0x506c81(_0x599abf['update'](_0x204e61,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0;}},{'key':'Ctrl-t','run':({state:_0x2cc5ef,dispatch:_0x37495d})=>{if(_0x2cc5ef['readOnly'])return!0x1;let _0x3cb377=_0x2cc5ef['changeByRange'](_0x2a981d=>{if(!_0x2a981d['empty']||0x0==_0x2a981d['from']||_0x2a981d['from']==_0x2cc5ef['doc']['length'])return{'range':_0x2a981d};let _0x54d096=_0x2a981d['from'],_0x4be816=_0x2cc5ef['doc']['lineAt'](_0x54d096),_0x3e5949=_0x54d096==_0x4be816['from']?_0x54d096-0x1:_0x4b59d4(_0x4be816['text'],_0x54d096-_0x4be816['from'],!0x1)+_0x4be816['from'],_0x5f40a8=_0x54d096==_0x4be816['to']?_0x54d096+0x1:_0x4b59d4(_0x4be816['text'],_0x54d096-_0x4be816['from'],!0x0)+_0x4be816['from'];return{'changes':{'from':_0x3e5949,'to':_0x5f40a8,'insert':_0x2cc5ef['doc']['slice'](_0x54d096,_0x5f40a8)['append'](_0x2cc5ef['doc']['slice'](_0x3e5949,_0x54d096))},'range':_0x152831['cursor'](_0x5f40a8)};});return!_0x3cb377['changes']['empty']&&(_0x37495d(_0x2cc5ef['update'](_0x3cb377,{'scrollIntoView':!0x0,'userEvent':'move.character'})),!0x0);}},{'key':'Ctrl-v','run':_0xcc0fa0}],_0x33b67b=[{'key':'ArrowLeft','run':_0x23e354,'shift':_0x2e5f37,'preventDefault':!0x0},{'key':'Mod-ArrowLeft','mac':'Alt-ArrowLeft','run':_0x44c3fd=>_0x2e2c4c(_0x44c3fd,!_0x17a926(_0x44c3fd)),'shift':_0x465000=>_0x1bd439(_0x465000,!_0x17a926(_0x465000)),'preventDefault':!0x0},{'mac':'Cmd-ArrowLeft','run':_0x55c348=>_0x2ca9ea(_0x55c348,_0xf9149c=>_0x5d020e(_0x55c348,_0xf9149c,!_0x17a926(_0x55c348))),'shift':_0x16ee66=>_0x2c5a29(_0x16ee66,_0x1e1782=>_0x5d020e(_0x16ee66,_0x1e1782,!_0x17a926(_0x16ee66))),'preventDefault':!0x0},{'key':'ArrowRight','run':_0x374b36,'shift':_0x44332b,'preventDefault':!0x0},{'key':'Mod-ArrowRight','mac':'Alt-ArrowRight','run':_0x255278=>_0x2e2c4c(_0x255278,_0x17a926(_0x255278)),'shift':_0x5356a4=>_0x1bd439(_0x5356a4,_0x17a926(_0x5356a4)),'preventDefault':!0x0},{'mac':'Cmd-ArrowRight','run':_0x24522d=>_0x2ca9ea(_0x24522d,_0xa24fbf=>_0x5d020e(_0x24522d,_0xa24fbf,_0x17a926(_0x24522d))),'shift':_0x2d10ae=>_0x2c5a29(_0x2d10ae,_0x3fcbb2=>_0x5d020e(_0x2d10ae,_0x3fcbb2,_0x17a926(_0x2d10ae))),'preventDefault':!0x0},{'key':'ArrowUp','run':_0x6f3c78,'shift':_0x1f20f0,'preventDefault':!0x0},{'mac':'Cmd-ArrowUp','run':_0x3cc8e7,'shift':_0x122693},{'mac':'Ctrl-ArrowUp','run':_0x28830b,'shift':_0x902c7},{'key':'ArrowDown','run':_0x439397,'shift':_0x196542,'preventDefault':!0x0},{'mac':'Cmd-ArrowDown','run':_0x2e253e,'shift':_0xd28b70},{'mac':'Ctrl-ArrowDown','run':_0xcc0fa0,'shift':_0x264454},{'key':'PageUp','run':_0x28830b,'shift':_0x902c7},{'key':'PageDown','run':_0xcc0fa0,'shift':_0x264454},{'key':'Home','run':_0x3e9637=>_0x2ca9ea(_0x3e9637,_0x20e41b=>_0x5d020e(_0x3e9637,_0x20e41b,!0x1)),'shift':_0x3ade85=>_0x2c5a29(_0x3ade85,_0x17349c=>_0x5d020e(_0x3ade85,_0x17349c,!0x1)),'preventDefault':!0x0},{'key':'Mod-Home','run':_0x3cc8e7,'shift':_0x122693},{'key':'End','run':_0x1fab48=>_0x2ca9ea(_0x1fab48,_0x2fe182=>_0x5d020e(_0x1fab48,_0x2fe182,!0x0)),'shift':_0x28ff5f=>_0x2c5a29(_0x28ff5f,_0x3e1b6e=>_0x5d020e(_0x28ff5f,_0x3e1b6e,!0x0)),'preventDefault':!0x0},{'key':'Mod-End','run':_0x2e253e,'shift':_0xd28b70},{'key':'Enter','run':_0x4649a8,'shift':_0x4649a8},{'key':'Mod-a','run':({state:_0x1a2646,dispatch:_0x2d09be})=>(_0x2d09be(_0x1a2646['update']({'selection':{'anchor':0x0,'head':_0x1a2646['doc']['length']},'userEvent':'select'})),!0x0)},{'key':'Backspace','run':_0x48e85e,'shift':_0x48e85e},{'key':'Delete','run':_0xf17ff0},{'key':'Mod-Backspace','mac':'Alt-Backspace','run':_0x3eeebf},{'key':'Mod-Delete','mac':'Alt-Delete','run':_0x3bda8f=>_0x3649cb(_0x3bda8f,!0x0)},{'mac':'Mod-Backspace','run':_0x37bc2c=>_0x2e0c16(_0x37bc2c,_0x68764c=>{let _0xdcfc71=_0x37bc2c['moveToLineBoundary'](_0x68764c,!0x1)['head'];return _0x68764c['head']>_0xdcfc71?_0xdcfc71:Math['max'](0x0,_0x68764c['head']-0x1);})},{'mac':'Mod-Delete','run':_0x43f72d=>_0x2e0c16(_0x43f72d,_0x3a3ac8=>{let _0x2afdb9=_0x43f72d['moveToLineBoundary'](_0x3a3ac8,!0x0)['head'];return _0x3a3ac8['head']<_0x2afdb9?_0x2afdb9:Math['min'](_0x43f72d['state']['doc']['length'],_0x3a3ac8['head']+0x1);})}]['concat'](_0x13f470['map'](_0x57f897=>({'mac':_0x57f897['key'],'run':_0x57f897['run'],'shift':_0x57f897['shift']}))),_0x45ee79=[{'key':'Alt-ArrowLeft','mac':'Ctrl-ArrowLeft','run':_0x4fcdef=>_0x2ca9ea(_0x4fcdef,_0x4bcd90=>_0x3c38ea(_0x4fcdef['state'],_0x4bcd90,!_0x17a926(_0x4fcdef))),'shift':_0x2f8c50=>_0x2c5a29(_0x2f8c50,_0x169081=>_0x3c38ea(_0x2f8c50['state'],_0x169081,!_0x17a926(_0x2f8c50)))},{'key':'Alt-ArrowRight','mac':'Ctrl-ArrowRight','run':_0xd10e48=>_0x2ca9ea(_0xd10e48,_0x41cf77=>_0x3c38ea(_0xd10e48['state'],_0x41cf77,_0x17a926(_0xd10e48))),'shift':_0x1e1be3=>_0x2c5a29(_0x1e1be3,_0x1a4937=>_0x3c38ea(_0x1e1be3['state'],_0x1a4937,_0x17a926(_0x1e1be3)))},{'key':'Alt-ArrowUp','run':({state:_0x2ae91d,dispatch:_0x381aa2})=>_0x35b2f2(_0x2ae91d,_0x381aa2,!0x1)},{'key':'Shift-Alt-ArrowUp','run':({state:_0x503a15,dispatch:_0x1e6066})=>_0xc7ac96(_0x503a15,_0x1e6066,!0x1)},{'key':'Alt-ArrowDown','run':({state:_0x4d3464,dispatch:_0x261393})=>_0x35b2f2(_0x4d3464,_0x261393,!0x0)},{'key':'Shift-Alt-ArrowDown','run':({state:_0x1497f2,dispatch:_0x5adbcb})=>_0xc7ac96(_0x1497f2,_0x5adbcb,!0x0)},{'key':'Escape','run':({state:_0x5b4e52,dispatch:_0x5b9159})=>{let _0x2da018=_0x5b4e52['selection'],_0x281691=null;return _0x2da018['ranges']['length']>0x1?_0x281691=_0x152831['create']([_0x2da018['main']]):_0x2da018['main']['empty']||(_0x281691=_0x152831['create']([_0x152831['cursor'](_0x2da018['main']['head'])])),!!_0x281691&&(_0x5b9159(_0x3fd5c9(_0x5b4e52,_0x281691)),!0x0);}},{'key':'Mod-Enter','run':tV},{'key':'Alt-l','mac':'Ctrl-l','run':({state:_0xe00449,dispatch:_0x1e5abe})=>{let _0x4ce80b=_0x54efff(_0xe00449)['map'](({from:_0x449d7a,to:_0x3cbf45})=>_0x152831['range'](_0x449d7a,Math['min'](_0x3cbf45+0x1,_0xe00449['doc']['length'])));return _0x1e5abe(_0xe00449['update']({'selection':_0x152831['create'](_0x4ce80b),'userEvent':'select'})),!0x0;}},{'key':'Mod-i','run':({state:_0xe8a7c0,dispatch:_0x5c35a8})=>{let _0x32a769=_0x456731(_0xe8a7c0['selection'],_0x5bb51f=>{let _0x5f452d=_0xcd4dc4(_0xe8a7c0),_0x59f89e=_0x5f452d['resolveStack'](_0x5bb51f['from'],0x1);if(_0x5bb51f['empty']){let _0x3595cf=_0x5f452d['resolveStack'](_0x5bb51f['from'],-0x1);_0x3595cf['node']['from']>=_0x59f89e['node']['from']&&_0x3595cf['node']['to']<=_0x59f89e['node']['to']&&(_0x59f89e=_0x3595cf);}for(let _0x45e821=_0x59f89e;_0x45e821;_0x45e821=_0x45e821['next']){let {node:_0x5d7971}=_0x45e821;if((_0x5d7971['from']<_0x5bb51f['from']&&_0x5d7971['to']>=_0x5bb51f['to']||_0x5d7971['to']>_0x5bb51f['to']&&_0x5d7971['from']<=_0x5bb51f['from'])&&_0x45e821['next'])return _0x152831['range'](_0x5d7971['to'],_0x5d7971['from']);}return _0x5bb51f;});return!_0x32a769['eq'](_0xe8a7c0['selection'])&&(_0x5c35a8(_0x3fd5c9(_0xe8a7c0,_0x32a769)),!0x0);},'preventDefault':!0x0},{'key':'Mod-[','run':_0x384eb4},{'key':'Mod-]','run':_0x456b6c},{'key':'Mod-Alt-\x5c','run':({state:_0x58a073,dispatch:_0x249ca0})=>{if(_0x58a073['readOnly'])return!0x1;let _0x405b4a=Object['create'](null),_0x2ff8e7=new _0x3a0fa3(_0x58a073,{'overrideIndentation':_0x43a1f2=>{let _0x3461da=_0x405b4a[_0x43a1f2];return null==_0x3461da?-0x1:_0x3461da;}}),_0x3af961=_0x45c299(_0x58a073,(_0x405fba,_0x494174,_0x5dcd7f)=>{let _0x43895f=_0x5338db(_0x2ff8e7,_0x405fba['from']);if(null==_0x43895f)return;/\S/['test'](_0x405fba['text'])||(_0x43895f=0x0);let _0x2a3b2d=/^\s*/['exec'](_0x405fba['text'])[0x0],_0x2574ca=_0x5876cb(_0x58a073,_0x43895f);(_0x2a3b2d!=_0x2574ca||_0x5dcd7f['from']<_0x405fba['from']+_0x2a3b2d['length'])&&(_0x405b4a[_0x405fba['from']]=_0x43895f,_0x494174['push']({'from':_0x405fba['from'],'to':_0x405fba['from']+_0x2a3b2d['length'],'insert':_0x2574ca}));});return _0x3af961['changes']['empty']||_0x249ca0(_0x58a073['update'](_0x3af961,{'userEvent':'indent'})),!0x0;}},{'key':'Shift-Mod-k','run':_0x699550=>{if(_0x699550['state']['readOnly'])return!0x1;let {state:_0x8b4eb7}=_0x699550,_0x17d1d8=_0x8b4eb7['changes'](_0x54efff(_0x8b4eb7)['map'](({from:_0x595e6a,to:_0x44bb24})=>(_0x595e6a>0x0?_0x595e6a--:_0x44bb24<_0x8b4eb7['doc']['length']&&_0x44bb24++,{'from':_0x595e6a,'to':_0x44bb24}))),_0x1e026f=_0x456731(_0x8b4eb7['selection'],_0x48f0fc=>{let _0x10805a;if(_0x699550['lineWrapping']){let _0x127389=_0x699550['lineBlockAt'](_0x48f0fc['head']),_0x56e4f8=_0x699550['coordsAtPos'](_0x48f0fc['head'],_0x48f0fc['assoc']||0x1);_0x56e4f8&&(_0x10805a=_0x127389['bottom']+_0x699550['documentTop']-_0x56e4f8['bottom']+_0x699550['defaultLineHeight']/0x2);}return _0x699550['moveVertically'](_0x48f0fc,!0x0,_0x10805a);})['map'](_0x17d1d8);return _0x699550['dispatch']({'changes':_0x17d1d8,'selection':_0x1e026f,'scrollIntoView':!0x0,'userEvent':'delete.line'}),!0x0;}},{'key':'Shift-Mod-\x5c','run':({state:_0x22287e,dispatch:_0x5d22b4})=>function(_0x8aaecf,_0x1c7a51,_0x57f69d){let _0xe47ae2=!0x1,_0x2fe1c8=_0x456731(_0x8aaecf['selection'],_0x46e4f3=>{let _0x19e759=_0x5dcb68(_0x8aaecf,_0x46e4f3['head'],-0x1)||_0x5dcb68(_0x8aaecf,_0x46e4f3['head'],0x1)||_0x46e4f3['head']>0x0&&_0x5dcb68(_0x8aaecf,_0x46e4f3['head']-0x1,0x1)||_0x46e4f3['head']<_0x8aaecf['doc']['length']&&_0x5dcb68(_0x8aaecf,_0x46e4f3['head']+0x1,-0x1);if(!_0x19e759||!_0x19e759['end'])return _0x46e4f3;_0xe47ae2=!0x0;let _0x4ab380=_0x19e759['start']['from']==_0x46e4f3['head']?_0x19e759['end']['to']:_0x19e759['end']['from'];return _0x57f69d?_0x152831['range'](_0x46e4f3['anchor'],_0x4ab380):_0x152831['cursor'](_0x4ab380);});return!!_0xe47ae2&&(_0x1c7a51(_0x3fd5c9(_0x8aaecf,_0x2fe1c8)),!0x0);}(_0x22287e,_0x5d22b4,!0x1)},{'key':'Mod-/','run':_0x502d48=>{let {state:_0x5d7378}=_0x502d48,_0x1d5d98=_0x5d7378['doc']['lineAt'](_0x5d7378['selection']['main']['from']),_0x592ec9=_0x386090(_0x502d48['state'],_0x1d5d98['from']);return _0x592ec9['line']?_0x30c072(_0x502d48):!!_0x592ec9['block']&&_0x22f4ff(_0x502d48);}},{'key':'Alt-A','run':_0x29d56e},{'key':'Ctrl-m','mac':'Shift-Alt-m','run':_0xaed38d}]['concat'](_0x33b67b);var _0x2cdebe=class{constructor(_0x3d817d,_0x26d2af,_0x4e9891,_0x65bd78){this['state']=_0x3d817d,this['pos']=_0x26d2af,this['explicit']=_0x4e9891,this['view']=_0x65bd78,this['abortListeners']=[],this['abortOnDocChange']=!0x1;}['tokenBefore'](_0x4be114){let _0xc465e3=_0xcd4dc4(this['state'])['resolveInner'](this['pos'],-0x1);for(;_0xc465e3&&_0x4be114['indexOf'](_0xc465e3['name'])<0x0;)_0xc465e3=_0xc465e3['parent'];return _0xc465e3?{'from':_0xc465e3['from'],'to':this['pos'],'text':this['state']['sliceDoc'](_0xc465e3['from'],this['pos']),'type':_0xc465e3['type']}:null;}['matchBefore'](_0x4ef970){let _0x6989bd=this['state']['doc']['lineAt'](this['pos']),_0x24b0ff=Math['max'](_0x6989bd['from'],this['pos']-0xfa),_0x2275ca=_0x6989bd['text']['slice'](_0x24b0ff-_0x6989bd['from'],this['pos']-_0x6989bd['from']),_0x281729=_0x2275ca['search'](_0x4a70fd(_0x4ef970,!0x1));return _0x281729<0x0?null:{'from':_0x24b0ff+_0x281729,'to':this['pos'],'text':_0x2275ca['slice'](_0x281729)};}get['aborted'](){return null==this['abortListeners'];}['addEventListener'](_0x282fc6,_0x3c755b,_0x483c74){'abort'==_0x282fc6&&this['abortListeners']&&(this['abortListeners']['push'](_0x3c755b),_0x483c74&&_0x483c74['onDocChange']&&(this['abortOnDocChange']=!0x0));}};function _0x3e69f6(_0x4e8c1a){let _0x60f701=Object['keys'](_0x4e8c1a)['join'](''),_0xd496a3=/\w/['test'](_0x60f701);return _0xd496a3&&(_0x60f701=_0x60f701['replace'](/\w/g,'')),'['+(_0xd496a3?'\x5cw':'')+_0x60f701['replace'](/[^\w\s]/g,'\x5c$&')+']';}function _0x3e1c3b(_0xd48311){let _0x24154a=_0xd48311['map'](_0xd566de=>'string'==typeof _0xd566de?{'label':_0xd566de}:_0xd566de),[_0x45d455,_0x5ebcd8]=_0x24154a['every'](_0xddec0=>/^\w+$/['test'](_0xddec0['label']))?[/\w*$/,/\w+$/]:function(_0x4a7bb1){let _0x7f4962=Object['create'](null),_0x152ea5=Object['create'](null);for(let {label:_0x5aa50c}of _0x4a7bb1){_0x7f4962[_0x5aa50c[0x0]]=!0x0;for(let _0x3c1b66=0x1;_0x3c1b66<_0x5aa50c['length'];_0x3c1b66++)_0x152ea5[_0x5aa50c[_0x3c1b66]]=!0x0;}let _0x2e10db=_0x3e69f6(_0x7f4962)+_0x3e69f6(_0x152ea5)+'*$';return[new RegExp('^'+_0x2e10db),new RegExp(_0x2e10db)];}(_0x24154a);return _0x4b78aa=>{let _0x2eeb43=_0x4b78aa['matchBefore'](_0x5ebcd8);return _0x2eeb43||_0x4b78aa['explicit']?{'from':_0x2eeb43?_0x2eeb43['from']:_0x4b78aa['pos'],'options':_0x24154a,'validFor':_0x45d455}:null;};}var _0x4def92=class{constructor(_0x33cb65,_0xead5d1,_0x525caa,_0x5e7992){this['completion']=_0x33cb65,this['source']=_0xead5d1,this['match']=_0x525caa,this['score']=_0x5e7992;}};function _0x3f482f(_0x559ae4){return _0x559ae4['selection']['main']['from'];}function _0x4a70fd(_0x55a15e,_0x341f0a){var _0x18dcad;let {source:_0x225c45}=_0x55a15e,_0x1c9912=_0x341f0a&&'^'!=_0x225c45[0x0],_0xe06bd='$'!=_0x225c45[_0x225c45['length']-0x1];return _0x1c9912||_0xe06bd?new RegExp((_0x1c9912?'^':'')+'(?:'+_0x225c45+')'+(_0xe06bd?'$':''),null!==(_0x18dcad=_0x55a15e['flags'])&&void 0x0!==_0x18dcad?_0x18dcad:_0x55a15e['ignoreCase']?'i':''):_0x55a15e;}const _0x291547=_0x185b62['define']();function _0x472960(_0x1e21b3,_0x23bd51,_0x21d254,_0x3b2c9c){let {main:_0x6fb643}=_0x1e21b3['selection'],_0x40d05c=_0x21d254-_0x6fb643['from'],_0x306c16=_0x3b2c9c-_0x6fb643['from'];return{..._0x1e21b3['changeByRange'](_0x13c2be=>{if(_0x13c2be!=_0x6fb643&&_0x21d254!=_0x3b2c9c&&_0x1e21b3['sliceDoc'](_0x13c2be['from']+_0x40d05c,_0x13c2be['from']+_0x306c16)!=_0x1e21b3['sliceDoc'](_0x21d254,_0x3b2c9c))return{'range':_0x13c2be};let _0x3f35fd=_0x1e21b3['toText'](_0x23bd51);return{'changes':{'from':_0x13c2be['from']+_0x40d05c,'to':_0x3b2c9c==_0x6fb643['from']?_0x13c2be['to']:_0x13c2be['from']+_0x306c16,'insert':_0x3f35fd},'range':_0x152831['cursor'](_0x13c2be['from']+_0x40d05c+_0x3f35fd['length'])};}),'scrollIntoView':!0x0,'userEvent':'input.complete'};}const _0x30b444=new WeakMap();function _0x28096a(_0x94a1e6){if(!Array['isArray'](_0x94a1e6))return _0x94a1e6;let _0x41a1d6=_0x30b444['get'](_0x94a1e6);return _0x41a1d6||_0x30b444['set'](_0x94a1e6,_0x41a1d6=_0x3e1c3b(_0x94a1e6)),_0x41a1d6;}const _0x5a526c=_0x41e66e['define'](),_0x2599f9=_0x41e66e['define']();var _0x299f33=class{constructor(_0x4c4173){this['pattern']=_0x4c4173,this['chars']=[],this['folded']=[],this['any']=[],this['precise']=[],this['byWord']=[],this['score']=0x0,this['matched']=[];for(let _0x438f4e=0x0;_0x438f4e<_0x4c4173['length'];){let _0x9be4b9=_0x3d5bb6(_0x4c4173,_0x438f4e),_0x3e3496=_0x6db7fc(_0x9be4b9);this['chars']['push'](_0x9be4b9);let _0x154135=_0x4c4173['slice'](_0x438f4e,_0x438f4e+_0x3e3496),_0x169564=_0x154135['toUpperCase']();this['folded']['push'](_0x3d5bb6(_0x169564==_0x154135?_0x154135['toLowerCase']():_0x169564,0x0)),_0x438f4e+=_0x3e3496;}this['astral']=_0x4c4173['length']!=this['chars']['length'];}['ret'](_0x489b6c,_0x375136){return this['score']=_0x489b6c,this['matched']=_0x375136,this;}['match'](_0x4267f2){if(0x0==this['pattern']['length'])return this['ret'](-0x64,[]);if(_0x4267f2['length']<this['pattern']['length'])return null;let {chars:_0x1bb53e,folded:_0x5dd0f7,any:_0x26fbd3,precise:_0x229539,byWord:_0x363f46}=this;if(0x1==_0x1bb53e['length']){let _0x26942f=_0x3d5bb6(_0x4267f2,0x0),_0x40cc99=_0x6db7fc(_0x26942f),_0x27e391=_0x40cc99==_0x4267f2['length']?0x0:-0x64;if(_0x26942f==_0x1bb53e[0x0]);else{if(_0x26942f!=_0x5dd0f7[0x0])return null;_0x27e391+=-0xc8;}return this['ret'](_0x27e391,[0x0,_0x40cc99]);}let _0x101b27=_0x4267f2['indexOf'](this['pattern']);if(0x0==_0x101b27)return this['ret'](_0x4267f2['length']==this['pattern']['length']?0x0:-0x64,[0x0,this['pattern']['length']]);let _0x2ba0df=_0x1bb53e['length'],_0x26f001=0x0;if(_0x101b27<0x0){for(let _0x5ae117=0x0,_0x24f840=Math['min'](_0x4267f2['length'],0xc8);_0x5ae117<_0x24f840&&_0x26f001<_0x2ba0df;){let _0x1e762f=_0x3d5bb6(_0x4267f2,_0x5ae117);_0x1e762f!=_0x1bb53e[_0x26f001]&&_0x1e762f!=_0x5dd0f7[_0x26f001]||(_0x26fbd3[_0x26f001++]=_0x5ae117),_0x5ae117+=_0x6db7fc(_0x1e762f);}if(_0x26f001<_0x2ba0df)return null;}let _0x124fec=0x0,_0x26a8ec=0x0,_0x1fb8fc=!0x1,_0x322410=0x0,_0x41a46c=-0x1,_0x4387ac=-0x1,_0x17432b=/[a-z]/['test'](_0x4267f2),_0x169dad=!0x0;for(let _0x51129b=0x0,_0x153bfa=Math['min'](_0x4267f2['length'],0xc8),_0x442825=0x0;_0x51129b<_0x153bfa&&_0x26a8ec<_0x2ba0df;){let _0x328612=_0x3d5bb6(_0x4267f2,_0x51129b);_0x101b27<0x0&&(_0x124fec<_0x2ba0df&&_0x328612==_0x1bb53e[_0x124fec]&&(_0x229539[_0x124fec++]=_0x51129b),_0x322410<_0x2ba0df&&(_0x328612==_0x1bb53e[_0x322410]||_0x328612==_0x5dd0f7[_0x322410]?(0x0==_0x322410&&(_0x41a46c=_0x51129b),_0x4387ac=_0x51129b+0x1,_0x322410++):_0x322410=0x0));let _0x5d76ad,_0x28ce68=_0x328612<0xff?_0x328612>=0x30&&_0x328612<=0x39||_0x328612>=0x61&&_0x328612<=0x7a?0x2:_0x328612>=0x41&&_0x328612<=0x5a?0x1:0x0:(_0x5d76ad=_0x268183(_0x328612))!=_0x5d76ad['toLowerCase']()?0x1:_0x5d76ad!=_0x5d76ad['toUpperCase']()?0x2:0x0;(!_0x51129b||0x1==_0x28ce68&&_0x17432b||0x0==_0x442825&&0x0!=_0x28ce68)&&(_0x1bb53e[_0x26a8ec]==_0x328612||_0x5dd0f7[_0x26a8ec]==_0x328612&&(_0x1fb8fc=!0x0)?_0x363f46[_0x26a8ec++]=_0x51129b:_0x363f46['length']&&(_0x169dad=!0x1)),_0x442825=_0x28ce68,_0x51129b+=_0x6db7fc(_0x328612);}return _0x26a8ec==_0x2ba0df&&0x0==_0x363f46[0x0]&&_0x169dad?this['result']((_0x1fb8fc?-0xc8:0x0)-0x64,_0x363f46,_0x4267f2):_0x322410==_0x2ba0df&&0x0==_0x41a46c?this['ret'](-0xc8-_0x4267f2['length']+(_0x4387ac==_0x4267f2['length']?0x0:-0x64),[0x0,_0x4387ac]):_0x101b27>-0x1?this['ret'](-0x2bc-_0x4267f2['length'],[_0x101b27,_0x101b27+this['pattern']['length']]):_0x322410==_0x2ba0df?this['ret'](-0x384-_0x4267f2['length'],[_0x41a46c,_0x4387ac]):_0x26a8ec==_0x2ba0df?this['result']((_0x1fb8fc?-0xc8:0x0)-0x64-0x2bc+(_0x169dad?0x0:-0x44c),_0x363f46,_0x4267f2):0x2==_0x1bb53e['length']?null:this['result']((_0x26fbd3[0x0]?-0x2bc:0x0)-0xc8-0x44c,_0x26fbd3,_0x4267f2);}['result'](_0x41f54e,_0x3791d5,_0x3c2504){let _0x1bd483=[],_0x285c44=0x0;for(let _0x2cf3a6 of _0x3791d5){let _0x950b9a=_0x2cf3a6+(this['astral']?_0x6db7fc(_0x3d5bb6(_0x3c2504,_0x2cf3a6)):0x1);_0x285c44&&_0x1bd483[_0x285c44-0x1]==_0x2cf3a6?_0x1bd483[_0x285c44-0x1]=_0x950b9a:(_0x1bd483[_0x285c44++]=_0x2cf3a6,_0x1bd483[_0x285c44++]=_0x950b9a);}return this['ret'](_0x41f54e-_0x3c2504['length'],_0x1bd483);}},_0x4df7ab=class{constructor(_0x4cab13){this['pattern']=_0x4cab13,this['matched']=[],this['score']=0x0,this['folded']=_0x4cab13['toLowerCase']();}['match'](_0x396497){if(_0x396497['length']<this['pattern']['length'])return null;let _0x16f7f8=_0x396497['slice'](0x0,this['pattern']['length']),_0x3082e0=_0x16f7f8==this['pattern']?0x0:_0x16f7f8['toLowerCase']()==this['folded']?-0xc8:null;return null==_0x3082e0?null:(this['matched']=[0x0,_0x16f7f8['length']],this['score']=_0x3082e0+(_0x396497['length']==this['pattern']['length']?0x0:-0x64),this);}};const _0xe51748=_0x17b3ea['define']({'combine':_0x1921c2=>_0x31a8d4(_0x1921c2,{'activateOnTyping':!0x0,'activateOnCompletion':()=>!0x1,'activateOnTypingDelay':0x64,'selectOnOpen':!0x0,'override':null,'closeOnBlur':!0x0,'maxRenderedOptions':0x64,'defaultKeymap':!0x0,'tooltipClass':()=>'','optionClass':()=>'','aboveCursor':!0x1,'icons':!0x0,'addToOptions':[],'positionInfo':_0x3cadfa,'filterStrict':!0x1,'compareCompletions':(_0x267348,_0x595e02)=>(_0x267348['sortText']||_0x267348['label'])['localeCompare'](_0x595e02['sortText']||_0x595e02['label']),'interactionDelay':0x4b,'updateSyncTime':0x64},{'defaultKeymap':(_0x544e77,_0x18a58a)=>_0x544e77&&_0x18a58a,'closeOnBlur':(_0x16caed,_0x14c002)=>_0x16caed&&_0x14c002,'icons':(_0xd20e03,_0x4e08c1)=>_0xd20e03&&_0x4e08c1,'tooltipClass':(_0x31cfdd,_0x2977ef)=>_0xbb857c=>_0x2cdb66(_0x31cfdd(_0xbb857c),_0x2977ef(_0xbb857c)),'optionClass':(_0x4e16ea,_0x2b0284)=>_0x206a4a=>_0x2cdb66(_0x4e16ea(_0x206a4a),_0x2b0284(_0x206a4a)),'addToOptions':(_0x1d2fd5,_0x59ed2d)=>_0x1d2fd5['concat'](_0x59ed2d),'filterStrict':(_0x597c7c,_0x322b30)=>_0x597c7c||_0x322b30})});function _0x2cdb66(_0x3fb4ab,_0x59f088){return _0x3fb4ab?_0x59f088?_0x3fb4ab+'\x20'+_0x59f088:_0x3fb4ab:_0x59f088;}function _0x3cadfa(_0x463d5b,_0x3efac0,_0x386fca,_0x224c82,_0x20458f,_0x47fbd5){let _0x4a8016,_0x2d5113,_0x5beccf=_0x463d5b['textDirection']==_0x48659f['RTL'],_0x1222d3=_0x5beccf,_0x1cad97=!0x1,_0x1961f9='top',_0x1f5d3e=_0x3efac0['left']-_0x20458f['left'],_0x22ccc3=_0x20458f['right']-_0x3efac0['right'],_0x14fa0a=_0x224c82['right']-_0x224c82['left'],_0x392c21=_0x224c82['bottom']-_0x224c82['top'];if(_0x1222d3&&_0x1f5d3e<Math['min'](_0x14fa0a,_0x22ccc3)?_0x1222d3=!0x1:!_0x1222d3&&_0x22ccc3<Math['min'](_0x14fa0a,_0x1f5d3e)&&(_0x1222d3=!0x0),_0x14fa0a<=(_0x1222d3?_0x1f5d3e:_0x22ccc3))_0x4a8016=Math['max'](_0x20458f['top'],Math['min'](_0x386fca['top'],_0x20458f['bottom']-_0x392c21))-_0x3efac0['top'],_0x2d5113=Math['min'](0x190,_0x1222d3?_0x1f5d3e:_0x22ccc3);else{_0x1cad97=!0x0,_0x2d5113=Math['min'](0x190,(_0x5beccf?_0x3efac0['right']:_0x20458f['right']-_0x3efac0['left'])-0x1e);let _0xfcf677=_0x20458f['bottom']-_0x3efac0['bottom'];_0xfcf677>=_0x392c21||_0xfcf677>_0x3efac0['top']?_0x4a8016=_0x386fca['bottom']-_0x3efac0['top']:(_0x1961f9='bottom',_0x4a8016=_0x3efac0['bottom']-_0x386fca['top']);}return{'style':_0x1961f9+':\x20'+_0x4a8016/((_0x3efac0['bottom']-_0x3efac0['top'])/_0x47fbd5['offsetHeight'])+'px;\x20max-width:\x20'+_0x2d5113/((_0x3efac0['right']-_0x3efac0['left'])/_0x47fbd5['offsetWidth'])+'px','class':'cm-completionInfo-'+(_0x1cad97?_0x5beccf?'left-narrow':'right-narrow':_0x1222d3?'left':'right')};}const _0x711d2b=_0x41e66e['define']();function _0x31f54b(_0x3cbfdc,_0x39902e,_0x37b271){if(_0x3cbfdc<=_0x37b271)return{'from':0x0,'to':_0x3cbfdc};if(_0x39902e<0x0&&(_0x39902e=0x0),_0x39902e<=_0x3cbfdc>>0x1){let _0x3a2905=Math['floor'](_0x39902e/_0x37b271);return{'from':_0x3a2905*_0x37b271,'to':(_0x3a2905+0x1)*_0x37b271};}let _0x56ebd0=Math['ceil']((_0x3cbfdc-_0x39902e)/_0x37b271);return{'from':_0x3cbfdc-_0x56ebd0*_0x37b271,'to':_0x3cbfdc-(_0x56ebd0-0x1)*_0x37b271};}var _0x512df3=class{constructor(_0x1a79de,_0x3ebfcb,_0x1d301b){this['view']=_0x1a79de,this['stateField']=_0x3ebfcb,this['applyCompletion']=_0x1d301b,this['info']=null,this['infoDestroy']=null,this['placeInfoReq']={'read':()=>this['measureInfo'](),'write':_0x8f9c68=>this['placeInfo'](_0x8f9c68),'key':this},this['space']=null,this['currentClass']='';let _0x16e409=_0x1a79de['state']['field'](_0x3ebfcb),{options:_0x33fa18,selected:_0x5ed3d0}=_0x16e409['open'],_0x23dd7f=_0x1a79de['state']['facet'](_0xe51748);this['optionContent']=function(_0x389bed){let _0x12ec91=_0x389bed['addToOptions']['slice']();return _0x389bed['icons']&&_0x12ec91['push']({'render'(_0x157320){let _0x4202fd=document['createElement']('div');return _0x4202fd['classList']['add']('cm-completionIcon'),_0x157320['type']&&_0x4202fd['classList']['add'](..._0x157320['type']['split'](/\s+/g)['map'](_0x36f952=>'cm-completionIcon-'+_0x36f952)),_0x4202fd['setAttribute']('aria-hidden','true'),_0x4202fd;},'position':0x14}),_0x12ec91['push']({'render'(_0x5cb1b7,_0x6644c1,_0x8aa30d,_0xa4acb1){let _0x45541c=document['createElement']('span');_0x45541c['className']='cm-completionLabel';let _0x50cd26=_0x5cb1b7['displayLabel']||_0x5cb1b7['label'],_0x135b29=0x0;for(let _0x24ba60=0x0;_0x24ba60<_0xa4acb1['length'];){let _0x20f55c=_0xa4acb1[_0x24ba60++],_0x115153=_0xa4acb1[_0x24ba60++];_0x20f55c>_0x135b29&&_0x45541c['appendChild'](document['createTextNode'](_0x50cd26['slice'](_0x135b29,_0x20f55c)));let _0x28a1af=_0x45541c['appendChild'](document['createElement']('span'));_0x28a1af['appendChild'](document['createTextNode'](_0x50cd26['slice'](_0x20f55c,_0x115153))),_0x28a1af['className']='cm-completionMatchedText',_0x135b29=_0x115153;}return _0x135b29<_0x50cd26['length']&&_0x45541c['appendChild'](document['createTextNode'](_0x50cd26['slice'](_0x135b29))),_0x45541c;},'position':0x32},{'render'(_0x553f39){if(!_0x553f39['detail'])return null;let _0x5cee29=document['createElement']('span');return _0x5cee29['className']='cm-completionDetail',_0x5cee29['textContent']=_0x553f39['detail'],_0x5cee29;},'position':0x50}),_0x12ec91['sort']((_0x2b9f75,_0x727916)=>_0x2b9f75['position']-_0x727916['position'])['map'](_0x10ed58=>_0x10ed58['render']);}(_0x23dd7f),this['optionClass']=_0x23dd7f['optionClass'],this['tooltipClass']=_0x23dd7f['tooltipClass'],this['range']=_0x31f54b(_0x33fa18['length'],_0x5ed3d0,_0x23dd7f['maxRenderedOptions']),this['dom']=document['createElement']('div'),this['dom']['className']='cm-tooltip-autocomplete',this['updateTooltipClass'](_0x1a79de['state']),this['dom']['addEventListener']('mousedown',_0x17544e=>{let {options:_0x4ac986}=_0x1a79de['state']['field'](_0x3ebfcb)['open'];for(let _0x17807f,_0x3a353f=_0x17544e['target'];_0x3a353f&&_0x3a353f!=this['dom'];_0x3a353f=_0x3a353f['parentNode'])if('LI'==_0x3a353f['nodeName']&&(_0x17807f=/-(\d+)$/['exec'](_0x3a353f['id']))&&+_0x17807f[0x1]<_0x4ac986['length'])return this['applyCompletion'](_0x1a79de,_0x4ac986[+_0x17807f[0x1]]),void _0x17544e['preventDefault']();if(_0x17544e['target']==this['list']){let _0x460d7e=this['list']['classList']['contains']('cm-completionListIncompleteTop')&&_0x17544e['clientY']<this['list']['firstChild']['getBoundingClientRect']()['top']?this['range']['from']-0x1:this['list']['classList']['contains']('cm-completionListIncompleteBottom')&&_0x17544e['clientY']>this['list']['lastChild']['getBoundingClientRect']()['bottom']?this['range']['to']:null;null!=_0x460d7e&&(_0x1a79de['dispatch']({'effects':_0x711d2b['of'](_0x460d7e)}),_0x17544e['preventDefault']());}}),this['dom']['addEventListener']('focusout',_0x468f46=>{let _0x1d93bf=_0x1a79de['state']['field'](this['stateField'],!0x1);_0x1d93bf&&_0x1d93bf['tooltip']&&_0x1a79de['state']['facet'](_0xe51748)['closeOnBlur']&&_0x468f46['relatedTarget']!=_0x1a79de['contentDOM']&&_0x1a79de['dispatch']({'effects':_0x2599f9['of'](null)});}),this['showOptions'](_0x33fa18,_0x16e409['id']);}['mount'](){this['updateSel']();}['showOptions'](_0x3ac50c,_0x466dbf){this['list']&&this['list']['remove'](),this['list']=this['dom']['appendChild'](this['createListBox'](_0x3ac50c,_0x466dbf,this['range'])),this['list']['addEventListener']('scroll',()=>{this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);});}['update'](_0xfe0066){var _0x4e7bba;let _0x538978=_0xfe0066['state']['field'](this['stateField']),_0x5b1362=_0xfe0066['startState']['field'](this['stateField']);if(this['updateTooltipClass'](_0xfe0066['state']),_0x538978!=_0x5b1362){let {options:_0x18720d,selected:_0x52461d,disabled:_0x4e5931}=_0x538978['open'];_0x5b1362['open']&&_0x5b1362['open']['options']==_0x18720d||(this['range']=_0x31f54b(_0x18720d['length'],_0x52461d,_0xfe0066['state']['facet'](_0xe51748)['maxRenderedOptions']),this['showOptions'](_0x18720d,_0x538978['id'])),this['updateSel'](),_0x4e5931!=(null===(_0x4e7bba=_0x5b1362['open'])||void 0x0===_0x4e7bba?void 0x0:_0x4e7bba['disabled'])&&this['dom']['classList']['toggle']('cm-tooltip-autocomplete-disabled',!!_0x4e5931);}}['updateTooltipClass'](_0x1c43eb){let _0x2e82b8=this['tooltipClass'](_0x1c43eb);if(_0x2e82b8!=this['currentClass']){for(let _0x565177 of this['currentClass']['split']('\x20'))_0x565177&&this['dom']['classList']['remove'](_0x565177);for(let _0x35da3e of _0x2e82b8['split']('\x20'))_0x35da3e&&this['dom']['classList']['add'](_0x35da3e);this['currentClass']=_0x2e82b8;}}['positioned'](_0x4dfe66){this['space']=_0x4dfe66,this['info']&&this['view']['requestMeasure'](this['placeInfoReq']);}['updateSel'](){let _0x2fb318=this['view']['state']['field'](this['stateField']),_0x4bd8a4=_0x2fb318['open'];(_0x4bd8a4['selected']>-0x1&&_0x4bd8a4['selected']<this['range']['from']||_0x4bd8a4['selected']>=this['range']['to'])&&(this['range']=_0x31f54b(_0x4bd8a4['options']['length'],_0x4bd8a4['selected'],this['view']['state']['facet'](_0xe51748)['maxRenderedOptions']),this['showOptions'](_0x4bd8a4['options'],_0x2fb318['id']));let _0x34a25e=this['updateSelectedOption'](_0x4bd8a4['selected']);if(_0x34a25e){this['destroyInfo']();let {completion:_0x388c3c}=_0x4bd8a4['options'][_0x4bd8a4['selected']],{info:_0x2eb1d9}=_0x388c3c;if(!_0x2eb1d9)return;let _0x1bd97d='string'==typeof _0x2eb1d9?document['createTextNode'](_0x2eb1d9):_0x2eb1d9(_0x388c3c);if(!_0x1bd97d)return;'then'in _0x1bd97d?_0x1bd97d['then'](_0x5dac07=>{_0x5dac07&&this['view']['state']['field'](this['stateField'],!0x1)==_0x2fb318&&this['addInfoPane'](_0x5dac07,_0x388c3c);})['catch'](_0x44df57=>_0x1947e5(this['view']['state'],_0x44df57,'completion\x20info')):(this['addInfoPane'](_0x1bd97d,_0x388c3c),_0x34a25e['setAttribute']('aria-describedby',this['info']['id']));}}['addInfoPane'](_0x7a74c,_0x43ae54){this['destroyInfo']();let _0x13857c=this['info']=document['createElement']('div');if(_0x13857c['className']='cm-tooltip\x20cm-completionInfo',_0x13857c['id']='cm-completionInfo-'+Math['floor'](0xffff*Math['random']())['toString'](0x10),null!=_0x7a74c['nodeType'])_0x13857c['appendChild'](_0x7a74c),this['infoDestroy']=null;else{let {dom:_0x398b11,destroy:_0x173caa}=_0x7a74c;_0x13857c['appendChild'](_0x398b11),this['infoDestroy']=_0x173caa||null;}this['dom']['appendChild'](_0x13857c),this['view']['requestMeasure'](this['placeInfoReq']);}['updateSelectedOption'](_0x246533){let _0x1f26d7=null;for(let _0x51efb2=this['list']['firstChild'],_0x172772=this['range']['from'];_0x51efb2;_0x51efb2=_0x51efb2['nextSibling'],_0x172772++)'LI'==_0x51efb2['nodeName']&&_0x51efb2['id']?_0x172772==_0x246533?_0x51efb2['hasAttribute']('aria-selected')||(_0x51efb2['setAttribute']('aria-selected','true'),_0x1f26d7=_0x51efb2):_0x51efb2['hasAttribute']('aria-selected')&&(_0x51efb2['removeAttribute']('aria-selected'),_0x51efb2['removeAttribute']('aria-describedby')):_0x172772--;return _0x1f26d7&&function(_0x412a4a,_0x5785cf){let _0x482c5d=_0x412a4a['getBoundingClientRect'](),_0x12fc5f=_0x5785cf['getBoundingClientRect'](),_0x599aad=_0x482c5d['height']/_0x412a4a['offsetHeight'];_0x12fc5f['top']<_0x482c5d['top']?_0x412a4a['scrollTop']-=(_0x482c5d['top']-_0x12fc5f['top'])/_0x599aad:_0x12fc5f['bottom']>_0x482c5d['bottom']&&(_0x412a4a['scrollTop']+=(_0x12fc5f['bottom']-_0x482c5d['bottom'])/_0x599aad);}(this['list'],_0x1f26d7),_0x1f26d7;}['measureInfo'](){let _0x2ae5b3=this['dom']['querySelector']('[aria-selected]');if(!_0x2ae5b3||!this['info'])return null;let _0x7e5da5=this['dom']['getBoundingClientRect'](),_0x4492ea=this['info']['getBoundingClientRect'](),_0x32d75d=_0x2ae5b3['getBoundingClientRect'](),_0x3fe5c2=this['space'];if(!_0x3fe5c2){let _0x352db4=this['dom']['ownerDocument']['documentElement'];_0x3fe5c2={'left':0x0,'top':0x0,'right':_0x352db4['clientWidth'],'bottom':_0x352db4['clientHeight']};}return _0x32d75d['top']>Math['min'](_0x3fe5c2['bottom'],_0x7e5da5['bottom'])-0xa||_0x32d75d['bottom']<Math['max'](_0x3fe5c2['top'],_0x7e5da5['top'])+0xa?null:this['view']['state']['facet'](_0xe51748)['positionInfo'](this['view'],_0x7e5da5,_0x32d75d,_0x4492ea,_0x3fe5c2,this['dom']);}['placeInfo'](_0x1fbf14){this['info']&&(_0x1fbf14?(_0x1fbf14['style']&&(this['info']['style']['cssText']=_0x1fbf14['style']),this['info']['className']='cm-tooltip\x20cm-completionInfo\x20'+(_0x1fbf14['class']||'')):this['info']['style']['cssText']='top:\x20-1e6px');}['createListBox'](_0x426c98,_0x1d0a14,_0x4882d2){const _0x30ca5b=document['createElement']('ul');_0x30ca5b['id']=_0x1d0a14,_0x30ca5b['setAttribute']('role','listbox'),_0x30ca5b['setAttribute']('aria-expanded','true'),_0x30ca5b['setAttribute']('aria-label',this['view']['state']['phrase']('Completions')),_0x30ca5b['addEventListener']('mousedown',_0x2d3957=>{_0x2d3957['target']==_0x30ca5b&&_0x2d3957['preventDefault']();});let _0x33b190=null;for(let _0x69d663=_0x4882d2['from'];_0x69d663<_0x4882d2['to'];_0x69d663++){let {completion:_0x3c6d13,match:_0xeaf7e5}=_0x426c98[_0x69d663],{section:_0x277ad0}=_0x3c6d13;if(_0x277ad0){let _0x1ad6c2='string'==typeof _0x277ad0?_0x277ad0:_0x277ad0['name'];if(_0x1ad6c2!=_0x33b190&&(_0x69d663>_0x4882d2['from']||0x0==_0x4882d2['from'])){if(_0x33b190=_0x1ad6c2,'string'!=typeof _0x277ad0&&_0x277ad0['header'])_0x30ca5b['appendChild'](_0x277ad0['header'](_0x277ad0));else _0x30ca5b['appendChild'](document['createElement']('completion-section'))['textContent']=_0x1ad6c2;}}const _0x28170c=_0x30ca5b['appendChild'](document['createElement']('li'));_0x28170c['id']=_0x1d0a14+'-'+_0x69d663,_0x28170c['setAttribute']('role','option');let _0x1e351e=this['optionClass'](_0x3c6d13);_0x1e351e&&(_0x28170c['className']=_0x1e351e);for(let _0x393ed5 of this['optionContent']){let _0x4359d9=_0x393ed5(_0x3c6d13,this['view']['state'],this['view'],_0xeaf7e5);_0x4359d9&&_0x28170c['appendChild'](_0x4359d9);}}return _0x4882d2['from']&&_0x30ca5b['classList']['add']('cm-completionListIncompleteTop'),_0x4882d2['to']<_0x426c98['length']&&_0x30ca5b['classList']['add']('cm-completionListIncompleteBottom'),_0x30ca5b;}['destroyInfo'](){this['info']&&(this['infoDestroy']&&this['infoDestroy'](),this['info']['remove'](),this['info']=null);}['destroy'](){this['destroyInfo']();}};function _0x26d783(_0x46ec96,_0x5f2c43){return _0x837516=>new _0x512df3(_0x837516,_0x46ec96,_0x5f2c43);}function _0x32460e(_0x466e41){return 0x64*(_0x466e41['boost']||0x0)+(_0x466e41['apply']?0xa:0x0)+(_0x466e41['info']?0x5:0x0)+(_0x466e41['type']?0x1:0x0);}var _0x30a288=class CompletionDialog{constructor(_0x4a7f31,_0x55e4d3,_0x340057,_0xb08c7,_0x1b1e2f,_0x5607f9){this['options']=_0x4a7f31,this['attrs']=_0x55e4d3,this['tooltip']=_0x340057,this['timestamp']=_0xb08c7,this['selected']=_0x1b1e2f,this['disabled']=_0x5607f9;}['setSelected'](_0x1b4fc2,_0x4aa6b6){return _0x1b4fc2==this['selected']||_0x1b4fc2>=this['options']['length']?this:new CompletionDialog(this['options'],_0x5620ce(_0x4aa6b6,_0x1b4fc2),this['tooltip'],this['timestamp'],_0x1b4fc2,this['disabled']);}static['build'](_0x56e821,_0x482bd5,_0x1149e0,_0x1678fe,_0x200a1b,_0x5cc621){if(_0x1678fe&&!_0x5cc621&&_0x56e821['some'](_0x1c4b09=>_0x1c4b09['isPending']))return _0x1678fe['setDisabled']();let _0x75c4b=function(_0x5f149d,_0x184b5b){let _0x426669=[],_0x1ed0b1=null,_0x294301=null,_0xfd8dd6=_0x44aa1e=>{_0x426669['push'](_0x44aa1e);let {section:_0x5f036b}=_0x44aa1e['completion'];if(_0x5f036b){_0x1ed0b1||(_0x1ed0b1=[]);let _0x50d143='string'==typeof _0x5f036b?_0x5f036b:_0x5f036b['name'];_0x1ed0b1['some'](_0x219464=>_0x219464['name']==_0x50d143)||_0x1ed0b1['push']('string'==typeof _0x5f036b?{'name':_0x50d143}:_0x5f036b);}},_0x27d72e=_0x184b5b['facet'](_0xe51748);for(let _0x1883c4 of _0x5f149d)if(_0x1883c4['hasResult']()){let _0x497198=_0x1883c4['result']['getMatch'];if(!0x1===_0x1883c4['result']['filter']){for(let _0x442f88 of _0x1883c4['result']['options'])_0xfd8dd6(new _0x4def92(_0x442f88,_0x1883c4['source'],_0x497198?_0x497198(_0x442f88):[],0x3b9aca00-_0x426669['length']));}else{let _0x20de80,_0x4c8d32=_0x184b5b['sliceDoc'](_0x1883c4['from'],_0x1883c4['to']),_0x727125=_0x27d72e['filterStrict']?new _0x4df7ab(_0x4c8d32):new _0x299f33(_0x4c8d32);for(let _0x56e69f of _0x1883c4['result']['options'])if(_0x20de80=_0x727125['match'](_0x56e69f['label'])){let _0x30036b=_0x56e69f['displayLabel']?_0x497198?_0x497198(_0x56e69f,_0x20de80['matched']):[]:_0x20de80['matched'],_0x63d95c=_0x20de80['score']+(_0x56e69f['boost']||0x0);if(_0xfd8dd6(new _0x4def92(_0x56e69f,_0x1883c4['source'],_0x30036b,_0x63d95c)),'object'==typeof _0x56e69f['section']&&'dynamic'===_0x56e69f['section']['rank']){let {name:_0x4c0940}=_0x56e69f['section'];_0x294301||(_0x294301=Object['create'](null)),_0x294301[_0x4c0940]=Math['max'](_0x63d95c,_0x294301[_0x4c0940]||-0x3b9aca00);}}}}if(_0x1ed0b1){let _0x46c8c0=Object['create'](null),_0x7f95fb=0x0,_0x574caa=(_0x5c78ab,_0x6edd2a)=>('dynamic'===_0x5c78ab['rank']&&'dynamic'===_0x6edd2a['rank']?_0x294301[_0x6edd2a['name']]-_0x294301[_0x5c78ab['name']]:0x0)||('number'==typeof _0x5c78ab['rank']?_0x5c78ab['rank']:0x3b9aca00)-('number'==typeof _0x6edd2a['rank']?_0x6edd2a['rank']:0x3b9aca00)||(_0x5c78ab['name']<_0x6edd2a['name']?-0x1:0x1);for(let _0x27d0d7 of _0x1ed0b1['sort'](_0x574caa))_0x7f95fb-=0x186a0,_0x46c8c0[_0x27d0d7['name']]=_0x7f95fb;for(let _0x4cceb0 of _0x426669){let {section:_0x45af19}=_0x4cceb0['completion'];_0x45af19&&(_0x4cceb0['score']+=_0x46c8c0['string'==typeof _0x45af19?_0x45af19:_0x45af19['name']]);}}let _0x329cac=[],_0x3dc759=null,_0x4220f5=_0x27d72e['compareCompletions'];for(let _0x15733b of _0x426669['sort']((_0x823119,_0x53d048)=>_0x53d048['score']-_0x823119['score']||_0x4220f5(_0x823119['completion'],_0x53d048['completion']))){let _0x3f3dbd=_0x15733b['completion'];!_0x3dc759||_0x3dc759['label']!=_0x3f3dbd['label']||_0x3dc759['detail']!=_0x3f3dbd['detail']||null!=_0x3dc759['type']&&null!=_0x3f3dbd['type']&&_0x3dc759['type']!=_0x3f3dbd['type']||_0x3dc759['apply']!=_0x3f3dbd['apply']||_0x3dc759['boost']!=_0x3f3dbd['boost']?_0x329cac['push'](_0x15733b):_0x32460e(_0x15733b['completion'])>_0x32460e(_0x3dc759)&&(_0x329cac[_0x329cac['length']-0x1]=_0x15733b),_0x3dc759=_0x15733b['completion'];}return _0x329cac;}(_0x56e821,_0x482bd5);if(!_0x75c4b['length'])return _0x1678fe&&_0x56e821['some'](_0xac45fd=>_0xac45fd['isPending'])?_0x1678fe['setDisabled']():null;let _0x5dc5f6=_0x482bd5['facet'](_0xe51748)['selectOnOpen']?0x0:-0x1;if(_0x1678fe&&_0x1678fe['selected']!=_0x5dc5f6&&-0x1!=_0x1678fe['selected']){let _0x48caf3=_0x1678fe['options'][_0x1678fe['selected']]['completion'];for(let _0x3af2d9=0x0;_0x3af2d9<_0x75c4b['length'];_0x3af2d9++)if(_0x75c4b[_0x3af2d9]['completion']==_0x48caf3){_0x5dc5f6=_0x3af2d9;break;}}return new CompletionDialog(_0x75c4b,_0x5620ce(_0x1149e0,_0x5dc5f6),{'pos':_0x56e821['reduce']((_0x5a2b7b,_0x52a1ef)=>_0x52a1ef['hasResult']()?Math['min'](_0x5a2b7b,_0x52a1ef['from']):_0x5a2b7b,0x5f5e100),'create':_0xfd8a7b,'above':_0x200a1b['aboveCursor']},_0x1678fe?_0x1678fe['timestamp']:Date['now'](),_0x5dc5f6,!0x1);}['map'](_0x5d70e3){return new CompletionDialog(this['options'],this['attrs'],{...this['tooltip'],'pos':_0x5d70e3['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);}},_0x55e21a=class CompletionState{constructor(_0x3db926,_0x256b23,_0xe1ac5f){this['active']=_0x3db926,this['id']=_0x256b23,this['open']=_0xe1ac5f;}static['start'](){return new CompletionState(_0x5d615e,'cm-ac-'+Math['floor'](0x1e8480*Math['random']())['toString'](0x24),null);}['update'](_0x10c3b){let {state:_0x5a0789}=_0x10c3b,_0x63d55b=_0x5a0789['facet'](_0xe51748),_0x499dda=(_0x63d55b['override']||_0x5a0789['languageDataAt']('autocomplete',_0x3f482f(_0x5a0789))['map'](_0x28096a))['map'](_0x19a30a=>(this['active']['find'](_0x5d74e0=>_0x5d74e0['source']==_0x19a30a)||new _0x420189(_0x19a30a,this['active']['some'](_0x45e70c=>0x0!=_0x45e70c['state'])?0x1:0x0))['update'](_0x10c3b,_0x63d55b));_0x499dda['length']==this['active']['length']&&_0x499dda['every']((_0x1de940,_0x4000a9)=>_0x1de940==this['active'][_0x4000a9])&&(_0x499dda=this['active']);let _0x197651=this['open'],_0x3829d5=_0x10c3b['effects']['some'](_0x5f2799=>_0x5f2799['is'](_0x164bd1));_0x197651&&_0x10c3b['docChanged']&&(_0x197651=_0x197651['map'](_0x10c3b['changes'])),_0x10c3b['selection']||_0x499dda['some'](_0x45e664=>_0x45e664['hasResult']()&&_0x10c3b['changes']['touchesRange'](_0x45e664['from'],_0x45e664['to']))||!function(_0x435b46,_0x54e508){if(_0x435b46==_0x54e508)return!0x0;for(let _0xf992d6=0x0,_0x51baf4=0x0;;){for(;_0xf992d6<_0x435b46['length']&&!_0x435b46[_0xf992d6]['hasResult']();)_0xf992d6++;for(;_0x51baf4<_0x54e508['length']&&!_0x54e508[_0x51baf4]['hasResult']();)_0x51baf4++;let _0x919aa9=_0xf992d6==_0x435b46['length'],_0x1dd939=_0x51baf4==_0x54e508['length'];if(_0x919aa9||_0x1dd939)return _0x919aa9==_0x1dd939;if(_0x435b46[_0xf992d6++]['result']!=_0x54e508[_0x51baf4++]['result'])return!0x1;}}(_0x499dda,this['active'])||_0x3829d5?_0x197651=_0x30a288['build'](_0x499dda,_0x5a0789,this['id'],_0x197651,_0x63d55b,_0x3829d5):_0x197651&&_0x197651['disabled']&&!_0x499dda['some'](_0x5bafdc=>_0x5bafdc['isPending'])&&(_0x197651=null),!_0x197651&&_0x499dda['every'](_0x103273=>!_0x103273['isPending'])&&_0x499dda['some'](_0x2ee0ad=>_0x2ee0ad['hasResult']())&&(_0x499dda=_0x499dda['map'](_0xa62efc=>_0xa62efc['hasResult']()?new _0x420189(_0xa62efc['source'],0x0):_0xa62efc));for(let _0x4d6586 of _0x10c3b['effects'])_0x4d6586['is'](_0x711d2b)&&(_0x197651=_0x197651&&_0x197651['setSelected'](_0x4d6586['value'],this['id']));return _0x499dda==this['active']&&_0x197651==this['open']?this:new CompletionState(_0x499dda,this['id'],_0x197651);}get['tooltip'](){return this['open']?this['open']['tooltip']:null;}get['attrs'](){return this['open']?this['open']['attrs']:this['active']['length']?_0x5e3a6e:_0x58ee34;}};const _0x5e3a6e={'aria-autocomplete':'list'},_0x58ee34={};function _0x5620ce(_0x5a4c2a,_0x2ab3d5){let _0x126a2a={'aria-autocomplete':'list','aria-haspopup':'listbox','aria-controls':_0x5a4c2a};return _0x2ab3d5>-0x1&&(_0x126a2a['aria-activedescendant']=_0x5a4c2a+'-'+_0x2ab3d5),_0x126a2a;}const _0x5d615e=[];function _0x349fb6(_0x27f15e,_0x3c6a4e){if(_0x27f15e['isUserEvent']('input.complete')){let _0x1e8c88=_0x27f15e['annotation'](_0x291547);if(_0x1e8c88&&_0x3c6a4e['activateOnCompletion'](_0x1e8c88))return 0xc;}let _0x296480=_0x27f15e['isUserEvent']('input.type');return _0x296480&&_0x3c6a4e['activateOnTyping']?0x5:_0x296480?0x1:_0x27f15e['isUserEvent']('delete.backward')?0x2:_0x27f15e['selection']?0x8:_0x27f15e['docChanged']?0x10:0x0;}var _0x420189=class ActiveSource{constructor(_0x32f8a9,_0x1709e2,_0x38e968=!0x1){this['source']=_0x32f8a9,this['state']=_0x1709e2,this['explicit']=_0x38e968;}['hasResult'](){return!0x1;}get['isPending'](){return 0x1==this['state'];}['update'](_0x1d836a,_0x5959db){let _0x32fb47=_0x349fb6(_0x1d836a,_0x5959db),_0x3e16e5=this;(0x8&_0x32fb47||0x10&_0x32fb47&&this['touches'](_0x1d836a))&&(_0x3e16e5=new ActiveSource(_0x3e16e5['source'],0x0)),0x4&_0x32fb47&&0x0==_0x3e16e5['state']&&(_0x3e16e5=new ActiveSource(this['source'],0x1)),_0x3e16e5=_0x3e16e5['updateFor'](_0x1d836a,_0x32fb47);for(let _0x2d8d99 of _0x1d836a['effects'])if(_0x2d8d99['is'](_0x5a526c))_0x3e16e5=new ActiveSource(_0x3e16e5['source'],0x1,_0x2d8d99['value']);else{if(_0x2d8d99['is'](_0x2599f9))_0x3e16e5=new ActiveSource(_0x3e16e5['source'],0x0);else{if(_0x2d8d99['is'](_0x164bd1)){for(let _0xcfbaae of _0x2d8d99['value'])_0xcfbaae['source']==_0x3e16e5['source']&&(_0x3e16e5=_0xcfbaae);}}}return _0x3e16e5;}['updateFor'](_0x1b75b6,_0x535a38){return this['map'](_0x1b75b6['changes']);}['map'](_0x5cddf2){return this;}['touches'](_0x295dab){return _0x295dab['changes']['touchesRange'](_0x3f482f(_0x295dab['state']));}},_0x329e45=class ActiveResult extends _0x420189{constructor(_0x5207cc,_0x5563b7,_0x220f52,_0x4f88a8,_0x22d4ec,_0x21117e){super(_0x5207cc,0x3,_0x5563b7),this['limit']=_0x220f52,this['result']=_0x4f88a8,this['from']=_0x22d4ec,this['to']=_0x21117e;}['hasResult'](){return!0x0;}['updateFor'](_0xcae9c1,_0x33fc1a){var _0x50deb4;if(!(0x3&_0x33fc1a))return this['map'](_0xcae9c1['changes']);let _0x5583f9=this['result'];_0x5583f9['map']&&!_0xcae9c1['changes']['empty']&&(_0x5583f9=_0x5583f9['map'](_0x5583f9,_0xcae9c1['changes']));let _0x57bdb3=_0xcae9c1['changes']['mapPos'](this['from']),_0x2152df=_0xcae9c1['changes']['mapPos'](this['to'],0x1),_0x29706a=_0x3f482f(_0xcae9c1['state']);if(_0x29706a>_0x2152df||!_0x5583f9||0x2&_0x33fc1a&&(_0x3f482f(_0xcae9c1['startState'])==this['from']||_0x29706a<this['limit']))return new _0x420189(this['source'],0x4&_0x33fc1a?0x1:0x0);let _0x11f83e=_0xcae9c1['changes']['mapPos'](this['limit']);return function(_0x252b54,_0x38cc1e,_0x13b464,_0x5f5014){if(!_0x252b54)return!0x1;let _0x36ab97=_0x38cc1e['sliceDoc'](_0x13b464,_0x5f5014);return'function'==typeof _0x252b54?_0x252b54(_0x36ab97,_0x13b464,_0x5f5014,_0x38cc1e):_0x4a70fd(_0x252b54,!0x0)['test'](_0x36ab97);}(_0x5583f9['validFor'],_0xcae9c1['state'],_0x57bdb3,_0x2152df)?new ActiveResult(this['source'],this['explicit'],_0x11f83e,_0x5583f9,_0x57bdb3,_0x2152df):_0x5583f9['update']&&(_0x5583f9=_0x5583f9['update'](_0x5583f9,_0x57bdb3,_0x2152df,new _0x2cdebe(_0xcae9c1['state'],_0x29706a,!0x1)))?new ActiveResult(this['source'],this['explicit'],_0x11f83e,_0x5583f9,_0x5583f9['from'],null!==(_0x50deb4=_0x5583f9['to'])&&void 0x0!==_0x50deb4?_0x50deb4:_0x3f482f(_0xcae9c1['state'])):new _0x420189(this['source'],0x1,this['explicit']);}['map'](_0x2d1fc2){if(_0x2d1fc2['empty'])return this;let _0x4f303e=this['result']['map']?this['result']['map'](this['result'],_0x2d1fc2):this['result'];return _0x4f303e?new ActiveResult(this['source'],this['explicit'],_0x2d1fc2['mapPos'](this['limit']),_0x4f303e,_0x2d1fc2['mapPos'](this['from']),_0x2d1fc2['mapPos'](this['to'],0x1)):new _0x420189(this['source'],0x0);}['touches'](_0x5cacfa){return _0x5cacfa['changes']['touchesRange'](this['from'],this['to']);}};const _0x164bd1=_0x41e66e['define']({'map':(_0x3da131,_0xc0f784)=>_0x3da131['map'](_0x1de704=>_0x1de704['map'](_0xc0f784))}),_0x5c18b5=_0x2bf5e0['define']({'create':()=>_0x55e21a['start'](),'update':(_0x394dd4,_0x360e0d)=>_0x394dd4['update'](_0x360e0d),'provide':_0x26f596=>[_0x445ef4['from'](_0x26f596,_0x54934c=>_0x54934c['tooltip']),_0x118ca6['contentAttributes']['from'](_0x26f596,_0x47009a=>_0x47009a['attrs'])]});function _0x5b2dc7(_0x157708,_0x37bcd8){const _0x5620b4=_0x37bcd8['completion']['apply']||_0x37bcd8['completion']['label'];let _0x2de450=_0x157708['state']['field'](_0x5c18b5)['active']['find'](_0x1de41b=>_0x1de41b['source']==_0x37bcd8['source']);return _0x2de450 instanceof _0x329e45&&('string'==typeof _0x5620b4?_0x157708['dispatch']({..._0x472960(_0x157708['state'],_0x5620b4,_0x2de450['from'],_0x2de450['to']),'annotations':_0x291547['of'](_0x37bcd8['completion'])}):_0x5620b4(_0x157708,_0x37bcd8['completion'],_0x2de450['from'],_0x2de450['to']),!0x0);}const _0xfd8a7b=_0x26d783(_0x5c18b5,_0x5b2dc7);function _0x13e598(_0x49eb71,_0xddff6d='option'){return _0x2e7016=>{let _0x2957b3=_0x2e7016['state']['field'](_0x5c18b5,!0x1);if(!_0x2957b3||!_0x2957b3['open']||_0x2957b3['open']['disabled']||Date['now']()-_0x2957b3['open']['timestamp']<_0x2e7016['state']['facet'](_0xe51748)['interactionDelay'])return!0x1;let _0x3da064,_0x5d61f8=0x1;'page'==_0xddff6d&&(_0x3da064=_0x2a1ca6(_0x2e7016,_0x2957b3['open']['tooltip']))&&(_0x5d61f8=Math['max'](0x2,Math['floor'](_0x3da064['dom']['offsetHeight']/_0x3da064['dom']['querySelector']('li')['offsetHeight'])-0x1));let {length:_0x5df8af}=_0x2957b3['open']['options'],_0x4e1183=_0x2957b3['open']['selected']>-0x1?_0x2957b3['open']['selected']+_0x5d61f8*(_0x49eb71?0x1:-0x1):_0x49eb71?0x0:_0x5df8af-0x1;return _0x4e1183<0x0?_0x4e1183='page'==_0xddff6d?0x0:_0x5df8af-0x1:_0x4e1183>=_0x5df8af&&(_0x4e1183='page'==_0xddff6d?_0x5df8af-0x1:0x0),_0x2e7016['dispatch']({'effects':_0x711d2b['of'](_0x4e1183)}),!0x0;};}const _0xc81772=_0x4c7ea3=>!!_0x4c7ea3['state']['field'](_0x5c18b5,!0x1)&&(_0x4c7ea3['dispatch']({'effects':_0x5a526c['of'](!0x0)}),!0x0);var _0x1e9a28=class{constructor(_0x1cd374,_0x51f203){this['active']=_0x1cd374,this['context']=_0x51f203,this['time']=Date['now'](),this['updates']=[],this['done']=void 0x0;}};const _0x8994ff=_0x5873ca['fromClass'](class{constructor(_0x5cac29){this['view']=_0x5cac29,this['debounceUpdate']=-0x1,this['running']=[],this['debounceAccept']=-0x1,this['pendingStart']=!0x1,this['composing']=0x0;for(let _0x3a5416 of _0x5cac29['state']['field'](_0x5c18b5)['active'])_0x3a5416['isPending']&&this['startQuery'](_0x3a5416);}['update'](_0x3e962c){let _0x1594af=_0x3e962c['state']['field'](_0x5c18b5),_0x16fdc8=_0x3e962c['state']['facet'](_0xe51748);if(!_0x3e962c['selectionSet']&&!_0x3e962c['docChanged']&&_0x3e962c['startState']['field'](_0x5c18b5)==_0x1594af)return;let _0x3f81e8=_0x3e962c['transactions']['some'](_0x570f13=>{let _0xff421c=_0x349fb6(_0x570f13,_0x16fdc8);return 0x8&_0xff421c||(_0x570f13['selection']||_0x570f13['docChanged'])&&!(0x3&_0xff421c);});for(let _0x19b8bd=0x0;_0x19b8bd<this['running']['length'];_0x19b8bd++){let _0x295765=this['running'][_0x19b8bd];if(_0x3f81e8||_0x295765['context']['abortOnDocChange']&&_0x3e962c['docChanged']||_0x295765['updates']['length']+_0x3e962c['transactions']['length']>0x32&&Date['now']()-_0x295765['time']>0x3e8){for(let _0x3f6483 of _0x295765['context']['abortListeners'])try{_0x3f6483();}catch(_0x2b35c8){_0x1947e5(this['view']['state'],_0x2b35c8);}_0x295765['context']['abortListeners']=null,this['running']['splice'](_0x19b8bd--,0x1);}else _0x295765['updates']['push'](..._0x3e962c['transactions']);}this['debounceUpdate']>-0x1&&clearTimeout(this['debounceUpdate']),_0x3e962c['transactions']['some'](_0x4aca14=>_0x4aca14['effects']['some'](_0x35ee0d=>_0x35ee0d['is'](_0x5a526c)))&&(this['pendingStart']=!0x0);let _0x5555a3=this['pendingStart']?0x32:_0x16fdc8['activateOnTypingDelay'];if(this['debounceUpdate']=_0x1594af['active']['some'](_0x5eec42=>_0x5eec42['isPending']&&!this['running']['some'](_0x2fff70=>_0x2fff70['active']['source']==_0x5eec42['source']))?setTimeout(()=>this['startUpdate'](),_0x5555a3):-0x1,0x0!=this['composing']){for(let _0x40fc49 of _0x3e962c['transactions'])_0x40fc49['isUserEvent']('input.type')?this['composing']=0x2:0x2==this['composing']&&_0x40fc49['selection']&&(this['composing']=0x3);}}['startUpdate'](){this['debounceUpdate']=-0x1,this['pendingStart']=!0x1;let {state:_0x4a0a0e}=this['view'],_0x47d6cd=_0x4a0a0e['field'](_0x5c18b5);for(let _0x16db4e of _0x47d6cd['active'])_0x16db4e['isPending']&&!this['running']['some'](_0x1f9b02=>_0x1f9b02['active']['source']==_0x16db4e['source'])&&this['startQuery'](_0x16db4e);this['running']['length']&&_0x47d6cd['open']&&_0x47d6cd['open']['disabled']&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0xe51748)['updateSyncTime']));}['startQuery'](_0x1b3ebe){let {state:_0x253f88}=this['view'],_0x580895=new _0x2cdebe(_0x253f88,_0x3f482f(_0x253f88),_0x1b3ebe['explicit'],this['view']),_0x34df3f=new _0x1e9a28(_0x1b3ebe,_0x580895);this['running']['push'](_0x34df3f),Promise['resolve'](_0x1b3ebe['source'](_0x580895))['then'](_0x4f661f=>{_0x34df3f['context']['aborted']||(_0x34df3f['done']=_0x4f661f||null,this['scheduleAccept']());},_0x1651a4=>{this['view']['dispatch']({'effects':_0x2599f9['of'](null)}),_0x1947e5(this['view']['state'],_0x1651a4);});}['scheduleAccept'](){this['running']['every'](_0x209512=>void 0x0!==_0x209512['done'])?this['accept']():this['debounceAccept']<0x0&&(this['debounceAccept']=setTimeout(()=>this['accept'](),this['view']['state']['facet'](_0xe51748)['updateSyncTime']));}['accept'](){var _0x595af5;this['debounceAccept']>-0x1&&clearTimeout(this['debounceAccept']),this['debounceAccept']=-0x1;let _0x6ce28d=[],_0x82f20c=this['view']['state']['facet'](_0xe51748),_0x49f8f3=this['view']['state']['field'](_0x5c18b5);for(let _0x2a5e59=0x0;_0x2a5e59<this['running']['length'];_0x2a5e59++){let _0x1c2e0c=this['running'][_0x2a5e59];if(void 0x0===_0x1c2e0c['done'])continue;if(this['running']['splice'](_0x2a5e59--,0x1),_0x1c2e0c['done']){let _0x45ef4c=_0x3f482f(_0x1c2e0c['updates']['length']?_0x1c2e0c['updates'][0x0]['startState']:this['view']['state']),_0x11c567=Math['min'](_0x45ef4c,_0x1c2e0c['done']['from']+(_0x1c2e0c['active']['explicit']?0x0:0x1)),_0x5dd6bd=new _0x329e45(_0x1c2e0c['active']['source'],_0x1c2e0c['active']['explicit'],_0x11c567,_0x1c2e0c['done'],_0x1c2e0c['done']['from'],null!==(_0x595af5=_0x1c2e0c['done']['to'])&&void 0x0!==_0x595af5?_0x595af5:_0x45ef4c);for(let _0x233d9e of _0x1c2e0c['updates'])_0x5dd6bd=_0x5dd6bd['update'](_0x233d9e,_0x82f20c);if(_0x5dd6bd['hasResult']()){_0x6ce28d['push'](_0x5dd6bd);continue;}}let _0x44de68=_0x49f8f3['active']['find'](_0x48fff9=>_0x48fff9['source']==_0x1c2e0c['active']['source']);if(_0x44de68&&_0x44de68['isPending']){if(null==_0x1c2e0c['done']){let _0x51682e=new _0x420189(_0x1c2e0c['active']['source'],0x0);for(let _0x5053dd of _0x1c2e0c['updates'])_0x51682e=_0x51682e['update'](_0x5053dd,_0x82f20c);_0x51682e['isPending']||_0x6ce28d['push'](_0x51682e);}else this['startQuery'](_0x44de68);}}(_0x6ce28d['length']||_0x49f8f3['open']&&_0x49f8f3['open']['disabled'])&&this['view']['dispatch']({'effects':_0x164bd1['of'](_0x6ce28d)});}},{'eventHandlers':{'blur'(_0x2ee6bf){let _0x1731bf=this['view']['state']['field'](_0x5c18b5,!0x1);if(_0x1731bf&&_0x1731bf['tooltip']&&this['view']['state']['facet'](_0xe51748)['closeOnBlur']){let _0x11ceb3=_0x1731bf['open']&&_0x2a1ca6(this['view'],_0x1731bf['open']['tooltip']);_0x11ceb3&&_0x11ceb3['dom']['contains'](_0x2ee6bf['relatedTarget'])||setTimeout(()=>this['view']['dispatch']({'effects':_0x2599f9['of'](null)}),0xa);}},'compositionstart'(){this['composing']=0x1;},'compositionend'(){0x3==this['composing']&&setTimeout(()=>this['view']['dispatch']({'effects':_0x5a526c['of'](!0x1)}),0x14),this['composing']=0x0;}}}),_0x7208f='object'==typeof navigator&&/Win/['test'](navigator['platform']),_0x3deaa5=_0x74fe9f['highest'](_0x118ca6['domEventHandlers']({'keydown'(_0xcff962,_0x5c70b6){let _0x52897e=_0x5c70b6['state']['field'](_0x5c18b5,!0x1);if(!_0x52897e||!_0x52897e['open']||_0x52897e['open']['disabled']||_0x52897e['open']['selected']<0x0||_0xcff962['key']['length']>0x1||_0xcff962['ctrlKey']&&(!_0x7208f||!_0xcff962['altKey'])||_0xcff962['metaKey'])return!0x1;let _0x360dcb=_0x52897e['open']['options'][_0x52897e['open']['selected']],_0x449e82=_0x52897e['active']['find'](_0x4346d0=>_0x4346d0['source']==_0x360dcb['source']),_0x43b7ff=_0x360dcb['completion']['commitCharacters']||_0x449e82['result']['commitCharacters'];return _0x43b7ff&&_0x43b7ff['indexOf'](_0xcff962['key'])>-0x1&&_0x5b2dc7(_0x5c70b6,_0x360dcb),!0x1;}})),_0x598290=_0x118ca6['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','cursor':'pointer'},'.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'}}});var _0x839373=class{constructor(_0x10e1cc,_0x48655d,_0x534e41,_0x11ac8f){this['field']=_0x10e1cc,this['line']=_0x48655d,this['from']=_0x534e41,this['to']=_0x11ac8f;}},_0x25c28f=class _0x1fa305{constructor(_0x3eb233,_0x5dfebc,_0x1a9157){this['field']=_0x3eb233,this['from']=_0x5dfebc,this['to']=_0x1a9157;}['map'](_0x5e8a5c){let _0x4da3cd=_0x5e8a5c['mapPos'](this['from'],-0x1,_0x473ae9['TrackDel']),_0x2d8aba=_0x5e8a5c['mapPos'](this['to'],0x1,_0x473ae9['TrackDel']);return null==_0x4da3cd||null==_0x2d8aba?null:new _0x1fa305(this['field'],_0x4da3cd,_0x2d8aba);}},_0x5e3407=class Snippet{constructor(_0x2f0183,_0x4ed05d){this['lines']=_0x2f0183,this['fieldPositions']=_0x4ed05d;}['instantiate'](_0xa8cd9b,_0x4b41ad){let _0x2ee3e8=[],_0x56ec75=[_0x4b41ad],_0x3d8533=_0xa8cd9b['doc']['lineAt'](_0x4b41ad),_0x204a0f=/^\s*/['exec'](_0x3d8533['text'])[0x0];for(let _0x1ffcad of this['lines']){if(_0x2ee3e8['length']){let _0x32458b=_0x204a0f,_0x500de9=/^\t*/['exec'](_0x1ffcad)[0x0]['length'];for(let _0x114a5a=0x0;_0x114a5a<_0x500de9;_0x114a5a++)_0x32458b+=_0xa8cd9b['facet'](_0x53d31a);_0x56ec75['push'](_0x4b41ad+_0x32458b['length']-_0x500de9),_0x1ffcad=_0x32458b+_0x1ffcad['slice'](_0x500de9);}_0x2ee3e8['push'](_0x1ffcad),_0x4b41ad+=_0x1ffcad['length']+0x1;}return{'text':_0x2ee3e8,'ranges':this['fieldPositions']['map'](_0x1961bb=>new _0x25c28f(_0x1961bb['field'],_0x56ec75[_0x1961bb['line']]+_0x1961bb['from'],_0x56ec75[_0x1961bb['line']]+_0x1961bb['to']))};}static['parse'](_0x1a7554){let _0xc6f5aa,_0x463aec=[],_0x3d3204=[],_0x55ca50=[];for(let _0x696280 of _0x1a7554['split'](/\r\n?|\n/)){for(;_0xc6f5aa=/[#$]\{(?:(\d+)(?::([^{}]*))?|((?:\\[{}]|[^{}])*))\}/['exec'](_0x696280);){let _0x3532e6=_0xc6f5aa[0x1]?+_0xc6f5aa[0x1]:null,_0x3f3ad4=_0xc6f5aa[0x2]||_0xc6f5aa[0x3]||'',_0x19dac4=-0x1;0x0===_0x3532e6&&(_0x3532e6=0x3b9aca00);let _0xbb4b4d=_0x3f3ad4['replace'](/\\[{}]/g,_0x2fdd08=>_0x2fdd08[0x1]);for(let _0x2005c8=0x0;_0x2005c8<_0x463aec['length'];_0x2005c8++)(null!=_0x3532e6?_0x463aec[_0x2005c8]['seq']==_0x3532e6:_0xbb4b4d&&_0x463aec[_0x2005c8]['name']==_0xbb4b4d)&&(_0x19dac4=_0x2005c8);if(_0x19dac4<0x0){let _0x1048fe=0x0;for(;_0x1048fe<_0x463aec['length']&&(null==_0x3532e6||null!=_0x463aec[_0x1048fe]['seq']&&_0x463aec[_0x1048fe]['seq']<_0x3532e6);)_0x1048fe++;_0x463aec['splice'](_0x1048fe,0x0,{'seq':_0x3532e6,'name':_0xbb4b4d}),_0x19dac4=_0x1048fe;for(let _0x5112c5 of _0x55ca50)_0x5112c5['field']>=_0x19dac4&&_0x5112c5['field']++;}for(let _0x3a2a5b of _0x55ca50)if(_0x3a2a5b['line']==_0x3d3204['length']&&_0x3a2a5b['from']>_0xc6f5aa['index']){let _0x4a0103=_0xc6f5aa[0x2]?0x3+(_0xc6f5aa[0x1]||'')['length']:0x2;_0x3a2a5b['from']-=_0x4a0103,_0x3a2a5b['to']-=_0x4a0103;}_0x55ca50['push'](new _0x839373(_0x19dac4,_0x3d3204['length'],_0xc6f5aa['index'],_0xc6f5aa['index']+_0xbb4b4d['length'])),_0x696280=_0x696280['slice'](0x0,_0xc6f5aa['index'])+_0x3f3ad4+_0x696280['slice'](_0xc6f5aa['index']+_0xc6f5aa[0x0]['length']);}_0x696280=_0x696280['replace'](/\\([{}])/g,(_0x50d82a,_0x16d674,_0x332729)=>{for(let _0x54c36d of _0x55ca50)_0x54c36d['line']==_0x3d3204['length']&&_0x54c36d['from']>_0x332729&&(_0x54c36d['from']--,_0x54c36d['to']--);return _0x16d674;}),_0x3d3204['push'](_0x696280);}return new Snippet(_0x3d3204,_0x55ca50);}};let tB=_0x68bd12['widget']({'widget':new class extends _0x129238{['toDOM'](){let _0x2f15e7=document['createElement']('span');return _0x2f15e7['className']='cm-snippetFieldPosition',_0x2f15e7;}['ignoreEvent'](){return!0x1;}}()}),_0x531a81=_0x68bd12['mark']({'class':'cm-snippetField'});var _0x30c68e=class ActiveSnippet{constructor(_0x6c789b,_0xfb71d6){this['ranges']=_0x6c789b,this['active']=_0xfb71d6,this['deco']=_0x68bd12['set'](_0x6c789b['map'](_0x3aa328=>(_0x3aa328['from']==_0x3aa328['to']?tB:_0x531a81)['range'](_0x3aa328['from'],_0x3aa328['to'])),!0x0);}['map'](_0x1574c5){let _0x4c9161=[];for(let _0x59fae1 of this['ranges']){let _0xebf12e=_0x59fae1['map'](_0x1574c5);if(!_0xebf12e)return null;_0x4c9161['push'](_0xebf12e);}return new ActiveSnippet(_0x4c9161,this['active']);}['selectionInsideField'](_0x5a69e4){return _0x5a69e4['ranges']['every'](_0x167368=>this['ranges']['some'](_0x49471c=>_0x49471c['field']==this['active']&&_0x49471c['from']<=_0x167368['from']&&_0x49471c['to']>=_0x167368['to']));}};const _0x311d08=_0x41e66e['define']({'map':(_0x9a3ebe,_0xf12464)=>_0x9a3ebe&&_0x9a3ebe['map'](_0xf12464)}),_0x14f13f=_0x41e66e['define'](),_0x1562b2=_0x2bf5e0['define']({'create':()=>null,'update'(_0x1b3989,_0x10ddcd){for(let _0xc22385 of _0x10ddcd['effects']){if(_0xc22385['is'](_0x311d08))return _0xc22385['value'];if(_0xc22385['is'](_0x14f13f)&&_0x1b3989)return new _0x30c68e(_0x1b3989['ranges'],_0xc22385['value']);}return _0x1b3989&&_0x10ddcd['docChanged']&&(_0x1b3989=_0x1b3989['map'](_0x10ddcd['changes'])),_0x1b3989&&_0x10ddcd['selection']&&!_0x1b3989['selectionInsideField'](_0x10ddcd['selection'])&&(_0x1b3989=null),_0x1b3989;},'provide':_0x2bb061=>_0x118ca6['decorations']['from'](_0x2bb061,_0x550b58=>_0x550b58?_0x550b58['deco']:_0x68bd12['none'])});function _0x5d7b45(_0x342131,_0x30c117){return _0x152831['create'](_0x342131['filter'](_0x11fe33=>_0x11fe33['field']==_0x30c117)['map'](_0x13175e=>_0x152831['range'](_0x13175e['from'],_0x13175e['to'])));}function _0x3f20f4(_0x2b6740){let _0x2b3858=_0x5e3407['parse'](_0x2b6740);return(_0xe4e420,_0x22a3ba,_0x60d742,_0x58a922)=>{let {text:_0x52a4dc,ranges:_0x46e592}=_0x2b3858['instantiate'](_0xe4e420['state'],_0x60d742),{main:_0x252c16}=_0xe4e420['state']['selection'],_0x33f82a={'changes':{'from':_0x60d742,'to':_0x58a922==_0x252c16['from']?_0x252c16['to']:_0x58a922,'insert':_0x3de5aa['of'](_0x52a4dc)},'scrollIntoView':!0x0,'annotations':_0x22a3ba?[_0x291547['of'](_0x22a3ba),_0x5b5d8a['userEvent']['of']('input.complete')]:void 0x0};if(_0x46e592['length']&&(_0x33f82a['selection']=_0x5d7b45(_0x46e592,0x0)),_0x46e592['some'](_0x232c69=>_0x232c69['field']>0x0)){let _0x49a6d0=new _0x30c68e(_0x46e592,0x0),_0x3da0c4=_0x33f82a['effects']=[_0x311d08['of'](_0x49a6d0)];void 0x0===_0xe4e420['state']['field'](_0x1562b2,!0x1)&&_0x3da0c4['push'](_0x41e66e['appendConfig']['of']([_0x1562b2,_0x220938,_0x463e18,_0x598290]));}_0xe4e420['dispatch'](_0xe4e420['state']['update'](_0x33f82a));};}function _0x1059d5(_0x1410d1){return({state:_0x51797d,dispatch:_0x3c1e36})=>{let _0x3ad9f4=_0x51797d['field'](_0x1562b2,!0x1);if(!_0x3ad9f4||_0x1410d1<0x0&&0x0==_0x3ad9f4['active'])return!0x1;let _0xf15da3=_0x3ad9f4['active']+_0x1410d1,_0x4b4a26=_0x1410d1>0x0&&!_0x3ad9f4['ranges']['some'](_0x3ae018=>_0x3ae018['field']==_0xf15da3+_0x1410d1);return _0x3c1e36(_0x51797d['update']({'selection':_0x5d7b45(_0x3ad9f4['ranges'],_0xf15da3),'effects':_0x311d08['of'](_0x4b4a26?null:new _0x30c68e(_0x3ad9f4['ranges'],_0xf15da3)),'scrollIntoView':!0x0})),!0x0;};}const _0x85dd8e=[{'key':'Tab','run':_0x1059d5(0x1),'shift':_0x1059d5(-0x1)},{'key':'Escape','run':({state:_0x502b8f,dispatch:_0xa4b35b})=>!!_0x502b8f['field'](_0x1562b2,!0x1)&&(_0xa4b35b(_0x502b8f['update']({'effects':_0x311d08['of'](null)})),!0x0)}],_0x492754=_0x17b3ea['define']({'combine':_0x568be4=>_0x568be4['length']?_0x568be4[0x0]:_0x85dd8e}),_0x220938=_0x74fe9f['highest'](_0x12f94f['compute']([_0x492754],_0x1d7784=>_0x1d7784['facet'](_0x492754)));function _0x58953f(_0x464fd1,_0x2fb3c6){return{..._0x2fb3c6,'apply':_0x3f20f4(_0x464fd1)};}const _0x463e18=_0x118ca6['domEventHandlers']({'mousedown'(_0x58fa95,_0x3703ec){let _0xc3041a,_0x1ea5c8=_0x3703ec['state']['field'](_0x1562b2,!0x1);if(!_0x1ea5c8||null==(_0xc3041a=_0x3703ec['posAtCoords']({'x':_0x58fa95['clientX'],'y':_0x58fa95['clientY']})))return!0x1;let _0xeb6172=_0x1ea5c8['ranges']['find'](_0x3cc1db=>_0x3cc1db['from']<=_0xc3041a&&_0x3cc1db['to']>=_0xc3041a);return!(!_0xeb6172||_0xeb6172['field']==_0x1ea5c8['active'])&&(_0x3703ec['dispatch']({'selection':_0x5d7b45(_0x1ea5c8['ranges'],_0xeb6172['field']),'effects':_0x311d08['of'](_0x1ea5c8['ranges']['some'](_0x5143af=>_0x5143af['field']>_0xeb6172['field'])?new _0x30c68e(_0x1ea5c8['ranges'],_0xeb6172['field']):null),'scrollIntoView':!0x0}),!0x0);}}),_0x4b9a5d={'brackets':['(','[','{','\x27','\x22'],'before':')]}:;>','stringPrefixes':[]},_0x879877=_0x41e66e['define']({'map'(_0x2e4a05,_0x37fc88){let _0x24f144=_0x37fc88['mapPos'](_0x2e4a05,-0x1,_0x473ae9['TrackAfter']);return null==_0x24f144?void 0x0:_0x24f144;}}),_0x244ad4=new class extends _0x15c541{}();_0x244ad4['startSide']=0x1,_0x244ad4['endSide']=-0x1;const _0x4694cd=_0x2bf5e0['define']({'create':()=>_0x397923['empty'],'update'(_0x495538,_0x3af57d){if(_0x495538=_0x495538['map'](_0x3af57d['changes']),_0x3af57d['selection']){let _0x104c22=_0x3af57d['state']['doc']['lineAt'](_0x3af57d['selection']['main']['head']);_0x495538=_0x495538['update']({'filter':_0x127e83=>_0x127e83>=_0x104c22['from']&&_0x127e83<=_0x104c22['to']});}for(let _0x4030f6 of _0x3af57d['effects'])_0x4030f6['is'](_0x879877)&&(_0x495538=_0x495538['update']({'add':[_0x244ad4['range'](_0x4030f6['value'],_0x4030f6['value']+0x1)]}));return _0x495538;}});function _0x1eec8e(){return[_0x387961,_0x4694cd];}const _0x59cffc='()[]{}<>«»»«［］｛｝';function _0x122db4(_0x534db9){for(let _0x8462d4=0x0;_0x8462d4<0x10;_0x8462d4+=0x2)if(_0x59cffc['charCodeAt'](_0x8462d4)==_0x534db9)return _0x59cffc['charAt'](_0x8462d4+0x1);return _0x268183(_0x534db9<0x80?_0x534db9:_0x534db9+0x1);}function _0x2b262f(_0x1da2b7,_0x117817){return _0x1da2b7['languageDataAt']('closeBrackets',_0x117817)[0x0]||_0x4b9a5d;}const _0x1e73e4='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0x387961=_0x118ca6['inputHandler']['of']((_0xfa5dc0,_0x21f9f8,_0x2be751,_0x5b57d4)=>{if((_0x1e73e4?_0xfa5dc0['composing']:_0xfa5dc0['compositionStarted'])||_0xfa5dc0['state']['readOnly'])return!0x1;let _0x9b86e9=_0xfa5dc0['state']['selection']['main'];if(_0x5b57d4['length']>0x2||0x2==_0x5b57d4['length']&&0x1==_0x6db7fc(_0x3d5bb6(_0x5b57d4,0x0))||_0x21f9f8!=_0x9b86e9['from']||_0x2be751!=_0x9b86e9['to'])return!0x1;let _0x5d341d=function(_0x55c8cc,_0x45ef6e){let _0x170b89=_0x2b262f(_0x55c8cc,_0x55c8cc['selection']['main']['head']),_0x41bc71=_0x170b89['brackets']||_0x4b9a5d['brackets'];for(let _0x357747 of _0x41bc71){let _0x1b0934=_0x122db4(_0x3d5bb6(_0x357747,0x0));if(_0x45ef6e==_0x357747)return _0x1b0934==_0x357747?_0x3dc7ec(_0x55c8cc,_0x357747,_0x41bc71['indexOf'](_0x357747+_0x357747+_0x357747)>-0x1,_0x170b89):_0xa21bfa(_0x55c8cc,_0x357747,_0x1b0934,_0x170b89['before']||_0x4b9a5d['before']);if(_0x45ef6e==_0x1b0934&&_0x3b1a6f(_0x55c8cc,_0x55c8cc['selection']['main']['from']))return _0x139630(_0x55c8cc,_0x357747,_0x1b0934);}return null;}(_0xfa5dc0['state'],_0x5b57d4);return!!_0x5d341d&&(_0xfa5dc0['dispatch'](_0x5d341d),!0x0);}),_0x2dd0e3=[{'key':'Backspace','run':({state:_0x124bdb,dispatch:_0x128440})=>{if(_0x124bdb['readOnly'])return!0x1;let _0x1d1ee9=_0x2b262f(_0x124bdb,_0x124bdb['selection']['main']['head'])['brackets']||_0x4b9a5d['brackets'],_0x4ec01b=null,_0x457343=_0x124bdb['changeByRange'](_0x3a2777=>{if(_0x3a2777['empty']){let _0x1f7c3b=function(_0x42a4e1,_0x4d18f3){let _0x567040=_0x42a4e1['sliceString'](_0x4d18f3-0x2,_0x4d18f3);return _0x6db7fc(_0x3d5bb6(_0x567040,0x0))==_0x567040['length']?_0x567040:_0x567040['slice'](0x1);}(_0x124bdb['doc'],_0x3a2777['head']);for(let _0x16a731 of _0x1d1ee9)if(_0x16a731==_0x1f7c3b&&_0xd2f221(_0x124bdb['doc'],_0x3a2777['head'])==_0x122db4(_0x3d5bb6(_0x16a731,0x0)))return{'changes':{'from':_0x3a2777['head']-_0x16a731['length'],'to':_0x3a2777['head']+_0x16a731['length']},'range':_0x152831['cursor'](_0x3a2777['head']-_0x16a731['length'])};}return{'range':_0x4ec01b=_0x3a2777};});return _0x4ec01b||_0x128440(_0x124bdb['update'](_0x457343,{'scrollIntoView':!0x0,'userEvent':'delete.backward'})),!_0x4ec01b;}}];function _0x3b1a6f(_0x4f9218,_0x253688){let _0xf5a19a=!0x1;return _0x4f9218['field'](_0x4694cd)['between'](0x0,_0x4f9218['doc']['length'],_0xf20e38=>{_0xf20e38==_0x253688&&(_0xf5a19a=!0x0);}),_0xf5a19a;}function _0xd2f221(_0xd1b873,_0x21e860){let _0x3f36a1=_0xd1b873['sliceString'](_0x21e860,_0x21e860+0x2);return _0x3f36a1['slice'](0x0,_0x6db7fc(_0x3d5bb6(_0x3f36a1,0x0)));}function _0xa21bfa(_0x404bd8,_0x39022f,_0x2049bd,_0x16f46b){let _0x1521b1=null,_0x1f8f9c=_0x404bd8['changeByRange'](_0x5dd1f9=>{if(!_0x5dd1f9['empty'])return{'changes':[{'insert':_0x39022f,'from':_0x5dd1f9['from']},{'insert':_0x2049bd,'from':_0x5dd1f9['to']}],'effects':_0x879877['of'](_0x5dd1f9['to']+_0x39022f['length']),'range':_0x152831['range'](_0x5dd1f9['anchor']+_0x39022f['length'],_0x5dd1f9['head']+_0x39022f['length'])};let _0x2a9081=_0xd2f221(_0x404bd8['doc'],_0x5dd1f9['head']);return!_0x2a9081||/\s/['test'](_0x2a9081)||_0x16f46b['indexOf'](_0x2a9081)>-0x1?{'changes':{'insert':_0x39022f+_0x2049bd,'from':_0x5dd1f9['head']},'effects':_0x879877['of'](_0x5dd1f9['head']+_0x39022f['length']),'range':_0x152831['cursor'](_0x5dd1f9['head']+_0x39022f['length'])}:{'range':_0x1521b1=_0x5dd1f9};});return _0x1521b1?null:_0x404bd8['update'](_0x1f8f9c,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x139630(_0x20ec68,_0xdcca95,_0x21fe3f){let _0x28ade0=null,_0x4d076b=_0x20ec68['changeByRange'](_0x1af618=>_0x1af618['empty']&&_0xd2f221(_0x20ec68['doc'],_0x1af618['head'])==_0x21fe3f?{'changes':{'from':_0x1af618['head'],'to':_0x1af618['head']+_0x21fe3f['length'],'insert':_0x21fe3f},'range':_0x152831['cursor'](_0x1af618['head']+_0x21fe3f['length'])}:_0x28ade0={'range':_0x1af618});return _0x28ade0?null:_0x20ec68['update'](_0x4d076b,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x3dc7ec(_0x27e2f7,_0x5cdd58,_0xb0328,_0x30680e){let _0xa17e2=_0x30680e['stringPrefixes']||_0x4b9a5d['stringPrefixes'],_0x1ce27c=null,_0x33ee1b=_0x27e2f7['changeByRange'](_0x16d00a=>{if(!_0x16d00a['empty'])return{'changes':[{'insert':_0x5cdd58,'from':_0x16d00a['from']},{'insert':_0x5cdd58,'from':_0x16d00a['to']}],'effects':_0x879877['of'](_0x16d00a['to']+_0x5cdd58['length']),'range':_0x152831['range'](_0x16d00a['anchor']+_0x5cdd58['length'],_0x16d00a['head']+_0x5cdd58['length'])};let _0x311009,_0x3a29b9=_0x16d00a['head'],_0x50c08e=_0xd2f221(_0x27e2f7['doc'],_0x3a29b9);if(_0x50c08e==_0x5cdd58){if(_0x67777f(_0x27e2f7,_0x3a29b9))return{'changes':{'insert':_0x5cdd58+_0x5cdd58,'from':_0x3a29b9},'effects':_0x879877['of'](_0x3a29b9+_0x5cdd58['length']),'range':_0x152831['cursor'](_0x3a29b9+_0x5cdd58['length'])};if(_0x3b1a6f(_0x27e2f7,_0x3a29b9)){let _0x5756c7=_0xb0328&&_0x27e2f7['sliceDoc'](_0x3a29b9,_0x3a29b9+0x3*_0x5cdd58['length'])==_0x5cdd58+_0x5cdd58+_0x5cdd58?_0x5cdd58+_0x5cdd58+_0x5cdd58:_0x5cdd58;return{'changes':{'from':_0x3a29b9,'to':_0x3a29b9+_0x5756c7['length'],'insert':_0x5756c7},'range':_0x152831['cursor'](_0x3a29b9+_0x5756c7['length'])};}}else{if(_0xb0328&&_0x27e2f7['sliceDoc'](_0x3a29b9-0x2*_0x5cdd58['length'],_0x3a29b9)==_0x5cdd58+_0x5cdd58&&(_0x311009=_0x1acc1b(_0x27e2f7,_0x3a29b9-0x2*_0x5cdd58['length'],_0xa17e2))>-0x1&&_0x67777f(_0x27e2f7,_0x311009))return{'changes':{'insert':_0x5cdd58+_0x5cdd58+_0x5cdd58+_0x5cdd58,'from':_0x3a29b9},'effects':_0x879877['of'](_0x3a29b9+_0x5cdd58['length']),'range':_0x152831['cursor'](_0x3a29b9+_0x5cdd58['length'])};if(_0x27e2f7['charCategorizer'](_0x3a29b9)(_0x50c08e)!=_0x14413f['Word']&&_0x1acc1b(_0x27e2f7,_0x3a29b9,_0xa17e2)>-0x1&&!function(_0x5268a4,_0x285139,_0x239179,_0x47a762){let _0x36c3b0=_0xcd4dc4(_0x5268a4)['resolveInner'](_0x285139,-0x1),_0x182802=_0x47a762['reduce']((_0x4ab4f8,_0x18c4e5)=>Math['max'](_0x4ab4f8,_0x18c4e5['length']),0x0);for(let _0x37866b=0x0;_0x37866b<0x5;_0x37866b++){let _0x561416=_0x5268a4['sliceDoc'](_0x36c3b0['from'],Math['min'](_0x36c3b0['to'],_0x36c3b0['from']+_0x239179['length']+_0x182802)),_0x5b79ec=_0x561416['indexOf'](_0x239179);if(!_0x5b79ec||_0x5b79ec>-0x1&&_0x47a762['indexOf'](_0x561416['slice'](0x0,_0x5b79ec))>-0x1){let _0x2f65f8=_0x36c3b0['firstChild'];for(;_0x2f65f8&&_0x2f65f8['from']==_0x36c3b0['from']&&_0x2f65f8['to']-_0x2f65f8['from']>_0x239179['length']+_0x5b79ec;){if(_0x5268a4['sliceDoc'](_0x2f65f8['to']-_0x239179['length'],_0x2f65f8['to'])==_0x239179)return!0x1;_0x2f65f8=_0x2f65f8['firstChild'];}return!0x0;}let _0x344b6a=_0x36c3b0['to']==_0x285139&&_0x36c3b0['parent'];if(!_0x344b6a)break;_0x36c3b0=_0x344b6a;}return!0x1;}(_0x27e2f7,_0x3a29b9,_0x5cdd58,_0xa17e2))return{'changes':{'insert':_0x5cdd58+_0x5cdd58,'from':_0x3a29b9},'effects':_0x879877['of'](_0x3a29b9+_0x5cdd58['length']),'range':_0x152831['cursor'](_0x3a29b9+_0x5cdd58['length'])};}return{'range':_0x1ce27c=_0x16d00a};});return _0x1ce27c?null:_0x27e2f7['update'](_0x33ee1b,{'scrollIntoView':!0x0,'userEvent':'input.type'});}function _0x67777f(_0x4a7c09,_0x4bc1ab){let _0x47c4f0=_0xcd4dc4(_0x4a7c09)['resolveInner'](_0x4bc1ab+0x1);return _0x47c4f0['parent']&&_0x47c4f0['from']==_0x4bc1ab;}function _0x1acc1b(_0x562613,_0x49b5c0,_0x5d8f55){let _0x3f3ed8=_0x562613['charCategorizer'](_0x49b5c0);if(_0x3f3ed8(_0x562613['sliceDoc'](_0x49b5c0-0x1,_0x49b5c0))!=_0x14413f['Word'])return _0x49b5c0;for(let _0x15850a of _0x5d8f55){let _0x27c895=_0x49b5c0-_0x15850a['length'];if(_0x562613['sliceDoc'](_0x27c895,_0x49b5c0)==_0x15850a&&_0x3f3ed8(_0x562613['sliceDoc'](_0x27c895-0x1,_0x27c895))!=_0x14413f['Word'])return _0x27c895;}return-0x1;}function _0x30358b(_0x5cd7a9={}){return[_0x3deaa5,_0x5c18b5,_0xe51748['of'](_0x5cd7a9),_0x8994ff,_0x31a8af,_0x598290];}const _0x56f575=[{'key':'Ctrl-Space','run':_0xc81772},{'mac':'Alt-`','run':_0xc81772},{'mac':'Alt-i','run':_0xc81772},{'key':'Escape','run':_0x5b5c35=>{let _0x2b7c1a=_0x5b5c35['state']['field'](_0x5c18b5,!0x1);return!(!_0x2b7c1a||!_0x2b7c1a['active']['some'](_0x2d2e2d=>0x0!=_0x2d2e2d['state']))&&(_0x5b5c35['dispatch']({'effects':_0x2599f9['of'](null)}),!0x0);}},{'key':'ArrowDown','run':_0x13e598(!0x0)},{'key':'ArrowUp','run':_0x13e598(!0x1)},{'key':'PageDown','run':_0x13e598(!0x0,'page')},{'key':'PageUp','run':_0x13e598(!0x1,'page')},{'key':'Enter','run':_0x5bd15c=>{let _0xf67b77=_0x5bd15c['state']['field'](_0x5c18b5,!0x1);return!(_0x5bd15c['state']['readOnly']||!_0xf67b77||!_0xf67b77['open']||_0xf67b77['open']['selected']<0x0||_0xf67b77['open']['disabled']||Date['now']()-_0xf67b77['open']['timestamp']<_0x5bd15c['state']['facet'](_0xe51748)['interactionDelay'])&&_0x5b2dc7(_0x5bd15c,_0xf67b77['open']['options'][_0xf67b77['open']['selected']]);}}],_0x31a8af=_0x74fe9f['highest'](_0x12f94f['computeN']([_0xe51748],_0x401b3e=>_0x401b3e['facet'](_0xe51748)['defaultKeymap']?[_0x56f575]:[]));var _0x1c2e9d=class Stack{constructor(_0x37842f,_0x13f807,_0x4b82ad,_0x9727d6,_0xcb0661,_0x3407bb,_0x5a1256,_0x1cdbb0,_0x2588e7,_0x315042=0x0,_0x369274){this['p']=_0x37842f,this['stack']=_0x13f807,this['state']=_0x4b82ad,this['reducePos']=_0x9727d6,this['pos']=_0xcb0661,this['score']=_0x3407bb,this['buffer']=_0x5a1256,this['bufferBase']=_0x1cdbb0,this['curContext']=_0x2588e7,this['lookAhead']=_0x315042,this['parent']=_0x369274;}['toString'](){return'['+this['stack']['filter']((_0x212854,_0x2fb380)=>_0x2fb380%0x3==0x0)['concat'](this['state'])+']@'+this['pos']+(this['score']?'!'+this['score']:'');}static['start'](_0x280f50,_0x3691c3,_0x3537cd=0x0){let _0x1a1c22=_0x280f50['parser']['context'];return new Stack(_0x280f50,[],_0x3691c3,_0x3537cd,_0x3537cd,0x0,[],0x0,_0x1a1c22?new _0x19aa35(_0x1a1c22,_0x1a1c22['start']):null,0x0,null);}get['context'](){return this['curContext']?this['curContext']['context']:null;}['pushState'](_0x143b4a,_0x43ac89){this['stack']['push'](this['state'],_0x43ac89,this['bufferBase']+this['buffer']['length']),this['state']=_0x143b4a;}['reduce'](_0x3bcfbe){var _0x1072ea;let _0x418e26=_0x3bcfbe>>0x13,_0x5e9a3f=0xffff&_0x3bcfbe,{parser:_0x20c710}=this['p'],_0x3ad750=this['reducePos']<this['pos']-0x19&&this['setLookAhead'](this['pos']),_0x894c07=_0x20c710['dynamicPrecedence'](_0x5e9a3f);if(_0x894c07&&(this['score']+=_0x894c07),0x0==_0x418e26)return _0x5e9a3f<_0x20c710['minRepeatTerm']&&this['reducePos']<this['pos']&&(this['reducePos']=this['pos']),this['pushState'](_0x20c710['getGoto'](this['state'],_0x5e9a3f,!0x0),this['reducePos']),_0x5e9a3f<_0x20c710['minRepeatTerm']&&this['storeNode'](_0x5e9a3f,this['reducePos'],this['reducePos'],_0x3ad750?0x8:0x4,!0x0),void this['reduceContext'](_0x5e9a3f,this['reducePos']);let _0x691297=this['stack']['length']-0x3*(_0x418e26-0x1)-(0x40000&_0x3bcfbe?0x6:0x0),_0x4dcb81=_0x691297?this['stack'][_0x691297-0x2]:this['p']['ranges'][0x0]['from'];_0x5e9a3f<_0x20c710['minRepeatTerm']&&_0x4dcb81==this['reducePos']&&this['reducePos']<this['pos']&&(this['reducePos']=this['pos']);let _0xcd202=this['reducePos']-_0x4dcb81;_0xcd202>=0x7d0&&!(null===(_0x1072ea=this['p']['parser']['nodeSet']['types'][_0x5e9a3f])||void 0x0===_0x1072ea?void 0x0:_0x1072ea['isAnonymous'])&&(_0x4dcb81==this['p']['lastBigReductionStart']?(this['p']['bigReductionCount']++,this['p']['lastBigReductionSize']=_0xcd202):this['p']['lastBigReductionSize']<_0xcd202&&(this['p']['bigReductionCount']=0x1,this['p']['lastBigReductionStart']=_0x4dcb81,this['p']['lastBigReductionSize']=_0xcd202));let _0x31c419=_0x691297?this['stack'][_0x691297-0x1]:0x0,_0x2fab38=this['bufferBase']+this['buffer']['length']-_0x31c419;if(_0x5e9a3f<_0x20c710['minRepeatTerm']||0x20000&_0x3bcfbe){let _0x11a74a=_0x20c710['stateFlag'](this['state'],0x1)?this['pos']:this['reducePos'];this['storeNode'](_0x5e9a3f,_0x4dcb81,_0x11a74a,_0x2fab38+0x4,!0x0);}if(0x40000&_0x3bcfbe)this['state']=this['stack'][_0x691297];else{let _0x1bac56=this['stack'][_0x691297-0x3];this['state']=_0x20c710['getGoto'](_0x1bac56,_0x5e9a3f,!0x0);}for(;this['stack']['length']>_0x691297;)this['stack']['pop']();this['reduceContext'](_0x5e9a3f,_0x4dcb81);}['storeNode'](_0x28add2,_0x582f6,_0x285503,_0xc09fbb=0x4,_0x499dde=!0x1){if(0x0==_0x28add2&&(!this['stack']['length']||this['stack'][this['stack']['length']-0x1]<this['buffer']['length']+this['bufferBase'])){let _0x3bd1da=this['buffer']['length'];if(_0x3bd1da>0x0&&0x0==this['buffer'][_0x3bd1da-0x4]&&this['buffer'][_0x3bd1da-0x1]>-0x1){if(_0x582f6==_0x285503)return;if(this['buffer'][_0x3bd1da-0x2]>=_0x582f6)return void(this['buffer'][_0x3bd1da-0x2]=_0x285503);}}if(_0x499dde&&this['pos']!=_0x285503){let _0x4339d2=this['buffer']['length'];if(_0x4339d2>0x0&&(0x0!=this['buffer'][_0x4339d2-0x4]||this['buffer'][_0x4339d2-0x1]<0x0)){let _0xe2cf69=!0x1;for(let _0x2260c4=_0x4339d2;_0x2260c4>0x0&&this['buffer'][_0x2260c4-0x2]>_0x285503;_0x2260c4-=0x4)if(this['buffer'][_0x2260c4-0x1]>=0x0){_0xe2cf69=!0x0;break;}if(_0xe2cf69){for(;_0x4339d2>0x0&&this['buffer'][_0x4339d2-0x2]>_0x285503;)this['buffer'][_0x4339d2]=this['buffer'][_0x4339d2-0x4],this['buffer'][_0x4339d2+0x1]=this['buffer'][_0x4339d2-0x3],this['buffer'][_0x4339d2+0x2]=this['buffer'][_0x4339d2-0x2],this['buffer'][_0x4339d2+0x3]=this['buffer'][_0x4339d2-0x1],_0x4339d2-=0x4,_0xc09fbb>0x4&&(_0xc09fbb-=0x4);}}this['buffer'][_0x4339d2]=_0x28add2,this['buffer'][_0x4339d2+0x1]=_0x582f6,this['buffer'][_0x4339d2+0x2]=_0x285503,this['buffer'][_0x4339d2+0x3]=_0xc09fbb;}else this['buffer']['push'](_0x28add2,_0x582f6,_0x285503,_0xc09fbb);}['shift'](_0x3cf598,_0x325fd9,_0x55da63,_0x5c896f){if(0x20000&_0x3cf598)this['pushState'](0xffff&_0x3cf598,this['pos']);else{if(0x40000&_0x3cf598)this['pos']=_0x5c896f,this['shiftContext'](_0x325fd9,_0x55da63),_0x325fd9<=this['p']['parser']['maxNode']&&this['buffer']['push'](_0x325fd9,_0x55da63,_0x5c896f,0x4);else{let _0x55e66a=_0x3cf598,{parser:_0x5845d1}=this['p'];this['pos']=_0x5c896f;let _0x2666a8=_0x5845d1['stateFlag'](_0x55e66a,0x1);!_0x2666a8&&(_0x5c896f>_0x55da63||_0x325fd9<=_0x5845d1['maxNode'])&&(this['reducePos']=_0x5c896f),this['pushState'](_0x55e66a,_0x2666a8?_0x55da63:Math['min'](_0x55da63,this['reducePos'])),this['shiftContext'](_0x325fd9,_0x55da63),_0x325fd9<=_0x5845d1['maxNode']&&this['buffer']['push'](_0x325fd9,_0x55da63,_0x5c896f,0x4);}}}['apply'](_0x125c60,_0x2f3e2d,_0x5a4c02,_0x491332){0x10000&_0x125c60?this['reduce'](_0x125c60):this['shift'](_0x125c60,_0x2f3e2d,_0x5a4c02,_0x491332);}['useNode'](_0x185f6f,_0x37e400){let _0x15297f=this['p']['reused']['length']-0x1;(_0x15297f<0x0||this['p']['reused'][_0x15297f]!=_0x185f6f)&&(this['p']['reused']['push'](_0x185f6f),_0x15297f++);let _0x4a21d0=this['pos'];this['reducePos']=this['pos']=_0x4a21d0+_0x185f6f['length'],this['pushState'](_0x37e400,_0x4a21d0),this['buffer']['push'](_0x15297f,_0x4a21d0,this['reducePos'],-0x1),this['curContext']&&this['updateContext'](this['curContext']['tracker']['reuse'](this['curContext']['context'],_0x185f6f,this,this['p']['stream']['reset'](this['pos']-_0x185f6f['length'])));}['split'](){let _0x34f171=this,_0x29e46a=_0x34f171['buffer']['length'];for(_0x29e46a&&0x0==_0x34f171['buffer'][_0x29e46a-0x4]&&(_0x29e46a-=0x4);_0x29e46a>0x0&&_0x34f171['buffer'][_0x29e46a-0x2]>_0x34f171['reducePos'];)_0x29e46a-=0x4;let _0x39fd73=_0x34f171['buffer']['slice'](_0x29e46a),_0x13762f=_0x34f171['bufferBase']+_0x29e46a;for(;_0x34f171&&_0x13762f==_0x34f171['bufferBase'];)_0x34f171=_0x34f171['parent'];return new Stack(this['p'],this['stack']['slice'](),this['state'],this['reducePos'],this['pos'],this['score'],_0x39fd73,_0x13762f,this['curContext'],this['lookAhead'],_0x34f171);}['recoverByDelete'](_0x5ec54b,_0x11c2a2){let _0x42db87=_0x5ec54b<=this['p']['parser']['maxNode'];_0x42db87&&this['storeNode'](_0x5ec54b,this['pos'],_0x11c2a2,0x4),this['storeNode'](0x0,this['pos'],_0x11c2a2,_0x42db87?0x8:0x4),this['pos']=this['reducePos']=_0x11c2a2,this['score']-=0xbe;}['canShift'](_0xebd776){for(let _0x34bcfe=new _0x360fce(this);;){let _0x419c46=this['p']['parser']['stateSlot'](_0x34bcfe['state'],0x4)||this['p']['parser']['hasAction'](_0x34bcfe['state'],_0xebd776);if(0x0==_0x419c46)return!0x1;if(!(0x10000&_0x419c46))return!0x0;_0x34bcfe['reduce'](_0x419c46);}}['recoverByInsert'](_0x4cc2f2){if(this['stack']['length']>=0x12c)return[];let _0x1f5d89=this['p']['parser']['nextStates'](this['state']);if(_0x1f5d89['length']>0x8||this['stack']['length']>=0x78){let _0x23207d=[];for(let _0x50b929,_0x1bde92=0x0;_0x1bde92<_0x1f5d89['length'];_0x1bde92+=0x2)(_0x50b929=_0x1f5d89[_0x1bde92+0x1])!=this['state']&&this['p']['parser']['hasAction'](_0x50b929,_0x4cc2f2)&&_0x23207d['push'](_0x1f5d89[_0x1bde92],_0x50b929);if(this['stack']['length']<0x78)for(let _0x331407=0x0;_0x23207d['length']<0x8&&_0x331407<_0x1f5d89['length'];_0x331407+=0x2){let _0x5b320d=_0x1f5d89[_0x331407+0x1];_0x23207d['some']((_0x283166,_0x99783)=>0x1&_0x99783&&_0x283166==_0x5b320d)||_0x23207d['push'](_0x1f5d89[_0x331407],_0x5b320d);}_0x1f5d89=_0x23207d;}let _0x4d9374=[];for(let _0x4556b1=0x0;_0x4556b1<_0x1f5d89['length']&&_0x4d9374['length']<0x4;_0x4556b1+=0x2){let _0x26fb16=_0x1f5d89[_0x4556b1+0x1];if(_0x26fb16==this['state'])continue;let _0x4f6036=this['split']();_0x4f6036['pushState'](_0x26fb16,this['pos']),_0x4f6036['storeNode'](0x0,_0x4f6036['pos'],_0x4f6036['pos'],0x4,!0x0),_0x4f6036['shiftContext'](_0x1f5d89[_0x4556b1],this['pos']),_0x4f6036['reducePos']=this['pos'],_0x4f6036['score']-=0xc8,_0x4d9374['push'](_0x4f6036);}return _0x4d9374;}['forceReduce'](){let {parser:_0x38b318}=this['p'],_0x5b255e=_0x38b318['stateSlot'](this['state'],0x5);if(!(0x10000&_0x5b255e))return!0x1;if(!_0x38b318['validAction'](this['state'],_0x5b255e)){let _0x2cebb1=_0x5b255e>>0x13,_0x1da770=0xffff&_0x5b255e,_0x558ffd=this['stack']['length']-0x3*_0x2cebb1;if(_0x558ffd<0x0||_0x38b318['getGoto'](this['stack'][_0x558ffd],_0x1da770,!0x1)<0x0){let _0x95f81=this['findForcedReduction']();if(null==_0x95f81)return!0x1;_0x5b255e=_0x95f81;}this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['score']-=0x64;}return this['reducePos']=this['pos'],this['reduce'](_0x5b255e),!0x0;}['findForcedReduction'](){let {parser:_0x27b64b}=this['p'],_0x5174d4=[],_0x1c7cc8=(_0x2220a3,_0x1bebd1)=>{if(!_0x5174d4['includes'](_0x2220a3))return _0x5174d4['push'](_0x2220a3),_0x27b64b['allActions'](_0x2220a3,_0x454486=>{if(0x60000&_0x454486);else{if(0x10000&_0x454486){let _0x5e0ec3=(_0x454486>>0x13)-_0x1bebd1;if(_0x5e0ec3>0x1){let _0x348e3f=0xffff&_0x454486,_0xd794e4=this['stack']['length']-0x3*_0x5e0ec3;if(_0xd794e4>=0x0&&_0x27b64b['getGoto'](this['stack'][_0xd794e4],_0x348e3f,!0x1)>=0x0)return _0x5e0ec3<<0x13|0x10000|_0x348e3f;}}else{let _0xde527c=_0x1c7cc8(_0x454486,_0x1bebd1+0x1);if(null!=_0xde527c)return _0xde527c;}}});};return _0x1c7cc8(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:_0x729a64}=this['p'];return 0xffff==_0x729a64['data'][_0x729a64['stateSlot'](this['state'],0x1)]&&!_0x729a64['stateSlot'](this['state'],0x4);}['restart'](){this['storeNode'](0x0,this['pos'],this['pos'],0x4,!0x0),this['state']=this['stack'][0x0],this['stack']['length']=0x0;}['sameState'](_0x3ee7d4){if(this['state']!=_0x3ee7d4['state']||this['stack']['length']!=_0x3ee7d4['stack']['length'])return!0x1;for(let _0x41ff55=0x0;_0x41ff55<this['stack']['length'];_0x41ff55+=0x3)if(this['stack'][_0x41ff55]!=_0x3ee7d4['stack'][_0x41ff55])return!0x1;return!0x0;}get['parser'](){return this['p']['parser'];}['dialectEnabled'](_0x6b2f4e){return this['p']['parser']['dialect']['flags'][_0x6b2f4e];}['shiftContext'](_0x5cd8e5,_0x46f9f6){this['curContext']&&this['updateContext'](this['curContext']['tracker']['shift'](this['curContext']['context'],_0x5cd8e5,this,this['p']['stream']['reset'](_0x46f9f6)));}['reduceContext'](_0x56f315,_0x593931){this['curContext']&&this['updateContext'](this['curContext']['tracker']['reduce'](this['curContext']['context'],_0x56f315,this,this['p']['stream']['reset'](_0x593931)));}['emitContext'](){let _0x51e521=this['buffer']['length']-0x1;(_0x51e521<0x0||-0x3!=this['buffer'][_0x51e521])&&this['buffer']['push'](this['curContext']['hash'],this['pos'],this['pos'],-0x3);}['emitLookAhead'](){let _0x3dd009=this['buffer']['length']-0x1;(_0x3dd009<0x0||-0x4!=this['buffer'][_0x3dd009])&&this['buffer']['push'](this['lookAhead'],this['pos'],this['pos'],-0x4);}['updateContext'](_0x4ae343){if(_0x4ae343!=this['curContext']['context']){let _0xaca444=new _0x19aa35(this['curContext']['tracker'],_0x4ae343);_0xaca444['hash']!=this['curContext']['hash']&&this['emitContext'](),this['curContext']=_0xaca444;}}['setLookAhead'](_0x249efa){return!(_0x249efa<=this['lookAhead'])&&(this['emitLookAhead'](),this['lookAhead']=_0x249efa,!0x0);}['close'](){this['curContext']&&this['curContext']['tracker']['strict']&&this['emitContext'](),this['lookAhead']>0x0&&this['emitLookAhead']();}},_0x19aa35=class{constructor(_0x97f7,_0x47f793){this['tracker']=_0x97f7,this['context']=_0x47f793,this['hash']=_0x97f7['strict']?_0x97f7['hash'](_0x47f793):0x0;}},_0x360fce=class{constructor(_0x18277f){this['start']=_0x18277f,this['state']=_0x18277f['state'],this['stack']=_0x18277f['stack'],this['base']=this['stack']['length'];}['reduce'](_0x5ac604){let _0x380202=0xffff&_0x5ac604,_0x558fce=_0x5ac604>>0x13;0x0==_0x558fce?(this['stack']==this['start']['stack']&&(this['stack']=this['stack']['slice']()),this['stack']['push'](this['state'],0x0,0x0),this['base']+=0x3):this['base']-=0x3*(_0x558fce-0x1);let _0xa1fce9=this['start']['p']['parser']['getGoto'](this['stack'][this['base']-0x3],_0x380202,!0x0);this['state']=_0xa1fce9;}},_0x24c32c=class StackBufferCursor{constructor(_0x46281e,_0x27dddb,_0xafb0f4){this['stack']=_0x46281e,this['pos']=_0x27dddb,this['index']=_0xafb0f4,this['buffer']=_0x46281e['buffer'],0x0==this['index']&&this['maybeNext']();}static['create'](_0x1aee4f,_0x5aabd5=_0x1aee4f['bufferBase']+_0x1aee4f['buffer']['length']){return new StackBufferCursor(_0x1aee4f,_0x5aabd5,_0x5aabd5-_0x1aee4f['bufferBase']);}['maybeNext'](){let _0x4d5416=this['stack']['parent'];null!=_0x4d5416&&(this['index']=this['stack']['bufferBase']-_0x4d5416['bufferBase'],this['stack']=_0x4d5416,this['buffer']=_0x4d5416['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 _0x4972d8(_0x42d7dd,_0x42c1e9=Uint16Array){if('string'!=typeof _0x42d7dd)return _0x42d7dd;let _0x21f9fd=null;for(let _0x4be427=0x0,_0x46cae7=0x0;_0x4be427<_0x42d7dd['length'];){let _0x5de567=0x0;for(;;){let _0x52a97f=_0x42d7dd['charCodeAt'](_0x4be427++),_0x10ec9e=!0x1;if(0x7e==_0x52a97f){_0x5de567=0xffff;break;}_0x52a97f>=0x5c&&_0x52a97f--,_0x52a97f>=0x22&&_0x52a97f--;let _0x1d0613=_0x52a97f-0x20;if(_0x1d0613>=0x2e&&(_0x1d0613-=0x2e,_0x10ec9e=!0x0),_0x5de567+=_0x1d0613,_0x10ec9e)break;_0x5de567*=0x2e;}_0x21f9fd?_0x21f9fd[_0x46cae7++]=_0x5de567:_0x21f9fd=new _0x42c1e9(_0x5de567);}return _0x21f9fd;}var _0x30176c=class{constructor(){this['start']=-0x1,this['value']=-0x1,this['end']=-0x1,this['extended']=-0x1,this['lookAhead']=0x0,this['mask']=0x0,this['context']=0x0;}};const _0x451eb8=new _0x30176c();var _0x577fff=class{constructor(_0x2a6a29,_0x47f80d){this['input']=_0x2a6a29,this['ranges']=_0x47f80d,this['chunk']='',this['chunkOff']=0x0,this['chunk2']='',this['chunk2Pos']=0x0,this['next']=-0x1,this['token']=_0x451eb8,this['rangeIndex']=0x0,this['pos']=this['chunkPos']=_0x47f80d[0x0]['from'],this['range']=_0x47f80d[0x0],this['end']=_0x47f80d[_0x47f80d['length']-0x1]['to'],this['readNext']();}['resolveOffset'](_0x3b75b1,_0x5a00d1){let _0x36270d=this['range'],_0x17cad8=this['rangeIndex'],_0x4632a1=this['pos']+_0x3b75b1;for(;_0x4632a1<_0x36270d['from'];){if(!_0x17cad8)return null;let _0x5a9018=this['ranges'][--_0x17cad8];_0x4632a1-=_0x36270d['from']-_0x5a9018['to'],_0x36270d=_0x5a9018;}for(;_0x5a00d1<0x0?_0x4632a1>_0x36270d['to']:_0x4632a1>=_0x36270d['to'];){if(_0x17cad8==this['ranges']['length']-0x1)return null;let _0xadffe6=this['ranges'][++_0x17cad8];_0x4632a1+=_0xadffe6['from']-_0x36270d['to'],_0x36270d=_0xadffe6;}return _0x4632a1;}['clipPos'](_0x2799cf){if(_0x2799cf>=this['range']['from']&&_0x2799cf<this['range']['to'])return _0x2799cf;for(let _0x42526d of this['ranges'])if(_0x42526d['to']>_0x2799cf)return Math['max'](_0x2799cf,_0x42526d['from']);return this['end'];}['peek'](_0x54c9fc){let _0xe0447b,_0x49aa10,_0x1e8002=this['chunkOff']+_0x54c9fc;if(_0x1e8002>=0x0&&_0x1e8002<this['chunk']['length'])_0xe0447b=this['pos']+_0x54c9fc,_0x49aa10=this['chunk']['charCodeAt'](_0x1e8002);else{let _0x291852=this['resolveOffset'](_0x54c9fc,0x1);if(null==_0x291852)return-0x1;if(_0xe0447b=_0x291852,_0xe0447b>=this['chunk2Pos']&&_0xe0447b<this['chunk2Pos']+this['chunk2']['length'])_0x49aa10=this['chunk2']['charCodeAt'](_0xe0447b-this['chunk2Pos']);else{let _0x432b17=this['rangeIndex'],_0x4d97aa=this['range'];for(;_0x4d97aa['to']<=_0xe0447b;)_0x4d97aa=this['ranges'][++_0x432b17];this['chunk2']=this['input']['chunk'](this['chunk2Pos']=_0xe0447b),_0xe0447b+this['chunk2']['length']>_0x4d97aa['to']&&(this['chunk2']=this['chunk2']['slice'](0x0,_0x4d97aa['to']-_0xe0447b)),_0x49aa10=this['chunk2']['charCodeAt'](0x0);}}return _0xe0447b>=this['token']['lookAhead']&&(this['token']['lookAhead']=_0xe0447b+0x1),_0x49aa10;}['acceptToken'](_0x21841f,_0x24b880=0x0){let _0x44986c=_0x24b880?this['resolveOffset'](_0x24b880,-0x1):this['pos'];if(null==_0x44986c||_0x44986c<this['token']['start'])throw new RangeError('Token\x20end\x20out\x20of\x20bounds');this['token']['value']=_0x21841f,this['token']['end']=_0x44986c;}['acceptTokenTo'](_0xb35a29,_0x46b1b5){this['token']['value']=_0xb35a29,this['token']['end']=_0x46b1b5;}['getChunk'](){if(this['pos']>=this['chunk2Pos']&&this['pos']<this['chunk2Pos']+this['chunk2']['length']){let {chunk:_0x51517a,chunkPos:_0x457074}=this;this['chunk']=this['chunk2'],this['chunkPos']=this['chunk2Pos'],this['chunk2']=_0x51517a,this['chunk2Pos']=_0x457074,this['chunkOff']=this['pos']-this['chunkPos'];}else{this['chunk2']=this['chunk'],this['chunk2Pos']=this['chunkPos'];let _0x35896e=this['input']['chunk'](this['pos']),_0x4d3bcd=this['pos']+_0x35896e['length'];this['chunk']=_0x4d3bcd>this['range']['to']?_0x35896e['slice'](0x0,this['range']['to']-this['pos']):_0x35896e,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'](_0x5b0585=0x1){for(this['chunkOff']+=_0x5b0585;this['pos']+_0x5b0585>=this['range']['to'];){if(this['rangeIndex']==this['ranges']['length']-0x1)return this['setDone']();_0x5b0585-=this['range']['to']-this['pos'],this['range']=this['ranges'][++this['rangeIndex']],this['pos']=this['range']['from'];}return this['pos']+=_0x5b0585,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'](_0xe3bc4c,_0x3d7850){if(_0x3d7850?(this['token']=_0x3d7850,_0x3d7850['start']=_0xe3bc4c,_0x3d7850['lookAhead']=_0xe3bc4c+0x1,_0x3d7850['value']=_0x3d7850['extended']=-0x1):this['token']=_0x451eb8,this['pos']!=_0xe3bc4c){if(this['pos']=_0xe3bc4c,_0xe3bc4c==this['end'])return this['setDone'](),this;for(;_0xe3bc4c<this['range']['from'];)this['range']=this['ranges'][--this['rangeIndex']];for(;_0xe3bc4c>=this['range']['to'];)this['range']=this['ranges'][++this['rangeIndex']];_0xe3bc4c>=this['chunkPos']&&_0xe3bc4c<this['chunkPos']+this['chunk']['length']?this['chunkOff']=_0xe3bc4c-this['chunkPos']:(this['chunk']='',this['chunkOff']=0x0),this['readNext']();}return this;}['read'](_0x2c30d7,_0x313d00){if(_0x2c30d7>=this['chunkPos']&&_0x313d00<=this['chunkPos']+this['chunk']['length'])return this['chunk']['slice'](_0x2c30d7-this['chunkPos'],_0x313d00-this['chunkPos']);if(_0x2c30d7>=this['chunk2Pos']&&_0x313d00<=this['chunk2Pos']+this['chunk2']['length'])return this['chunk2']['slice'](_0x2c30d7-this['chunk2Pos'],_0x313d00-this['chunk2Pos']);if(_0x2c30d7>=this['range']['from']&&_0x313d00<=this['range']['to'])return this['input']['read'](_0x2c30d7,_0x313d00);let _0x147517='';for(let _0x24c033 of this['ranges']){if(_0x24c033['from']>=_0x313d00)break;_0x24c033['to']>_0x2c30d7&&(_0x147517+=this['input']['read'](Math['max'](_0x24c033['from'],_0x2c30d7),Math['min'](_0x24c033['to'],_0x313d00)));}return _0x147517;}},_0x3888af=class{constructor(_0x48cf75,_0x5445cd){this['data']=_0x48cf75,this['id']=_0x5445cd;}['token'](_0x12cb04,_0x14bd2d){let {parser:_0x52f337}=_0x14bd2d['p'];_0x194948(this['data'],_0x12cb04,_0x14bd2d,this['id'],_0x52f337['data'],_0x52f337['tokenPrecTable']);}};_0x3888af['prototype']['contextual']=_0x3888af['prototype']['fallback']=_0x3888af['prototype']['extend']=!0x1;var _0x504c26=class{constructor(_0x33e505,_0x10ec68,_0x4c347c){this['precTable']=_0x10ec68,this['elseToken']=_0x4c347c,this['data']='string'==typeof _0x33e505?_0x4972d8(_0x33e505):_0x33e505;}['token'](_0x2883dd,_0xe79949){let _0x175ff2=_0x2883dd['pos'],_0x20c1f3=0x0;for(;;){let _0x500000=_0x2883dd['next']<0x0,_0x5c68dc=_0x2883dd['resolveOffset'](0x1,0x1);if(_0x194948(this['data'],_0x2883dd,_0xe79949,0x0,this['data'],this['precTable']),_0x2883dd['token']['value']>-0x1)break;if(null==this['elseToken'])return;if(_0x500000||_0x20c1f3++,null==_0x5c68dc)break;_0x2883dd['reset'](_0x5c68dc,_0x2883dd['token']);}_0x20c1f3&&(_0x2883dd['reset'](_0x175ff2,_0x2883dd['token']),_0x2883dd['acceptToken'](this['elseToken'],_0x20c1f3));}};_0x504c26['prototype']['contextual']=_0x3888af['prototype']['fallback']=_0x3888af['prototype']['extend']=!0x1;var _0x2ed6fa=class{constructor(_0x1fef2c,_0x2077a8={}){this['token']=_0x1fef2c,this['contextual']=!!_0x2077a8['contextual'],this['fallback']=!!_0x2077a8['fallback'],this['extend']=!!_0x2077a8['extend'];}};function _0x194948(_0x3eef54,_0x32d51a,_0x5f5a57,_0x57d104,_0x75120,_0x1a66c7){let _0x4c3213=0x0,_0x150ec9=0x1<<_0x57d104,{dialect:_0x2af931}=_0x5f5a57['p']['parser'];t:for(;0x0!=(_0x150ec9&_0x3eef54[_0x4c3213]);){let _0x11a388=_0x3eef54[_0x4c3213+0x1];for(let _0x57d194=_0x4c3213+0x3;_0x57d194<_0x11a388;_0x57d194+=0x2)if((_0x3eef54[_0x57d194+0x1]&_0x150ec9)>0x0){let _0x266144=_0x3eef54[_0x57d194];if(_0x2af931['allows'](_0x266144)&&(-0x1==_0x32d51a['token']['value']||_0x32d51a['token']['value']==_0x266144||_0x39ddab(_0x266144,_0x32d51a['token']['value'],_0x75120,_0x1a66c7))){_0x32d51a['acceptToken'](_0x266144);break;}}let _0x14a465=_0x32d51a['next'],_0x241c72=0x0,_0x21f4ce=_0x3eef54[_0x4c3213+0x2];if(!(_0x32d51a['next']<0x0&&_0x21f4ce>_0x241c72&&0xffff==_0x3eef54[_0x11a388+0x3*_0x21f4ce-0x3])){for(;_0x241c72<_0x21f4ce;){let _0x2d6d81=_0x241c72+_0x21f4ce>>0x1,_0x3c73ad=_0x11a388+_0x2d6d81+(_0x2d6d81<<0x1),_0x4c80fb=_0x3eef54[_0x3c73ad],_0x1c9b3a=_0x3eef54[_0x3c73ad+0x1]||0x10000;if(_0x14a465<_0x4c80fb)_0x21f4ce=_0x2d6d81;else{if(!(_0x14a465>=_0x1c9b3a)){_0x4c3213=_0x3eef54[_0x3c73ad+0x2],_0x32d51a['advance']();continue t;}_0x241c72=_0x2d6d81+0x1;}}break;}_0x4c3213=_0x3eef54[_0x11a388+0x3*_0x21f4ce-0x1];}}function _0x4616a9(_0x487b30,_0x41b1dd,_0x200654){for(let _0x49820c,_0x89ac37=_0x41b1dd;0xffff!=(_0x49820c=_0x487b30[_0x89ac37]);_0x89ac37++)if(_0x49820c==_0x200654)return _0x89ac37-_0x41b1dd;return-0x1;}function _0x39ddab(_0x23dba8,_0x2ef89c,_0x56178c,_0x4ce120){let _0x1dce2f=_0x4616a9(_0x56178c,_0x4ce120,_0x2ef89c);return _0x1dce2f<0x0||_0x4616a9(_0x56178c,_0x4ce120,_0x23dba8)<_0x1dce2f;}const _0x27bbad='undefined'!=typeof process&&process['env']&&/\bparse\b/['test'](process['env']['LOG']);let _0x1e3071=null;function _0x1519de(_0x3e784e,_0x44874c,_0x40aa4b){let _0x599d03=_0x3e784e['cursor'](_0x529189['IncludeAnonymous']);for(_0x599d03['moveTo'](_0x44874c);;)if(!(_0x40aa4b<0x0?_0x599d03['childBefore'](_0x44874c):_0x599d03['childAfter'](_0x44874c)))for(;;){if((_0x40aa4b<0x0?_0x599d03['to']<_0x44874c:_0x599d03['from']>_0x44874c)&&!_0x599d03['type']['isError'])return _0x40aa4b<0x0?Math['max'](0x0,Math['min'](_0x599d03['to']-0x1,_0x44874c-0x19)):Math['min'](_0x3e784e['length'],Math['max'](_0x599d03['from']+0x1,_0x44874c+0x19));if(_0x40aa4b<0x0?_0x599d03['prevSibling']():_0x599d03['nextSibling']())break;if(!_0x599d03['parent']())return _0x40aa4b<0x0?0x0:_0x3e784e['length'];}}var _0x2b734e=class{constructor(_0x1bb1fd,_0x11a0f0){this['fragments']=_0x1bb1fd,this['nodeSet']=_0x11a0f0,this['i']=0x0,this['fragment']=null,this['safeFrom']=-0x1,this['safeTo']=-0x1,this['trees']=[],this['start']=[],this['index']=[],this['nextFragment']();}['nextFragment'](){let _0x1758a3=this['fragment']=this['i']==this['fragments']['length']?null:this['fragments'][this['i']++];if(_0x1758a3){for(this['safeFrom']=_0x1758a3['openStart']?_0x1519de(_0x1758a3['tree'],_0x1758a3['from']+_0x1758a3['offset'],0x1)-_0x1758a3['offset']:_0x1758a3['from'],this['safeTo']=_0x1758a3['openEnd']?_0x1519de(_0x1758a3['tree'],_0x1758a3['to']+_0x1758a3['offset'],-0x1)-_0x1758a3['offset']:_0x1758a3['to'];this['trees']['length'];)this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();this['trees']['push'](_0x1758a3['tree']),this['start']['push'](-_0x1758a3['offset']),this['index']['push'](0x0),this['nextStart']=this['safeFrom'];}else this['nextStart']=0x3b9aca00;}['nodeAt'](_0x3feaba){if(_0x3feaba<this['nextStart'])return null;for(;this['fragment']&&this['safeTo']<=_0x3feaba;)this['nextFragment']();if(!this['fragment'])return null;for(;;){let _0x594c91=this['trees']['length']-0x1;if(_0x594c91<0x0)return this['nextFragment'](),null;let _0xd16ca1=this['trees'][_0x594c91],_0x20e84=this['index'][_0x594c91];if(_0x20e84==_0xd16ca1['children']['length']){this['trees']['pop'](),this['start']['pop'](),this['index']['pop']();continue;}let _0x2dbcd6=_0xd16ca1['children'][_0x20e84],_0x5f3a76=this['start'][_0x594c91]+_0xd16ca1['positions'][_0x20e84];if(_0x5f3a76>_0x3feaba)return this['nextStart']=_0x5f3a76,null;if(_0x2dbcd6 instanceof _0x5a1f7d){if(_0x5f3a76==_0x3feaba){if(_0x5f3a76<this['safeFrom'])return null;let _0x144d5a=_0x5f3a76+_0x2dbcd6['length'];if(_0x144d5a<=this['safeTo']){let _0x2f8d85=_0x2dbcd6['prop'](_0x172440['lookAhead']);if(!_0x2f8d85||_0x144d5a+_0x2f8d85<this['fragment']['to'])return _0x2dbcd6;}}this['index'][_0x594c91]++,_0x5f3a76+_0x2dbcd6['length']>=Math['max'](this['safeFrom'],_0x3feaba)&&(this['trees']['push'](_0x2dbcd6),this['start']['push'](_0x5f3a76),this['index']['push'](0x0));}else this['index'][_0x594c91]++,this['nextStart']=_0x5f3a76+_0x2dbcd6['length'];}}},_0x253220=class{constructor(_0x19539f,_0x4859ef){this['stream']=_0x4859ef,this['tokens']=[],this['mainToken']=null,this['actions']=[],this['tokens']=_0x19539f['tokenizers']['map'](_0xbaded1=>new _0x30176c());}['getActions'](_0x1e2330){let _0x16da79=0x0,_0x587e02=null,{parser:_0xc7dd0d}=_0x1e2330['p'],{tokenizers:_0x18133c}=_0xc7dd0d,_0x31fe22=_0xc7dd0d['stateSlot'](_0x1e2330['state'],0x3),_0x3080b2=_0x1e2330['curContext']?_0x1e2330['curContext']['hash']:0x0,_0x102e37=0x0;for(let _0x4bd440=0x0;_0x4bd440<_0x18133c['length'];_0x4bd440++){if(!(0x1<<_0x4bd440&_0x31fe22))continue;let _0x53f4d7=_0x18133c[_0x4bd440],_0xc4a599=this['tokens'][_0x4bd440];if((!_0x587e02||_0x53f4d7['fallback'])&&((_0x53f4d7['contextual']||_0xc4a599['start']!=_0x1e2330['pos']||_0xc4a599['mask']!=_0x31fe22||_0xc4a599['context']!=_0x3080b2)&&(this['updateCachedToken'](_0xc4a599,_0x53f4d7,_0x1e2330),_0xc4a599['mask']=_0x31fe22,_0xc4a599['context']=_0x3080b2),_0xc4a599['lookAhead']>_0xc4a599['end']+0x19&&(_0x102e37=Math['max'](_0xc4a599['lookAhead'],_0x102e37)),0x0!=_0xc4a599['value'])){let _0x299e63=_0x16da79;if(_0xc4a599['extended']>-0x1&&(_0x16da79=this['addActions'](_0x1e2330,_0xc4a599['extended'],_0xc4a599['end'],_0x16da79)),_0x16da79=this['addActions'](_0x1e2330,_0xc4a599['value'],_0xc4a599['end'],_0x16da79),!_0x53f4d7['extend']&&(_0x587e02=_0xc4a599,_0x16da79>_0x299e63))break;}}for(;this['actions']['length']>_0x16da79;)this['actions']['pop']();return _0x102e37&&_0x1e2330['setLookAhead'](_0x102e37),_0x587e02||_0x1e2330['pos']!=this['stream']['end']||(_0x587e02=new _0x30176c(),_0x587e02['value']=_0x1e2330['p']['parser']['eofTerm'],_0x587e02['start']=_0x587e02['end']=_0x1e2330['pos'],_0x16da79=this['addActions'](_0x1e2330,_0x587e02['value'],_0x587e02['end'],_0x16da79)),this['mainToken']=_0x587e02,this['actions'];}['getMainToken'](_0x675aa3){if(this['mainToken'])return this['mainToken'];let _0x594065=new _0x30176c(),{pos:_0x6faa94,p:_0x5d2611}=_0x675aa3;return _0x594065['start']=_0x6faa94,_0x594065['end']=Math['min'](_0x6faa94+0x1,_0x5d2611['stream']['end']),_0x594065['value']=_0x6faa94==_0x5d2611['stream']['end']?_0x5d2611['parser']['eofTerm']:0x0,_0x594065;}['updateCachedToken'](_0x473547,_0x32ffa7,_0x4668e6){let _0x439e21=this['stream']['clipPos'](_0x4668e6['pos']);if(_0x32ffa7['token'](this['stream']['reset'](_0x439e21,_0x473547),_0x4668e6),_0x473547['value']>-0x1){let {parser:_0x51b80f}=_0x4668e6['p'];for(let _0x3820a4=0x0;_0x3820a4<_0x51b80f['specialized']['length'];_0x3820a4++)if(_0x51b80f['specialized'][_0x3820a4]==_0x473547['value']){let _0x4a3872=_0x51b80f['specializers'][_0x3820a4](this['stream']['read'](_0x473547['start'],_0x473547['end']),_0x4668e6);if(_0x4a3872>=0x0&&_0x4668e6['p']['parser']['dialect']['allows'](_0x4a3872>>0x1)){0x1&_0x4a3872?_0x473547['extended']=_0x4a3872>>0x1:_0x473547['value']=_0x4a3872>>0x1;break;}}}else _0x473547['value']=0x0,_0x473547['end']=this['stream']['clipPos'](_0x439e21+0x1);}['putAction'](_0x7d8d30,_0x28063b,_0x3e086c,_0x12018c){for(let _0x639849=0x0;_0x639849<_0x12018c;_0x639849+=0x3)if(this['actions'][_0x639849]==_0x7d8d30)return _0x12018c;return this['actions'][_0x12018c++]=_0x7d8d30,this['actions'][_0x12018c++]=_0x28063b,this['actions'][_0x12018c++]=_0x3e086c,_0x12018c;}['addActions'](_0x5d7127,_0x27a0ed,_0x53f823,_0x422f63){let {state:_0x41d7bf}=_0x5d7127,{parser:_0x219bce}=_0x5d7127['p'],{data:_0xb4dd14}=_0x219bce;for(let _0x390a1a=0x0;_0x390a1a<0x2;_0x390a1a++)for(let _0x57a0b9=_0x219bce['stateSlot'](_0x41d7bf,_0x390a1a?0x2:0x1);;_0x57a0b9+=0x3){if(0xffff==_0xb4dd14[_0x57a0b9]){if(0x1!=_0xb4dd14[_0x57a0b9+0x1]){0x0==_0x422f63&&0x2==_0xb4dd14[_0x57a0b9+0x1]&&(_0x422f63=this['putAction'](_0xa0d8d0(_0xb4dd14,_0x57a0b9+0x2),_0x27a0ed,_0x53f823,_0x422f63));break;}_0x57a0b9=_0xa0d8d0(_0xb4dd14,_0x57a0b9+0x2);}_0xb4dd14[_0x57a0b9]==_0x27a0ed&&(_0x422f63=this['putAction'](_0xa0d8d0(_0xb4dd14,_0x57a0b9+0x1),_0x27a0ed,_0x53f823,_0x422f63));}return _0x422f63;}},tF=class{constructor(_0x196b2c,_0x168b1e,_0x29dfa1,_0x25b1eb){this['parser']=_0x196b2c,this['input']=_0x168b1e,this['ranges']=_0x25b1eb,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 _0x577fff(_0x168b1e,_0x25b1eb),this['tokens']=new _0x253220(_0x196b2c,this['stream']),this['topTerm']=_0x196b2c['top'][0x1];let {from:_0x34def0}=_0x25b1eb[0x0];this['stacks']=[_0x1c2e9d['start'](this,_0x196b2c['top'][0x0],_0x34def0)],this['fragments']=_0x29dfa1['length']&&this['stream']['end']-_0x34def0>0x4*_0x196b2c['bufferLength']?new _0x2b734e(_0x29dfa1,_0x196b2c['nodeSet']):null;}get['parsedPos'](){return this['minStackPos'];}['advance'](){let _0x18d501,_0x5f49ec,_0x5dcdd0=this['stacks'],_0x121e0b=this['minStackPos'],_0x395923=this['stacks']=[];if(this['bigReductionCount']>0x12c&&0x1==_0x5dcdd0['length']){let [_0x41906d]=_0x5dcdd0;for(;_0x41906d['forceReduce']()&&_0x41906d['stack']['length']&&_0x41906d['stack'][_0x41906d['stack']['length']-0x2]>=this['lastBigReductionStart'];);this['bigReductionCount']=this['lastBigReductionSize']=0x0;}for(let _0x361f80=0x0;_0x361f80<_0x5dcdd0['length'];_0x361f80++){let _0x307218=_0x5dcdd0[_0x361f80];for(;;){if(this['tokens']['mainToken']=null,_0x307218['pos']>_0x121e0b)_0x395923['push'](_0x307218);else{if(this['advanceStack'](_0x307218,_0x395923,_0x5dcdd0))continue;{_0x18d501||(_0x18d501=[],_0x5f49ec=[]),_0x18d501['push'](_0x307218);let _0x3ac576=this['tokens']['getMainToken'](_0x307218);_0x5f49ec['push'](_0x3ac576['value'],_0x3ac576['end']);}}break;}}if(!_0x395923['length']){let _0x3cbeea=_0x18d501&&function(_0xc2eb24){let _0x414c85=null;for(let _0x2af6b1 of _0xc2eb24){let _0x56dd74=_0x2af6b1['p']['stoppedAt'];(_0x2af6b1['pos']==_0x2af6b1['p']['stream']['end']||null!=_0x56dd74&&_0x2af6b1['pos']>_0x56dd74)&&_0x2af6b1['p']['parser']['stateFlag'](_0x2af6b1['state'],0x2)&&(!_0x414c85||_0x414c85['score']<_0x2af6b1['score'])&&(_0x414c85=_0x2af6b1);}return _0x414c85;}(_0x18d501);if(_0x3cbeea)return _0x27bbad&&console['log']('Finish\x20with\x20'+this['stackID'](_0x3cbeea)),this['stackToTree'](_0x3cbeea);if(this['parser']['strict'])throw _0x27bbad&&_0x18d501&&console['log']('Stuck\x20with\x20token\x20'+(this['tokens']['mainToken']?this['parser']['getName'](this['tokens']['mainToken']['value']):'none')),new SyntaxError('No\x20parse\x20at\x20'+_0x121e0b);this['recovering']||(this['recovering']=0x5);}if(this['recovering']&&_0x18d501){let _0xb3d1e8=null!=this['stoppedAt']&&_0x18d501[0x0]['pos']>this['stoppedAt']?_0x18d501[0x0]:this['runRecovery'](_0x18d501,_0x5f49ec,_0x395923);if(_0xb3d1e8)return _0x27bbad&&console['log']('Force-finish\x20'+this['stackID'](_0xb3d1e8)),this['stackToTree'](_0xb3d1e8['forceAll']());}if(this['recovering']){let _0x560b1e=0x1==this['recovering']?0x1:0x3*this['recovering'];if(_0x395923['length']>_0x560b1e){for(_0x395923['sort']((_0xb2d1e9,_0xd5b55a)=>_0xd5b55a['score']-_0xb2d1e9['score']);_0x395923['length']>_0x560b1e;)_0x395923['pop']();}_0x395923['some'](_0x4430e9=>_0x4430e9['reducePos']>_0x121e0b)&&this['recovering']--;}else{if(_0x395923['length']>0x1){t:for(let _0x28f90d=0x0;_0x28f90d<_0x395923['length']-0x1;_0x28f90d++){let _0x309f88=_0x395923[_0x28f90d];for(let _0x4dfb5d=_0x28f90d+0x1;_0x4dfb5d<_0x395923['length'];_0x4dfb5d++){let _0x447caf=_0x395923[_0x4dfb5d];if(_0x309f88['sameState'](_0x447caf)||_0x309f88['buffer']['length']>0x1f4&&_0x447caf['buffer']['length']>0x1f4){if(!((_0x309f88['score']-_0x447caf['score']||_0x309f88['buffer']['length']-_0x447caf['buffer']['length'])>0x0)){_0x395923['splice'](_0x28f90d--,0x1);continue t;}_0x395923['splice'](_0x4dfb5d--,0x1);}}}_0x395923['length']>0xc&&(_0x395923['sort']((_0x2c7e8a,_0x957481)=>_0x957481['score']-_0x2c7e8a['score']),_0x395923['splice'](0xc,_0x395923['length']-0xc));}}this['minStackPos']=_0x395923[0x0]['pos'];for(let _0x1b9a8d=0x1;_0x1b9a8d<_0x395923['length'];_0x1b9a8d++)_0x395923[_0x1b9a8d]['pos']<this['minStackPos']&&(this['minStackPos']=_0x395923[_0x1b9a8d]['pos']);return null;}['stopAt'](_0x11265f){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x11265f)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x11265f;}['advanceStack'](_0x41373b,_0x436a22,_0x5626f5){let _0x2707a8=_0x41373b['pos'],{parser:_0x3bd9f3}=this,_0x2568dc=_0x27bbad?this['stackID'](_0x41373b)+'\x20->\x20':'';if(null!=this['stoppedAt']&&_0x2707a8>this['stoppedAt'])return _0x41373b['forceReduce']()?_0x41373b:null;if(this['fragments']){let _0x241da1=_0x41373b['curContext']&&_0x41373b['curContext']['tracker']['strict'],_0x3bd92c=_0x241da1?_0x41373b['curContext']['hash']:0x0;for(let _0x53a0da=this['fragments']['nodeAt'](_0x2707a8);_0x53a0da;){let _0x1dd8a5=this['parser']['nodeSet']['types'][_0x53a0da['type']['id']]==_0x53a0da['type']?_0x3bd9f3['getGoto'](_0x41373b['state'],_0x53a0da['type']['id']):-0x1;if(_0x1dd8a5>-0x1&&_0x53a0da['length']&&(!_0x241da1||(_0x53a0da['prop'](_0x172440['contextHash'])||0x0)==_0x3bd92c))return _0x41373b['useNode'](_0x53a0da,_0x1dd8a5),_0x27bbad&&console['log'](_0x2568dc+this['stackID'](_0x41373b)+('\x20(via\x20reuse\x20of\x20'+_0x3bd9f3['getName'](_0x53a0da['type']['id'])+')')),!0x0;if(!(_0x53a0da instanceof _0x5a1f7d)||0x0==_0x53a0da['children']['length']||_0x53a0da['positions'][0x0]>0x0)break;let _0x3c7931=_0x53a0da['children'][0x0];if(!(_0x3c7931 instanceof _0x5a1f7d&&0x0==_0x53a0da['positions'][0x0]))break;_0x53a0da=_0x3c7931;}}let _0x353fa5=_0x3bd9f3['stateSlot'](_0x41373b['state'],0x4);if(_0x353fa5>0x0)return _0x41373b['reduce'](_0x353fa5),_0x27bbad&&console['log'](_0x2568dc+this['stackID'](_0x41373b)+('\x20(via\x20always-reduce\x20'+_0x3bd9f3['getName'](0xffff&_0x353fa5)+')')),!0x0;if(_0x41373b['stack']['length']>=0x20d0){for(;_0x41373b['stack']['length']>0x1770&&_0x41373b['forceReduce'](););}let _0x31fd2b=this['tokens']['getActions'](_0x41373b);for(let _0x4da2d6=0x0;_0x4da2d6<_0x31fd2b['length'];){let _0x5b4a71=_0x31fd2b[_0x4da2d6++],_0x39a43f=_0x31fd2b[_0x4da2d6++],_0x37f42e=_0x31fd2b[_0x4da2d6++],_0x5a5b85=_0x4da2d6==_0x31fd2b['length']||!_0x5626f5,_0x3bee5c=_0x5a5b85?_0x41373b:_0x41373b['split'](),_0x2772cb=this['tokens']['mainToken'];if(_0x3bee5c['apply'](_0x5b4a71,_0x39a43f,_0x2772cb?_0x2772cb['start']:_0x3bee5c['pos'],_0x37f42e),_0x27bbad&&console['log'](_0x2568dc+this['stackID'](_0x3bee5c)+('\x20(via\x20'+(0x10000&_0x5b4a71?'reduce\x20of\x20'+_0x3bd9f3['getName'](0xffff&_0x5b4a71):'shift')+'\x20for\x20'+_0x3bd9f3['getName'](_0x39a43f)+'\x20@\x20'+_0x2707a8+(_0x3bee5c==_0x41373b?'':',\x20split')+')')),_0x5a5b85)return!0x0;_0x3bee5c['pos']>_0x2707a8?_0x436a22['push'](_0x3bee5c):_0x5626f5['push'](_0x3bee5c);}return!0x1;}['advanceFully'](_0x20a154,_0x475b8a){let _0xb3e36d=_0x20a154['pos'];for(;;){if(!this['advanceStack'](_0x20a154,null,null))return!0x1;if(_0x20a154['pos']>_0xb3e36d)return _0x36338d(_0x20a154,_0x475b8a),!0x0;}}['runRecovery'](_0x28f938,_0x7c601f,_0x673775){let _0x38b316=null,_0x2961df=!0x1;for(let _0x16d387=0x0;_0x16d387<_0x28f938['length'];_0x16d387++){let _0x5c34be=_0x28f938[_0x16d387],_0x417966=_0x7c601f[_0x16d387<<0x1],_0x2e871b=_0x7c601f[0x1+(_0x16d387<<0x1)],_0x499e12=_0x27bbad?this['stackID'](_0x5c34be)+'\x20->\x20':'';if(_0x5c34be['deadEnd']){if(_0x2961df)continue;if(_0x2961df=!0x0,_0x5c34be['restart'](),_0x27bbad&&console['log'](_0x499e12+this['stackID'](_0x5c34be)+'\x20(restarted)'),this['advanceFully'](_0x5c34be,_0x673775))continue;}let _0x57eae1=_0x5c34be['split'](),_0x49cefc=_0x499e12;for(let _0x5af42f=0x0;_0x5af42f<0xa&&_0x57eae1['forceReduce']()&&(_0x27bbad&&console['log'](_0x49cefc+this['stackID'](_0x57eae1)+'\x20(via\x20force-reduce)'),!this['advanceFully'](_0x57eae1,_0x673775));_0x5af42f++)_0x27bbad&&(_0x49cefc=this['stackID'](_0x57eae1)+'\x20->\x20');for(let _0x581810 of _0x5c34be['recoverByInsert'](_0x417966))_0x27bbad&&console['log'](_0x499e12+this['stackID'](_0x581810)+'\x20(via\x20recover-insert)'),this['advanceFully'](_0x581810,_0x673775);this['stream']['end']>_0x5c34be['pos']?(_0x2e871b==_0x5c34be['pos']&&(_0x2e871b++,_0x417966=0x0),_0x5c34be['recoverByDelete'](_0x417966,_0x2e871b),_0x27bbad&&console['log'](_0x499e12+this['stackID'](_0x5c34be)+('\x20(via\x20recover-delete\x20'+this['parser']['getName'](_0x417966)+')')),_0x36338d(_0x5c34be,_0x673775)):(!_0x38b316||_0x38b316['score']<_0x57eae1['score'])&&(_0x38b316=_0x57eae1);}return _0x38b316;}['stackToTree'](_0x27c18a){return _0x27c18a['close'](),_0x5a1f7d['build']({'buffer':_0x24c32c['create'](_0x27c18a),'nodeSet':this['parser']['nodeSet'],'topID':this['topTerm'],'maxBufferLength':this['parser']['bufferLength'],'reused':this['reused'],'start':this['ranges'][0x0]['from'],'length':_0x27c18a['pos']-this['ranges'][0x0]['from'],'minRepeatType':this['parser']['minRepeatTerm']});}['stackID'](_0x3aea5d){let _0x4db3fe=(_0x1e3071||(_0x1e3071=new WeakMap()))['get'](_0x3aea5d);return _0x4db3fe||_0x1e3071['set'](_0x3aea5d,_0x4db3fe=String['fromCodePoint'](this['nextStackID']++)),_0x4db3fe+_0x3aea5d;}};function _0x36338d(_0x5a89e9,_0x21f74b){for(let _0xa198d5=0x0;_0xa198d5<_0x21f74b['length'];_0xa198d5++){let _0x386bf4=_0x21f74b[_0xa198d5];if(_0x386bf4['pos']==_0x5a89e9['pos']&&_0x386bf4['sameState'](_0x5a89e9))return void(_0x21f74b[_0xa198d5]['score']<_0x5a89e9['score']&&(_0x21f74b[_0xa198d5]=_0x5a89e9));}_0x21f74b['push'](_0x5a89e9);}var _0x17fc6b=class{constructor(_0x30fd49,_0x417cae,_0x48a9f7){this['source']=_0x30fd49,this['flags']=_0x417cae,this['disabled']=_0x48a9f7;}['allows'](_0x1456c3){return!this['disabled']||0x0==this['disabled'][_0x1456c3];}};const _0x330a22=_0x19a73d=>_0x19a73d;var _0x534d95=class{constructor(_0x2399b8){this['start']=_0x2399b8['start'],this['shift']=_0x2399b8['shift']||_0x330a22,this['reduce']=_0x2399b8['reduce']||_0x330a22,this['reuse']=_0x2399b8['reuse']||_0x330a22,this['hash']=_0x2399b8['hash']||(()=>0x0),this['strict']=!0x1!==_0x2399b8['strict'];}},_0x35e6ba=class _0x4c418f extends _0xb212c5{constructor(_0x402da9){if(super(),this['wrappers']=[],0xe!=_0x402da9['version'])throw new RangeError('Parser\x20version\x20('+_0x402da9['version']+')\x20doesn\x27t\x20match\x20runtime\x20version\x20(14)');let _0x32bc5a=_0x402da9['nodeNames']['split']('\x20');this['minRepeatTerm']=_0x32bc5a['length'];for(let _0x192c9f=0x0;_0x192c9f<_0x402da9['repeatNodeCount'];_0x192c9f++)_0x32bc5a['push']('');let _0x4054d4=Object['keys'](_0x402da9['topRules'])['map'](_0x534782=>_0x402da9['topRules'][_0x534782][0x1]),_0x2ed20d=[];for(let _0x11f185=0x0;_0x11f185<_0x32bc5a['length'];_0x11f185++)_0x2ed20d['push']([]);function _0x205698(_0x1a70af,_0x1a63ad,_0x23c09a){_0x2ed20d[_0x1a70af]['push']([_0x1a63ad,_0x1a63ad['deserialize'](String(_0x23c09a))]);}if(_0x402da9['nodeProps'])for(let _0x26f388 of _0x402da9['nodeProps']){let _0x5eb2d4=_0x26f388[0x0];'string'==typeof _0x5eb2d4&&(_0x5eb2d4=_0x172440[_0x5eb2d4]);for(let _0x5e1a7c=0x1;_0x5e1a7c<_0x26f388['length'];){let _0x1b5e6c=_0x26f388[_0x5e1a7c++];if(_0x1b5e6c>=0x0)_0x205698(_0x1b5e6c,_0x5eb2d4,_0x26f388[_0x5e1a7c++]);else{let _0x51e8c5=_0x26f388[_0x5e1a7c+-_0x1b5e6c];for(let _0x3f5ded=-_0x1b5e6c;_0x3f5ded>0x0;_0x3f5ded--)_0x205698(_0x26f388[_0x5e1a7c++],_0x5eb2d4,_0x51e8c5);_0x5e1a7c++;}}}this['nodeSet']=new _0x190eda(_0x32bc5a['map']((_0x1dff3d,_0x41f5e9)=>_0x37f725['define']({'name':_0x41f5e9>=this['minRepeatTerm']?void 0x0:_0x1dff3d,'id':_0x41f5e9,'props':_0x2ed20d[_0x41f5e9],'top':_0x4054d4['indexOf'](_0x41f5e9)>-0x1,'error':0x0==_0x41f5e9,'skipped':_0x402da9['skippedNodes']&&_0x402da9['skippedNodes']['indexOf'](_0x41f5e9)>-0x1}))),_0x402da9['propSources']&&(this['nodeSet']=this['nodeSet']['extend'](..._0x402da9['propSources'])),this['strict']=!0x1,this['bufferLength']=_0x17d3ca;let _0x29433a=_0x4972d8(_0x402da9['tokenData']);this['context']=_0x402da9['context'],this['specializerSpecs']=_0x402da9['specialized']||[],this['specialized']=new Uint16Array(this['specializerSpecs']['length']);for(let _0x5681f8=0x0;_0x5681f8<this['specializerSpecs']['length'];_0x5681f8++)this['specialized'][_0x5681f8]=this['specializerSpecs'][_0x5681f8]['term'];this['specializers']=this['specializerSpecs']['map'](_0x489d40),this['states']=_0x4972d8(_0x402da9['states'],Uint32Array),this['data']=_0x4972d8(_0x402da9['stateData']),this['goto']=_0x4972d8(_0x402da9['goto']),this['maxTerm']=_0x402da9['maxTerm'],this['tokenizers']=_0x402da9['tokenizers']['map'](_0x487b59=>'number'==typeof _0x487b59?new _0x3888af(_0x29433a,_0x487b59):_0x487b59),this['topRules']=_0x402da9['topRules'],this['dialects']=_0x402da9['dialects']||{},this['dynamicPrecedences']=_0x402da9['dynamicPrecedences']||null,this['tokenPrecTable']=_0x402da9['tokenPrec'],this['termNames']=_0x402da9['termNames']||null,this['maxNode']=this['nodeSet']['types']['length']-0x1,this['dialect']=this['parseDialect'](),this['top']=this['topRules'][Object['keys'](this['topRules'])[0x0]];}['createParse'](_0x478535,_0x114014,_0x3c4596){let _0x3f4965=new tF(this,_0x478535,_0x114014,_0x3c4596);for(let _0x1501c6 of this['wrappers'])_0x3f4965=_0x1501c6(_0x3f4965,_0x478535,_0x114014,_0x3c4596);return _0x3f4965;}['getGoto'](_0x4706a4,_0x9b9d34,_0x3a4233=!0x1){let _0x4e56e8=this['goto'];if(_0x9b9d34>=_0x4e56e8[0x0])return-0x1;for(let _0x39c46f=_0x4e56e8[_0x9b9d34+0x1];;){let _0x385e5c=_0x4e56e8[_0x39c46f++],_0x430c24=0x1&_0x385e5c,_0x3ffc48=_0x4e56e8[_0x39c46f++];if(_0x430c24&&_0x3a4233)return _0x3ffc48;for(let _0xb8991f=_0x39c46f+(_0x385e5c>>0x1);_0x39c46f<_0xb8991f;_0x39c46f++)if(_0x4e56e8[_0x39c46f]==_0x4706a4)return _0x3ffc48;if(_0x430c24)return-0x1;}}['hasAction'](_0x52ef23,_0x455cec){let _0x4c3947=this['data'];for(let _0x4d0ecd=0x0;_0x4d0ecd<0x2;_0x4d0ecd++)for(let _0x4c7b41,_0x1d429e=this['stateSlot'](_0x52ef23,_0x4d0ecd?0x2:0x1);;_0x1d429e+=0x3){if(0xffff==(_0x4c7b41=_0x4c3947[_0x1d429e])){if(0x1!=_0x4c3947[_0x1d429e+0x1]){if(0x2==_0x4c3947[_0x1d429e+0x1])return _0xa0d8d0(_0x4c3947,_0x1d429e+0x2);break;}_0x4c7b41=_0x4c3947[_0x1d429e=_0xa0d8d0(_0x4c3947,_0x1d429e+0x2)];}if(_0x4c7b41==_0x455cec||0x0==_0x4c7b41)return _0xa0d8d0(_0x4c3947,_0x1d429e+0x1);}return 0x0;}['stateSlot'](_0x40186c,_0x8cc3ca){return this['states'][0x6*_0x40186c+_0x8cc3ca];}['stateFlag'](_0x26235b,_0x32a26f){return(this['stateSlot'](_0x26235b,0x0)&_0x32a26f)>0x0;}['validAction'](_0x2ab8f4,_0x48c2dc){return!!this['allActions'](_0x2ab8f4,_0x3101cb=>_0x3101cb==_0x48c2dc||null);}['allActions'](_0x574f7d,_0x2b10b7){let _0x2f0437=this['stateSlot'](_0x574f7d,0x4),_0x4e464e=_0x2f0437?_0x2b10b7(_0x2f0437):void 0x0;for(let _0x3f7cd0=this['stateSlot'](_0x574f7d,0x1);null==_0x4e464e;_0x3f7cd0+=0x3){if(0xffff==this['data'][_0x3f7cd0]){if(0x1!=this['data'][_0x3f7cd0+0x1])break;_0x3f7cd0=_0xa0d8d0(this['data'],_0x3f7cd0+0x2);}_0x4e464e=_0x2b10b7(_0xa0d8d0(this['data'],_0x3f7cd0+0x1));}return _0x4e464e;}['nextStates'](_0x366ade){let _0x47da26=[];for(let _0x455a80=this['stateSlot'](_0x366ade,0x1);;_0x455a80+=0x3){if(0xffff==this['data'][_0x455a80]){if(0x1!=this['data'][_0x455a80+0x1])break;_0x455a80=_0xa0d8d0(this['data'],_0x455a80+0x2);}if(!(0x1&this['data'][_0x455a80+0x2])){let _0x4844ed=this['data'][_0x455a80+0x1];_0x47da26['some']((_0x461cd5,_0x1754dc)=>0x1&_0x1754dc&&_0x461cd5==_0x4844ed)||_0x47da26['push'](this['data'][_0x455a80],_0x4844ed);}}return _0x47da26;}['configure'](_0x14ced2){let _0x5a6f33=Object['assign'](Object['create'](_0x4c418f['prototype']),this);if(_0x14ced2['props']&&(_0x5a6f33['nodeSet']=this['nodeSet']['extend'](..._0x14ced2['props'])),_0x14ced2['top']){let _0x3fba7d=this['topRules'][_0x14ced2['top']];if(!_0x3fba7d)throw new RangeError('Invalid\x20top\x20rule\x20name\x20'+_0x14ced2['top']);_0x5a6f33['top']=_0x3fba7d;}return _0x14ced2['tokenizers']&&(_0x5a6f33['tokenizers']=this['tokenizers']['map'](t=>{let _0x394bb1=_0x14ced2['tokenizers']['find'](_0x147599=>_0x147599['from']==t);return _0x394bb1?_0x394bb1['to']:t;})),_0x14ced2['specializers']&&(_0x5a6f33['specializers']=this['specializers']['slice'](),_0x5a6f33['specializerSpecs']=this['specializerSpecs']['map']((_0x6e269c,_0x180a8b)=>{let _0x3a18da=_0x14ced2['specializers']['find'](_0x594f1d=>_0x594f1d['from']==_0x6e269c['external']);if(!_0x3a18da)return _0x6e269c;let _0xb26f93=Object['assign'](Object['assign']({},_0x6e269c),{'external':_0x3a18da['to']});return _0x5a6f33['specializers'][_0x180a8b]=_0x489d40(_0xb26f93),_0xb26f93;})),_0x14ced2['contextTracker']&&(_0x5a6f33['context']=_0x14ced2['contextTracker']),_0x14ced2['dialect']&&(_0x5a6f33['dialect']=this['parseDialect'](_0x14ced2['dialect'])),null!=_0x14ced2['strict']&&(_0x5a6f33['strict']=_0x14ced2['strict']),_0x14ced2['wrap']&&(_0x5a6f33['wrappers']=_0x5a6f33['wrappers']['concat'](_0x14ced2['wrap'])),null!=_0x14ced2['bufferLength']&&(_0x5a6f33['bufferLength']=_0x14ced2['bufferLength']),_0x5a6f33;}['hasWrappers'](){return this['wrappers']['length']>0x0;}['getName'](_0x4ba659){return this['termNames']?this['termNames'][_0x4ba659]:String(_0x4ba659<=this['maxNode']&&this['nodeSet']['types'][_0x4ba659]['name']||_0x4ba659);}get['eofTerm'](){return this['maxNode']+0x1;}get['topNode'](){return this['nodeSet']['types'][this['top'][0x1]];}['dynamicPrecedence'](_0x25ffc5){let _0x530f8f=this['dynamicPrecedences'];return null==_0x530f8f?0x0:_0x530f8f[_0x25ffc5]||0x0;}['parseDialect'](_0x16437b){let _0x242454=Object['keys'](this['dialects']),_0x17ddc7=_0x242454['map'](()=>!0x1);if(_0x16437b)for(let _0x4c198a of _0x16437b['split']('\x20')){let _0x1b52c7=_0x242454['indexOf'](_0x4c198a);_0x1b52c7>=0x0&&(_0x17ddc7[_0x1b52c7]=!0x0);}let _0x25ebe6=null;for(let _0x440336=0x0;_0x440336<_0x242454['length'];_0x440336++)if(!_0x17ddc7[_0x440336]){for(let _0x17d9c5,_0x599225=this['dialects'][_0x242454[_0x440336]];0xffff!=(_0x17d9c5=this['data'][_0x599225++]);)(_0x25ebe6||(_0x25ebe6=new Uint8Array(this['maxTerm']+0x1)))[_0x17d9c5]=0x1;}return new _0x17fc6b(_0x16437b,_0x17ddc7,_0x25ebe6);}static['deserialize'](_0x4b7477){return new _0x4c418f(_0x4b7477);}};function _0xa0d8d0(_0x3ca4eb,_0x1b7c71){return _0x3ca4eb[_0x1b7c71]|_0x3ca4eb[_0x1b7c71+0x1]<<0x10;}function _0x489d40(_0x453372){if(_0x453372['external']){let _0x5901f4=_0x453372['extend']?0x1:0x0;return(_0x2be59a,_0x30c118)=>_0x453372['external'](_0x2be59a,_0x30c118)<<0x1|_0x5901f4;}return _0x453372['get'];}const _0x45cf0e={'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},_0x5cde80={'dd':!0x0,'li':!0x0,'optgroup':!0x0,'option':!0x0,'p':!0x0,'rp':!0x0,'rt':!0x0,'tbody':!0x0,'td':!0x0,'tfoot':!0x0,'th':!0x0,'tr':!0x0},_0xbb644e={'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 _0x1b44cf(_0x46e40a){return 0x2d==_0x46e40a||0x2e==_0x46e40a||0x3a==_0x46e40a||_0x46e40a>=0x41&&_0x46e40a<=0x5a||0x5f==_0x46e40a||_0x46e40a>=0x61&&_0x46e40a<=0x7a||_0x46e40a>=0xa1;}let _0xc9ad57=null,_0x30a78d=null,_0x4c74fb=0x0;function _0x112f94(_0x2f57b2,_0x28a09e){let _0x392c82=_0x2f57b2['pos']+_0x28a09e;if(_0x4c74fb==_0x392c82&&_0x30a78d==_0x2f57b2)return _0xc9ad57;let _0xf1fa27=_0x2f57b2['peek'](_0x28a09e),_0x2fbaf5='';for(;_0x1b44cf(_0xf1fa27);)_0x2fbaf5+=String['fromCharCode'](_0xf1fa27),_0xf1fa27=_0x2f57b2['peek'](++_0x28a09e);return _0x30a78d=_0x2f57b2,_0x4c74fb=_0x392c82,_0xc9ad57=_0x2fbaf5?_0x2fbaf5['toLowerCase']():_0xf1fa27==_0xfab2fe||_0xf1fa27==_0x300795?void 0x0:null;}const _0xfab2fe=0x3f,_0x300795=0x21;function _0xa0a717(_0x3d0122,_0x211367){this['name']=_0x3d0122,this['parent']=_0x211367;}const _0x126318=[0x6,0xa,0x7,0x8,0x9],_0x546f80=new _0x534d95({'start':null,'shift':(_0x9f8de0,_0x4577a6,_0x5e61f1,_0x184a28)=>_0x126318['indexOf'](_0x4577a6)>-0x1?new _0xa0a717(_0x112f94(_0x184a28,0x1)||'',_0x9f8de0):_0x9f8de0,'reduce':(_0x509c95,_0x5066ce)=>0x15==_0x5066ce&&_0x509c95?_0x509c95['parent']:_0x509c95,'reuse'(_0x432743,_0x149d4a,_0x4c19b0,_0x3a4cf0){let _0xd3dfe3=_0x149d4a['type']['id'];return 0x6==_0xd3dfe3||0x25==_0xd3dfe3?new _0xa0a717(_0x112f94(_0x3a4cf0,0x1)||'',_0x432743):_0x432743;},'strict':!0x1}),_0x5f2f27=new _0x2ed6fa((_0x353caa,_0x1ad79a)=>{if(0x3c!=_0x353caa['next'])return void(_0x353caa['next']<0x0&&_0x1ad79a['context']&&_0x353caa['acceptToken'](0x3a));_0x353caa['advance']();let _0x2eb57c=0x2f==_0x353caa['next'];_0x2eb57c&&_0x353caa['advance']();let _0x2bee3d=_0x112f94(_0x353caa,0x0);if(void 0x0===_0x2bee3d)return;if(!_0x2bee3d)return _0x353caa['acceptToken'](_0x2eb57c?0xf:0xe);let _0x4231ff=_0x1ad79a['context']?_0x1ad79a['context']['name']:null;if(_0x2eb57c){if(_0x2bee3d==_0x4231ff)return _0x353caa['acceptToken'](0xb);if(_0x4231ff&&_0x5cde80[_0x4231ff])return _0x353caa['acceptToken'](0x3a,-0x2);if(_0x1ad79a['dialectEnabled'](0x0))return _0x353caa['acceptToken'](0xc);for(let _0x52d8df=_0x1ad79a['context'];_0x52d8df;_0x52d8df=_0x52d8df['parent'])if(_0x52d8df['name']==_0x2bee3d)return;_0x353caa['acceptToken'](0xd);}else{if('script'==_0x2bee3d)return _0x353caa['acceptToken'](0x7);if('style'==_0x2bee3d)return _0x353caa['acceptToken'](0x8);if('textarea'==_0x2bee3d)return _0x353caa['acceptToken'](0x9);if(_0x45cf0e['hasOwnProperty'](_0x2bee3d))return _0x353caa['acceptToken'](0xa);_0x4231ff&&_0xbb644e[_0x4231ff]&&_0xbb644e[_0x4231ff][_0x2bee3d]?_0x353caa['acceptToken'](0x3a,-0x1):_0x353caa['acceptToken'](0x6);}},{'contextual':!0x0}),_0x3b699f=new _0x2ed6fa(_0x4402e3=>{for(let _0x15c35c=0x0,_0x1c148a=0x0;;_0x1c148a++){if(_0x4402e3['next']<0x0){_0x1c148a&&_0x4402e3['acceptToken'](0x3b);break;}if(0x2d==_0x4402e3['next'])_0x15c35c++;else{if(0x3e==_0x4402e3['next']&&_0x15c35c>=0x2){_0x1c148a>=0x3&&_0x4402e3['acceptToken'](0x3b,-0x2);break;}_0x15c35c=0x0;}_0x4402e3['advance']();}}),_0x4e1dbe=new _0x2ed6fa((_0x4f7010,_0x3a9aec)=>{if(0x2f==_0x4f7010['next']&&0x3e==_0x4f7010['peek'](0x1)){let _0x4bca9b=_0x3a9aec['dialectEnabled'](0x1)||function(_0x55bb02){for(;_0x55bb02;_0x55bb02=_0x55bb02['parent'])if('svg'==_0x55bb02['name']||'math'==_0x55bb02['name'])return!0x0;return!0x1;}(_0x3a9aec['context']);_0x4f7010['acceptToken'](_0x4bca9b?0x5:0x4,0x2);}else 0x3e==_0x4f7010['next']&&_0x4f7010['acceptToken'](0x4,0x1);});function _0x3d9383(_0x1ac94d,_0xe2c9e7,_0x26c894){let _0x401f0a=0x2+_0x1ac94d['length'];return new _0x2ed6fa(_0x3fe461=>{for(let _0x5134ca=0x0,_0x564641=0x0,_0x14d09e=0x0;;_0x14d09e++){if(_0x3fe461['next']<0x0){_0x14d09e&&_0x3fe461['acceptToken'](_0xe2c9e7);break;}if(0x0==_0x5134ca&&0x3c==_0x3fe461['next']||0x1==_0x5134ca&&0x2f==_0x3fe461['next']||_0x5134ca>=0x2&&_0x5134ca<_0x401f0a&&_0x3fe461['next']==_0x1ac94d['charCodeAt'](_0x5134ca-0x2))_0x5134ca++,_0x564641++;else{if(_0x5134ca==_0x401f0a&&0x3e==_0x3fe461['next']){_0x14d09e>_0x564641?_0x3fe461['acceptToken'](_0xe2c9e7,-_0x564641):_0x3fe461['acceptToken'](_0x26c894,-(_0x564641-0x2));break;}if((0xa==_0x3fe461['next']||0xd==_0x3fe461['next'])&&_0x14d09e){_0x3fe461['acceptToken'](_0xe2c9e7,0x1);break;}_0x5134ca=_0x564641=0x0;}_0x3fe461['advance']();}});}const _0x569726=_0x3d9383('script',0x37,0x1),_0x40d2c0=_0x3d9383('style',0x38,0x2),_0x5a52fb=_0x3d9383('textarea',0x39,0x3),_0x570933=_0x2f1f50({'Text\x20RawText\x20IncompleteTag\x20IncompleteCloseTag':_0x554ddb['content'],'StartTag\x20StartCloseTag\x20SelfClosingEndTag\x20EndTag':_0x554ddb['angleBracket'],'TagName':_0x554ddb['tagName'],'MismatchedCloseTag/TagName':[_0x554ddb['tagName'],_0x554ddb['invalid']],'AttributeName':_0x554ddb['attributeName'],'AttributeValue\x20UnquotedAttributeValue':_0x554ddb['attributeValue'],'Is':_0x554ddb['definitionOperator'],'EntityReference\x20CharacterReference':_0x554ddb['character'],'Comment':_0x554ddb['blockComment'],'ProcessingInst':_0x554ddb['processingInstruction'],'DoctypeDecl':_0x554ddb['documentMeta']}),_0x227ef6=_0x35e6ba['deserialize']({'version':0xe,'states':',xOVO!rOOO!ZQ#tO\x27#CrO!`Q#tO\x27#C{O!eQ#tO\x27#DOO!jQ#tO\x27#DRO!oQ#tO\x27#DTO!tOaO\x27#CqO#PObO\x27#CqO#[OdO\x27#CqO$kO!rO\x27#CqOOO`\x27#Cq\x27#CqO$rO$fO\x27#DUO$zQ#tO\x27#DWO%PQ#tO\x27#DXOOO`\x27#Dl\x27#DlOOO`\x27#DZ\x27#DZQVO!rOOO%UQ&rO,59^O%aQ&rO,59gO%lQ&rO,59jO%wQ&rO,59mO&SQ&rO,59oOOOa\x27#D_\x27#D_O&_OaO\x27#CyO&jOaO,59]OOOb\x27#D`\x27#D`O&rObO\x27#C|O&}ObO,59]OOOd\x27#Da\x27#DaO\x27VOdO\x27#DPO\x27bOdO,59]OOO`\x27#Db\x27#DbO\x27jO!rO,59]O\x27qQ#tO\x27#DSOOO`,59],59]OOOp\x27#Dc\x27#DcO\x27vO$fO,59pOOO`,59p,59pO(OQ#|O,59rO(TQ#|O,59sOOO`-E7X-E7XO(YQ&rO\x27#CtOOQW\x27#D[\x27#D[O(hQ&rO1G.xOOOa1G.x1G.xOOO`1G/Z1G/ZO(sQ&rO1G/ROOOb1G/R1G/RO)OQ&rO1G/UOOOd1G/U1G/UO)ZQ&rO1G/XOOO`1G/X1G/XO)fQ&rO1G/ZOOOa-E7]-E7]O)qQ#tO\x27#CzOOO`1G.w1G.wOOOb-E7^-E7^O)vQ#tO\x27#C}OOOd-E7_-E7_O){Q#tO\x27#DQOOO`-E7`-E7`O*QQ#|O,59nOOOp-E7a-E7aOOO`1G/[1G/[OOO`1G/^1G/^OOO`1G/_1G/_O*VQ,UO,59`OOQW-E7Y-E7YOOOa7+$d7+$dOOO`7+$u7+$uOOOb7+$m7+$mOOOd7+$p7+$pOOO`7+$s7+$sO*bQ#|O,59fO*gQ#|O,59iO*lQ#|O,59lOOO`1G/Y1G/YO*qO7[O\x27#CwO+SOMhO\x27#CwOOQW1G.z1G.zOOO`1G/Q1G/QOOO`1G/T1G/TOOO`1G/W1G/WOOOO\x27#D]\x27#D]O+eO7[O,59cOOQW,59c,59cOOOO\x27#D^\x27#D^O+vOMhO,59cOOOO-E7Z-E7ZOOQW1G.}1G.}OOOO-E7[-E7[','stateData':',c~O!_OS~OUSOVPOWQOXROYTO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O|_O!eZO~OgaO~OgbO~OgcO~OgdO~OgeO~O!XfOPmP![mP~O!YiOQpP![pP~O!ZlORsP![sP~OUSOVPOWQOXROYTOZqO[]O][O^^O_^Oa^Ob^Oc^Od^Oy^O!eZO~O![rO~P#gO!]sO!fuO~OgvO~OgwO~OS|OT}OiyO~OS!POT}OiyO~OS!ROT}OiyO~OS!TOT}OiyO~OS}OT}OiyO~O!XfOPmX![mX~OP!WO![!XO~O!YiOQpX![pX~OQ!ZO![!XO~O!ZlORsX![sX~OR!]O![!XO~O![!XO~P#gOg!_O~O!]sO!f!aO~OS!bO~OS!cO~Oj!dOShXThXihX~OS!fOT!gOiyO~OS!hOT!gOiyO~OS!iOT!gOiyO~OS!jOT!gOiyO~OS!gOT!gOiyO~Og!kO~Og!lO~Og!mO~OS!nO~Ol!qO!a!oO!c!pO~OS!rO~OS!sO~OS!tO~Ob!uOc!uOd!uO!a!wO!b!uO~Ob!xOc!xOd!xO!c!wO!d!xO~Ob!uOc!uOd!uO!a!{O!b!uO~Ob!xOc!xOd!xO!c!{O!d!xO~OT~cbd!ey|!e~','goto':'%q!aPPPPPPPPPPPPPPPPPPPPP!b!hP!nPP!zP!}#Q#T#Z#^#a#g#j#m#s#y!bP!b!bP$P$V$m$s$y%P%V%]%cPPPPPPPP%iX^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\x20IncompleteTag\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':0x44,'context':_0x546f80,'nodeProps':[['closedBy',-0xa,0x1,0x2,0x3,0x7,0x8,0x9,0xa,0xb,0xc,0xd,'EndTag',0x6,'EndTag\x20SelfClosingEndTag',-0x4,0x16,0x1f,0x22,0x25,'CloseTag'],['openedBy',0x4,'StartTag\x20StartCloseTag',0x5,'StartTag',-0x4,0x1e,0x21,0x24,0x26,'OpenTag'],['group',-0xa,0xe,0xf,0x12,0x13,0x14,0x15,0x28,0x29,0x2a,0x2b,'Entity',0x11,'Entity\x20TextContent',-0x3,0x1d,0x20,0x23,'TextContent\x20Entity'],['isolate',-0xb,0x16,0x1e,0x1f,0x21,0x22,0x24,0x25,0x26,0x27,0x2a,0x2b,'ltr',-0x3,0x1b,0x1c,0x28,'']],'propSources':[_0x570933],'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$|caPlW!b`!dpOX$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&bXaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&Xq\x27UVaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}P\x27pTaPOv\x27kw!^\x27k!_;\x27S\x27k;\x27S;=`(P<%lO\x27kP(SP;=`<%l\x27kp([S!dpOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vp(kP;=`<%l(Vq(qP;=`<%l&}a({WaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t`)jT!b`Or)esv)ew;\x27S)e;\x27S;=`)y<%lO)e`)|P;=`<%l)ea*SP;=`<%l(t!Q*^V!b`!dpOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!Q*vP;=`<%l*V!R*|P;=`<%l&XW+UYlWOX+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,]`aP!b`!dp!_^OX&XXY,QYZ,QZ]&X]^,Q^p&Xpq,Qqr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!_-ljiSaPlW!b`!dpOX$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[/ebiSlWOX+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+PS0rXiSqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0mS1bP;=`<%l0m[1hP;=`<%l/^!V1vciSaP!b`!dpOq&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!ahaP!dpOv&}wx\x27kx!^&}!^!_(V!_;\x27S&};\x27S;=`(n<%lO&}!_4WiiSlWd!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!Z5zblWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;\x27S5u;\x27S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;\x27S7S;\x27S;=`7q<%lO7S!R7qOb!R!R7tP;=`<%l7S!Z8OYlWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{iiSlWOX5uXZ7SZ[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!_:sbiSlWb!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<QciSOp7Sqr;{rs7Sst0mtw;{wx7Sx!P;{!P!Q7S!Q!];{!]!^=]!^!a7S!a#s;{#s$f7S$f;\x27S;{;\x27S;=`>P<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXiSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhiSlWOX@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@TalWOX@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!RAtOc!R!RAwP;=`<%lAY!ZBRYlWc!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;\x27S+P;\x27S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhiSlWOX@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!_DsbiSlWc!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!VFQbiSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;\x27SE{;\x27S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXiSc!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;\x27S0m;\x27S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!cxaP!b`Or(trs\x27ksv(tw!^(t!^!_)e!_;\x27S(t;\x27S;=`*P<%lO(t!aIYliSaPlW!b`!dpOX$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_kiSaPlW!b`!dpOX$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_XaP!b`!dp!fQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X!aNZ!ZiSgQaPlW!b`!dpOX$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!b`!dpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;\x27S*V;\x27S;=`*s<%lO*V!R!%Q]!b`!dpOr*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!b`!dpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;\x27S*V;\x27S;=`*s<%lO*V!R!&vV!b`!dp!ePOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!\x27dX!b`!dpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;\x27S*V;\x27S;=`*s<%lO*V!R!(WX!b`!dpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;\x27S*V;\x27S;=`*s<%lO*V!R!(zX!b`!dpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;\x27S*V;\x27S;=`*s<%lO*V!R!)nX!b`!dpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;\x27S*V;\x27S;=`*s<%lO*V!R!*bX!b`!dpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;\x27S*V;\x27S;=`*s<%lO*V!R!+UX!b`!dpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;\x27S*V;\x27S;=`*s<%lO*V!R!+xY!b`!dpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;\x27S!+q;\x27S;=`!0Y<%lO!+qq!,mV!dpOv!,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!dp|POv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!b`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;\x27S!.[;\x27S;=`!/d<%lO!.[a!/TT!b`|POr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!b`!dp|POr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!b`!dpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;\x27S*V;\x27S;=`*s<%lO*V!R!1ZX!b`!dpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;\x27S*V;\x27S;=`*s<%lO*V!R!1}X!b`!dpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;\x27S*V;\x27S;=`*s<%lO*V!R!2qX!b`!dpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;\x27S*V;\x27S;=`*s<%lO*V!R!3eX!b`!dpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;\x27S*V;\x27S;=`*s<%lO*V!R!4XX!b`!dpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;\x27S*V;\x27S;=`*s<%lO*V!R!4{Y!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;\x27S!4t;\x27S;=`!;r<%lO!4tq!5pV!dpOv!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!7QOyPP!7TP;=`<%l!6Vq!7]V!dpOv!5kvx!6Vx!`!5k!`!a!7r!a;\x27S!5k;\x27S;=`!8V<%lO!5kq!7yS!dpyPOv(Vx;\x27S(V;\x27S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!b`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;\x27S!8];\x27S;=`!:V<%lO!8]a!9SX!b`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;\x27S!8];\x27S;=`!:V<%lO!8]a!9vT!b`yPOr)esv)ew;\x27S)e;\x27S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!b`!dpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;\x27S!4t;\x27S;=`!;r<%lO!4t!R!;]V!b`!dpyPOr*Vrs(Vsv*Vwx)ex;\x27S*V;\x27S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!<TXjSaP!b`!dpOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;\x27S&X;\x27S;=`*y<%lO&X','tokenizers':[_0x569726,_0x40d2c0,_0x5a52fb,_0x4e1dbe,_0x5f2f27,_0x3b699f,0x0,0x1,0x2,0x3,0x4,0x5],'topRules':{'Document':[0x0,0x10]},'dialects':{'noMatch':0x0,'selfClosing':0x203},'tokenPrec':0x205});function _0x504ce7(_0xffa68e,_0x524f6d){let _0x29d78e=Object['create'](null);for(let _0x10bb3c of _0xffa68e['getChildren'](0x18)){let _0x3d3962=_0x10bb3c['getChild'](0x19),_0x519d44=_0x10bb3c['getChild'](0x1b)||_0x10bb3c['getChild'](0x1c);_0x3d3962&&(_0x29d78e[_0x524f6d['read'](_0x3d3962['from'],_0x3d3962['to'])]=_0x519d44?0x1b==_0x519d44['type']['id']?_0x524f6d['read'](_0x519d44['from']+0x1,_0x519d44['to']-0x1):_0x524f6d['read'](_0x519d44['from'],_0x519d44['to']):'');}return _0x29d78e;}function _0x392fc(_0x57af79,_0x42e914){let _0x4b9c7=_0x57af79['getChild'](0x17);return _0x4b9c7?_0x42e914['read'](_0x4b9c7['from'],_0x4b9c7['to']):'\x20';}function _0x4a6bf5(_0x303c0b,_0x10bced,_0x276d23){let _0x460f98;for(let _0x20e9ab of _0x276d23)if(!_0x20e9ab['attrs']||_0x20e9ab['attrs'](_0x460f98||(_0x460f98=_0x504ce7(_0x303c0b['node']['parent']['firstChild'],_0x10bced))))return{'parser':_0x20e9ab['parser'],'bracketed':!0x0};return null;}function _0x59fda6(_0x2e4b83=[],_0x47e0e3=[]){let _0x1e91d0=[],_0x4e0b54=[],_0x5448c8=[],_0x29704f=[];for(let _0x2c9933 of _0x2e4b83)('script'==_0x2c9933['tag']?_0x1e91d0:'style'==_0x2c9933['tag']?_0x4e0b54:'textarea'==_0x2c9933['tag']?_0x5448c8:_0x29704f)['push'](_0x2c9933);let _0x17debf=_0x47e0e3['length']?Object['create'](null):null;for(let _0x5bdd9d of _0x47e0e3)(_0x17debf[_0x5bdd9d['name']]||(_0x17debf[_0x5bdd9d['name']]=[]))['push'](_0x5bdd9d);return _0x26e649((_0x50e2b9,_0x4ed4cc)=>{let _0x920dc2=_0x50e2b9['type']['id'];if(0x1d==_0x920dc2)return _0x4a6bf5(_0x50e2b9,_0x4ed4cc,_0x1e91d0);if(0x20==_0x920dc2)return _0x4a6bf5(_0x50e2b9,_0x4ed4cc,_0x4e0b54);if(0x23==_0x920dc2)return _0x4a6bf5(_0x50e2b9,_0x4ed4cc,_0x5448c8);if(0x15==_0x920dc2&&_0x29704f['length']){let _0x12b050,_0x5938e3=_0x50e2b9['node'],_0x29dfcf=_0x5938e3['firstChild'],_0x2d38e8=_0x29dfcf&&_0x392fc(_0x29dfcf,_0x4ed4cc);if(_0x2d38e8){for(let _0x3d0822 of _0x29704f)if(_0x3d0822['tag']==_0x2d38e8&&(!_0x3d0822['attrs']||_0x3d0822['attrs'](_0x12b050||(_0x12b050=_0x504ce7(_0x29dfcf,_0x4ed4cc))))){let _0x1b026e=_0x5938e3['lastChild'],_0x1cf0b2=0x26==_0x1b026e['type']['id']?_0x1b026e['from']:_0x5938e3['to'];if(_0x1cf0b2>_0x29dfcf['to'])return{'parser':_0x3d0822['parser'],'overlay':[{'from':_0x29dfcf['to'],'to':_0x1cf0b2}]};}}}if(_0x17debf&&0x18==_0x920dc2){let _0x2c0736,_0x93f0ce=_0x50e2b9['node'];if(_0x2c0736=_0x93f0ce['firstChild']){let _0x90b4c=_0x17debf[_0x4ed4cc['read'](_0x2c0736['from'],_0x2c0736['to'])];if(_0x90b4c)for(let _0xcc653d of _0x90b4c){if(_0xcc653d['tagName']&&_0xcc653d['tagName']!=_0x392fc(_0x93f0ce['parent'],_0x4ed4cc))continue;let _0x2e7b7a=_0x93f0ce['lastChild'];if(0x1b==_0x2e7b7a['type']['id']){let _0x3231a3=_0x2e7b7a['from']+0x1,_0x562e6e=_0x2e7b7a['lastChild'],_0x297ba6=_0x2e7b7a['to']-(_0x562e6e&&_0x562e6e['isError']?0x0:0x1);if(_0x297ba6>_0x3231a3)return{'parser':_0xcc653d['parser'],'overlay':[{'from':_0x3231a3,'to':_0x297ba6}],'bracketed':!0x0};}else{if(0x1c==_0x2e7b7a['type']['id'])return{'parser':_0xcc653d['parser'],'overlay':[{'from':_0x2e7b7a['from'],'to':_0x2e7b7a['to']}]};}}}}return null;});}const _0x3afe6d=[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];function _0x5f38c8(_0x39fecd){return _0x39fecd>=0x41&&_0x39fecd<=0x5a||_0x39fecd>=0x61&&_0x39fecd<=0x7a||_0x39fecd>=0xa1;}function _0x258955(_0x43a9f7){return _0x43a9f7>=0x30&&_0x43a9f7<=0x39;}function _0x223803(_0x15e3e9){return _0x258955(_0x15e3e9)||_0x15e3e9>=0x61&&_0x15e3e9<=0x66||_0x15e3e9>=0x41&&_0x15e3e9<=0x46;}const _0x2f288e=(_0x285bb7,_0x433444,_0xe519d9)=>(_0x7ee69d,_0x1969c6)=>{for(let _0x56fe7b=!0x1,_0x345d67=0x0,_0x4a39ba=0x0;;_0x4a39ba++){let {next:_0x160cb9}=_0x7ee69d;if(_0x5f38c8(_0x160cb9)||0x2d==_0x160cb9||0x5f==_0x160cb9||_0x56fe7b&&_0x258955(_0x160cb9))!_0x56fe7b&&(0x2d!=_0x160cb9||_0x4a39ba>0x0)&&(_0x56fe7b=!0x0),_0x345d67===_0x4a39ba&&0x2d==_0x160cb9&&_0x345d67++,_0x7ee69d['advance']();else{if(0x5c!=_0x160cb9||0xa==_0x7ee69d['peek'](0x1)){_0x56fe7b&&_0x7ee69d['acceptToken'](0x2==_0x345d67&&_0x1969c6['canShift'](0x2)?_0x433444:0x28==_0x160cb9?_0xe519d9:_0x285bb7);break;}if(_0x7ee69d['advance'](),_0x223803(_0x7ee69d['next'])){do{_0x7ee69d['advance']();}while(_0x223803(_0x7ee69d['next']));0x20==_0x7ee69d['next']&&_0x7ee69d['advance']();}else _0x7ee69d['next']>-0x1&&_0x7ee69d['advance']();_0x56fe7b=!0x0;}}},_0x5cbc11=new _0x2ed6fa(_0x2f288e(0x88,0x2,0x89),{'contextual':!0x0}),_0x375df9=new _0x2ed6fa(_0x2f288e(0x8a,0x3,0x4),{'contextual':!0x0}),_0x3e64e8=new _0x2ed6fa(_0x542320=>{if(_0x3afe6d['includes'](_0x542320['peek'](-0x1))){let {next:_0x375732}=_0x542320;(_0x5f38c8(_0x375732)||0x5f==_0x375732||0x23==_0x375732||0x2e==_0x375732||0x2a==_0x375732||0x5b==_0x375732||0x3a==_0x375732&&_0x5f38c8(_0x542320['peek'](0x1))||0x2d==_0x375732||0x26==_0x375732)&&_0x542320['acceptToken'](0x87);}}),_0x1f04c6=new _0x2ed6fa(_0x2e6629=>{if(!_0x3afe6d['includes'](_0x2e6629['peek'](-0x1))){let {next:_0x1710cc}=_0x2e6629;if(0x25==_0x1710cc&&(_0x2e6629['advance'](),_0x2e6629['acceptToken'](0x1)),_0x5f38c8(_0x1710cc)){do{_0x2e6629['advance']();}while(_0x5f38c8(_0x2e6629['next'])||_0x258955(_0x2e6629['next']));_0x2e6629['acceptToken'](0x1);}}}),_0xf5f4c=_0x2f1f50({'AtKeyword\x20import\x20charset\x20namespace\x20keyframes\x20media\x20supports\x20font-feature-values':_0x554ddb['definitionKeyword'],'from\x20to\x20selector\x20scope\x20MatchFlag':_0x554ddb['keyword'],'NamespaceName':_0x554ddb['namespace'],'KeyframeName':_0x554ddb['labelName'],'KeyframeRangeName':_0x554ddb['operatorKeyword'],'TagName':_0x554ddb['tagName'],'ClassName':_0x554ddb['className'],'PseudoClassName':_0x554ddb['constant'](_0x554ddb['className']),'IdName':_0x554ddb['labelName'],'FeatureName\x20PropertyName':_0x554ddb['propertyName'],'AttributeName':_0x554ddb['attributeName'],'NumberLiteral':_0x554ddb['number'],'KeywordQuery':_0x554ddb['keyword'],'UnaryQueryOp':_0x554ddb['operatorKeyword'],'CallTag\x20ValueName\x20FontName':_0x554ddb['atom'],'VariableName':_0x554ddb['variableName'],'Callee':_0x554ddb['operatorKeyword'],'Unit':_0x554ddb['unit'],'UniversalSelector\x20NestingSelector':_0x554ddb['definitionOperator'],'MatchOp\x20CompareOp':_0x554ddb['compareOperator'],'ChildOp\x20SiblingOp,\x20LogicOp':_0x554ddb['logicOperator'],'BinOp':_0x554ddb['arithmeticOperator'],'Important':_0x554ddb['modifier'],'Comment':_0x554ddb['blockComment'],'ColorLiteral':_0x554ddb['color'],'ParenthesizedContent\x20StringLiteral':_0x554ddb['string'],':':_0x554ddb['punctuation'],'PseudoOp\x20#':_0x554ddb['derefOperator'],';\x20,\x20|':_0x554ddb['separator'],'(\x20)':_0x554ddb['paren'],'[\x20]':_0x554ddb['squareBracket'],'{\x20}':_0x554ddb['brace']}),_0x2d0895={'__proto__':null,'lang':0x2c,'nth-child':0x2c,'nth-last-child':0x2c,'nth-of-type':0x2c,'nth-last-of-type':0x2c,'dir':0x2c,'host-context':0x2c,'if':0x5a,'url':0x84,'url-prefix':0x84,'domain':0x84,'regexp':0x84},_0x1f85b0={'__proto__':null,'or':0x68,'and':0x68,'not':0x70,'only':0x70,'layer':0xba},_0xe3d872={'__proto__':null,'selector':0x76,'layer':0xb6},_0x423201={'__proto__':null,'@import':0xb2,'@media':0xbe,'@charset':0xc2,'@namespace':0xc6,'@keyframes':0xcc,'@supports':0xd8,'@scope':0xdc,'@font-feature-values':0xe2},_0x4c1878={'__proto__':null,'to':0xdf},_0x2056b9=_0x35e6ba['deserialize']({'version':0xe,'states':'IpQYQdOOO#}QdOOP$UO`OOO%OQaO\x27#CfOOQP\x27#Ce\x27#CeO%VQdO\x27#CgO%[Q`O\x27#CgO%aQaO\x27#FdO&XQdO\x27#CkO&xQaO\x27#CcO\x27SQdO\x27#CnO\x27_QdO\x27#DtO\x27dQdO\x27#DvO\x27oQdO\x27#D}O\x27oQdO\x27#EQOOQP\x27#Fd\x27#FdO)OQhO\x27#EsOOQS\x27#Fc\x27#FcOOQS\x27#Ev\x27#EvQYQdOOO)VQdO\x27#EWO*cQhO\x27#E^O)VQdO\x27#E`O*jQdO\x27#EbO*uQdO\x27#EeO)zQhO\x27#EkO*}QdO\x27#EmO+YQdO\x27#EpO+_QaO\x27#CfO+fQ`O\x27#ETO+kQ`O\x27#FnO+vQdO\x27#FnQOQ`OOP,QO&jO\x27#CaPOOO)CAR)CAROOQP\x27#Ci\x27#CiOOQP,59R,59RO%VQdO,59ROOQP\x27#Cm\x27#CmOOQP,59V,59VO&XQdO,59VO,]QdO,59YO\x27_QdO,5:`O\x27dQdO,5:bO\x27oQdO,5:iO\x27oQdO,5:kO\x27oQdO,5:lO\x27oQdO\x27#E}O,hQ`O,58}O,pQdO\x27#ESOOQS,58},58}OOQP\x27#Cq\x27#CqOOQO\x27#Dr\x27#DrOOQP,59Y,59YO,wQ`O,59YO,|Q`O,59YOOQP\x27#Du\x27#DuOOQP,5:`,5:`O-RQpO\x27#DwO-^QdO\x27#DxO-cQ`O\x27#DxO-hQpO,5:bO.RQaO,5:iO.iQaO,5:lOOQW\x27#D^\x27#D^O/eQhO\x27#DgO/xQhO,5;_O)zQhO\x27#DeO0VQ`O\x27#DkO0[QhO\x27#DnOOQW\x27#Fj\x27#FjOOQS,5;_,5;_O0aQ`O\x27#DhOOQS-E8t-E8tOOQ[\x27#Cv\x27#CvO0fQdO\x27#CwO0|QdO\x27#C}O1dQdO\x27#DQO1zQ!pO\x27#DSO4TQ!jO,5:rOOQO\x27#DX\x27#DXO,|Q`O\x27#DWO4eQ!nO\x27#FgO6hQ`O\x27#DYO6mQ`O\x27#DoOOQ[\x27#Fg\x27#FgO6rQhO\x27#FqO7QQ`O,5:xO7VQ!bO,5:zOOQS\x27#Ed\x27#EdO7_Q`O,5:|O7dQdO,5:|OOQO\x27#Eg\x27#EgO7lQ`O,5;PO7qQhO,5;VO\x27oQdO\x27#DjOOQS,5;X,5;XO0aQ`O,5;XO7yQdO,5;XOOQS\x27#FU\x27#FUO8RQdO\x27#ErO7QQ`O,5;[O8ZQdO,5:oO8kQdO\x27#FPO8xQ`O,5<YO8xQ`O,5<YPOOO\x27#Eu\x27#EuP9TO&jO,58{POOO,58{,58{OOQP1G.m1G.mOOQP1G.q1G.qOOQP1G.t1G.tO,wQ`O1G.tO,|Q`O1G.tOOQP1G/z1G/zO9`QpO1G/|O9hQaO1G0TO:OQaO1G0VO:fQaO1G0WO:|QaO,5;iOOQO-E8{-E8{OOQS1G.i1G.iO;WQ`O,5:nO;]QdO\x27#DsO;dQdO\x27#CuOOQO\x27#Dz\x27#DzOOQO,5:d,5:dO-^QdO,5:dOOQP1G/|1G/|O)VQdO1G/|O;kQ!jO\x27#D^O;yQ!bO,59yO<RQhO,5:ROOQO\x27#Fk\x27#FkO;|Q!bO,59}O<ZQhO\x27#FVO)zQhO,59{O)zQhO\x27#FVO=OQhO1G0yOOQS1G0y1G0yO=YQhO,5:PO>QQhO\x27#DlOOQW,5:V,5:VOOQW,5:Y,5:YOOQW,5:S,5:SO>[Q!fO\x27#FhOOQS\x27#Fh\x27#FhOOQS\x27#Ex\x27#ExO?lQdO,59cOOQ[,59c,59cO@SQdO,59iOOQ[,59i,59iO@jQdO,59lOOQ[,59l,59lOOQ[,59n,59nO)VQdO,59pOAQQhO\x27#EYOOQW\x27#EY\x27#EYOAlQ`O1G0^O4^QhO1G0^OOQ[,59r,59rO)zQhO\x27#D[OOQ[,59t,59tOAqQ#tO,5:ZOA|QhO\x27#FROBZQ`O,5<]OOQS1G0d1G0dOOQS1G0f1G0fOOQS1G0h1G0hOBfQ`O1G0hOBkQdO\x27#EhOOQS1G0k1G0kOOQS1G0q1G0qOBvQaO,5:UO7QQ`O1G0sOOQS1G0s1G0sO0aQ`O1G0sOOQS-E9S-E9SOOQS1G0v1G0vOB}Q!fO1G0ZOCeQ`O\x27#EVOOQO1G0Z1G0ZOOQO,5;k,5;kOCjQdO,5;kOOQO-E8}-E8}OCwQ`O1G1tPOOO-E8s-E8sPOOO1G.g1G.gOOQP7+$`7+$`OOQP7+%h7+%hO)VQdO7+%hOOQS1G0Y1G0YODSQaO\x27#FmOD^Q`O,5:_ODcQ!fO\x27#EwOEaQdO\x27#FfOEkQ`O,59aOOQO1G0O1G0OOEpQ!bO7+%hO)VQdO1G/eOE{QhO1G/iOOQW1G/m1G/mOOQW1G/g1G/gOF^QhO,5;qOOQW-E9T-E9TOOQS7+&e7+&eOGRQhO\x27#D^OGaQhO\x27#FlOGlQ`O\x27#FlOGqQ`O,5:WOOQS-E8v-E8vOOQ[1G.}1G.}OOQ[1G/T1G/TOOQ[1G/W1G/WOOQ[1G/[1G/[OGvQdO,5:tOOQS7+%x7+%xOG{Q`O7+%xOHQQhO\x27#D]OHYQ`O,59vO)zQhO,59vOOQ[1G/u1G/uOHbQ`O1G/uOHgQhO,5;mOOQO-E9P-E9POOQS7+&S7+&SOHuQbO\x27#DSOOQO\x27#Ej\x27#EjOITQ`O\x27#EiOOQO\x27#Ei\x27#EiOI`Q`O\x27#FSOIhQdO,5;SOOQS,5;S,5;SOOQ[1G/p1G/pOOQS7+&_7+&_O7QQ`O7+&_OIsQ!fO\x27#FOO)VQdO\x27#FOOJzQdO7+%uOOQO7+%u7+%uOOQO,5:q,5:qOOQO1G1V1G1VOK_Q!bO<<ISOKjQdO\x27#E|OKtQ`O,5<XOOQP1G/y1G/yOOQS-E8u-E8uOK|QdO\x27#E{OLWQ`O,5<QOOQ]1G.{1G.{OOQP<<IS<<ISOL`Q`O<<ISOLeQdO7+%POOQO\x27#D`\x27#D`OLlQ!bO7+%TOLtQhO\x27#EzOMRQ`O,5<WO)VQdO,5<WOOQW1G/r1G/rOOQO\x27#E[\x27#E[OMZQ`O1G0`OOQS<<Id<<IdO)VQdO,59wOMzQhO1G/bOOQ[1G/b1G/bONRQ`O1G/bOOQW-E8w-E8wOOQ[7+%a7+%aOOQO,5;T,5;TOBnQdO\x27#FTOI`Q`O,5;nOOQS,5;n,5;nOOQS-E9Q-E9QOOQS1G0n1G0nOOQS<<Iy<<IyONZQ!fO,5;jOOQS-E8|-E8|OOQO<<Ia<<IaOOQPAN>nAN>nO!\x20bQ`OAN>nO!\x20gQaO,5;hOOQO-E8z-E8zO!\x20qQdO,5;gOOQO-E8y-E8yOOQW<<Hk<<HkOOQW<<Ho<<HoO!\x20{QhO<<HoO!!^QhO,5;fO!!iQ`O,5;fOOQO-E8x-E8xO!!nQdO1G1rOGvQdO\x27#FQO!!xQ`O7+%zOOQW7+%z7+%zO!#QQ!bO1G/cOOQ[7+$|7+$|O!#]QhO7+$|P!#dQ`O\x27#EyOOQO,5;o,5;oOOQO-E9R-E9ROOQS1G1Y1G1YOOQPG24YG24YO!#iQ`OAN>ZO)VQdO1G1QO!#nQ`O7+\x27^OOQO,5;l,5;lOOQO-E9O-E9OOOQW<<If<<IfOOQ[<<Hh<<HhPOQW,5;e,5;eOOQWG23uG23uO!#vQdO7+&l','stateData':'!$Z~O$QOS$RQQ~OWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|RO$XTO~OQmOWVO^_O`WOcYOdYOl`OmZOp[O!r]O!u^O!{dO#ReO#TfO#VgO#YhO#`iO#bjO#ekO#|lO$XTO~O#z$bP~P!jO$RqO~O`YXcYXdYXmYXpYXsYX!aYX!rYX!uYX#{YX$X[X~OgYX~P$ZO#|sO~O$XuO~O$XuO`$WXc$WXd$WXm$WXp$WXs$WX!a$WX!r$WX!u$WX#{$WXg$WX~O#|vO~O`xOcyOdyOmzOp{O!r|O!u!OO#{}O~Os!RO!a!PO~P&^Of!XO#|!TO#}!UO~O#|!YO~OW!^O#|![O$X!]O~OWVO^_O`WOcYOdYOmZOp[O!r]O!u^O#|RO$XTO~OS!fOc!gOd!gOh!cOs!RO!Y!eO!]!jO$O!bO~On!iO~P(dOQ!tOh!mOp!nOs!oOu!wOw!wO}!uO!d!vO#|!lO#}!rO$]!pO~OS!fOc!gOd!gOh!cO!Y!eO!]!jO$O!bO~Os$eP~P)zOw!|O!d!vO#|!{O~Ow#OO#|#OO~Oh#ROs!RO#c#TO~O#|#VO~Oc!xX~P$ZOc#YO~On#ZO#z$bXr$bX~O#z$bXr$bX~P!jO$S#^O$T#^O$U#`O~Of#eO#|!TO#}!UO~Os!RO!a!PO~Or$bP~P!jOh#oO~Oh#pO~Oo!kX!o!kX$X!mX~O#|#qO~O$X#sO~Oo#tO!o#uO~O`xOcyOdyOmzOp{O~Os!qa!a!qa!r!qa!u!qa#{!qag!qa~P-pOs!ta!a!ta!r!ta!u!ta#{!tag!ta~P-pOS!fOc!gOd!gOh!cO!Y!eO!]!jO~OR#yOu#yOw#yO$O#vO$]!pO~P/POn$PO!U#|O!a#}O~P(dOh$RO~O$O$TO~Oh#RO~O`$WOc$WOg$ZOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo$]O~P)VO`$WOc$WOl$WOm$WOn$WOr$_O~P)VOP$`OSvXcvXdvXhvXnvXyvX!YvX!]vX!}vX#PvX$OvX!WvXQvX`vXgvXlvXmvXpvXsvXuvXwvX}vX!dvX#|vX#}vX$]vXovXrvX!avX#zvX$dvX!pvX~Oy$aO!}$bO#P$cOn$eP~P)zOh#pOS$ZXc$ZXd$ZXn$ZXy$ZX!Y$ZX!]$ZX!}$ZX#P$ZX$O$ZXQ$ZX`$ZXg$ZXl$ZXm$ZXp$ZXs$ZXu$ZXw$ZX}$ZX!d$ZX#|$ZX#}$ZX$]$ZXo$ZXr$ZX!a$ZX#z$ZX$d$ZX!p$ZX~Oh$gO~Oh$iO~O!U#|O!a$jOs$eXn$eX~Os!RO~On$mOy$aO~On$nO~Ow$oO!d!vO~Os$pO~Os!RO!U#|O~Os!RO#c$vO~O#|#VOs#fX~O$d$zOn!wa#z!war!wa~P)VOn#sX#z#sXr#sX~P!jOn#ZO#z$bar$ba~O$S#^O$T#^O$U%RO~Oo%TO!o%UO~Os!qi!a!qi!r!qi!u!qi#{!qig!qi~P-pOs!si!a!si!r!si!u!si#{!sig!si~P-pOs!ti!a!ti!r!ti!u!ti#{!tig!ti~P-pOs#qa!a#qa~P&^Or%VO~Og$aP~P\x27oOg$YP~P)VOc!SXg!QX!U!QX!W!SX~Oc%_O!W%`O~Og%aO!U#|O~O!U#|OS#yXc#yXd#yXh#yXn#yXs#yX!Y#yX!]#yX!a#yX$O#yX~On%eO!a#}O~P(dO!U#|OS!Xac!Xad!Xah!Xan!Xas!Xa!Y!Xa!]!Xa!a!Xa$O!Xag!Xa~O$O%fOg$`P~P/POy$aOQ$[X`$[Xc$[Xg$[Xh$[Xl$[Xm$[Xn$[Xp$[Xs$[Xu$[Xw$[X}$[X!d$[X#|$[X#}$[X$]$[Xo$[Xr$[X~O`$WOc$WOg%kOl$WOm$WOn$WO~P)VO`$WOc$WOl$WOm$WOn$WOo%lO~P)VO`$WOc$WOl$WOm$WOn$WOr%mO~P)VOh%oOS!|Xc!|Xd!|Xn!|X!Y!|X!]!|X$O!|X~On%pO~Og%uOw%vO!e%vO~Os#uX!a#uXn#uX~P)zO!a$jOs$ean$ea~On%yO~Or&QO#|%{O$]%zO~Og&RO~P&^Oy$aO!a&VO$d$zOn!wi#z!wir!wi~P)VO$c&YO~On#sa#z#sar#sa~P!jOn#ZO#z$bir$bi~O!a&]Og$aX~P&^Og&_O~Oy$aOQ#kXg#kXh#kXp#kXs#kXu#kXw#kX}#kX!a#kX!d#kX#|#kX#}#kX$]#kX~O!a&aOg$YX~P)VOg&cO~Oo&dOy$aO!p&eO~OR#yOu#yOw#yO$O&gO$]!pO~O!U#|OS#yac#yad#yah#yan#yas#ya!Y#ya!]#ya!a#ya$O#ya~Oc!SXg!QX!U!QX!a!QX~O!U#|O!a&iOg$`X~Oc&kO~Og&lO~O#|&mO~On&oO~Oc&pO!U#|O~Og&rOn&qO~Og&uO~O!U#|Os#ua!a#uan#ua~OP$`OsvX!avXgvX~O$]%zOs#]X!a#]X~Os!RO!a&wO~Or&{O#|%{O$]%zO~Oy$aOQ#rXh#rXn#rXp#rXs#rXu#rXw#rX}#rX!a#rX!d#rX#z#rX#|#rX#}#rX$]#rX$d#rXr#rX~O!a&VO$d$zOn!wq#z!wqr!wq~P)VOo\x27QOy$aO!p\x27RO~Og#pX!a#pX~P\x27oO!a&]Og$aa~Og#oX!a#oX~P)VO!a&aOg$Ya~Oo\x27QO~Og\x27WO~P)VOg\x27XO!W\x27YO~O$O%fOg#nX!a#nX~P/PO!a&iOg$`a~O`\x27_Og\x27aO~OS#mac#mad#mah#ma!Y#ma!]#ma$O#ma~Og\x27cO~PMcOg\x27cOn\x27dO~Oy$aOQ#rah#ran#rap#ras#rau#raw#ra}#ra!a#ra!d#ra#z#ra#|#ra#}#ra$]#ra$d#rar#ra~Oo\x27iO~Og#pa!a#pa~P&^Og#oa!a#oa~P)VOR#yOu#yOw#yO$O&gO$]%zO~O!U#|Og#na!a#na~Oc\x27kO~O!a&iOg$`i~P)VO`\x27_Og\x27oO~Oy$aOg!Pin!Pi~Og\x27pO~PMcOn\x27qO~Og\x27rO~O!a&iOg$`q~Og#nq!a#nq~P)VO$Q!e$R$]`$]y!u~','goto':'4h$fPPPPP$gP$jP$s%V$s%i%{P$sP&R$sPP&XPPP&_&i&iPPPPP&iPP&iP\x27VP&iP&i(Q&iP(n(q(w(w)Z(wP(wP(wP(w(wP)j(w)vP(w)yPP*m*s$s*y$s+P+P+V+ZPP$sP$s$sP+a,],j,q$jP,zP,}P$jP$jP$jP-T$jP-W-Z-^-e$jP$jPP$jP-j$jP-m-s.S.j.x/O/Y/`/f/l/r/|0S0Y0`0f0lPPPPPPPPPPP0r0{P1q1t2vP3O3x4R4U4XPP4_RrQ_aOPco!R#Z$}q_OP]^co|}!O!P!R#R#Z#o$}&]qSOP]^co|}!O!P!R#R#Z#o$}&]qUOP]^co|}!O!P!R#R#Z#o$}&]QtTR#auQwWR#bxQ!VYR#cyQ#c!XS$f!s!tR%S#e!V!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27s!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27sU#y!c%`\x27YU%}$p&P&wR&v%|!V!sdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27sR$h!uQ%s$gR&s%tq!h`ei!c!d!e!q#|#}$O$R$e$g$j%t&iQ#w!cQ%h$RQ&h%`Q\x27[&iR\x27j\x27YQ#UjQ$U!jQ$t#TR&T$vR$S!f!U!wdf!m!n!o#Y#p#u$Y$[$^$a$y%U%Z%_&V&W&a&f&k&p\x27U\x27^\x27k\x27sQ!|gR$o!}Q!WYR#dyQ#c!WR%S#dQ!ZZR#fzQ!_[R#g{T!^[{Q#r!]R%]#sQ!SXQ!i`Q#SjQ#m!QQ$P!dQ$l!yQ$r#QQ$u#UQ$x#XQ%e$OQ&S$tQ&y&OQ&|&TR\x27h&xSnP!RQ#]oQ$|#ZR&Z$}ZmPo!R#Z$}Q${#YQ&X$yR\x27P&WR$e!qQ&n%oR\x27m\x27_R!}gR#PhR$q#PS&O$p&PR\x27f&wV%|$p&P&wR#XkQ#_qR%Q#_QcOSoP!RU!kco$}R$}#ZQ%Z#pY&`%Z&f\x27U\x27^\x27sQ&f%_Q\x27U&aQ\x27^&kR\x27s\x27kQ$Y!mQ$[!nQ$^!oV%j$Y$[$^Q%t$gR&t%tQ&j%gS\x27]&j\x27lR\x27l\x27^Q&b%ZR\x27V&bQ&^%WR\x27T&^Q!QXR#l!QQ&W$yR\x27O&WQ#[nS%O#[%PR%P#]Q\x27`&nR\x27n\x27`Q$k!xR%x$kQ&P$pR&z&PQ&x&OR\x27g&xQ#WkR$w#WQ$O!dR%d$O_bOPco!R#Z$}^XOPco!R#Z$}Q!`]Q!a^Q#h|Q#i}Q#j!OQ#k!PQ$s#RQ%W#oR\x27S&]R%[#pQ!qdQ!zf[$V!m!n!o$Y$[$^Q$y#Yd%Y#p%Z%_&a&f&k\x27U\x27^\x27k\x27sQ%^#uQ%n$aS&U$y&WQ&[%UQ&}&VR\x27b&p]$X!m!n!o$Y$[$^Q!d`U!xe!q$eQ#QiQ#x!cS#{!d$OQ$Q!eQ%b#|Q%c#}Q%g$RS%r$g%tQ%w$jR\x27Z&iQ#z!cQ&h%`R\x27j\x27YR%i$RR%X#oQpPR#n!RQ!yeQ$d!qR%q$e','nodeNames':'⚠\x20Unit\x20VariableName\x20VariableName\x20QueryCallee\x20Comment\x20StyleSheet\x20RuleSet\x20UniversalSelector\x20TagSelector\x20TagName\x20NamespacedTagSelector\x20NamespaceName\x20TagName\x20NestingSelector\x20ClassSelector\x20.\x20ClassName\x20PseudoClassSelector\x20:\x20::\x20PseudoClassName\x20PseudoClassName\x20)\x20(\x20ArgList\x20ValueName\x20ParenthesizedValue\x20AtKeyword\x20#\x20;\x20]\x20[\x20BracketedValue\x20}\x20{\x20BracedValue\x20ColorLiteral\x20NumberLiteral\x20StringLiteral\x20BinaryExpression\x20BinOp\x20CallExpression\x20Callee\x20IfExpression\x20if\x20ArgList\x20IfBranch\x20KeywordQuery\x20FeatureQuery\x20FeatureName\x20BinaryQuery\x20LogicOp\x20ComparisonQuery\x20CompareOp\x20UnaryQuery\x20UnaryQueryOp\x20ParenthesizedQuery\x20SelectorQuery\x20selector\x20ParenthesizedSelector\x20CallQuery\x20ArgList\x20,\x20PseudoQuery\x20CallLiteral\x20CallTag\x20ParenthesizedContent\x20PseudoClassName\x20ArgList\x20IdSelector\x20IdName\x20AttributeSelector\x20AttributeName\x20NamespacedAttribute\x20NamespaceName\x20AttributeName\x20MatchOp\x20MatchFlag\x20ChildSelector\x20ChildOp\x20DescendantSelector\x20SiblingSelector\x20SiblingOp\x20Block\x20Declaration\x20PropertyName\x20Important\x20ImportStatement\x20import\x20Layer\x20layer\x20LayerName\x20layer\x20MediaStatement\x20media\x20CharsetStatement\x20charset\x20NamespaceStatement\x20namespace\x20NamespaceName\x20KeyframesStatement\x20keyframes\x20KeyframeName\x20KeyframeList\x20KeyframeSelector\x20KeyframeRangeName\x20SupportsStatement\x20supports\x20ScopeStatement\x20scope\x20to\x20FontFeatureStatement\x20font-feature-values\x20FontName\x20AtRule\x20Styles','maxTerm':0x9f,'nodeProps':[['isolate',-0x2,0x5,0x27,''],['openedBy',0x17,'(',0x1f,'[',0x22,'{'],['closedBy',0x18,')',0x20,']',0x23,'}']],'propSources':[_0xf5f4c],'skippedNodes':[0x0,0x5,0x75],'repeatNodeCount':0x11,'tokenData':'K`~R!bOX%ZX^&R^p%Zpq&Rqr)ers)vst+jtu2Xuv%Zvw3Rwx3dxy5Ryz5dz{5i{|6S|}:u}!O;W!O!P;u!P!Q<^!Q![=V![!]>Q!]!^>|!^!_?_!_!`@Z!`!a@n!a!b%Z!b!cAo!c!k%Z!k!lC|!l!u%Z!u!vC|!v!}%Z!}#OD_#O#P%Z#P#QDp#Q#R2X#R#]%Z#]#^ER#^#g%Z#g#hC|#h#o%Z#o#pIf#p#qIw#q#rJ`#r#sJq#s#y%Z#y#z&R#z$f%Z$f$g&R$g#BY%Z#BY#BZ&R#BZ$IS%Z$IS$I_&R$I_$I|%Z$I|$JO&R$JO$JT%Z$JT$JU&R$JU$KV%Z$KV$KW&R$KW&FU%Z&FU&FV&R&FV;\x27S%Z;\x27S;=`KY<%lO%Z`%^SOy%jz;\x27S%j;\x27S;=`%{<%lO%j`%oS!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%j`&OP;=`<%l%j~&Wh$Q~OX%jX^\x27r^p%jpq\x27rqy%jz#y%j#y#z\x27r#z$f%j$f$g\x27r$g#BY%j#BY#BZ\x27r#BZ$IS%j$IS$I_\x27r$I_$I|%j$I|$JO\x27r$JO$JT%j$JT$JU\x27r$JU$KV%j$KV$KW\x27r$KW&FU%j&FU&FV\x27r&FV;\x27S%j;\x27S;=`%{<%lO%j~\x27yh$Q~!e`OX%jX^\x27r^p%jpq\x27rqy%jz#y%j#y#z\x27r#z$f%j$f$g\x27r$g#BY%j#BY#BZ\x27r#BZ$IS%j$IS$I_\x27r$I_$I|%j$I|$JO\x27r$JO$JT%j$JT$JU\x27r$JU$KV%j$KV$KW\x27r$KW&FU%j&FU&FV\x27r&FV;\x27S%j;\x27S;=`%{<%lO%jj)jS$dYOy%jz;\x27S%j;\x27S;=`%{<%lO%j~)yWOY)vZr)vrs*cs#O)v#O#P*h#P;\x27S)v;\x27S;=`+d<%lO)v~*hOw~~*kRO;\x27S)v;\x27S;=`*t;=`O)v~*wXOY)vZr)vrs*cs#O)v#O#P*h#P;\x27S)v;\x27S;=`+d;=`<%l)v<%lO)v~+gP;=`<%l)vj+oYmYOy%jz!Q%j!Q![,_![!c%j!c!i,_!i#T%j#T#Z,_#Z;\x27S%j;\x27S;=`%{<%lO%jj,dY!e`Oy%jz!Q%j!Q![-S![!c%j!c!i-S!i#T%j#T#Z-S#Z;\x27S%j;\x27S;=`%{<%lO%jj-XY!e`Oy%jz!Q%j!Q![-w![!c%j!c!i-w!i#T%j#T#Z-w#Z;\x27S%j;\x27S;=`%{<%lO%jj.OYuY!e`Oy%jz!Q%j!Q![.n![!c%j!c!i.n!i#T%j#T#Z.n#Z;\x27S%j;\x27S;=`%{<%lO%jj.uYuY!e`Oy%jz!Q%j!Q![/e![!c%j!c!i/e!i#T%j#T#Z/e#Z;\x27S%j;\x27S;=`%{<%lO%jj/jY!e`Oy%jz!Q%j!Q![0Y![!c%j!c!i0Y!i#T%j#T#Z0Y#Z;\x27S%j;\x27S;=`%{<%lO%jj0aYuY!e`Oy%jz!Q%j!Q![1P![!c%j!c!i1P!i#T%j#T#Z1P#Z;\x27S%j;\x27S;=`%{<%lO%jj1UY!e`Oy%jz!Q%j!Q![1t![!c%j!c!i1t!i#T%j#T#Z1t#Z;\x27S%j;\x27S;=`%{<%lO%jj1{SuY!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jd2[UOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%jd2uS!oS!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jb3WS^QOy%jz;\x27S%j;\x27S;=`%{<%lO%j~3gWOY3dZw3dwx*cx#O3d#O#P4P#P;\x27S3d;\x27S;=`4{<%lO3d~4SRO;\x27S3d;\x27S;=`4];=`O3d~4`XOY3dZw3dwx*cx#O3d#O#P4P#P;\x27S3d;\x27S;=`4{;=`<%l3d<%lO3d~5OP;=`<%l3dj5WShYOy%jz;\x27S%j;\x27S;=`%{<%lO%j~5iOg~n5pUWQyWOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%jj6ZWyW!uQOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;\x27S%j;\x27S;=`%{<%lO%jj6xU!e`Oy%jz!Q%j!Q![7[![;\x27S%j;\x27S;=`%{<%lO%jj7cY!e`$]YOy%jz!Q%j!Q![7[![!g%j!g!h8R!h#X%j#X#Y8R#Y;\x27S%j;\x27S;=`%{<%lO%jj8WY!e`Oy%jz{%j{|8v|}%j}!O8v!O!Q%j!Q![9_![;\x27S%j;\x27S;=`%{<%lO%jj8{U!e`Oy%jz!Q%j!Q![9_![;\x27S%j;\x27S;=`%{<%lO%jj9fU!e`$]YOy%jz!Q%j!Q![9_![;\x27S%j;\x27S;=`%{<%lO%jj:P[!e`$]YOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;\x27S%j;\x27S;=`%{<%lO%jj:zS!aYOy%jz;\x27S%j;\x27S;=`%{<%lO%jj;]WyWOy%jz!O%j!O!P6s!P!Q%j!Q![9x![;\x27S%j;\x27S;=`%{<%lO%jj;zU`YOy%jz!Q%j!Q![7[![;\x27S%j;\x27S;=`%{<%lO%j~<cTyWOy%jz{<r{;\x27S%j;\x27S;=`%{<%lO%j~<yS!e`$R~Oy%jz;\x27S%j;\x27S;=`%{<%lO%jj=[[$]YOy%jz!O%j!O!P7[!P!Q%j!Q![9x![!g%j!g!h8R!h#X%j#X#Y8R#Y;\x27S%j;\x27S;=`%{<%lO%jj>VUcYOy%jz![%j![!]>i!];\x27S%j;\x27S;=`%{<%lO%jj>pSdY!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jj?RSnYOy%jz;\x27S%j;\x27S;=`%{<%lO%jh?dU!WWOy%jz!_%j!_!`?v!`;\x27S%j;\x27S;=`%{<%lO%jh?}S!WW!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jl@bS!WW!oSOy%jz;\x27S%j;\x27S;=`%{<%lO%jj@uV!rQ!WWOy%jz!_%j!_!`?v!`!aA[!a;\x27S%j;\x27S;=`%{<%lO%jbAcS!rQ!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jjArYOy%jz}%j}!OBb!O!c%j!c!}CP!}#T%j#T#oCP#o;\x27S%j;\x27S;=`%{<%lO%jjBgW!e`Oy%jz!c%j!c!}CP!}#T%j#T#oCP#o;\x27S%j;\x27S;=`%{<%lO%jjCW[lY!e`Oy%jz}%j}!OCP!O!Q%j!Q![CP![!c%j!c!}CP!}#T%j#T#oCP#o;\x27S%j;\x27S;=`%{<%lO%jhDRS!pWOy%jz;\x27S%j;\x27S;=`%{<%lO%jjDdSpYOy%jz;\x27S%j;\x27S;=`%{<%lO%jnDuSo^Oy%jz;\x27S%j;\x27S;=`%{<%lO%jjEWU!pWOy%jz#a%j#a#bEj#b;\x27S%j;\x27S;=`%{<%lO%jbEoU!e`Oy%jz#d%j#d#eFR#e;\x27S%j;\x27S;=`%{<%lO%jbFWU!e`Oy%jz#c%j#c#dFj#d;\x27S%j;\x27S;=`%{<%lO%jbFoU!e`Oy%jz#f%j#f#gGR#g;\x27S%j;\x27S;=`%{<%lO%jbGWU!e`Oy%jz#h%j#h#iGj#i;\x27S%j;\x27S;=`%{<%lO%jbGoU!e`Oy%jz#T%j#T#UHR#U;\x27S%j;\x27S;=`%{<%lO%jbHWU!e`Oy%jz#b%j#b#cHj#c;\x27S%j;\x27S;=`%{<%lO%jbHoU!e`Oy%jz#h%j#h#iIR#i;\x27S%j;\x27S;=`%{<%lO%jbIYS$cQ!e`Oy%jz;\x27S%j;\x27S;=`%{<%lO%jjIkSsYOy%jz;\x27S%j;\x27S;=`%{<%lO%jfI|U$XUOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%jjJeSrYOy%jz;\x27S%j;\x27S;=`%{<%lO%jfJvU!uQOy%jz!_%j!_!`2n!`;\x27S%j;\x27S;=`%{<%lO%j`K]P;=`<%l%Z','tokenizers':[_0x3e64e8,_0x1f04c6,_0x5cbc11,_0x375df9,0x1,0x2,0x3,0x4,new _0x504c26('m~RRYZ[z{a~~g~aO$T~~dP!P!Qg~lO$U~~',0x1c,0x8e)],'topRules':{'StyleSheet':[0x0,0x6],'Styles':[0x1,0x74]},'dynamicPrecedences':{0x54:0x1},'specialized':[{'term':0x89,'get':_0x20197b=>_0x2d0895[_0x20197b]||-0x1},{'term':0x8a,'get':_0x1dc021=>_0x1f85b0[_0x1dc021]||-0x1},{'term':0x4,'get':_0x489697=>_0xe3d872[_0x489697]||-0x1},{'term':0x1c,'get':_0x29851f=>_0x423201[_0x29851f]||-0x1},{'term':0x88,'get':_0x50ca66=>_0x4c1878[_0x50ca66]||-0x1}],'tokenPrec':0x8d0});let _0x5a76ec=null;function _0x4f62fd(){if(!_0x5a76ec&&'object'==typeof document&&document['body']){let {style:_0x41954e}=document['body'],_0x5be76b=[],_0x567e93=new Set();for(let _0x5b5a76 in _0x41954e)'cssText'!=_0x5b5a76&&'cssFloat'!=_0x5b5a76&&'string'==typeof _0x41954e[_0x5b5a76]&&(/[A-Z]/['test'](_0x5b5a76)&&(_0x5b5a76=_0x5b5a76['replace'](/[A-Z]/g,_0x5530f4=>'-'+_0x5530f4['toLowerCase']())),_0x567e93['has'](_0x5b5a76)||(_0x5be76b['push'](_0x5b5a76),_0x567e93['add'](_0x5b5a76)));_0x5a76ec=_0x5be76b['sort']()['map'](_0x4e7789=>({'type':'property','label':_0x4e7789,'apply':_0x4e7789+':\x20'}));}return _0x5a76ec||[];}const _0x2987cd=['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'](_0x294744=>({'type':'class','label':_0x294744})),_0x55f37d=['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'](_0x5b7ba3=>({'type':'keyword','label':_0x5b7ba3}))['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'](_0x4f0244=>({'type':'constant','label':_0x4f0244}))),tH=['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'](_0x57390b=>({'type':'type','label':_0x57390b})),_0x31dfc2=['@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'](_0x325769=>({'type':'keyword','label':_0x325769})),_0x46a6e8=/^(\w[\w-]*|-\w[\w-]*|)$/,_0x50998d=/^-(-[\w-]*)?$/,_0x2f16b0=new _0x1c1a8c(),_0x318e6a=['Declaration'];function _0xc9dcab(_0x1fc7ea){for(let _0x2cf5b7=_0x1fc7ea;;){if(_0x2cf5b7['type']['isTop'])return _0x2cf5b7;if(!(_0x2cf5b7=_0x2cf5b7['parent']))return _0x1fc7ea;}}function _0x60b7ef(_0x3ef346,_0x1649c1,_0x313f77){if(_0x1649c1['to']-_0x1649c1['from']>0x1000){let _0x4dfec8=_0x2f16b0['get'](_0x1649c1);if(_0x4dfec8)return _0x4dfec8;let _0x3230bc=[],_0x157102=new Set(),_0x325e9a=_0x1649c1['cursor'](_0x529189['IncludeAnonymous']);if(_0x325e9a['firstChild']())do{for(let _0x2730d1 of _0x60b7ef(_0x3ef346,_0x325e9a['node'],_0x313f77))_0x157102['has'](_0x2730d1['label'])||(_0x157102['add'](_0x2730d1['label']),_0x3230bc['push'](_0x2730d1));}while(_0x325e9a['nextSibling']());return _0x2f16b0['set'](_0x1649c1,_0x3230bc),_0x3230bc;}{let _0x446776=[],_0x41661d=new Set();return _0x1649c1['cursor']()['iterate'](_0x2cc9dc=>{var _0x59c459;if(_0x313f77(_0x2cc9dc)&&_0x2cc9dc['matchContext'](_0x318e6a)&&':'==(null===(_0x59c459=_0x2cc9dc['node']['nextSibling'])||void 0x0===_0x59c459?void 0x0:_0x59c459['name'])){let _0x48bdf7=_0x3ef346['sliceString'](_0x2cc9dc['from'],_0x2cc9dc['to']);_0x41661d['has'](_0x48bdf7)||(_0x41661d['add'](_0x48bdf7),_0x446776['push']({'label':_0x48bdf7,'type':'variable'}));}}),_0x446776;}}const _0x492900=_0x1d85a7=>_0x5a5bcf=>{let {state:_0x3578b8,pos:_0x3469ff}=_0x5a5bcf,_0x161521=_0xcd4dc4(_0x3578b8)['resolveInner'](_0x3469ff,-0x1),_0x597cb2=_0x161521['type']['isError']&&_0x161521['from']==_0x161521['to']-0x1&&'-'==_0x3578b8['doc']['sliceString'](_0x161521['from'],_0x161521['to']);if('PropertyName'==_0x161521['name']||(_0x597cb2||'TagName'==_0x161521['name'])&&/^(Block|Styles)$/['test'](_0x161521['resolve'](_0x161521['to'])['name']))return{'from':_0x161521['from'],'options':_0x4f62fd(),'validFor':_0x46a6e8};if('ValueName'==_0x161521['name'])return{'from':_0x161521['from'],'options':_0x55f37d,'validFor':_0x46a6e8};if('PseudoClassName'==_0x161521['name'])return{'from':_0x161521['from'],'options':_0x2987cd,'validFor':_0x46a6e8};if(_0x1d85a7(_0x161521)||(_0x5a5bcf['explicit']||_0x597cb2)&&function(_0x40483c,_0x343700){var _0x280c68;if(('('==_0x40483c['name']||_0x40483c['type']['isError'])&&(_0x40483c=_0x40483c['parent']||_0x40483c),'ArgList'!=_0x40483c['name'])return!0x1;let _0x11724d=null===(_0x280c68=_0x40483c['parent'])||void 0x0===_0x280c68?void 0x0:_0x280c68['firstChild'];return'Callee'==(null==_0x11724d?void 0x0:_0x11724d['name'])&&'var'==_0x343700['sliceString'](_0x11724d['from'],_0x11724d['to']);}(_0x161521,_0x3578b8['doc']))return{'from':_0x1d85a7(_0x161521)||_0x597cb2?_0x161521['from']:_0x3469ff,'options':_0x60b7ef(_0x3578b8['doc'],_0xc9dcab(_0x161521),_0x1d85a7),'validFor':_0x50998d};if('TagName'==_0x161521['name']){for(let {parent:_0xcdc306}=_0x161521;_0xcdc306;_0xcdc306=_0xcdc306['parent'])if('Block'==_0xcdc306['name'])return{'from':_0x161521['from'],'options':_0x4f62fd(),'validFor':_0x46a6e8};return{'from':_0x161521['from'],'options':tH,'validFor':_0x46a6e8};}if('AtKeyword'==_0x161521['name'])return{'from':_0x161521['from'],'options':_0x31dfc2,'validFor':_0x46a6e8};if(!_0x5a5bcf['explicit'])return null;let _0x3b646a=_0x161521['resolve'](_0x3469ff),_0x33dbab=_0x3b646a['childBefore'](_0x3469ff);return _0x33dbab&&':'==_0x33dbab['name']&&'PseudoClassSelector'==_0x3b646a['name']?{'from':_0x3469ff,'options':_0x2987cd,'validFor':_0x46a6e8}:_0x33dbab&&':'==_0x33dbab['name']&&'Declaration'==_0x3b646a['name']||'ArgList'==_0x3b646a['name']?{'from':_0x3469ff,'options':_0x55f37d,'validFor':_0x46a6e8}:'Block'==_0x3b646a['name']||'Styles'==_0x3b646a['name']?{'from':_0x3469ff,'options':_0x4f62fd(),'validFor':_0x46a6e8}:null;},_0x4c8fc7=_0x492900(_0x3c737f=>'VariableName'==_0x3c737f['name']),_0x4f6f62=_0x3e4f27['define']({'name':'css','parser':_0x2056b9['configure']({'props':[_0x265e6b['add']({'Declaration':_0x3967b6()}),_0x8620af['add']({'Block\x20KeyframeList':_0x110d7d})]}),'languageData':{'commentTokens':{'block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*\}$/,'wordChars':'-'}}),_0x157e12=[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],_0x2808d5=new _0x534d95({'start':!0x1,'shift':(_0x3bc4f7,_0x1cc3e9)=>0x5==_0x1cc3e9||0x6==_0x1cc3e9||0x140==_0x1cc3e9?_0x3bc4f7:0x141==_0x1cc3e9,'strict':!0x1}),_0x518602=new _0x2ed6fa((_0x311206,_0x102a7a)=>{let {next:_0x22f78a}=_0x311206;(0x7d==_0x22f78a||-0x1==_0x22f78a||_0x102a7a['context'])&&_0x311206['acceptToken'](0x13e);},{'contextual':!0x0,'fallback':!0x0}),_0x23fc5b=new _0x2ed6fa((_0x3824ef,_0x76f721)=>{let _0x291676,{next:_0x1aae7b}=_0x3824ef;_0x157e12['indexOf'](_0x1aae7b)>-0x1||(0x2f!=_0x1aae7b||0x2f!=(_0x291676=_0x3824ef['peek'](0x1))&&0x2a!=_0x291676)&&(0x7d==_0x1aae7b||0x3b==_0x1aae7b||-0x1==_0x1aae7b||_0x76f721['context']||_0x3824ef['acceptToken'](0x13c));},{'contextual':!0x0}),_0x1aa3bf=new _0x2ed6fa((_0xfb6cc1,_0x3be22b)=>{0x5b!=_0xfb6cc1['next']||_0x3be22b['context']||_0xfb6cc1['acceptToken'](0x13d);},{'contextual':!0x0}),_0x1dde79=new _0x2ed6fa((_0x4b0043,_0x5a5cc)=>{let {next:_0x26fc28}=_0x4b0043;if(0x2b==_0x26fc28||0x2d==_0x26fc28){if(_0x4b0043['advance'](),_0x26fc28==_0x4b0043['next']){_0x4b0043['advance']();let _0x32fc93=!_0x5a5cc['context']&&_0x5a5cc['canShift'](0x1);_0x4b0043['acceptToken'](_0x32fc93?0x1:0x2);}}else 0x3f==_0x26fc28&&0x2e==_0x4b0043['peek'](0x1)&&(_0x4b0043['advance'](),_0x4b0043['advance'](),(_0x4b0043['next']<0x30||_0x4b0043['next']>0x39)&&_0x4b0043['acceptToken'](0x3));},{'contextual':!0x0});function _0x302d87(_0x5ab3e0,_0x422472){return _0x5ab3e0>=0x41&&_0x5ab3e0<=0x5a||_0x5ab3e0>=0x61&&_0x5ab3e0<=0x7a||0x5f==_0x5ab3e0||_0x5ab3e0>=0xc0||!_0x422472&&_0x5ab3e0>=0x30&&_0x5ab3e0<=0x39;}const _0x1cad37=new _0x2ed6fa((_0x432d97,_0x262a27)=>{if(0x3c!=_0x432d97['next']||!_0x262a27['dialectEnabled'](0x0))return;if(_0x432d97['advance'](),0x2f==_0x432d97['next'])return;let _0x54f5e0=0x0;for(;_0x157e12['indexOf'](_0x432d97['next'])>-0x1;)_0x432d97['advance'](),_0x54f5e0++;if(_0x302d87(_0x432d97['next'],!0x0)){for(_0x432d97['advance'](),_0x54f5e0++;_0x302d87(_0x432d97['next'],!0x1);)_0x432d97['advance'](),_0x54f5e0++;for(;_0x157e12['indexOf'](_0x432d97['next'])>-0x1;)_0x432d97['advance'](),_0x54f5e0++;if(0x2c==_0x432d97['next'])return;for(let _0x27f738=0x0;;_0x27f738++){if(0x7==_0x27f738){if(!_0x302d87(_0x432d97['next'],!0x0))return;break;}if(_0x432d97['next']!='extends'['charCodeAt'](_0x27f738))break;_0x432d97['advance'](),_0x54f5e0++;}}_0x432d97['acceptToken'](0x4,-_0x54f5e0);}),_0x19cf6f=_0x2f1f50({'get\x20set\x20async\x20static':_0x554ddb['modifier'],'for\x20while\x20do\x20if\x20else\x20switch\x20try\x20catch\x20finally\x20return\x20throw\x20break\x20continue\x20default\x20case\x20defer':_0x554ddb['controlKeyword'],'in\x20of\x20await\x20yield\x20void\x20typeof\x20delete\x20instanceof\x20as\x20satisfies':_0x554ddb['operatorKeyword'],'let\x20var\x20const\x20using\x20function\x20class\x20extends':_0x554ddb['definitionKeyword'],'import\x20export\x20from':_0x554ddb['moduleKeyword'],'with\x20debugger\x20new':_0x554ddb['keyword'],'TemplateString':_0x554ddb['special'](_0x554ddb['string']),'super':_0x554ddb['atom'],'BooleanLiteral':_0x554ddb['bool'],'this':_0x554ddb['self'],'null':_0x554ddb['null'],'Star':_0x554ddb['modifier'],'VariableName':_0x554ddb['variableName'],'CallExpression/VariableName\x20TaggedTemplateExpression/VariableName':_0x554ddb['function'](_0x554ddb['variableName']),'VariableDefinition':_0x554ddb['definition'](_0x554ddb['variableName']),'Label':_0x554ddb['labelName'],'PropertyName':_0x554ddb['propertyName'],'PrivatePropertyName':_0x554ddb['special'](_0x554ddb['propertyName']),'CallExpression/MemberExpression/PropertyName':_0x554ddb['function'](_0x554ddb['propertyName']),'FunctionDeclaration/VariableDefinition':_0x554ddb['function'](_0x554ddb['definition'](_0x554ddb['variableName'])),'ClassDeclaration/VariableDefinition':_0x554ddb['definition'](_0x554ddb['className']),'NewExpression/VariableName':_0x554ddb['className'],'PropertyDefinition':_0x554ddb['definition'](_0x554ddb['propertyName']),'PrivatePropertyDefinition':_0x554ddb['definition'](_0x554ddb['special'](_0x554ddb['propertyName'])),'UpdateOp':_0x554ddb['updateOperator'],'LineComment\x20Hashbang':_0x554ddb['lineComment'],'BlockComment':_0x554ddb['blockComment'],'Number':_0x554ddb['number'],'String':_0x554ddb['string'],'Escape':_0x554ddb['escape'],'ArithOp':_0x554ddb['arithmeticOperator'],'LogicOp':_0x554ddb['logicOperator'],'BitOp':_0x554ddb['bitwiseOperator'],'CompareOp':_0x554ddb['compareOperator'],'RegExp':_0x554ddb['regexp'],'Equals':_0x554ddb['definitionOperator'],'Arrow':_0x554ddb['function'](_0x554ddb['punctuation']),':\x20Spread':_0x554ddb['punctuation'],'(\x20)':_0x554ddb['paren'],'[\x20]':_0x554ddb['squareBracket'],'{\x20}':_0x554ddb['brace'],'InterpolationStart\x20InterpolationEnd':_0x554ddb['special'](_0x554ddb['brace']),'.':_0x554ddb['derefOperator'],',\x20;':_0x554ddb['separator'],'@':_0x554ddb['meta'],'TypeName':_0x554ddb['typeName'],'TypeDefinition':_0x554ddb['definition'](_0x554ddb['typeName']),'type\x20enum\x20interface\x20implements\x20namespace\x20module\x20declare':_0x554ddb['definitionKeyword'],'abstract\x20global\x20Privacy\x20readonly\x20override':_0x554ddb['modifier'],'is\x20keyof\x20unique\x20infer\x20asserts':_0x554ddb['operatorKeyword'],'JSXAttributeValue':_0x554ddb['attributeValue'],'JSXText':_0x554ddb['content'],'JSXStartTag\x20JSXStartCloseTag\x20JSXSelfCloseEndTag\x20JSXEndTag':_0x554ddb['angleBracket'],'JSXIdentifier\x20JSXNameSpacedName':_0x554ddb['tagName'],'JSXAttribute/JSXIdentifier\x20JSXAttribute/JSXNameSpacedName':_0x554ddb['attributeName'],'JSXBuiltin/JSXIdentifier':_0x554ddb['standard'](_0x554ddb['tagName'])}),_0x1268b6={'__proto__':null,'export':0x14,'as':0x19,'from':0x21,'default':0x24,'async':0x29,'function':0x2a,'in':0x34,'out':0x37,'const':0x38,'extends':0x3c,'this':0x40,'true':0x48,'false':0x48,'null':0x54,'void':0x58,'typeof':0x5c,'super':0x6c,'new':0x8e,'delete':0x9a,'yield':0xa3,'await':0xa7,'class':0xac,'public':0xeb,'private':0xeb,'protected':0xeb,'readonly':0xed,'instanceof':0x100,'satisfies':0x103,'import':0x124,'keyof':0x15d,'unique':0x161,'infer':0x167,'asserts':0x18b,'is':0x18d,'abstract':0x1a1,'implements':0x1a3,'type':0x1a5,'let':0x1a8,'var':0x1aa,'using':0x1ad,'interface':0x1b3,'enum':0x1b7,'namespace':0x1bd,'module':0x1bf,'declare':0x1c3,'global':0x1c7,'defer':0x1d7,'for':0x1dc,'of':0x1e5,'while':0x1e8,'with':0x1ec,'do':0x1f0,'if':0x1f4,'else':0x1f6,'switch':0x1fa,'case':0x200,'try':0x206,'catch':0x20a,'finally':0x20e,'return':0x212,'throw':0x216,'break':0x21a,'continue':0x21e,'debugger':0x222},_0x489deb={'__proto__':null,'async':0x81,'get':0x83,'set':0x85,'declare':0xc3,'public':0xc5,'private':0xc5,'protected':0xc5,'static':0xc7,'abstract':0xc9,'override':0xcb,'readonly':0xd1,'accessor':0xd3,'new':0x191},_0x54180b={'__proto__':null,'<':0xc1},_0x3cc000=_0x35e6ba['deserialize']({'version':0xe,'states':'$F|Q%TQlOOO%[QlOOO\x27_QpOOP(lO`OOO*zQ!0MxO\x27#CiO+RO#tO\x27#CjO+aO&jO\x27#CjO+oO#@ItO\x27#DaO.QQlO\x27#DgO.bQlO\x27#DrO%[QlO\x27#DzO0fQlO\x27#ESOOQ!0Lf\x27#E[\x27#E[O1PQ`O\x27#EXOOQO\x27#Ep\x27#EpOOQO\x27#Il\x27#IlO1XQ`O\x27#GsO1dQ`O\x27#EoO1iQ`O\x27#EoO3hQ!0MxO\x27#JrO6[Q!0MxO\x27#JsO6uQ`O\x27#F]O6zQ,UO\x27#FtOOQ!0Lf\x27#Ff\x27#FfO7VO7dO\x27#FfO9XQMhO\x27#F|O9`Q`O\x27#F{OOQ!0Lf\x27#Js\x27#JsOOQ!0Lb\x27#Jr\x27#JrO9eQ`O\x27#GwOOQ[\x27#K_\x27#K_O9pQ`O\x27#IYO9uQ!0LrO\x27#IZOOQ[\x27#J`\x27#J`OOQ[\x27#I_\x27#I_Q`QlOOQ`QlOOO9}Q!L^O\x27#DvO:UQlO\x27#EOO:]QlO\x27#EQO9kQ`O\x27#GsO:dQMhO\x27#CoO:rQ`O\x27#EnO:}Q`O\x27#EyO;hQMhO\x27#FeO;xQ`O\x27#GsOOQO\x27#K`\x27#K`O;}Q`O\x27#K`O<]Q`O\x27#G{O<]Q`O\x27#G|O<]Q`O\x27#HOO9kQ`O\x27#HRO=SQ`O\x27#HUO>kQ`O\x27#CeO>{Q`O\x27#HcO?TQ`O\x27#HiO?TQ`O\x27#HkO`QlO\x27#HmO?TQ`O\x27#HoO?TQ`O\x27#HrO?YQ`O\x27#HxO?_Q!0LsO\x27#IOO%[QlO\x27#IQO?jQ!0LsO\x27#ISO?uQ!0LsO\x27#IUO9uQ!0LrO\x27#IWO@QQ!0MxO\x27#CiOASQpO\x27#DlQOQ`OOO%[QlO\x27#EQOAjQ`O\x27#ETO:dQMhO\x27#EnOAuQ`O\x27#EnOBQQ!bO\x27#FeOOQ[\x27#Cg\x27#CgOOQ!0Lb\x27#Dq\x27#DqOOQ!0Lb\x27#Jv\x27#JvO%[QlO\x27#JvOOQO\x27#Jy\x27#JyOOQO\x27#Ih\x27#IhOCQQpO\x27#EgOOQ!0Lb\x27#Ef\x27#EfOOQ!0Lb\x27#J}\x27#J}OC|Q!0MSO\x27#EgODWQpO\x27#EWOOQO\x27#Jx\x27#JxODlQpO\x27#JyOEyQpO\x27#EWODWQpO\x27#EgPFWO&2DjO\x27#CbPOOO)CD})CD}OOOO\x27#I`\x27#I`OFcO#tO,59UOOQ!0Lh,59U,59UOOOO\x27#Ia\x27#IaOFqO&jO,59UOGPQ!L^O\x27#DcOOOO\x27#Ic\x27#IcOGWO#@ItO,59{OOQ!0Lf,59{,59{OGfQlO\x27#IdOGyQ`O\x27#JtOIxQ!fO\x27#JtO+}QlO\x27#JtOJPQ`O,5:ROJgQ`O\x27#EpOJtQ`O\x27#KTOKPQ`O\x27#KSOKPQ`O\x27#KSOKXQ`O,5;^OK^Q`O\x27#KROOQ!0Ln,5:^,5:^OKeQlO,5:^OMcQ!0MxO,5:fONSQ`O,5:nONmQ!0LrO\x27#KQONtQ`O\x27#KPO9eQ`O\x27#KPO!\x20YQ`O\x27#KPO!\x20bQ`O,5;]O!\x20gQ`O\x27#KPO!#lQ!fO\x27#JsOOQ!0Lh\x27#Ci\x27#CiO%[QlO\x27#ESO!$[Q!fO,5:sOOQS\x27#Jz\x27#JzOOQO-E<j-E<jO9kQ`O,5=_O!$rQ`O,5=_O!$wQlO,5;ZO!&zQMhO\x27#EkO!(eQ`O,5;ZO!(jQlO\x27#DyO!(tQpO,5;dO!(|QpO,5;dO%[QlO,5;dOOQ[\x27#FT\x27#FTOOQ[\x27#FV\x27#FVO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eO%[QlO,5;eOOQ[\x27#FZ\x27#FZO!)[QlO,5;tOOQ!0Lf,5;y,5;yOOQ!0Lf,5;z,5;zOOQ!0Lf,5;|,5;|O%[QlO\x27#IpO!+_Q!0LrO,5<iO%[QlO,5;eO!&zQMhO,5;eO!+|QMhO,5;eO!-nQMhO\x27#E^O%[QlO,5;wOOQ!0Lf,5;{,5;{O!-uQ,UO\x27#FjO!.rQ,UO\x27#KXO!.^Q,UO\x27#KXO!.yQ,UO\x27#KXOOQO\x27#KX\x27#KXO!/_Q,UO,5<SOOOW,5<`,5<`O!/pQlO\x27#FvOOOW\x27#Io\x27#IoO7VO7dO,5<QO!/wQ,UO\x27#FxOOQ!0Lf,5<Q,5<QO!0hQ$IUO\x27#CyOOQ!0Lh\x27#C}\x27#C}O!0{O#@ItO\x27#DRO!1iQMjO,5<eO!1pQ`O,5<hO!3YQ(CWO\x27#GXO!3jQ`O\x27#GYO!3oQ`O\x27#GYO!5_Q(CWO\x27#G^O!6dQpO\x27#GbOOQO\x27#Gn\x27#GnO!,TQMhO\x27#GmOOQO\x27#Gp\x27#GpO!,TQMhO\x27#GoO!7VQ$IUO\x27#JlOOQ!0Lh\x27#Jl\x27#JlO!7aQ`O\x27#JkO!7oQ`O\x27#JjO!7wQ`O\x27#CuOOQ!0Lh\x27#C{\x27#C{O!8YQ`O\x27#C}OOQ!0Lh\x27#DV\x27#DVOOQ!0Lh\x27#DX\x27#DXO!8_Q`O,5<eO1SQ`O\x27#DZO!,TQMhO\x27#GPO!,TQMhO\x27#GRO!8gQ`O\x27#GTO!8lQ`O\x27#GUO!3oQ`O\x27#G[O!,TQMhO\x27#GaO<]Q`O\x27#JkO!8qQ`O\x27#EqO!9`Q`O,5<gOOQ!0Lb\x27#Cr\x27#CrO!9hQ`O\x27#ErO!:bQpO\x27#EsOOQ!0Lb\x27#KR\x27#KRO!:iQ!0LrO\x27#KaO9uQ!0LrO,5=cO`QlO,5>tOOQ[\x27#Jh\x27#JhOOQ[,5>u,5>uOOQ[-E<]-E<]O!<hQ!0MxO,5:bO!:]QpO,5:`O!?RQ!0MxO,5:jO%[QlO,5:jO!AiQ!0MxO,5:lOOQO,5@z,5@zO!BYQMhO,5=_O!BhQ!0LrO\x27#JiO9`Q`O\x27#JiO!ByQ!0LrO,59ZO!CUQpO,59ZO!C^QMhO,59ZO:dQMhO,59ZO!CiQ`O,5;ZO!CqQ`O\x27#HbO!DVQ`O\x27#KdO%[QlO,5;}O!:]QpO,5<PO!D_Q`O,5=zO!DdQ`O,5=zO!DiQ`O,5=zO!DwQ`O,5=zO9uQ!0LrO,5=zO<]Q`O,5=jOOQO\x27#Cy\x27#CyO!EOQpO,5=gO!EWQMhO,5=hO!EcQ`O,5=jO!EhQ!bO,5=mO!EpQ`O\x27#K`O?YQ`O\x27#HWO9kQ`O\x27#HYO!EuQ`O\x27#HYO:dQMhO\x27#H[O!EzQ`O\x27#H[OOQ[,5=p,5=pO!FPQ`O\x27#H]O!FbQ`O\x27#CoO!FgQ`O,59PO!FqQ`O,59PO!HvQlO,59POOQ[,59P,59PO!IWQ!0LrO,59PO%[QlO,59PO!KcQlO\x27#HeOOQ[\x27#Hf\x27#HfOOQ[\x27#Hg\x27#HgO`QlO,5=}O!KyQ`O,5=}O`QlO,5>TO`QlO,5>VO!LOQ`O,5>XO`QlO,5>ZO!LTQ`O,5>^O!LYQlO,5>dOOQ[,5>j,5>jO%[QlO,5>jO9uQ!0LrO,5>lOOQ[,5>n,5>nO#!dQ`O,5>nOOQ[,5>p,5>pO#!dQ`O,5>pOOQ[,5>r,5>rO##QQpO\x27#D_O%[QlO\x27#JvO##sQpO\x27#JvO##}QpO\x27#DmO#$`QpO\x27#DmO#&qQlO\x27#DmO#&xQ`O\x27#JuO#\x27QQ`O,5:WO#\x27VQ`O\x27#EtO#\x27eQ`O\x27#KUO#\x27mQ`O,5;_O#\x27rQpO\x27#DmO#(PQpO\x27#EVOOQ!0Lf,5:o,5:oO%[QlO,5:oO#(WQ`O,5:oO?YQ`O,5;YO!CUQpO,5;YO!C^QMhO,5;YO:dQMhO,5;YO#(`Q`O,5@bO#(eQ07dO,5:sOOQO-E<f-E<fO#)kQ!0MSO,5;RODWQpO,5:rO#)uQpO,5:rODWQpO,5;RO!ByQ!0LrO,5:rOOQ!0Lb\x27#Ej\x27#EjOOQO,5;R,5;RO%[QlO,5;RO#*SQ!0LrO,5;RO#*_Q!0LrO,5;RO!CUQpO,5:rOOQO,5;X,5;XO#*mQ!0LrO,5;RPOOO\x27#I^\x27#I^P#+RO&2DjO,58|POOO,58|,58|OOOO-E<^-E<^OOQ!0Lh1G.p1G.pOOOO-E<_-E<_OOOO,59},59}O#+^Q!bO,59}OOOO-E<a-E<aOOQ!0Lf1G/g1G/gO#+cQ!fO,5?OO+}QlO,5?OOOQO,5?U,5?UO#+mQlO\x27#IdOOQO-E<b-E<bO#+zQ`O,5@`O#,SQ!fO,5@`O#,ZQ`O,5@nOOQ!0Lf1G/m1G/mO%[QlO,5@oO#,cQ`O\x27#IjOOQO-E<h-E<hO#,ZQ`O,5@nOOQ!0Lb1G0x1G0xOOQ!0Ln1G/x1G/xOOQ!0Ln1G0Y1G0YO%[QlO,5@lO#,wQ!0LrO,5@lO#-YQ!0LrO,5@lO#-aQ`O,5@kO9eQ`O,5@kO#-iQ`O,5@kO#-wQ`O\x27#ImO#-aQ`O,5@kOOQ!0Lb1G0w1G0wO!(tQpO,5:uO!)PQpO,5:uOOQS,5:w,5:wO#.iQdO,5:wO#.qQMhO1G2yO9kQ`O1G2yOOQ!0Lf1G0u1G0uO#/PQ!0MxO1G0uO#0UQ!0MvO,5;VOOQ!0Lh\x27#GW\x27#GWO#0rQ!0MzO\x27#JlO!$wQlO1G0uO#2}Q!fO\x27#JwO%[QlO\x27#JwO#3XQ`O,5:eOOQ!0Lh\x27#D_\x27#D_OOQ!0Lf1G1O1G1OO%[QlO1G1OOOQ!0Lf1G1f1G1fO#3^Q`O1G1OO#5rQ!0MxO1G1PO#5yQ!0MxO1G1PO#8aQ!0MxO1G1PO#8hQ!0MxO1G1PO#;OQ!0MxO1G1PO#=fQ!0MxO1G1PO#=mQ!0MxO1G1PO#=tQ!0MxO1G1PO#@[Q!0MxO1G1PO#@cQ!0MxO1G1PO#BpQ?MtO\x27#CiO#DkQ?MtO1G1`O#DrQ?MtO\x27#JsO#EVQ!0MxO,5?[OOQ!0Lb-E<n-E<nO#GdQ!0MxO1G1PO#HaQ!0MzO1G1POOQ!0Lf1G1P1G1PO#IdQMjO\x27#J|O#InQ`O,5:xO#IsQ!0MxO1G1cO#JgQ,UO,5<WO#JoQ,UO,5<XO#JwQ,UO\x27#FoO#K`Q`O\x27#FnOOQO\x27#KY\x27#KYOOQO\x27#In\x27#InO#KeQ,UO1G1nOOQ!0Lf1G1n1G1nOOOW1G1y1G1yO#KvQ?MtO\x27#JrO#LQQ`O,5<bO!)[QlO,5<bOOOW-E<m-E<mOOQ!0Lf1G1l1G1lO#LVQpO\x27#KXOOQ!0Lf,5<d,5<dO#L_QpO,5<dO#LdQMhO\x27#DTOOOO\x27#Ib\x27#IbO#LkO#@ItO,59mOOQ!0Lh,59m,59mO%[QlO1G2PO!8lQ`O\x27#IrO#LvQ`O,5<zOOQ!0Lh,5<w,5<wO!,TQMhO\x27#IuO#MdQMjO,5=XO!,TQMhO\x27#IwO#NVQMjO,5=ZO!&zQMhO,5=]OOQO1G2S1G2SO#NaQ!dO\x27#CrO#NtQ(CWO\x27#ErO$\x20|QpO\x27#GbO$!dQ!dO,5<sO$!kQ`O\x27#K[O9eQ`O\x27#K[O$!yQ`O,5<uO$#aQ!dO\x27#C{O!,TQMhO,5<tO$#kQ`O\x27#GZO$$PQ`O,5<tO$$UQ!dO\x27#GWO$$cQ!dO\x27#K]O$$mQ`O\x27#K]O!&zQMhO\x27#K]O$$rQ`O,5<xO$$wQlO\x27#JvO$%RQpO\x27#GcO#$`QpO\x27#GcO$%dQ`O\x27#GgO!3oQ`O\x27#GkO$%iQ!0LrO\x27#ItO$%tQpO,5<|OOQ!0Lp,5<|,5<|O$%{QpO\x27#GcO$&YQpO\x27#GdO$&kQpO\x27#GdO$&pQMjO,5=XO$\x27QQMjO,5=ZOOQ!0Lh,5=^,5=^O!,TQMhO,5@VO!,TQMhO,5@VO$\x27bQ`O\x27#IyO$\x27vQ`O,5@UO$(OQ`O,59aOOQ!0Lh,59i,59iO$(TQ`O,5@VO$)TQ$IYO,59uOOQ!0Lh\x27#Jp\x27#JpO$)vQMjO,5<kO$*iQMjO,5<mO@zQ`O,5<oOOQ!0Lh,5<p,5<pO$*sQ`O,5<vO$*xQMjO,5<{O$+YQ`O\x27#KPO!$wQlO1G2RO$+_Q`O1G2RO9eQ`O\x27#KSO9eQ`O\x27#EtO%[QlO\x27#EtO9eQ`O\x27#I{O$+dQ!0LrO,5@{OOQ[1G2}1G2}OOQ[1G4`1G4`OOQ!0Lf1G/|1G/|OOQ!0Lf1G/z1G/zO$-fQ!0MxO1G0UOOQ[1G2y1G2yO!&zQMhO1G2yO%[QlO1G2yO#.tQ`O1G2yO$/jQMhO\x27#EkOOQ!0Lb,5@T,5@TO$/wQ!0LrO,5@TOOQ[1G.u1G.uO!ByQ!0LrO1G.uO!CUQpO1G.uO!C^QMhO1G.uO$0YQ`O1G0uO$0_Q`O\x27#CiO$0jQ`O\x27#KeO$0rQ`O,5=|O$0wQ`O\x27#KeO$0|Q`O\x27#KeO$1[Q`O\x27#JRO$1jQ`O,5AOO$1rQ!fO1G1iOOQ!0Lf1G1k1G1kO9kQ`O1G3fO@zQ`O1G3fO$1yQ`O1G3fO$2OQ`O1G3fO!DiQ`O1G3fO9uQ!0LrO1G3fOOQ[1G3f1G3fO!EcQ`O1G3UO!&zQMhO1G3RO$2TQ`O1G3ROOQ[1G3S1G3SO!&zQMhO1G3SO$2YQ`O1G3SO$2bQpO\x27#HQOOQ[1G3U1G3UO!6_QpO\x27#I}O!EhQ!bO1G3XOOQ[1G3X1G3XOOQ[,5=r,5=rO$2jQMhO,5=tO9kQ`O,5=tO$%dQ`O,5=vO9`Q`O,5=vO!CUQpO,5=vO!C^QMhO,5=vO:dQMhO,5=vO$2xQ`O\x27#KcO$3TQ`O,5=wOOQ[1G.k1G.kO$3YQ!0LrO1G.kO@zQ`O1G.kO$3eQ`O1G.kO9uQ!0LrO1G.kO$5mQ!fO,5AQO$5zQ`O,5AQO9eQ`O,5AQO$6VQlO,5>PO$6^Q`O,5>POOQ[1G3i1G3iO`QlO1G3iOOQ[1G3o1G3oOOQ[1G3q1G3qO?TQ`O1G3sO$6cQlO1G3uO$:gQlO\x27#HtOOQ[1G3x1G3xO$:tQ`O\x27#HzO?YQ`O\x27#H|OOQ[1G4O1G4OO$:|QlO1G4OO9uQ!0LrO1G4UOOQ[1G4W1G4WOOQ!0Lb\x27#G_\x27#G_O9uQ!0LrO1G4YO9uQ!0LrO1G4[O$?TQ`O,5@bO!)[QlO,5;`O9eQ`O,5;`O?YQ`O,5:XO!)[QlO,5:XO!CUQpO,5:XO$?YQ?MtO,5:XOOQO,5;`,5;`O$?dQpO\x27#IeO$?zQ`O,5@aOOQ!0Lf1G/r1G/rO$@SQpO\x27#IkO$@^Q`O,5@pOOQ!0Lb1G0y1G0yO#$`QpO,5:XOOQO\x27#Ig\x27#IgO$@fQpO,5:qOOQ!0Ln,5:q,5:qO#(ZQ`O1G0ZOOQ!0Lf1G0Z1G0ZO%[QlO1G0ZOOQ!0Lf1G0t1G0tO?YQ`O1G0tO!CUQpO1G0tO!C^QMhO1G0tOOQ!0Lb1G5|1G5|O!ByQ!0LrO1G0^OOQO1G0m1G0mO%[QlO1G0mO$@mQ!0LrO1G0mO$@xQ!0LrO1G0mO!CUQpO1G0^ODWQpO1G0^O$AWQ!0LrO1G0mOOQO1G0^1G0^O$AlQ!0MxO1G0mPOOO-E<[-E<[POOO1G.h1G.hOOOO1G/i1G/iO$AvQ!bO,5<iO$BOQ!fO1G4jOOQO1G4p1G4pO%[QlO,5?OO$BYQ`O1G5zO$BbQ`O1G6YO$BjQ!fO1G6ZO9eQ`O,5?UO$BtQ!0MxO1G6WO%[QlO1G6WO$CUQ!0LrO1G6WO$CgQ`O1G6VO$CgQ`O1G6VO9eQ`O1G6VO$CoQ`O,5?XO9eQ`O,5?XOOQO,5?X,5?XO$DTQ`O,5?XO$+YQ`O,5?XOOQO-E<k-E<kOOQS1G0a1G0aOOQS1G0c1G0cO#.lQ`O1G0cOOQ[7+(e7+(eO!&zQMhO7+(eO%[QlO7+(eO$DcQ`O7+(eO$DnQMhO7+(eO$D|Q!0MzO,5=XO$GXQ!0MzO,5=ZO$IdQ!0MzO,5=XO$KuQ!0MzO,5=ZO$NWQ!0MzO,59uO%!]Q!0MzO,5<kO%$hQ!0MzO,5<mO%&sQ!0MzO,5<{OOQ!0Lf7+&a7+&aO%)UQ!0MxO7+&aO%)xQlO\x27#IfO%*VQ`O,5@cO%*_Q!fO,5@cOOQ!0Lf1G0P1G0PO%*iQ`O7+&jOOQ!0Lf7+&j7+&jO%*nQ?MtO,5:fO%[QlO7+&zO%*xQ?MtO,5:bO%+VQ?MtO,5:jO%+aQ?MtO,5:lO%+kQMhO\x27#IiO%+uQ`O,5@hOOQ!0Lh1G0d1G0dOOQO1G1r1G1rOOQO1G1s1G1sO%+}Q!jO,5<ZO!)[QlO,5<YOOQO-E<l-E<lOOQ!0Lf7+\x27Y7+\x27YOOOW7+\x27e7+\x27eOOOW1G1|1G1|O%,YQ`O1G1|OOQ!0Lf1G2O1G2OOOOO,59o,59oO%,_Q!dO,59oOOOO-E<`-E<`OOQ!0Lh1G/X1G/XO%,fQ!0MxO7+\x27kOOQ!0Lh,5?^,5?^O%-YQMhO1G2fP%-aQ`O\x27#IrPOQ!0Lh-E<p-E<pO%-}QMjO,5?aOOQ!0Lh-E<s-E<sO%.pQMjO,5?cOOQ!0Lh-E<u-E<uO%.zQ!dO1G2wO%/RQ!dO\x27#CrO%/iQMhO\x27#KSO$$wQlO\x27#JvOOQ!0Lh1G2_1G2_O%/sQ`O\x27#IqO%0[Q`O,5@vO%0[Q`O,5@vO%0dQ`O,5@vO%0oQ`O,5@vOOQO1G2a1G2aO%0}QMjO1G2`O$+YQ`O\x27#K[O!,TQMhO1G2`O%1_Q(CWO\x27#IsO%1lQ`O,5@wO!&zQMhO,5@wO%1tQ!dO,5@wOOQ!0Lh1G2d1G2dO%4UQ!fO\x27#CiO%4`Q`O,5=POOQ!0Lb,5<},5<}O%4hQpO,5<}OOQ!0Lb,5=O,5=OOCwQ`O,5<}O%4sQpO,5<}OOQ!0Lb,5=R,5=RO$+YQ`O,5=VOOQO,5?`,5?`OOQO-E<r-E<rOOQ!0Lp1G2h1G2hO#$`QpO,5<}O$$wQlO,5=PO%5RQ`O,5=OO%5^QpO,5=OO!,TQMhO\x27#IuO%6WQMjO1G2sO!,TQMhO\x27#IwO%6yQMjO1G2uO%7TQMjO1G5qO%7_QMjO1G5qOOQO,5?e,5?eOOQO-E<w-E<wOOQO1G.{1G.{O!,TQMhO1G5qO!,TQMhO1G5qO!:]QpO,59wO%[QlO,59wOOQ!0Lh,5<j,5<jO%7lQ`O1G2ZO!,TQMhO1G2bO%7qQ!0MxO7+\x27mOOQ!0Lf7+\x27m7+\x27mO!$wQlO7+\x27mO%8eQ`O,5;`OOQ!0Lb,5?g,5?gOOQ!0Lb-E<y-E<yO%8jQ!dO\x27#K^O#(ZQ`O7+(eO4UQ!fO7+(eO$DfQ`O7+(eO%8tQ!0MvO\x27#CiO%9XQ!0MvO,5=SO%9lQ`O,5=SO%9tQ`O,5=SOOQ!0Lb1G5o1G5oOOQ[7+$a7+$aO!ByQ!0LrO7+$aO!CUQpO7+$aO!$wQlO7+&aO%9yQ`O\x27#JQO%:bQ`O,5APOOQO1G3h1G3hO9kQ`O,5APO%:bQ`O,5APO%:jQ`O,5APOOQO,5?m,5?mOOQO-E=P-E=POOQ!0Lf7+\x27T7+\x27TO%:oQ`O7+)QO9uQ!0LrO7+)QO9kQ`O7+)QO@zQ`O7+)QO%:tQ`O7+)QOOQ[7+)Q7+)QOOQ[7+(p7+(pO%:yQ!0MvO7+(mO!&zQMhO7+(mO!E^Q`O7+(nOOQ[7+(n7+(nO!&zQMhO7+(nO%;TQ`O\x27#KbO%;`Q`O,5=lOOQO,5?i,5?iOOQO-E<{-E<{OOQ[7+(s7+(sO%<rQpO\x27#HZOOQ[1G3`1G3`O!&zQMhO1G3`O%[QlO1G3`O%<yQ`O1G3`O%=UQMhO1G3`O9uQ!0LrO1G3bO$%dQ`O1G3bO9`Q`O1G3bO!CUQpO1G3bO!C^QMhO1G3bO%=dQ`O\x27#JPO%=xQ`O,5@}O%>QQpO,5@}OOQ!0Lb1G3c1G3cOOQ[7+$V7+$VO@zQ`O7+$VO9uQ!0LrO7+$VO%>]Q`O7+$VO%[QlO1G6lO%[QlO1G6mO%>bQ!0LrO1G6lO%>lQlO1G3kO%>sQ`O1G3kO%>xQlO1G3kOOQ[7+)T7+)TO9uQ!0LrO7+)_O`QlO7+)aOOQ[\x27#Kh\x27#KhOOQ[\x27#JS\x27#JSO%?PQlO,5>`OOQ[,5>`,5>`O%[QlO\x27#HuO%?^Q`O\x27#HwOOQ[,5>f,5>fO9eQ`O,5>fOOQ[,5>h,5>hOOQ[7+)j7+)jOOQ[7+)p7+)pOOQ[7+)t7+)tOOQ[7+)v7+)vO%?cQpO1G5|O%?}Q?MtO1G0zO%@XQ`O1G0zOOQO1G/s1G/sO%@dQ?MtO1G/sO?YQ`O1G/sO!)[QlO\x27#DmOOQO,5?P,5?POOQO-E<c-E<cOOQO,5?V,5?VOOQO-E<i-E<iO!CUQpO1G/sOOQO-E<e-E<eOOQ!0Ln1G0]1G0]OOQ!0Lf7+%u7+%uO#(ZQ`O7+%uOOQ!0Lf7+&`7+&`O?YQ`O7+&`O!CUQpO7+&`OOQO7+%x7+%xO$AlQ!0MxO7+&XOOQO7+&X7+&XO%[QlO7+&XO%@nQ!0LrO7+&XO!ByQ!0LrO7+%xO!CUQpO7+%xO%@yQ!0LrO7+&XO%AXQ!0MxO7++rO%[QlO7++rO%AiQ`O7++qO%AiQ`O7++qOOQO1G4s1G4sO9eQ`O1G4sO%AqQ`O1G4sOOQS7+%}7+%}O#(ZQ`O<<LPO4UQ!fO<<LPO%BPQ`O<<LPOOQ[<<LP<<LPO!&zQMhO<<LPO%[QlO<<LPO%BXQ`O<<LPO%BdQ!0MzO,5?aO%DoQ!0MzO,5?cO%FzQ!0MzO1G2`O%I]Q!0MzO1G2sO%KhQ!0MzO1G2uO%MsQ!fO,5?QO%[QlO,5?QOOQO-E<d-E<dO%M}Q`O1G5}OOQ!0Lf<<JU<<JUO%NVQ?MtO1G0uO&!^Q?MtO1G1PO&!eQ?MtO1G1PO&$fQ?MtO1G1PO&$mQ?MtO1G1PO&&nQ?MtO1G1PO&(oQ?MtO1G1PO&(vQ?MtO1G1PO&(}Q?MtO1G1PO&+OQ?MtO1G1PO&+VQ?MtO1G1PO&+^Q!0MxO<<JfO&-UQ?MtO1G1PO&.RQ?MvO1G1PO&/UQ?MvO\x27#JlO&1[Q?MtO1G1cO&1iQ?MtO1G0UO&1sQMjO,5?TOOQO-E<g-E<gO!)[QlO\x27#FqOOQO\x27#KZ\x27#KZOOQO1G1u1G1uO&1}Q`O1G1tO&2SQ?MtO,5?[OOOW7+\x27h7+\x27hOOOO1G/Z1G/ZO&2^Q!dO1G4xOOQ!0Lh7+(Q7+(QP!&zQMhO,5?^O!,TQMhO7+(cO&2eQ`O,5?]O9eQ`O,5?]O$+YQ`O,5?]OOQO-E<o-E<oO&2sQ`O1G6bO&2sQ`O1G6bO&2{Q`O1G6bO&3WQMjO7+\x27zO&3hQ!dO,5?_O&3rQ`O,5?_O!&zQMhO,5?_OOQO-E<q-E<qO&3wQ!dO1G6cO&4RQ`O1G6cO&4ZQ`O1G2kO!&zQMhO1G2kOOQ!0Lb1G2i1G2iOOQ!0Lb1G2j1G2jO%4hQpO1G2iO!CUQpO1G2iOCwQ`O1G2iOOQ!0Lb1G2q1G2qO&4`QpO1G2iO&4nQ`O1G2kO$+YQ`O1G2jOCwQ`O1G2jO$$wQlO1G2kO&4vQ`O1G2jO&5jQMjO,5?aOOQ!0Lh-E<t-E<tO&6]QMjO,5?cOOQ!0Lh-E<v-E<vO!,TQMhO7++]O&6gQMjO7++]O&6qQMjO7++]OOQ!0Lh1G/c1G/cO&7OQ`O1G/cOOQ!0Lh7+\x27u7+\x27uO&7TQMjO7+\x27|O&7eQ!0MxO<<KXOOQ!0Lf<<KX<<KXO&8XQ`O1G0zO!&zQMhO\x27#IzO&8^Q`O,5@xO&:`Q!fO<<LPO!&zQMhO1G2nO&:gQ!0LrO1G2nOOQ[<<G{<<G{O!ByQ!0LrO<<G{O&:xQ!0MxO<<I{OOQ!0Lf<<I{<<I{OOQO,5?l,5?lO&;lQ`O,5?lO&;qQ`O,5?lOOQO-E=O-E=OO&<PQ`O1G6kO&<PQ`O1G6kO9kQ`O1G6kO@zQ`O<<LlOOQ[<<Ll<<LlO&<XQ`O<<LlO9uQ!0LrO<<LlO9kQ`O<<LlOOQ[<<LX<<LXO%:yQ!0MvO<<LXOOQ[<<LY<<LYO!E^Q`O<<LYO&<^QpO\x27#I|O&<iQ`O,5@|O!)[QlO,5@|OOQ[1G3W1G3WOOQO\x27#JO\x27#JOO9uQ!0LrO\x27#JOO&<qQpO,5=uOOQ[,5=u,5=uO&<xQpO\x27#EgO&=PQpO\x27#GeO&=UQ`O7+(zO&=ZQ`O7+(zOOQ[7+(z7+(zO!&zQMhO7+(zO%[QlO7+(zO&=cQ`O7+(zOOQ[7+(|7+(|O9uQ!0LrO7+(|O$%dQ`O7+(|O9`Q`O7+(|O!CUQpO7+(|O&=nQ`O,5?kOOQO-E<}-E<}OOQO\x27#H^\x27#H^O&=yQ`O1G6iO9uQ!0LrO<<GqOOQ[<<Gq<<GqO@zQ`O<<GqO&>RQ`O7+,WO&>WQ`O7+,XO%[QlO7+,WO%[QlO7+,XOOQ[7+)V7+)VO&>]Q`O7+)VO&>bQlO7+)VO&>iQ`O7+)VOOQ[<<Ly<<LyOOQ[<<L{<<L{OOQ[-E=Q-E=QOOQ[1G3z1G3zO&>nQ`O,5>aOOQ[,5>c,5>cO&>sQ`O1G4QO9eQ`O7+&fO!)[QlO7+&fOOQO7+%_7+%_O&>xQ?MtO1G6ZO?YQ`O7+%_OOQ!0Lf<<Ia<<IaOOQ!0Lf<<Iz<<IzO?YQ`O<<IzOOQO<<Is<<IsO$AlQ!0MxO<<IsO%[QlO<<IsOOQO<<Id<<IdO!ByQ!0LrO<<IdO&?SQ!0LrO<<IsO&?_Q!0MxO<=\x20^O&?oQ`O<=\x20]OOQO7+*_7+*_O9eQ`O7+*_OOQ[ANAkANAkO&?wQ!fOANAkO!&zQMhOANAkO#(ZQ`OANAkO4UQ!fOANAkO&@OQ`OANAkO%[QlOANAkO&@WQ!0MzO7+\x27zO&BiQ!0MzO,5?aO&DtQ!0MzO,5?cO&GPQ!0MzO7+\x27|O&IbQ!fO1G4lO&IlQ?MtO7+&aO&KpQ?MvO,5=XO&MwQ?MvO,5=ZO&NXQ?MvO,5=XO&NiQ?MvO,5=ZO&NyQ?MvO,59uO\x27#PQ?MvO,5<kO\x27%SQ?MvO,5<mO\x27\x27hQ?MvO,5<{O\x27)^Q?MtO7+\x27kO\x27)kQ?MtO7+\x27mO\x27)xQ`O,5<]OOQO7+\x27`7+\x27`OOQ!0Lh7+*d7+*dO\x27)}QMjO<<K}OOQO1G4w1G4wO\x27*UQ`O1G4wO\x27*aQ`O1G4wO\x27*oQ`O7++|O\x27*oQ`O7++|O!&zQMhO1G4yO\x27*wQ!dO1G4yO\x27+RQ`O7++}O\x27+ZQ`O7+(VO\x27+fQ!dO7+(VOOQ!0Lb7+(T7+(TOOQ!0Lb7+(U7+(UO!CUQpO7+(TOCwQ`O7+(TO\x27+pQ`O7+(VO!&zQMhO7+(VO$+YQ`O7+(UO\x27+uQ`O7+(VOCwQ`O7+(UO\x27+}QMjO<<NwO!,TQMhO<<NwOOQ!0Lh7+$}7+$}O\x27,XQ!dO,5?fOOQO-E<x-E<xO\x27,cQ!0MvO7+(YO!&zQMhO7+(YOOQ[AN=gAN=gO9kQ`O1G5WOOQO1G5W1G5WO\x27,sQ`O1G5WO\x27,xQ`O7+,VO\x27,xQ`O7+,VO9uQ!0LrOANBWO@zQ`OANBWOOQ[ANBWANBWO\x27-QQ`OANBWOOQ[ANAsANAsOOQ[ANAtANAtO\x27-VQ`O,5?hOOQO-E<z-E<zO\x27-bQ?MtO1G6hOOQO,5?j,5?jOOQO-E<|-E<|OOQ[1G3a1G3aO\x27-lQ`O,5=POOQ[<<Lf<<LfO!&zQMhO<<LfO&=UQ`O<<LfO\x27-qQ`O<<LfO%[QlO<<LfOOQ[<<Lh<<LhO9uQ!0LrO<<LhO$%dQ`O<<LhO9`Q`O<<LhO\x27-yQpO1G5VO\x27.UQ`O7+,TOOQ[AN=]AN=]O9uQ!0LrOAN=]OOQ[<=\x20r<=\x20rOOQ[<=\x20s<=\x20sO\x27.^Q`O<=\x20rO\x27.cQ`O<=\x20sOOQ[<<Lq<<LqO\x27.hQ`O<<LqO\x27.mQlO<<LqOOQ[1G3{1G3{O?YQ`O7+)lO\x27.tQ`O<<JQO\x27/PQ?MtO<<JQOOQO<<Hy<<HyOOQ!0LfAN?fAN?fOOQOAN?_AN?_O$AlQ!0MxOAN?_OOQOAN?OAN?OO%[QlOAN?_OOQO<<My<<MyOOQ[G27VG27VO!&zQMhOG27VO#(ZQ`OG27VO\x27/ZQ!fOG27VO4UQ!fOG27VO\x27/bQ`OG27VO\x27/jQ?MtO<<JfO\x27/wQ?MvO1G2`O\x271mQ?MvO,5?aO\x273pQ?MvO,5?cO\x275sQ?MvO1G2sO\x277vQ?MvO1G2uO\x279yQ?MtO<<KXO\x27:WQ?MtO<<I{OOQO1G1w1G1wO!,TQMhOANAiOOQO7+*c7+*cO\x27:eQ`O7+*cO\x27:pQ`O<=\x20hO\x27:xQ!dO7+*eOOQ!0Lb<<Kq<<KqO$+YQ`O<<KqOCwQ`O<<KqO\x27;SQ`O<<KqO!&zQMhO<<KqOOQ!0Lb<<Ko<<KoO!CUQpO<<KoO\x27;_Q!dO<<KqOOQ!0Lb<<Kp<<KpO\x27;iQ`O<<KqO!&zQMhO<<KqO$+YQ`O<<KpO\x27;nQMjOANDcO\x27;xQ!0MvO<<KtOOQO7+*r7+*rO9kQ`O7+*rO\x27<YQ`O<=\x20qOOQ[G27rG27rO9uQ!0LrOG27rO@zQ`OG27rO!)[QlO1G5SO\x27<bQ`O7+,SO\x27<jQ`O1G2kO&=UQ`OANBQOOQ[ANBQANBQO!&zQMhOANBQO\x27<oQ`OANBQOOQ[ANBSANBSO9uQ!0LrOANBSO$%dQ`OANBSOOQO\x27#H_\x27#H_OOQO7+*q7+*qOOQ[G22wG22wOOQ[ANE^ANE^OOQ[ANE_ANE_OOQ[ANB]ANB]O\x27<wQ`OANB]OOQ[<<MW<<MWO!)[QlOAN?lOOQOG24yG24yO$AlQ!0MxOG24yO#(ZQ`OLD,qOOQ[LD,qLD,qO!&zQMhOLD,qO\x27<|Q!fOLD,qO\x27=TQ?MvO7+\x27zO\x27>yQ?MvO,5?aO\x27@|Q?MvO,5?cO\x27CPQ?MvO7+\x27|O\x27DuQMjOG27TOOQO<<M}<<M}OOQ!0LbANA]ANA]O$+YQ`OANA]OCwQ`OANA]O\x27EVQ!dOANA]OOQ!0LbANAZANAZO\x27E^Q`OANA]O!&zQMhOANA]O\x27EiQ!dOANA]OOQ!0LbANA[ANA[OOQO<<N^<<N^OOQ[LD-^LD-^O9uQ!0LrOLD-^O\x27EsQ?MtO7+*nOOQO\x27#Gf\x27#GfOOQ[G27lG27lO&=UQ`OG27lO!&zQMhOG27lOOQ[G27nG27nO9uQ!0LrOG27nOOQ[G27wG27wO\x27E}Q?MtOG25WOOQOLD*eLD*eOOQ[!$(!]!$(!]O#(ZQ`O!$(!]O!&zQMhO!$(!]O\x27FXQ!0MzOG27TOOQ!0LbG26wG26wO$+YQ`OG26wO\x27HjQ`OG26wOCwQ`OG26wO\x27HuQ!dOG26wO!&zQMhOG26wOOQ[!$(!x!$(!xOOQ[LD-WLD-WO&=UQ`OLD-WOOQ[LD-YLD-YOOQ[!)9Ew!)9EwO#(ZQ`O!)9EwOOQ!0LbLD,cLD,cO$+YQ`OLD,cOCwQ`OLD,cO\x27H|Q`OLD,cO\x27IXQ!dOLD,cOOQ[!$(!r!$(!rOOQ[!.K;c!.K;cO\x27I`Q?MvOG27TOOQ!0Lb!$(\x20}!$(\x20}O$+YQ`O!$(\x20}OCwQ`O!$(\x20}O\x27KUQ`O!$(\x20}OOQ!0Lb!)9Ei!)9EiO$+YQ`O!)9EiOCwQ`O!)9EiOOQ!0Lb!.K;T!.K;TO$+YQ`O!.K;TOOQ!0Lb!4/0o!4/0oO!)[QlO\x27#DzO1PQ`O\x27#EXO\x27KaQ!fO\x27#JrO\x27KhQ!L^O\x27#DvO\x27KoQlO\x27#EOO\x27KvQ!fO\x27#CiO\x27N^Q!fO\x27#CiO!)[QlO\x27#EQO\x27NnQlO,5;ZO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO,5;eO!)[QlO\x27#IpO(!qQ`O,5<iO!)[QlO,5;eO(!yQMhO,5;eO($dQMhO,5;eO!)[QlO,5;wO!&zQMhO\x27#GmO(!yQMhO\x27#GmO!&zQMhO\x27#GoO(!yQMhO\x27#GoO1SQ`O\x27#DZO1SQ`O\x27#DZO!&zQMhO\x27#GPO(!yQMhO\x27#GPO!&zQMhO\x27#GRO(!yQMhO\x27#GRO!&zQMhO\x27#GaO(!yQMhO\x27#GaO!)[QlO,5:jO($kQpO\x27#D_O($uQpO\x27#JvO!)[QlO,5@oO\x27NnQlO1G0uO(%PQ?MtO\x27#CiO!)[QlO1G2PO!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO(%ZQ!dO\x27#CrO!&zQMhO,5<tO(!yQMhO,5<tO\x27NnQlO1G2RO!)[QlO7+&zO!&zQMhO1G2`O(!yQMhO1G2`O!&zQMhO\x27#IuO(!yQMhO\x27#IuO!&zQMhO\x27#IwO(!yQMhO\x27#IwO!&zQMhO1G2bO(!yQMhO1G2bO\x27NnQlO7+\x27mO\x27NnQlO7+&aO!&zQMhOANAiO(!yQMhOANAiO(%nQ`O\x27#EoO(%sQ`O\x27#EoO(%{Q`O\x27#F]O(&QQ`O\x27#EyO(&VQ`O\x27#KTO(&bQ`O\x27#KRO(&mQ`O,5;ZO(&rQMjO,5<eO(&yQ`O\x27#GYO(\x27OQ`O\x27#GYO(\x27TQ`O,5<eO(\x27]Q`O,5<gO(\x27eQ`O,5;ZO(\x27mQ?MtO1G1`O(\x27tQ`O,5<tO(\x27yQ`O,5<tO((OQ`O,5<vO((TQ`O,5<vO((YQ`O1G2RO((_Q`O1G0uO((dQMjO<<K}O((kQMjO<<K}O((rQMhO\x27#F|O9`Q`O\x27#F{OAuQ`O\x27#EnO!)[QlO,5;tO!3oQ`O\x27#GYO!3oQ`O\x27#GYO!3oQ`O\x27#G[O!3oQ`O\x27#G[O!,TQMhO7+(cO!,TQMhO7+(cO%.zQ!dO1G2wO%.zQ!dO1G2wO!&zQMhO,5=]O!&zQMhO,5=]','stateData':'()x~O\x27|OS\x27}OSTOS(ORQ~OPYOQYOSfOY!VOaqOdzOeyOl!POpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!uwO!xxO!|]O$W|O$niO%h}O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO&W!WO&^!XO&`!YO&b!ZO&d![O&g!]O&m!^O&s!_O&u!`O&w!aO&y!bO&{!cO(TSO(VTO(YUO(aVO(o[O~OWtO~P`OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa!wOs!nO!S!oO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!xO#W!pO#X!pO#[!zO#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O(O!{O~OP]XR]X[]Xa]Xj]Xr]X!Q]X!S]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X\x27z]X(a]X(r]X(y]X(z]X~O!g%RX~P(qO_!}O(V#PO(W!}O(X#PO~O_#QO(X#PO(Y#PO(Z#QO~Ox#SO!U#TO(b#TO(c#VO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T<ZO(VTO(YUO(aVO(o[O~O![#ZO!]#WO!Y(hP!Y(vP~P+}O!^#cO~P`OPYOQYOSfOd!jOe!iOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(VTO(YUO(aVO(o[O~Op#mO![#iO!|]O#i#lO#j#iO(T<[O!k(sP~P.iO!l#oO(T#nO~O!x#sO!|]O%h#tO~O#k#uO~O!g#vO#k#uO~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!]$_O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa(fX\x27z(fX\x27w(fX!k(fX!Y(fX!_(fX%i(fX!g(fX~P1qO#S$dO#`$eO$Q$eOP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX!_(gX%i(gX~Oa(gX\x27z(gX\x27w(gX!Y(gX!k(gXv(gX!g(gX~P4UO#`$eO~O$]$hO$_$gO$f$mO~OSfO!_$nO$i$oO$k$qO~Oh%VOj%dOk%dOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T$sO(VTO(YUO(a$uO(y$}O(z%POg(^P~Ol%[O~P7eO!l%eO~O!S%hO!_%iO(T%gO~O!g%mO~Oa%nO\x27z%nO~O!Q%rO~P%[O(U!lO~P%[O%n%vO~P%[Oh%VO!l%eO(T%gO(U!lO~Oe%}O!l%eO(T%gO~Oj$RO~O!_&PO(T%gO(U!lO(VTO(YUO`)WP~O!Q&SO!l&RO%j&VO&T&WO~P;SO!x#sO~O%s&YO!S)SX!_)SX(T)SX~O(T&ZO~Ol!PO!u&`O%j!QO%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO~Od&eOe&dO!x&bO%h&cO%{&aO~P<bOd&hOeyOl!PO!_&gO!u&`O!xxO!|]O%h}O%l!OO%m!OO%n!OO%q!RO%s!SO%v!TO%w!TO%y!UO~Ob&kO#`&nO%j&iO(U!lO~P=gO!l&oO!u&sO~O!l#oO~O!_XO~Oa%nO\x27x&{O\x27z%nO~Oa%nO\x27x\x27OO\x27z%nO~Oa%nO\x27x\x27QO\x27z%nO~O\x27w]X!Y]Xv]X!k]X&[]X!_]X%i]X!g]X~P(qO!b\x27_O!c\x27WO!d\x27WO(U!lO(VTO(YUO~Os\x27UO!S\x27TO![\x27XO(e\x27SO!^(iP!^(xP~P@nOn\x27bO!_\x27`O(T%gO~Oe\x27gO!l%eO(T%gO~O!Q&SO!l&RO~Os!nO!S!oO!|<VO#T!pO#U!pO#W!pO#X!pO(U!lO(VTO(YUO(e!mO(o!sO~O!b\x27mO!c\x27lO!d\x27lO#V!pO#[\x27nO#]\x27nO~PBYOa%nOh%VO!g#vO!l%eO\x27z%nO(r\x27pO~O!p\x27tO#`\x27rO~PChOs!nO!S!oO(VTO(YUO(e!mO(o!sO~O!_XOs(mX!S(mX!b(mX!c(mX!d(mX!|(mX#T(mX#U(mX#V(mX#W(mX#X(mX#[(mX#](mX(U(mX(V(mX(Y(mX(e(mX(o(mX~O!c\x27lO!d\x27lO(U!lO~PDWO(P\x27xO(Q\x27xO(R\x27zO~O_!}O(V\x27|O(W!}O(X\x27|O~O_#QO(X\x27|O(Y\x27|O(Z#QO~Ov(OO~P%[Ox#SO!U#TO(b#TO(c(RO~O![(TO!Y\x27WX!Y\x27^X!]\x27WX!]\x27^X~P+}O!](VO!Y(hX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!](VO!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~O!Y(hX~PHRO!Y([O~O!Y(uX!](uX!g(uX!k(uX(r(uX~O#`(uX#k#dX!^(uX~PJUO#`(]O!Y(wX!](wX~O!](^O!Y(vX~O!Y(aO~O#`$eO~PJUO!^(bO~P`OR#zO!Q#yO!S#{O!l#xO(aVOP!na[!naj!nar!na!]!na!p!na#R!na#n!na#o!na#p!na#q!na#r!na#s!na#t!na#u!na#v!na#x!na#z!na#{!na(r!na(y!na(z!na~Oa!na\x27z!na\x27w!na!Y!na!k!nav!na!_!na%i!na!g!na~PKlO!k(cO~O!g#vO#`(dO(r\x27pO!](tXa(tX\x27z(tX~O!k(tX~PNXO!S%hO!_%iO!|]O#i(iO#j(hO(T%gO~O!](jO!k(sX~O!k(lO~O!S%hO!_%iO#j(hO(T%gO~OP(gXR(gX[(gXj(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~O!g#vO!k(gX~P!\x20uOR(nO!Q(mO!l#xO#S$dO!|!{a!S!{a~O!x!{a%h!{a!_!{a#i!{a#j!{a(T!{a~P!#vO!x(rO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_XO!iuO!lZO!oYO!pYO!qYO!svO!u!gO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~O#k(xO~O![(zO!k(kP~P%[O(e(|O(o[O~O!S)OO!l#xO(e(|O(o[O~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]$_Oa$qa\x27z$qa\x27w$qa!k$qa!Y$qa!_$qa%i$qa!g$qa~Ol)dO~P!&zOh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O%]O!S${O!_$|O!i%bO!l$xO#j%cO$W%`O$t%^O$v%_O$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Og(pP~P!,TO!Q)iO!g)hO!_$^X$Z$^X$]$^X$_$^X$f$^X~O!g)hO!_({X$Z({X$]({X$_({X$f({X~O!Q)iO~P!.^O!Q)iO!_({X$Z({X$]({X$_({X$f({X~O!_)kO$Z)oO$])jO$_)jO$f)pO~O![)sO~P!)[O$]$hO$_$gO$f)wO~On$zX!Q$zX#S$zX\x27y$zX(y$zX(z$zX~OgmXg$zXnmX!]mX#`mX~P!0SOx)yO(b)zO(c)|O~On*VO!Q*OO\x27y*PO(y$}O(z%PO~Og)}O~P!1WOg*WO~Oh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S*YO!_*ZO!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op*`O![*^O(T*XO!k)OP~P!1uO#k*aO~O!l*bO~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(T*dO(VTO(YUO(a$uO(y$}O(z%PO~O![*gO!Y)PP~P!3tOr*sOs!nO!S*iO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO(e!mO~O!^*pO~P!5iO#S$dOn(`X!Q(`X\x27y(`X(y(`X(z(`X!](`X#`(`X~Og(`X$O(`X~P!6kOn*xO#`*wOg(_X!](_X~O!]*yOg(^X~Oj%dOk%dOl%dO(T&ZOg(^P~Os*|O~Og)}O(T&ZO~O!l+SO~O(T(vO~Op+WO!S%hO![#iO!_%iO!|]O#i#lO#j#iO(T%gO!k(sP~O!g#vO#k+XO~O!S%hO![+ZO!](^O!_%iO(T%gO!Y(vP~Os\x27[O!S+]O![+[O(VTO(YUO(e(|O~O!^(xP~P!9|O!]+^Oa)TX\x27z)TX~OP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO#z$WO#{$XO(aVO(r$YO(y#|O(z#}O~Oa!ja!]!ja\x27z!ja\x27w!ja!Y!ja!k!jav!ja!_!ja%i!ja!g!ja~P!:tOR#zO!Q#yO!S#{O!l#xO(aVOP!ra[!raj!rar!ra!]!ra!p!ra#R!ra#n!ra#o!ra#p!ra#q!ra#r!ra#s!ra#t!ra#u!ra#v!ra#x!ra#z!ra#{!ra(r!ra(y!ra(z!ra~Oa!ra\x27z!ra\x27w!ra!Y!ra!k!rav!ra!_!ra%i!ra!g!ra~P!=[OR#zO!Q#yO!S#{O!l#xO(aVOP!ta[!taj!tar!ta!]!ta!p!ta#R!ta#n!ta#o!ta#p!ta#q!ta#r!ta#s!ta#t!ta#u!ta#v!ta#x!ta#z!ta#{!ta(r!ta(y!ta(z!ta~Oa!ta\x27z!ta\x27w!ta!Y!ta!k!tav!ta!_!ta%i!ta!g!ta~P!?rOh%VOn+gO!_\x27`O%i+fO~O!g+iOa(]X!_(]X\x27z(]X!](]X~Oa%nO!_XO\x27z%nO~Oh%VO!l%eO~Oh%VO!l%eO(T%gO~O!g#vO#k(xO~Ob+tO%j+uO(T+qO(VTO(YUO!^)XP~O!]+vO`)WX~O[+zO~O`+{O~O!_&PO(T%gO(U!lO`)WP~O%j,OO~P;SOh%VO#`,SO~Oh%VOn,VO!_$|O~O!_,XO~O!Q,ZO!_XO~O%n%vO~O!x,`O~Oe,eO~Ob,fO(T#nO(VTO(YUO!^)VP~Oe%}O~O%j!QO(T&ZO~P=gO[,kO`,jO~OPYOQYOSfOdzOeyOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!iuO!lZO!oYO!pYO!qYO!svO!xxO!|]O$niO%h}O(VTO(YUO(aVO(o[O~O!_!eO!u!gO$W!kO(T!dO~P!FyO`,jOa%nO\x27z%nO~OPYOQYOSfOd!jOe!iOpkOrYOskOtkOzkO|YO!OYO!SWO!WkO!XkO!_!eO!iuO!lZO!oYO!pYO!qYO!svO!x!hO$W!kO$niO(T!dO(VTO(YUO(aVO(o[O~Oa,pOl!OO!uwO%l!OO%m!OO%n!OO~P!IcO!l&oO~O&^,vO~O!_,xO~O&o,zO&q,{OP&laQ&laS&laY&laa&lad&lae&lal&lap&lar&las&lat&laz&la|&la!O&la!S&la!W&la!X&la!_&la!i&la!l&la!o&la!p&la!q&la!s&la!u&la!x&la!|&la$W&la$n&la%h&la%j&la%l&la%m&la%n&la%q&la%s&la%v&la%w&la%y&la&W&la&^&la&`&la&b&la&d&la&g&la&m&la&s&la&u&la&w&la&y&la&{&la\x27w&la(T&la(V&la(Y&la(a&la(o&la!^&la&e&lab&la&j&la~O(T-QO~Oh!eX!]!RX!^!RX!g!RX!g!eX!l!eX#`!RX~O!]!eX!^!eX~P#!iO!g-VO#`-UOh(jX!]#hX!^#hX!g(jX!l(jX~O!](jX!^(jX~P##[Oh%VO!g-XO!l%eO!]!aX!^!aX~Os!nO!S!oO(VTO(YUO(e!mO~OP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_!eO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(VTO(YUO(aVO(o[O~O(T=QO~P#$qO!]-]O!^(iX~O!^-_O~O!g-VO#`-UO!]#hX!^#hX~O!]-`O!^(xX~O!^-bO~O!c-cO!d-cO(U!lO~P#$`O!^-fO~P\x27_On-iO!_\x27`O~O!Y-nO~Os!{a!b!{a!c!{a!d!{a#T!{a#U!{a#V!{a#W!{a#X!{a#[!{a#]!{a(U!{a(V!{a(Y!{a(e!{a(o!{a~P!#vO!p-sO#`-qO~PChO!c-uO!d-uO(U!lO~PDWOa%nO#`-qO\x27z%nO~Oa%nO!g#vO#`-qO\x27z%nO~Oa%nO!g#vO!p-sO#`-qO\x27z%nO(r\x27pO~O(P\x27xO(Q\x27xO(R-zO~Ov-{O~O!Y\x27Wa!]\x27Wa~P!:tO![.PO!Y\x27WX!]\x27WX~P%[O!](VO!Y(ha~O!Y(ha~PHRO!](^O!Y(va~O!S%hO![.TO!_%iO(T%gO!Y\x27^X!]\x27^X~O#`.VO!](ta!k(taa(ta\x27z(ta~O!g#vO~P#,wO!](jO!k(sa~O!S%hO!_%iO#j.ZO(T%gO~Op.`O!S%hO![.]O!_%iO!|]O#i._O#j.]O(T%gO!]\x27aX!k\x27aX~OR.dO!l#xO~Oh%VOn.gO!_\x27`O%i.fO~Oa#ci!]#ci\x27z#ci\x27w#ci!Y#ci!k#civ#ci!_#ci%i#ci!g#ci~P!:tOn>]O!Q*OO\x27y*PO(y$}O(z%PO~O#k#_aa#_a#`#_a\x27z#_a!]#_a!k#_a!_#_a!Y#_a~P#/sO#k(`XP(`XR(`X[(`Xa(`Xj(`Xr(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X\x27z(`X(a(`X(r(`X!k(`X!Y(`X\x27w(`Xv(`X!_(`X%i(`X!g(`X~P!6kO!].tO!k(kX~P!:tO!k.wO~O!Y.yO~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mia#mij#mir#mi!]#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#n#mi~P#3cO#n$OO~P#3cOP$[OR#zOr$aO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO[#mia#mij#mi!]#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#r#mi~P#6QO#r$QO~P#6QOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO(aVOa#mi!]#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi(z#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#v#mi~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO(aVO(z#}Oa#mi!]#mi#z#mi#{#mi\x27z#mi(r#mi(y#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#x$UO~P#;VO#x#mi~P#;VO#v$SO~P#8oOP$[OR#zO[$cOj$ROr$aO!Q#yO!S#{O!l#xO!p$[O#R$RO#n$OO#o$PO#p$PO#q$PO#r$QO#s$RO#t$RO#u$bO#v$SO#x$UO(aVO(y#|O(z#}Oa#mi!]#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~O#z#mi~P#={O#z$WO~P#={OP]XR]X[]Xj]Xr]X!Q]X!S]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X!]]X!^]X~O$O]X~P#@jOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO#z<gO#{<hO(aVO(r$YO(y#|O(z#}O~O$O.{O~P#BwO#S$dO#`<nO$Q<nO$O(gX!^(gX~P!\x20uOa\x27da!]\x27da\x27z\x27da\x27w\x27da!k\x27da!Y\x27dav\x27da!_\x27da%i\x27da!g\x27da~P!:tO[#mia#mij#mir#mi!]#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi\x27z#mi(r#mi\x27w#mi!Y#mi!k#miv#mi!_#mi%i#mi!g#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n$OO#o$PO#p$PO#q$PO(aVO(y#mi(z#mi~P#EyOn>]O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P#EyO!]/POg(pX~P!1WOg/RO~Oa$Pi!]$Pi\x27z$Pi\x27w$Pi!Y$Pi!k$Piv$Pi!_$Pi%i$Pi!g$Pi~P!:tO$]/SO$_/SO~O$]/TO$_/TO~O!g)hO#`/UO!_$cX$Z$cX$]$cX$_$cX$f$cX~O![/VO~O!_)kO$Z/XO$])jO$_)jO$f/YO~O!]<iO!^(fX~P#BwO!^/ZO~O!g)hO$f({X~O$f/]O~Ov/^O~P!&zOx)yO(b)zO(c/aO~O!S/dO~O(y$}On%aa!Q%aa\x27y%aa(z%aa!]%aa#`%aa~Og%aa$O%aa~P#L{O(z%POn%ca!Q%ca\x27y%ca(y%ca!]%ca#`%ca~Og%ca$O%ca~P#MnO!]fX!gfX!kfX!k$zX(rfX~P!0SOp%WO![/mO!](^O(T/lO!Y(vP!Y)PP~P!1uOr*sO!b*qO!c*kO!d*kO!l*bO#[*rO%`*mO(U!lO(VTO(YUO~Os<}O!S/nO![+[O!^*pO(e<|O!^(xP~P$\x20[O!k/oO~P#/sO!]/pO!g#vO(r\x27pO!k)OX~O!k/uO~OnoX!QoX\x27yoX(yoX(zoX~O!g#vO!koX~P$#OOp/wO!S%hO![*^O!_%iO(T%gO!k)OP~O#k/xO~O!Y$zX!]$zX!g%RX~P!0SO!]/yO!Y)PX~P#/sO!g/{O~O!Y/}O~OpkO(T0OO~P.iOh%VOr0TO!g#vO!l%eO(r\x27pO~O!g+iO~Oa%nO!]0XO\x27z%nO~O!^0ZO~P!5iO!c0[O!d0[O(U!lO~P#$`Os!nO!S0]O(VTO(YUO(e!mO~O#[0_O~Og%aa!]%aa#`%aa$O%aa~P!1WOg%ca!]%ca#`%ca$O%ca~P!1WOj%dOk%dOl%dO(T&ZOg\x27mX!]\x27mX~O!]*yOg(^a~Og0hO~On0jO#`0iOg(_a!](_a~OR0kO!Q0kO!S0lO#S$dOn}a\x27y}a(y}a(z}a!]}a#`}a~Og}a$O}a~P$(cO!Q*OO\x27y*POn$sa(y$sa(z$sa!]$sa#`$sa~Og$sa$O$sa~P$)_O!Q*OO\x27y*POn$ua(y$ua(z$ua!]$ua#`$ua~Og$ua$O$ua~P$*QO#k0oO~Og%Ta!]%Ta#`%Ta$O%Ta~P!1WO!g#vO~O#k0rO~O!]+^Oa)Ta\x27z)Ta~OR#zO!Q#yO!S#{O!l#xO(aVOP!ri[!rij!rir!ri!]!ri!p!ri#R!ri#n!ri#o!ri#p!ri#q!ri#r!ri#s!ri#t!ri#u!ri#v!ri#x!ri#z!ri#{!ri(r!ri(y!ri(z!ri~Oa!ri\x27z!ri\x27w!ri!Y!ri!k!riv!ri!_!ri%i!ri!g!ri~P$+oOh%VOr%XOs$tOt$tOz%YO|%ZO!O<sO!S${O!_$|O!i>VO!l$xO#j<yO$W%`O$t<uO$v<wO$y%aO(VTO(YUO(a$uO(y$}O(z%PO~Op0{O%]0|O(T0zO~P$.VO!g+iOa(]a!_(]a\x27z(]a!](]a~O#k1SO~O[]X!]fX!^fX~O!]1TO!^)XX~O!^1VO~O[1WO~Ob1YO(T+qO(VTO(YUO~O!_&PO(T%gO`\x27uX!]\x27uX~O!]+vO`)Wa~O!k1]O~P!:tO[1`O~O`1aO~O#`1fO~On1iO!_$|O~O(e(|O!^)UP~Oh%VOn1rO!_1oO%i1qO~O[1|O!]1zO!^)VX~O!^1}O~O`2POa%nO\x27z%nO~O(T#nO(VTO(YUO~O#S$dO#`$eO$Q$eOP(gXR(gX[(gXr(gX!Q(gX!S(gX!](gX!l(gX!p(gX#R(gX#n(gX#o(gX#p(gX#q(gX#r(gX#s(gX#t(gX#u(gX#v(gX#x(gX#z(gX#{(gX(a(gX(r(gX(y(gX(z(gX~Oj2SO&[2TOa(gX~P$3pOj2SO#`$eO&[2TO~Oa2VO~P%[Oa2XO~O&e2[OP&ciQ&ciS&ciY&cia&cid&cie&cil&cip&cir&cis&cit&ciz&ci|&ci!O&ci!S&ci!W&ci!X&ci!_&ci!i&ci!l&ci!o&ci!p&ci!q&ci!s&ci!u&ci!x&ci!|&ci$W&ci$n&ci%h&ci%j&ci%l&ci%m&ci%n&ci%q&ci%s&ci%v&ci%w&ci%y&ci&W&ci&^&ci&`&ci&b&ci&d&ci&g&ci&m&ci&s&ci&u&ci&w&ci&y&ci&{&ci\x27w&ci(T&ci(V&ci(Y&ci(a&ci(o&ci!^&cib&ci&j&ci~Ob2bO!^2`O&j2aO~P`O!_XO!l2dO~O&q,{OP&liQ&liS&liY&lia&lid&lie&lil&lip&lir&lis&lit&liz&li|&li!O&li!S&li!W&li!X&li!_&li!i&li!l&li!o&li!p&li!q&li!s&li!u&li!x&li!|&li$W&li$n&li%h&li%j&li%l&li%m&li%n&li%q&li%s&li%v&li%w&li%y&li&W&li&^&li&`&li&b&li&d&li&g&li&m&li&s&li&u&li&w&li&y&li&{&li\x27w&li(T&li(V&li(Y&li(a&li(o&li!^&li&e&lib&li&j&li~O!Y2jO~O!]!aa!^!aa~P#BwOs!nO!S!oO![2pO(e!mO!]\x27XX!^\x27XX~P@nO!]-]O!^(ia~O!]\x27_X!^\x27_X~P!9|O!]-`O!^(xa~O!^2wO~P\x27_Oa%nO#`3QO\x27z%nO~Oa%nO!g#vO#`3QO\x27z%nO~Oa%nO!g#vO!p3UO#`3QO\x27z%nO(r\x27pO~Oa%nO\x27z%nO~P!:tO!]$_Ov$qa~O!Y\x27Wi!]\x27Wi~P!:tO!](VO!Y(hi~O!](^O!Y(vi~O!Y(wi!](wi~P!:tO!](ti!k(tia(ti\x27z(ti~P!:tO#`3WO!](ti!k(tia(ti\x27z(ti~O!](jO!k(si~O!S%hO!_%iO!|]O#i3]O#j3[O(T%gO~O!S%hO!_%iO#j3[O(T%gO~On3dO!_\x27`O%i3cO~Oh%VOn3dO!_\x27`O%i3cO~O#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aav%aa!_%aa%i%aa!g%aa~P#L{O#k%caP%caR%ca[%caa%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%cav%ca!_%ca%i%ca!g%ca~P#MnO#k%aaP%aaR%aa[%aaa%aaj%aar%aa!S%aa!]%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa\x27z%aa(a%aa(r%aa!k%aa!Y%aa\x27w%aa#`%aav%aa!_%aa%i%aa!g%aa~P#/sO#k%caP%caR%ca[%caa%caj%car%ca!S%ca!]%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca\x27z%ca(a%ca(r%ca!k%ca!Y%ca\x27w%ca#`%cav%ca!_%ca%i%ca!g%ca~P#/sO#k}aP}a[}aa}aj}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a\x27z}a(a}a(r}a!k}a!Y}a\x27w}av}a!_}a%i}a!g}a~P$(cO#k$saP$saR$sa[$saa$saj$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa\x27z$sa(a$sa(r$sa!k$sa!Y$sa\x27w$sav$sa!_$sa%i$sa!g$sa~P$)_O#k$uaP$uaR$ua[$uaa$uaj$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua\x27z$ua(a$ua(r$ua!k$ua!Y$ua\x27w$uav$ua!_$ua%i$ua!g$ua~P$*QO#k%TaP%TaR%Ta[%Taa%Taj%Tar%Ta!S%Ta!]%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta\x27z%Ta(a%Ta(r%Ta!k%Ta!Y%Ta\x27w%Ta#`%Tav%Ta!_%Ta%i%Ta!g%Ta~P#/sOa#cq!]#cq\x27z#cq\x27w#cq!Y#cq!k#cqv#cq!_#cq%i#cq!g#cq~P!:tO![3lO!]\x27YX!k\x27YX~P%[O!].tO!k(ka~O!].tO!k(ka~P!:tO!Y3oO~O$O!na!^!na~PKlO$O!ja!]!ja!^!ja~P#BwO$O!ra!^!ra~P!=[O$O!ta!^!ta~P!?rOg\x27]X!]\x27]X~P!,TO!]/POg(pa~OSfO!_4TO$d4UO~O!^4YO~Ov4ZO~P#/sOa$mq!]$mq\x27z$mq\x27w$mq!Y$mq!k$mqv$mq!_$mq%i$mq!g$mq~P!:tO!Y4]O~P!&zO!S4^O~O!Q*OO\x27y*PO(z%POn\x27ia(y\x27ia!]\x27ia#`\x27ia~Og\x27ia$O\x27ia~P%-fO!Q*OO\x27y*POn\x27ka(y\x27ka(z\x27ka!]\x27ka#`\x27ka~Og\x27ka$O\x27ka~P%.XO(r$YO~P#/sO!YfX!Y$zX!]fX!]$zX!g%RX#`fX~P!0SOp%WO(T=WO~P!1uOp4bO!S%hO![4aO!_%iO(T%gO!]\x27eX!k\x27eX~O!]/pO!k)Oa~O!]/pO!g#vO!k)Oa~O!]/pO!g#vO(r\x27pO!k)Oa~Og$|i!]$|i#`$|i$O$|i~P!1WO![4jO!Y\x27gX!]\x27gX~P!3tO!]/yO!Y)Pa~O!]/yO!Y)Pa~P#/sOP]XR]X[]Xj]Xr]X!Q]X!S]X!Y]X!]]X!l]X!p]X#R]X#S]X#`]X#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~Oj%YX!g%YX~P%2OOj4oO!g#vO~Oh%VO!g#vO!l%eO~Oh%VOr4tO!l%eO(r\x27pO~Or4yO!g#vO(r\x27pO~Os!nO!S4zO(VTO(YUO(e!mO~O(y$}On%ai!Q%ai\x27y%ai(z%ai!]%ai#`%ai~Og%ai$O%ai~P%5oO(z%POn%ci!Q%ci\x27y%ci(y%ci!]%ci#`%ci~Og%ci$O%ci~P%6bOg(_i!](_i~P!1WO#`5QOg(_i!](_i~P!1WO!k5VO~Oa$oq!]$oq\x27z$oq\x27w$oq!Y$oq!k$oqv$oq!_$oq%i$oq!g$oq~P!:tO!Y5ZO~O!]5[O!_)QX~P#/sOa$zX!_$zX%^]X\x27z$zX!]$zX~P!0SO%^5_OaoX!_oX\x27zoX!]oX~P$#OOp5`O(T#nO~O%^5_O~Ob5fO%j5gO(T+qO(VTO(YUO!]\x27tX!^\x27tX~O!]1TO!^)Xa~O[5kO~O`5lO~O[5pO~Oa%nO\x27z%nO~P#/sO!]5uO#`5wO!^)UX~O!^5xO~Or6OOs!nO!S*iO!b!yO!c!vO!d!vO!|<VO#T!pO#U!pO#V!pO#W!pO#X!pO#[5}O#]!zO(U!lO(VTO(YUO(e!mO(o!sO~O!^5|O~P%;eOn6TO!_1oO%i6SO~Oh%VOn6TO!_1oO%i6SO~Ob6[O(T#nO(VTO(YUO!]\x27sX!^\x27sX~O!]1zO!^)Va~O(VTO(YUO(e6^O~O`6bO~Oj6eO&[6fO~PNXO!k6gO~P%[Oa6iO~Oa6iO~P%[Ob2bO!^6nO&j2aO~P`O!g6pO~O!g6rOh(ji!](ji!^(ji!g(ji!l(jir(ji(r(ji~O!]#hi!^#hi~P#BwO#`6sO!]#hi!^#hi~O!]!ai!^!ai~P#BwOa%nO#`6|O\x27z%nO~Oa%nO!g#vO#`6|O\x27z%nO~O!](tq!k(tqa(tq\x27z(tq~P!:tO!](jO!k(sq~O!S%hO!_%iO#j7TO(T%gO~O!_\x27`O%i7WO~On7[O!_\x27`O%i7WO~O#k\x27iaP\x27iaR\x27ia[\x27iaa\x27iaj\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia\x27z\x27ia(a\x27ia(r\x27ia!k\x27ia!Y\x27ia\x27w\x27iav\x27ia!_\x27ia%i\x27ia!g\x27ia~P%-fO#k\x27kaP\x27kaR\x27ka[\x27kaa\x27kaj\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka\x27z\x27ka(a\x27ka(r\x27ka!k\x27ka!Y\x27ka\x27w\x27kav\x27ka!_\x27ka%i\x27ka!g\x27ka~P%.XO#k$|iP$|iR$|i[$|ia$|ij$|ir$|i!S$|i!]$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i\x27z$|i(a$|i(r$|i!k$|i!Y$|i\x27w$|i#`$|iv$|i!_$|i%i$|i!g$|i~P#/sO#k%aiP%aiR%ai[%aia%aij%air%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai\x27z%ai(a%ai(r%ai!k%ai!Y%ai\x27w%aiv%ai!_%ai%i%ai!g%ai~P%5oO#k%ciP%ciR%ci[%cia%cij%cir%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci\x27z%ci(a%ci(r%ci!k%ci!Y%ci\x27w%civ%ci!_%ci%i%ci!g%ci~P%6bO!]\x27Ya!k\x27Ya~P!:tO!].tO!k(ki~O$O#ci!]#ci!^#ci~P#BwOP$[OR#zO!Q#yO!S#{O!l#xO!p$[O(aVO[#mij#mir#mi#R#mi#o#mi#p#mi#q#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#n#mi~P%NdO#n<_O~P%NdOP$[OR#zOr<kO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO[#mij#mi#R#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#r#mi~P&!lO#r<aO~P&!lOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO(aVO#x#mi#z#mi#{#mi$O#mi(r#mi(y#mi(z#mi!]#mi!^#mi~O#v#mi~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO(aVO(z#}O#z#mi#{#mi$O#mi(r#mi(y#mi!]#mi!^#mi~O#x<eO~P&&uO#x#mi~P&&uO#v<cO~P&$tOP$[OR#zO[<mOj<bOr<kO!Q#yO!S#{O!l#xO!p$[O#R<bO#n<_O#o<`O#p<`O#q<`O#r<aO#s<bO#t<bO#u<lO#v<cO#x<eO(aVO(y#|O(z#}O#{#mi$O#mi(r#mi!]#mi!^#mi~O#z#mi~P&)UO#z<gO~P&)UOa#|y!]#|y\x27z#|y\x27w#|y!Y#|y!k#|yv#|y!_#|y%i#|y!g#|y~P!:tO[#mij#mir#mi#R#mi#r#mi#s#mi#t#mi#u#mi#v#mi#x#mi#z#mi#{#mi$O#mi(r#mi!]#mi!^#mi~OP$[OR#zO!Q#yO!S#{O!l#xO!p$[O#n<_O#o<`O#p<`O#q<`O(aVO(y#mi(z#mi~P&,QOn>^O!Q*OO\x27y*PO(y$}O(z%POP#miR#mi!S#mi!l#mi!p#mi#n#mi#o#mi#p#mi#q#mi(a#mi~P&,QO#S$dOP(`XR(`X[(`Xj(`Xn(`Xr(`X!Q(`X!S(`X!l(`X!p(`X#R(`X#n(`X#o(`X#p(`X#q(`X#r(`X#s(`X#t(`X#u(`X#v(`X#x(`X#z(`X#{(`X$O(`X\x27y(`X(a(`X(r(`X(y(`X(z(`X!](`X!^(`X~O$O$Pi!]$Pi!^$Pi~P#BwO$O!ri!^!ri~P$+oOg\x27]a!]\x27]a~P!1WO!^7nO~O!]\x27da!^\x27da~P#BwO!Y7oO~P#/sO!g#vO(r\x27pO!]\x27ea!k\x27ea~O!]/pO!k)Oi~O!]/pO!g#vO!k)Oi~Og$|q!]$|q#`$|q$O$|q~P!1WO!Y\x27ga!]\x27ga~P#/sO!g7vO~O!]/yO!Y)Pi~P#/sO!]/yO!Y)Pi~O!Y7yO~Oh%VOr8OO!l%eO(r\x27pO~Oj8QO!g#vO~Or8TO!g#vO(r\x27pO~O!Q*OO\x27y*PO(z%POn\x27ja(y\x27ja!]\x27ja#`\x27ja~Og\x27ja$O\x27ja~P&5RO!Q*OO\x27y*POn\x27la(y\x27la(z\x27la!]\x27la#`\x27la~Og\x27la$O\x27la~P&5tOg(_q!](_q~P!1WO#`8VOg(_q!](_q~P!1WO!Y8WO~Og%Oq!]%Oq#`%Oq$O%Oq~P!1WOa$oy!]$oy\x27z$oy\x27w$oy!Y$oy!k$oyv$oy!_$oy%i$oy!g$oy~P!:tO!g6rO~O!]5[O!_)Qa~O!_\x27`OP$TaR$Ta[$Taj$Tar$Ta!Q$Ta!S$Ta!]$Ta!l$Ta!p$Ta#R$Ta#n$Ta#o$Ta#p$Ta#q$Ta#r$Ta#s$Ta#t$Ta#u$Ta#v$Ta#x$Ta#z$Ta#{$Ta(a$Ta(r$Ta(y$Ta(z$Ta~O%i7WO~P&8fO%^8[Oa%[i!_%[i\x27z%[i!]%[i~Oa#cy!]#cy\x27z#cy\x27w#cy!Y#cy!k#cyv#cy!_#cy%i#cy!g#cy~P!:tO[8^O~Ob8`O(T+qO(VTO(YUO~O!]1TO!^)Xi~O`8dO~O(e(|O!]\x27pX!^\x27pX~O!]5uO!^)Ua~O!^8nO~P%;eO(o!sO~P$&YO#[8oO~O!_1oO~O!_1oO%i8qO~On8tO!_1oO%i8qO~O[8yO!]\x27sa!^\x27sa~O!]1zO!^)Vi~O!k8}O~O!k9OO~O!k9RO~O!k9RO~P%[Oa9TO~O!g9UO~O!k9VO~O!](wi!^(wi~P#BwOa%nO#`9_O\x27z%nO~O!](ty!k(tya(ty\x27z(ty~P!:tO!](jO!k(sy~O%i9bO~P&8fO!_\x27`O%i9bO~O#k$|qP$|qR$|q[$|qa$|qj$|qr$|q!S$|q!]$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q\x27z$|q(a$|q(r$|q!k$|q!Y$|q\x27w$|q#`$|qv$|q!_$|q%i$|q!g$|q~P#/sO#k\x27jaP\x27jaR\x27ja[\x27jaa\x27jaj\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja\x27z\x27ja(a\x27ja(r\x27ja!k\x27ja!Y\x27ja\x27w\x27jav\x27ja!_\x27ja%i\x27ja!g\x27ja~P&5RO#k\x27laP\x27laR\x27la[\x27laa\x27laj\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la\x27z\x27la(a\x27la(r\x27la!k\x27la!Y\x27la\x27w\x27lav\x27la!_\x27la%i\x27la!g\x27la~P&5tO#k%OqP%OqR%Oq[%Oqa%Oqj%Oqr%Oq!S%Oq!]%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq\x27z%Oq(a%Oq(r%Oq!k%Oq!Y%Oq\x27w%Oq#`%Oqv%Oq!_%Oq%i%Oq!g%Oq~P#/sO!]\x27Yi!k\x27Yi~P!:tO$O#cq!]#cq!^#cq~P#BwO(y$}OP%aaR%aa[%aaj%aar%aa!S%aa!l%aa!p%aa#R%aa#n%aa#o%aa#p%aa#q%aa#r%aa#s%aa#t%aa#u%aa#v%aa#x%aa#z%aa#{%aa$O%aa(a%aa(r%aa!]%aa!^%aa~On%aa!Q%aa\x27y%aa(z%aa~P&IyO(z%POP%caR%ca[%caj%car%ca!S%ca!l%ca!p%ca#R%ca#n%ca#o%ca#p%ca#q%ca#r%ca#s%ca#t%ca#u%ca#v%ca#x%ca#z%ca#{%ca$O%ca(a%ca(r%ca!]%ca!^%ca~On%ca!Q%ca\x27y%ca(y%ca~P&LQOn>^O!Q*OO\x27y*PO(z%PO~P&IyOn>^O!Q*OO\x27y*PO(y$}O~P&LQOR0kO!Q0kO!S0lO#S$dOP}a[}aj}an}ar}a!l}a!p}a#R}a#n}a#o}a#p}a#q}a#r}a#s}a#t}a#u}a#v}a#x}a#z}a#{}a$O}a\x27y}a(a}a(r}a(y}a(z}a!]}a!^}a~O!Q*OO\x27y*POP$saR$sa[$saj$san$sar$sa!S$sa!l$sa!p$sa#R$sa#n$sa#o$sa#p$sa#q$sa#r$sa#s$sa#t$sa#u$sa#v$sa#x$sa#z$sa#{$sa$O$sa(a$sa(r$sa(y$sa(z$sa!]$sa!^$sa~O!Q*OO\x27y*POP$uaR$ua[$uaj$uan$uar$ua!S$ua!l$ua!p$ua#R$ua#n$ua#o$ua#p$ua#q$ua#r$ua#s$ua#t$ua#u$ua#v$ua#x$ua#z$ua#{$ua$O$ua(a$ua(r$ua(y$ua(z$ua!]$ua!^$ua~On>^O!Q*OO\x27y*PO(y$}O(z%PO~OP%TaR%Ta[%Taj%Tar%Ta!S%Ta!l%Ta!p%Ta#R%Ta#n%Ta#o%Ta#p%Ta#q%Ta#r%Ta#s%Ta#t%Ta#u%Ta#v%Ta#x%Ta#z%Ta#{%Ta$O%Ta(a%Ta(r%Ta!]%Ta!^%Ta~P\x27\x27VO$O$mq!]$mq!^$mq~P#BwO$O$oq!]$oq!^$oq~P#BwO!^9oO~O$O9pO~P!1WO!g#vO!]\x27ei!k\x27ei~O!g#vO(r\x27pO!]\x27ei!k\x27ei~O!]/pO!k)Oq~O!Y\x27gi!]\x27gi~P#/sO!]/yO!Y)Pq~Or9wO!g#vO(r\x27pO~O[9yO!Y9xO~P#/sO!Y9xO~Oj:PO!g#vO~Og(_y!](_y~P!1WO!]\x27na!_\x27na~P#/sOa%[q!_%[q\x27z%[q!]%[q~P#/sO[:UO~O!]1TO!^)Xq~O`:YO~O#`:ZO!]\x27pa!^\x27pa~O!]5uO!^)Ui~P#BwO!S:]O~O!_1oO%i:`O~O(VTO(YUO(e:eO~O!]1zO!^)Vq~O!k:hO~O!k:iO~O!k:jO~O!k:jO~P%[O#`:mO!]#hy!^#hy~O!]#hy!^#hy~P#BwO%i:rO~P&8fO!_\x27`O%i:rO~O$O#|y!]#|y!^#|y~P#BwOP$|iR$|i[$|ij$|ir$|i!S$|i!l$|i!p$|i#R$|i#n$|i#o$|i#p$|i#q$|i#r$|i#s$|i#t$|i#u$|i#v$|i#x$|i#z$|i#{$|i$O$|i(a$|i(r$|i!]$|i!^$|i~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27iaR\x27ia[\x27iaj\x27ian\x27iar\x27ia!S\x27ia!l\x27ia!p\x27ia#R\x27ia#n\x27ia#o\x27ia#p\x27ia#q\x27ia#r\x27ia#s\x27ia#t\x27ia#u\x27ia#v\x27ia#x\x27ia#z\x27ia#{\x27ia$O\x27ia(a\x27ia(r\x27ia(y\x27ia!]\x27ia!^\x27ia~O!Q*OO\x27y*POP\x27kaR\x27ka[\x27kaj\x27kan\x27kar\x27ka!S\x27ka!l\x27ka!p\x27ka#R\x27ka#n\x27ka#o\x27ka#p\x27ka#q\x27ka#r\x27ka#s\x27ka#t\x27ka#u\x27ka#v\x27ka#x\x27ka#z\x27ka#{\x27ka$O\x27ka(a\x27ka(r\x27ka(y\x27ka(z\x27ka!]\x27ka!^\x27ka~O(y$}OP%aiR%ai[%aij%ain%air%ai!Q%ai!S%ai!l%ai!p%ai#R%ai#n%ai#o%ai#p%ai#q%ai#r%ai#s%ai#t%ai#u%ai#v%ai#x%ai#z%ai#{%ai$O%ai\x27y%ai(a%ai(r%ai(z%ai!]%ai!^%ai~O(z%POP%ciR%ci[%cij%cin%cir%ci!Q%ci!S%ci!l%ci!p%ci#R%ci#n%ci#o%ci#p%ci#q%ci#r%ci#s%ci#t%ci#u%ci#v%ci#x%ci#z%ci#{%ci$O%ci\x27y%ci(a%ci(r%ci(y%ci!]%ci!^%ci~O$O$oy!]$oy!^$oy~P#BwO$O#cy!]#cy!^#cy~P#BwO!g#vO!]\x27eq!k\x27eq~O!]/pO!k)Oy~O!Y\x27gq!]\x27gq~P#/sOr:|O!g#vO(r\x27pO~O[;QO!Y;PO~P#/sO!Y;PO~Og(_!R!](_!R~P!1WOa%[y!_%[y\x27z%[y!]%[y~P#/sO!]1TO!^)Xy~O!]5uO!^)Uq~O(T;XO~O!_1oO%i;[O~O!k;_O~O%i;dO~P&8fOP$|qR$|q[$|qj$|qr$|q!S$|q!l$|q!p$|q#R$|q#n$|q#o$|q#p$|q#q$|q#r$|q#s$|q#t$|q#u$|q#v$|q#x$|q#z$|q#{$|q$O$|q(a$|q(r$|q!]$|q!^$|q~P\x27\x27VO!Q*OO\x27y*PO(z%POP\x27jaR\x27ja[\x27jaj\x27jan\x27jar\x27ja!S\x27ja!l\x27ja!p\x27ja#R\x27ja#n\x27ja#o\x27ja#p\x27ja#q\x27ja#r\x27ja#s\x27ja#t\x27ja#u\x27ja#v\x27ja#x\x27ja#z\x27ja#{\x27ja$O\x27ja(a\x27ja(r\x27ja(y\x27ja!]\x27ja!^\x27ja~O!Q*OO\x27y*POP\x27laR\x27la[\x27laj\x27lan\x27lar\x27la!S\x27la!l\x27la!p\x27la#R\x27la#n\x27la#o\x27la#p\x27la#q\x27la#r\x27la#s\x27la#t\x27la#u\x27la#v\x27la#x\x27la#z\x27la#{\x27la$O\x27la(a\x27la(r\x27la(y\x27la(z\x27la!]\x27la!^\x27la~OP%OqR%Oq[%Oqj%Oqr%Oq!S%Oq!l%Oq!p%Oq#R%Oq#n%Oq#o%Oq#p%Oq#q%Oq#r%Oq#s%Oq#t%Oq#u%Oq#v%Oq#x%Oq#z%Oq#{%Oq$O%Oq(a%Oq(r%Oq!]%Oq!^%Oq~P\x27\x27VOg%e!Z!]%e!Z#`%e!Z$O%e!Z~P!1WO!Y;hO~P#/sOr;iO!g#vO(r\x27pO~O[;kO!Y;hO~P#/sO!]\x27pq!^\x27pq~P#BwO!]#h!Z!^#h!Z~P#BwO#k%e!ZP%e!ZR%e!Z[%e!Za%e!Zj%e!Zr%e!Z!S%e!Z!]%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z\x27z%e!Z(a%e!Z(r%e!Z!k%e!Z!Y%e!Z\x27w%e!Z#`%e!Zv%e!Z!_%e!Z%i%e!Z!g%e!Z~P#/sOr;tO!g#vO(r\x27pO~O!Y;uO~P#/sOr;|O!g#vO(r\x27pO~O!Y;}O~P#/sOP%e!ZR%e!Z[%e!Zj%e!Zr%e!Z!S%e!Z!l%e!Z!p%e!Z#R%e!Z#n%e!Z#o%e!Z#p%e!Z#q%e!Z#r%e!Z#s%e!Z#t%e!Z#u%e!Z#v%e!Z#x%e!Z#z%e!Z#{%e!Z$O%e!Z(a%e!Z(r%e!Z!]%e!Z!^%e!Z~P\x27\x27VOr<QO!g#vO(r\x27pO~Ov(fX~P1qO!Q%rO~P!)[O(U!lO~P!)[O!YfX!]fX#`fX~P%2OOP]XR]X[]Xj]Xr]X!Q]X!S]X!]]X!]fX!l]X!p]X#R]X#S]X#`]X#`fX#kfX#n]X#o]X#p]X#q]X#r]X#s]X#t]X#u]X#v]X#x]X#z]X#{]X$Q]X(a]X(r]X(y]X(z]X~O!gfX!k]X!kfX(rfX~P\x27LTOP<UOQ<UOSfOd>ROe!iOpkOr<UOskOtkOzkO|<UO!O<UO!SWO!WkO!XkO!_XO!i<XO!lZO!o<UO!p<UO!q<UO!s<YO!u<]O!x!hO$W!kO$n>PO(T)]O(VTO(YUO(aVO(o[O~O!]<iO!^$qa~Oh%VOp%WOr%XOs$tOt$tOz%YO|%ZO!O<tO!S${O!_$|O!i>WO!l$xO#j<zO$W%`O$t<vO$v<xO$y%aO(T(vO(VTO(YUO(a$uO(y$}O(z%PO~Ol)dO~P(!yOr!eX(r!eX~P#!iOr(jX(r(jX~P##[O!^]X!^fX~P\x27LTO!YfX!Y$zX!]fX!]$zX#`fX~P!0SO#k<^O~O!g#vO#k<^O~O#`<nO~Oj<bO~O#`=OO!](wX!^(wX~O#`<nO!](uX!^(uX~O#k=PO~Og=RO~P!1WO#k=XO~O#k=YO~Og=RO(T&ZO~O!g#vO#k=ZO~O!g#vO#k=PO~O$O=[O~P#BwO#k=]O~O#k=^O~O#k=cO~O#k=dO~O#k=eO~O#k=fO~O$O=gO~P!1WO$O=hO~P!1WOl=sO~P7eOk#S#T#U#W#X#[#i#j#u$n$t$v$y%]%^%h%i%j%q%s%v%w%y%{~(OT#o!X\x27|(U#ps#n#qr!Q\x27}$]\x27}(T$_(e~','goto':'$9Y)]PPPPPP)^PP)aP)rP+W/]PPPP6mPP7TPP=QPPP@tPA^PA^PPPA^PCfPA^PA^PA^PCjPCoPD^PIWPPPI[PPPPI[L_PPPLeMVPI[PI[PP!\x20eI[PPPI[PI[P!#lI[P!\x27S!(X!(bP!)U!)Y!)U!,gPPPPPPP!-W!(XPP!-h!/YP!2iI[I[!2n!5z!:h!:h!>gPPP!>oI[PPPPPPPPP!BOP!C]PPI[!DnPI[PI[I[I[I[I[PI[!FQP!I[P!LbP!Lf!Lp!Lt!LtP!IXP!Lx!LxP#!OP#!SI[PI[#!Y#%_CjA^PA^PA^A^P#&lA^A^#)OA^#+vA^#.SA^A^#.r#1W#1W#1]#1f#1W#1qPP#1WPA^#2ZA^#6YA^A^6mPPP#:_PPP#:x#:xP#:xP#;`#:xPP#;fP#;]P#;]#;y#;]#<e#<k#<n)aP#<q)aP#<z#<z#<zP)aP)aP)aP)aPP)aP#=Q#=TP#=T)aP#=XP#=[P)aP)aP)aP)aP)aP)a)aPP#=b#=h#=s#=y#>P#>V#>]#>k#>q#>{#?R#?]#?c#?s#?y#@k#@}#AT#AZ#Ai#BO#Cs#DR#DY#Et#FS#Gt#HS#HY#H`#Hf#Hp#Hv#H|#IW#Ij#IpPPPPPPPPPPP#IvPPPPPPP#Jk#Mx$\x20b$\x20i$\x20qPPP$\x27]P$\x27f$*_$0x$0{$1O$1}$2Q$2X$2aP$2g$2jP$3W$3[$4S$5b$5g$5}PP$6S$6Y$6^$6a$6e$6i$7e$7|$8e$8i$8l$8o$8y$8|$9Q$9UR!|RoqOXst!Z#d%m&r&t&u&w,s,x2[2_Y!vQ\x27`-e1o5{Q%tvQ%|yQ&T|Q&j!VS\x27W!e-]Q\x27f!iS\x27l!r!yU*k$|*Z*oQ+o%}S+|&V&WQ,d&dQ-c\x27_Q-m\x27gQ-u\x27mQ0[*qQ1b,OQ1y,eR<{<Y%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_S#q]<V!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU+P%]<s<tQ+t&PQ,f&gQ,m&oQ0x+gQ0}+iQ1Y+uQ2R,kQ3`.gQ5`0|Q5f1TQ6[1zQ7Y3dQ8`5gR9e7[\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%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S!S!nQ!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*k*o*q*r-]-c-e-u0[0_1o5{5}%[$ti#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q&X|Q\x27U!eS\x27[%i-`Q+t&PQ,P&WQ,f&gQ0n+SQ1Y+uQ1_+{Q2Q,jQ2R,kQ5f1TQ5o1aQ6[1zQ6_1|Q6`2PQ8`5gQ8c5lQ8|6bQ:X8dQ:f8yQ;V:YR<}*ZrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R,h&k&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%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>R>S[#]WZ#W#Z\x27X(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ%wxQ%{yW&Q|&V&W,OQ&_!TQ\x27c!hQ\x27e!iQ(q#sS+n%|%}Q+r&PQ,_&bQ,c&dS-l\x27f\x27gQ.i(rQ1R+oQ1X+uQ1Z+vQ1^+zQ1t,`S1x,d,eQ2|-mQ5e1TQ5i1WQ5n1`Q6Z1yQ8_5gQ8b5kQ8f5pQ:T8^R;T:U!U$zi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y!^%yy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{Q+h%wQ,T&[Q,W&]Q,b&dQ.h(qQ1s,_U1w,c,d,eQ3e.iQ6U1tS6Y1x1yQ8x6Z#f>T#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o>U<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hW%Ti%V*y>PS&[!Q&iQ&]!RQ&^!SU*}%[%d=sR,R&Y%]%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^T)z$u){V+P%]<s<tW\x27[!e%i*Z-`S(}#y#zQ+c%rQ+y&SS.b(m(nQ1j,XQ5T0kR8i5u\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%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S$i$^c#Y#e%q%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.|.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vT#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%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ\x27Y!eR2q-]!W!nQ!e!r!v!y!z$|\x27W\x27_\x27`\x27l\x27m\x27n*Z*k*o*q*r-]-c-e-u0[0_1o5{5}R1l,ZnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&y!^Q\x27v!xS(s#u<^Q+l%zQ,]&_Q,^&aQ-j\x27dQ-w\x27oS.r(x=PS0q+X=ZQ1P+mQ1n,[Q2c,zQ2e,{Q2m-WQ2z-kQ2}-oS5Y0r=eQ5a1QS5d1S=fQ6t2oQ6x2{Q6}3SQ8]5bQ9Y6vQ9Z6yQ9^7OR:l9V$d$]c#Y#e%s%u(S(Y(t(y)R)S)T)U)V)W)X)Y)Z)[)^)`)b)g)q+d+x-Z-x-}.S.U.s.v.z.}/O/b0p2k2n3O3V3k3p3q3r3s3t3u3v3w3x3y3z3{3|4P4Q4X5X5c6u6{7Q7a7b7k7l8k9X9]9g9m9n:o;W;`<W=vS(o#p\x27iQ)P#zS+b%q.|S.c(n(pR3^.d\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%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS#q]<VQ&t!XQ&u!YQ&w![Q&x!]R2Z,vQ\x27a!hQ+e%wQ-h\x27cS.e(q+hQ2x-gW3b.h.i0w0yQ6w2yW7U3_3a3e5^U9a7V7X7ZU:q9c9d9fS;b:p:sQ;p;cR;x;qU!wQ\x27`-eT5y1o5{!Q_OXZ`st!V!Z#d#h%e%m&i&k&r&t&u&w(j,s,x.[2[2_]!pQ!r\x27`-e1o5{T#q]<V%^{OPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S(}#y#zS.b(m(n!s=l$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SU$fd)_,mS(p#p\x27iU*v%R(w4OU0m+O.n7gQ5^0xQ7V3`Q9d7YR:s9em!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}Q\x27t!uS(f#g2US-s\x27k\x27wQ/s*]Q0R*jQ3U-vQ4f/tQ4r0TQ4s0UQ4x0^Q7r4`S7}4t4vS8R4y4{Q9r7sQ9v7yQ9{8OQ:Q8TS:{9w9xS;g:|;PS;s;h;iS;{;t;uS<P;|;}R<S<QQ#wbQ\x27s!uS(e#g2US(g#m+WQ+Y%fQ+j%xQ+p&OU-r\x27k\x27t\x27wQ.W(fU/r*]*`/wQ0S*jQ0V*lQ1O+kQ1u,aS3R-s-vQ3Z.`S4e/s/tQ4n0PS4q0R0^Q4u0WQ6W1vQ7P3US7q4`4bQ7u4fU7|4r4x4{Q8P4wQ8v6XS9q7r7sQ9u7yQ9}8RQ:O8SQ:c8wQ:y9rS:z9v9xQ;S:QQ;^:dS;f:{;PS;r;g;hS;z;s;uS<O;{;}Q<R<PQ<T<SQ=o=jQ={=tR=|=uV!wQ\x27`-e%^aOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_S#wz!j!r=i$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=o>R%^bOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Q%fj!^%xy!i!u%{%|%}\x27V\x27e\x27f\x27g\x27k\x27u*j+n+o-Y-l-m-t0R0U1R2u2|3T4r4s4v7}9{S&Oz!jQ+k%yQ,a&dW1v,b,c,d,eU6X1w1x1yS8w6Y6ZQ:d8x!r=j$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ=t>QR=u>R%QeOPXYstuvw!Z!`!g!o#S#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_Y#bWZ#W#Z(T!b%jm#h#i#l$x%e%h(^(h(i(j*Y*^*b+Z+[+^,o-V.T.Z.[.]._/m/p2d3[3]4a6r7TQ,n&o!p=k$Z$n)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SR=n\x27XU\x27]!e%i*ZR2s-`%SdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+],p,s,x-i-q.P.V.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3l4z6T6e6f6i6|8t9T9_!r)_$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SQ,m&oQ0x+gQ3`.gQ7Y3dR9e7[!b$Tc#Y%q(S(Y(t(y)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!P<d)^)q-Z.|2k2n3p3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!f$Vc#Y%q(S(Y(t(y)W)X)Z)[)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<W!T<f)^)q-Z.|2k2n3p3v3w3y3z4P4X6u7b7k7l8k9X9g9m9n;W;`=v!^$Zc#Y%q(S(Y(t(y)`)g+x-x-}.S.U.s.v/b0p3O3V3k3{5X5c6{7Q7a9]:o<WQ4_/kz>S)^)q-Z.|2k2n3p4P4X6u7b7k7l8k9X9g9m9n;W;`=vQ>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%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>SS$oh$pR4U/U\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%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$kf$qQ$ifS)j$l)nR)v$qT$jf$qT)l$l)n\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%m%t&R&k&n&o&r&t&u&w&{\x27T\x27X\x27b\x27r(T(V(](d(x(z)O)s)}*i+X+]+g,p,s,x-U-X-i-q.P.V.g.t.{/U/V/n0]0l0r1S1r2S2T2V2X2[2_2a2p3Q3W3d3l4T4z5w6T6e6f6i6s6|7[8t9T9_:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>ST$oh$pQ$rhR)u$p%^jOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%m%t&R&k&n&o&r&t&u&w&{\x27T\x27b\x27r(T(V(](d(x(z)O)}*i+X+]+g,p,s,x-i-q.P.V.g.t.{/n0]0l0r1S1r2S2T2V2X2[2_2a3Q3W3d3l4z6T6e6f6i6|7[8t9T9_!s>Q$Z$n\x27X)s-U-X/V2p4T5w6s:Z:m<U<X<Y<]<^<_<`<a<b<c<d<e<f<g<h<i<k<n<{=O=P=R=Z=[=e=f>S#glOPXZst!Z!`!o#S#d#o#{$n%m&k&n&o&r&t&u&w&{\x27T\x27b)O)s*i+]+g,p,s,x-i.g/V/n0]0l1r2S2T2V2X2[2_2a3d4T4z6T6e6f6i7[8t9T!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^Q+T%aQ/c*Oo4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!U$yi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>YQ*c$zU*l$|*Z*oQ+U%bQ0W*m#f=q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n=r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hQ=w>TQ=x>UQ=y>VR=z>W!U%Ri$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y#f(w#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^o4O<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=hnoOXst!Z#d%m&r&t&u&w,s,x2[2_S*f${*YQ-R\x27OQ-S\x27QR4i/y%[%Si#v$b$c$d$x${%O%Q%^%_%c)y*R*T*V*Y*a*g*w*x+f+i,S,V.f/P/d/m/x/y/{0`0b0i0j0o1f1i1q3c4^4_4j4o5Q5[5_6S7W7v8Q8V8[8q9b9p9y:P:`:r;Q;[;d;k<l<m<o<p<q<r<u<v<w<x<y<z=S=T=U=V=X=Y=]=^=_=`=a=b=c=d=g=h>P>X>Y>]>^Q,U&]Q1h,WQ5s1gR8h5tV*n$|*Z*oU*n$|*Z*oT5z1o5{S0P*i/nQ4w0]T8S4z:]Q+j%xQ0V*lQ1O+kQ1u,aQ6W1vQ8v6XQ:c8wR;^:d!U%Oi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Yx*R$v)e*S*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>OS0`*t0a#f<o#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<p<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!d=S(u)c*[*e.j.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[`=T3}7c7f7j9h:t:w;yS=_.l3iT=`7e9k!U%Qi$d%O%Q%^%_%c*R*T*a*w*x/P/x0`0b0i0j0o4_5Q8V9p>P>X>Y|*T$v)e*U*t+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>OS0b*u0c#f<q#v$b$c$x${)y*V*Y*g+f+i,S,V.f/d/m/y/{1f1i1q3c4^4j4o5[5_6S7W7v8Q8[8q9b9y:P:`:r;Q;[;d;k<o<q<u<w<y=S=U=X=]=_=a=c=g>]>^n<r<l<m<p<r<v<x<z=T=V=Y=^=`=b=d=h!h=U(u)c*[*e.k.l.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[d=V3}7d7e7j9h9i:t:u:w;yS=a.m3jT=b7f9lrnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q&f!UR,p&ornOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_R&f!UQ,Y&^R1d,RsnOXst!V!Z#d%m&i&r&t&u&w,s,x2[2_Q1p,_S6R1s1tU8p6P6Q6US:_8r8sS;Y:^:aQ;m;ZR;w;nQ&m!VR,i&iR6_1|R:f8yW&Q|&V&W,OR1Z+vQ&r!WR,s&sR,y&xT2],x2_R,}&yQ,|&yR2f,}Q\x27y!{R-y\x27ySsOtQ#dXT%ps#dQ#OTR\x27{#OQ#RUR\x27}#RQ){$uR/`){Q#UVR(Q#UQ#XWU(W#X(X.QQ(X#YR.Q(YQ-^\x27YR2r-^Q.u(yS3m.u3nR3n.vQ-e\x27`R2v-eY!rQ\x27`-e1o5{R\x27j!rQ/Q)eR4S/QU#_W%h*YU(_#_(`.RQ(`#`R.R(ZQ-a\x27]R2t-at`OXst!V!Z#d%m&i&k&r&t&u&w,s,x2[2_S#hZ%eU#r`#h.[R.[(jQ(k#jQ.X(gW.a(k.X3X7RQ3X.YR7R3YQ)n$lR/W)nQ$phR)t$pQ$`cU)a$`-|<jQ-|<WR<j)qQ/q*]W4c/q4d7t9sU4d/r/s/tS7t4e4fR9s7u$e*Q$v(u)c)e*[*e*t*u+Q+R+V.l.m.o.p.q/_/g/i/k/v/|0d0e0v1e3f3g3h3}4R4[4g4h4l4|5O5R5S5W5r7]7^7_7`7e7f7h7i7j7p7w7z8U8X8Z9h9i9j9t9|:R:S:t:u:v:w:x:};R;e;j;v;y=p=}>O>Z>[Q/z*eU4k/z4m7xQ4m/|R7x4lS*o$|*ZR0Y*ox*S$v)e*t*u+V/v0d0e4R4g5R5S5W7p8U:R:x=p=}>O!d.j(u)c*[*e.l.m.q/_/k/|0v1e3h4[4h4l5r7]7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/h*S.j7ca7c3}7e7f7j9h:t:w;yQ0a*tQ3i.lU4}0a3i9kR9k7e|*U$v)e*t*u+V/g/v0d0e4R4g4|5R5S5W7p8U:R:x=p=}>O!h.k(u)c*[*e.l.m.q/_/k/|0v1e3f3h4[4h4l5r7]7^7`7w7z8X8Z9t9|:S:};R;e;j;v>Z>[U/j*U.k7de7d3}7e7f7j9h9i:t:u:w;yQ0c*uQ3j.mU5P0c3j9lR9l7fQ*z%UR0g*zQ5]0vR8Y5]Q+_%kR0u+_Q5v1jS8j5v:[R:[8kQ,[&_R1m,[Q5{1oR8m5{Q1{,fS6]1{8zR8z6_Q1U+rW5h1U5j8a:VQ5j1XQ8a5iR:V8bQ+w&QR1[+wQ2_,xR6m2_YrOXst#dQ&v!ZQ+a%mQ,r&rQ,t&tQ,u&uQ,w&wQ2Y,sS2],x2_R6l2[Q%opQ&z!_Q&}!aQ\x27P!bQ\x27R!cQ\x27q!uQ+`%lQ+l%zQ,Q&XQ,h&mQ-P&|W-p\x27k\x27s\x27t\x27wQ-w\x27oQ0X*nQ1P+mQ1c,PS2O,i,lQ2g-OQ2h-RQ2i-SQ2}-oW3P-r-s-v-xQ5a1QQ5m1_Q5q1eQ6V1uQ6a2QQ6k2ZU6z3O3R3UQ6}3SQ8]5bQ8e5oQ8g5rQ8l5zQ8u6WQ8{6`S9[6{7PQ9^7OQ:W8cQ:b8vQ:g8|Q:n9]Q;U:XQ;]:cQ;a:oQ;l;VR;o;^Q%zyQ\x27d!iQ\x27o!uU+m%{%|%}Q-W\x27VU-k\x27e\x27f\x27gS-o\x27k\x27uQ0Q*jS1Q+n+oQ2o-YS2{-l-mQ3S-tS4p0R0UQ5b1RQ6v2uQ6y2|Q7O3TU7{4r4s4vQ9z7}R;O9{S$wi>PR*{%VU%Ui%V>PR0f*yQ$viS(u#v+iS)c$b$cQ)e$dQ*[$xS*e${*YQ*t%OQ*u%QQ+Q%^Q+R%_Q+V%cQ.l<oQ.m<qQ.o<uQ.p<wQ.q<yQ/_)yQ/g*RQ/i*TQ/k*VQ/v*aS/|*g/mQ0d*wQ0e*xl0v+f,V.f1i1q3c6S7W8q9b:`:r;[;dQ1e,SQ3f=SQ3g=UQ3h=XS3}<l<mQ4R/PS4[/d4^Q4g/xQ4h/yQ4l/{Q4|0`Q5O0bQ5R0iQ5S0jQ5W0oQ5r1fQ7]=]Q7^=_Q7_=aQ7`=cQ7e<pQ7f<rQ7h<vQ7i<xQ7j<zQ7p4_Q7w4jQ7z4oQ8U5QQ8X5[Q8Z5_Q9h=YQ9i=TQ9j=VQ9t7vQ9|8QQ:R8VQ:S8[Q:t=^Q:u=`Q:v=bQ:w=dQ:x9pQ:}9yQ;R:PQ;e=gQ;j;QQ;v;kQ;y=hQ=p>PQ=}>XQ>O>YQ>Z>]R>[>^Q+O%]Q.n<sR7g<tnpOXst!Z#d%m&r&t&u&w,s,x2[2_Q!fPS#fZ#oQ&|!`W\x27h!o*i0]4zQ(P#SQ)Q#{Q)r$nS,l&k&nQ,q&oQ-O&{S-T\x27T/nQ-g\x27bQ.x)OQ/[)sQ0s+]Q0y+gQ2W,pQ2y-iQ3a.gQ4W/VQ5U0lQ6Q1rQ6c2SQ6d2TQ6h2VQ6j2XQ6o2aQ7Z3dQ7m4TQ8s6TQ9P6eQ9Q6fQ9S6iQ9f7[Q:a8tR:k9T#[cOPXZst!Z!`!o#d#o#{%m&k&n&o&r&t&u&w&{\x27T\x27b)O*i+]+g,p,s,x-i.g/n0]0l1r2S2T2V2X2[2_2a3d4z6T6e6f6i7[8t9TQ#YWQ#eYQ%quQ%svS%uw!gS(S#W(VQ(Y#ZQ(t#uQ(y#xQ)R$OQ)S$PQ)T$QQ)U$RQ)V$SQ)W$TQ)X$UQ)Y$VQ)Z$WQ)[$XQ)^$ZQ)`$_Q)b$aQ)g$eW)q$n)s/V4TQ+d%tQ+x&RS-Z\x27X2pQ-x\x27rS-}(T.PQ.S(]Q.U(dQ.s(xQ.v(zQ.z<UQ.|<XQ.}<YQ/O<]Q/b)}Q0p+XQ2k-UQ2n-XQ3O-qQ3V.VQ3k.tQ3p<^Q3q<_Q3r<`Q3s<aQ3t<bQ3u<cQ3v<dQ3w<eQ3x<fQ3y<gQ3z<hQ3{.{Q3|<kQ4P<nQ4Q<{Q4X<iQ5X0rQ5c1SQ6u=OQ6{3QQ7Q3WQ7a3lQ7b=PQ7k=RQ7l=ZQ8k5wQ9X6sQ9]6|Q9g=[Q9m=eQ9n=fQ:o9_Q;W:ZQ;`:mQ<W#SR=v>SR#[WR\x27Z!el!tQ!r!v!y!z\x27`\x27l\x27m\x27n-e-u1o5{5}S\x27V!e-]U*j$|*Z*oS-Y\x27W\x27_S0U*k*qQ0^*rQ2u-cQ4v0[R4{0_R({#xQ!fQT-d\x27`-e]!qQ!r\x27`-e1o5{Q#p]R\x27i<VR)f$dY!uQ\x27`-e1o5{Q\x27k!rS\x27u!v!yS\x27w!z5}S-t\x27l\x27mQ-v\x27nR3T-uT#kZ%eS#jZ%eS%km,oU(g#h#i#lS.Y(h(iQ.^(jQ0t+^Q3Y.ZU3Z.[.]._S7S3[3]R9`7Td#^W#W#Z%h(T(^*Y+Z.T/mr#gZm#h#i#l%e(h(i(j+^.Z.[.]._3[3]7TS*]$x*bQ/t*^Q2U,oQ2l-VQ4`/pQ6q2dQ7s4aQ9W6rT=m\x27X+[V#aW%h*YU#`W%h*YS(U#W(^U(Z#Z+Z/mS-[\x27X+[T.O(T.TV\x27^!e%i*ZQ$lfR)x$qT)m$l)nR4V/UT*_$x*bT*h${*YQ0w+fQ1g,VQ3_.fQ5t1iQ6P1qQ7X3cQ8r6SQ9c7WQ:^8qQ:p9bQ;Z:`Q;c:rQ;n;[R;q;dnqOXst!Z#d%m&r&t&u&w,s,x2[2_Q&l!VR,h&itmOXst!U!V!Z#d%m&i&r&t&u&w,s,x2[2_R,o&oT%lm,oR1k,XR,g&gQ&U|S+}&V&WR1^,OR+s&PT&p!W&sT&q!W&sT2^,x2_','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\x20in\x20out\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\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\x20defer\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':0x17c,'context':_0x2808d5,'nodeProps':[['isolate',-0x8,0x5,0x6,0xe,0x25,0x27,0x33,0x35,0x37,''],['group',-0x1a,0x9,0x11,0x13,0x44,0xcf,0xd3,0xd7,0xd8,0xda,0xdd,0xe0,0xea,0xed,0xf3,0xf5,0xf7,0xf9,0xfc,0x102,0x108,0x10a,0x10c,0x10e,0x110,0x112,0x113,'Statement',-0x22,0xd,0xe,0x20,0x23,0x24,0x2a,0x33,0x36,0x37,0x39,0x3e,0x46,0x48,0x4c,0x50,0x52,0x54,0x55,0x6e,0x6f,0x78,0x79,0x88,0x8b,0x8d,0x8e,0x8f,0x90,0x91,0x93,0x94,0xa7,0xa9,0xab,'Expression',-0x17,0x1f,0x21,0x25,0x29,0x2b,0x2d,0xad,0xaf,0xb1,0xb2,0xb4,0xb5,0xb6,0xb8,0xb9,0xba,0xbc,0xbd,0xbe,0xc9,0xcb,0xcd,0xce,'Type',-0x3,0x58,0x67,0x6d,'ClassItem'],['openedBy',0x17,'<',0x26,'InterpolationStart',0x38,'[',0x3c,'{',0x49,'(',0xa0,'JSXStartCloseTag'],['closedBy',-0x2,0x18,0xa8,'>',0x28,'InterpolationEnd',0x32,']',0x3d,'}',0x4a,')',0xa5,'JSXEndTag']],'propSources':[_0x19cf6f],'skippedNodes':[0x0,0x5,0x6,0x116],'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_$i&j(Wp(Z!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$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c&j&zP;=`<%l&c\x27|\x27U]$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!b(SU(Z!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!b(iP;=`<%l\x27}\x27|(oP;=`<%l&}\x27[(y]$i&j(WpOY(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(WpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)rp*^P;=`<%l)r\x27[*dP;=`<%l(r#S*nX(Wp(Z!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$i&j(Wp(Z!b\x27|0/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(X#S$i&j\x27}0/lO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c07[.n_$i&j(Wp(Z!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`$i&j!p),Q(Wp(Z!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`#v(Ch$i&j(Wp(Z!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_#v(Ch$i&j(Wp(Z!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_(V\x27:f$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k(^4r_$i&j(Z!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;\x27S4k;\x27S;=`:X<%lO4k&z5vX$i&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;\x27S5q;\x27S;=`7h<%lO5q&z6jT$d`$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c`6|TOr6yrs7]s;\x27S6y;\x27S;=`7b<%lO6y`7bO$d``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$d`$i&j(Z!bOY&}YZ&cZw&}wx&cx!^&}!^!_\x27}!_#O&}#O#P&c#P#o&}#o#p\x27}#p;\x27S&};\x27S;=`(l<%lO&}!r8uZ(Z!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;\x27S8p;\x27S;=`:R<%lO8p!r9oU$d`(Z!bOY\x27}Zw\x27}x#O\x27}#P;\x27S\x27};\x27S;=`(f<%lO\x27}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$i&j(Wp(Z!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$i&j(Wp(Z!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$i&j(Z!bOY=^YZ&cZw=^wx>`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;\x27S=^;\x27S;=`@h<%lO=^&n>gXWS$i&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(Z!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$i&j(WpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;\x27S@n;\x27S;=`Bg<%lO@ntAwWWS(WpOYApZrAprs?Ss#OAp#O#P?S#P;\x27SAp;\x27S;=`Ba<%lOAptBdP;=`<%lAp\x27`BjP;=`<%l@n#WBvYWS(Wp(Z!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;\x27SBm;\x27S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l<S%9[C}i$i&j(o%1l(Wp(Z!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$i&j(Wp(Z!b$]#t(T,2j(e$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$i&j(Wp(Z!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_`$i&j(Wp(Z!b#p(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_$i&j$Q(Ch(Wp(Z!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(z+JY$i&j(Wp(Z!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`$i&j#z(Ch(Wp(Z!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_(Y\x27;W$i&j(WpOY!!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_$i&j(WpOY!!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$i&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]$d`$i&j(WpOY(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(WpOY!%zYZ!$YZr!%zrs!$Ysw!%zwx!&rx#O!%z#O#P!$Y#P;\x27S!%z;\x27S;=`!\x27]<%lO!%z!Q!&yU$d`(WpOY)rZr)rs#O)r#P;\x27S)r;\x27S;=`*Z<%lO)r!Q!\x27`P;=`<%l!%z\x27l!\x27fP;=`<%l!!b/5|!\x27t_!l/.^$i&j(Wp(Z!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_!k!Lf$i&j(Wp(Z!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$i&j(Wp(Z!b(U%&f#q(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`$i&j(Wp(Z!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+;x!,|`$i&j(Wp(Z!br+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_!]+Jf$i&j(Wp(Z!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$i&j(Wp(Z!b!Q.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$i&j(Wp(Z!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_![!L^$i&j(Wp(Z!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$i&j(Wp(Z!bs\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$i&j(Wp(Z!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$i&j(Wp(Z!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$i&j(Wp(Z!bs\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$i&j(Wp(Z!b#o(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$i&j(Wp(Z!b!X7`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`$i&j(Z!b!X7`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^$i&j!X7`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$i&j!X7`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!X7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;\x27S!@c;\x27S;=`!CQ<%lO!@c7`!AYW!X7`#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][$i&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$i&jOY!CWYZ&cZ!^!CW!^!_!Ar!_#o!CW#o#p!Ar#p;\x27S!CW;\x27S;=`!Ds<%lO!CW<z!DvP;=`<%l!CW<z!EOX$i&jOY!=yYZ&cZ!^!=y!^!_!@c!_#o!=y#o#p!@c#p;\x27S!=y;\x27S;=`!Ek<%lO!=y<z!EnP;=`<%l!=y>^!Ezl$i&j(Z!b!X7`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(Z!b!X7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;\x27S!Gr;\x27S;=`!J|<%lO!Gr8r!Hse(Z!b!X7`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(Z!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^$i&j(Z!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`$i&j(Wp!X7`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$i&j(Wp!X7`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(Wp!X7`OY#\x20oZr#\x20ors!@cs!P#\x20o!P!Q#!i!Q!}#\x20o!}#O#$R#O#P!Bq#P;\x27S#\x20o;\x27S;=`#$y<%lO#\x20o8Q#!pe(Wp!X7`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(WpOY#$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^$i&j(WpOY#%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$i&j(Wp(Z!b!X7`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](Wp(Z!b!X7`OY#(iZr#(irs!Grsw#(iwx#\x20ox!P#(i!P!Q#)k!Q!}#(i!}#O#+`#O#P!Bq#P;\x27S#(i;\x27S;=`#,`<%lO#(i9d#)th(Wp(Z!b!X7`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(Wp(Z!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`$i&j(Wp(Z!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$i&j(Wp(Z!b(O0/l!X7`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_$i&j(Wp(Z!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]$i&j(Z!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$i&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(Z!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]$i&j(WpT0/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(WpT0/lOY#5QZr#5Qrs#2ds#O#5Q#O#P#2d#P;\x27S#5Q;\x27S;=`#5q<%lO#5Q00^#5tP;=`<%l#5Q05x#5zP;=`<%l#4O01p#6WY(Wp(Z!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$i&j$Q(Ch(Wp(Z!b!X7`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$Z#t$i&j(Wp(Z!b!X7`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$i&j(Wp(Z!bs\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$i&j(Wp(Z!bs\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_$i&j(Wp(Z!bs\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$i&j(Wp(Z!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$i&j(Wp(Z!bs\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$i&j(Wp(Z!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$i&j(Wp(Z!bs\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$i&j(Wp(Z!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$i&j(Wp(Z!bs\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_!g$b$i&j$O)Lv(Wp(Z!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$i&j(Wp(Z!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#)`#R-<U(Wp(Z!b$n7`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$k&j(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#M}Z#r(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx!_*g!_!`#Np!`#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El#NyX$Q(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g(El$\x20oX#s(Ch(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g*)x$!ga#`*!Y$i&j(Wp(Z!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_#k(Cl$i&j(Wp(Z!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#s(Ch$f#|$i&j(Wp(Z!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_#s(Ch$i&j(Wp(Z!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#r(Ch$i&j(Wp(Z!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`#r(Ch$i&j(Wp(Z!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(r(Ct$i&j(Wp(Z!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`$i&j#{(Ch(Wp(Z!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%#`$,}_!|$Ip$i&j(Wp(Z!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_!S0,v$i&j(Wp(Z!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$i&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$i&jO!^&c!_#o&c#p;\x27S&c;\x27S;=`&w<%lO&c#S$0kO_#S(n$0p[$i&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$i&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$i&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$i&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_!Y#)l$i&j(Wp(Z!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`#x(Ch$i&j(Wp(Z!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_$i&j(Wp(Z!b(a+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$i&j(Wp(Z!b(T,2j$_#t(e$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$i&j(Wp(Z!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(Wp(Z!bOY*gZr*grs\x27}sw*gwx)rx#O*g#P;\x27S*g;\x27S;=`+Z<%lO*g,#x$=sa(y+JY$i&j(Wp(Z!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_!^(CdvBr$i&j(Wp(Z!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_!q7`$i&j(Wp(Z!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|$i&j(Wp(Z!b\x27|0/l$]#t(T,2j(e$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$i&j(Wp(Z!b\x27}0/l$]#t(T,2j(e$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':[_0x23fc5b,_0x1aa3bf,_0x1dde79,_0x1cad37,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,0xe,_0x518602,new _0x504c26('$S~RRtu[#O#Pg#S#T#|~_P#o#pb~gOx~~jVO#i!P#i#j!U#j#l!P#l#m!q#m;\x27S!P;\x27S;=`#v<%lO!P~!UO!U~~!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(c~~',0x8d,0x154),new _0x504c26('j~RQYZXz{^~^O(Q~~aP!P!Qd~iO(R~~',0x19,0x143)],'topRules':{'Script':[0x0,0x7],'SingleExpression':[0x1,0x114],'SingleClassItem':[0x2,0x115]},'dialects':{'jsx':0x0,'ts':0x3b47},'dynamicPrecedences':{0x50:0x1,0x52:0x1,0x5e:0x1,0xa9:0x1,0xc7:0x1},'specialized':[{'term':0x147,'get':_0x3486e6=>_0x1268b6[_0x3486e6]||-0x1},{'term':0x157,'get':_0x4ebf05=>_0x489deb[_0x4ebf05]||-0x1},{'term':0x5f,'get':_0x337325=>_0x54180b[_0x337325]||-0x1}],'tokenPrec':0x3b61}),_0x1e7c77=[_0x58953f('function\x20${name}(${params})\x20{\x0a\x09${}\x0a}',{'label':'function','detail':'definition','type':'keyword'}),_0x58953f('for\x20(let\x20${index}\x20=\x200;\x20${index}\x20<\x20${bound};\x20${index}++)\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'loop','type':'keyword'}),_0x58953f('for\x20(let\x20${name}\x20of\x20${collection})\x20{\x0a\x09${}\x0a}',{'label':'for','detail':'of\x20loop','type':'keyword'}),_0x58953f('do\x20{\x0a\x09${}\x0a}\x20while\x20(${})',{'label':'do','detail':'loop','type':'keyword'}),_0x58953f('while\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'while','detail':'loop','type':'keyword'}),_0x58953f('try\x20{\x0a\x09${}\x0a}\x20catch\x20(${error})\x20{\x0a\x09${}\x0a}',{'label':'try','detail':'/\x20catch\x20block','type':'keyword'}),_0x58953f('if\x20(${})\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'block','type':'keyword'}),_0x58953f('if\x20(${})\x20{\x0a\x09${}\x0a}\x20else\x20{\x0a\x09${}\x0a}',{'label':'if','detail':'/\x20else\x20block','type':'keyword'}),_0x58953f('class\x20${name}\x20{\x0a\x09constructor(${params})\x20{\x0a\x09\x09${}\x0a\x09}\x0a}',{'label':'class','detail':'definition','type':'keyword'}),_0x58953f('import\x20{${names}}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'named','type':'keyword'}),_0x58953f('import\x20${name}\x20from\x20\x22${module}\x22\x0a${}',{'label':'import','detail':'default','type':'keyword'})],_0x7b4406=_0x1e7c77['concat']([_0x58953f('interface\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'interface','detail':'definition','type':'keyword'}),_0x58953f('type\x20${name}\x20=\x20${type}',{'label':'type','detail':'definition','type':'keyword'}),_0x58953f('enum\x20${name}\x20{\x0a\x09${}\x0a}',{'label':'enum','detail':'definition','type':'keyword'})]),_0x10965e=new _0x1c1a8c(),_0x478617=new Set(['Script','Block','FunctionExpression','FunctionDeclaration','ArrowFunction','MethodDeclaration','ForStatement']);function _0x3aa2e3(_0x1e1c4b){return(_0x34bfff,_0x4e45c9)=>{let _0x40f269=_0x34bfff['node']['getChild']('VariableDefinition');return _0x40f269&&_0x4e45c9(_0x40f269,_0x1e1c4b),!0x0;};}const _0x8de09b=['FunctionDeclaration'],_0x43cf69={'FunctionDeclaration':_0x3aa2e3('function'),'ClassDeclaration':_0x3aa2e3('class'),'ClassExpression':()=>!0x0,'EnumDeclaration':_0x3aa2e3('constant'),'TypeAliasDeclaration':_0x3aa2e3('type'),'NamespaceDeclaration':_0x3aa2e3('namespace'),'VariableDefinition'(_0xca8ebd,_0x5a9b32){_0xca8ebd['matchContext'](_0x8de09b)||_0x5a9b32(_0xca8ebd,'variable');},'TypeDefinition'(_0x338315,_0x5d80e3){_0x5d80e3(_0x338315,'type');},'__proto__':null};function _0x4b7abb(_0xbde265,_0x3fac04){let _0x4a38f3=_0x10965e['get'](_0x3fac04);if(_0x4a38f3)return _0x4a38f3;let _0xd76b32=[],_0x13b1ad=!0x0;function _0x41e0c7(_0x3cf5ee,_0x2cd6ac){let _0x3b451f=_0xbde265['sliceString'](_0x3cf5ee['from'],_0x3cf5ee['to']);_0xd76b32['push']({'label':_0x3b451f,'type':_0x2cd6ac});}return _0x3fac04['cursor'](_0x529189['IncludeAnonymous'])['iterate'](_0x1f818f=>{if(_0x13b1ad)_0x13b1ad=!0x1;else{if(_0x1f818f['name']){let _0x4f9181=_0x43cf69[_0x1f818f['name']];if(_0x4f9181&&_0x4f9181(_0x1f818f,_0x41e0c7)||_0x478617['has'](_0x1f818f['name']))return!0x1;}else{if(_0x1f818f['to']-_0x1f818f['from']>0x2000){for(let _0x3904de of _0x4b7abb(_0xbde265,_0x1f818f['node']))_0xd76b32['push'](_0x3904de);return!0x1;}}}}),_0x10965e['set'](_0x3fac04,_0xd76b32),_0xd76b32;}const _0x288588=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,_0x357b28=['TemplateString','String','RegExp','LineComment','BlockComment','VariableDefinition','TypeDefinition','Label','PropertyDefinition','PropertyName','PrivatePropertyDefinition','PrivatePropertyName','JSXText','JSXAttributeValue','JSXOpenTag','JSXCloseTag','JSXSelfClosingTag','.','?.'];function _0x5e0ce3(_0x2e9d92){let _0x561df3=_0xcd4dc4(_0x2e9d92['state'])['resolveInner'](_0x2e9d92['pos'],-0x1);if(_0x357b28['indexOf'](_0x561df3['name'])>-0x1)return null;let _0x40746d='VariableName'==_0x561df3['name']||_0x561df3['to']-_0x561df3['from']<0x14&&_0x288588['test'](_0x2e9d92['state']['sliceDoc'](_0x561df3['from'],_0x561df3['to']));if(!_0x40746d&&!_0x2e9d92['explicit'])return null;let _0x4f8dbd=[];for(let _0x473d18=_0x561df3;_0x473d18;_0x473d18=_0x473d18['parent'])_0x478617['has'](_0x473d18['name'])&&(_0x4f8dbd=_0x4f8dbd['concat'](_0x4b7abb(_0x2e9d92['state']['doc'],_0x473d18)));return{'options':_0x4f8dbd,'from':_0x40746d?_0x561df3['from']:_0x2e9d92['pos'],'validFor':_0x288588};}const _0x2f5fe9=_0x3e4f27['define']({'name':'javascript','parser':_0x3cc000['configure']({'props':[_0x265e6b['add']({'IfStatement':_0x3967b6({'except':/^\s*({|else\b)/}),'TryStatement':_0x3967b6({'except':/^\s*({|catch\b|finally\b)/}),'LabeledStatement':_0x2b9025=>_0x2b9025['baseIndent'],'SwitchBody':_0x7394c1=>{let _0x1a2179=_0x7394c1['textAfter'],_0x4c4ce1=/^\s*\}/['test'](_0x1a2179),_0xa246a0=/^\s*(case|default)\b/['test'](_0x1a2179);return _0x7394c1['baseIndent']+(_0x4c4ce1?0x0:_0xa246a0?0x1:0x2)*_0x7394c1['unit'];},'Block':_0x424a46({'closing':'}'}),'ArrowFunction':_0x2d3e84=>_0x2d3e84['baseIndent']+_0x2d3e84['unit'],'TemplateString\x20BlockComment':()=>null,'Statement\x20Property':_0x3967b6({'except':/^\s*{/}),'JSXElement'(_0x45e50f){let _0x397250=/^\s*<\//['test'](_0x45e50f['textAfter']);return _0x45e50f['lineIndent'](_0x45e50f['node']['from'])+(_0x397250?0x0:_0x45e50f['unit']);},'JSXEscape'(_0x55fda6){let _0x4bd4e2=/\s*\}/['test'](_0x55fda6['textAfter']);return _0x55fda6['lineIndent'](_0x55fda6['node']['from'])+(_0x4bd4e2?0x0:_0x55fda6['unit']);},'JSXOpenTag\x20JSXSelfClosingTag':_0x1b676e=>_0x1b676e['column'](_0x1b676e['node']['from'])+_0x1b676e['unit']}),_0x8620af['add']({'Block\x20ClassBody\x20SwitchBody\x20EnumBody\x20ObjectExpression\x20ArrayExpression\x20ObjectType':_0x110d7d,'BlockComment':_0x30fb74=>({'from':_0x30fb74['from']+0x2,'to':_0x30fb74['to']-0x2}),'JSXElement'(_0x2665fa){let _0x4e7b8b=_0x2665fa['firstChild'];if(!_0x4e7b8b||'JSXSelfClosingTag'==_0x4e7b8b['name'])return null;let _0x2d62db=_0x2665fa['lastChild'];return{'from':_0x4e7b8b['to'],'to':_0x2d62db['type']['isError']?_0x2665fa['to']:_0x2d62db['from']};},'JSXSelfClosingTag\x20JSXOpenTag'(_0x3dc051){var _0xdc3dd3;let _0x1e4c71=null===(_0xdc3dd3=_0x3dc051['firstChild'])||void 0x0===_0xdc3dd3?void 0x0:_0xdc3dd3['nextSibling'],_0x38b0d8=_0x3dc051['lastChild'];return!_0x1e4c71||_0x1e4c71['type']['isError']?null:{'from':_0x1e4c71['to'],'to':_0x38b0d8['type']['isError']?_0x3dc051['to']:_0x38b0d8['from']};}})]}),'languageData':{'closeBrackets':{'brackets':['(','[','{','\x27','\x22','`']},'commentTokens':{'line':'//','block':{'open':'/*','close':'*/'}},'indentOnInput':/^\s*(?:case |default:|\{|\}|<\/)$/,'wordChars':'$'}}),_0x4c5042={'test':_0x572bc8=>/^JSX/['test'](_0x572bc8['name']),'facet':_0xd6a355({'commentTokens':{'block':{'open':'{/*','close':'*/}'}}})},_0x15760e=_0x2f5fe9['configure']({'dialect':'ts'},'typescript'),_0x4fde1b=_0x2f5fe9['configure']({'dialect':'jsx','props':[_0x3245b9['add'](_0x204766=>_0x204766['isTop']?[_0x4c5042]:void 0x0)]}),_0x4179d8=_0x2f5fe9['configure']({'dialect':'jsx\x20ts','props':[_0x3245b9['add'](_0x3227de=>_0x3227de['isTop']?[_0x4c5042]:void 0x0)]},'typescript');let _0x3dd999=_0x503822=>({'label':_0x503822,'type':'keyword'});const _0x3056df='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'](_0x3dd999),_0x2ce949=_0x3056df['concat'](['declare','implements','private','protected','public']['map'](_0x3dd999));function _0x5efb31(_0x2a0b25={}){let _0x10233c=_0x2a0b25['jsx']?_0x2a0b25['typescript']?_0x4179d8:_0x4fde1b:_0x2a0b25['typescript']?_0x15760e:_0x2f5fe9,_0x12bae6=_0x2a0b25['typescript']?_0x7b4406['concat'](_0x2ce949):_0x1e7c77['concat'](_0x3056df);return new _0x45630c(_0x10233c,[_0x2f5fe9['data']['of']({'autocomplete':(_0x517a16=_0x357b28,_0x480fe9=_0x3e1c3b(_0x12bae6),_0x52a05b=>{for(let _0x57c271=_0xcd4dc4(_0x52a05b['state'])['resolveInner'](_0x52a05b['pos'],-0x1);_0x57c271;_0x57c271=_0x57c271['parent']){if(_0x517a16['indexOf'](_0x57c271['name'])>-0x1)return null;if(_0x57c271['type']['isTop'])break;}return _0x480fe9(_0x52a05b);})}),_0x2f5fe9['data']['of']({'autocomplete':_0x5e0ce3}),_0x2a0b25['jsx']?_0xe1809:[]]);var _0x517a16,_0x480fe9;}function _0x11f5c8(_0x3ddab2,_0x965a65,_0x1bf81f=_0x3ddab2['length']){for(let _0xd082d5=null==_0x965a65?void 0x0:_0x965a65['firstChild'];_0xd082d5;_0xd082d5=_0xd082d5['nextSibling'])if('JSXIdentifier'==_0xd082d5['name']||'JSXBuiltin'==_0xd082d5['name']||'JSXNamespacedName'==_0xd082d5['name']||'JSXMemberExpression'==_0xd082d5['name'])return _0x3ddab2['sliceString'](_0xd082d5['from'],Math['min'](_0xd082d5['to'],_0x1bf81f));return'';}const _0x38364c='object'==typeof navigator&&/Android\b/['test'](navigator['userAgent']),_0xe1809=_0x118ca6['inputHandler']['of']((_0x572d68,_0x3c36a9,_0x1aabc2,_0x5e2db3,_0x18efbb)=>{if((_0x38364c?_0x572d68['composing']:_0x572d68['compositionStarted'])||_0x572d68['state']['readOnly']||_0x3c36a9!=_0x1aabc2||'>'!=_0x5e2db3&&'/'!=_0x5e2db3||!_0x2f5fe9['isActiveAt'](_0x572d68['state'],_0x3c36a9,-0x1))return!0x1;let _0x2ceced=_0x18efbb(),{state:_0x57e493}=_0x2ceced,_0x583a37=_0x57e493['changeByRange'](_0x4bd243=>{var _0x32c224;let _0x416ca0,{head:_0x107a5f}=_0x4bd243,_0x5e8edc=_0xcd4dc4(_0x57e493)['resolveInner'](_0x107a5f-0x1,-0x1);if('JSXStartTag'==_0x5e8edc['name']&&(_0x5e8edc=_0x5e8edc['parent']),_0x57e493['doc']['sliceString'](_0x107a5f-0x1,_0x107a5f)!=_0x5e2db3||'JSXAttributeValue'==_0x5e8edc['name']&&_0x5e8edc['to']>_0x107a5f);else{if('>'==_0x5e2db3&&'JSXFragmentTag'==_0x5e8edc['name'])return{'range':_0x4bd243,'changes':{'from':_0x107a5f,'insert':'</>'}};if('/'==_0x5e2db3&&'JSXStartCloseTag'==_0x5e8edc['name']){let _0xddb628=_0x5e8edc['parent'],_0x186507=_0xddb628['parent'];if(_0x186507&&_0xddb628['from']==_0x107a5f-0x2&&((_0x416ca0=_0x11f5c8(_0x57e493['doc'],_0x186507['firstChild'],_0x107a5f))||'JSXFragmentTag'==(null===(_0x32c224=_0x186507['firstChild'])||void 0x0===_0x32c224?void 0x0:_0x32c224['name']))){let _0xaca0ac=_0x416ca0+'>';return{'range':_0x152831['cursor'](_0x107a5f+_0xaca0ac['length'],-0x1),'changes':{'from':_0x107a5f,'insert':_0xaca0ac}};}}else{if('>'==_0x5e2db3){let _0x18fc88=function(_0x451638){for(;;){if('JSXOpenTag'==_0x451638['name']||'JSXSelfClosingTag'==_0x451638['name']||'JSXFragmentTag'==_0x451638['name'])return _0x451638;if('JSXEscape'==_0x451638['name']||!_0x451638['parent'])return null;_0x451638=_0x451638['parent'];}}(_0x5e8edc);if(_0x18fc88&&'JSXOpenTag'==_0x18fc88['name']&&!/^\/?>|^<\//['test'](_0x57e493['doc']['sliceString'](_0x107a5f,_0x107a5f+0x2))&&(_0x416ca0=_0x11f5c8(_0x57e493['doc'],_0x18fc88,_0x107a5f)))return{'range':_0x4bd243,'changes':{'from':_0x107a5f,'insert':'</'+_0x416ca0+'>'}};}}}return{'range':_0x4bd243};});return!_0x583a37['changes']['empty']&&(_0x572d68['dispatch']([_0x2ceced,_0x57e493['update'](_0x583a37,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);}),_0x5076ce=['_blank','_self','_top','_parent'],_0x53c813=['ascii','utf-8','utf-16','latin1','latin1'],_0x36146a=['get','post','put','delete'],_0xa95bb=['application/x-www-form-urlencoded','multipart/form-data','text/plain'],_0x2b3726=['true','false'],_0x2bd532={},_0x1f4fc7={'a':{'attrs':{'href':null,'ping':null,'type':null,'media':null,'target':_0x5076ce,'hreflang':null}},'abbr':_0x2bd532,'address':_0x2bd532,'area':{'attrs':{'alt':null,'coords':null,'href':null,'target':null,'ping':null,'media':null,'hreflang':null,'type':null,'shape':['default','rect','circle','poly']}},'article':_0x2bd532,'aside':_0x2bd532,'audio':{'attrs':{'src':null,'mediagroup':null,'crossorigin':['anonymous','use-credentials'],'preload':['none','metadata','auto'],'autoplay':['autoplay'],'loop':['loop'],'controls':['controls']}},'b':_0x2bd532,'base':{'attrs':{'href':null,'target':_0x5076ce}},'bdi':_0x2bd532,'bdo':_0x2bd532,'blockquote':{'attrs':{'cite':null}},'body':_0x2bd532,'br':_0x2bd532,'button':{'attrs':{'form':null,'formaction':null,'name':null,'value':null,'autofocus':['autofocus'],'disabled':['autofocus'],'formenctype':_0xa95bb,'formmethod':_0x36146a,'formnovalidate':['novalidate'],'formtarget':_0x5076ce,'type':['submit','reset','button']}},'canvas':{'attrs':{'width':null,'height':null}},'caption':_0x2bd532,'center':_0x2bd532,'cite':_0x2bd532,'code':_0x2bd532,'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':_0x2bd532,'del':{'attrs':{'cite':null,'datetime':null}},'details':{'attrs':{'open':['open']}},'dfn':_0x2bd532,'div':_0x2bd532,'dl':_0x2bd532,'dt':_0x2bd532,'em':_0x2bd532,'embed':{'attrs':{'src':null,'type':null,'width':null,'height':null}},'eventsource':{'attrs':{'src':null}},'fieldset':{'attrs':{'disabled':['disabled'],'form':null,'name':null}},'figcaption':_0x2bd532,'figure':_0x2bd532,'footer':_0x2bd532,'form':{'attrs':{'action':null,'name':null,'accept-charset':_0x53c813,'autocomplete':['on','off'],'enctype':_0xa95bb,'method':_0x36146a,'novalidate':['novalidate'],'target':_0x5076ce}},'h1':_0x2bd532,'h2':_0x2bd532,'h3':_0x2bd532,'h4':_0x2bd532,'h5':_0x2bd532,'h6':_0x2bd532,'head':{'children':['title','base','link','style','meta','script','noscript','command']},'header':_0x2bd532,'hgroup':_0x2bd532,'hr':_0x2bd532,'html':{'attrs':{'manifest':null}},'i':_0x2bd532,'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':_0xa95bb,'formmethod':_0x36146a,'formnovalidate':['novalidate'],'formtarget':_0x5076ce,'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':_0x2bd532,'keygen':{'attrs':{'challenge':null,'form':null,'name':null,'autofocus':['autofocus'],'disabled':['disabled'],'keytype':['RSA']}},'label':{'attrs':{'for':null,'form':null}},'legend':_0x2bd532,'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':_0x2bd532,'menu':{'attrs':{'label':null,'type':['list','context','toolbar']}},'meta':{'attrs':{'content':null,'charset':_0x53c813,'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':_0x2bd532,'noscript':_0x2bd532,'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':_0x2bd532,'param':{'attrs':{'name':null,'value':null}},'pre':_0x2bd532,'progress':{'attrs':{'value':null,'max':null}},'q':{'attrs':{'cite':null}},'rp':_0x2bd532,'rt':_0x2bd532,'ruby':_0x2bd532,'samp':_0x2bd532,'script':{'attrs':{'type':['text/javascript'],'src':null,'async':['async'],'defer':['defer'],'charset':_0x53c813}},'section':_0x2bd532,'select':{'attrs':{'form':null,'name':null,'size':null,'autofocus':['autofocus'],'disabled':['disabled'],'multiple':['multiple']}},'slot':{'attrs':{'name':null}},'small':_0x2bd532,'source':{'attrs':{'src':null,'type':null,'media':null}},'span':_0x2bd532,'strong':_0x2bd532,'style':{'attrs':{'type':['text/css'],'media':null,'scoped':null}},'sub':_0x2bd532,'summary':_0x2bd532,'sup':_0x2bd532,'table':_0x2bd532,'tbody':_0x2bd532,'td':{'attrs':{'colspan':null,'rowspan':null,'headers':null}},'template':_0x2bd532,'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':_0x2bd532,'th':{'attrs':{'colspan':null,'rowspan':null,'headers':null,'scope':['row','col','rowgroup','colgroup']}},'thead':_0x2bd532,'time':{'attrs':{'datetime':null}},'title':_0x2bd532,'tr':_0x2bd532,'track':{'attrs':{'src':null,'label':null,'default':null,'kind':['subtitles','captions','descriptions','chapters','metadata'],'srclang':null}},'ul':{'children':['li','script','template','ul','ol']},'var':_0x2bd532,'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':_0x2bd532},tZ={'accesskey':null,'class':null,'contenteditable':_0x2b3726,'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':_0x2b3726,'autocorrect':_0x2b3726,'autocapitalize':_0x2b3726,'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':_0x2b3726,'aria-autocomplete':['inline','list','both','none'],'aria-busy':_0x2b3726,'aria-checked':['true','false','mixed','undefined'],'aria-controls':null,'aria-describedby':null,'aria-disabled':_0x2b3726,'aria-dropeffect':null,'aria-expanded':['true','false','undefined'],'aria-flowto':null,'aria-grabbed':['true','false','undefined'],'aria-haspopup':_0x2b3726,'aria-hidden':_0x2b3726,'aria-invalid':['true','false','grammar','spelling'],'aria-label':null,'aria-labelledby':null,'aria-level':null,'aria-live':['off','polite','assertive'],'aria-multiline':_0x2b3726,'aria-multiselectable':_0x2b3726,'aria-owns':null,'aria-posinset':null,'aria-pressed':['true','false','mixed','undefined'],'aria-readonly':_0x2b3726,'aria-relevant':null,'aria-required':_0x2b3726,'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},_0x3e4072='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'](_0x53572a=>'on'+_0x53572a);for(let _0x4b5727 of _0x3e4072)tZ[_0x4b5727]=null;var _0x41afc7=class{constructor(_0x11ba41,_0x1b7301){this['tags']={..._0x1f4fc7,..._0x11ba41},this['globalAttrs']={...tZ,..._0x1b7301},this['allTags']=Object['keys'](this['tags']),this['globalAttrNames']=Object['keys'](this['globalAttrs']);}};function _0x39c331(_0x1488d3,_0xb64c89,_0x161269=_0x1488d3['length']){if(!_0xb64c89)return'';let _0x4000bc=_0xb64c89['firstChild'],_0x15bc98=_0x4000bc&&_0x4000bc['getChild']('TagName');return _0x15bc98?_0x1488d3['sliceString'](_0x15bc98['from'],Math['min'](_0x15bc98['to'],_0x161269)):'';}function _0x2e4cd3(_0x29a424,_0x567e33=!0x1){for(;_0x29a424;_0x29a424=_0x29a424['parent'])if('Element'==_0x29a424['name']){if(!_0x567e33)return _0x29a424;_0x567e33=!0x1;}return null;}function _0x58687b(_0x13f46c,_0x59a45f,_0x15b8df){let _0x29826c=_0x15b8df['tags'][_0x39c331(_0x13f46c,_0x2e4cd3(_0x59a45f))];return(null==_0x29826c?void 0x0:_0x29826c['children'])||_0x15b8df['allTags'];}function _0xe51b3f(_0x2fb315,_0x2f694d){let _0x55b435=[];for(let _0x44a626=_0x2e4cd3(_0x2f694d);_0x44a626&&!_0x44a626['type']['isTop'];_0x44a626=_0x2e4cd3(_0x44a626['parent'])){let _0x5cbc4f=_0x39c331(_0x2fb315,_0x44a626);if(_0x5cbc4f&&'CloseTag'==_0x44a626['lastChild']['name'])break;_0x5cbc4f&&_0x55b435['indexOf'](_0x5cbc4f)<0x0&&('EndTag'==_0x2f694d['name']||_0x2f694d['from']>=_0x44a626['firstChild']['to'])&&_0x55b435['push'](_0x5cbc4f);}return _0x55b435;}_0x41afc7['default']=new _0x41afc7();const _0x663a0d=/^[:\-\.\w\u00b7-\uffff]*$/;function _0x2cfca8(_0x59527a,_0x3b120f,_0x26f261,_0x545083,_0x37c54f){let _0x4442b4=/\s*>/['test'](_0x59527a['sliceDoc'](_0x37c54f,_0x37c54f+0x5))?'':'>',_0x41ae07=_0x2e4cd3(_0x26f261,'StartTag'==_0x26f261['name']||'TagName'==_0x26f261['name']);return{'from':_0x545083,'to':_0x37c54f,'options':_0x58687b(_0x59527a['doc'],_0x41ae07,_0x3b120f)['map'](_0x448b10=>({'label':_0x448b10,'type':'type'}))['concat'](_0xe51b3f(_0x59527a['doc'],_0x26f261)['map']((_0x4605ce,_0x13555d)=>({'label':'/'+_0x4605ce,'apply':'/'+_0x4605ce+_0x4442b4,'type':'type','boost':0x63-_0x13555d}))),'validFor':/^\/?[:\-\.\w\u00b7-\uffff]*$/};}function _0x270231(_0x512cae,_0x3797b7,_0x4bd557,_0x23e489){let _0x1e5bbd=/\s*>/['test'](_0x512cae['sliceDoc'](_0x23e489,_0x23e489+0x5))?'':'>';return{'from':_0x4bd557,'to':_0x23e489,'options':_0xe51b3f(_0x512cae['doc'],_0x3797b7)['map']((_0x3b652e,_0x2e4726)=>({'label':_0x3b652e,'apply':_0x3b652e+_0x1e5bbd,'type':'type','boost':0x63-_0x2e4726})),'validFor':_0x663a0d};}function _0xc9d17b(_0x1a7c6d,_0x4f4b8d){let {state:_0x444309,pos:_0x3ebce9}=_0x4f4b8d,_0x4d049c=_0xcd4dc4(_0x444309)['resolveInner'](_0x3ebce9,-0x1),_0x30d7c2=_0x4d049c['resolve'](_0x3ebce9);for(let _0x56b954,_0x12b1ec=_0x3ebce9;_0x30d7c2==_0x4d049c&&(_0x56b954=_0x4d049c['childBefore'](_0x12b1ec));){let _0x4fbd02=_0x56b954['lastChild'];if(!_0x4fbd02||!_0x4fbd02['type']['isError']||_0x4fbd02['from']<_0x4fbd02['to'])break;_0x30d7c2=_0x4d049c=_0x56b954,_0x12b1ec=_0x4fbd02['from'];}return'TagName'==_0x4d049c['name']?_0x4d049c['parent']&&/CloseTag$/['test'](_0x4d049c['parent']['name'])?_0x270231(_0x444309,_0x4d049c,_0x4d049c['from'],_0x3ebce9):_0x2cfca8(_0x444309,_0x1a7c6d,_0x4d049c,_0x4d049c['from'],_0x3ebce9):'StartTag'==_0x4d049c['name']||'IncompleteTag'==_0x4d049c['name']?_0x2cfca8(_0x444309,_0x1a7c6d,_0x4d049c,_0x3ebce9,_0x3ebce9):'StartCloseTag'==_0x4d049c['name']||'IncompleteCloseTag'==_0x4d049c['name']?_0x270231(_0x444309,_0x4d049c,_0x3ebce9,_0x3ebce9):'OpenTag'==_0x4d049c['name']||'SelfClosingTag'==_0x4d049c['name']||'AttributeName'==_0x4d049c['name']?function(_0x19033a,_0x82bc4,_0x2d67ff,_0x2071d4,_0x3edb89){let _0x2c87be=_0x2e4cd3(_0x2d67ff),_0x2295bb=_0x2c87be?_0x82bc4['tags'][_0x39c331(_0x19033a['doc'],_0x2c87be)]:null,_0x3e9b2a=_0x2295bb&&_0x2295bb['attrs']?Object['keys'](_0x2295bb['attrs']):[];return{'from':_0x2071d4,'to':_0x3edb89,'options':(_0x2295bb&&!0x1===_0x2295bb['globalAttrs']?_0x3e9b2a:_0x3e9b2a['length']?_0x3e9b2a['concat'](_0x82bc4['globalAttrNames']):_0x82bc4['globalAttrNames'])['map'](_0x334150=>({'label':_0x334150,'type':'property'})),'validFor':_0x663a0d};}(_0x444309,_0x1a7c6d,_0x4d049c,'AttributeName'==_0x4d049c['name']?_0x4d049c['from']:_0x3ebce9,_0x3ebce9):'Is'==_0x4d049c['name']||'AttributeValue'==_0x4d049c['name']||'UnquotedAttributeValue'==_0x4d049c['name']?function(_0x39b1cb,_0x5b20ef,_0x12468b,_0x2ed527,_0x4c2966){var _0x335c30;let _0x2dc7fa,_0x5d53bd=null===(_0x335c30=_0x12468b['parent'])||void 0x0===_0x335c30?void 0x0:_0x335c30['getChild']('AttributeName'),_0x24301f=[];if(_0x5d53bd){let _0x5568db=_0x39b1cb['sliceDoc'](_0x5d53bd['from'],_0x5d53bd['to']),_0x3b5b88=_0x5b20ef['globalAttrs'][_0x5568db];if(!_0x3b5b88){let _0x341382=_0x2e4cd3(_0x12468b),_0x2315fa=_0x341382?_0x5b20ef['tags'][_0x39c331(_0x39b1cb['doc'],_0x341382)]:null;_0x3b5b88=(null==_0x2315fa?void 0x0:_0x2315fa['attrs'])&&_0x2315fa['attrs'][_0x5568db];}if(_0x3b5b88){let _0x16d543=_0x39b1cb['sliceDoc'](_0x2ed527,_0x4c2966)['toLowerCase'](),_0x264ab0='\x22',_0x3818d0='\x22';/^['"]/['test'](_0x16d543)?(_0x2dc7fa='\x22'==_0x16d543[0x0]?/^[^"]*$/:/^[^']*$/,_0x264ab0='',_0x3818d0=_0x39b1cb['sliceDoc'](_0x4c2966,_0x4c2966+0x1)==_0x16d543[0x0]?'':_0x16d543[0x0],_0x16d543=_0x16d543['slice'](0x1),_0x2ed527++):_0x2dc7fa=/^[^\s<>='"]*$/;for(let _0x4673d0 of _0x3b5b88)_0x24301f['push']({'label':_0x4673d0,'apply':_0x264ab0+_0x4673d0+_0x3818d0,'type':'constant'});}}return{'from':_0x2ed527,'to':_0x4c2966,'options':_0x24301f,'validFor':_0x2dc7fa};}(_0x444309,_0x1a7c6d,_0x4d049c,'Is'==_0x4d049c['name']?_0x3ebce9:_0x4d049c['from'],_0x3ebce9):!_0x4f4b8d['explicit']||'Element'!=_0x30d7c2['name']&&'Text'!=_0x30d7c2['name']&&'Document'!=_0x30d7c2['name']?null:function(_0x1f2042,_0x2bf32a,_0xbd9639,_0x5550d5){let _0x564ad3=[],_0x4ed189=0x0;for(let _0x186797 of _0x58687b(_0x1f2042['doc'],_0xbd9639,_0x2bf32a))_0x564ad3['push']({'label':'<'+_0x186797,'type':'type'});for(let _0x50d5ba of _0xe51b3f(_0x1f2042['doc'],_0xbd9639))_0x564ad3['push']({'label':'</'+_0x50d5ba+'>','type':'type','boost':0x63-_0x4ed189++});return{'from':_0x5550d5,'to':_0x5550d5,'options':_0x564ad3,'validFor':/^<\/?[:\-\.\w\u00b7-\uffff]*$/};}(_0x444309,_0x1a7c6d,_0x4d049c,_0x3ebce9);}function _0x17fded(_0x1dbec5){let {extraTags:_0x4b183a,extraGlobalAttributes:_0xfe42c2}=_0x1dbec5,_0x2723b0=_0xfe42c2||_0x4b183a?new _0x41afc7(_0x4b183a,_0xfe42c2):_0x41afc7['default'];return _0x252ea1=>_0xc9d17b(_0x2723b0,_0x252ea1);}const _0x256946=_0x2f5fe9['parser']['configure']({'top':'SingleExpression'}),_0x5917ff=[{'tag':'script','attrs':_0x419b6a=>'text/typescript'==_0x419b6a['type']||'ts'==_0x419b6a['lang'],'parser':_0x15760e['parser']},{'tag':'script','attrs':_0x5db896=>'text/babel'==_0x5db896['type']||'text/jsx'==_0x5db896['type'],'parser':_0x4fde1b['parser']},{'tag':'script','attrs':_0x339ecb=>'text/typescript-jsx'==_0x339ecb['type'],'parser':_0x4179d8['parser']},{'tag':'script','attrs':_0x85d7f=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i['test'](_0x85d7f['type']),'parser':_0x256946},{'tag':'script','attrs':_0xc1ffaa=>!_0xc1ffaa['type']||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i['test'](_0xc1ffaa['type']),'parser':_0x2f5fe9['parser']},{'tag':'style','attrs':_0x43268a=>(!_0x43268a['lang']||'css'==_0x43268a['lang'])&&(!_0x43268a['type']||/^(text\/)?(x-)?(stylesheet|css)$/i['test'](_0x43268a['type'])),'parser':_0x4f6f62['parser']}],_0x17820e=[{'name':'style','parser':_0x4f6f62['parser']['configure']({'top':'Styles'})}]['concat'](_0x3e4072['map'](_0x3bfa7d=>({'name':_0x3bfa7d,'parser':_0x2f5fe9['parser']}))),_0x1b5942=_0x3e4f27['define']({'name':'html','parser':_0x227ef6['configure']({'props':[_0x265e6b['add']({'Element'(_0x21f66f){let _0x166183=/^(\s*)(<\/)?/['exec'](_0x21f66f['textAfter']);return _0x21f66f['node']['to']<=_0x21f66f['pos']+_0x166183[0x0]['length']?_0x21f66f['continue']():_0x21f66f['lineIndent'](_0x21f66f['node']['from'])+(_0x166183[0x2]?0x0:_0x21f66f['unit']);},'OpenTag\x20CloseTag\x20SelfClosingTag':_0x23fc4b=>_0x23fc4b['column'](_0x23fc4b['node']['from'])+_0x23fc4b['unit'],'Document'(_0x5f387a){if(_0x5f387a['pos']+/\s*/['exec'](_0x5f387a['textAfter'])[0x0]['length']<_0x5f387a['node']['to'])return _0x5f387a['continue']();let _0x414f84,_0x7b7c09=null;for(let _0x578ea6=_0x5f387a['node'];;){let _0x5cae1e=_0x578ea6['lastChild'];if(!_0x5cae1e||'Element'!=_0x5cae1e['name']||_0x5cae1e['to']!=_0x578ea6['to'])break;_0x7b7c09=_0x578ea6=_0x5cae1e;}return _0x7b7c09&&(!(_0x414f84=_0x7b7c09['lastChild'])||'CloseTag'!=_0x414f84['name']&&'SelfClosingTag'!=_0x414f84['name'])?_0x5f387a['lineIndent'](_0x7b7c09['from'])+_0x5f387a['unit']:null;}}),_0x8620af['add']({'Element'(_0x46e7ac){let _0x50e671=_0x46e7ac['firstChild'],_0x53f348=_0x46e7ac['lastChild'];return _0x50e671&&'OpenTag'==_0x50e671['name']?{'from':_0x50e671['to'],'to':'CloseTag'==_0x53f348['name']?_0x53f348['from']:_0x46e7ac['to']}:null;}}),_0x403f93['add']({'OpenTag\x20CloseTag':_0x480db8=>_0x480db8['getChild']('TagName')})]}),'languageData':{'commentTokens':{'block':{'open':'<!--','close':'-->'}},'indentOnInput':/^\s*<\/\w+\W$/,'wordChars':'-_'}}),_0x5eb5be=_0x1b5942['configure']({'wrap':_0x59fda6(_0x5917ff,_0x17820e)});function _0x5332e8(_0x585330={}){let _0x3d0692,_0x2ab87e='';return!0x1===_0x585330['matchClosingTags']&&(_0x2ab87e='noMatch'),!0x0===_0x585330['selfClosingTags']&&(_0x2ab87e=(_0x2ab87e?_0x2ab87e+'\x20':'')+'selfClosing'),(_0x585330['nestedLanguages']&&_0x585330['nestedLanguages']['length']||_0x585330['nestedAttributes']&&_0x585330['nestedAttributes']['length'])&&(_0x3d0692=_0x59fda6((_0x585330['nestedLanguages']||[])['concat'](_0x5917ff),(_0x585330['nestedAttributes']||[])['concat'](_0x17820e))),new _0x45630c(_0x3d0692?_0x1b5942['configure']({'wrap':_0x3d0692,'dialect':_0x2ab87e}):_0x2ab87e?_0x5eb5be['configure']({'dialect':_0x2ab87e}):_0x5eb5be,[_0x5eb5be['data']['of']({'autocomplete':_0x17fded(_0x585330)}),!0x1!==_0x585330['autoCloseTags']?_0x4574cd:[],_0x5efb31()['support'],new _0x45630c(_0x4f6f62,_0x4f6f62['data']['of']({'autocomplete':_0x4c8fc7}))['support']]);}const _0x10db06=new Set('area\x20base\x20br\x20col\x20command\x20embed\x20frame\x20hr\x20img\x20input\x20keygen\x20link\x20meta\x20param\x20source\x20track\x20wbr\x20menuitem'['split']('\x20')),_0x4574cd=_0x118ca6['inputHandler']['of']((_0x339544,_0x349310,_0x221ab8,_0x4dc7a3,_0x8b6a22)=>{if(_0x339544['composing']||_0x339544['state']['readOnly']||_0x349310!=_0x221ab8||'>'!=_0x4dc7a3&&'/'!=_0x4dc7a3||!_0x5eb5be['isActiveAt'](_0x339544['state'],_0x349310,-0x1))return!0x1;let _0x50eb27=_0x8b6a22(),{state:_0x31bc81}=_0x50eb27,_0x1fd7f3=_0x31bc81['changeByRange'](_0x3d6d91=>{var _0x596f81,_0x5ebdd7,_0x465c1b;let _0x21ced0,_0x179100=_0x31bc81['doc']['sliceString'](_0x3d6d91['from']-0x1,_0x3d6d91['to'])==_0x4dc7a3,{head:_0x27eab6}=_0x3d6d91,_0x4a9996=_0xcd4dc4(_0x31bc81)['resolveInner'](_0x27eab6,-0x1);if(_0x179100&&'>'==_0x4dc7a3&&'EndTag'==_0x4a9996['name']){let _0x4cf076=_0x4a9996['parent'];if('CloseTag'!=(null===(_0x5ebdd7=null===(_0x596f81=_0x4cf076['parent'])||void 0x0===_0x596f81?void 0x0:_0x596f81['lastChild'])||void 0x0===_0x5ebdd7?void 0x0:_0x5ebdd7['name'])&&(_0x21ced0=_0x39c331(_0x31bc81['doc'],_0x4cf076['parent'],_0x27eab6))&&!_0x10db06['has'](_0x21ced0))return{'range':_0x3d6d91,'changes':{'from':_0x27eab6,'to':_0x27eab6+('>'===_0x31bc81['doc']['sliceString'](_0x27eab6,_0x27eab6+0x1)?0x1:0x0),'insert':'</'+_0x21ced0+'>'}};}else{if(_0x179100&&'/'==_0x4dc7a3&&'IncompleteCloseTag'==_0x4a9996['name']){let _0x44dc5c=_0x4a9996['parent'];if(_0x4a9996['from']==_0x27eab6-0x2&&'CloseTag'!=(null===(_0x465c1b=_0x44dc5c['lastChild'])||void 0x0===_0x465c1b?void 0x0:_0x465c1b['name'])&&(_0x21ced0=_0x39c331(_0x31bc81['doc'],_0x44dc5c,_0x27eab6))&&!_0x10db06['has'](_0x21ced0)){let _0x54b52d=_0x27eab6+('>'===_0x31bc81['doc']['sliceString'](_0x27eab6,_0x27eab6+0x1)?0x1:0x0),_0xf24103=_0x21ced0+'>';return{'range':_0x152831['cursor'](_0x27eab6+_0xf24103['length'],-0x1),'changes':{'from':_0x27eab6,'to':_0x54b52d,'insert':_0xf24103}};}}}return{'range':_0x3d6d91};});return!_0x1fd7f3['changes']['empty']&&(_0x339544['dispatch']([_0x50eb27,_0x31bc81['update'](_0x1fd7f3,{'userEvent':'input.complete','scrollIntoView':!0x0})]),!0x0);});var _0x4b91ec,_0x2b3d91=class CompositeBlock{static['create'](_0xccb703,_0x52c823,_0x43a614,_0x3a8f48,_0x7c23d9){return new CompositeBlock(_0xccb703,_0x52c823,_0x43a614,_0x3a8f48+(_0x3a8f48<<0x8)+_0xccb703+(_0x52c823<<0x4)|0x0,_0x7c23d9,[],[]);}constructor(_0x4347d2,_0x1d75bb,_0x1c0f4b,_0x115a9e,_0x39f153,_0x2af4ac,_0x233c79){this['type']=_0x4347d2,this['value']=_0x1d75bb,this['from']=_0x1c0f4b,this['hash']=_0x115a9e,this['end']=_0x39f153,this['children']=_0x2af4ac,this['positions']=_0x233c79,this['hashProp']=[[_0x172440['contextHash'],_0x115a9e]];}['addChild'](_0x5c490b,_0x2bdf14){_0x5c490b['prop'](_0x172440['contextHash'])!=this['hash']&&(_0x5c490b=new _0x5a1f7d(_0x5c490b['type'],_0x5c490b['children'],_0x5c490b['positions'],_0x5c490b['length'],this['hashProp'])),this['children']['push'](_0x5c490b),this['positions']['push'](_0x2bdf14);}['toTree'](_0x1c440d,_0x338524=this['end']){let _0x4d6500=this['children']['length']-0x1;return _0x4d6500>=0x0&&(_0x338524=Math['max'](_0x338524,this['positions'][_0x4d6500]+this['children'][_0x4d6500]['length']+this['from'])),new _0x5a1f7d(_0x1c440d['types'][this['type']],this['children'],this['positions'],_0x338524-this['from'])['balance']({'makeTree':(_0x376e02,_0x55c82a,_0x5b45dd)=>new _0x5a1f7d(_0x37f725['none'],_0x376e02,_0x55c82a,_0x5b45dd,this['hashProp'])});}};!function(_0x577b60){_0x577b60[_0x577b60['Document']=0x1]='Document',_0x577b60[_0x577b60['CodeBlock']=0x2]='CodeBlock',_0x577b60[_0x577b60['FencedCode']=0x3]='FencedCode',_0x577b60[_0x577b60['Blockquote']=0x4]='Blockquote',_0x577b60[_0x577b60['HorizontalRule']=0x5]='HorizontalRule',_0x577b60[_0x577b60['BulletList']=0x6]='BulletList',_0x577b60[_0x577b60['OrderedList']=0x7]='OrderedList',_0x577b60[_0x577b60['ListItem']=0x8]='ListItem',_0x577b60[_0x577b60['ATXHeading1']=0x9]='ATXHeading1',_0x577b60[_0x577b60['ATXHeading2']=0xa]='ATXHeading2',_0x577b60[_0x577b60['ATXHeading3']=0xb]='ATXHeading3',_0x577b60[_0x577b60['ATXHeading4']=0xc]='ATXHeading4',_0x577b60[_0x577b60['ATXHeading5']=0xd]='ATXHeading5',_0x577b60[_0x577b60['ATXHeading6']=0xe]='ATXHeading6',_0x577b60[_0x577b60['SetextHeading1']=0xf]='SetextHeading1',_0x577b60[_0x577b60['SetextHeading2']=0x10]='SetextHeading2',_0x577b60[_0x577b60['HTMLBlock']=0x11]='HTMLBlock',_0x577b60[_0x577b60['LinkReference']=0x12]='LinkReference',_0x577b60[_0x577b60['Paragraph']=0x13]='Paragraph',_0x577b60[_0x577b60['CommentBlock']=0x14]='CommentBlock',_0x577b60[_0x577b60['ProcessingInstructionBlock']=0x15]='ProcessingInstructionBlock',_0x577b60[_0x577b60['Escape']=0x16]='Escape',_0x577b60[_0x577b60['Entity']=0x17]='Entity',_0x577b60[_0x577b60['HardBreak']=0x18]='HardBreak',_0x577b60[_0x577b60['Emphasis']=0x19]='Emphasis',_0x577b60[_0x577b60['StrongEmphasis']=0x1a]='StrongEmphasis',_0x577b60[_0x577b60['Link']=0x1b]='Link',_0x577b60[_0x577b60['Image']=0x1c]='Image',_0x577b60[_0x577b60['InlineCode']=0x1d]='InlineCode',_0x577b60[_0x577b60['HTMLTag']=0x1e]='HTMLTag',_0x577b60[_0x577b60['Comment']=0x1f]='Comment',_0x577b60[_0x577b60['ProcessingInstruction']=0x20]='ProcessingInstruction',_0x577b60[_0x577b60['Autolink']=0x21]='Autolink',_0x577b60[_0x577b60['HeaderMark']=0x22]='HeaderMark',_0x577b60[_0x577b60['QuoteMark']=0x23]='QuoteMark',_0x577b60[_0x577b60['ListMark']=0x24]='ListMark',_0x577b60[_0x577b60['LinkMark']=0x25]='LinkMark',_0x577b60[_0x577b60['EmphasisMark']=0x26]='EmphasisMark',_0x577b60[_0x577b60['CodeMark']=0x27]='CodeMark',_0x577b60[_0x577b60['CodeText']=0x28]='CodeText',_0x577b60[_0x577b60['CodeInfo']=0x29]='CodeInfo',_0x577b60[_0x577b60['LinkTitle']=0x2a]='LinkTitle',_0x577b60[_0x577b60['LinkLabel']=0x2b]='LinkLabel',_0x577b60[_0x577b60['URL']=0x2c]='URL';}(_0x4b91ec||(_0x4b91ec={}));var _0x1445e8=class{constructor(_0x2f07b4,_0x1b977f){this['start']=_0x2f07b4,this['content']=_0x1b977f,this['marks']=[],this['parsers']=[];}},_0x1f8766=class{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 _0xb6f121=this['skipSpace'](this['basePos']);this['indent']=this['countIndent'](_0xb6f121,this['pos'],this['indent']),this['pos']=_0xb6f121,this['next']=_0xb6f121==this['text']['length']?-0x1:this['text']['charCodeAt'](_0xb6f121);}['skipSpace'](_0x502626){return _0x384823(this['text'],_0x502626);}['reset'](_0x21f50d){for(this['text']=_0x21f50d,this['baseIndent']=this['basePos']=this['pos']=this['indent']=0x0,this['forwardInner'](),this['depth']=0x1;this['markers']['length'];)this['markers']['pop']();}['moveBase'](_0x5908a5){this['basePos']=_0x5908a5,this['baseIndent']=this['countIndent'](_0x5908a5,this['pos'],this['indent']);}['moveBaseColumn'](_0x399448){this['baseIndent']=_0x399448,this['basePos']=this['findColumn'](_0x399448);}['addMarker'](_0x10a4f2){this['markers']['push'](_0x10a4f2);}['countIndent'](_0x48242f,_0x19cca9=0x0,_0x3966fd=0x0){for(let _0x3d7a78=_0x19cca9;_0x3d7a78<_0x48242f;_0x3d7a78++)_0x3966fd+=0x9==this['text']['charCodeAt'](_0x3d7a78)?0x4-_0x3966fd%0x4:0x1;return _0x3966fd;}['findColumn'](_0x23a42b){let _0x5b06b0=0x0;for(let _0x172006=0x0;_0x5b06b0<this['text']['length']&&_0x172006<_0x23a42b;_0x5b06b0++)_0x172006+=0x9==this['text']['charCodeAt'](_0x5b06b0)?0x4-_0x172006%0x4:0x1;return _0x5b06b0;}['scrub'](){if(!this['baseIndent'])return this['text'];let _0x11f53d='';for(let _0x11f388=0x0;_0x11f388<this['basePos'];_0x11f388++)_0x11f53d+='\x20';return _0x11f53d+this['text']['slice'](this['basePos']);}};function _0x2a0e11(_0x117bf,_0x3ef8bd,_0x137a7c){if(_0x137a7c['pos']==_0x137a7c['text']['length']||_0x117bf!=_0x3ef8bd['block']&&_0x137a7c['indent']>=_0x3ef8bd['stack'][_0x137a7c['depth']+0x1]['value']+_0x137a7c['baseIndent'])return!0x0;if(_0x137a7c['indent']>=_0x137a7c['baseIndent']+0x4)return!0x1;let _0x526d43=(_0x117bf['type']==_0x4b91ec['OrderedList']?_0x25e567:_0xed71c4)(_0x137a7c,_0x3ef8bd,!0x1);return _0x526d43>0x0&&(_0x117bf['type']!=_0x4b91ec['BulletList']||_0x7c6ea4(_0x137a7c,_0x3ef8bd,!0x1)<0x0)&&_0x137a7c['text']['charCodeAt'](_0x137a7c['pos']+_0x526d43-0x1)==_0x117bf['value'];}const _0x33f374={[_0x4b91ec['Blockquote']]:(_0x4ca151,_0x5f435b,_0x37cafb)=>0x3e==_0x37cafb['next']&&(_0x37cafb['markers']['push'](_0x1fd08d(_0x4b91ec['QuoteMark'],_0x5f435b['lineStart']+_0x37cafb['pos'],_0x5f435b['lineStart']+_0x37cafb['pos']+0x1)),_0x37cafb['moveBase'](_0x37cafb['pos']+(_0x3ce063(_0x37cafb['text']['charCodeAt'](_0x37cafb['pos']+0x1))?0x2:0x1)),_0x4ca151['end']=_0x5f435b['lineStart']+_0x37cafb['text']['length'],!0x0),[_0x4b91ec['ListItem']]:(_0x24a5ec,_0x186115,_0x559dd0)=>!(_0x559dd0['indent']<_0x559dd0['baseIndent']+_0x24a5ec['value']&&_0x559dd0['next']>-0x1)&&(_0x559dd0['moveBaseColumn'](_0x559dd0['baseIndent']+_0x24a5ec['value']),!0x0),[_0x4b91ec['OrderedList']]:_0x2a0e11,[_0x4b91ec['BulletList']]:_0x2a0e11,[_0x4b91ec['Document']]:()=>!0x0};function _0x3ce063(_0xda7275){return 0x20==_0xda7275||0x9==_0xda7275||0xa==_0xda7275||0xd==_0xda7275;}function _0x384823(_0x1ffb4e,_0x6255b1=0x0){for(;_0x6255b1<_0x1ffb4e['length']&&_0x3ce063(_0x1ffb4e['charCodeAt'](_0x6255b1));)_0x6255b1++;return _0x6255b1;}function _0x2e8493(_0xcbbb68,_0x4a027,_0x176e98){for(;_0x4a027>_0x176e98&&_0x3ce063(_0xcbbb68['charCodeAt'](_0x4a027-0x1));)_0x4a027--;return _0x4a027;}function _0x5801fd(_0x534048){if(0x60!=_0x534048['next']&&0x7e!=_0x534048['next'])return-0x1;let _0x48f75d=_0x534048['pos']+0x1;for(;_0x48f75d<_0x534048['text']['length']&&_0x534048['text']['charCodeAt'](_0x48f75d)==_0x534048['next'];)_0x48f75d++;if(_0x48f75d<_0x534048['pos']+0x3)return-0x1;if(0x60==_0x534048['next']){for(let _0x2abce1=_0x48f75d;_0x2abce1<_0x534048['text']['length'];_0x2abce1++)if(0x60==_0x534048['text']['charCodeAt'](_0x2abce1))return-0x1;}return _0x48f75d;}function _0x5b68b9(_0x2c74cd){return 0x3e!=_0x2c74cd['next']?-0x1:0x20==_0x2c74cd['text']['charCodeAt'](_0x2c74cd['pos']+0x1)?0x2:0x1;}function _0x7c6ea4(_0x26fba5,_0x328734,_0x1d7240){if(0x2a!=_0x26fba5['next']&&0x2d!=_0x26fba5['next']&&0x5f!=_0x26fba5['next'])return-0x1;let _0x58352=0x1;for(let _0x130fdc=_0x26fba5['pos']+0x1;_0x130fdc<_0x26fba5['text']['length'];_0x130fdc++){let _0x2fea37=_0x26fba5['text']['charCodeAt'](_0x130fdc);if(_0x2fea37==_0x26fba5['next'])_0x58352++;else{if(!_0x3ce063(_0x2fea37))return-0x1;}}return _0x1d7240&&0x2d==_0x26fba5['next']&&_0x156eef(_0x26fba5)>-0x1&&_0x26fba5['depth']==_0x328734['stack']['length']&&_0x328734['parser']['leafBlockParsers']['indexOf'](_0x58b7f3['SetextHeading'])>-0x1||_0x58352<0x3?-0x1:0x1;}function _0x47fc2d(_0x184ef8,_0x3e22ea){for(let _0xa33f5e=_0x184ef8['stack']['length']-0x1;_0xa33f5e>=0x0;_0xa33f5e--)if(_0x184ef8['stack'][_0xa33f5e]['type']==_0x3e22ea)return!0x0;return!0x1;}function _0xed71c4(_0x465f61,_0x436dd7,_0x4743d9){return 0x2d!=_0x465f61['next']&&0x2b!=_0x465f61['next']&&0x2a!=_0x465f61['next']||_0x465f61['pos']!=_0x465f61['text']['length']-0x1&&!_0x3ce063(_0x465f61['text']['charCodeAt'](_0x465f61['pos']+0x1))||!(!_0x4743d9||_0x47fc2d(_0x436dd7,_0x4b91ec['BulletList'])||_0x465f61['skipSpace'](_0x465f61['pos']+0x2)<_0x465f61['text']['length'])?-0x1:0x1;}function _0x25e567(_0x4ecd8,_0x44a0d9,_0xe401d1){let _0x3992de=_0x4ecd8['pos'],_0x346008=_0x4ecd8['next'];for(;_0x346008>=0x30&&_0x346008<=0x39;){if(_0x3992de++,_0x3992de==_0x4ecd8['text']['length'])return-0x1;_0x346008=_0x4ecd8['text']['charCodeAt'](_0x3992de);}return _0x3992de==_0x4ecd8['pos']||_0x3992de>_0x4ecd8['pos']+0x9||0x2e!=_0x346008&&0x29!=_0x346008||_0x3992de<_0x4ecd8['text']['length']-0x1&&!_0x3ce063(_0x4ecd8['text']['charCodeAt'](_0x3992de+0x1))||_0xe401d1&&!_0x47fc2d(_0x44a0d9,_0x4b91ec['OrderedList'])&&(_0x4ecd8['skipSpace'](_0x3992de+0x1)==_0x4ecd8['text']['length']||_0x3992de>_0x4ecd8['pos']+0x1||0x31!=_0x4ecd8['next'])?-0x1:_0x3992de+0x1-_0x4ecd8['pos'];}function _0x3adceb(_0x5e7334){if(0x23!=_0x5e7334['next'])return-0x1;let _0x125998=_0x5e7334['pos']+0x1;for(;_0x125998<_0x5e7334['text']['length']&&0x23==_0x5e7334['text']['charCodeAt'](_0x125998);)_0x125998++;if(_0x125998<_0x5e7334['text']['length']&&0x20!=_0x5e7334['text']['charCodeAt'](_0x125998))return-0x1;let _0x4b1127=_0x125998-_0x5e7334['pos'];return _0x4b1127>0x6?-0x1:_0x4b1127;}function _0x156eef(_0x5b2c29){if(0x2d!=_0x5b2c29['next']&&0x3d!=_0x5b2c29['next']||_0x5b2c29['indent']>=_0x5b2c29['baseIndent']+0x4)return-0x1;let _0x434c96=_0x5b2c29['pos']+0x1;for(;_0x434c96<_0x5b2c29['text']['length']&&_0x5b2c29['text']['charCodeAt'](_0x434c96)==_0x5b2c29['next'];)_0x434c96++;let _0x3ac974=_0x434c96;for(;_0x434c96<_0x5b2c29['text']['length']&&_0x3ce063(_0x5b2c29['text']['charCodeAt'](_0x434c96));)_0x434c96++;return _0x434c96==_0x5b2c29['text']['length']?_0x3ac974:-0x1;}const _0x4bab30=/^[ \t]*$/,_0x30e0f7=/-->/,_0x1227ce=/\?>/,_0x100c85=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,_0x30e0f7],[/^\s*<\?/,_0x1227ce],[/^\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,_0x4bab30],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,_0x4bab30]];function _0x147cef(_0x29fed3,_0x127a92,_0x9bb5a1){if(0x3c!=_0x29fed3['next'])return-0x1;let _0x1e5768=_0x29fed3['text']['slice'](_0x29fed3['pos']);for(let _0x2b3cb5=0x0,_0x2cf692=_0x100c85['length']-(_0x9bb5a1?0x1:0x0);_0x2b3cb5<_0x2cf692;_0x2b3cb5++)if(_0x100c85[_0x2b3cb5][0x0]['test'](_0x1e5768))return _0x2b3cb5;return-0x1;}function _0x5c6d0a(_0x1b9b5a,_0x5144ac){let _0x5d9c39=_0x1b9b5a['countIndent'](_0x5144ac,_0x1b9b5a['pos'],_0x1b9b5a['indent']),_0x392927=_0x1b9b5a['countIndent'](_0x1b9b5a['skipSpace'](_0x5144ac),_0x5144ac,_0x5d9c39);return _0x392927>=_0x5d9c39+0x5?_0x5d9c39+0x1:_0x392927;}function _0x5565e4(_0x53f179,_0x583092,_0x499201){let _0x64c3ee=_0x53f179['length']-0x1;_0x64c3ee>=0x0&&_0x53f179[_0x64c3ee]['to']==_0x583092&&_0x53f179[_0x64c3ee]['type']==_0x4b91ec['CodeText']?_0x53f179[_0x64c3ee]['to']=_0x499201:_0x53f179['push'](_0x1fd08d(_0x4b91ec['CodeText'],_0x583092,_0x499201));}const _0x32a81f={'LinkReference':void 0x0,'IndentedCode'(_0x1d8630,_0x317223){let _0x1922af=_0x317223['baseIndent']+0x4;if(_0x317223['indent']<_0x1922af)return!0x1;let _0xfcf45c=_0x317223['findColumn'](_0x1922af),_0x3599e7=_0x1d8630['lineStart']+_0xfcf45c,_0x47c1ca=_0x1d8630['lineStart']+_0x317223['text']['length'],_0x3f9056=[],_0x507542=[];for(_0x5565e4(_0x3f9056,_0x3599e7,_0x47c1ca);_0x1d8630['nextLine']()&&_0x317223['depth']>=_0x1d8630['stack']['length'];)if(_0x317223['pos']==_0x317223['text']['length']){_0x5565e4(_0x507542,_0x1d8630['lineStart']-0x1,_0x1d8630['lineStart']);for(let _0x3b2f4e of _0x317223['markers'])_0x507542['push'](_0x3b2f4e);}else{if(_0x317223['indent']<_0x1922af)break;{if(_0x507542['length']){for(let _0x3dfd89 of _0x507542)_0x3dfd89['type']==_0x4b91ec['CodeText']?_0x5565e4(_0x3f9056,_0x3dfd89['from'],_0x3dfd89['to']):_0x3f9056['push'](_0x3dfd89);_0x507542=[];}_0x5565e4(_0x3f9056,_0x1d8630['lineStart']-0x1,_0x1d8630['lineStart']);for(let _0x551f00 of _0x317223['markers'])_0x3f9056['push'](_0x551f00);_0x47c1ca=_0x1d8630['lineStart']+_0x317223['text']['length'];let _0x92b0ba=_0x1d8630['lineStart']+_0x317223['findColumn'](_0x317223['baseIndent']+0x4);_0x92b0ba<_0x47c1ca&&_0x5565e4(_0x3f9056,_0x92b0ba,_0x47c1ca);}}return _0x507542['length']&&(_0x507542=_0x507542['filter'](_0x138a5b=>_0x138a5b['type']!=_0x4b91ec['CodeText']),_0x507542['length']&&(_0x317223['markers']=_0x507542['concat'](_0x317223['markers']))),_0x1d8630['addNode'](_0x1d8630['buffer']['writeElements'](_0x3f9056,-_0x3599e7)['finish'](_0x4b91ec['CodeBlock'],_0x47c1ca-_0x3599e7),_0x3599e7),!0x0;},'FencedCode'(_0x5b9509,_0x540483){let _0x1fefd5=_0x5801fd(_0x540483);if(_0x1fefd5<0x0)return!0x1;let _0x18be62=_0x5b9509['lineStart']+_0x540483['pos'],_0x1a0356=_0x540483['next'],_0x3ae2ec=_0x1fefd5-_0x540483['pos'],_0x1c4121=_0x540483['skipSpace'](_0x1fefd5),_0x244e88=_0x2e8493(_0x540483['text'],_0x540483['text']['length'],_0x1c4121),_0x277907=[_0x1fd08d(_0x4b91ec['CodeMark'],_0x18be62,_0x18be62+_0x3ae2ec)];_0x1c4121<_0x244e88&&_0x277907['push'](_0x1fd08d(_0x4b91ec['CodeInfo'],_0x5b9509['lineStart']+_0x1c4121,_0x5b9509['lineStart']+_0x244e88));for(let _0x17fc19=!0x0,_0x434732=!0x0,_0xe89d10=!0x1;_0x5b9509['nextLine']()&&_0x540483['depth']>=_0x5b9509['stack']['length'];_0x17fc19=!0x1){let _0x5d9726=_0x540483['pos'];if(_0x540483['indent']-_0x540483['baseIndent']<0x4){for(;_0x5d9726<_0x540483['text']['length']&&_0x540483['text']['charCodeAt'](_0x5d9726)==_0x1a0356;)_0x5d9726++;}if(_0x5d9726-_0x540483['pos']>=_0x3ae2ec&&_0x540483['skipSpace'](_0x5d9726)==_0x540483['text']['length']){for(let _0x1155e7 of _0x540483['markers'])_0x277907['push'](_0x1155e7);_0x434732&&_0xe89d10&&_0x5565e4(_0x277907,_0x5b9509['lineStart']-0x1,_0x5b9509['lineStart']),_0x277907['push'](_0x1fd08d(_0x4b91ec['CodeMark'],_0x5b9509['lineStart']+_0x540483['pos'],_0x5b9509['lineStart']+_0x5d9726)),_0x5b9509['nextLine']();break;}{_0xe89d10=!0x0,_0x17fc19||(_0x5565e4(_0x277907,_0x5b9509['lineStart']-0x1,_0x5b9509['lineStart']),_0x434732=!0x1);for(let _0x384a8b of _0x540483['markers'])_0x277907['push'](_0x384a8b);let _0x543acd=_0x5b9509['lineStart']+_0x540483['basePos'],_0x4ac208=_0x5b9509['lineStart']+_0x540483['text']['length'];_0x543acd<_0x4ac208&&(_0x5565e4(_0x277907,_0x543acd,_0x4ac208),_0x434732=!0x1);}}return _0x5b9509['addNode'](_0x5b9509['buffer']['writeElements'](_0x277907,-_0x18be62)['finish'](_0x4b91ec['FencedCode'],_0x5b9509['prevLineEnd']()-_0x18be62),_0x18be62),!0x0;},'Blockquote'(_0x34d1e1,_0x4462c2){let _0x392483=_0x5b68b9(_0x4462c2);return!(_0x392483<0x0)&&(_0x34d1e1['startContext'](_0x4b91ec['Blockquote'],_0x4462c2['pos']),_0x34d1e1['addNode'](_0x4b91ec['QuoteMark'],_0x34d1e1['lineStart']+_0x4462c2['pos'],_0x34d1e1['lineStart']+_0x4462c2['pos']+0x1),_0x4462c2['moveBase'](_0x4462c2['pos']+_0x392483),null);},'HorizontalRule'(_0x1d70f0,_0x1e248d){if(_0x7c6ea4(_0x1e248d,_0x1d70f0,!0x1)<0x0)return!0x1;let _0x2263b9=_0x1d70f0['lineStart']+_0x1e248d['pos'];return _0x1d70f0['nextLine'](),_0x1d70f0['addNode'](_0x4b91ec['HorizontalRule'],_0x2263b9),!0x0;},'BulletList'(_0x4e7cc5,_0x296b3c){let _0xd77130=_0xed71c4(_0x296b3c,_0x4e7cc5,!0x1);if(_0xd77130<0x0)return!0x1;_0x4e7cc5['block']['type']!=_0x4b91ec['BulletList']&&_0x4e7cc5['startContext'](_0x4b91ec['BulletList'],_0x296b3c['basePos'],_0x296b3c['next']);let _0x315f00=_0x5c6d0a(_0x296b3c,_0x296b3c['pos']+0x1);return _0x4e7cc5['startContext'](_0x4b91ec['ListItem'],_0x296b3c['basePos'],_0x315f00-_0x296b3c['baseIndent']),_0x4e7cc5['addNode'](_0x4b91ec['ListMark'],_0x4e7cc5['lineStart']+_0x296b3c['pos'],_0x4e7cc5['lineStart']+_0x296b3c['pos']+_0xd77130),_0x296b3c['moveBaseColumn'](_0x315f00),null;},'OrderedList'(_0x48c60d,_0x13f2d6){let _0x1077df=_0x25e567(_0x13f2d6,_0x48c60d,!0x1);if(_0x1077df<0x0)return!0x1;_0x48c60d['block']['type']!=_0x4b91ec['OrderedList']&&_0x48c60d['startContext'](_0x4b91ec['OrderedList'],_0x13f2d6['basePos'],_0x13f2d6['text']['charCodeAt'](_0x13f2d6['pos']+_0x1077df-0x1));let _0x19d5f2=_0x5c6d0a(_0x13f2d6,_0x13f2d6['pos']+_0x1077df);return _0x48c60d['startContext'](_0x4b91ec['ListItem'],_0x13f2d6['basePos'],_0x19d5f2-_0x13f2d6['baseIndent']),_0x48c60d['addNode'](_0x4b91ec['ListMark'],_0x48c60d['lineStart']+_0x13f2d6['pos'],_0x48c60d['lineStart']+_0x13f2d6['pos']+_0x1077df),_0x13f2d6['moveBaseColumn'](_0x19d5f2),null;},'ATXHeading'(_0x20b540,_0x5b49b9){let _0x58799e=_0x3adceb(_0x5b49b9);if(_0x58799e<0x0)return!0x1;let _0x121bfa=_0x5b49b9['pos'],_0x226d30=_0x20b540['lineStart']+_0x121bfa,_0x20fcba=_0x2e8493(_0x5b49b9['text'],_0x5b49b9['text']['length'],_0x121bfa),_0xfa7fb6=_0x20fcba;for(;_0xfa7fb6>_0x121bfa&&_0x5b49b9['text']['charCodeAt'](_0xfa7fb6-0x1)==_0x5b49b9['next'];)_0xfa7fb6--;_0xfa7fb6!=_0x20fcba&&_0xfa7fb6!=_0x121bfa&&_0x3ce063(_0x5b49b9['text']['charCodeAt'](_0xfa7fb6-0x1))||(_0xfa7fb6=_0x5b49b9['text']['length']);let _0x4a952c=_0x20b540['buffer']['write'](_0x4b91ec['HeaderMark'],0x0,_0x58799e)['writeElements'](_0x20b540['parser']['parseInline'](_0x5b49b9['text']['slice'](_0x121bfa+_0x58799e+0x1,_0xfa7fb6),_0x226d30+_0x58799e+0x1),-_0x226d30);_0xfa7fb6<_0x5b49b9['text']['length']&&_0x4a952c['write'](_0x4b91ec['HeaderMark'],_0xfa7fb6-_0x121bfa,_0x20fcba-_0x121bfa);let _0x48ade2=_0x4a952c['finish'](_0x4b91ec['ATXHeading1']-0x1+_0x58799e,_0x5b49b9['text']['length']-_0x121bfa);return _0x20b540['nextLine'](),_0x20b540['addNode'](_0x48ade2,_0x226d30),!0x0;},'HTMLBlock'(_0x2101f9,_0x4fc987){let _0x5d89cd=_0x147cef(_0x4fc987,0x0,!0x1);if(_0x5d89cd<0x0)return!0x1;let _0x153b72=_0x2101f9['lineStart']+_0x4fc987['pos'],_0x32d20b=_0x100c85[_0x5d89cd][0x1],_0x26c145=[],_0x23eff2=_0x32d20b!=_0x4bab30;for(;!_0x32d20b['test'](_0x4fc987['text'])&&_0x2101f9['nextLine']();){if(_0x4fc987['depth']<_0x2101f9['stack']['length']){_0x23eff2=!0x1;break;}for(let _0x2262bd of _0x4fc987['markers'])_0x26c145['push'](_0x2262bd);}_0x23eff2&&_0x2101f9['nextLine']();let _0x4d0e10=_0x32d20b==_0x30e0f7?_0x4b91ec['CommentBlock']:_0x32d20b==_0x1227ce?_0x4b91ec['ProcessingInstructionBlock']:_0x4b91ec['HTMLBlock'],_0x2c8375=_0x2101f9['prevLineEnd']();return _0x2101f9['addNode'](_0x2101f9['buffer']['writeElements'](_0x26c145,-_0x153b72)['finish'](_0x4d0e10,_0x2c8375-_0x153b72),_0x153b72),!0x0;},'SetextHeading':void 0x0};var _0x36b5ce=class{constructor(_0x450756){this['stage']=0x0,this['elts']=[],this['pos']=0x0,this['start']=_0x450756['start'],this['advance'](_0x450756['content']);}['nextLine'](_0x5d2ba5,_0x73f4e8,_0x18b9db){if(-0x1==this['stage'])return!0x1;let _0x3fa8db=_0x18b9db['content']+'\x0a'+_0x73f4e8['scrub'](),_0x1d3a66=this['advance'](_0x3fa8db);return _0x1d3a66>-0x1&&_0x1d3a66<_0x3fa8db['length']&&this['complete'](_0x5d2ba5,_0x18b9db,_0x1d3a66);}['finish'](_0x142ee3,_0x5870b6){return(0x2==this['stage']||0x3==this['stage'])&&_0x384823(_0x5870b6['content'],this['pos'])==_0x5870b6['content']['length']&&this['complete'](_0x142ee3,_0x5870b6,_0x5870b6['content']['length']);}['complete'](_0x3d781c,_0x3d9702,_0x4c7009){return _0x3d781c['addLeafElement'](_0x3d9702,_0x1fd08d(_0x4b91ec['LinkReference'],this['start'],this['start']+_0x4c7009,this['elts'])),!0x0;}['nextStage'](_0x5aed31){return _0x5aed31?(this['pos']=_0x5aed31['to']-this['start'],this['elts']['push'](_0x5aed31),this['stage']++,!0x0):(!0x1===_0x5aed31&&(this['stage']=-0x1),!0x1);}['advance'](_0x4ff4e0){for(;;){if(-0x1==this['stage'])return-0x1;if(0x0==this['stage']){if(!this['nextStage'](_0x1698b3(_0x4ff4e0,this['pos'],this['start'],!0x0)))return-0x1;if(0x3a!=_0x4ff4e0['charCodeAt'](this['pos']))return this['stage']=-0x1;this['elts']['push'](_0x1fd08d(_0x4b91ec['LinkMark'],this['pos']+this['start'],this['pos']+this['start']+0x1)),this['pos']++;}else{if(0x1!=this['stage']){if(0x2==this['stage']){let _0x27d043=_0x384823(_0x4ff4e0,this['pos']),_0x1f3b90=0x0;if(_0x27d043>this['pos']){let _0x8a591e=_0xc19f30(_0x4ff4e0,_0x27d043,this['start']);if(_0x8a591e){let _0x13b86b=_0x29e51e(_0x4ff4e0,_0x8a591e['to']-this['start']);_0x13b86b>0x0&&(this['nextStage'](_0x8a591e),_0x1f3b90=_0x13b86b);}}return _0x1f3b90||(_0x1f3b90=_0x29e51e(_0x4ff4e0,this['pos'])),_0x1f3b90>0x0&&_0x1f3b90<_0x4ff4e0['length']?_0x1f3b90:-0x1;}return _0x29e51e(_0x4ff4e0,this['pos']);}if(!this['nextStage'](_0x4f43b1(_0x4ff4e0,_0x384823(_0x4ff4e0,this['pos']),this['start'])))return-0x1;}}}};function _0x29e51e(_0x12be80,_0x312cb8){for(;_0x312cb8<_0x12be80['length'];_0x312cb8++){let _0x46e59f=_0x12be80['charCodeAt'](_0x312cb8);if(0xa==_0x46e59f)break;if(!_0x3ce063(_0x46e59f))return-0x1;}return _0x312cb8;}var _0x4c0731=class{['nextLine'](_0x4645bc,_0x1a3825,_0x2cb20f){let _0x561ab7=_0x1a3825['depth']<_0x4645bc['stack']['length']?-0x1:_0x156eef(_0x1a3825),_0x7e4499=_0x1a3825['next'];if(_0x561ab7<0x0)return!0x1;let _0x42cb60=_0x1fd08d(_0x4b91ec['HeaderMark'],_0x4645bc['lineStart']+_0x1a3825['pos'],_0x4645bc['lineStart']+_0x561ab7);return _0x4645bc['nextLine'](),_0x4645bc['addLeafElement'](_0x2cb20f,_0x1fd08d(0x3d==_0x7e4499?_0x4b91ec['SetextHeading1']:_0x4b91ec['SetextHeading2'],_0x2cb20f['start'],_0x4645bc['prevLineEnd'](),[..._0x4645bc['parser']['parseInline'](_0x2cb20f['content'],_0x2cb20f['start']),_0x42cb60])),!0x0;}['finish'](){return!0x1;}};const _0x58b7f3={'LinkReference':(_0x52e08a,_0x366e71)=>0x5b==_0x366e71['content']['charCodeAt'](0x0)?new _0x36b5ce(_0x366e71):null,'SetextHeading':()=>new _0x4c0731()},_0x59f9f3=[(_0x43a14c,_0x3d82f5)=>_0x3adceb(_0x3d82f5)>=0x0,(_0x3a5ad2,_0x2b67ea)=>_0x5801fd(_0x2b67ea)>=0x0,(_0x54794d,_0x3d3d0b)=>_0x5b68b9(_0x3d3d0b)>=0x0,(_0x48578e,_0x47f997)=>_0xed71c4(_0x47f997,_0x48578e,!0x0)>=0x0,(_0x45cf72,_0x503539)=>_0x25e567(_0x503539,_0x45cf72,!0x0)>=0x0,(_0x7ffa14,_0x28b5d5)=>_0x7c6ea4(_0x28b5d5,_0x7ffa14,!0x0)>=0x0,(_0x280924,_0x153b5d)=>_0x147cef(_0x153b5d,0x0,!0x0)>=0x0],_0x48229d={'text':'','end':0x0};var _0x5ab6c1=class{constructor(_0x160d8c,_0x2899e8,_0x3660aa,_0x179663){this['parser']=_0x160d8c,this['input']=_0x2899e8,this['ranges']=_0x179663,this['line']=new _0x1f8766(),this['atEnd']=!0x1,this['reusePlaceholders']=new Map(),this['stoppedAt']=null,this['rangeI']=0x0,this['to']=_0x179663[_0x179663['length']-0x1]['to'],this['lineStart']=this['absoluteLineStart']=this['absoluteLineEnd']=_0x179663[0x0]['from'],this['block']=_0x2b3d91['create'](_0x4b91ec['Document'],0x0,this['lineStart'],0x0,0x0),this['stack']=[this['block']],this['fragments']=_0x3660aa['length']?new _0x10ccd3(_0x3660aa,_0x2899e8):null,this['readLine']();}get['parsedPos'](){return this['absoluteLineStart'];}['advance'](){if(null!=this['stoppedAt']&&this['absoluteLineStart']>this['stoppedAt'])return this['finish']();let {line:_0x4539b6}=this;for(;;){for(let _0x3c69e4=0x0;;){let _0x49e824=_0x4539b6['depth']<this['stack']['length']?this['stack'][this['stack']['length']-0x1]:null;for(;_0x3c69e4<_0x4539b6['markers']['length']&&(!_0x49e824||_0x4539b6['markers'][_0x3c69e4]['from']<_0x49e824['end']);){let _0x2d1025=_0x4539b6['markers'][_0x3c69e4++];this['addNode'](_0x2d1025['type'],_0x2d1025['from'],_0x2d1025['to']);}if(!_0x49e824)break;this['finishContext']();}if(_0x4539b6['pos']<_0x4539b6['text']['length'])break;if(!this['nextLine']())return this['finish']();}if(this['fragments']&&this['reuseFragment'](_0x4539b6['basePos']))return null;t:for(;;){for(let _0x5868b7 of this['parser']['blockParsers'])if(_0x5868b7){let _0x89ae64=_0x5868b7(this,_0x4539b6);if(0x0!=_0x89ae64){if(0x1==_0x89ae64)return null;_0x4539b6['forward']();continue t;}}break;}let _0x3c9149=new _0x1445e8(this['lineStart']+_0x4539b6['pos'],_0x4539b6['text']['slice'](_0x4539b6['pos']));for(let _0x438b1c of this['parser']['leafBlockParsers'])if(_0x438b1c){let _0x3ae2ba=_0x438b1c(this,_0x3c9149);_0x3ae2ba&&_0x3c9149['parsers']['push'](_0x3ae2ba);}t:for(;this['nextLine']()&&_0x4539b6['pos']!=_0x4539b6['text']['length'];){if(_0x4539b6['indent']<_0x4539b6['baseIndent']+0x4){for(let _0x36ebab of this['parser']['endLeafBlock'])if(_0x36ebab(this,_0x4539b6,_0x3c9149))break t;}for(let _0x40b380 of _0x3c9149['parsers'])if(_0x40b380['nextLine'](this,_0x4539b6,_0x3c9149))return null;_0x3c9149['content']+='\x0a'+_0x4539b6['scrub']();for(let _0x2ef393 of _0x4539b6['markers'])_0x3c9149['marks']['push'](_0x2ef393);}return this['finishLeaf'](_0x3c9149),null;}['stopAt'](_0x431c98){if(null!=this['stoppedAt']&&this['stoppedAt']<_0x431c98)throw new RangeError('Can\x27t\x20move\x20stoppedAt\x20forward');this['stoppedAt']=_0x431c98;}['reuseFragment'](_0x2eedaf){if(!this['fragments']['moveTo'](this['absoluteLineStart']+_0x2eedaf,this['absoluteLineStart'])||!this['fragments']['matches'](this['block']['hash']))return!0x1;let _0x4c5763=this['fragments']['takeNodes'](this);return!!_0x4c5763&&(this['absoluteLineStart']+=_0x4c5763,this['lineStart']=_0x1b2544(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'](_0x265f9a=this['depth']-0x1){return this['parser']['nodeSet']['types'][this['stack'][_0x265f9a]['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'](_0x118aea){let _0x593769=_0x48229d;if(_0x593769['end']=_0x118aea,_0x118aea>=this['to'])_0x593769['text']='';else{if(_0x593769['text']=this['lineChunkAt'](_0x118aea),_0x593769['end']+=_0x593769['text']['length'],this['ranges']['length']>0x1){let _0x1d9e45=this['absoluteLineStart'],_0x32c0be=this['rangeI'];for(;this['ranges'][_0x32c0be]['to']<_0x593769['end'];){_0x32c0be++;let _0x531b91=this['ranges'][_0x32c0be]['from'],_0x4456c7=this['lineChunkAt'](_0x531b91);_0x593769['end']=_0x531b91+_0x4456c7['length'],_0x593769['text']=_0x593769['text']['slice'](0x0,this['ranges'][_0x32c0be-0x1]['to']-_0x1d9e45)+_0x4456c7,_0x1d9e45=_0x593769['end']-_0x593769['text']['length'];}}}return _0x593769;}['readLine'](){let {line:_0x5e9da9}=this,{text:_0x506b32,end:_0x49a3f5}=this['scanLine'](this['absoluteLineStart']);for(this['absoluteLineEnd']=_0x49a3f5,_0x5e9da9['reset'](_0x506b32);_0x5e9da9['depth']<this['stack']['length'];_0x5e9da9['depth']++){let _0x49fc47=this['stack'][_0x5e9da9['depth']],_0x2cae77=this['parser']['skipContextMarkup'][_0x49fc47['type']];if(!_0x2cae77)throw new Error('Unhandled\x20block\x20context\x20'+_0x4b91ec[_0x49fc47['type']]);let _0xe13c07=this['line']['markers']['length'];if(!_0x2cae77(_0x49fc47,this,_0x5e9da9)){this['line']['markers']['length']>_0xe13c07&&(_0x49fc47['end']=this['line']['markers'][this['line']['markers']['length']-0x1]['to']),_0x5e9da9['forward']();break;}_0x5e9da9['forward']();}}['lineChunkAt'](_0x5d0bac){let _0x1bdc1a,_0x39aba4=this['input']['chunk'](_0x5d0bac);if(this['input']['lineChunks'])_0x1bdc1a='\x0a'==_0x39aba4?'':_0x39aba4;else{let _0x594ade=_0x39aba4['indexOf']('\x0a');_0x1bdc1a=_0x594ade<0x0?_0x39aba4:_0x39aba4['slice'](0x0,_0x594ade);}return _0x5d0bac+_0x1bdc1a['length']>this['to']?_0x1bdc1a['slice'](0x0,this['to']-_0x5d0bac):_0x1bdc1a;}['prevLineEnd'](){return this['atEnd']?this['lineStart']:this['lineStart']-0x1;}['startContext'](_0x133b88,_0x3d9ed0,_0x523765=0x0){this['block']=_0x2b3d91['create'](_0x133b88,_0x523765,this['lineStart']+_0x3d9ed0,this['block']['hash'],this['lineStart']+this['line']['text']['length']),this['stack']['push'](this['block']);}['startComposite'](_0x28495d,_0x594f4b,_0x487e4b=0x0){this['startContext'](this['parser']['getNodeType'](_0x28495d),_0x594f4b,_0x487e4b);}['addNode'](_0x532d09,_0x14a930,_0xac94a6){'number'==typeof _0x532d09&&(_0x532d09=new _0x5a1f7d(this['parser']['nodeSet']['types'][_0x532d09],_0x22d6b5,_0x22d6b5,(null!=_0xac94a6?_0xac94a6:this['prevLineEnd']())-_0x14a930)),this['block']['addChild'](_0x532d09,_0x14a930-this['block']['from']);}['addElement'](_0x37e185){this['block']['addChild'](_0x37e185['toTree'](this['parser']['nodeSet']),_0x37e185['from']-this['block']['from']);}['addLeafElement'](_0x28f822,_0x2073fd){this['addNode'](this['buffer']['writeElements'](_0x58bd49(_0x2073fd['children'],_0x28f822['marks']),-_0x2073fd['from'])['finish'](_0x2073fd['type'],_0x2073fd['to']-_0x2073fd['from']),_0x2073fd['from']);}['finishContext'](){let _0x2c70ce=this['stack']['pop'](),_0x398251=this['stack'][this['stack']['length']-0x1];_0x398251['addChild'](_0x2c70ce['toTree'](this['parser']['nodeSet']),_0x2c70ce['from']-_0x398251['from']),this['block']=_0x398251;}['finish'](){for(;this['stack']['length']>0x1;)this['finishContext']();return this['addGaps'](this['block']['toTree'](this['parser']['nodeSet'],this['lineStart']));}['addGaps'](_0x43d78c){return this['ranges']['length']>0x1?_0x5882f7(this['ranges'],0x0,_0x43d78c['topNode'],this['ranges'][0x0]['from'],this['reusePlaceholders']):_0x43d78c;}['finishLeaf'](_0x3734ce){for(let _0xbf3640 of _0x3734ce['parsers'])if(_0xbf3640['finish'](this,_0x3734ce))return;let _0x4fbbfe=_0x58bd49(this['parser']['parseInline'](_0x3734ce['content'],_0x3734ce['start']),_0x3734ce['marks']);this['addNode'](this['buffer']['writeElements'](_0x4fbbfe,-_0x3734ce['start'])['finish'](_0x4b91ec['Paragraph'],_0x3734ce['content']['length']),_0x3734ce['start']);}['elt'](_0x426ab6,_0x46ea2e,_0x14544b,_0x1eb0ab){return'string'==typeof _0x426ab6?_0x1fd08d(this['parser']['getNodeType'](_0x426ab6),_0x46ea2e,_0x14544b,_0x1eb0ab):new _0x40fef6(_0x426ab6,_0x46ea2e);}get['buffer'](){return new _0x3b154d(this['parser']['nodeSet']);}};function _0x5882f7(_0x347ff5,_0x411597,_0x5e2e0a,_0x9f32f9,_0x3bf65b){let _0x23166f=_0x347ff5[_0x411597]['to'],_0x42c001=[],_0x151d36=[],_0x20d6a1=_0x5e2e0a['from']+_0x9f32f9;function _0x3711f0(_0x4de54c,_0x2002b9){for(;_0x2002b9?_0x4de54c>=_0x23166f:_0x4de54c>_0x23166f;){let _0x33763d=_0x347ff5[_0x411597+0x1]['from']-_0x23166f;_0x9f32f9+=_0x33763d,_0x4de54c+=_0x33763d,_0x411597++,_0x23166f=_0x347ff5[_0x411597]['to'];}}for(let _0x3ceedf=_0x5e2e0a['firstChild'];_0x3ceedf;_0x3ceedf=_0x3ceedf['nextSibling']){_0x3711f0(_0x3ceedf['from']+_0x9f32f9,!0x0);let _0x47af2d,_0x4ada53=_0x3ceedf['from']+_0x9f32f9,_0x56dd0a=_0x3bf65b['get'](_0x3ceedf['tree']);_0x56dd0a?_0x47af2d=_0x56dd0a:_0x3ceedf['to']+_0x9f32f9>_0x23166f?(_0x47af2d=_0x5882f7(_0x347ff5,_0x411597,_0x3ceedf,_0x9f32f9,_0x3bf65b),_0x3711f0(_0x3ceedf['to']+_0x9f32f9,!0x1)):_0x47af2d=_0x3ceedf['toTree'](),_0x42c001['push'](_0x47af2d),_0x151d36['push'](_0x4ada53-_0x20d6a1);}return _0x3711f0(_0x5e2e0a['to']+_0x9f32f9,!0x1),new _0x5a1f7d(_0x5e2e0a['type'],_0x42c001,_0x151d36,_0x5e2e0a['to']+_0x9f32f9-_0x20d6a1,_0x5e2e0a['tree']?_0x5e2e0a['tree']['propValues']:void 0x0);}var _0x347591=class _0x18d462 extends _0xb212c5{constructor(_0x4fd8d2,_0x128a6b,_0x38ea0d,_0x38b4de,_0x456726,_0x3376dd,_0x516769,_0x54b75e,_0x56bf39){super(),this['nodeSet']=_0x4fd8d2,this['blockParsers']=_0x128a6b,this['leafBlockParsers']=_0x38ea0d,this['blockNames']=_0x38b4de,this['endLeafBlock']=_0x456726,this['skipContextMarkup']=_0x3376dd,this['inlineParsers']=_0x516769,this['inlineNames']=_0x54b75e,this['wrappers']=_0x56bf39,this['nodeTypes']=Object['create'](null);for(let t of _0x4fd8d2['types'])this['nodeTypes'][t['name']]=t['id'];}['createParse'](_0x1af324,_0x164014,_0x216a0b){let _0x20bbf7=new _0x5ab6c1(this,_0x1af324,_0x164014,_0x216a0b);for(let _0x2a82b6 of this['wrappers'])_0x20bbf7=_0x2a82b6(_0x20bbf7,_0x1af324,_0x164014,_0x216a0b);return _0x20bbf7;}['configure'](_0x2bc4ff){let _0x224e18=_0x25e9fc(_0x2bc4ff);if(!_0x224e18)return this;let {nodeSet:_0x3e411d,skipContextMarkup:_0x305f5e}=this,_0x13b9ef=this['blockParsers']['slice'](),_0x4723df=this['leafBlockParsers']['slice'](),_0x6e8bbf=this['blockNames']['slice'](),_0x5825cb=this['inlineParsers']['slice'](),_0x829178=this['inlineNames']['slice'](),_0x1d3100=this['endLeafBlock']['slice'](),_0x4ab961=this['wrappers'];if(tG(_0x224e18['defineNodes'])){_0x305f5e=Object['assign']({},_0x305f5e);let _0x47337b,_0x35d7a8=_0x3e411d['types']['slice']();for(let _0x2892b9 of _0x224e18['defineNodes']){let {name:_0x3f93d1,block:_0xb8f5c5,composite:_0x413610,style:_0x3736f3}='string'==typeof _0x2892b9?{'name':_0x2892b9}:_0x2892b9;if(_0x35d7a8['some'](t=>t['name']==_0x3f93d1))continue;_0x413610&&(_0x305f5e[_0x35d7a8['length']]=(_0x9d30e8,_0x51b8bf,_0x3c6a80)=>_0x413610(_0x51b8bf,_0x3c6a80,_0x9d30e8['value']));let _0x1041ff=_0x35d7a8['length'],_0x6c38e0=_0x413610?['Block','BlockContext']:_0xb8f5c5?_0x1041ff>=_0x4b91ec['ATXHeading1']&&_0x1041ff<=_0x4b91ec['SetextHeading2']?['Block','LeafBlock','Heading']:['Block','LeafBlock']:void 0x0;_0x35d7a8['push'](_0x37f725['define']({'id':_0x1041ff,'name':_0x3f93d1,'props':_0x6c38e0&&[[_0x172440['group'],_0x6c38e0]]})),_0x3736f3&&(_0x47337b||(_0x47337b={}),Array['isArray'](_0x3736f3)||_0x3736f3 instanceof _0x49677a?_0x47337b[_0x3f93d1]=_0x3736f3:Object['assign'](_0x47337b,_0x3736f3));}_0x3e411d=new _0x190eda(_0x35d7a8),_0x47337b&&(_0x3e411d=_0x3e411d['extend'](_0x2f1f50(_0x47337b)));}if(tG(_0x224e18['props'])&&(_0x3e411d=_0x3e411d['extend'](..._0x224e18['props'])),tG(_0x224e18['remove']))for(let _0x1ecce9 of _0x224e18['remove']){let _0x149fed=this['blockNames']['indexOf'](_0x1ecce9),_0x4e22e5=this['inlineNames']['indexOf'](_0x1ecce9);_0x149fed>-0x1&&(_0x13b9ef[_0x149fed]=_0x4723df[_0x149fed]=void 0x0),_0x4e22e5>-0x1&&(_0x5825cb[_0x4e22e5]=void 0x0);}if(tG(_0x224e18['parseBlock']))for(let _0x434b96 of _0x224e18['parseBlock']){let _0x375fb7=_0x6e8bbf['indexOf'](_0x434b96['name']);if(_0x375fb7>-0x1)_0x13b9ef[_0x375fb7]=_0x434b96['parse'],_0x4723df[_0x375fb7]=_0x434b96['leaf'];else{let _0x333342=_0x434b96['before']?_0x2b5e16(_0x6e8bbf,_0x434b96['before']):_0x434b96['after']?_0x2b5e16(_0x6e8bbf,_0x434b96['after'])+0x1:_0x6e8bbf['length']-0x1;_0x13b9ef['splice'](_0x333342,0x0,_0x434b96['parse']),_0x4723df['splice'](_0x333342,0x0,_0x434b96['leaf']),_0x6e8bbf['splice'](_0x333342,0x0,_0x434b96['name']);}_0x434b96['endLeaf']&&_0x1d3100['push'](_0x434b96['endLeaf']);}if(tG(_0x224e18['parseInline']))for(let _0x5697fc of _0x224e18['parseInline']){let _0x48bcef=_0x829178['indexOf'](_0x5697fc['name']);if(_0x48bcef>-0x1)_0x5825cb[_0x48bcef]=_0x5697fc['parse'];else{let _0x6394db=_0x5697fc['before']?_0x2b5e16(_0x829178,_0x5697fc['before']):_0x5697fc['after']?_0x2b5e16(_0x829178,_0x5697fc['after'])+0x1:_0x829178['length']-0x1;_0x5825cb['splice'](_0x6394db,0x0,_0x5697fc['parse']),_0x829178['splice'](_0x6394db,0x0,_0x5697fc['name']);}}return _0x224e18['wrap']&&(_0x4ab961=_0x4ab961['concat'](_0x224e18['wrap'])),new _0x18d462(_0x3e411d,_0x13b9ef,_0x4723df,_0x6e8bbf,_0x1d3100,_0x305f5e,_0x5825cb,_0x829178,_0x4ab961);}['getNodeType'](_0x29903a){let _0xc8bd0f=this['nodeTypes'][_0x29903a];if(null==_0xc8bd0f)throw new RangeError('Unknown\x20node\x20type\x20\x27'+_0x29903a+'\x27');return _0xc8bd0f;}['parseInline'](_0x425462,_0x194da5){let _0x175d34=new _0x1299d9(this,_0x425462,_0x194da5);t:for(let _0x1660c1=_0x194da5;_0x1660c1<_0x175d34['end'];){let _0x52b397=_0x175d34['char'](_0x1660c1);for(let _0x48c11d of this['inlineParsers'])if(_0x48c11d){let _0x3285eb=_0x48c11d(_0x175d34,_0x52b397,_0x1660c1);if(_0x3285eb>=0x0){_0x1660c1=_0x3285eb;continue t;}}_0x1660c1++;}return _0x175d34['resolveMarkers'](0x0);}};function tG(_0x555e78){return null!=_0x555e78&&_0x555e78['length']>0x0;}function _0x25e9fc(_0x149443){if(!Array['isArray'](_0x149443))return _0x149443;if(0x0==_0x149443['length'])return null;let _0x5e10db=_0x25e9fc(_0x149443[0x0]);if(0x1==_0x149443['length'])return _0x5e10db;let _0x48601f=_0x25e9fc(_0x149443['slice'](0x1));if(!_0x48601f||!_0x5e10db)return _0x5e10db||_0x48601f;let _0x29df0d=(_0x18a0fe,_0x3ba2df)=>(_0x18a0fe||_0x22d6b5)['concat'](_0x3ba2df||_0x22d6b5),_0x3c0849=_0x5e10db['wrap'],_0x1e4c63=_0x48601f['wrap'];return{'props':_0x29df0d(_0x5e10db['props'],_0x48601f['props']),'defineNodes':_0x29df0d(_0x5e10db['defineNodes'],_0x48601f['defineNodes']),'parseBlock':_0x29df0d(_0x5e10db['parseBlock'],_0x48601f['parseBlock']),'parseInline':_0x29df0d(_0x5e10db['parseInline'],_0x48601f['parseInline']),'remove':_0x29df0d(_0x5e10db['remove'],_0x48601f['remove']),'wrap':_0x3c0849?_0x1e4c63?(_0x1f6c3a,_0x5bb147,_0x4625d5,_0x59b193)=>_0x3c0849(_0x1e4c63(_0x1f6c3a,_0x5bb147,_0x4625d5,_0x59b193),_0x5bb147,_0x4625d5,_0x59b193):_0x3c0849:_0x1e4c63};}function _0x2b5e16(_0x4c97a6,_0x4ca673){let _0x523215=_0x4c97a6['indexOf'](_0x4ca673);if(_0x523215<0x0)throw new RangeError('Position\x20specified\x20relative\x20to\x20unknown\x20parser\x20'+_0x4ca673);return _0x523215;}let _0x11ee3b=[_0x37f725['none']];for(let _0x73ee50,_0x35c3ba=0x1;_0x73ee50=_0x4b91ec[_0x35c3ba];_0x35c3ba++)_0x11ee3b[_0x35c3ba]=_0x37f725['define']({'id':_0x35c3ba,'name':_0x73ee50,'props':_0x35c3ba>=_0x4b91ec['Escape']?[]:[[_0x172440['group'],_0x35c3ba in _0x33f374?['Block','BlockContext']:['Block','LeafBlock']]],'top':'Document'==_0x73ee50});const _0x22d6b5=[];var _0x3b154d=class{constructor(_0x1678c5){this['nodeSet']=_0x1678c5,this['content']=[],this['nodes']=[];}['write'](_0x27aa3a,_0x517ca4,_0x252492,_0x3167da=0x0){return this['content']['push'](_0x27aa3a,_0x517ca4,_0x252492,0x4+0x4*_0x3167da),this;}['writeElements'](_0x54feca,_0x4bac77=0x0){for(let _0x5b58a0 of _0x54feca)_0x5b58a0['writeTo'](this,_0x4bac77);return this;}['finish'](_0x595a2e,_0x5d6bad){return _0x5a1f7d['build']({'buffer':this['content'],'nodeSet':this['nodeSet'],'reused':this['nodes'],'topID':_0x595a2e,'length':_0x5d6bad});}},_0x7cc902=class{constructor(_0x2d1b93,_0x4ee18b,_0x25beba,_0x8f24e1=_0x22d6b5){this['type']=_0x2d1b93,this['from']=_0x4ee18b,this['to']=_0x25beba,this['children']=_0x8f24e1;}['writeTo'](_0x57fd8e,_0x5b4adf){let _0x4ea4b2=_0x57fd8e['content']['length'];_0x57fd8e['writeElements'](this['children'],_0x5b4adf),_0x57fd8e['content']['push'](this['type'],this['from']+_0x5b4adf,this['to']+_0x5b4adf,_0x57fd8e['content']['length']+0x4-_0x4ea4b2);}['toTree'](_0x24f531){return new _0x3b154d(_0x24f531)['writeElements'](this['children'],-this['from'])['finish'](this['type'],this['to']-this['from']);}},_0x40fef6=class{constructor(_0xdb7830,_0x52f6c0){this['tree']=_0xdb7830,this['from']=_0x52f6c0;}get['to'](){return this['from']+this['tree']['length'];}get['type'](){return this['tree']['type']['id'];}get['children'](){return _0x22d6b5;}['writeTo'](_0x2da182,_0x28b438){_0x2da182['nodes']['push'](this['tree']),_0x2da182['content']['push'](_0x2da182['nodes']['length']-0x1,this['from']+_0x28b438,this['to']+_0x28b438,-0x1);}['toTree'](){return this['tree'];}};function _0x1fd08d(_0x2bf754,_0x56346c,_0x2cd75e,_0x3c9a2a){return new _0x7cc902(_0x2bf754,_0x56346c,_0x2cd75e,_0x3c9a2a);}const _0x2334d1={'resolve':'Emphasis','mark':'EmphasisMark'},_0x291903={'resolve':'Emphasis','mark':'EmphasisMark'},_0x402b26={},_0x15f03d={};var _0x220b28=class{constructor(_0x42d11a,_0x25d55,_0x59c24d,_0x3474b1){this['type']=_0x42d11a,this['from']=_0x25d55,this['to']=_0x59c24d,this['side']=_0x3474b1;}};let _0x16bc0a=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{_0x16bc0a=new RegExp('[\x5cp{S}|\x5cp{P}]','u');}catch(_0x3913d9){}const _0x22a95c={'Escape'(_0x1ae5d5,_0x357855,_0x2abb5a){if(0x5c!=_0x357855||_0x2abb5a==_0x1ae5d5['end']-0x1)return-0x1;let _0x3a004a=_0x1ae5d5['char'](_0x2abb5a+0x1);for(let _0x518332=0x0;_0x518332<0x20;_0x518332++)if('!\x22#$%&\x27()*+,-./:;<=>?@[\x5c]^_`{|}~'['charCodeAt'](_0x518332)==_0x3a004a)return _0x1ae5d5['append'](_0x1fd08d(_0x4b91ec['Escape'],_0x2abb5a,_0x2abb5a+0x2));return-0x1;},'Entity'(_0x33f938,_0x22164e,_0x24516d){if(0x26!=_0x22164e)return-0x1;let _0x4438e9=/^(?:#\d+|#x[a-f\d]+|\w+);/i['exec'](_0x33f938['slice'](_0x24516d+0x1,_0x24516d+0x1f));return _0x4438e9?_0x33f938['append'](_0x1fd08d(_0x4b91ec['Entity'],_0x24516d,_0x24516d+0x1+_0x4438e9[0x0]['length'])):-0x1;},'InlineCode'(_0x459479,_0x52e257,_0x4b6dcd){if(0x60!=_0x52e257||_0x4b6dcd&&0x60==_0x459479['char'](_0x4b6dcd-0x1))return-0x1;let _0xad1e05=_0x4b6dcd+0x1;for(;_0xad1e05<_0x459479['end']&&0x60==_0x459479['char'](_0xad1e05);)_0xad1e05++;let _0x38cf77=_0xad1e05-_0x4b6dcd,_0x552676=0x0;for(;_0xad1e05<_0x459479['end'];_0xad1e05++)if(0x60==_0x459479['char'](_0xad1e05)){if(_0x552676++,_0x552676==_0x38cf77&&0x60!=_0x459479['char'](_0xad1e05+0x1))return _0x459479['append'](_0x1fd08d(_0x4b91ec['InlineCode'],_0x4b6dcd,_0xad1e05+0x1,[_0x1fd08d(_0x4b91ec['CodeMark'],_0x4b6dcd,_0x4b6dcd+_0x38cf77),_0x1fd08d(_0x4b91ec['CodeMark'],_0xad1e05+0x1-_0x38cf77,_0xad1e05+0x1)]));}else _0x552676=0x0;return-0x1;},'HTMLTag'(_0x5e378f,_0x229a41,_0x44899d){if(0x3c!=_0x229a41||_0x44899d==_0x5e378f['end']-0x1)return-0x1;let _0xf47e93=_0x5e378f['slice'](_0x44899d+0x1,_0x5e378f['end']),_0x410558=/^(?:[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'](_0xf47e93);if(_0x410558)return _0x5e378f['append'](_0x1fd08d(_0x4b91ec['Autolink'],_0x44899d,_0x44899d+0x1+_0x410558[0x0]['length'],[_0x1fd08d(_0x4b91ec['LinkMark'],_0x44899d,_0x44899d+0x1),_0x1fd08d(_0x4b91ec['URL'],_0x44899d+0x1,_0x44899d+_0x410558[0x0]['length']),_0x1fd08d(_0x4b91ec['LinkMark'],_0x44899d+_0x410558[0x0]['length'],_0x44899d+0x1+_0x410558[0x0]['length'])]));let _0x48cf64=/^!--[^>](?:-[^-]|[^-])*?-->/i['exec'](_0xf47e93);if(_0x48cf64)return _0x5e378f['append'](_0x1fd08d(_0x4b91ec['Comment'],_0x44899d,_0x44899d+0x1+_0x48cf64[0x0]['length']));let _0x2f181b=/^\?[^]*?\?>/['exec'](_0xf47e93);if(_0x2f181b)return _0x5e378f['append'](_0x1fd08d(_0x4b91ec['ProcessingInstruction'],_0x44899d,_0x44899d+0x1+_0x2f181b[0x0]['length']));let _0x577031=/^(?:![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'](_0xf47e93);return _0x577031?_0x5e378f['append'](_0x1fd08d(_0x4b91ec['HTMLTag'],_0x44899d,_0x44899d+0x1+_0x577031[0x0]['length'])):-0x1;},'Emphasis'(_0x332488,_0x1d048a,_0x1d2347){if(0x5f!=_0x1d048a&&0x2a!=_0x1d048a)return-0x1;let _0x5f59a1=_0x1d2347+0x1;for(;_0x332488['char'](_0x5f59a1)==_0x1d048a;)_0x5f59a1++;let _0x342b8=_0x332488['slice'](_0x1d2347-0x1,_0x1d2347),_0x1ff79f=_0x332488['slice'](_0x5f59a1,_0x5f59a1+0x1),_0x39288a=_0x16bc0a['test'](_0x342b8),_0x399031=_0x16bc0a['test'](_0x1ff79f),_0x5092e6=/\s|^$/['test'](_0x342b8),_0x49cd04=/\s|^$/['test'](_0x1ff79f),_0x15967e=!_0x49cd04&&(!_0x399031||_0x5092e6||_0x39288a),_0x3ed1d0=!_0x5092e6&&(!_0x39288a||_0x49cd04||_0x399031),_0x4635ff=_0x15967e&&(0x2a==_0x1d048a||!_0x3ed1d0||_0x39288a),_0x17a095=_0x3ed1d0&&(0x2a==_0x1d048a||!_0x15967e||_0x399031);return _0x332488['append'](new _0x220b28(0x5f==_0x1d048a?_0x2334d1:_0x291903,_0x1d2347,_0x5f59a1,(_0x4635ff?0x1:0x0)|(_0x17a095?0x2:0x0)));},'HardBreak'(_0x53173d,_0x172753,_0x4e8a3f){if(0x5c==_0x172753&&0xa==_0x53173d['char'](_0x4e8a3f+0x1))return _0x53173d['append'](_0x1fd08d(_0x4b91ec['HardBreak'],_0x4e8a3f,_0x4e8a3f+0x2));if(0x20==_0x172753){let _0x4d3fa9=_0x4e8a3f+0x1;for(;0x20==_0x53173d['char'](_0x4d3fa9);)_0x4d3fa9++;if(0xa==_0x53173d['char'](_0x4d3fa9)&&_0x4d3fa9>=_0x4e8a3f+0x2)return _0x53173d['append'](_0x1fd08d(_0x4b91ec['HardBreak'],_0x4e8a3f,_0x4d3fa9+0x1));}return-0x1;},'Link':(_0x102f40,_0x23363c,_0x59e506)=>0x5b==_0x23363c?_0x102f40['append'](new _0x220b28(_0x402b26,_0x59e506,_0x59e506+0x1,0x1)):-0x1,'Image':(_0x687b1c,_0x1b62c5,_0x1f8243)=>0x21==_0x1b62c5&&0x5b==_0x687b1c['char'](_0x1f8243+0x1)?_0x687b1c['append'](new _0x220b28(_0x15f03d,_0x1f8243,_0x1f8243+0x2,0x1)):-0x1,'LinkEnd'(_0x2dbcf2,_0x2d7cd2,_0x1f4e8f){if(0x5d!=_0x2d7cd2)return-0x1;for(let _0x45982c=_0x2dbcf2['parts']['length']-0x1;_0x45982c>=0x0;_0x45982c--){let _0x12427c=_0x2dbcf2['parts'][_0x45982c];if(_0x12427c instanceof _0x220b28&&(_0x12427c['type']==_0x402b26||_0x12427c['type']==_0x15f03d)){if(!_0x12427c['side']||_0x2dbcf2['skipSpace'](_0x12427c['to'])==_0x1f4e8f&&!/[(\[]/['test'](_0x2dbcf2['slice'](_0x1f4e8f+0x1,_0x1f4e8f+0x2)))return _0x2dbcf2['parts'][_0x45982c]=null,-0x1;let _0x243609=_0x2dbcf2['takeContent'](_0x45982c),_0x296190=_0x2dbcf2['parts'][_0x45982c]=_0x35a46e(_0x2dbcf2,_0x243609,_0x12427c['type']==_0x402b26?_0x4b91ec['Link']:_0x4b91ec['Image'],_0x12427c['from'],_0x1f4e8f+0x1);if(_0x12427c['type']==_0x402b26)for(let _0x28e5ff=0x0;_0x28e5ff<_0x45982c;_0x28e5ff++){let _0x5c114f=_0x2dbcf2['parts'][_0x28e5ff];_0x5c114f instanceof _0x220b28&&_0x5c114f['type']==_0x402b26&&(_0x5c114f['side']=0x0);}return _0x296190['to'];}}return-0x1;}};function _0x35a46e(_0x5528d2,_0x4aefb7,_0x51d5fd,_0x37d4fc,_0x3e9048){let {text:_0x4e8e67}=_0x5528d2,_0x3420ef=_0x5528d2['char'](_0x3e9048),_0x3994e9=_0x3e9048;if(_0x4aefb7['unshift'](_0x1fd08d(_0x4b91ec['LinkMark'],_0x37d4fc,_0x37d4fc+(_0x51d5fd==_0x4b91ec['Image']?0x2:0x1))),_0x4aefb7['push'](_0x1fd08d(_0x4b91ec['LinkMark'],_0x3e9048-0x1,_0x3e9048)),0x28==_0x3420ef){let _0x17be1b,_0x58eeb1=_0x5528d2['skipSpace'](_0x3e9048+0x1),_0x596acb=_0x4f43b1(_0x4e8e67,_0x58eeb1-_0x5528d2['offset'],_0x5528d2['offset']);_0x596acb&&(_0x58eeb1=_0x5528d2['skipSpace'](_0x596acb['to']),_0x58eeb1!=_0x596acb['to']&&(_0x17be1b=_0xc19f30(_0x4e8e67,_0x58eeb1-_0x5528d2['offset'],_0x5528d2['offset']),_0x17be1b&&(_0x58eeb1=_0x5528d2['skipSpace'](_0x17be1b['to'])))),0x29==_0x5528d2['char'](_0x58eeb1)&&(_0x4aefb7['push'](_0x1fd08d(_0x4b91ec['LinkMark'],_0x3e9048,_0x3e9048+0x1)),_0x3994e9=_0x58eeb1+0x1,_0x596acb&&_0x4aefb7['push'](_0x596acb),_0x17be1b&&_0x4aefb7['push'](_0x17be1b),_0x4aefb7['push'](_0x1fd08d(_0x4b91ec['LinkMark'],_0x58eeb1,_0x3994e9)));}else{if(0x5b==_0x3420ef){let _0x1a5814=_0x1698b3(_0x4e8e67,_0x3e9048-_0x5528d2['offset'],_0x5528d2['offset'],!0x1);_0x1a5814&&(_0x4aefb7['push'](_0x1a5814),_0x3994e9=_0x1a5814['to']);}}return _0x1fd08d(_0x51d5fd,_0x37d4fc,_0x3994e9,_0x4aefb7);}function _0x4f43b1(_0x10edee,_0x18f86c,_0x49f284){if(0x3c==_0x10edee['charCodeAt'](_0x18f86c)){for(let _0x1d998e=_0x18f86c+0x1;_0x1d998e<_0x10edee['length'];_0x1d998e++){let _0x5e2d57=_0x10edee['charCodeAt'](_0x1d998e);if(0x3e==_0x5e2d57)return _0x1fd08d(_0x4b91ec['URL'],_0x18f86c+_0x49f284,_0x1d998e+0x1+_0x49f284);if(0x3c==_0x5e2d57||0xa==_0x5e2d57)return!0x1;}return null;}{let _0x173691=0x0,_0x493887=_0x18f86c;for(let _0x58f5b7=!0x1;_0x493887<_0x10edee['length'];_0x493887++){let _0x1b237c=_0x10edee['charCodeAt'](_0x493887);if(_0x3ce063(_0x1b237c))break;if(_0x58f5b7)_0x58f5b7=!0x1;else{if(0x28==_0x1b237c)_0x173691++;else{if(0x29==_0x1b237c){if(!_0x173691)break;_0x173691--;}else 0x5c==_0x1b237c&&(_0x58f5b7=!0x0);}}}return _0x493887>_0x18f86c?_0x1fd08d(_0x4b91ec['URL'],_0x18f86c+_0x49f284,_0x493887+_0x49f284):_0x493887==_0x10edee['length']&&null;}}function _0xc19f30(_0x4b7de0,_0x4b1c11,_0x133aed){let _0x5e3c73=_0x4b7de0['charCodeAt'](_0x4b1c11);if(0x27!=_0x5e3c73&&0x22!=_0x5e3c73&&0x28!=_0x5e3c73)return!0x1;let _0x347286=0x28==_0x5e3c73?0x29:_0x5e3c73;for(let _0x42b293=_0x4b1c11+0x1,_0x1e5b32=!0x1;_0x42b293<_0x4b7de0['length'];_0x42b293++){let _0x23d9e0=_0x4b7de0['charCodeAt'](_0x42b293);if(_0x1e5b32)_0x1e5b32=!0x1;else{if(_0x23d9e0==_0x347286)return _0x1fd08d(_0x4b91ec['LinkTitle'],_0x4b1c11+_0x133aed,_0x42b293+0x1+_0x133aed);0x5c==_0x23d9e0&&(_0x1e5b32=!0x0);}}return null;}function _0x1698b3(_0x145678,_0x424eab,_0x3f1beb,_0x556cfc){for(let _0x3b9d7d=!0x1,_0x26805f=_0x424eab+0x1,_0x500431=Math['min'](_0x145678['length'],_0x26805f+0x3e7);_0x26805f<_0x500431;_0x26805f++){let _0x4427b0=_0x145678['charCodeAt'](_0x26805f);if(_0x3b9d7d)_0x3b9d7d=!0x1;else{if(0x5d==_0x4427b0)return!_0x556cfc&&_0x1fd08d(_0x4b91ec['LinkLabel'],_0x424eab+_0x3f1beb,_0x26805f+0x1+_0x3f1beb);if(_0x556cfc&&!_0x3ce063(_0x4427b0)&&(_0x556cfc=!0x1),0x5b==_0x4427b0)return!0x1;0x5c==_0x4427b0&&(_0x3b9d7d=!0x0);}}return null;}var _0x1299d9=class{constructor(_0x543079,_0x59761c,_0x463752){this['parser']=_0x543079,this['text']=_0x59761c,this['offset']=_0x463752,this['parts']=[];}['char'](_0x1695d4){return _0x1695d4>=this['end']?-0x1:this['text']['charCodeAt'](_0x1695d4-this['offset']);}get['end'](){return this['offset']+this['text']['length'];}['slice'](_0x692291,_0x2f002e){return this['text']['slice'](_0x692291-this['offset'],_0x2f002e-this['offset']);}['append'](_0x4a5f37){return this['parts']['push'](_0x4a5f37),_0x4a5f37['to'];}['addDelimiter'](_0x3d1911,_0xddbe87,_0xf5135a,_0x3e6228,_0xfa19c6){return this['append'](new _0x220b28(_0x3d1911,_0xddbe87,_0xf5135a,(_0x3e6228?0x1:0x0)|(_0xfa19c6?0x2:0x0)));}get['hasOpenLink'](){for(let _0x1dd865=this['parts']['length']-0x1;_0x1dd865>=0x0;_0x1dd865--){let _0x46dd36=this['parts'][_0x1dd865];if(_0x46dd36 instanceof _0x220b28&&(_0x46dd36['type']==_0x402b26||_0x46dd36['type']==_0x15f03d))return!0x0;}return!0x1;}['addElement'](_0x144db7){return this['append'](_0x144db7);}['resolveMarkers'](_0xb00e5){for(let _0x20abed=_0xb00e5;_0x20abed<this['parts']['length'];_0x20abed++){let _0x1ac94e=this['parts'][_0x20abed];if(!(_0x1ac94e instanceof _0x220b28&&_0x1ac94e['type']['resolve']&&0x2&_0x1ac94e['side']))continue;let _0x449be2,_0xd13ede=_0x1ac94e['type']==_0x2334d1||_0x1ac94e['type']==_0x291903,_0xe89350=_0x1ac94e['to']-_0x1ac94e['from'],_0x28ea92=_0x20abed-0x1;for(;_0x28ea92>=_0xb00e5;_0x28ea92--){let _0x2b2298=this['parts'][_0x28ea92];if(_0x2b2298 instanceof _0x220b28&&0x1&_0x2b2298['side']&&_0x2b2298['type']==_0x1ac94e['type']&&!(_0xd13ede&&(0x1&_0x1ac94e['side']||0x2&_0x2b2298['side'])&&(_0x2b2298['to']-_0x2b2298['from']+_0xe89350)%0x3==0x0&&((_0x2b2298['to']-_0x2b2298['from'])%0x3||_0xe89350%0x3))){_0x449be2=_0x2b2298;break;}}if(!_0x449be2)continue;let _0x1f7d05=_0x1ac94e['type']['resolve'],_0x44cad1=[],_0x166828=_0x449be2['from'],_0x25e427=_0x1ac94e['to'];if(_0xd13ede){let _0xb1f080=Math['min'](0x2,_0x449be2['to']-_0x449be2['from'],_0xe89350);_0x166828=_0x449be2['to']-_0xb1f080,_0x25e427=_0x1ac94e['from']+_0xb1f080,_0x1f7d05=0x1==_0xb1f080?'Emphasis':'StrongEmphasis';}_0x449be2['type']['mark']&&_0x44cad1['push'](this['elt'](_0x449be2['type']['mark'],_0x166828,_0x449be2['to']));for(let _0x6a7c2f=_0x28ea92+0x1;_0x6a7c2f<_0x20abed;_0x6a7c2f++)this['parts'][_0x6a7c2f]instanceof _0x7cc902&&_0x44cad1['push'](this['parts'][_0x6a7c2f]),this['parts'][_0x6a7c2f]=null;_0x1ac94e['type']['mark']&&_0x44cad1['push'](this['elt'](_0x1ac94e['type']['mark'],_0x1ac94e['from'],_0x25e427));let _0x223e7e=this['elt'](_0x1f7d05,_0x166828,_0x25e427,_0x44cad1);this['parts'][_0x28ea92]=_0xd13ede&&_0x449be2['from']!=_0x166828?new _0x220b28(_0x449be2['type'],_0x449be2['from'],_0x166828,_0x449be2['side']):null,(this['parts'][_0x20abed]=_0xd13ede&&_0x1ac94e['to']!=_0x25e427?new _0x220b28(_0x1ac94e['type'],_0x25e427,_0x1ac94e['to'],_0x1ac94e['side']):null)?this['parts']['splice'](_0x20abed,0x0,_0x223e7e):this['parts'][_0x20abed]=_0x223e7e;}let _0x42d6ba=[];for(let _0x20a3c0=_0xb00e5;_0x20a3c0<this['parts']['length'];_0x20a3c0++){let _0x2af4f5=this['parts'][_0x20a3c0];_0x2af4f5 instanceof _0x7cc902&&_0x42d6ba['push'](_0x2af4f5);}return _0x42d6ba;}['findOpeningDelimiter'](_0x3920ee){for(let _0x42365e=this['parts']['length']-0x1;_0x42365e>=0x0;_0x42365e--){let _0x211b07=this['parts'][_0x42365e];if(_0x211b07 instanceof _0x220b28&&_0x211b07['type']==_0x3920ee&&0x1&_0x211b07['side'])return _0x42365e;}return null;}['takeContent'](_0x37db5d){let _0x36d15f=this['resolveMarkers'](_0x37db5d);return this['parts']['length']=_0x37db5d,_0x36d15f;}['getDelimiterAt'](_0x45330e){let _0x576708=this['parts'][_0x45330e];return _0x576708 instanceof _0x220b28?_0x576708:null;}['skipSpace'](_0x251f81){return _0x384823(this['text'],_0x251f81-this['offset'])+this['offset'];}['elt'](_0x587016,_0x1adf3c,_0x150783,_0x53f8d0){return'string'==typeof _0x587016?_0x1fd08d(this['parser']['getNodeType'](_0x587016),_0x1adf3c,_0x150783,_0x53f8d0):new _0x40fef6(_0x587016,_0x1adf3c);}};function _0x58bd49(_0x53cf93,_0x1c0306){if(!_0x1c0306['length'])return _0x53cf93;if(!_0x53cf93['length'])return _0x1c0306;let _0x68993c=_0x53cf93['slice'](),_0x21570a=0x0;for(let _0x2d2499 of _0x1c0306){for(;_0x21570a<_0x68993c['length']&&_0x68993c[_0x21570a]['to']<_0x2d2499['to'];)_0x21570a++;if(_0x21570a<_0x68993c['length']&&_0x68993c[_0x21570a]['from']<_0x2d2499['from']){let _0x3c7178=_0x68993c[_0x21570a];_0x3c7178 instanceof _0x7cc902&&(_0x68993c[_0x21570a]=new _0x7cc902(_0x3c7178['type'],_0x3c7178['from'],_0x3c7178['to'],_0x58bd49(_0x3c7178['children'],[_0x2d2499])));}else _0x68993c['splice'](_0x21570a++,0x0,_0x2d2499);}return _0x68993c;}_0x1299d9['linkStart']=_0x402b26,_0x1299d9['imageStart']=_0x15f03d;const _0x45c833=[_0x4b91ec['CodeBlock'],_0x4b91ec['ListItem'],_0x4b91ec['OrderedList'],_0x4b91ec['BulletList']];var _0x10ccd3=class{constructor(_0x5002f7,_0x5d57a9){this['fragments']=_0x5002f7,this['input']=_0x5d57a9,this['i']=0x0,this['fragment']=null,this['fragmentEnd']=-0x1,this['cursor']=null,_0x5002f7['length']&&(this['fragment']=_0x5002f7[this['i']++]);}['nextFragment'](){this['fragment']=this['i']<this['fragments']['length']?this['fragments'][this['i']++]:null,this['cursor']=null,this['fragmentEnd']=-0x1;}['moveTo'](_0x5a1485,_0x52cb3c){for(;this['fragment']&&this['fragment']['to']<=_0x5a1485;)this['nextFragment']();if(!this['fragment']||this['fragment']['from']>(_0x5a1485?_0x5a1485-0x1:0x0))return!0x1;if(this['fragmentEnd']<0x0){let _0x3652aa=this['fragment']['to'];for(;_0x3652aa>0x0&&'\x0a'!=this['input']['read'](_0x3652aa-0x1,_0x3652aa);)_0x3652aa--;this['fragmentEnd']=_0x3652aa?_0x3652aa-0x1:0x0;}let _0x178221=this['cursor'];_0x178221||(_0x178221=this['cursor']=this['fragment']['tree']['cursor'](),_0x178221['firstChild']());let _0x277d88=_0x5a1485+this['fragment']['offset'];for(;_0x178221['to']<=_0x277d88;)if(!_0x178221['parent']())return!0x1;for(;;){if(_0x178221['from']>=_0x277d88)return this['fragment']['from']<=_0x52cb3c;if(!_0x178221['childAfter'](_0x277d88))return!0x1;}}['matches'](_0x20da7a){let _0x55ed1e=this['cursor']['tree'];return _0x55ed1e&&_0x55ed1e['prop'](_0x172440['contextHash'])==_0x20da7a;}['takeNodes'](_0x2504e8){let _0x48f27b=this['cursor'],_0x537f91=this['fragment']['offset'],_0x20f274=this['fragmentEnd']-(this['fragment']['openEnd']?0x1:0x0),_0x59ac3c=_0x2504e8['absoluteLineStart'],_0x5cccd1=_0x59ac3c,_0x30dd0b=_0x2504e8['block']['children']['length'],_0x453d84=_0x5cccd1,_0x4e3d6b=_0x30dd0b;for(;;){if(_0x48f27b['to']-_0x537f91>_0x20f274){if(_0x48f27b['type']['isAnonymous']&&_0x48f27b['firstChild']())continue;break;}let _0x264835=_0x1b2544(_0x48f27b['from']-_0x537f91,_0x2504e8['ranges']);if(_0x48f27b['to']-_0x537f91<=_0x2504e8['ranges'][_0x2504e8['rangeI']]['to'])_0x2504e8['addNode'](_0x48f27b['tree'],_0x264835);else{let _0x4af6c4=new _0x5a1f7d(_0x2504e8['parser']['nodeSet']['types'][_0x4b91ec['Paragraph']],[],[],0x0,_0x2504e8['block']['hashProp']);_0x2504e8['reusePlaceholders']['set'](_0x4af6c4,_0x48f27b['tree']),_0x2504e8['addNode'](_0x4af6c4,_0x264835);}if(_0x48f27b['type']['is']('Block')&&(_0x45c833['indexOf'](_0x48f27b['type']['id'])<0x0?(_0x5cccd1=_0x48f27b['to']-_0x537f91,_0x30dd0b=_0x2504e8['block']['children']['length']):(_0x5cccd1=_0x453d84,_0x30dd0b=_0x4e3d6b),_0x453d84=_0x48f27b['to']-_0x537f91,_0x4e3d6b=_0x2504e8['block']['children']['length']),!_0x48f27b['nextSibling']())break;}for(;_0x2504e8['block']['children']['length']>_0x30dd0b;)_0x2504e8['block']['children']['pop'](),_0x2504e8['block']['positions']['pop']();return _0x5cccd1-_0x59ac3c;}};function _0x1b2544(_0x3ea623,_0x47cdfb){let _0x4dabc0=_0x3ea623;for(let _0x17a8cf=0x1;_0x17a8cf<_0x47cdfb['length'];_0x17a8cf++){let _0x6d0085=_0x47cdfb[_0x17a8cf-0x1]['to'],_0x4e45d9=_0x47cdfb[_0x17a8cf]['from'];_0x6d0085<_0x3ea623&&(_0x4dabc0-=_0x4e45d9-_0x6d0085);}return _0x4dabc0;}const _0x3bf591=_0x2f1f50({'Blockquote/...':_0x554ddb['quote'],'HorizontalRule':_0x554ddb['contentSeparator'],'ATXHeading1/...\x20SetextHeading1/...':_0x554ddb['heading1'],'ATXHeading2/...\x20SetextHeading2/...':_0x554ddb['heading2'],'ATXHeading3/...':_0x554ddb['heading3'],'ATXHeading4/...':_0x554ddb['heading4'],'ATXHeading5/...':_0x554ddb['heading5'],'ATXHeading6/...':_0x554ddb['heading6'],'Comment\x20CommentBlock':_0x554ddb['comment'],'Escape':_0x554ddb['escape'],'Entity':_0x554ddb['character'],'Emphasis/...':_0x554ddb['emphasis'],'StrongEmphasis/...':_0x554ddb['strong'],'Link/...\x20Image/...':_0x554ddb['link'],'OrderedList/...\x20BulletList/...':_0x554ddb['list'],'BlockQuote/...':_0x554ddb['quote'],'InlineCode\x20CodeText':_0x554ddb['monospace'],'URL\x20Autolink':_0x554ddb['url'],'HeaderMark\x20HardBreak\x20QuoteMark\x20ListMark\x20LinkMark\x20EmphasisMark\x20CodeMark':_0x554ddb['processingInstruction'],'CodeInfo\x20LinkLabel':_0x554ddb['labelName'],'LinkTitle':_0x554ddb['string'],'Paragraph':_0x554ddb['content']}),_0xb5f7e9=new _0x347591(new _0x190eda(_0x11ee3b)['extend'](_0x3bf591),Object['keys'](_0x32a81f)['map'](_0x125952=>_0x32a81f[_0x125952]),Object['keys'](_0x32a81f)['map'](_0x43e879=>_0x58b7f3[_0x43e879]),Object['keys'](_0x32a81f),_0x59f9f3,_0x33f374,Object['keys'](_0x22a95c)['map'](_0xe828c9=>_0x22a95c[_0xe828c9]),Object['keys'](_0x22a95c),[]);function _0x295963(_0x45b1a4,_0x46d662,_0x5df098){let _0x50f445=[];for(let _0x18a0d0=_0x45b1a4['firstChild'],_0xbdbb41=_0x46d662;;_0x18a0d0=_0x18a0d0['nextSibling']){let _0x38d953=_0x18a0d0?_0x18a0d0['from']:_0x5df098;if(_0x38d953>_0xbdbb41&&_0x50f445['push']({'from':_0xbdbb41,'to':_0x38d953}),!_0x18a0d0)break;_0xbdbb41=_0x18a0d0['to'];}return _0x50f445;}const _0x4ee4d8={'resolve':'Strikethrough','mark':'StrikethroughMark'},_0x3021ae={'defineNodes':[{'name':'Strikethrough','style':{'Strikethrough/...':_0x554ddb['strikethrough']}},{'name':'StrikethroughMark','style':_0x554ddb['processingInstruction']}],'parseInline':[{'name':'Strikethrough','parse'(_0x27a2ec,_0x5e41d3,_0x2818ae){if(0x7e!=_0x5e41d3||0x7e!=_0x27a2ec['char'](_0x2818ae+0x1)||0x7e==_0x27a2ec['char'](_0x2818ae+0x2))return-0x1;let _0x88813b=_0x27a2ec['slice'](_0x2818ae-0x1,_0x2818ae),_0x4a52fd=_0x27a2ec['slice'](_0x2818ae+0x2,_0x2818ae+0x3),_0x1b241a=/\s|^$/['test'](_0x88813b),_0x573187=/\s|^$/['test'](_0x4a52fd),_0xbcfdbb=_0x16bc0a['test'](_0x88813b),_0x3f8fa0=_0x16bc0a['test'](_0x4a52fd);return _0x27a2ec['addDelimiter'](_0x4ee4d8,_0x2818ae,_0x2818ae+0x2,!_0x573187&&(!_0x3f8fa0||_0x1b241a||_0xbcfdbb),!_0x1b241a&&(!_0xbcfdbb||_0x573187||_0x3f8fa0));},'after':'Emphasis'}]};function _0x40cfa5(_0x39df60,_0x10b503,_0x5487e6=0x0,_0x180fb4,_0x10074e=0x0){let _0x1aa4c0=0x0,_0x5a1133=!0x0,_0x1e39f8=-0x1,_0x4ea86c=-0x1,_0x839eb9=!0x1,_0x4d86f1=()=>{_0x180fb4['push'](_0x39df60['elt']('TableCell',_0x10074e+_0x1e39f8,_0x10074e+_0x4ea86c,_0x39df60['parser']['parseInline'](_0x10b503['slice'](_0x1e39f8,_0x4ea86c),_0x10074e+_0x1e39f8)));};for(let _0x581215=_0x5487e6;_0x581215<_0x10b503['length'];_0x581215++){let _0x461029=_0x10b503['charCodeAt'](_0x581215);0x7c!=_0x461029||_0x839eb9?(_0x839eb9||0x20!=_0x461029&&0x9!=_0x461029)&&(_0x1e39f8<0x0&&(_0x1e39f8=_0x581215),_0x4ea86c=_0x581215+0x1):((!_0x5a1133||_0x1e39f8>-0x1)&&_0x1aa4c0++,_0x5a1133=!0x1,_0x180fb4&&(_0x1e39f8>-0x1&&_0x4d86f1(),_0x180fb4['push'](_0x39df60['elt']('TableDelimiter',_0x581215+_0x10074e,_0x581215+_0x10074e+0x1))),_0x1e39f8=_0x4ea86c=-0x1),_0x839eb9=!_0x839eb9&&0x5c==_0x461029;}return _0x1e39f8>-0x1&&(_0x1aa4c0++,_0x180fb4&&_0x4d86f1()),_0x1aa4c0;}function _0x247c07(_0x271ab5,_0x45698b){for(let _0x514798=_0x45698b;_0x514798<_0x271ab5['length'];_0x514798++){let _0x15d906=_0x271ab5['charCodeAt'](_0x514798);if(0x7c==_0x15d906)return!0x0;0x5c==_0x15d906&&_0x514798++;}return!0x1;}const _0xd2c03=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;var _0x3f7a69=class{constructor(){this['rows']=null;}['nextLine'](_0x9ef4fa,_0x1c9b02,_0x1442ba){if(null==this['rows']){let _0x15059a;if(this['rows']=!0x1,(0x2d==_0x1c9b02['next']||0x3a==_0x1c9b02['next']||0x7c==_0x1c9b02['next'])&&_0xd2c03['test'](_0x15059a=_0x1c9b02['text']['slice'](_0x1c9b02['pos']))){let _0x27bd01=[];_0x40cfa5(_0x9ef4fa,_0x1442ba['content'],0x0,_0x27bd01,_0x1442ba['start'])==_0x40cfa5(_0x9ef4fa,_0x15059a,0x0)&&(this['rows']=[_0x9ef4fa['elt']('TableHeader',_0x1442ba['start'],_0x1442ba['start']+_0x1442ba['content']['length'],_0x27bd01),_0x9ef4fa['elt']('TableDelimiter',_0x9ef4fa['lineStart']+_0x1c9b02['pos'],_0x9ef4fa['lineStart']+_0x1c9b02['text']['length'])]);}}else{if(this['rows']){let _0x33245f=[];_0x40cfa5(_0x9ef4fa,_0x1c9b02['text'],_0x1c9b02['pos'],_0x33245f,_0x9ef4fa['lineStart']),this['rows']['push'](_0x9ef4fa['elt']('TableRow',_0x9ef4fa['lineStart']+_0x1c9b02['pos'],_0x9ef4fa['lineStart']+_0x1c9b02['text']['length'],_0x33245f));}}return!0x1;}['finish'](_0x542ed8,_0x5d7628){return!!this['rows']&&(_0x542ed8['addLeafElement'](_0x5d7628,_0x542ed8['elt']('Table',_0x5d7628['start'],_0x5d7628['start']+_0x5d7628['content']['length'],this['rows'])),!0x0);}};const _0x2e5e83={'defineNodes':[{'name':'Table','block':!0x0},{'name':'TableHeader','style':{'TableHeader/...':_0x554ddb['heading']}},'TableRow',{'name':'TableCell','style':_0x554ddb['content']},{'name':'TableDelimiter','style':_0x554ddb['processingInstruction']}],'parseBlock':[{'name':'Table','leaf':(_0x195def,_0x526900)=>_0x247c07(_0x526900['content'],0x0)?new _0x3f7a69():null,'endLeaf'(_0x374fb6,_0x2d4386,_0x417706){if(_0x417706['parsers']['some'](_0x5311dc=>_0x5311dc instanceof _0x3f7a69)||!_0x247c07(_0x2d4386['text'],_0x2d4386['basePos']))return!0x1;let _0x1000e2=_0x374fb6['peekLine']();return _0xd2c03['test'](_0x1000e2)&&_0x40cfa5(_0x374fb6,_0x2d4386['text'],_0x2d4386['basePos'])==_0x40cfa5(_0x374fb6,_0x1000e2,_0x2d4386['basePos']);},'before':'SetextHeading'}]};var _0x326b74=class{['nextLine'](){return!0x1;}['finish'](_0x976d38,_0xf59aac){return _0x976d38['addLeafElement'](_0xf59aac,_0x976d38['elt']('Task',_0xf59aac['start'],_0xf59aac['start']+_0xf59aac['content']['length'],[_0x976d38['elt']('TaskMarker',_0xf59aac['start'],_0xf59aac['start']+0x3),..._0x976d38['parser']['parseInline'](_0xf59aac['content']['slice'](0x3),_0xf59aac['start']+0x3)])),!0x0;}};const _0x29a57f={'defineNodes':[{'name':'Task','block':!0x0,'style':_0x554ddb['list']},{'name':'TaskMarker','style':_0x554ddb['atom']}],'parseBlock':[{'name':'TaskList','leaf':(_0x351135,_0x3bb887)=>/^\[[ xX]\][ \t]/['test'](_0x3bb887['content'])&&'ListItem'==_0x351135['parentType']()['name']?new _0x326b74():null,'after':'SetextHeading'}]},_0x461855=/(www\.)|(https?:\/\/)|([\w.+-]{1,100}@)|(mailto:|xmpp:)/gy,_0x7a8034=/[\w-]+(\.[\w-]+)+(:\d+)?(\/[^\s<]*)?/gy,_0x655d80=/[\w-]+\.[\w-]+($|[/:])/,_0x3ff478=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,_0xe65c17=/\/[a-zA-Z\d@.]+/gy;function _0x4ca9a2(_0x12247f,_0x256202,_0x285f9d,_0x1f78e9){let _0x7fab9a=0x0;for(let _0x4a2b8a=_0x256202;_0x4a2b8a<_0x285f9d;_0x4a2b8a++)_0x12247f[_0x4a2b8a]==_0x1f78e9&&_0x7fab9a++;return _0x7fab9a;}function _0x162f80(_0x45d0e2,_0x4d9c82){_0x3ff478['lastIndex']=_0x4d9c82;let _0x427805=_0x3ff478['exec'](_0x45d0e2);if(!_0x427805)return-0x1;let _0x2f9472=_0x427805[0x0][_0x427805[0x0]['length']-0x1];return'_'==_0x2f9472||'-'==_0x2f9472?-0x1:_0x4d9c82+_0x427805[0x0]['length']-('.'==_0x2f9472?0x1:0x0);}const _0x488d97=[_0x2e5e83,_0x29a57f,_0x3021ae,{'parseInline':[{'name':'Autolink','parse'(_0xea3d34,_0x91eea,_0x143fbf){let _0xc095c7=_0x143fbf-_0xea3d34['offset'];if(_0xc095c7&&/\w/['test'](_0xea3d34['text'][_0xc095c7-0x1]))return-0x1;_0x461855['lastIndex']=_0xc095c7;let _0x39bc7f=_0x461855['exec'](_0xea3d34['text']),_0x44e4a5=-0x1;return _0x39bc7f?(_0x39bc7f[0x1]||_0x39bc7f[0x2]?(_0x44e4a5=function(_0x1a4f43,_0x2c033e){_0x7a8034['lastIndex']=_0x2c033e;let _0x48d749=_0x7a8034['exec'](_0x1a4f43);if(!_0x48d749||_0x655d80['exec'](_0x48d749[0x0])[0x0]['indexOf']('_')>-0x1)return-0x1;let _0x30d555=_0x2c033e+_0x48d749[0x0]['length'];for(;;){let _0x45caa7,_0x1176f4=_0x1a4f43[_0x30d555-0x1];if(/[?!.,:*_~]/['test'](_0x1176f4)||')'==_0x1176f4&&_0x4ca9a2(_0x1a4f43,_0x2c033e,_0x30d555,')')>_0x4ca9a2(_0x1a4f43,_0x2c033e,_0x30d555,'('))_0x30d555--;else{if(';'!=_0x1176f4||!(_0x45caa7=/&(?:#\d+|#x[a-f\d]+|\w+);$/['exec'](_0x1a4f43['slice'](_0x2c033e,_0x30d555))))break;_0x30d555=_0x2c033e+_0x45caa7['index'];}}return _0x30d555;}(_0xea3d34['text'],_0xc095c7+_0x39bc7f[0x0]['length']),_0x44e4a5>-0x1&&_0xea3d34['hasOpenLink']&&(_0x44e4a5=_0xc095c7+/([^\[\]]|\[[^\]]*\])*/['exec'](_0xea3d34['text']['slice'](_0xc095c7,_0x44e4a5))[0x0]['length'])):_0x39bc7f[0x3]?_0x44e4a5=_0x162f80(_0xea3d34['text'],_0xc095c7):(_0x44e4a5=_0x162f80(_0xea3d34['text'],_0xc095c7+_0x39bc7f[0x0]['length']),_0x44e4a5>-0x1&&'xmpp:'==_0x39bc7f[0x0]&&(_0xe65c17['lastIndex']=_0x44e4a5,_0x39bc7f=_0xe65c17['exec'](_0xea3d34['text']),_0x39bc7f&&(_0x44e4a5=_0x39bc7f['index']+_0x39bc7f[0x0]['length']))),_0x44e4a5<0x0?-0x1:(_0xea3d34['addElement'](_0xea3d34['elt']('URL',_0x143fbf,_0x44e4a5+_0xea3d34['offset'])),_0x44e4a5+_0xea3d34['offset'])):-0x1;}}]}];function _0x103a7d(_0x713ac8,_0x5aa2ef,_0x1a2aa8){return(_0x59b0d9,_0x547f7d,_0x9404bf)=>{if(_0x547f7d!=_0x713ac8||_0x59b0d9['char'](_0x9404bf+0x1)==_0x713ac8)return-0x1;let _0x441696=[_0x59b0d9['elt'](_0x1a2aa8,_0x9404bf,_0x9404bf+0x1)];for(let _0x4de819=_0x9404bf+0x1;_0x4de819<_0x59b0d9['end'];_0x4de819++){let _0x44eb15=_0x59b0d9['char'](_0x4de819);if(_0x44eb15==_0x713ac8)return _0x59b0d9['addElement'](_0x59b0d9['elt'](_0x5aa2ef,_0x9404bf,_0x4de819+0x1,_0x441696['concat'](_0x59b0d9['elt'](_0x1a2aa8,_0x4de819,_0x4de819+0x1))));if(0x5c==_0x44eb15&&_0x441696['push'](_0x59b0d9['elt']('Escape',_0x4de819,0x2+_0x4de819++)),_0x3ce063(_0x44eb15))break;}return-0x1;};}const _0x1c5ac3={'defineNodes':[{'name':'Superscript','style':_0x554ddb['special'](_0x554ddb['content'])},{'name':'SuperscriptMark','style':_0x554ddb['processingInstruction']}],'parseInline':[{'name':'Superscript','parse':_0x103a7d(0x5e,'Superscript','SuperscriptMark')}]},_0x3b70fb={'defineNodes':[{'name':'Subscript','style':_0x554ddb['special'](_0x554ddb['content'])},{'name':'SubscriptMark','style':_0x554ddb['processingInstruction']}],'parseInline':[{'name':'Subscript','parse':_0x103a7d(0x7e,'Subscript','SubscriptMark')}]},_0xda082b={'defineNodes':[{'name':'Emoji','style':_0x554ddb['character']}],'parseInline':[{'name':'Emoji','parse'(_0x4c5d80,_0x326b4a,_0x2de519){let _0x3eb515;return 0x3a==_0x326b4a&&(_0x3eb515=/^[a-zA-Z_0-9]+:/['exec'](_0x4c5d80['slice'](_0x2de519+0x1,_0x4c5d80['end'])))?_0x4c5d80['addElement'](_0x4c5d80['elt']('Emoji',_0x2de519,_0x2de519+0x1+_0x3eb515[0x0]['length'])):-0x1;}}]},_0x28ad25=_0xd6a355({'commentTokens':{'block':{'open':'<!--','close':'-->'}}}),_0xd186a7=new _0x172440(),_0x432078=_0xb5f7e9['configure']({'props':[_0x8620af['add'](_0x3d1b50=>!_0x3d1b50['is']('Block')||_0x3d1b50['is']('Document')||null!=_0x196031(_0x3d1b50)||function(_0x1c2b60){return'OrderedList'==_0x1c2b60['name']||'BulletList'==_0x1c2b60['name'];}(_0x3d1b50)?void 0x0:(_0x14b074,_0x35b0cb)=>({'from':_0x35b0cb['doc']['lineAt'](_0x14b074['from'])['to'],'to':_0x14b074['to']})),_0xd186a7['add'](_0x196031),_0x265e6b['add']({'Document':()=>null}),_0x627ccf['add']({'Document':_0x28ad25})]});function _0x196031(_0x5310cc){let _0x4556b5=/^(?:ATX|Setext)Heading(\d)$/['exec'](_0x5310cc['name']);return _0x4556b5?+_0x4556b5[0x1]:void 0x0;}function _0x584bba(_0x1580de,_0x388aeb){let _0x225b8f=_0x1580de;for(;;){let _0x566607,_0x5aa21e=_0x225b8f['nextSibling'];if(!_0x5aa21e||null!=(_0x566607=_0x196031(_0x5aa21e['type']))&&_0x566607<=_0x388aeb)break;_0x225b8f=_0x5aa21e;}return _0x225b8f['to'];}const tX=_0x34ea1f['of']((_0x4f111b,_0x34df73,_0x2aaabc)=>{for(let _0xeaf699=_0xcd4dc4(_0x4f111b)['resolveInner'](_0x2aaabc,-0x1);_0xeaf699&&!(_0xeaf699['from']<_0x34df73);_0xeaf699=_0xeaf699['parent']){let _0x5dd1d8=_0xeaf699['type']['prop'](_0xd186a7);if(null==_0x5dd1d8)continue;let _0x2da974=_0x584bba(_0xeaf699,_0x5dd1d8);if(_0x2da974>_0x2aaabc)return{'from':_0x2aaabc,'to':_0x2da974};}return null;});function _0x3e2eac(_0x10887f){return new tQ(_0x28ad25,_0x10887f,[tX],'markdown');}const _0x4abdbb=_0x3e2eac(_0x432078),_0x37573b=_0x3e2eac(_0x432078['configure']([_0x488d97,_0x3b70fb,_0x1c5ac3,_0xda082b,{'props':[_0x8620af['add']({'Table':(_0x11ed49,_0x2fb135)=>({'from':_0x2fb135['doc']['lineAt'](_0x11ed49['from'])['to'],'to':_0x11ed49['to']})})]}]));var _0x42c708=class{constructor(_0x49df7d,_0x5a37d9,_0x58aae4,_0x52e951,_0x46e6d6,_0x4374df,_0x46b4d7){this['node']=_0x49df7d,this['from']=_0x5a37d9,this['to']=_0x58aae4,this['spaceBefore']=_0x52e951,this['spaceAfter']=_0x46e6d6,this['type']=_0x4374df,this['item']=_0x46b4d7;}['blank'](_0x86cac3,_0x4a01f7=!0x0){let _0x5d62f8=this['spaceBefore']+('Blockquote'==this['node']['name']?'>':'');if(null!=_0x86cac3){for(;_0x5d62f8['length']<_0x86cac3;)_0x5d62f8+='\x20';return _0x5d62f8;}for(let _0x19b4cc=this['to']-this['from']-_0x5d62f8['length']-this['spaceAfter']['length'];_0x19b4cc>0x0;_0x19b4cc--)_0x5d62f8+='\x20';return _0x5d62f8+(_0x4a01f7?this['spaceAfter']:'');}['marker'](_0x2ccb10,_0x176807){let _0x4316de='OrderedList'==this['node']['name']?String(+_0x24de90(this['item'],_0x2ccb10)[0x2]+_0x176807):'';return this['spaceBefore']+_0x4316de+this['type']+this['spaceAfter'];}};function _0x253915(_0x1c97e5,_0x328f86){let _0x23e996=[],_0x6401bc=[];for(let _0x476731=_0x1c97e5;_0x476731;_0x476731=_0x476731['parent']){if('FencedCode'==_0x476731['name'])return _0x6401bc;'ListItem'!=_0x476731['name']&&'Blockquote'!=_0x476731['name']||_0x23e996['push'](_0x476731);}for(let _0x766244=_0x23e996['length']-0x1;_0x766244>=0x0;_0x766244--){let _0x4f9188,_0x1cd286=_0x23e996[_0x766244],_0x31a9d0=_0x328f86['lineAt'](_0x1cd286['from']),_0xaa3637=_0x1cd286['from']-_0x31a9d0['from'];if('Blockquote'==_0x1cd286['name']&&(_0x4f9188=/^ *>( ?)/['exec'](_0x31a9d0['text']['slice'](_0xaa3637))))_0x6401bc['push'](new _0x42c708(_0x1cd286,_0xaa3637,_0xaa3637+_0x4f9188[0x0]['length'],'',_0x4f9188[0x1],'>',null));else{if('ListItem'==_0x1cd286['name']&&'OrderedList'==_0x1cd286['parent']['name']&&(_0x4f9188=/^( *)\d+([.)])( *)/['exec'](_0x31a9d0['text']['slice'](_0xaa3637)))){let _0xd5c09f=_0x4f9188[0x3],_0x1fc523=_0x4f9188[0x0]['length'];_0xd5c09f['length']>=0x4&&(_0xd5c09f=_0xd5c09f['slice'](0x0,_0xd5c09f['length']-0x4),_0x1fc523-=0x4),_0x6401bc['push'](new _0x42c708(_0x1cd286['parent'],_0xaa3637,_0xaa3637+_0x1fc523,_0x4f9188[0x1],_0xd5c09f,_0x4f9188[0x2],_0x1cd286));}else{if('ListItem'==_0x1cd286['name']&&'BulletList'==_0x1cd286['parent']['name']&&(_0x4f9188=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/['exec'](_0x31a9d0['text']['slice'](_0xaa3637)))){let _0x4dd8db=_0x4f9188[0x4],_0x1663f5=_0x4f9188[0x0]['length'];_0x4dd8db['length']>0x4&&(_0x4dd8db=_0x4dd8db['slice'](0x0,_0x4dd8db['length']-0x4),_0x1663f5-=0x4);let _0x30a2a4=_0x4f9188[0x2];_0x4f9188[0x3]&&(_0x30a2a4+=_0x4f9188[0x3]['replace'](/[xX]/,'\x20')),_0x6401bc['push'](new _0x42c708(_0x1cd286['parent'],_0xaa3637,_0xaa3637+_0x1663f5,_0x4f9188[0x1],_0x4dd8db,_0x30a2a4,_0x1cd286));}}}}return _0x6401bc;}function _0x24de90(_0x1f2866,_0x5a7cfd){return/^(\s*)(\d+)(?=[.)])/['exec'](_0x5a7cfd['sliceString'](_0x1f2866['from'],_0x1f2866['from']+0xa));}function _0x229518(_0x1e34a4,_0x1719ca,_0x596358,_0x5f0db4=0x0){for(let _0x566180=-0x1,_0x36313a=_0x1e34a4;;){if('ListItem'==_0x36313a['name']){let _0x2d30ac=_0x24de90(_0x36313a,_0x1719ca),_0xbea67=+_0x2d30ac[0x2];if(_0x566180>=0x0){if(_0xbea67!=_0x566180+0x1)return;_0x596358['push']({'from':_0x36313a['from']+_0x2d30ac[0x1]['length'],'to':_0x36313a['from']+_0x2d30ac[0x0]['length'],'insert':String(_0x566180+0x2+_0x5f0db4)});}_0x566180=_0xbea67;}let _0x4e01b6=_0x36313a['nextSibling'];if(!_0x4e01b6)break;_0x36313a=_0x4e01b6;}}function _0x428aee(_0x38de1c,_0x2df72a){let _0x30df1a=/^[ \t]*/['exec'](_0x38de1c)[0x0]['length'];if(!_0x30df1a||'\x09'!=_0x2df72a['facet'](_0x53d31a))return _0x38de1c;let _0x552d27='';for(let _0x17fb6c=_0x144e8e(_0x38de1c,0x4,_0x30df1a);_0x17fb6c>0x0;)_0x17fb6c>=0x4?(_0x552d27+='\x09',_0x17fb6c-=0x4):(_0x552d27+='\x20',_0x17fb6c--);return _0x552d27+_0x38de1c['slice'](_0x30df1a);}function _0x324a89(_0x3d5279){return'QuoteMark'==_0x3d5279['name']||'ListMark'==_0x3d5279['name'];}function _0xf2424f(_0x578b54,_0x4f5a46,_0x36a50e){let _0x5c3c8c='';for(let _0x43ae4d=0x0,_0x4a5d02=_0x578b54['length']-0x2;_0x43ae4d<=_0x4a5d02;_0x43ae4d++)_0x5c3c8c+=_0x578b54[_0x43ae4d]['blank'](_0x43ae4d<_0x4a5d02?_0x144e8e(_0x36a50e['text'],0x4,Math['min'](_0x36a50e['text']['length'],_0x578b54[_0x43ae4d+0x1]['from']))-_0x5c3c8c['length']:null,_0x43ae4d<_0x4a5d02);return _0x428aee(_0x5c3c8c,_0x4f5a46);}const _0x5a2f34=[{'key':'Enter','run':({state:_0x3a418a,dispatch:_0x1f0a0a})=>{let _0x2ec63c=_0xcd4dc4(_0x3a418a),{doc:_0x57a877}=_0x3a418a,_0x47bc37=null,_0x20890c=_0x3a418a['changeByRange'](_0x172bd2=>{if(!_0x172bd2['empty']||!_0x37573b['isActiveAt'](_0x3a418a,_0x172bd2['from'],0x0))return _0x47bc37={'range':_0x172bd2};let _0x28424c=_0x172bd2['from'],_0x4fe4a5=_0x57a877['lineAt'](_0x28424c),_0x2ac660=_0x253915(_0x2ec63c['resolveInner'](_0x28424c,-0x1),_0x57a877);for(;_0x2ac660['length']&&_0x2ac660[_0x2ac660['length']-0x1]['from']>_0x28424c-_0x4fe4a5['from'];)_0x2ac660['pop']();if(!_0x2ac660['length'])return _0x47bc37={'range':_0x172bd2};let _0x8cdeab=_0x2ac660[_0x2ac660['length']-0x1];if(_0x8cdeab['to']-_0x8cdeab['spaceAfter']['length']>_0x28424c-_0x4fe4a5['from'])return _0x47bc37={'range':_0x172bd2};let _0x5ad0c5=_0x28424c>=_0x8cdeab['to']-_0x8cdeab['spaceAfter']['length']&&!/\S/['test'](_0x4fe4a5['text']['slice'](_0x8cdeab['to']));if(_0x8cdeab['item']&&_0x5ad0c5){let _0x385475=_0x8cdeab['node']['firstChild'],_0x21e6bf=_0x8cdeab['node']['getChild']('ListItem','ListItem');if(_0x385475['to']>=_0x28424c||_0x21e6bf&&_0x21e6bf['to']<_0x28424c||_0x4fe4a5['from']>0x0&&!/[^\s>]/['test'](_0x57a877['lineAt'](_0x4fe4a5['from']-0x1)['text'])){let _0x21b0b5,_0x841f7e=_0x2ac660['length']>0x1?_0x2ac660[_0x2ac660['length']-0x2]:null,_0x153c09='';_0x841f7e&&_0x841f7e['item']?(_0x21b0b5=_0x4fe4a5['from']+_0x841f7e['from'],_0x153c09=_0x841f7e['marker'](_0x57a877,0x1)):_0x21b0b5=_0x4fe4a5['from']+(_0x841f7e?_0x841f7e['to']:0x0);let _0x6a05e3=[{'from':_0x21b0b5,'to':_0x28424c,'insert':_0x153c09}];return'OrderedList'==_0x8cdeab['node']['name']&&_0x229518(_0x8cdeab['item'],_0x57a877,_0x6a05e3,-0x2),_0x841f7e&&'OrderedList'==_0x841f7e['node']['name']&&_0x229518(_0x841f7e['item'],_0x57a877,_0x6a05e3),{'range':_0x152831['cursor'](_0x21b0b5+_0x153c09['length']),'changes':_0x6a05e3};}{let _0x96d63c=_0xf2424f(_0x2ac660,_0x3a418a,_0x4fe4a5);return{'range':_0x152831['cursor'](_0x28424c+_0x96d63c['length']+0x1),'changes':{'from':_0x4fe4a5['from'],'insert':_0x96d63c+_0x3a418a['lineBreak']}};}}if('Blockquote'==_0x8cdeab['node']['name']&&_0x5ad0c5&&_0x4fe4a5['from']){let _0x580088=_0x57a877['lineAt'](_0x4fe4a5['from']-0x1),_0xda268=/>\s*$/['exec'](_0x580088['text']);if(_0xda268&&_0xda268['index']==_0x8cdeab['from']){let _0x3fe018=_0x3a418a['changes']([{'from':_0x580088['from']+_0xda268['index'],'to':_0x580088['to']},{'from':_0x4fe4a5['from']+_0x8cdeab['from'],'to':_0x4fe4a5['to']}]);return{'range':_0x172bd2['map'](_0x3fe018),'changes':_0x3fe018};}}let _0x89c443=[];'OrderedList'==_0x8cdeab['node']['name']&&_0x229518(_0x8cdeab['item'],_0x57a877,_0x89c443);let _0xed2d1c=_0x8cdeab['item']&&_0x8cdeab['item']['from']<_0x4fe4a5['from'],_0x5d0b47='';if(!_0xed2d1c||/^[\s\d.)\-+*>]*/['exec'](_0x4fe4a5['text'])[0x0]['length']>=_0x8cdeab['to']){for(let _0x4912b5=0x0,_0x499e76=_0x2ac660['length']-0x1;_0x4912b5<=_0x499e76;_0x4912b5++)_0x5d0b47+=_0x4912b5!=_0x499e76||_0xed2d1c?_0x2ac660[_0x4912b5]['blank'](_0x4912b5<_0x499e76?_0x144e8e(_0x4fe4a5['text'],0x4,_0x2ac660[_0x4912b5+0x1]['from'])-_0x5d0b47['length']:null):_0x2ac660[_0x4912b5]['marker'](_0x57a877,0x1);}let _0x5654ce=_0x28424c;for(;_0x5654ce>_0x4fe4a5['from']&&/\s/['test'](_0x4fe4a5['text']['charAt'](_0x5654ce-_0x4fe4a5['from']-0x1));)_0x5654ce--;return _0x5d0b47=_0x428aee(_0x5d0b47,_0x3a418a),function(_0x4578db,_0x3db056){if('OrderedList'!=_0x4578db['name']&&'BulletList'!=_0x4578db['name'])return!0x1;let _0x5b359d=_0x4578db['firstChild'],_0x42c386=_0x4578db['getChild']('ListItem','ListItem');if(!_0x42c386)return!0x1;let _0x460398=_0x3db056['lineAt'](_0x5b359d['to']),_0x2df6c8=_0x3db056['lineAt'](_0x42c386['from']),_0x4c2951=/^[\s>]*$/['test'](_0x460398['text']);return _0x460398['number']+(_0x4c2951?0x0:0x1)<_0x2df6c8['number'];}(_0x8cdeab['node'],_0x3a418a['doc'])&&(_0x5d0b47=_0xf2424f(_0x2ac660,_0x3a418a,_0x4fe4a5)+_0x3a418a['lineBreak']+_0x5d0b47),_0x89c443['push']({'from':_0x5654ce,'to':_0x28424c,'insert':_0x3a418a['lineBreak']+_0x5d0b47}),{'range':_0x152831['cursor'](_0x5654ce+_0x5d0b47['length']+0x1),'changes':_0x89c443};});return!_0x47bc37&&(_0x1f0a0a(_0x3a418a['update'](_0x20890c,{'scrollIntoView':!0x0,'userEvent':'input'})),!0x0);}},{'key':'Backspace','run':({state:_0x442b35,dispatch:_0x2284a8})=>{let _0x3802aa=_0xcd4dc4(_0x442b35),_0x2d66b7=null,_0x19e512=_0x442b35['changeByRange'](_0x50533e=>{let _0x4f1a5c=_0x50533e['from'],{doc:_0x2b7a2c}=_0x442b35;if(_0x50533e['empty']&&_0x37573b['isActiveAt'](_0x442b35,_0x50533e['from'])){let _0x8f4bec=_0x2b7a2c['lineAt'](_0x4f1a5c),_0x51e2cc=_0x253915(function(_0x4551e2,_0x4f71c4){let _0x171c27=_0x4551e2['resolveInner'](_0x4f71c4,-0x1),_0x55da20=_0x4f71c4;_0x324a89(_0x171c27)&&(_0x55da20=_0x171c27['from'],_0x171c27=_0x171c27['parent']);for(let _0x2b49b2;_0x2b49b2=_0x171c27['childBefore'](_0x55da20);)if(_0x324a89(_0x2b49b2))_0x55da20=_0x2b49b2['from'];else{if('OrderedList'!=_0x2b49b2['name']&&'BulletList'!=_0x2b49b2['name'])break;_0x171c27=_0x2b49b2['lastChild'],_0x55da20=_0x171c27['to'];}return _0x171c27;}(_0x3802aa,_0x4f1a5c),_0x2b7a2c);if(_0x51e2cc['length']){let _0x3193ca=_0x51e2cc[_0x51e2cc['length']-0x1],_0x1b2207=_0x3193ca['to']-_0x3193ca['spaceAfter']['length']+(_0x3193ca['spaceAfter']?0x1:0x0);if(_0x4f1a5c-_0x8f4bec['from']>_0x1b2207&&!/\S/['test'](_0x8f4bec['text']['slice'](_0x1b2207,_0x4f1a5c-_0x8f4bec['from'])))return{'range':_0x152831['cursor'](_0x8f4bec['from']+_0x1b2207),'changes':{'from':_0x8f4bec['from']+_0x1b2207,'to':_0x4f1a5c}};if(_0x4f1a5c-_0x8f4bec['from']==_0x1b2207&&(!_0x3193ca['item']||_0x8f4bec['from']<=_0x3193ca['item']['from']||!/\S/['test'](_0x8f4bec['text']['slice'](0x0,_0x3193ca['to'])))){let _0x46112e=_0x8f4bec['from']+_0x3193ca['from'];if(_0x3193ca['item']&&_0x3193ca['node']['from']<_0x3193ca['item']['from']&&/\S/['test'](_0x8f4bec['text']['slice'](_0x3193ca['from'],_0x3193ca['to']))){let _0x431f84=_0x3193ca['blank'](_0x144e8e(_0x8f4bec['text'],0x4,_0x3193ca['to'])-_0x144e8e(_0x8f4bec['text'],0x4,_0x3193ca['from']));return _0x46112e==_0x8f4bec['from']&&(_0x431f84=_0x428aee(_0x431f84,_0x442b35)),{'range':_0x152831['cursor'](_0x46112e+_0x431f84['length']),'changes':{'from':_0x46112e,'to':_0x8f4bec['from']+_0x3193ca['to'],'insert':_0x431f84}};}if(_0x46112e<_0x4f1a5c)return{'range':_0x152831['cursor'](_0x46112e),'changes':{'from':_0x46112e,'to':_0x4f1a5c}};}}}return _0x2d66b7={'range':_0x50533e};});return!_0x2d66b7&&(_0x2284a8(_0x442b35['update'](_0x19e512,{'scrollIntoView':!0x0,'userEvent':'delete'})),!0x0);}}],_0x1742dc=_0x5332e8({'matchClosingTags':!0x1});function _0x3cbeed(_0x28c386={}){let {codeLanguages:_0x3f9cb5,defaultCodeLanguage:_0x9b3f5b,addKeymap:_0x147ec9=!0x0,base:{parser:_0x45f374}=_0x4abdbb,completeHTMLTags:_0x5b0a7e=!0x0,htmlTagLanguage:_0x202d12=_0x1742dc}=_0x28c386;if(!(_0x45f374 instanceof _0x347591))throw new RangeError('Base\x20parser\x20provided\x20to\x20`markdown`\x20should\x20be\x20a\x20Markdown\x20parser');let _0x55b398,_0x3218a0=_0x28c386['extensions']?[_0x28c386['extensions']]:[],_0x50651c=[_0x202d12['support']];_0x9b3f5b instanceof _0x45630c?(_0x50651c['push'](_0x9b3f5b['support']),_0x55b398=_0x9b3f5b['language']):_0x9b3f5b&&(_0x55b398=_0x9b3f5b);let _0x725866=_0x3f9cb5||_0x55b398?(_0x5b72b3=_0x3f9cb5,_0x46a374=_0x55b398,_0x38cd75=>{if(_0x38cd75&&_0x5b72b3){let _0x239439=null;if(_0x38cd75=/\S*/['exec'](_0x38cd75)[0x0],_0x239439='function'==typeof _0x5b72b3?_0x5b72b3(_0x38cd75):_0xdab1f8['matchLanguageName'](_0x5b72b3,_0x38cd75,!0x0),_0x239439 instanceof _0xdab1f8)return _0x239439['support']?_0x239439['support']['language']['parser']:_0x2254e9['getSkippingParser'](_0x239439['load']());if(_0x239439)return _0x239439['parser'];}return _0x46a374?_0x46a374['parser']:null;}):void 0x0;var _0x5b72b3,_0x46a374;_0x3218a0['push'](function(_0x1cf5cc){let {codeParser:_0x200223,htmlParser:_0xb769d}=_0x1cf5cc;return{'wrap':_0x26e649((_0x5ca197,_0x3726da)=>{let _0x4716b0=_0x5ca197['type']['id'];if(!_0x200223||_0x4716b0!=_0x4b91ec['CodeBlock']&&_0x4716b0!=_0x4b91ec['FencedCode']){if(_0xb769d&&(_0x4716b0==_0x4b91ec['HTMLBlock']||_0x4716b0==_0x4b91ec['HTMLTag']||_0x4716b0==_0x4b91ec['CommentBlock']))return{'parser':_0xb769d,'overlay':_0x295963(_0x5ca197['node'],_0x5ca197['from'],_0x5ca197['to'])};}else{let _0x3cca0b='';if(_0x4716b0==_0x4b91ec['FencedCode']){let _0x122947=_0x5ca197['node']['getChild'](_0x4b91ec['CodeInfo']);_0x122947&&(_0x3cca0b=_0x3726da['read'](_0x122947['from'],_0x122947['to']));}let _0x440eb1=_0x200223(_0x3cca0b);if(_0x440eb1)return{'parser':_0x440eb1,'overlay':_0x379171=>_0x379171['type']['id']==_0x4b91ec['CodeText'],'bracketed':_0x4716b0==_0x4b91ec['FencedCode']};}return null;})};}({'codeParser':_0x725866,'htmlParser':_0x202d12['language']['parser']})),_0x147ec9&&_0x50651c['push'](_0x74fe9f['high'](_0x12f94f['of'](_0x5a2f34)));let _0x4d351c=_0x3e2eac(_0x45f374['configure'](_0x3218a0));return _0x5b0a7e&&_0x50651c['push'](_0x4d351c['data']['of']({'autocomplete':_0x16144b})),new _0x45630c(_0x4d351c,_0x50651c);}function _0x16144b(_0x108509){let {state:_0x842a17,pos:_0xc60dfc}=_0x108509,_0x509d4d=/<[:\-\.\w\u00b7-\uffff]*$/['exec'](_0x842a17['sliceDoc'](_0xc60dfc-0x19,_0xc60dfc));if(!_0x509d4d)return null;let _0x29d95f=_0xcd4dc4(_0x842a17)['resolveInner'](_0xc60dfc,-0x1);for(;_0x29d95f&&!_0x29d95f['type']['isTop'];){if('CodeBlock'==_0x29d95f['name']||'FencedCode'==_0x29d95f['name']||'ProcessingInstructionBlock'==_0x29d95f['name']||'CommentBlock'==_0x29d95f['name']||'Link'==_0x29d95f['name']||'Image'==_0x29d95f['name'])return null;_0x29d95f=_0x29d95f['parent'];}return{'from':_0xc60dfc-_0x509d4d[0x0]['length'],'to':_0xc60dfc,'options':_0x36a8e2(),'validFor':/^<[:\-\.\w\u00b7-\uffff]*$/};}let _0x512f06=null;function _0x36a8e2(){if(_0x512f06)return _0x512f06;let _0x41bdb3=(_0x225ddc=new _0x2cdebe(_0x2a2565['create']({'extensions':_0x1742dc}),0x0,!0x0),_0xc9d17b(_0x41afc7['default'],_0x225ddc));var _0x225ddc;return _0x512f06=_0x41bdb3?_0x41bdb3['options']:[];}const _0xf7bd3e='#e06c75',_0x22de95='#abb2bf',_0x55a836='#7d8799',_0x36edaf='#d19a66',_0x4e35e0='#2c313a',_0x2c9f31='#282c34',_0x4c9c90='#353a42',_0x92fbac='#528bff',_0x4b60f4=[_0x118ca6['theme']({'&':{'color':_0x22de95,'backgroundColor':_0x2c9f31},'.cm-content':{'caretColor':_0x92fbac},'.cm-cursor,\x20.cm-dropCursor':{'borderLeftColor':_0x92fbac},'&.cm-focused\x20>\x20.cm-scroller\x20>\x20.cm-selectionLayer\x20.cm-selectionBackground,\x20.cm-selectionBackground,\x20.cm-content\x20::selection':{'backgroundColor':'#3E4451'},'.cm-panels':{'backgroundColor':'#21252b','color':_0x22de95},'.cm-panels.cm-panels-top':{'borderBottom':'2px\x20solid\x20black'},'.cm-panels.cm-panels-bottom':{'borderTop':'2px\x20solid\x20black'},'.cm-searchMatch':{'backgroundColor':'#72a1ff59','outline':'1px\x20solid\x20#457dff'},'.cm-searchMatch.cm-searchMatch-selected':{'backgroundColor':'#6199ff2f'},'.cm-activeLine':{'backgroundColor':'#6699ff0b'},'.cm-selectionMatch':{'backgroundColor':'#aafe661a'},'&.cm-focused\x20.cm-matchingBracket,\x20&.cm-focused\x20.cm-nonmatchingBracket':{'backgroundColor':'#bad0f847'},'.cm-gutters':{'backgroundColor':_0x2c9f31,'color':_0x55a836,'border':'none'},'.cm-activeLineGutter':{'backgroundColor':_0x4e35e0},'.cm-foldPlaceholder':{'backgroundColor':'transparent','border':'none','color':'#ddd'},'.cm-tooltip':{'border':'none','backgroundColor':_0x4c9c90},'.cm-tooltip\x20.cm-tooltip-arrow:before':{'borderTopColor':'transparent','borderBottomColor':'transparent'},'.cm-tooltip\x20.cm-tooltip-arrow:after':{'borderTopColor':_0x4c9c90,'borderBottomColor':_0x4c9c90},'.cm-tooltip-autocomplete':{'&\x20>\x20ul\x20>\x20li[aria-selected]':{'backgroundColor':_0x4e35e0,'color':_0x22de95}}},{'dark':!0x0}),_0x58919c(_0x99ae80['define']([{'tag':_0x554ddb['keyword'],'color':'#c678dd'},{'tag':[_0x554ddb['name'],_0x554ddb['deleted'],_0x554ddb['character'],_0x554ddb['propertyName'],_0x554ddb['macroName']],'color':_0xf7bd3e},{'tag':[_0x554ddb['function'](_0x554ddb['variableName']),_0x554ddb['labelName']],'color':'#61afef'},{'tag':[_0x554ddb['color'],_0x554ddb['constant'](_0x554ddb['name']),_0x554ddb['standard'](_0x554ddb['name'])],'color':_0x36edaf},{'tag':[_0x554ddb['definition'](_0x554ddb['name']),_0x554ddb['separator']],'color':_0x22de95},{'tag':[_0x554ddb['typeName'],_0x554ddb['className'],_0x554ddb['number'],_0x554ddb['changed'],_0x554ddb['annotation'],_0x554ddb['modifier'],_0x554ddb['self'],_0x554ddb['namespace']],'color':'#e5c07b'},{'tag':[_0x554ddb['operator'],_0x554ddb['operatorKeyword'],_0x554ddb['url'],_0x554ddb['escape'],_0x554ddb['regexp'],_0x554ddb['link'],_0x554ddb['special'](_0x554ddb['string'])],'color':'#56b6c2'},{'tag':[_0x554ddb['meta'],_0x554ddb['comment']],'color':_0x55a836},{'tag':_0x554ddb['strong'],'fontWeight':'bold'},{'tag':_0x554ddb['emphasis'],'fontStyle':'italic'},{'tag':_0x554ddb['strikethrough'],'textDecoration':'line-through'},{'tag':_0x554ddb['link'],'color':_0x55a836,'textDecoration':'underline'},{'tag':_0x554ddb['heading'],'fontWeight':'bold','color':_0xf7bd3e},{'tag':[_0x554ddb['atom'],_0x554ddb['bool'],_0x554ddb['special'](_0x554ddb['variableName'])],'color':_0x36edaf},{'tag':[_0x554ddb['processingInstruction'],_0x554ddb['string'],_0x554ddb['inserted']],'color':'#98c379'},{'tag':_0x554ddb['invalid'],'color':'#ffffff'}]))];function _0x4aa513(_0x2f6fee){const _0x1974a3=[_0x118ca6['lineWrapping'],_0x30358b(),_0xfb5527(),_0x1eec8e(),_0x228109(),_0x1c91b4(),_0x2fd2da(),_0x1a3192(),_0x4ebb3a(),_0x5aa800(),_0x37648d(),_0xb84f6e(),_0x55542d(),_0x110653(),_0x441869(),_0x58919c(_0x41480d,{'fallback':!0x0})],_0x2d4200=new _0x1ffd07();_0x1974a3['push'](_0x2d4200['of'](_0x118ca6['editable']['of'](!0x0))),'html'===_0x2f6fee['syntaxLanguage']?_0x1974a3['push'](_0x5332e8()):_0x1974a3['push'](_0x3cbeed());const _0x4862b8=(_0x25e067=_0x2f6fee['theme'])&&'default'!==_0x25e067?'dark'===_0x25e067?_0x4b60f4:_0x25e067:null;var _0x25e067;_0x4862b8&&_0x1974a3['push'](_0x4862b8),_0x1974a3['push'](_0x12f94f['of']([..._0x2dd0e3,..._0x45ee79,..._0x3885b0,..._0x58dae1,..._0x56f575,{'key':'Tab','run':_0x456b6c,'shift':_0x384eb4,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-y','mac':'Cmd-y','run':_0x37e28d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-Shift-z','mac':'Cmd-Shift-z','run':_0x37e28d,'preventDefault':!0x0,'stopPropagation':!0x0},{'key':'Ctrl-z','mac':'Cmd-z','run':_0x2d384,'preventDefault':!0x0,'stopPropagation':!0x0}]));const _0x3aa612=new _0x118ca6({'extensions':_0x1974a3,'parent':_0x2f6fee['parent']});return _0xaed38d(_0x3aa612),{'focus':()=>{_0x3aa612['dispatch']({'selection':{'anchor':0x0},'scrollIntoView':!0x0}),_0x3aa612['focus']();},'getData':()=>_0x3aa612['state']['doc']['toString'](),'setData':_0x478823=>{_0x3aa612['dispatch']({'changes':{'from':0x0,'to':_0x3aa612['state']['doc']['length'],'insert':_0x478823},'annotations':_0x5b5d8a['addToHistory']['of'](!0x1)});},'setReadOnly':_0x5fdc60=>{_0x3aa612['dispatch']({'effects':[_0x2d4200['reconfigure'](_0x118ca6['editable']['of'](!_0x5fdc60))]});},'destroy':()=>{_0x3aa612['destroy']();},'instance':_0x3aa612};}var _0x561666=class extends _0x14e616['View']{['_codeEditorApi']=null;['_options'];constructor(_0x56c253,_0xb238bd){super(_0x56c253),this['_options']=_0xb238bd,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']=_0x4aa513({'parent':this['element'],'syntaxLanguage':this['_options']['syntaxLanguage'],'theme':this['_options']['theme']}),this['on']('change:isReadOnly',(_0x564390,_0x2945a3,_0x3ed220)=>{this['setReadOnly'](_0x3ed220);});}['destroy'](){super['destroy'](),this['_codeEditorApi']['destroy'](),this['_codeEditorApi']=null;}['focus'](){this['isReadOnly']?this['element']['focus']():this['_codeEditorApi']['focus']();}['getData'](){return this['_codeEditorApi']['getData']();}['setData'](_0x2cf676){this['_codeEditorApi']['setData'](_0x2cf676);}['setReadOnly'](_0x150f67){this['_codeEditorApi']['setReadOnly'](_0x150f67);}};const _0x5e2a78='SourceEditingEnhancedMode';var _0x38d440=class extends _0x14e616['Command']{constructor(_0x3d3aa4){super(_0x3d3aa4),this['affectsData']=!0x1,this['editor']['plugins']['get'](_0x14e616['PendingActions'])['on']('change:hasAny',(_0x7351f7,_0x625053,_0x4ec715)=>{_0x4ec715?this['forceDisabled']('pendingActions'):this['clearForceDisabled']('pendingActions');});}['_disableCommands'](){const _0x12d69d=this['editor'];for(const _0x327253 of _0x12d69d['commands']['names']())['replaceSource','editSource']['includes'](_0x327253)||_0x12d69d['commands']['get'](_0x327253)['forceDisabled'](_0x5e2a78);}['_enableCommands'](){const _0x51f270=this['editor'];for(const _0x479420 of _0x51f270['commands']['commands']())_0x479420['clearForceDisabled'](_0x5e2a78);}['refresh'](){this['isEnabled']=!0x0;}['execute'](){const _0x1668f7=this['editor'],_0x5de7aa=_0x1668f7['locale'],_0x375304=_0x1668f7['plugins']['get']('Dialog'),_0x19fa34=_0x4cd495(_0x1668f7),_0x10c239=_0x525f84(_0x2f76d4=_0x1668f7['data']['get']({'rootName':_0x19fa34}))?(0x0,_0x14e616['formatHtml'])(_0x2f76d4):_0x2f76d4;var _0x2f76d4;const _0x562c77=new _0x561666(_0x5de7aa,{'syntaxLanguage':_0x1668f7['plugins']['has']('Markdown')?'markdown':'html','theme':_0x1668f7['config']['get']('sourceEditingEnhanced.theme')});let _0x1c5193=!0x0;const _0xdb7334=_0x20e159=>{if(_0x1c5193&&_0x350db6(_0x562c77['getData']())!==_0x350db6(_0x10c239))return window['confirm'](_0x295994(_0x5de7aa,'Are\x20you\x20sure\x20you\x20want\x20to\x20discard\x20your\x20changes?\x20This\x20action\x20cannot\x20be\x20undone.'))?void 0x0:_0x20e159['stop']();};_0x375304['show']({'id':'sourceEditingEnhanced','title':_0x295994(_0x5de7aa,'Edit\x20source\x20modal\x20label'),'isModal':!0x0,'className':'ck-source-editing-enhanced-dialog','content':_0x562c77,'actionButtons':[{'label':_0x295994(_0x5de7aa,'Cancel'),'withText':!0x0,'onExecute':()=>{_0x375304['hide']();}},{'label':_0x295994(_0x5de7aa,'Save'),'class':'ck-button-action','withText':!0x0,'onExecute':()=>{const _0x1ead74=_0x350db6(_0x562c77['getData']())!==_0x350db6(_0x10c239);_0x1ead74&&_0x1668f7['execute']('replaceSource',_0x562c77['getData']()),_0x1c5193=!0x1,_0x375304['hide'](),_0x1ead74&&'editables'in _0x1668f7['ui']['view']&&_0x1668f7['ui']['view']['editables'][_0x19fa34]['element']['focus']();},'onCreate':_0xbeee50=>{_0xbeee50['set']('isEnabled',!_0x1668f7['isReadOnly']),_0xbeee50['bind']('isEnabled')['to'](_0x1668f7,'isReadOnly',this,'isEnabled',(_0x1ab015,_0x391b82)=>!_0x1ab015&&_0x391b82);}}],'onHide':()=>{this['_enableCommands'](),_0x375304['off']('hide',_0xdb7334),_0x562c77['destroy']();},'onShow':()=>{_0x562c77['bind']('isReadOnly')['to'](_0x1668f7,'isReadOnly',this,'isEnabled',(_0x37d475,_0x232cd7)=>_0x37d475||!_0x232cd7),_0x562c77['setData'](_0x10c239),_0x562c77['focus'](),_0x375304['on']('hide',_0xdb7334,{'priority':'highest'}),this['_disableCommands']();}});}},_0x52de9=class extends _0x14e616['Plugin']{static get['pluginName'](){return'SourceEditingEnhancedUI';}static get['requires'](){return[_0x14e616['PendingActions']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const _0x150c4e=this['editor'],_0x57ea3e=_0x150c4e['locale'],_0x12b7be=new _0x38d440(_0x150c4e);_0x150c4e['commands']['add']('editSource',_0x12b7be),_0x150c4e['ui']['componentFactory']['add']('sourceEditingEnhanced',()=>{const _0x7abe27=this['_createButton'](_0x14e616['ButtonView'],_0x12b7be);return _0x7abe27['set']({'label':_0x295994(_0x57ea3e,'Source'),'icon':_0x14e616['IconSource'],'tooltip':_0x295994(_0x57ea3e,'Edit\x20source\x20modal\x20label'),'class':'ck-source-editing-enhanced-button'}),_0x7abe27;}),_0x150c4e['ui']['componentFactory']['add']('menuBar:sourceEditingEnhanced',()=>{const _0x383700=this['_createButton'](_0x14e616['MenuBarMenuListItemButtonView'],_0x12b7be,!0x0);return _0x383700['set']({'label':_0x295994(_0x57ea3e,'Edit\x20source\x20modal\x20label'),'icon':_0x14e616['IconSource'],'role':'menuitemcheckbox'}),_0x383700;}),this['_registerKeybindings']();}['afterInit'](){!async function(_0x349b77){const _0x8b8b79='NQVXyBFHJzr8WGI4aZnTeoUx6p9jfv3DitLwuckYlhdMA2K5S7mbCOPEs1qgR0',_0x356dd6=0x78fc0,_0x76d114=window['Date']['now'](),_0x3e0556=_0x349b77['editor'],_0x1910ad=new window['Promise'](_0x3adb47=>{_0x3e0556['once']('ready',_0x3adb47);}),_0x38fc41={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x477b70=_0x3e0556['config']['get']('licenseKey');async function _0x39ef4e(){let _0x48918c,_0x3f441a=null,_0x763c1c=null;try{return'GPL'==_0x477b70?'NotAllowed':(_0x48918c=_0xb8212(),_0x48918c?(_0x48918c['usageEndpoint']&&(_0x763c1c=_0x46dc04(_0x48918c['usageEndpoint'],_0x48918c['jti'])),await _0x214941()?_0x169c06()?_0x3bd7a7()?'Expired':_0x2a89be()?('evaluation'==_0x48918c['licenseType']&&(_0x3f441a=_0x47df36('EvaluationLimit')),await _0x9e583b()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x3bd7a7(){const _0xb25b52=['evaluation','trial']['includes'](_0x48918c['licenseType'])?_0x76d114/0x3e8:0xe10*_0x356dd6;return _0x48918c['exp']<_0xb25b52;}function _0x169c06(){const _0x6b7b20=_0x48918c['features'];return!!_0x6b7b20&&(!!_0x6b7b20['includes']('*')||!!_0x6b7b20['includes']('SEE'));}function _0x2a89be(){const _0x369d8c=_0x48918c['licensedHosts'];if(!_0x369d8c||0x0==_0x369d8c['length'])return!0x0;const {hostname:_0x6ebd9}=new URL(window['location']['href']);if(_0x369d8c['includes'](_0x6ebd9))return!0x0;const _0x163b31=_0x6ebd9['split']('.');return _0x369d8c['filter'](_0x24f826=>_0x24f826['includes']('*'))['map'](_0x302327=>_0x302327['split']('.'))['filter'](_0x377224=>_0x377224['length']<=_0x163b31['length'])['map'](_0x15ac04=>Array(_0x163b31['length']-_0x15ac04['length'])['fill']('*'===_0x15ac04[0x0]?'*':'')['concat'](_0x15ac04))['some'](_0x30763f=>_0x163b31['every']((_0x49a9df,_0x4d0204)=>_0x30763f[_0x4d0204]===_0x49a9df||'*'===_0x30763f[_0x4d0204]));}function _0x9e583b(){return _0x3f441a&&_0x763c1c?new window['Promise']((_0x17171e,_0x3fe720)=>{_0x3f441a['then'](_0x17171e,_0x3fe720),_0x763c1c['then'](_0x4bc2b9=>{'Valid'!=_0x4bc2b9&&_0x17171e(_0x4bc2b9);},_0x3fe720);}):_0x3f441a||_0x763c1c||'Valid';}}function _0x46dc04(_0x108ce2,_0x5bb96c){return new window['Promise'](_0x8be840=>{if(_0xe55247())return _0x8be840('Valid');_0x21786e(),_0x3e0556['decorate']('_sendUsageRequest');let _0x92f820=!0x1;const _0x5e5cec=(0x0,_0x14e616['uid'])();function _0x234659(_0x2ee988){return!!_0x2ee988&&('object'==typeof _0x2ee988||'function'==typeof _0x2ee988)&&'function'==typeof _0x2ee988['then']&&'function'==typeof _0x2ee988['catch'];}function _0x199e80(_0x13bd6f){_0x571eb4(_0x13bd6f)['then'](_0xcf986b=>_0xcf986b&&'ok'==_0xcf986b['status']?_0x3a679c(_0xcfcd67(_0x5e5cec+_0x5bb96c))!=_0xcf986b['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x3c9459=>(_0xed1148(),_0x3c9459),()=>{const _0x263379=_0x149d43();return null==_0x263379?(_0xed1148(),'Valid'):_0x76d114-_0x263379>0x240c8400?'UsageLimit':'Valid';})['then'](_0x8be840)['catch'](()=>{_0x8be840('UsageLimit');});const _0x480c44=0x36ee80;function _0xed1148(){const _0x527f77='llct-'+_0x3a679c(_0xcfcd67(_0x108ce2)),_0x545990=_0x4ee81a(_0x3a679c(window['Math']['ceil'](_0x76d114/_0x480c44)));window['localStorage']['setItem'](_0x527f77,_0x545990);}function _0x149d43(){const _0x2845c2='llct-'+_0x3a679c(_0xcfcd67(_0x108ce2)),_0x1d3188=window['localStorage']['getItem'](_0x2845c2);return _0x1d3188?window['parseInt'](_0x4ee81a(_0x1d3188),0x10)*_0x480c44:null;}function _0x571eb4(_0x7e423b){return new window['Promise']((_0x3f30f2,_0xac7963)=>{_0x7e423b['then'](_0x3f30f2,_0xac7963),window['setTimeout'](_0xac7963,0x1d4c0);});}}_0x3e0556['on']('_sendUsageRequest',(_0x2e0b41,_0x3a5e01)=>{if(_0x3a5e01[0x0]!=_0x108ce2)return _0x8be840('UsageLimit');_0x3a5e01[0x1]={..._0x3a5e01[0x1],'requestId':_0x5e5cec};},{'priority':'high'}),_0x3e0556['on']('_sendUsageRequest',_0x39d135=>{_0x234659(_0x39d135['return'])&&(_0x92f820=!0x0,_0x199e80(_0x39d135['return']));},{'priority':'low'}),_0x1910ad['then'](()=>{_0x92f820||_0x8be840('UsageLimit');});});function _0xe55247(){return'auto'==_0x3e0556['editing']['view']['_overlayModeHint'];}function _0x21786e(){_0x3e0556['editing']['view']['_overlayModeHint']='auto';}}function _0x47df36(_0x18bf65){const _0x24df2f=[new window['Promise'](_0x180c35=>setTimeout(_0x180c35,0x93ecc)),_0x1910ad['then'](()=>new window['Promise'](_0x46c25c=>{let _0x15c72d=0x0;_0x3e0556['model']['on']('applyOperation',(_0x3374df,_0x49d731)=>{_0x49d731[0x0]['isDocumentOperation']&&_0x15c72d++,0x5e8==_0x15c72d&&(_0x46c25c(),_0x3374df['off']());});}))];return window['Promise']['race'](_0x24df2f)['then'](()=>_0x18bf65);}async function _0x25185c(){await _0x1910ad,_0x3e0556['model']['change']=_0x4d9a32,_0x3e0556['model']['enqueueChange']=_0x4d9a32,_0x3e0556['enableReadOnlyMode']('model');}function _0x1a5eed(_0x16ce1f){const _0x3843ed=_0x1f3dea();_0x3e0556[_0x3843ed]='sourceEditingEnhancedLicenseKey'+_0x16ce1f,'Valid'!=_0x16ce1f&&_0x25185c();}function _0x1f3dea(){const _0x1ec02a=window['String'](window['performance']['now']())['replace']('.','');let _0xd62162='N';for(let _0x3b0c40=0x0;_0x3b0c40<_0x1ec02a['length'];_0x3b0c40+=0x2){let _0x34c97b=window['parseInt'](_0x1ec02a['substring'](_0x3b0c40,_0x3b0c40+0x2));_0x34c97b>=0x3e&&(_0x34c97b-=0x3e),_0xd62162+=_0x8b8b79[_0x34c97b];}return _0xd62162;}function _0xb8212(){const _0x58e21b=_0x477b70['split']('.');if(0x3!=_0x58e21b['length'])return null;return _0x2362d0(_0x58e21b[0x1]);function _0x2362d0(_0x441ddf){const _0x5e8581=_0x23e89a(_0x441ddf);return _0x5e8581&&_0xddf56b()?_0x5e8581:null;function _0xddf56b(){const _0x4254b0=_0x5e8581['jti'],_0x463463=window['parseInt'](_0x4254b0['substring'](_0x4254b0['length']-0x8),0x10),_0x2e89ef={..._0x5e8581,'jti':_0x4254b0['substring'](0x0,_0x4254b0['length']-0x8)};return delete _0x2e89ef['vc'],_0xcfcd67(_0x2e89ef)==_0x463463;}}}async function _0x214941(){let _0x4c4e50=!0x0;try{const [_0x571a57,_0x3cfab2,_0x15b3b7]=_0x477b70['split']('.');return _0x5bcb90(_0x571a57),await _0x5a6058(_0x571a57,_0x3cfab2,_0x15b3b7),_0x4c4e50;}catch{return!0x1;}function _0x5bcb90(_0x1351cb){const _0x26e5f6=_0x23e89a(_0x1351cb);_0x26e5f6&&'ES256'==_0x26e5f6['alg']||(_0x4c4e50=!0x1);}async function _0x5a6058(_0x4c8445,_0x375ad5,_0x5749cc){const _0x4ecb79=window['Uint8Array']['from'](_0xe035ac(_0x5749cc),_0x319312=>_0x319312['charCodeAt'](0x0)),_0x1247aa=new window['TextEncoder']()['encode'](_0x4c8445+'.'+_0x375ad5),_0x5cf2af=window['crypto']['subtle'];if(!_0x5cf2af)return;const _0x3dd4cc=await _0x5cf2af['importKey']('jwk',_0x38fc41,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x5cf2af['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x3dd4cc,_0x4ecb79,_0x1247aa)||(_0x4c4e50=!0x1);}}function _0x23e89a(_0x4dc83a){return _0x4dc83a['startsWith']('ey')?JSON['parse'](_0xe035ac(_0x4dc83a)):null;}function _0xe035ac(_0x3e3b6a){return window['atob'](_0x3e3b6a['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0xcfcd67(_0x49d8dd){let _0x4ba876=0x1505;function _0x37633e(_0xe20625){for(let _0x59fae2=0x0;_0x59fae2<_0xe20625['length'];_0x59fae2++){const _0x35465d=_0xe20625['charCodeAt'](_0x59fae2);_0x4ba876=(_0x4ba876<<0x5)+_0x4ba876+_0x35465d,_0x4ba876&=_0x4ba876;}}function _0x163868(_0x60ef34){Array['isArray'](_0x60ef34)?_0x60ef34['forEach'](_0x163868):_0x60ef34&&'object'==typeof _0x60ef34?Object['entries'](_0x60ef34)['sort']()['forEach'](([_0x285447,_0x4c86b5])=>{_0x37633e(_0x285447),_0x163868(_0x4c86b5);}):_0x37633e(window['String'](_0x60ef34));}return _0x163868(_0x49d8dd),_0x4ba876>>>0x0;}function _0x3a679c(_0x33608e){return _0x33608e['toString'](0x10)['padStart'](0x8,'0');}function _0x4ee81a(_0x3c6ef1){return _0x3c6ef1['split']('')['reverse']()['join']('');}function _0x4d9a32(){}_0x1a5eed(await _0x39ef4e());}(this);}['_createButton'](_0x261d4e,_0x41273b,_0x1dc9ce=!0x1){const _0x1ed778=new _0x261d4e(this['editor']['locale']);return _0x1ed778['set']({'withText':_0x1dc9ce,'isToggleable':!0x1}),_0x1ed778['bind']('isEnabled')['to'](_0x41273b,'isEnabled'),this['listenTo'](_0x1ed778,'execute',()=>_0x41273b['execute']()),_0x1ed778;}['_registerKeybindings'](){const _0x99a926=this['editor']['locale'];this['editor']['accessibility']['addKeystrokeInfoCategory']({'id':'sourceEditingEnhanced','label':_0x295994(_0x99a926,'Source\x20Editing\x20Enhanced')});const _0x497474=_0x14e616['env']['isMac']||_0x14e616['env']['isiOS'];this['editor']['accessibility']['addKeystrokeInfos']({'categoryId':'sourceEditingEnhanced','keystrokes':[{'label':_0x295994(_0x99a926,'Copy\x20line\x20down'),'keystroke':'Shift+Alt+ArrowDown'},{'label':_0x295994(_0x99a926,'Copy\x20line\x20up'),'keystroke':'Shift+Alt+ArrowUp'},{'label':_0x295994(_0x99a926,'Delete\x20line'),'keystroke':'Shift+Ctrl+K'},{'label':_0x295994(_0x99a926,'Indent\x20less'),'keystroke':'Ctrl+['},{'label':_0x295994(_0x99a926,'Indent\x20more'),'keystroke':'Ctrl+]'},{'label':_0x295994(_0x99a926,'Fold\x20all'),'keystroke':'Ctrl!+Alt+['},{'label':_0x295994(_0x99a926,'Fold\x20code\x20(current\x20level)'),'keystroke':_0x497474?'Cmd+Alt+[':'Ctrl+Shift+['},{'label':_0x295994(_0x99a926,'Move\x20line\x20down'),'keystroke':'Alt+ArrowDown'},{'label':_0x295994(_0x99a926,'Move\x20line\x20up'),'keystroke':'Alt+ArrowUp'},{'label':_0x295994(_0x99a926,'Redo\x20(keystroke)'),'keystroke':[['Ctrl+Shift+Z'],['Ctrl+Y']]},{'label':_0x295994(_0x99a926,'Select\x20line'),'keystroke':_0x497474?'Ctrl!+L':'Alt+L'},{'label':_0x295994(_0x99a926,'Switch\x20between\x20\x22focus\x20with\x20tab\x22\x20and\x20\x22indent\x20with\x20tab\x22\x20mode'),'keystroke':_0x497474?'Alt+Shift+M':'Ctrl+M'},{'label':_0x295994(_0x99a926,'Toggle\x20block\x20comment'),'keystroke':'Shift+Alt+A'},{'label':_0x295994(_0x99a926,'Toggle\x20comment'),'keystroke':'Ctrl+/'},{'label':_0x295994(_0x99a926,'Undo\x20(keystroke)'),'keystroke':'Ctrl+Z'},{'label':_0x295994(_0x99a926,'Unfold\x20all'),'keystroke':'Ctrl!+Alt+]'},{'label':_0x295994(_0x99a926,'Unfold\x20code\x20(current\x20level)'),'keystroke':_0x497474?'Cmd+Alt+]':'Ctrl+Shift+]'}]});}},_0x3df2a6=class extends _0x14e616['Command']{constructor(_0x195b80){super(_0x195b80),this['refresh']();}['refresh'](){this['isEnabled']=!this['editor']['isReadOnly'];}['execute'](_0x490f93,_0x1eb8e6){const _0x3a30e2=this['editor'],_0x35adb5=_0x1eb8e6?.['rootName']??_0x4cd495(_0x3a30e2);_0x3a30e2['data']['set']({[_0x35adb5]:_0x490f93},{'batchType':{'isUndoable':!0x0},'suppressErrorInCollaboration':!0x0});}},_0x291036=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'SourceEditingEnhanced';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x52de9];}constructor(_0x204646){super(_0x204646),_0x204646['config']['define']('sourceEditingEnhanced.allowCollaborationFeatures',!0x1);}['init'](){this['_checkCompatibility'](),this['editor']['commands']['add']('replaceSource',new _0x3df2a6(this['editor'])),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18e4ae=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x408e3e;for(const _0x5660e8 in _0x18e4ae){const _0x305094=_0x5660e8,_0x2a962a=_0x18e4ae[_0x305094];if('sourceEditingEnhancedLicenseKeyValid'==_0x2a962a||'sourceEditingEnhancedLicenseKeyInvalid'==_0x2a962a||'sourceEditingEnhancedLicenseKeyExpired'==_0x2a962a||'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x2a962a||'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x2a962a||'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x2a962a||'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x2a962a){delete _0x18e4ae[_0x305094],_0x408e3e=_0x2a962a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'sourceEditingEnhancedLicenseKeyInvalid'==_0x408e3e&&_0x18e4ae['_showLicenseError']('invalid'),'sourceEditingEnhancedLicenseKeyExpired'==_0x408e3e&&_0x18e4ae['_showLicenseError']('expired'),'sourceEditingEnhancedLicenseKeyDomainLimit'==_0x408e3e&&_0x18e4ae['_showLicenseError']('domainLimit'),'sourceEditingEnhancedLicenseKeyNotAllowed'==_0x408e3e&&_0x18e4ae['_showLicenseError']('featureNotAllowed','SourceEditingEnhanced'),'sourceEditingEnhancedLicenseKeyEvaluationLimit'==_0x408e3e&&_0x18e4ae['_showLicenseError']('evaluationLimit'),'sourceEditingEnhancedLicenseKeyUsageLimit'==_0x408e3e&&_0x18e4ae['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_checkCompatibility'](){const _0x22e4b4=this['editor'],_0x13088d=_0x22e4b4['config']['get']('sourceEditingEnhanced.allowCollaborationFeatures');if(!_0x13088d&&_0x22e4b4['plugins']['has']('RealTimeCollaborativeEditing'))throw new _0x14e616['CKEditorError']('source-editing-enhanced-incompatible-with-real-time-collaboration',null);!_0x13088d&&['CommentsEditing','TrackChangesEditing','RevisionHistory']['some'](_0x300c1f=>_0x22e4b4['plugins']['has'](_0x300c1f))&&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.'),_0x22e4b4['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.');}},_0x146dd4=class extends _0x14e616['Command']{['execute'](_0x25150f){const {model:_0xa8b294}=this['editor'];let _0x2275e0;switch(typeof _0x25150f){case'string':_0x2275e0=_0x25150f;break;case'function':_0x2275e0=_0x25150f();}'string'==typeof _0x2275e0&&_0xa8b294['change'](()=>{const _0x4286c1=this['editor']['data']['htmlProcessor']['toView'](_0x2275e0),_0xfcad01=_0xa8b294['document']['selection']['getFirstPosition']()['root'],_0x2ccf6f=this['editor']['data']['toModel'](_0x4286c1,_0xfcad01);_0xa8b294['insertContent'](_0x2ccf6f);});}},_0x11a22a=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'TemplateEditing';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4041fd}=this;_0x4041fd['commands']['add']('insertTemplate',new _0x146dd4(_0x4041fd)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e2ee9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5d8fed;for(const _0xa8f4f9 in _0x5e2ee9){const _0x2a7e99=_0xa8f4f9,_0xe036bb=_0x5e2ee9[_0x2a7e99];if('templateLicenseKeyValid'==_0xe036bb||'templateLicenseKeyInvalid'==_0xe036bb||'templateLicenseKeyExpired'==_0xe036bb||'templateLicenseKeyDomainLimit'==_0xe036bb||'templateLicenseKeyNotAllowed'==_0xe036bb||'templateLicenseKeyEvaluationLimit'==_0xe036bb||'templateLicenseKeyUsageLimit'==_0xe036bb){delete _0x5e2ee9[_0x2a7e99],_0x5d8fed=_0xe036bb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'templateLicenseKeyInvalid'==_0x5d8fed&&_0x5e2ee9['_showLicenseError']('invalid'),'templateLicenseKeyExpired'==_0x5d8fed&&_0x5e2ee9['_showLicenseError']('expired'),'templateLicenseKeyDomainLimit'==_0x5d8fed&&_0x5e2ee9['_showLicenseError']('domainLimit'),'templateLicenseKeyNotAllowed'==_0x5d8fed&&_0x5e2ee9['_showLicenseError']('featureNotAllowed','Template'),'templateLicenseKeyEvaluationLimit'==_0x5d8fed&&_0x5e2ee9['_showLicenseError']('evaluationLimit'),'templateLicenseKeyUsageLimit'==_0x5d8fed&&_0x5e2ee9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}},_0x2165e0=class extends _0x14e616['ListView']{['filter'](_0x5226ca){if(!_0x5226ca)return this['_resetFiltering']();const _0x36e78e=new Map(),_0x4992b2=this['items']['map'](_0x34fdf4=>{const _0x3ebc66=_0x34fdf4['buttonView']['isMatching'](_0x5226ca);return _0x34fdf4['isVisible']=!!_0x3ebc66,_0x34fdf4['buttonView']['highlightText'](_0x3ebc66?_0x5226ca:null),_0x3ebc66&&_0x36e78e['set'](_0x34fdf4,_0x3ebc66),_0x34fdf4;})['sort'](_0x211c28)['sort'](function(_0x237c6e){return function(_0x3e7a25,_0x591275){const _0xc1fbc1=_0x237c6e['get'](_0x3e7a25),_0xd7ed99=_0x237c6e['get'](_0x591275);return _0xc1fbc1&&!_0xd7ed99?-0x1:_0xd7ed99&&!_0xc1fbc1?0x1:_0xc1fbc1||_0xd7ed99?_0xc1fbc1['title']&&!_0xd7ed99['title']?-0x1:!_0xc1fbc1['title']&&_0xd7ed99['title']?0x1:0x0:0x0;};}(_0x36e78e));return this['items']['clear'](),this['items']['addMany'](_0x4992b2),{'resultsCount':_0x36e78e['size'],'totalItemsCount':this['items']['length']};}['_resetFiltering'](){const _0x3097fd=this['items']['map'](_0x1bd96c=>_0x1bd96c)['sort'](_0x211c28);return _0x3097fd['forEach'](_0xf222e1=>{_0xf222e1['isVisible']=!0x0,_0xf222e1['buttonView']['highlightText'](null);}),this['items']['clear'](),this['items']['addMany'](_0x3097fd),{'resultsCount':_0x3097fd['length'],'totalItemsCount':_0x3097fd['length']};}};function _0x211c28(_0x5457e6,_0x289f6b){return _0x5457e6['originalIndex']-_0x289f6b['originalIndex'];}var _0x14dece=class extends _0x14e616['ListItemView']{['originalIndex'];['buttonView'];constructor(_0x3fe402,_0xe9dc80){super(_0x3fe402),this['originalIndex']=_0xe9dc80,this['buttonView']=null;}},_0x568eb2=class extends _0x14e616['ButtonView']{['templateDefinition'];['textPartView'];constructor(_0x54ed26,_0xe883f4){super(_0x54ed26),this['templateDefinition']=_0xe883f4,this['textPartView']=null;const {icon:_0x29ae4a=_0x14e616['IconTemplateGeneric']}=_0xe883f4;this['set']({'withText':!0x0,'class':'ck-template-button','role':'option','icon':_0x29ae4a}),this['iconView']['isColorInherited']=!0x1;}['render'](){super['render'](),this['textPartView']=new _0x386148(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'](_0x22869f){const {title:_0x199c02,description:_0x539b8f}=this['templateDefinition'],_0xf2419=!!_0x199c02['match'](_0x22869f),_0x851c5b=!(!_0x539b8f||!_0x539b8f['match'](_0x22869f));return _0xf2419||_0x851c5b?{'title':_0xf2419,'description':_0x851c5b}:null;}['highlightText'](_0x1f00c0){this['textPartView']['highlightText'](_0x1f00c0);}},_0x386148=class extends _0x14e616['View']{constructor(_0x517171,_0x377db1,_0x143318){super(_0x517171),this['title']=_0x377db1['title'],this['description']=_0x377db1['description'],this['titleView']=new _0x14e616['HighlightedTextView'](),this['titleView']['text']=this['title'],this['titleView']['extendTemplate']({'tag':'span','attributes':{'class':['ck-button__label'],'id':_0x143318}});const _0x42011f=[this['titleView']];this['description']&&(this['descriptionView']=new _0x14e616['HighlightedTextView'](),this['descriptionView']['text']=this['description'],this['descriptionView']['extendTemplate']({'tag':'p','attributes':{'class':['ck-template-form__description']}}),_0x42011f['push'](this['descriptionView'])),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-template-form__text-part']},'children':_0x42011f});}['highlightText'](_0x4e3cd4){this['titleView']['highlightText'](_0x4e3cd4),this['description']&&this['descriptionView']['highlightText'](_0x4e3cd4);}};function _0x552a07(_0x5c66fb,_0x19c08c,..._0x25723a){const t=_0x5c66fb['t'];switch(_0x19c08c){case'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.':return t('No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',..._0x25723a);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',..._0x25723a);case'Search\x20template':return t('Search\x20template');case'Template':return t('Template');case'Insert\x20template':return t('Insert\x20template');default:return _0x19c08c;}}var _0x37f7e5=class extends _0x14e616['Plugin']{static get['pluginName'](){return'TemplateUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4459dd}=this,_0x44a5fc=_0x4459dd['config']['get']('template.definitions')||[];_0x4459dd['ui']['componentFactory']['add']('insertTemplate',_0x187512=>{const _0x1b7da9=(0x0,_0x14e616['createDropdown'])(_0x187512),_0x40d3dc=new _0x14e616['SearchTextView'](_0x187512,{'filteredView':this['_createTemplateListView'](_0x187512,_0x44a5fc),'queryView':{'label':_0x552a07(_0x187512,'Search\x20template')},'class':'ck-template-form','infoView':{'text':{'notFound':{'primary':_0xaee801=>_0x552a07(_0x187512,'No\x20templates\x20were\x20found\x20matching\x20\x22%0\x22.',_0xaee801),'secondary':_0x552a07(_0x187512,'Please\x20try\x20a\x20different\x20phrase\x20or\x20check\x20the\x20spelling.')},'noSearchableItems':{'primary':_0x552a07(_0x187512,'No\x20templates\x20available.')}}}}),_0x1d0ea2=_0x4459dd['commands']['get']('insertTemplate');return _0x40d3dc['on']('search',(_0x389603,_0x515382)=>{_0x515382['query']&&_0x515382['query']['length']&&_0x4459dd['ui']['ariaLiveAnnouncer']['announce'](_0x552a07(_0x187512,'%0\x20templates\x20found',_0x515382['resultsCount']));}),_0x1b7da9['bind']('isEnabled')['to'](_0x1d0ea2),_0x1b7da9['panelView']['children']['add'](_0x40d3dc),_0x1b7da9['buttonView']['set']({'label':_0x552a07(_0x187512,'Insert\x20template'),'icon':_0x14e616['IconTemplate'],'tooltip':!0x0}),_0x1b7da9['on']('change:isOpen',(_0x4e10ba,_0x50bfe5,_0x364ee1)=>{_0x364ee1||_0x40d3dc['reset']();}),_0x1b7da9;}),_0x4459dd['ui']['componentFactory']['add']('menuBar:insertTemplate',_0xb59813=>{const _0x283c9b=_0x4459dd['commands']['get']('insertTemplate'),_0x2e20c7=new _0x14e616['MenuBarMenuView'](_0xb59813);_0x2e20c7['buttonView']['set']({'label':_0x552a07(_0xb59813,'Template'),'icon':_0x14e616['IconTemplate']});const _0xbbe6a=new _0x14e616['MenuBarMenuListView'](_0xb59813);if(!_0x44a5fc||!_0x44a5fc['length']){const _0x59f236=new _0x14e616['MenuBarMenuListItemView'](_0xb59813,_0x2e20c7),_0x59459b=new _0x14e616['MenuBarMenuListItemButtonView'](_0xb59813);_0x59459b['set']({'label':_0x552a07(_0xb59813,'No\x20templates\x20available.')}),_0x59459b['delegate']('execute')['to'](_0x2e20c7),_0x59459b['on']('execute',()=>{_0x4459dd['editing']['view']['focus']();}),_0x59f236['children']['add'](_0x59459b),_0xbbe6a['items']['add'](_0x59f236);}for(const _0x2642bb of _0x44a5fc){const _0x2d192b=new _0x14e616['MenuBarMenuListItemView'](_0xb59813,_0x2e20c7),_0x51897f=new _0x14e616['MenuBarMenuListItemButtonView'](_0xb59813);_0x51897f['set']({'class':'ck-template-button','label':_0x2642bb['title'],'icon':_0x2642bb['icon']||_0x14e616['IconTemplateGeneric']}),_0x51897f['delegate']('execute')['to'](_0x2e20c7),_0x51897f['on']('execute',()=>{_0x4459dd['execute']('insertTemplate',_0x2642bb['data']),_0x4459dd['editing']['view']['focus']();}),_0x2d192b['children']['add'](_0x51897f),_0xbbe6a['items']['add'](_0x2d192b);}return _0x2e20c7['panelView']['children']['add'](_0xbbe6a),_0x2e20c7['bind']('isEnabled')['to'](_0x283c9b,'isEnabled'),_0x2e20c7;});}['afterInit'](){!async function(_0xa272b6){const _0x38d463='5goNZRxHzmBfrl0Fq6Cks1ahDGS2LUEWiby3wKvu4IVPdeT8jn9MOQJtcAY7Xp',_0x1a624f=0x78fc0,_0x6a7cd6=window['Date']['now'](),_0x215043=_0xa272b6['editor'],_0x5b5899=new window['Promise'](_0x3c73ed=>{_0x215043['once']('ready',_0x3c73ed);}),_0xa64221={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x1234ac=_0x215043['config']['get']('licenseKey');async function _0x2a5bed(){let _0x49bcb5,_0x213c71=null,_0x2bc365=null;try{return'GPL'==_0x1234ac?'NotAllowed':(_0x49bcb5=_0x56f580(),_0x49bcb5?(_0x49bcb5['usageEndpoint']&&(_0x2bc365=_0x25be2b(_0x49bcb5['usageEndpoint'],_0x49bcb5['jti'])),await _0x1722b0()?_0x3e29a4()?_0x132e63()?'Expired':_0x52bb5a()?('evaluation'==_0x49bcb5['licenseType']&&(_0x213c71=_0x305d9d('EvaluationLimit')),await _0x5017db()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x132e63(){const _0x5979b3=['evaluation','trial']['includes'](_0x49bcb5['licenseType'])?_0x6a7cd6/0x3e8:0xe10*_0x1a624f;return _0x49bcb5['exp']<_0x5979b3;}function _0x3e29a4(){const _0x41668f=_0x49bcb5['features'];return!!_0x41668f&&(!!_0x41668f['includes']('*')||(!!_0x41668f['includes']('TPL')||(!!_0x41668f['includes']('PP')||(!(!_0x41668f['includes']('DRUP')||!_0x4b79f0())||!(!_0x41668f['includes']('TRILIUM')||!_0x4005f5())))));}function _0x52bb5a(){const _0x151415=_0x49bcb5['licensedHosts'];if(!_0x151415||0x0==_0x151415['length'])return!0x0;const {hostname:_0x1857b7}=new URL(window['location']['href']);if(_0x151415['includes'](_0x1857b7))return!0x0;const _0x1ff564=_0x1857b7['split']('.');return _0x151415['filter'](_0x62cc04=>_0x62cc04['includes']('*'))['map'](_0x3b7272=>_0x3b7272['split']('.'))['filter'](_0x133e86=>_0x133e86['length']<=_0x1ff564['length'])['map'](_0x440026=>Array(_0x1ff564['length']-_0x440026['length'])['fill']('*'===_0x440026[0x0]?'*':'')['concat'](_0x440026))['some'](_0x2608b1=>_0x1ff564['every']((_0x1ceb03,_0x3a80d3)=>_0x2608b1[_0x3a80d3]===_0x1ceb03||'*'===_0x2608b1[_0x3a80d3]));}function _0x5017db(){return _0x213c71&&_0x2bc365?new window['Promise']((_0x57ad2c,_0x2443cc)=>{_0x213c71['then'](_0x57ad2c,_0x2443cc),_0x2bc365['then'](_0x506179=>{'Valid'!=_0x506179&&_0x57ad2c(_0x506179);},_0x2443cc);}):_0x213c71||_0x2bc365||'Valid';}}function _0x25be2b(_0x258c16,_0x46e7db){return new window['Promise'](_0x413245=>{if(_0x254f0d())return _0x413245('Valid');_0x10a4ff(),_0x215043['decorate']('_sendUsageRequest');let _0x2bbcc8=!0x1;const _0x5ebc6e=(0x0,_0x14e616['uid'])();function _0x4bead7(_0x202f29){return!!_0x202f29&&('object'==typeof _0x202f29||'function'==typeof _0x202f29)&&'function'==typeof _0x202f29['then']&&'function'==typeof _0x202f29['catch'];}function _0x2e2f5e(_0x488cfe){_0x2c0b78(_0x488cfe)['then'](_0x2d46de=>_0x2d46de&&'ok'==_0x2d46de['status']?_0x19a9cc(_0x1ed15f(_0x5ebc6e+_0x46e7db))!=_0x2d46de['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x2cf403=>(_0x37168c(),_0x2cf403),()=>{const _0x36697b=_0x5d724f();return null==_0x36697b?(_0x37168c(),'Valid'):_0x6a7cd6-_0x36697b>0x240c8400?'UsageLimit':'Valid';})['then'](_0x413245)['catch'](()=>{_0x413245('UsageLimit');});const _0x543fba=0x36ee80;function _0x37168c(){const _0x38e6af='llct-'+_0x19a9cc(_0x1ed15f(_0x258c16)),_0x31921a=_0x11b742(_0x19a9cc(window['Math']['ceil'](_0x6a7cd6/_0x543fba)));window['localStorage']['setItem'](_0x38e6af,_0x31921a);}function _0x5d724f(){const _0xa51e6c='llct-'+_0x19a9cc(_0x1ed15f(_0x258c16)),_0x25dfc7=window['localStorage']['getItem'](_0xa51e6c);return _0x25dfc7?window['parseInt'](_0x11b742(_0x25dfc7),0x10)*_0x543fba:null;}function _0x2c0b78(_0x4bb201){return new window['Promise']((_0x1bd2e4,_0x2d6468)=>{_0x4bb201['then'](_0x1bd2e4,_0x2d6468),window['setTimeout'](_0x2d6468,0x1d4c0);});}}_0x215043['on']('_sendUsageRequest',(_0x4c56b1,_0xddcd6b)=>{if(_0xddcd6b[0x0]!=_0x258c16)return _0x413245('UsageLimit');_0xddcd6b[0x1]={..._0xddcd6b[0x1],'requestId':_0x5ebc6e};},{'priority':'high'}),_0x215043['on']('_sendUsageRequest',_0x20a298=>{_0x4bead7(_0x20a298['return'])&&(_0x2bbcc8=!0x0,_0x2e2f5e(_0x20a298['return']));},{'priority':'low'}),_0x5b5899['then'](()=>{_0x2bbcc8||_0x413245('UsageLimit');});});function _0x254f0d(){return'auto'==_0x215043['editing']['view']['_overlayModeHint'];}function _0x10a4ff(){_0x215043['editing']['view']['_overlayModeHint']='auto';}}function _0x305d9d(_0x1e3ecd){const _0x57874a=[new window['Promise'](_0x196b0f=>setTimeout(_0x196b0f,0x93ecc)),_0x5b5899['then'](()=>new window['Promise'](_0x208019=>{let _0x3aa6c3=0x0;_0x215043['model']['on']('applyOperation',(_0x26374a,_0x4d0301)=>{_0x4d0301[0x0]['isDocumentOperation']&&_0x3aa6c3++,0x5e8==_0x3aa6c3&&(_0x208019(),_0x26374a['off']());});}))];return window['Promise']['race'](_0x57874a)['then'](()=>_0x1e3ecd);}async function _0x5e944f(){await _0x5b5899,_0x215043['model']['change']=_0x4ab71a,_0x215043['model']['enqueueChange']=_0x4ab71a,_0x215043['enableReadOnlyMode']('model');}function _0x4b79f0(){return window['Drupal'];}function _0x4005f5(){return window['glob']&&window['glob']['triliumVersion'];}function _0x4e9db5(_0x1f7948){const _0x39eee9=_0x2413d6();_0x215043[_0x39eee9]='templateLicenseKey'+_0x1f7948,'Valid'!=_0x1f7948&&_0x5e944f();}function _0x2413d6(){const _0x15e7fb=window['String'](window['performance']['now']())['replace']('.','');let _0xa8ca64='g';for(let _0x335aee=0x0;_0x335aee<_0x15e7fb['length'];_0x335aee+=0x2){let _0x35b1b2=window['parseInt'](_0x15e7fb['substring'](_0x335aee,_0x335aee+0x2));_0x35b1b2>=0x3e&&(_0x35b1b2-=0x3e),_0xa8ca64+=_0x38d463[_0x35b1b2];}return _0xa8ca64;}function _0x56f580(){const _0xd0c47f=_0x1234ac['split']('.');if(0x3!=_0xd0c47f['length'])return null;return _0x2d71bd(_0xd0c47f[0x1]);function _0x2d71bd(_0x243413){const _0x4d5b72=_0x2abecf(_0x243413);return _0x4d5b72&&_0x446fbb()?_0x4d5b72:null;function _0x446fbb(){const _0xcc27f=_0x4d5b72['jti'],_0x31b34f=window['parseInt'](_0xcc27f['substring'](_0xcc27f['length']-0x8),0x10),_0x439e55={..._0x4d5b72,'jti':_0xcc27f['substring'](0x0,_0xcc27f['length']-0x8)};return delete _0x439e55['vc'],_0x1ed15f(_0x439e55)==_0x31b34f;}}}async function _0x1722b0(){let _0x402ee4=!0x0;try{const [_0x9c13c3,_0x5e6b84,_0x113440]=_0x1234ac['split']('.');return _0x2e9666(_0x9c13c3),await _0x1ea49b(_0x9c13c3,_0x5e6b84,_0x113440),_0x402ee4;}catch{return!0x1;}function _0x2e9666(_0x4568ce){const _0x527c37=_0x2abecf(_0x4568ce);_0x527c37&&'ES256'==_0x527c37['alg']||(_0x402ee4=!0x1);}async function _0x1ea49b(_0x8362f0,_0xea33bf,_0x3b04b8){const _0x347f6f=window['Uint8Array']['from'](_0x4736ee(_0x3b04b8),_0x3b5472=>_0x3b5472['charCodeAt'](0x0)),_0x40d474=new window['TextEncoder']()['encode'](_0x8362f0+'.'+_0xea33bf),_0x3d9c09=window['crypto']['subtle'];if(!_0x3d9c09)return;const _0x4b74de=await _0x3d9c09['importKey']('jwk',_0xa64221,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3d9c09['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0x4b74de,_0x347f6f,_0x40d474)||(_0x402ee4=!0x1);}}function _0x2abecf(_0x3db91b){return _0x3db91b['startsWith']('ey')?JSON['parse'](_0x4736ee(_0x3db91b)):null;}function _0x4736ee(_0x51b57a){return window['atob'](_0x51b57a['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x1ed15f(_0x314576){let _0x546559=0x1505;function _0x2d92ab(_0x5998e0){for(let _0x48f507=0x0;_0x48f507<_0x5998e0['length'];_0x48f507++){const _0x55c676=_0x5998e0['charCodeAt'](_0x48f507);_0x546559=(_0x546559<<0x5)+_0x546559+_0x55c676,_0x546559&=_0x546559;}}function _0x176d53(_0x261e16){Array['isArray'](_0x261e16)?_0x261e16['forEach'](_0x176d53):_0x261e16&&'object'==typeof _0x261e16?Object['entries'](_0x261e16)['sort']()['forEach'](([_0x88458f,_0xa9b9de])=>{_0x2d92ab(_0x88458f),_0x176d53(_0xa9b9de);}):_0x2d92ab(window['String'](_0x261e16));}return _0x176d53(_0x314576),_0x546559>>>0x0;}function _0x19a9cc(_0x57833b){return _0x57833b['toString'](0x10)['padStart'](0x8,'0');}function _0x11b742(_0x52d87f){return _0x52d87f['split']('')['reverse']()['join']('');}function _0x4ab71a(){}_0x4e9db5(await _0x2a5bed());}(this);}['_createTemplateListView'](_0xfbf4e3,_0x4ee73f){const {editor:_0x486494}=this,_0x44545e=new _0x2165e0(_0xfbf4e3);return _0x44545e['extendTemplate']({'attributes':{'role':'listbox','class':['ck-template-list']}}),_0x44545e['items']['addMany'](_0x4ee73f['map']((_0x71fb24,_0xc923f2)=>{const _0x19f717=new _0x14dece(_0xfbf4e3,_0xc923f2),_0x43e585=new _0x568eb2(_0xfbf4e3,_0x71fb24);return _0x19f717['buttonView']=_0x43e585,_0x19f717['children']['add'](_0x43e585),_0x19f717['buttonView']['on']('execute',_0xa743ee=>{_0x486494['execute']('insertTemplate',_0xa743ee['source']['templateDefinition']['data']),_0x486494['editing']['view']['focus']();}),_0x19f717;})),_0x44545e;}},_0x16fbb7=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x11a22a,_0x37f7e5];}static get['pluginName'](){return'Template';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};function _0x44b33f(_0x342192,_0x3764a8,_0x5a7f01){const t=_0x342192['t'],_0x43559b=_0x342192['t'];switch(_0x3764a8){case'local':return{'text':_0x43559b('Insert'===_0x5a7f01?'Upload\x20from\x20computer':'Replace\x20from\x20computer'),'shortText':_0x43559b('From\x20computer')};case'url':return{'text':'Insert'===_0x5a7f01?_0x43559b('Insert\x20via\x20URL'):t('Replace\x20via\x20URL'),'shortText':_0x43559b('Via\x20URL')};case'dropbox':return{'text':t('Insert'===_0x5a7f01?'Insert\x20with\x20Dropbox':'Replace\x20with\x20Dropbox'),'shortText':t('With\x20Dropbox')};case'facebook':return{'text':t('Insert'===_0x5a7f01?'Insert\x20with\x20Facebook':'Replace\x20with\x20Facebook'),'shortText':t('With\x20Facebook')};case'gdrive':return{'text':t('Insert'===_0x5a7f01?'Insert\x20with\x20Google\x20Drive':'Replace\x20with\x20Google\x20Drive'),'shortText':t('With\x20Google\x20Drive')};case'gphotos':return{'text':t('Insert'===_0x5a7f01?'Insert\x20with\x20Google\x20Photos':'Replace\x20with\x20Google\x20Photos'),'shortText':t('With\x20Google\x20Photos')};case'onedrive':return{'text':t('Insert'===_0x5a7f01?'Insert\x20with\x20OneDrive':'Replace\x20with\x20OneDrive'),'shortText':t('With\x20OneDrive')};default:return _0x3764a8;}}var _0x2d427b=class extends _0x14e616['Plugin']{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'UploadcareUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5d31c9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x585c18;for(const _0x19d5e4 in _0x5d31c9){const _0x1d5d58=_0x19d5e4,_0x150291=_0x5d31c9[_0x1d5d58];if('uploadcareLicenseKeyValid'==_0x150291||'uploadcareLicenseKeyInvalid'==_0x150291||'uploadcareLicenseKeyExpired'==_0x150291||'uploadcareLicenseKeyDomainLimit'==_0x150291||'uploadcareLicenseKeyNotAllowed'==_0x150291||'uploadcareLicenseKeyEvaluationLimit'==_0x150291||'uploadcareLicenseKeyUsageLimit'==_0x150291){delete _0x5d31c9[_0x1d5d58],_0x585c18=_0x150291,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'uploadcareLicenseKeyInvalid'==_0x585c18&&_0x5d31c9['_showLicenseError']('invalid'),'uploadcareLicenseKeyExpired'==_0x585c18&&_0x5d31c9['_showLicenseError']('expired'),'uploadcareLicenseKeyDomainLimit'==_0x585c18&&_0x5d31c9['_showLicenseError']('domainLimit'),'uploadcareLicenseKeyNotAllowed'==_0x585c18&&_0x5d31c9['_showLicenseError']('featureNotAllowed','Uploadcare'),'uploadcareLicenseKeyEvaluationLimit'==_0x585c18&&_0x5d31c9['_showLicenseError']('evaluationLimit'),'uploadcareLicenseKeyUsageLimit'==_0x585c18&&_0x5d31c9['_showLicenseError']('usageLimit');},0x3e8);}['afterInit'](){const {editor:_0x324073}=this,_0x14b3fc=_0x324073['commands']['get']('uploadcare');if(!_0x14b3fc)return;const _0xcc1301=this['_normalizeConfigSourceList'](_0x324073['config']['get']('uploadcare.uploader.sourceList'))['reduce']((_0x547258,_0x47d450)=>{const _0x4a3258=this['_getIntegrationKey'](_0x47d450['type']);return _0x547258[_0x4a3258]||(_0x547258[_0x4a3258]=[]),_0x547258[_0x4a3258]['push'](_0x47d450),_0x547258;},{});_0x324073['plugins']['has']('ImageInsertUI')&&_0x324073['commands']['get']('uploadcare')&&Object['entries'](_0xcc1301)['forEach'](([_0x105e18,_0x2953f9])=>{_0x324073['plugins']['get']('ImageInsertUI')['registerIntegration']({'name':_0x105e18,'observable':()=>_0x14b3fc,'buttonViewCreator':()=>this['_createToolbarButton'](_0x2953f9),'formViewCreator':()=>this['_createDropdownButtons'](_0x2953f9),'menuBarButtonViewCreator':()=>this['_createMenuBarButtons'](_0x2953f9),'override':'assetManager'!==_0x105e18});});}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}['_normalizeConfigSourceList'](_0xfc9667){const {locale:_0x4672c7}=this['editor'];return _0xfc9667['map'](_0x51a49f=>{const _0x5ef64b=_0x44b33f(_0x4672c7,_0x51a49f,'Insert');switch(_0x51a49f){case'local':return{'icon':_0x14e616['IconUploadcareImageUpload'],'type':'local',..._0x5ef64b};case'url':return{'icon':_0x14e616['IconUploadcareLink'],'type':'url',..._0x5ef64b};case'dropbox':return{'icon':_0x14e616['IconDropbox'],'type':'dropbox',..._0x5ef64b};case'facebook':return{'icon':_0x14e616['IconFacebook'],'type':'facebook',..._0x5ef64b};case'gdrive':return{'icon':_0x14e616['IconGoogleDrive'],'type':'gdrive',..._0x5ef64b};case'gphotos':return{'icon':_0x14e616['IconGooglePhotos'],'type':'gphotos',..._0x5ef64b};case'onedrive':return{'icon':_0x14e616['IconOneDrive'],'type':'onedrive',..._0x5ef64b};}});}['_getIntegrationKey'](_0x23992d){switch(_0x23992d){case'local':return'upload';case'url':return'url';default:return'assetManager';}}['_createButton'](_0x5aa5b2,_0xf397e6){const _0x17701e=this['editor'],_0x20d7db=new _0x5aa5b2(_0x17701e['locale']),_0xb34c03=_0x17701e['commands']['get']('uploadcare');return _0x20d7db['bind']('isEnabled')['to'](_0xb34c03),_0x20d7db['on']('execute',()=>{_0xb34c03['execute'](_0xf397e6);}),_0x20d7db;}['_createToolbarButton'](_0x55afe1){const {locale:_0x3cd12b}=this['editor'],_0x17a4b1=this['editor']['plugins']['get']('ImageInsertUI'),_0xf9cdd9=_0x55afe1[0x0],_0x4707a8=this['_createButton'](_0x14e616['ButtonView'],_0xf9cdd9['type']);return _0x4707a8['icon']=_0xf9cdd9['icon'],_0x4707a8['bind']('label')['to'](_0x17a4b1,'isImageSelected',_0x43d6ed=>_0x44b33f(_0x3cd12b,_0xf9cdd9['type'],_0x43d6ed?'Replace':'Insert')['text']),_0x4707a8['tooltip']=!0x0,_0x4707a8;}['_createDropdownButtons'](_0x4660c9){const {locale:_0x2d3514}=this['editor'],_0x5137c2=this['editor']['plugins']['get']('ImageInsertUI');return _0x4660c9['map'](_0x10c0dd=>{const _0x5d91d7=this['_createButton'](_0x14e616['ButtonView'],_0x10c0dd['type']);return _0x5d91d7['withText']=!0x0,_0x5d91d7['icon']=_0x10c0dd['icon'],_0x5d91d7['bind']('label')['to'](_0x5137c2,'isImageSelected',_0x18ef84=>_0x44b33f(_0x2d3514,_0x10c0dd['type'],_0x18ef84?'Replace':'Insert')['text']),_0x5d91d7;});}['_createMenuBarButtons'](_0x542330){return _0x542330['map'](_0x3e0b77=>{const _0x516bba=this['_createButton'](_0x14e616['MenuBarMenuListItemButtonView'],_0x3e0b77['type']);return _0x516bba['icon']=_0x3e0b77['icon'],_0x516bba['label']=_0x3e0b77['shortText'],_0x516bba;});}},_0x4b4005=class extends _0x14e616['View']{['focusTracker'];['focusCycler'];constructor(_0x1f0469){super(_0x1f0469),this['focusTracker']=new _0x14e616['FocusTracker'](),this['focusCycler']=new _0x14e616['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');})}};}},_0x17065f=class extends _0x4b4005{constructor(_0xacfaf3,_0x12952a){super(_0xacfaf3),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-'+_0x12952a}},this['getFocusableElement']()]});}['focus'](){this['element']['focus']();}};function _0x506df8(_0xe32b3f,_0x122b20){const _0x40d033=_0xe32b3f['replace'](/\/$/,'');return{'imageFallbackUrl':_0xe32b3f,'imageSources':[{'srcset':[...[0x140,0x1e0,0x300,0x400,0x4b0,0x640,0x780,0x960]['filter'](_0x95ddc9=>_0x95ddc9<_0x122b20)['map'](_0x30d69e=>_0x40d033+'/-/resize/'+_0x30d69e+'x/\x20'+_0x30d69e+'w'),_0xe32b3f+'\x20'+_0x122b20+'w']['join'](',\x20'),'sizes':'(max-width:\x20'+_0x122b20+'px)\x20100vw,\x20'+_0x122b20+'px','type':'image/webp'}]};}function _0x5ddd5e(_0x317910,_0x3471ac,_0x24032a){const _0x4f2a67=_0x317910['match'](/\/crop\/(\d+)x(\d+)\//);return{'width':_0x4f2a67?parseInt(_0x4f2a67[0x1],0xa):_0x3471ac,'height':_0x4f2a67?parseInt(_0x4f2a67[0x2],0xa):_0x24032a};}function _0x11f70f(_0x39ed2b,_0x48b6f1){const _0x3800d5=new((0x0,_0x14e616['DomEmitterMixin'])())(),_0x237510=_0x39ed2b['plugins']['get']('ImageUtils'),_0xb1c641=_0x39ed2b['editing']['mapper']['toViewElement'](_0x48b6f1),_0x268891=_0x237510['findViewImgElement'](_0xb1c641),_0x35dfb8=_0x39ed2b['editing']['view']['domConverter']['viewToDom'](_0x268891),_0x228339=_0x48b6f1['getAttribute']('width'),_0x3d31f8=_0x48b6f1['getAttribute']('height'),_0x3acc03='image-processing';_0x39ed2b['editing']['view']['change'](_0x9d7608=>{_0x9d7608['addClass'](_0x3acc03,_0xb1c641),_0x9d7608['setStyle']('aspect-ratio',_0x228339+'/'+_0x3d31f8,_0x268891);}),_0x3800d5['listenTo'](_0x35dfb8,'load',()=>{_0x3800d5['stopListening'](_0x35dfb8,'load'),_0x39ed2b['editing']['view']['change'](_0x26f603=>{_0x26f603['removeClass'](_0x3acc03,_0xb1c641),_0x26f603['removeStyle']('aspect-ratio',_0x268891);});});}function _0x430fdd(_0x2aae17){if(Array['isArray'](_0x2aae17)){const _0x5973e1=_0x2aae17['map'](_0x430fdd);return _0x46dbf6=>_0x5973e1['some'](_0x1c8db5=>_0x1c8db5(_0x46dbf6));}if('origin'==_0x2aae17){const _0x3b9a17=_0x14e616['global']['window']['location']['origin'];return _0x2c76a7=>new URL(_0x2c76a7,_0x14e616['global']['document']['baseURI'])['origin']==_0x3b9a17;}return'function'==typeof _0x2aae17?_0x2aae17:_0x2aae17 instanceof RegExp?_0x485945=>!(!_0x485945['match'](_0x2aae17)&&!_0x485945['replace'](/^https?:\/\//,'')['match'](_0x2aae17)):()=>!0x1;}function _0x44b654(_0x77dcb2,_0x17514a){return(0x0,_0x14e616['getAncestors'])(_0x77dcb2['target'])['includes'](_0x17514a);}const _0x26854c=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0xcd0b08=class extends _0x26854c{['_editor'];['_dialog'];['_editing'];['_api'];['_type']=null;['_formView']=null;constructor(_0x530b33,_0x41bf25,_0x28f9c9){super(),this['_editor']=_0x530b33,this['_editing']=_0x41bf25,this['_dialog']=_0x530b33['plugins']['get'](_0x14e616['Dialog']),this['_api']=_0x41bf25['ctxElement']['getAPI'](),this['_type']=_0x28f9c9,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:_0x25a126,model:_0xf8af3c}=this['_editor'],_0x692a14=_0xf8af3c['document']['selection']['getSelectedElement'](),_0x3f3b94=_0x692a14&&(_0x692a14['is']('element','imageBlock')||_0x692a14['is']('element','imageInline'));this['_formView']=new _0x17065f(_0x25a126,this['_editing']['ucContextId']),this['_dialog']['show']({'id':'uploadCare','icon':_0x14e616['IconUploadcareImageUpload'],'title':_0x44b33f(_0x25a126,this['_type'],_0x3f3b94?'Replace':'Insert')['text'],'content':this['_formView'],'position':_0x14e616['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{this['_formView']['focus']();},'onHide':()=>{this['_api']['removeAllFiles'](),this['_editor']['editing']['view']['focus'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0xbd38ae=>!_0x44b654(_0xbd38ae,this['_formView']['element'])}});}['_initListeners'](){this['_editing']['ctxElement']['addEventListener']('done-click',()=>{const {allEntries:_0x4c2f2e}=this['_api']['getOutputCollectionState']();this['_editor']['model']['change'](_0x5522e6=>{const _0x4b3308=_0x4c2f2e['length'];for(const _0x1e1d25 of _0x4c2f2e){const _0x218344=_0x1e1d25===_0x4c2f2e[_0x4b3308-0x1],{cdnUrl:_0x234a4a,fileInfo:_0x5a289f}=_0x1e1d25;if(!_0x234a4a||!_0x5a289f)continue;const {width:_0x3fb2fe,height:_0x1f434a}=_0x5a289f['imageInfo'],_0x1c4f56=_0x5ddd5e(_0x234a4a,_0x3fb2fe,_0x1f434a),_0x188053=_0x506df8(_0x234a4a,_0x1c4f56['width']),_0x1d71e3={'id':_0x5a289f['uuid'],'type':'image','attributes':{'imageDimension':_0x1c4f56,..._0x188053}};this['_insertAsset'](_0x1d71e3,_0x218344,_0x5522e6);}}),this['_dialog']['hide']();}),this['_editing']['ctxElement']['addEventListener']('change',_0x4e71bf=>{'idle'===_0x4e71bf['detail']['status']&&!_0x4e71bf['detail']['allEntries']['length']&&this['_dialog']['isOpen']&&('local'===this['_type']?this['_api']['setCurrentActivity']('start-from'):this['_api']['initFlow']());});}['_insertAsset'](_0x2f3ab1,_0x31e843,_0x1cced7){const _0x4b9b7f=this['_editor']['model']['document']['selection'],_0x32d27e=_0x4b9b7f['getSelectedElement'](),_0x347940=!(!_0x32d27e||!_0x32d27e['is']('element','imageInline'));_0x1cced7['removeSelectionAttribute']('linkHref'),this['_insertImage'](_0x2f3ab1,_0x347940),_0x31e843||_0x1cced7['setSelection'](_0x4b9b7f['getLastPosition']());}['_insertImage'](_0x5e4019,_0x61a217){const _0x26cb61=this['_editor'],{imageDimension:_0x3636af,imageFallbackUrl:_0x182282,imageSources:_0x15f2b4}=_0x5e4019['attributes'];_0x26cb61['execute']('insertImage',{'imageType':_0x61a217?'imageInline':null,'source':{'uploadcareImageId':_0x5e4019['id'],'src':_0x182282,'sources':_0x15f2b4,..._0x3636af}});}},tq=class extends _0x14e616['Command']{['_editing'];['_controller']=null;static get['requires'](){return[_0x14e616['Dialog'],_0x29f4ee];}constructor(_0x506863){super(_0x506863),this['_editing']=_0x506863['plugins']['get'](_0x29f4ee);}['refresh'](){this['isEnabled']=this['_checkEnabled']();}['execute'](_0x401812){this['_controller']&&(this['_controller']['destroy'](),this['_controller']=null),this['_controller']=new _0xcd0b08(this['editor'],this['_editing'],_0x401812);}['_checkEnabled'](){return this['editor']['commands']['get']('insertImage')['isEnabled'];}};function _0x3a524f(_0x2d00eb){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x2d00eb);}const _0x1cea0d=/\W|_/g;function _0x1f83df(_0x238f82){return _0x238f82['split'](_0x1cea0d)['map']((_0x49ad06,_0x22be60)=>_0x49ad06['charAt'](0x0)[_0x22be60>0x0?'toUpperCase':'toLowerCase']()+_0x49ad06['slice'](0x1))['join']('');}function _0x3f62f5(_0x308b10,{ignoreKeys:_0x1b8fdc}={'ignoreKeys':[]}){return Array['isArray'](_0x308b10)?_0x308b10['map'](_0x379a6c=>_0x35ac9c(_0x379a6c,{'ignoreKeys':_0x1b8fdc})):_0x308b10;}function _0x35ac9c(_0x3117fd,{ignoreKeys:_0x38b238}={'ignoreKeys':[]}){if(Array['isArray'](_0x3117fd))return _0x3f62f5(_0x3117fd,{'ignoreKeys':_0x38b238});if(!_0x3a524f(_0x3117fd))return _0x3117fd;const _0x370cb2={};for(const _0x3189aa of Object['keys'](_0x3117fd)){let _0x87c506=_0x3117fd[_0x3189aa];_0x38b238['includes'](_0x3189aa)?_0x370cb2[_0x3189aa]=_0x87c506:(_0x3a524f(_0x87c506)?_0x87c506=_0x35ac9c(_0x87c506,{'ignoreKeys':_0x38b238}):Array['isArray'](_0x87c506)&&(_0x87c506=_0x3f62f5(_0x87c506,{'ignoreKeys':_0x38b238})),_0x370cb2[_0x1f83df(_0x3189aa)]=_0x87c506);}return _0x370cb2;}const _0x32aa4d={'factor':0x2,'time':0x64};function _0x18bf1e(_0x5dc0c5,_0xb14b50=_0x32aa4d){let _0x4cd778=0x0;return function _0x324940(_0x4c3400){const _0x4a932c=Math['round'](_0xb14b50['time']*_0xb14b50['factor']**_0x4cd778);return _0x4c3400({'attempt':_0x4cd778,'retry':_0x51e7ba=>(_0x28e5a0=>new Promise(_0x1c9165=>setTimeout(_0x1c9165,_0x28e5a0)))(_0x51e7ba??_0x4a932c)['then'](()=>(_0x4cd778+=0x1,_0x324940(_0x4c3400)))});}(_0x5dc0c5);}var _0x340472=class extends Error{},_0x46fe64=class NetworkError extends _0x340472{['originalProgressEvent'];constructor(_0x320ee5){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,NetworkError['prototype']),this['originalProgressEvent']=_0x320ee5;}};const _0x113e67=(_0x113652,_0x2e5683)=>{_0x113652&&(_0x113652['aborted']?Promise['resolve']()['then'](_0x2e5683):_0x113652['addEventListener']('abort',()=>_0x2e5683(),{'once':!0x0}));};var _0x392565=class _0x3801b3 extends _0x340472{['isCancel']=!0x0;constructor(_0x431efe='Request\x20canceled'){super(_0x431efe),this['name']='CancelError',Object['setPrototypeOf'](this,_0x3801b3['prototype']);}};const _0x3ebd14=({check:_0x20e56b,interval:_0x307a5e=0x1f4,timeout:_0xa84bec,signal:_0x5d63e2})=>new Promise((_0x24b9b5,_0x52da39)=>{let _0x32ac4c,_0x5cc03;_0x113e67(_0x5d63e2,()=>{_0x32ac4c&&clearTimeout(_0x32ac4c),_0x52da39(new _0x392565('Poll\x20cancelled'));}),_0xa84bec&&(_0x5cc03=setTimeout(()=>{_0x32ac4c&&clearTimeout(_0x32ac4c),_0x52da39(new _0x392565('Timed\x20out'));},_0xa84bec));const _0x1cf06c=()=>{try{Promise['resolve'](_0x20e56b(_0x5d63e2))['then'](_0x166972=>{_0x166972?(_0x5cc03&&clearTimeout(_0x5cc03),_0x24b9b5(_0x166972)):_0x32ac4c=setTimeout(_0x1cf06c,_0x307a5e);})['catch'](_0x55fa78=>{_0x5cc03&&clearTimeout(_0x5cc03),_0x52da39(_0x55fa78);});}catch(_0x39a6ae){_0x5cc03&&clearTimeout(_0x5cc03),_0x52da39(_0x39a6ae);}};_0x32ac4c=setTimeout(_0x1cf06c,0x0);}),_0x2c3a55='https://ucarecdn.com',_0x3fcc0b='https://upload.uploadcare.com',_0x5545e6=0x1,_0x1c0d8c=0x3,_0x3a68ea=0x1900000,_0x446a6c=0x500000,_0x46cd74=0x4,_0x2b5b4b='79ae88bd931ea68464d9',_0x51621a='application/octet-stream',_0x45370e='original',_0x384d41=({method:_0x249d70,url:_0x3e9f82,data:_0x34d3ff,headers:_0x4ba9e1={},signal:_0x1492ad,onProgress:_0x4fa3fa})=>new Promise((_0x339df8,_0x5ea1f7)=>{const _0x428220=new XMLHttpRequest(),_0xcb0524=_0x249d70?.['toUpperCase']()||'GET';let _0x220587=!0x1;_0x428220['open'](_0xcb0524,_0x3e9f82,!0x0),_0x4ba9e1&&Object['entries'](_0x4ba9e1)['forEach'](_0x33410c=>{const [_0x1ba234,_0x581a46]=_0x33410c;void 0x0!==_0x581a46&&!Array['isArray'](_0x581a46)&&_0x428220['setRequestHeader'](_0x1ba234,_0x581a46);}),_0x428220['responseType']='text',_0x113e67(_0x1492ad,()=>{_0x220587=!0x0,_0x428220['abort'](),_0x5ea1f7(new _0x392565());}),_0x428220['onload']=()=>{if(0xc8!=_0x428220['status'])_0x5ea1f7(new Error('Error\x20'+_0x428220['status']+':\x20'+_0x428220['statusText']));else{const _0x1e603a={'method':_0xcb0524,'url':_0x3e9f82,'data':_0x34d3ff,'headers':_0x4ba9e1||void 0x0,'signal':_0x1492ad,'onProgress':_0x4fa3fa},_0x3d63e2=_0x428220['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x4481b9={};_0x3d63e2['forEach'](function(_0x3f8b68){const _0x20e754=_0x3f8b68['split'](':\x20'),_0x478dae=_0x20e754['shift'](),_0x567905=_0x20e754['join'](':\x20');_0x478dae&&void 0x0!==_0x478dae&&(_0x4481b9[_0x478dae]=_0x567905);});const _0x1b8915=_0x428220['response'],_0x4447a2=_0x428220['status'];_0x339df8({'request':_0x1e603a,'data':_0x1b8915,'headers':_0x4481b9,'status':_0x4447a2});}},_0x428220['onerror']=_0x169c9c=>{_0x220587||_0x5ea1f7(new _0x46fe64(_0x169c9c));},_0x4fa3fa&&'function'==typeof _0x4fa3fa&&(_0x428220['upload']['onprogress']=_0x2cb2e3=>{_0x2cb2e3['lengthComputable']?_0x4fa3fa({'isComputable':!0x0,'value':_0x2cb2e3['loaded']/_0x2cb2e3['total']}):_0x4fa3fa({'isComputable':!0x1});}),_0x34d3ff?_0x428220['send'](_0x34d3ff):_0x428220['send']();}),_0x498448=function(_0x2649d1,..._0xb0c3d7){return _0x2649d1;},_0x287aac=_0x3f488c=>'undefined'!=typeof Blob&&_0x3f488c instanceof Blob,_0x4e285f=_0x5e6e07=>'undefined'!=typeof File&&_0x5e6e07 instanceof File,_0x48a243=_0x1baf7b=>!!_0x1baf7b&&'object'==typeof _0x1baf7b&&!Array['isArray'](_0x1baf7b)&&'uri'in _0x1baf7b&&'string'==typeof _0x1baf7b['uri'],_0x412c14=_0x4b27c0=>_0x287aac(_0x4b27c0)||_0x4e285f(_0x4b27c0)||_0x48a243(_0x4b27c0);function _0x2c6489(_0x36da44,_0x3de4e2,_0x5309f4){if(Array['isArray'](_0x5309f4)){for(const _0x35175c of _0x5309f4)_0x2c6489(_0x36da44,_0x3de4e2+'[]',_0x35175c);}else{if((_0x3d3930=>!!_0x3d3930&&'object'==typeof _0x3d3930&&'data'in _0x3d3930&&_0x412c14(_0x3d3930['data']))(_0x5309f4)){const {name:_0x4ccae9,contentType:_0x5e2e8c}=_0x5309f4,_0x284d04=_0x498448(_0x5309f4['data'],_0x4ccae9,_0x5e2e8c??_0x51621a),_0x403b4e=(({name:_0xc7573c})=>_0xc7573c?[_0xc7573c]:[])({'name':_0x4ccae9,'contentType':_0x5e2e8c});_0x36da44['push']([_0x3de4e2,_0x284d04,..._0x403b4e]);}else{if((_0x8d3476=>!!_0x8d3476&&'object'==typeof _0x8d3476&&!Array['isArray'](_0x8d3476))(_0x5309f4)){for(const [_0x189720,_0x2aecd0]of Object['entries'](_0x5309f4))void 0x0!==_0x2aecd0&&_0x36da44['push']([_0x3de4e2+'['+_0x189720+']',String(_0x2aecd0)]);}else(_0xee6f78=>'string'==typeof _0xee6f78||'number'==typeof _0xee6f78||void 0x0===_0xee6f78)(_0x5309f4)&&_0x5309f4&&_0x36da44['push']([_0x3de4e2,_0x5309f4['toString']()]);}}}function _0x569b37(_0xda3afd){const _0xa04e41=new FormData(),_0x178d80=function(_0x4e85b9){const _0x64170d=[];for(const [_0x106dbd,_0x352a93]of Object['entries'](_0x4e85b9))_0x2c6489(_0x64170d,_0x106dbd,_0x352a93);return _0x64170d;}(_0xda3afd);for(const _0x20d7ce of _0x178d80){const [_0x4bcfdd,_0x4119d5,..._0x276c17]=_0x20d7ce;_0xa04e41['append'](_0x4bcfdd,_0x4119d5,..._0x276c17);}return _0xa04e41;}var _0x287712=class _0x241353 extends _0x340472{['code'];['request'];['response'];['headers'];constructor(_0x298267,_0x26c7e9,_0x28b7b9,_0x2fb071,_0x1d3fc8){super(),this['name']='UploadError',this['message']=_0x298267,this['code']=_0x26c7e9,this['request']=_0x28b7b9,this['response']=_0x2fb071,this['headers']=_0x1d3fc8,Object['setPrototypeOf'](this,_0x241353['prototype']);}};const _0x167b25=(_0x458438,_0x1b7949,_0x45be28)=>{const _0x1d7241=new URL(_0x458438);return _0x1d7241['pathname']=(_0x1d7241['pathname']+_0x1b7949)['replace']('//','/'),_0x45be28&&(_0x1d7241['search']=(_0x1e2632=>{const _0x2cb4a1=new URLSearchParams();for(const [_0x45436c,_0x3e67f4]of Object['entries'](_0x1e2632))_0x3e67f4&&'object'==typeof _0x3e67f4&&!Array['isArray'](_0x3e67f4)?Object['entries'](_0x3e67f4)['filter'](_0x316c87=>_0x316c87[0x1]??!0x1)['forEach'](_0x4a5ea9=>_0x2cb4a1['set'](_0x45436c+'['+_0x4a5ea9[0x0]+']',String(_0x4a5ea9[0x1]))):Array['isArray'](_0x3e67f4)?_0x3e67f4['forEach'](_0x3526f4=>{_0x2cb4a1['append'](_0x45436c+'[]',_0x3526f4);}):'string'==typeof _0x3e67f4&&_0x3e67f4?_0x2cb4a1['set'](_0x45436c,_0x3e67f4):'number'==typeof _0x3e67f4&&_0x2cb4a1['set'](_0x45436c,_0x3e67f4['toString']());return _0x2cb4a1['toString']();})(_0x45be28)),_0x1d7241['toString']();};function _0x525607(_0x54008b){return function({libraryName:_0x4ec864,libraryVersion:_0x3d85d0,userAgent:_0x44ae84,publicKey:_0x248f4c='',integration:_0x26a490=''}){const _0x1b4a60='JavaScript';return'string'==typeof _0x44ae84?_0x44ae84:'function'==typeof _0x44ae84?_0x44ae84({'publicKey':_0x248f4c,'libraryName':_0x4ec864,'libraryVersion':_0x3d85d0,'languageName':_0x1b4a60,'integration':_0x26a490}):[_0x4ec864,_0x3d85d0,_0x248f4c]['filter'](Boolean)['join']('/')+'\x20('+[_0x1b4a60,_0x26a490]['filter'](Boolean)['join'](';\x20')+')';}({'libraryName':'UploadcareUploadClient','libraryVersion':'6.14.3',..._0x54008b});}function _0x1ba360(_0x3f1ea8,_0x27029d){const {retryThrottledRequestMaxTimes:_0x39d0e1,retryNetworkErrorMaxTimes:_0x3abd76}=_0x27029d;return _0x18bf1e(({attempt:_0x147558,retry:_0x1334c8})=>_0x3f1ea8()['catch'](_0x54571e=>{if('response'in _0x54571e&&'RequestThrottledError'===_0x54571e?.['code']&&_0x147558<_0x39d0e1)return _0x1334c8(function(_0x5b0d75){const {headers:_0x2354b9}=_0x5b0d75||{};if(!_0x2354b9||'string'!=typeof _0x2354b9['retry-after'])return 0x3a98;const _0x1210b4=parseInt(_0x2354b9['retry-after'],0xa);return Number['isFinite'](_0x1210b4)?0x3e8*_0x1210b4:0x3a98;}(_0x54571e));if(_0x54571e instanceof _0x46fe64&&_0x147558<_0x3abd76)return _0x1334c8(0x3e8*(_0x147558+0x1));throw _0x54571e;}));}const _0x35f412=_0x461dd8=>{let _0x23782e='';return(_0x287aac(_0x461dd8)||_0x4e285f(_0x461dd8)||_0x48a243(_0x461dd8))&&(_0x23782e=_0x461dd8['type']),_0x23782e||_0x51621a;},_0x3bea05=_0x4b0fe5=>{let _0x39d118='';return _0x4e285f(_0x4b0fe5)&&_0x4b0fe5['name']?_0x39d118=_0x4b0fe5['name']:_0x287aac(_0x4b0fe5)?_0x39d118='':_0x48a243(_0x4b0fe5)&&_0x4b0fe5['name']&&(_0x39d118=_0x4b0fe5['name']),_0x39d118||_0x45370e;};function _0x2793a9(_0x39ce2f){return void 0x0===_0x39ce2f||'auto'===_0x39ce2f?'auto':_0x39ce2f?'1':'0';}var _0xf97e9,_0x4d1acf;!function(_0x194746){_0x194746['Token']='token',_0x194746['FileInfo']='file_info';}(_0xf97e9||(_0xf97e9={})),function(_0x6aa300){_0x6aa300['Unknown']='unknown',_0x6aa300['Waiting']='waiting',_0x6aa300['Progress']='progress',_0x6aa300['Error']='error',_0x6aa300['Success']='success';}(_0x4d1acf||(_0x4d1acf={}));function _0xc7ea77(_0x2d91f9,{publicKey:_0x22e749,baseURL:_0x36670e=_0x3fcc0b,signal:_0x2e0923,integration:_0xce03a9,userAgent:_0x181c69,retryThrottledRequestMaxTimes:_0x5b6a31=_0x5545e6,retryNetworkErrorMaxTimes:_0x423ca7=_0x1c0d8c}={}){return _0x1ba360(()=>_0x384d41({'method':'GET','headers':_0x22e749?{'X-UC-User-Agent':_0x525607({'publicKey':_0x22e749,'integration':_0xce03a9,'userAgent':_0x181c69})}:void 0x0,'url':_0x167b25(_0x36670e,'/from_url/status/',{'jsonerrors':0x1,'token':_0x2d91f9}),'signal':_0x2e0923})['then'](({data:_0x5246ae,headers:_0xce712a,request:_0x5cfa09})=>{const _0x569ffa=_0x35ac9c(JSON['parse'](_0x5246ae));if('error'in _0x569ffa&&!(_0x2faba7=>'status'in _0x2faba7&&_0x2faba7['status']===_0x4d1acf['Error'])(_0x569ffa))throw new _0x287712(_0x569ffa['error']['content'],_0x569ffa['error']['errorCode'],_0x5cfa09,_0x569ffa,_0xce712a);return _0x569ffa;}),{'retryNetworkErrorMaxTimes':_0x423ca7,'retryThrottledRequestMaxTimes':_0x5b6a31});}function _0x26fb31(_0x256903,{publicKey:_0x5e15d3,baseURL:_0x5581a2=_0x3fcc0b,signal:_0x138a35,source:_0x1097a9,integration:_0xbf8338,userAgent:_0x859583,retryThrottledRequestMaxTimes:_0x32009a=_0x5545e6,retryNetworkErrorMaxTimes:_0x494cd6=_0x1c0d8c}){return _0x1ba360(()=>_0x384d41({'method':'GET','headers':{'X-UC-User-Agent':_0x525607({'publicKey':_0x5e15d3,'integration':_0xbf8338,'userAgent':_0x859583})},'url':_0x167b25(_0x5581a2,'/info/',{'jsonerrors':0x1,'pub_key':_0x5e15d3,'file_id':_0x256903,'source':_0x1097a9}),'signal':_0x138a35})['then'](({data:_0x54084e,headers:_0x3b87d4,request:_0x458932})=>{const _0x268c11=_0x35ac9c(JSON['parse'](_0x54084e));if('error'in _0x268c11)throw new _0x287712(_0x268c11['error']['content'],_0x268c11['error']['errorCode'],_0x458932,_0x268c11,_0x3b87d4);return _0x268c11;}),{'retryThrottledRequestMaxTimes':_0x32009a,'retryNetworkErrorMaxTimes':_0x494cd6});}function _0x505357(_0x407206,{publicKey:_0x11976c,baseURL:_0xf5e0c1,source:_0x18a527,integration:_0xa71ed0,userAgent:_0x8ec7f7,retryThrottledRequestMaxTimes:_0x5e7735,retryNetworkErrorMaxTimes:_0x1504f4,signal:_0x7282dd,onProgress:_0x3ae508}){return _0x3ebd14({'check':_0x5d920c=>_0x26fb31(_0x407206,{'publicKey':_0x11976c,'baseURL':_0xf5e0c1,'signal':_0x5d920c,'source':_0x18a527,'integration':_0xa71ed0,'userAgent':_0x8ec7f7,'retryThrottledRequestMaxTimes':_0x5e7735,'retryNetworkErrorMaxTimes':_0x1504f4})['then'](_0x59fc2e=>_0x59fc2e['isReady']?_0x59fc2e:(_0x3ae508&&_0x3ae508({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x7282dd});}var _0x174ae8=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x506653,{baseCDN:_0x17d45b=_0x2c3a55,fileName:_0x17582b}={}){const {uuid:_0x30e762,s3Bucket:_0x6ec26d}=_0x506653,_0x21fa46=_0x167b25(_0x17d45b,_0x30e762+'/'),_0x54a08f=_0x6ec26d?_0x167b25('https://'+_0x6ec26d+'.s3.amazonaws.com/',_0x30e762+'/'+_0x506653['filename']):null;this['uuid']=_0x30e762,this['name']=_0x17582b||_0x506653['filename'],this['size']=_0x506653['size'],this['isStored']=_0x506653['isStored'],this['isImage']=_0x506653['isImage'],this['mimeType']=_0x506653['mimeType'],this['cdnUrl']=_0x21fa46,this['originalFilename']=_0x506653['originalFilename'],this['imageInfo']=_0x506653['imageInfo'],this['videoInfo']=_0x506653['videoInfo'],this['contentInfo']=_0x506653['contentInfo'],this['metadata']=_0x506653['metadata']||null,this['s3Bucket']=_0x6ec26d||null,this['s3Url']=_0x54a08f,function(_0x54047e){return'defaultEffects'in _0x54047e;}(_0x506653)&&(this['defaultEffects']=_0x506653['defaultEffects']);}};const _0x29910a=(_0x3bcbd9,{publicKey:_0x5d0a06,fileName:_0x5ea2bb,baseURL:_0x4228a9,secureSignature:_0x5e793f,secureExpire:_0x2ec9d6,store:_0x7ae3ae,contentType:_0x33d9b3,signal:_0x5650a0,onProgress:_0x55d845,source:_0x22be8f,integration:_0x242528,userAgent:_0x20acf5,retryThrottledRequestMaxTimes:_0x4aae23,retryNetworkErrorMaxTimes:_0x2cf688,baseCDN:_0x335864,metadata:_0x416b47})=>function(_0x3a7b62,{publicKey:_0x48ba29,fileName:_0x3e821b,contentType:_0x115575,baseURL:_0x805070=_0x3fcc0b,secureSignature:_0x47074b,secureExpire:_0x28bcfc,store:_0x51a7e6,signal:_0x183c13,onProgress:_0x3c230d,source:_0x280e32='local',integration:_0x4eff59,userAgent:_0x773d8,retryThrottledRequestMaxTimes:_0x1f51fb=_0x5545e6,retryNetworkErrorMaxTimes:_0x57a727=_0x1c0d8c,metadata:_0x419055}){return _0x1ba360(()=>_0x384d41({'method':'POST','url':_0x167b25(_0x805070,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x525607({'publicKey':_0x48ba29,'integration':_0x4eff59,'userAgent':_0x773d8})},'data':_0x569b37({'file':{'data':_0x3a7b62,'name':_0x3e821b||_0x3bea05(_0x3a7b62),'contentType':_0x115575||_0x35f412(_0x3a7b62)},'UPLOADCARE_PUB_KEY':_0x48ba29,'UPLOADCARE_STORE':_0x2793a9(_0x51a7e6),'signature':_0x47074b,'expire':_0x28bcfc,'source':_0x280e32,'metadata':_0x419055}),'signal':_0x183c13,'onProgress':_0x3c230d})['then'](({data:_0x52d7d8,headers:_0x5d9c98,request:_0x3088e5})=>{const _0xd12194=_0x35ac9c(JSON['parse'](_0x52d7d8));if('error'in _0xd12194)throw new _0x287712(_0xd12194['error']['content'],_0xd12194['error']['errorCode'],_0x3088e5,_0xd12194,_0x5d9c98);return _0xd12194;}),{'retryNetworkErrorMaxTimes':_0x57a727,'retryThrottledRequestMaxTimes':_0x1f51fb});}(_0x3bcbd9,{'publicKey':_0x5d0a06,'fileName':_0x5ea2bb,'contentType':_0x33d9b3,'baseURL':_0x4228a9,'secureSignature':_0x5e793f,'secureExpire':_0x2ec9d6,'store':_0x7ae3ae,'signal':_0x5650a0,'onProgress':_0x55d845,'source':_0x22be8f,'integration':_0x242528,'userAgent':_0x20acf5,'retryThrottledRequestMaxTimes':_0x4aae23,'retryNetworkErrorMaxTimes':_0x2cf688,'metadata':_0x416b47})['then'](({file:_0x291371})=>_0x505357(_0x291371,{'publicKey':_0x5d0a06,'baseURL':_0x4228a9,'source':_0x22be8f,'integration':_0x242528,'userAgent':_0x20acf5,'retryThrottledRequestMaxTimes':_0x4aae23,'retryNetworkErrorMaxTimes':_0x2cf688,'onProgress':_0x55d845,'signal':_0x5650a0}))['then'](_0x463dd8=>new _0x174ae8(_0x463dd8,{'baseCDN':_0x335864})),_0x377fb5=(_0x3d142f,{signal:_0x24c818}={})=>{let _0x3bd005=null,_0x3e288=null;const _0xdf982c=_0x3d142f['map'](()=>new AbortController());return _0x113e67(_0x24c818,()=>{_0xdf982c['forEach'](_0xa6e075=>_0xa6e075['abort']());}),Promise['all'](_0x3d142f['map']((_0x3fa7f7,_0x9ce81e)=>{const _0x54b3e7=(_0x20566b=>()=>{_0x3e288=_0x20566b,_0xdf982c['forEach']((_0xf8ea6d,_0x11eab0)=>_0x11eab0!==_0x20566b&&_0xf8ea6d['abort']());})(_0x9ce81e);return Promise['resolve']()['then'](()=>_0x3fa7f7({'stopRace':_0x54b3e7,'signal':_0xdf982c[_0x9ce81e]['signal']}))['then'](_0x2bc3a1=>(_0x54b3e7(),_0x2bc3a1))['catch'](_0x34766b=>(_0x3bd005=_0x34766b,null));}))['then'](_0x3b07b5=>{if(null===_0x3e288)throw _0x3bd005;return _0x3b07b5[_0x3e288];});};var _0x199987=window['WebSocket'],_0x43d692=class{['events']=Object['create']({});['emit'](_0x4e404e,_0x3317c5){this['events'][_0x4e404e]?.['forEach'](_0x4bb6e9=>_0x4bb6e9(_0x3317c5));}['on'](_0x7cd129,_0x227c91){this['events'][_0x7cd129]=this['events'][_0x7cd129]||[],this['events'][_0x7cd129]['push'](_0x227c91);}['off'](_0x32a213,_0x5d6ab0){this['events'][_0x32a213]=_0x5d6ab0?this['events'][_0x32a213]['filter'](_0x3ed675=>_0x3ed675!==_0x5d6ab0):[];}},_0x2b1493=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new _0x43d692();['disconnectTimeoutId']=null;constructor(_0x3cb019,_0x150b14=0x7530){this['key']=_0x3cb019,this['disconnectTime']=_0x150b14;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){const _0x317d29='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x199987(_0x317d29),this['ws']['addEventListener']('error',_0x258f44=>{this['emmitter']['emit']('error',new Error(_0x258f44['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](_0x127a4b=>this['send'](_0x127a4b['event'],_0x127a4b['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',_0x3cdbdc=>{const _0x5d7fa4=JSON['parse'](_0x3cdbdc['data']['toString']());switch(_0x5d7fa4['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'](_0x5d7fa4['channel'],((_0x1c858b,_0x2af90e)=>'success'===_0x1c858b?{'status':_0x4d1acf['Success'],..._0x2af90e}:'progress'===_0x1c858b?{'status':_0x4d1acf['Progress'],..._0x2af90e}:{'status':_0x4d1acf['Error'],..._0x2af90e})(_0x5d7fa4['event'],JSON['parse'](_0x5d7fa4['data'])));}});}}['disconnect'](){const _0x364c3c=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x364c3c();},this['disconnectTime']):_0x364c3c();}['send'](_0x11612a,_0x2b9812){const _0x4e2f29=JSON['stringify']({'event':_0x11612a,'data':_0x2b9812});this['ws']?.['send'](_0x4e2f29);}['subscribe'](_0x5bcd9c,_0x3ba3c4){this['subscribers']+=0x1,this['connect']();const _0x288ae9='task-status-'+_0x5bcd9c,_0x5943aa={'event':'pusher:subscribe','data':{'channel':_0x288ae9}};this['emmitter']['on'](_0x288ae9,_0x3ba3c4),this['isConnected']?this['send'](_0x5943aa['event'],_0x5943aa['data']):this['queue']['push'](_0x5943aa);}['unsubscribe'](_0x390f2d){this['subscribers']-=0x1;const _0x8dbc5d='task-status-'+_0x390f2d,_0x36cc1b={'event':'pusher:unsubscribe','data':{'channel':_0x8dbc5d}};this['emmitter']['off'](_0x8dbc5d),this['isConnected']?this['send'](_0x36cc1b['event'],_0x36cc1b['data']):this['queue']=this['queue']['filter'](_0x591e8c=>_0x591e8c['data']['channel']!==_0x8dbc5d),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x3eaf3c){return this['emmitter']['on']('error',_0x3eaf3c),()=>this['emmitter']['off']('error',_0x3eaf3c);}};let _0x55129c=null;const _0x2e80b2=_0x15d6f1=>(_0x55129c||(_0x55129c=new _0x2b1493(_0x15d6f1,'undefined'==typeof window?0x0:0x7530)),_0x55129c),_0x5028ed=(_0x18c951,{publicKey:_0x458ce4,fileName:_0x586890,baseURL:_0x1fef1e,baseCDN:_0x53c601,checkForUrlDuplicates:_0x44d424,saveUrlForRecurrentUploads:_0xd373c1,secureSignature:_0x2c3ed4,secureExpire:_0xa6d8cb,store:_0x5526f1,signal:_0xfb19f6,onProgress:_0x27ae35,source:_0x381c95,integration:_0x522486,userAgent:_0x5c4c7d,retryThrottledRequestMaxTimes:_0x2cf60c,pusherKey:_0x4ff4fa=_0x2b5b4b,metadata:_0x321919})=>{return Promise['resolve']((_0x4d20ea=_0x4ff4fa,void _0x2e80b2(_0x4d20ea)['connect']()))['then'](()=>function(_0x4075a9,{publicKey:_0x2dfc93,baseURL:_0x721f46=_0x3fcc0b,store:_0x47fffd,fileName:_0x216c95,checkForUrlDuplicates:_0x126ae0,saveUrlForRecurrentUploads:_0x4e0a14,secureSignature:_0x55631e,secureExpire:_0x31653d,source:_0x4d7585='url',signal:_0x39b35c,integration:_0x24f919,userAgent:_0x95b578,retryThrottledRequestMaxTimes:_0x224c20=_0x5545e6,retryNetworkErrorMaxTimes:_0xefde95=_0x1c0d8c,metadata:_0x5025b1}){return _0x1ba360(()=>_0x384d41({'method':'POST','headers':{'X-UC-User-Agent':_0x525607({'publicKey':_0x2dfc93,'integration':_0x24f919,'userAgent':_0x95b578})},'url':_0x167b25(_0x721f46,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x2dfc93,'source_url':_0x4075a9,'store':_0x2793a9(_0x47fffd),'filename':_0x216c95,'check_URL_duplicates':_0x126ae0?0x1:void 0x0,'save_URL_duplicates':_0x4e0a14?0x1:void 0x0,'signature':_0x55631e,'expire':_0x31653d,'source':_0x4d7585,'metadata':_0x5025b1}),'signal':_0x39b35c})['then'](({data:_0x2583ce,headers:_0x3dc0ff,request:_0x3aa632})=>{const _0xf7651f=_0x35ac9c(JSON['parse'](_0x2583ce));if('error'in _0xf7651f)throw new _0x287712(_0xf7651f['error']['content'],_0xf7651f['error']['errorCode'],_0x3aa632,_0xf7651f,_0x3dc0ff);return _0xf7651f;}),{'retryNetworkErrorMaxTimes':_0xefde95,'retryThrottledRequestMaxTimes':_0x224c20});}(_0x18c951,{'publicKey':_0x458ce4,'fileName':_0x586890,'baseURL':_0x1fef1e,'checkForUrlDuplicates':_0x44d424,'saveUrlForRecurrentUploads':_0xd373c1,'secureSignature':_0x2c3ed4,'secureExpire':_0xa6d8cb,'store':_0x5526f1,'signal':_0xfb19f6,'source':_0x381c95,'integration':_0x522486,'userAgent':_0x5c4c7d,'retryThrottledRequestMaxTimes':_0x2cf60c,'metadata':_0x321919}))['catch'](_0x4aad0f=>(_0x2e80b2(_0x4ff4fa)?.['disconnect'](),Promise['reject'](_0x4aad0f)))['then'](_0x528aae=>_0x528aae['type']===_0xf97e9['FileInfo']?_0x528aae:_0x377fb5([({signal:_0x118e81})=>function({token:_0x3598a9,publicKey:_0x5f7cfa,baseURL:_0x5012ec,integration:_0x108331,userAgent:_0x196761,retryThrottledRequestMaxTimes:_0xefaf93,retryNetworkErrorMaxTimes:_0x152b3a,onProgress:_0xa44516,signal:_0x5cf82d}){return _0x3ebd14({'check':_0x31636b=>_0xc7ea77(_0x3598a9,{'publicKey':_0x5f7cfa,'baseURL':_0x5012ec,'integration':_0x108331,'userAgent':_0x196761,'retryThrottledRequestMaxTimes':_0xefaf93,'retryNetworkErrorMaxTimes':_0x152b3a,'signal':_0x31636b})['then'](_0x1ec13b=>{switch(_0x1ec13b['status']){case _0x4d1acf['Error']:return new _0x287712(_0x1ec13b['error'],_0x1ec13b['errorCode']);case _0x4d1acf['Waiting']:return!0x1;case _0x4d1acf['Unknown']:return new _0x287712('Token\x20\x22'+_0x3598a9+'\x22\x20was\x20not\x20found.');case _0x4d1acf['Progress']:return _0xa44516&&('unknown'===_0x1ec13b['total']?_0xa44516({'isComputable':!0x1}):_0xa44516({'isComputable':!0x0,'value':_0x1ec13b['done']/_0x1ec13b['total']})),!0x1;case _0x4d1acf['Success']:return _0xa44516&&_0xa44516({'isComputable':!0x0,'value':_0x1ec13b['done']/_0x1ec13b['total']}),_0x1ec13b;default:throw new Error('Unknown\x20status');}}),'signal':_0x5cf82d});}({'token':_0x528aae['token'],'publicKey':_0x458ce4,'baseURL':_0x1fef1e,'integration':_0x522486,'userAgent':_0x5c4c7d,'retryThrottledRequestMaxTimes':_0x2cf60c,'onProgress':_0x27ae35,'signal':_0x118e81}),({signal:_0xf96001})=>(({token:_0x31cdd0,pusherKey:_0x5b786b,signal:_0x522f2d,onProgress:_0x5f29ed})=>new Promise((_0x8960f6,_0xba5893)=>{const _0x49307d=_0x2e80b2(_0x5b786b),_0x351072=_0x49307d['onError'](_0xba5893),_0x59216b=()=>{_0x351072(),_0x49307d['unsubscribe'](_0x31cdd0);};_0x113e67(_0x522f2d,()=>{_0x59216b(),_0xba5893(new _0x392565('pusher\x20cancelled'));}),_0x49307d['subscribe'](_0x31cdd0,_0x1272bd=>{switch(_0x1272bd['status']){case _0x4d1acf['Progress']:_0x5f29ed&&('unknown'===_0x1272bd['total']?_0x5f29ed({'isComputable':!0x1}):_0x5f29ed({'isComputable':!0x0,'value':_0x1272bd['done']/_0x1272bd['total']}));break;case _0x4d1acf['Success']:_0x59216b(),_0x5f29ed&&_0x5f29ed({'isComputable':!0x0,'value':_0x1272bd['done']/_0x1272bd['total']}),_0x8960f6(_0x1272bd);break;case _0x4d1acf['Error']:_0x59216b(),_0xba5893(new _0x287712(_0x1272bd['msg'],_0x1272bd['error_code']));}});}))({'token':_0x528aae['token'],'pusherKey':_0x4ff4fa,'signal':_0xf96001,'onProgress':_0x27ae35})],{'signal':_0xfb19f6}))['then'](_0x30187a=>{if(_0x30187a instanceof _0x287712)throw _0x30187a;return _0x30187a;})['then'](_0x32dcc2=>_0x505357(_0x32dcc2['uuid'],{'publicKey':_0x458ce4,'baseURL':_0x1fef1e,'integration':_0x522486,'userAgent':_0x5c4c7d,'retryThrottledRequestMaxTimes':_0x2cf60c,'onProgress':_0x27ae35,'signal':_0xfb19f6}))['then'](_0x3a535c=>new _0x174ae8(_0x3a535c,{'baseCDN':_0x53c601}));var _0x4d20ea;},_0x265723=new WeakMap(),_0x200bd5=async _0xb93fe1=>{if(_0x4e285f(_0xb93fe1)||_0x287aac(_0xb93fe1))return _0xb93fe1['size'];if(_0x48a243(_0xb93fe1))return(await(async _0xa2ddf9=>{if(_0x265723['has'](_0xa2ddf9))return _0x265723['get'](_0xa2ddf9);const _0x4136b6=await fetch(_0xa2ddf9['uri'])['then'](_0x5ebe95=>_0x5ebe95['blob']());return _0x265723['set'](_0xa2ddf9,_0x4136b6),_0x4136b6;})(_0xb93fe1))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},tW=async(_0x382bbe,_0x45089a,_0x23ff97)=>_0x386747=>((_0x356ea9,_0x4c696c,_0x310ba0,_0xee270c)=>{const _0x3f0fdc=_0xee270c*_0x4c696c,_0x305ef2=Math['min'](_0x3f0fdc+_0xee270c,_0x310ba0);return _0x356ea9['slice'](_0x3f0fdc,_0x305ef2);})(_0x382bbe,_0x386747,_0x45089a,_0x23ff97),_0x23834e=(_0x366d47,_0x3f3e25,{publicKey:_0x2944ad,contentType:_0x42d843,onProgress:_0x2fbb1a,signal:_0x40f743,integration:_0x37201f,retryThrottledRequestMaxTimes:_0xc267f9,retryNetworkErrorMaxTimes:_0x15e05d})=>function(_0x2dc1ce,_0x191547,{contentType:_0x3aab16,signal:_0x52f096,onProgress:_0x3d4540,retryThrottledRequestMaxTimes:_0x294988=_0x5545e6,retryNetworkErrorMaxTimes:_0x24a5af=_0x1c0d8c}){return _0x1ba360(()=>_0x384d41({'method':'PUT','url':_0x191547,'data':_0x2dc1ce,'onProgress':_0x3d4540,'signal':_0x52f096,'headers':{'Content-Type':_0x3aab16||_0x51621a}})['then'](_0x1afc54=>(_0x3d4540&&_0x3d4540({'isComputable':!0x0,'value':0x1}),_0x1afc54))['then'](({status:_0xc72e14})=>({'code':_0xc72e14})),{'retryThrottledRequestMaxTimes':_0x294988,'retryNetworkErrorMaxTimes':_0x24a5af});}(_0x366d47,_0x3f3e25,{'publicKey':_0x2944ad,'contentType':_0x42d843,'onProgress':_0x2fbb1a,'signal':_0x40f743,'integration':_0x37201f,'retryThrottledRequestMaxTimes':_0xc267f9,'retryNetworkErrorMaxTimes':_0x15e05d}),_0xb90964=async(_0x3abfc4,{publicKey:_0x4baa16,fileName:_0x117919,fileSize:_0x10d5bb,baseURL:_0x55af36,secureSignature:_0xf9bb45,secureExpire:_0x2ddb4f,store:_0x1c71fb,signal:_0x16f0f9,onProgress:_0x28f47d,source:_0x5bc854,integration:_0xef9b5e,userAgent:_0x40f53b,retryThrottledRequestMaxTimes:_0x1f59a5,retryNetworkErrorMaxTimes:_0x54edff,contentType:_0x7967ce,multipartChunkSize:_0x23aa71=_0x446a6c,maxConcurrentRequests:_0x453c01=_0x46cd74,baseCDN:_0x1078c8,metadata:_0x3780c7})=>{const _0x229198=_0x10d5bb??await _0x200bd5(_0x3abfc4);let _0x2aaad2;const _0xbbac0a=(_0x1d233f,_0x172d1b)=>{if(!_0x28f47d)return;_0x2aaad2||(_0x2aaad2=Array(_0x1d233f)['fill'](0x0));const _0x20579a=_0x5952de=>_0x5952de['reduce']((_0x3b888b,_0x60b070)=>_0x3b888b+_0x60b070,0x0);return _0x1777c3=>{_0x1777c3['isComputable']&&(_0x2aaad2[_0x172d1b]=_0x1777c3['value'],_0x28f47d({'isComputable':!0x0,'value':_0x20579a(_0x2aaad2)/_0x1d233f}));};};return _0x7967ce||=_0x35f412(_0x3abfc4),function(_0x2c40ff,{publicKey:_0x5636fa,contentType:_0x97f6b3,fileName:_0x3b17ae,multipartChunkSize:_0x5b0751=_0x446a6c,baseURL:_0x2d01d9='',secureSignature:_0x2f499e,secureExpire:_0x244006,store:_0x3a74f6,signal:_0x1b377c,source:_0x301f46='local',integration:_0xb26795,userAgent:_0xb7bf26,retryThrottledRequestMaxTimes:_0x1e4823=_0x5545e6,retryNetworkErrorMaxTimes:_0x20deb2=_0x1c0d8c,metadata:_0x3f84e2}){return _0x1ba360(()=>_0x384d41({'method':'POST','url':_0x167b25(_0x2d01d9,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x525607({'publicKey':_0x5636fa,'integration':_0xb26795,'userAgent':_0xb7bf26})},'data':_0x569b37({'filename':_0x3b17ae||_0x45370e,'size':_0x2c40ff,'content_type':_0x97f6b3||_0x51621a,'part_size':_0x5b0751,'UPLOADCARE_STORE':_0x2793a9(_0x3a74f6),'UPLOADCARE_PUB_KEY':_0x5636fa,'signature':_0x2f499e,'expire':_0x244006,'source':_0x301f46,'metadata':_0x3f84e2}),'signal':_0x1b377c})['then'](({data:_0x31940f,headers:_0x294292,request:_0x58b472})=>{const _0x52e14a=_0x35ac9c(JSON['parse'](_0x31940f));if('error'in _0x52e14a)throw new _0x287712(_0x52e14a['error']['content'],_0x52e14a['error']['errorCode'],_0x58b472,_0x52e14a,_0x294292);return _0x52e14a['parts']=Object['keys'](_0x52e14a['parts'])['map'](_0x35a974=>_0x52e14a['parts'][Number(_0x35a974)]),_0x52e14a;}),{'retryThrottledRequestMaxTimes':_0x1e4823,'retryNetworkErrorMaxTimes':_0x20deb2});}(_0x229198,{'publicKey':_0x4baa16,'contentType':_0x7967ce,'fileName':_0x117919||_0x3bea05(_0x3abfc4),'baseURL':_0x55af36,'secureSignature':_0xf9bb45,'secureExpire':_0x2ddb4f,'store':_0x1c71fb,'signal':_0x16f0f9,'source':_0x5bc854,'integration':_0xef9b5e,'userAgent':_0x40f53b,'retryThrottledRequestMaxTimes':_0x1f59a5,'retryNetworkErrorMaxTimes':_0x54edff,'metadata':_0x3780c7,'multipartChunkSize':_0x23aa71})['then'](async({uuid:_0x54b7ac,parts:_0x1288e3})=>{const _0x5389b5=await tW(_0x3abfc4,_0x229198,_0x23aa71);return Promise['all']([_0x54b7ac,(_0xdfec58=_0x453c01,_0x483760=_0x1288e3['map']((_0xe23def,_0x50094d)=>()=>_0x23834e(_0x5389b5(_0x50094d),_0xe23def,{'publicKey':_0x4baa16,'contentType':_0x7967ce,'onProgress':_0xbbac0a(_0x1288e3['length'],_0x50094d),'signal':_0x16f0f9,'integration':_0xef9b5e,'retryThrottledRequestMaxTimes':_0x1f59a5,'retryNetworkErrorMaxTimes':_0x54edff})),new Promise((_0x163f0c,_0x3f3901)=>{const _0x245eca=[];let _0x49812f=!0x1,_0x2ddb6c=_0x483760['length'];const _0x55d7b4=[..._0x483760],_0x45c1c0=()=>{const _0x5a00ca=_0x483760['length']-_0x55d7b4['length'],_0x1d7f82=_0x55d7b4['shift']();_0x1d7f82&&_0x1d7f82()['then'](_0x1e8639=>{_0x49812f||(_0x245eca[_0x5a00ca]=_0x1e8639,_0x2ddb6c-=0x1,_0x2ddb6c?_0x45c1c0():_0x163f0c(_0x245eca));})['catch'](_0x1042fc=>{_0x49812f=!0x0,_0x3f3901(_0x1042fc);});};for(let _0x231181=0x0;_0x231181<_0xdfec58;_0x231181++)_0x45c1c0();}))]);var _0xdfec58,_0x483760;})['then'](([_0x317897])=>function(_0x455449,{publicKey:_0x1350e5,baseURL:_0xcaa97e=_0x3fcc0b,source:_0xfa9942='local',signal:_0x470d36,integration:_0x4630b8,userAgent:_0x5e9bdb,retryThrottledRequestMaxTimes:_0x2f3adb=_0x5545e6,retryNetworkErrorMaxTimes:_0x1e993e=_0x1c0d8c}){return _0x1ba360(()=>_0x384d41({'method':'POST','url':_0x167b25(_0xcaa97e,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x525607({'publicKey':_0x1350e5,'integration':_0x4630b8,'userAgent':_0x5e9bdb})},'data':_0x569b37({'uuid':_0x455449,'UPLOADCARE_PUB_KEY':_0x1350e5,'source':_0xfa9942}),'signal':_0x470d36})['then'](({data:_0x183841,headers:_0x54b7d5,request:_0x8c7633})=>{const _0x3d6c27=_0x35ac9c(JSON['parse'](_0x183841));if('error'in _0x3d6c27)throw new _0x287712(_0x3d6c27['error']['content'],_0x3d6c27['error']['errorCode'],_0x8c7633,_0x3d6c27,_0x54b7d5);return _0x3d6c27;}),{'retryThrottledRequestMaxTimes':_0x2f3adb,'retryNetworkErrorMaxTimes':_0x1e993e});}(_0x317897,{'publicKey':_0x4baa16,'baseURL':_0x55af36,'source':_0x5bc854,'integration':_0xef9b5e,'userAgent':_0x40f53b,'retryThrottledRequestMaxTimes':_0x1f59a5,'retryNetworkErrorMaxTimes':_0x54edff}))['then'](_0x160e5f=>_0x160e5f['isReady']?_0x160e5f:_0x505357(_0x160e5f['uuid'],{'publicKey':_0x4baa16,'baseURL':_0x55af36,'source':_0x5bc854,'integration':_0xef9b5e,'userAgent':_0x40f53b,'retryThrottledRequestMaxTimes':_0x1f59a5,'retryNetworkErrorMaxTimes':_0x54edff,'onProgress':_0x28f47d,'signal':_0x16f0f9}))['then'](_0x3b4326=>new _0x174ae8(_0x3b4326,{'baseCDN':_0x1078c8}));};async function _0x266df7(_0x2b558d,{publicKey:_0x454465,fileName:_0x56e242,baseURL:_0x2743f7=_0x3fcc0b,secureSignature:_0x5e9d74,secureExpire:_0x456383,store:_0x50468b,signal:_0x2f7b6c,onProgress:_0x454b36,source:_0xaafec4,integration:_0x518542,userAgent:_0x258ab2,retryThrottledRequestMaxTimes:_0x23d27e,retryNetworkErrorMaxTimes:_0x263799,contentType:_0x42c5fb,multipartMinFileSize:_0x10275f,multipartChunkSize:_0x40f1e3,maxConcurrentRequests:_0x56f5f5,baseCDN:_0x276dd6=_0x2c3a55,checkForUrlDuplicates:_0x22218e,saveUrlForRecurrentUploads:_0x2ceed5,pusherKey:_0x1ba16a,metadata:_0x3538dc}){if(_0x412c14(_0x2b558d)){const _0x20a9b4=await _0x200bd5(_0x2b558d);return((_0x4a0b9b,_0x40da68=_0x3a68ea)=>_0x4a0b9b>=_0x40da68)(_0x20a9b4,_0x10275f)?_0xb90964(_0x2b558d,{'publicKey':_0x454465,'contentType':_0x42c5fb,'multipartChunkSize':_0x40f1e3,'fileSize':_0x20a9b4,'fileName':_0x56e242,'baseURL':_0x2743f7,'secureSignature':_0x5e9d74,'secureExpire':_0x456383,'store':_0x50468b,'signal':_0x2f7b6c,'onProgress':_0x454b36,'source':_0xaafec4,'integration':_0x518542,'userAgent':_0x258ab2,'maxConcurrentRequests':_0x56f5f5,'retryThrottledRequestMaxTimes':_0x23d27e,'retryNetworkErrorMaxTimes':_0x263799,'baseCDN':_0x276dd6,'metadata':_0x3538dc}):_0x29910a(_0x2b558d,{'publicKey':_0x454465,'fileName':_0x56e242,'contentType':_0x42c5fb,'baseURL':_0x2743f7,'secureSignature':_0x5e9d74,'secureExpire':_0x456383,'store':_0x50468b,'signal':_0x2f7b6c,'onProgress':_0x454b36,'source':_0xaafec4,'integration':_0x518542,'userAgent':_0x258ab2,'retryThrottledRequestMaxTimes':_0x23d27e,'retryNetworkErrorMaxTimes':_0x263799,'baseCDN':_0x276dd6,'metadata':_0x3538dc});}if((_0x38c153=>{const _0x467b31=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x412c14(_0x38c153)&&_0x467b31['test'](_0x38c153);})(_0x2b558d))return _0x5028ed(_0x2b558d,{'publicKey':_0x454465,'fileName':_0x56e242,'baseURL':_0x2743f7,'baseCDN':_0x276dd6,'checkForUrlDuplicates':_0x22218e,'saveUrlForRecurrentUploads':_0x2ceed5,'secureSignature':_0x5e9d74,'secureExpire':_0x456383,'store':_0x50468b,'signal':_0x2f7b6c,'onProgress':_0x454b36,'source':_0xaafec4,'integration':_0x518542,'userAgent':_0x258ab2,'retryThrottledRequestMaxTimes':_0x23d27e,'retryNetworkErrorMaxTimes':_0x263799,'pusherKey':_0x1ba16a,'metadata':_0x3538dc});if((_0x3a4f27=>{const _0x32c848=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x412c14(_0x3a4f27)&&_0x32c848['test'](_0x3a4f27);})(_0x2b558d))return((_0x185143,{publicKey:_0x236ddd,fileName:_0x4851b2,baseURL:_0x1d2fca,signal:_0x11f288,onProgress:_0xe0e321,source:_0x2cb203,integration:_0x330e41,userAgent:_0x3ae2d6,retryThrottledRequestMaxTimes:_0x5313bb,retryNetworkErrorMaxTimes:_0x45f41c,baseCDN:_0x367cf3})=>_0x26fb31(_0x185143,{'publicKey':_0x236ddd,'baseURL':_0x1d2fca,'signal':_0x11f288,'source':_0x2cb203,'integration':_0x330e41,'userAgent':_0x3ae2d6,'retryThrottledRequestMaxTimes':_0x5313bb,'retryNetworkErrorMaxTimes':_0x45f41c})['then'](_0x560a11=>new _0x174ae8(_0x560a11,{'baseCDN':_0x367cf3,'fileName':_0x4851b2}))['then'](_0x1c3b2a=>(_0xe0e321&&_0xe0e321({'isComputable':!0x0,'value':0x1}),_0x1c3b2a)))(_0x2b558d,{'publicKey':_0x454465,'fileName':_0x56e242,'baseURL':_0x2743f7,'signal':_0x2f7b6c,'onProgress':_0x454b36,'source':_0xaafec4,'integration':_0x518542,'userAgent':_0x258ab2,'retryThrottledRequestMaxTimes':_0x23d27e,'retryNetworkErrorMaxTimes':_0x263799,'baseCDN':_0x276dd6});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x2b558d+'\x22\x20is\x20not\x20supported');}var _0x35dbfb=class{static['upload']({file:_0x358989,..._0x50aa0e}){return _0x266df7(_0x358989,_0x50aa0e);}static['getInfo'](_0x4145ab,_0x451b6a){return _0x26fb31(_0x4145ab,_0x451b6a);}},_0x19e26b=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x14e616['ImageUploadEditing'],_0x14e616['ImageUploadProgress'],_0x14e616['FileRepository'],_0x29f4ee];}static get['pluginName'](){return'UploadcareUploadAdapter';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}async['afterInit'](){const _0x3bbf76=this['editor'];if(!_0x3bbf76['config']['get']('uploadcare'))return;_0x3bbf76['plugins']['get'](_0x14e616['FileRepository'])['createUploadAdapter']=_0x57c4ff=>new _0x2aaf02(_0x57c4ff,_0x3bbf76),_0x3bbf76['plugins']['get'](_0x14e616['ImageUploadEditing'])['on']('uploadComplete',(_0x3a9a9a,{imageElement:_0x44845a,data:_0x518ce5})=>{_0x3bbf76['model']['change'](_0xe1f737=>{_0xe1f737['setAttribute']('uploadcareImageId',_0x518ce5['uploadcareImageId'],_0x44845a);});});}},_0x2aaf02=class{['loader'];['editor'];['controller'];constructor(_0x2dbfb3,_0x1babbc){this['loader']=_0x2dbfb3,this['editor']=_0x1babbc,this['controller']=new AbortController();}async['upload'](){const t=this['editor']['t'],_0x3f6c14=await this['loader']['file'];return _0x35dbfb['upload']({'file':_0x3f6c14,'publicKey':this['editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':this['controller']['signal'],'onProgress':_0x41a61e=>{_0x41a61e&&_0x41a61e['isComputable']&&(this['loader']['uploadTotal']=0x1,this['loader']['uploaded']=_0x41a61e['value']);}})['then'](async _0x15b885=>{const {imageFallbackUrl:_0xd90585,imageSources:_0xa18325}=_0x506df8(_0x15b885['cdnUrl'],_0x15b885['imageInfo']['width']);return{'uploadcareImageId':_0x15b885['uuid'],'default':_0xd90585,'sources':_0xa18325};})['catch'](()=>{const _0x4254ce=t('Cannot\x20upload\x20file:')+('\x20'+_0x3f6c14['name']+'.');return Promise['reject'](_0x4254ce);});}['abort'](){this['controller']['abort']();}},_0x29f4ee=class extends _0x14e616['Plugin']{['_configElement']=null;['_ctxElement']=null;static get['pluginName'](){return'UploadcareEditing';}static get['requires'](){return[_0x14e616['PictureEditing'],_0x19e26b,_0x14e616['Dialog']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['ucContextId'];get['configElement'](){return this['_configElement'];}get['ctxElement'](){return this['_ctxElement'];}constructor(_0x5346c4){super(_0x5346c4),this['ucContextId']=(0x0,_0x14e616['uid'])();}['init'](){const _0x275756=this['editor'];_0x275756['commands']['add']('uploadcare',new tq(_0x275756));}['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 _0x2443b4=_0x14e616['global']['document']['querySelector']('input[uploadcare-file-input]');_0x2443b4&&_0x2443b4['remove']();}),async function(_0x53d228){const _0x5212b3='hgP68pqc7OBJx9u3zrHatYUXf04TdVkMFmwCs5SDAvj21iWQGeZKLyRlENnoIb',_0x9c8a65=0x78fc0,_0x593c16=window['Date']['now'](),_0x10a9c2=_0x53d228['editor'],_0x5cb525=new window['Promise'](_0x3a36f8=>{_0x10a9c2['once']('ready',_0x3a36f8);}),_0x6e6966={'kty':'EC','use':'sig','crv':'P-256','x':'iCjOCvDFI6lQHHT18jVwRfkfHQ2a_MymT35LQVoFSAI','y':'kXIyJ4evtCEFRmxKSUpK9fDW459vXOvVrhf6uQAeOio','alg':'ES256'},_0x119133=_0x10a9c2['config']['get']('licenseKey');async function _0x5ca12a(){let _0x584e24,_0x1c6344=null,_0x5b2e0e=null;try{return'GPL'==_0x119133?'NotAllowed':(_0x584e24=_0x291c61(),_0x584e24?(_0x584e24['usageEndpoint']&&(_0x5b2e0e=_0x2376d2(_0x584e24['usageEndpoint'],_0x584e24['jti'])),await _0x2ec25a()?_0x263d56()?_0x48afff()?'Expired':_0x506423()?('evaluation'==_0x584e24['licenseType']&&(_0x1c6344=_0x113ca2('EvaluationLimit')),await _0x1b8114()):'DomainLimit':'NotAllowed':'Invalid'):'Invalid');}catch{return'Invalid';}function _0x48afff(){const _0xce420=['evaluation','trial']['includes'](_0x584e24['licenseType'])?_0x593c16/0x3e8:0xe10*_0x9c8a65;return _0x584e24['exp']<_0xce420;}function _0x263d56(){const _0x288a76=_0x584e24['features'];return!!_0x288a76&&(!!_0x288a76['includes']('*')||!!_0x288a76['includes']('UPLC'));}function _0x506423(){const _0x3f0580=_0x584e24['licensedHosts'];if(!_0x3f0580||0x0==_0x3f0580['length'])return!0x0;const {hostname:_0x2ac296}=new URL(window['location']['href']);if(_0x3f0580['includes'](_0x2ac296))return!0x0;const _0xe7a954=_0x2ac296['split']('.');return _0x3f0580['filter'](_0x391fad=>_0x391fad['includes']('*'))['map'](_0x2938c6=>_0x2938c6['split']('.'))['filter'](_0x5e4102=>_0x5e4102['length']<=_0xe7a954['length'])['map'](_0x1c249a=>Array(_0xe7a954['length']-_0x1c249a['length'])['fill']('*'===_0x1c249a[0x0]?'*':'')['concat'](_0x1c249a))['some'](_0x53932f=>_0xe7a954['every']((_0x177b0f,_0x1808b3)=>_0x53932f[_0x1808b3]===_0x177b0f||'*'===_0x53932f[_0x1808b3]));}function _0x1b8114(){return _0x1c6344&&_0x5b2e0e?new window['Promise']((_0x9af579,_0x3b293c)=>{_0x1c6344['then'](_0x9af579,_0x3b293c),_0x5b2e0e['then'](_0x3f61a9=>{'Valid'!=_0x3f61a9&&_0x9af579(_0x3f61a9);},_0x3b293c);}):_0x1c6344||_0x5b2e0e||'Valid';}}function _0x2376d2(_0x3a9725,_0x531c76){return new window['Promise'](_0x39c4ae=>{if(_0x844db4())return _0x39c4ae('Valid');_0x4857fd(),_0x10a9c2['decorate']('_sendUsageRequest');let _0x3eb583=!0x1;const _0x2597a4=(0x0,_0x14e616['uid'])();function _0x1c275f(_0x5e4b59){return!!_0x5e4b59&&('object'==typeof _0x5e4b59||'function'==typeof _0x5e4b59)&&'function'==typeof _0x5e4b59['then']&&'function'==typeof _0x5e4b59['catch'];}function _0x3c3364(_0x5a5aad){_0x9c3d5a(_0x5a5aad)['then'](_0x447b23=>_0x447b23&&'ok'==_0x447b23['status']?_0x5112b4(_0x40a8e3(_0x2597a4+_0x531c76))!=_0x447b23['verification']?'UsageLimit':'Valid':'UsageLimit')['then'](_0x43be13=>(_0xe6bc76(),_0x43be13),()=>{const _0x572263=_0x4ee65e();return null==_0x572263?(_0xe6bc76(),'Valid'):_0x593c16-_0x572263>0x240c8400?'UsageLimit':'Valid';})['then'](_0x39c4ae)['catch'](()=>{_0x39c4ae('UsageLimit');});const _0xa76ffd=0x36ee80;function _0xe6bc76(){const _0x514002='llct-'+_0x5112b4(_0x40a8e3(_0x3a9725)),_0x281007=_0xac7619(_0x5112b4(window['Math']['ceil'](_0x593c16/_0xa76ffd)));window['localStorage']['setItem'](_0x514002,_0x281007);}function _0x4ee65e(){const _0x314fc4='llct-'+_0x5112b4(_0x40a8e3(_0x3a9725)),_0x5c49e4=window['localStorage']['getItem'](_0x314fc4);return _0x5c49e4?window['parseInt'](_0xac7619(_0x5c49e4),0x10)*_0xa76ffd:null;}function _0x9c3d5a(_0x18175d){return new window['Promise']((_0x7f26a5,_0x12800a)=>{_0x18175d['then'](_0x7f26a5,_0x12800a),window['setTimeout'](_0x12800a,0x1d4c0);});}}_0x10a9c2['on']('_sendUsageRequest',(_0x53a170,_0x1abb3e)=>{if(_0x1abb3e[0x0]!=_0x3a9725)return _0x39c4ae('UsageLimit');_0x1abb3e[0x1]={..._0x1abb3e[0x1],'requestId':_0x2597a4};},{'priority':'high'}),_0x10a9c2['on']('_sendUsageRequest',_0x45e18a=>{_0x1c275f(_0x45e18a['return'])&&(_0x3eb583=!0x0,_0x3c3364(_0x45e18a['return']));},{'priority':'low'}),_0x5cb525['then'](()=>{_0x3eb583||_0x39c4ae('UsageLimit');});});function _0x844db4(){return'auto'==_0x10a9c2['editing']['view']['_overlayModeHint'];}function _0x4857fd(){_0x10a9c2['editing']['view']['_overlayModeHint']='auto';}}function _0x113ca2(_0x3d0eab){const _0x3e6faf=[new window['Promise'](_0x4c0462=>setTimeout(_0x4c0462,0x93ecc)),_0x5cb525['then'](()=>new window['Promise'](_0x5d0cc5=>{let _0x3108ea=0x0;_0x10a9c2['model']['on']('applyOperation',(_0x3dc189,_0x2c82b6)=>{_0x2c82b6[0x0]['isDocumentOperation']&&_0x3108ea++,0x5e8==_0x3108ea&&(_0x5d0cc5(),_0x3dc189['off']());});}))];return window['Promise']['race'](_0x3e6faf)['then'](()=>_0x3d0eab);}async function _0x6a46c0(){await _0x5cb525,_0x10a9c2['model']['change']=_0x5706f8,_0x10a9c2['model']['enqueueChange']=_0x5706f8,_0x10a9c2['enableReadOnlyMode']('model');}function _0x5ece10(_0xfc8020){const _0x12de6b=_0x5e3985();_0x10a9c2[_0x12de6b]='uploadcareLicenseKey'+_0xfc8020,'Valid'!=_0xfc8020&&_0x6a46c0();}function _0x5e3985(){const _0x59ca37=window['String'](window['performance']['now']())['replace']('.','');let _0x2efae8='h';for(let _0x1eb0fb=0x0;_0x1eb0fb<_0x59ca37['length'];_0x1eb0fb+=0x2){let _0x50315c=window['parseInt'](_0x59ca37['substring'](_0x1eb0fb,_0x1eb0fb+0x2));_0x50315c>=0x3e&&(_0x50315c-=0x3e),_0x2efae8+=_0x5212b3[_0x50315c];}return _0x2efae8;}function _0x291c61(){const _0x14c063=_0x119133['split']('.');if(0x3!=_0x14c063['length'])return null;return _0x53e01a(_0x14c063[0x1]);function _0x53e01a(_0x1d1e18){const _0x5889bf=_0x1af02b(_0x1d1e18);return _0x5889bf&&_0x41165f()?_0x5889bf:null;function _0x41165f(){const _0x3c96f8=_0x5889bf['jti'],_0x373a50=window['parseInt'](_0x3c96f8['substring'](_0x3c96f8['length']-0x8),0x10),_0xb22778={..._0x5889bf,'jti':_0x3c96f8['substring'](0x0,_0x3c96f8['length']-0x8)};return delete _0xb22778['vc'],_0x40a8e3(_0xb22778)==_0x373a50;}}}async function _0x2ec25a(){let _0x5194f7=!0x0;try{const [_0x9750e0,_0x347763,_0x9fa5c5]=_0x119133['split']('.');return _0x4bb019(_0x9750e0),await _0x166279(_0x9750e0,_0x347763,_0x9fa5c5),_0x5194f7;}catch{return!0x1;}function _0x4bb019(_0x477d38){const _0x2c06f7=_0x1af02b(_0x477d38);_0x2c06f7&&'ES256'==_0x2c06f7['alg']||(_0x5194f7=!0x1);}async function _0x166279(_0x59b18d,_0x34c5ad,_0x12e115){const _0x133ceb=window['Uint8Array']['from'](_0x129853(_0x12e115),_0x569536=>_0x569536['charCodeAt'](0x0)),_0x556acc=new window['TextEncoder']()['encode'](_0x59b18d+'.'+_0x34c5ad),_0x3126fc=window['crypto']['subtle'];if(!_0x3126fc)return;const _0xd83877=await _0x3126fc['importKey']('jwk',_0x6e6966,{'name':'ECDSA','namedCurve':'P-256'},!0x1,['verify']);await _0x3126fc['verify']({'name':'ECDSA','hash':{'name':'SHA-256'}},_0xd83877,_0x133ceb,_0x556acc)||(_0x5194f7=!0x1);}}function _0x1af02b(_0x75b10a){return _0x75b10a['startsWith']('ey')?JSON['parse'](_0x129853(_0x75b10a)):null;}function _0x129853(_0x39d487){return window['atob'](_0x39d487['replace'](/-/g,'+')['replace'](/_/g,'/'));}function _0x40a8e3(_0x1e9a17){let _0x15b988=0x1505;function _0x509a83(_0x245f20){for(let _0x36b2f4=0x0;_0x36b2f4<_0x245f20['length'];_0x36b2f4++){const _0x170e2b=_0x245f20['charCodeAt'](_0x36b2f4);_0x15b988=(_0x15b988<<0x5)+_0x15b988+_0x170e2b,_0x15b988&=_0x15b988;}}function _0x43c09b(_0xb4311c){Array['isArray'](_0xb4311c)?_0xb4311c['forEach'](_0x43c09b):_0xb4311c&&'object'==typeof _0xb4311c?Object['entries'](_0xb4311c)['sort']()['forEach'](([_0x4d19c2,_0x5880af])=>{_0x509a83(_0x4d19c2),_0x43c09b(_0x5880af);}):_0x509a83(window['String'](_0xb4311c));}return _0x43c09b(_0x1e9a17),_0x15b988>>>0x0;}function _0x5112b4(_0x235a2b){return _0x235a2b['toString'](0x10)['padStart'](0x8,'0');}function _0xac7619(_0xeb81b){return _0xeb81b['split']('')['reverse']()['join']('');}function _0x5706f8(){}_0x5ece10(await _0x5ca12a());}(this);}['_initSchema'](){const _0x36603f=this['editor']['model']['schema'];_0x36603f['isRegistered']('imageBlock')&&_0x36603f['extend']('imageBlock',{'allowAttributes':['uploadcareImageId']}),_0x36603f['isRegistered']('imageInline')&&_0x36603f['extend']('imageInline',{'allowAttributes':['uploadcareImageId']});}['_initConversion'](){const _0x4c3a0a=this['editor'];_0x4c3a0a['conversion']['for']('downcast')['attributeToAttribute']({'model':'uploadcareImageId','view':'data-uc-image-id'}),_0x4c3a0a['conversion']['for']('upcast')['elementToAttribute']({'model':{'key':'uploadcareImageId','value':_0x184c25=>_0x184c25['getAttribute']('data-uc-image-id')},'view':{'attributes':{'data-uc-image-id':/[a-zA-Z0-9\\-]+/}}});const _0x2f2df2=_0x4c3a0a['commands']['get']('replaceImageSource');_0x2f2df2&&this['listenTo'](_0x2f2df2,'cleanupImage',(_0x1ec286,[_0xa0fd9b,_0x3fd640])=>{_0xa0fd9b['removeAttribute']('uploadcareImageId',_0x3fd640);});}['_initConfig'](){const _0x4116c1=this['editor']['config']['get']('uploadcare.uploader')||{},_0x283500=this['editor']['config']['get']('uploadcare.pubkey')||'';this['_configElement']=(0x0,_0x14e616['createElement'])(_0x14e616['global']['document'],'uc-config',{..._0x4116c1,'pubkey':_0x283500,'ctx-name':'uploader-'+this['ucContextId'],'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']=_0x42df84=>{if('closeMax'==_0x42df84)return'#uc-icon-arrow-down';},_0x14e616['global']['document']['body']['appendChild'](this['_configElement']);}['_initCtx'](){this['_ctxElement']=(0x0,_0x14e616['createElement'])(_0x14e616['global']['document'],'uc-upload-ctx-provider',{'ctx-name':'uploader-'+this['ucContextId']}),_0x14e616['global']['document']['body']['appendChild'](this['_ctxElement']);}['_initImageProcessingIndicator'](){const _0x46203d=this['editor']['commands']['get']('insertImage');_0x46203d&&this['listenTo'](_0x46203d,'execute',()=>{const _0x4a475f=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4a475f&&_0x4a475f['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x11f70f(this['editor'],_0x4a475f);});});const _0x505f19=this['editor']['commands']['get']('uploadcareImageReplace');_0x505f19&&this['listenTo'](_0x505f19,'execute',()=>{const _0x4217bd=this['editor']['model']['document']['selection']['getSelectedElement']();_0x4217bd&&_0x4217bd['getAttribute']('uploadcareImageId')&&this['editor']['editing']['view']['once']('render',()=>{_0x11f70f(this['editor'],_0x4217bd);});});}},_0x2d0339=_0x159dd3({'ActivityBlock':()=>t1,'ActivityHeader':()=>_0x599378,'BaseComponent':()=>_0x8705d0,'Block':()=>_0x654125,'BtnUi':()=>_0x15b79c,'CameraSource':()=>_0x55713d,'CloudImageEditor':()=>_0x52e490,'CloudImageEditorActivity':()=>_0x3f31f3,'CloudImageEditorBlock':()=>_0x10ad37,'Config':()=>_0x17a01e,'Copyright':()=>_0x4ad36f,'CropFrame':()=>_0x2039ca,'Data':()=>_0x3c0549,'DropArea':()=>_0x4c889c,'EditorAspectRatioButtonControl':()=>_0x27ab84,'EditorCropButtonControl':()=>_0x4a9141,'EditorFilterControl':()=>_0x5c04a7,'EditorFreeformButtonControl':()=>_0x14ec1c,'EditorImageCropper':()=>_0x507dfb,'EditorImageFader':()=>_0x46dbd8,'EditorOperationControl':()=>_0x3b8053,'EditorScroller':()=>_0x3a9b4a,'EditorSlider':()=>_0x3995a3,'EditorToolbar':()=>_0x3ca538,'ExternalSource':()=>_0x37c0e4,'ExternalUploadSource':()=>_0x50f779,'FileItem':()=>t2,'FileUploaderInline':()=>_0x18dbb4,'FileUploaderMinimal':()=>_0x11b3dd,'FileUploaderRegular':()=>_0x160a0d,'FormInput':()=>_0x43d867,'Icon':()=>_0x5557f7,'Img':()=>_0x3453e1,'LineLoaderUi':()=>_0x5877ef,'Modal':()=>_0x2b62dc,'ModalEvents':()=>_0x2d41b7,'PACKAGE_NAME':()=>_0x119f00,'PACKAGE_VERSION':()=>_0x1042e2,'PluginActivityHost':()=>_0x1cf859,'PluginActivityRenderer':()=>_0x589bcd,'PresenceToggle':()=>_0xdbe6d2,'ProgressBar':()=>_0x20054d,'ProgressBarCommon':()=>_0xd6bd6,'Select':()=>_0x5355f2,'SimpleBtn':()=>_0x56f25b,'SliderUi':()=>_0x5a66df,'SolutionBlock':()=>_0x1d90e8,'SourceBtn':()=>_0x317f9f,'SourceList':()=>_0x460cb0,'Spinner':()=>_0x2b26d6,'StartFrom':()=>_0x4b820a,'Thumb':()=>_0x44f163,'UID':()=>_0x3a94a4,'UploadCtxProvider':()=>_0x2d8907,'UploadList':()=>_0x29c5be,'UploadSource':()=>_0x363ac3,'UploaderBlock':()=>_0x21c1d2,'UrlSource':()=>_0x4100cf,'defineComponents':()=>_0x524a40,'defineLocale':()=>_0xdd7229,'loadFileUploaderFrom':()=>_0x5bbe60,'toKebabCase':()=>_0x5b0cc0}),_0x3dec85=Object['defineProperty'],_0x2d1644=Object['getOwnPropertyDescriptor'],_0x12c5c0=(_0x5e4fe9,_0x4302fa)=>{for(var t in _0x4302fa)_0x3dec85(_0x5e4fe9,t,{'get':_0x4302fa[t],'enumerable':!0x0});},_0x507457=(_0x45f8b0,_0x10c84b,t,_0x5ae685)=>{for(var _0x12dfa4,_0x336467=_0x5ae685>0x1?void 0x0:_0x5ae685?_0x2d1644(_0x10c84b,t):_0x10c84b,_0x2882b5=_0x45f8b0['length']-0x1;_0x2882b5>=0x0;_0x2882b5--)(_0x12dfa4=_0x45f8b0[_0x2882b5])&&(_0x336467=(_0x5ae685?_0x12dfa4(_0x10c84b,t,_0x336467):_0x12dfa4(_0x336467))||_0x336467);return _0x5ae685&&_0x336467&&_0x3dec85(_0x10c84b,t,_0x336467),_0x336467;},_0x36a68b=[],_0x1578ed=0x0;function _0x3f3608(_0xe12567,_0x277272,t){let _0x38e2df=new Set(_0x277272)['add'](void 0x0);return _0xe12567['listen']((_0x462d50,_0x2dd7ae,_0x241321)=>{_0x38e2df['has'](_0x241321)&&t(_0x462d50,_0x2dd7ae,_0x241321);});}function _0x1eb791(_0x53a760,_0x34d17b,t){let _0xc6b96e=_0x3f3608(_0x53a760,_0x34d17b,t);return t(_0x53a760['value']),_0xc6b96e;}var _0x4f23ac=(_0x5d82d6={})=>{let _0x3541fc=(_0x48b243=>{let _0x59f77e=[],t={'get':()=>(t['lc']||t['listen'](()=>{})(),t['value']),'lc':0x0,'listen':_0x500d9f=>(t['lc']=_0x59f77e['push'](_0x500d9f),()=>{for(let _0x129528=_0x1578ed+0x4;_0x129528<_0x36a68b['length'];)_0x36a68b[_0x129528]===_0x500d9f?_0x36a68b['splice'](_0x129528,0x4):_0x129528+=0x4;let _0x2eed64=_0x59f77e['indexOf'](_0x500d9f);~_0x2eed64&&(_0x59f77e['splice'](_0x2eed64,0x1),--t['lc']||t['off']());}),'notify'(_0x560c28,_0x4ea56a){let _0x381e1a=!_0x36a68b['length'];for(let _0x11e238 of _0x59f77e)_0x36a68b['push'](_0x11e238,t['value'],_0x560c28,_0x4ea56a);if(_0x381e1a){for(_0x1578ed=0x0;_0x1578ed<_0x36a68b['length'];_0x1578ed+=0x4)_0x36a68b[_0x1578ed](_0x36a68b[_0x1578ed+0x1],_0x36a68b[_0x1578ed+0x2],_0x36a68b[_0x1578ed+0x3]);_0x36a68b['length']=0x0;}},'off'(){},'set'(_0x2faab5){let _0x252326=t['value'];_0x252326!==_0x2faab5&&(t['value']=_0x2faab5,t['notify'](_0x252326));},'subscribe'(_0x1df2b3){let _0x436e4e=t['listen'](_0x1df2b3);return _0x1df2b3(t['value']),_0x436e4e;},'value':_0x48b243};return t;})(_0x5d82d6);return _0x3541fc['setKey']=function(t,_0x580165){let _0xa9d157=_0x3541fc['value'];typeof _0x580165>'u'&&t in _0x3541fc['value']?(_0x3541fc['value']={..._0x3541fc['value']},delete _0x3541fc['value'][t],_0x3541fc['notify'](_0xa9d157,t)):_0x3541fc['value'][t]!==_0x580165&&(_0x3541fc['value']={..._0x3541fc['value'],[t]:_0x580165},_0x3541fc['notify'](_0xa9d157,t));},_0x3541fc;},_0x3c0549=class _0x45bdd1{static{this['qt']=new Map();}constructor(_0xa19825,t){this['J']=_0xa19825,this['ae']=t;}get['id'](){return this['J'];}['pub'](_0x197ec0,t){_0x197ec0 in this['ae']['get']()||console['warn']('PubSub#pub:\x20Key\x20\x22'+String(_0x197ec0)+'\x22\x20not\x20found'),this['ae']['setKey'](_0x197ec0,t);}['sub'](_0x14ae76,t,_0x2113a5=!0x0){return(_0x2113a5?_0x1eb791:_0x3f3608)(this['ae'],[_0x14ae76],_0x6f0ba1=>{t(_0x6f0ba1[_0x14ae76]);});}['read'](_0x5f33b6){return _0x5f33b6 in this['ae']['get']()||console['warn']('PubSub#read:\x20Key\x20\x22'+String(_0x5f33b6)+'\x22\x20not\x20found'),this['ae']['get']()[_0x5f33b6];}['add'](_0x2002f2,t,_0x139474=!0x1){(!(_0x2002f2 in this['ae']['get']())||_0x139474)&&this['ae']['setKey'](_0x2002f2,t);}['has'](_0x51a875){return _0x51a875 in this['ae']['get']();}get['store'](){return this['ae']['get']();}static['registerCtx'](_0x40064c,t){if(_0x45bdd1['qt']['has'](t))throw new Error('PubSub:\x20Context\x20with\x20id\x20\x22'+t+'\x22\x20already\x20exists');let _0x30f72d=_0x4f23ac(_0x40064c);return _0x45bdd1['qt']['set'](t,_0x30f72d),new _0x45bdd1(t,_0x30f72d);}static['deleteCtx'](_0x58e387){_0x45bdd1['qt']['delete'](_0x58e387);}static['getCtx'](_0x37d862){let t=_0x45bdd1['qt']['get'](_0x37d862);return t?new _0x45bdd1(_0x37d862,t):null;}static['hasCtx'](_0x23395c){return _0x45bdd1['qt']['has'](_0x23395c);}},_0x5afc9e=globalThis,_0xee94bd=_0x5afc9e['ShadowRoot']&&(void 0x0===_0x5afc9e['ShadyCSS']||_0x5afc9e['ShadyCSS']['nativeShadow'])&&'adoptedStyleSheets'in Document['prototype']&&'replace'in CSSStyleSheet['prototype'],_0x4c9f24=Symbol(),_0x138c64=new WeakMap(),_0x32513d=class{constructor(_0x5ef57c,t,_0xa341f2){if(this['Cc']=!0x0,_0xa341f2!==_0x4c9f24)throw Error('CSSResult\x20is\x20not\x20constructable.\x20Use\x20`unsafeCSS`\x20or\x20`css`\x20instead.');this['cssText']=_0x5ef57c,this['t']=t;}get['styleSheet'](){let _0x8ed5c=this['o'],t=this['t'];if(_0xee94bd&&void 0x0===_0x8ed5c){let _0x3f6b41=void 0x0!==t&&0x1===t['length'];_0x3f6b41&&(_0x8ed5c=_0x138c64['get'](t)),void 0x0===_0x8ed5c&&((this['o']=_0x8ed5c=new CSSStyleSheet())['replaceSync'](this['cssText']),_0x3f6b41&&_0x138c64['set'](t,_0x8ed5c));}return _0x8ed5c;}['toString'](){return this['cssText'];}},_0x48da3d=_0xee94bd?_0x253c6e=>_0x253c6e:_0xf1dbb5=>_0xf1dbb5 instanceof CSSStyleSheet?(_0x23ee92=>{let t='';for(let _0x49a708 of _0x23ee92['cssRules'])t+=_0x49a708['cssText'];return(_0x3ff978=>new _0x32513d('string'==typeof _0x3ff978?_0x3ff978:_0x3ff978+'',void 0x0,_0x4c9f24))(t);})(_0xf1dbb5):_0xf1dbb5,{is:_0x3c22a0,defineProperty:_0x2dba4f,getOwnPropertyDescriptor:_0x297f9a,getOwnPropertyNames:_0xca6eb,getOwnPropertySymbols:_0x26c6a8,getPrototypeOf:_0x179933}=Object,_0x174a21=globalThis,_0x15a284=_0x174a21['trustedTypes'],_0x77eaa2=_0x15a284?_0x15a284['emptyScript']:'',_0x50e609=_0x174a21['reactiveElementPolyfillSupport'],_0x2b3876=(_0x45eb2f,_0x5d317d)=>_0x45eb2f,_0x2e0889={'toAttribute'(_0x4b5a05,_0x8fda2){switch(_0x8fda2){case Boolean:_0x4b5a05=_0x4b5a05?_0x77eaa2:null;break;case Object:case Array:_0x4b5a05=null==_0x4b5a05?_0x4b5a05:JSON['stringify'](_0x4b5a05);}return _0x4b5a05;},'fromAttribute'(_0x666257,_0x4f3f4e){let t=_0x666257;switch(_0x4f3f4e){case Boolean:t=null!==_0x666257;break;case Number:t=null===_0x666257?null:Number(_0x666257);break;case Object:case Array:try{t=JSON['parse'](_0x666257);}catch{t=null;}}return t;}},_0x72017a=(_0x22b6f5,_0x3da50a)=>!_0x3c22a0(_0x22b6f5,_0x3da50a),_0x246cda={'attribute':!0x0,'type':String,'converter':_0x2e0889,'reflect':!0x1,'useDefault':!0x1,'hasChanged':_0x72017a};Symbol['metadata']??=Symbol('metadata'),_0x174a21['litPropertyMetadata']??=new WeakMap();var _0x3768b7=class extends HTMLElement{static['addInitializer'](_0x3c9f00){this['Br'](),(this['l']??=[])['push'](_0x3c9f00);}static get['observedAttributes'](){return this['finalize'](),this['Li']&&[...this['Li']['keys']()];}static['createProperty'](_0x5d3b12,t=_0x246cda){if(t['state']&&(t['attribute']=!0x1),this['Br'](),this['prototype']['hasOwnProperty'](_0x5d3b12)&&((t=Object['create'](t))['wrapped']=!0x0),this['elementProperties']['set'](_0x5d3b12,t),!t['noAccessor']){let _0x1154ad=Symbol(),_0xb6478e=this['getPropertyDescriptor'](_0x5d3b12,_0x1154ad,t);void 0x0!==_0xb6478e&&_0x2dba4f(this['prototype'],_0x5d3b12,_0xb6478e);}}static['getPropertyDescriptor'](_0x2bc93f,t,_0x2b1d41){let {get:_0x156245,set:_0x14a6e9}=_0x297f9a(this['prototype'],_0x2bc93f)??{'get'(){return this[t];},'set'(_0x5e573a){this[t]=_0x5e573a;}};return{'get':_0x156245,'set'(_0xe32a8f){let _0x40dba=_0x156245?.['call'](this);_0x14a6e9?.['call'](this,_0xe32a8f),this['requestUpdate'](_0x2bc93f,_0x40dba,_0x2b1d41);},'configurable':!0x0,'enumerable':!0x0};}static['getPropertyOptions'](_0xae6383){return this['elementProperties']['get'](_0xae6383)??_0x246cda;}static['Br'](){if(this['hasOwnProperty'](_0x2b3876('elementProperties')))return;let _0x70820e=_0x179933(this);_0x70820e['finalize'](),void 0x0!==_0x70820e['l']&&(this['l']=[..._0x70820e['l']]),this['elementProperties']=new Map(_0x70820e['elementProperties']);}static['finalize'](){if(this['hasOwnProperty'](_0x2b3876('finalized')))return;if(this['finalized']=!0x0,this['Br'](),this['hasOwnProperty'](_0x2b3876('properties'))){let t=this['properties'],_0x3c8376=[..._0xca6eb(t),..._0x26c6a8(t)];for(let _0x8626cd of _0x3c8376)this['createProperty'](_0x8626cd,t[_0x8626cd]);}let _0x1cd826=this[Symbol['metadata']];if(null!==_0x1cd826){let t=litPropertyMetadata['get'](_0x1cd826);if(void 0x0!==t){for(let [_0xecac80,_0x2705f3]of t)this['elementProperties']['set'](_0xecac80,_0x2705f3);}}this['Li']=new Map();for(let [t,_0x5394c3]of this['elementProperties']){let _0x2a11f0=this['zr'](t,_0x5394c3);void 0x0!==_0x2a11f0&&this['Li']['set'](_0x2a11f0,t);}this['elementStyles']=this['finalizeStyles'](this['styles']);}static['finalizeStyles'](_0x1a8def){let t=[];if(Array['isArray'](_0x1a8def)){let _0x594f5a=new Set(_0x1a8def['flat'](0x1/0x0)['reverse']());for(let _0x183e98 of _0x594f5a)t['unshift'](_0x48da3d(_0x183e98));}else void 0x0!==_0x1a8def&&t['push'](_0x48da3d(_0x1a8def));return t;}static['zr'](_0x1a4951,t){let _0x7dc64d=t['attribute'];return!0x1===_0x7dc64d?void 0x0:'string'==typeof _0x7dc64d?_0x7dc64d:'string'==typeof _0x1a4951?_0x1a4951['toLowerCase']():void 0x0;}constructor(){super(),this['Ri']=void 0x0,this['isUpdatePending']=!0x1,this['hasUpdated']=!0x1,this['vt']=null,this['Sc']();}['Sc'](){this['Hr']=new Promise(_0x431599=>this['enableUpdating']=_0x431599),this['Fe']=new Map(),this['Ac'](),this['requestUpdate'](),this['constructor']['l']?.['forEach'](_0xee2edd=>_0xee2edd(this));}['addController'](_0x211a02){(this['Wt']??=new Set())['add'](_0x211a02),void 0x0!==this['renderRoot']&&this['isConnected']&&_0x211a02['hostConnected']?.();}['removeController'](_0x3daef0){this['Wt']?.['delete'](_0x3daef0);}['Ac'](){let _0x52dbbf=new Map(),t=this['constructor']['elementProperties'];for(let _0x4884b5 of t['keys']())this['hasOwnProperty'](_0x4884b5)&&(_0x52dbbf['set'](_0x4884b5,this[_0x4884b5]),delete this[_0x4884b5]);_0x52dbbf['size']>0x0&&(this['Ri']=_0x52dbbf);}['createRenderRoot'](){let _0x545031=this['shadowRoot']??this['attachShadow'](this['constructor']['shadowRootOptions']);return((_0x220508,_0x5b8f67)=>{if(_0xee94bd)_0x220508['adoptedStyleSheets']=_0x5b8f67['map'](t=>t instanceof CSSStyleSheet?t:t['styleSheet']);else for(let t of _0x5b8f67){let _0x58db41=document['createElement']('style'),_0x381d4d=_0x5afc9e['litNonce'];void 0x0!==_0x381d4d&&_0x58db41['setAttribute']('nonce',_0x381d4d),_0x58db41['textContent']=t['cssText'],_0x220508['appendChild'](_0x58db41);}})(_0x545031,this['constructor']['elementStyles']),_0x545031;}['connectedCallback'](){this['renderRoot']??=this['createRenderRoot'](),this['enableUpdating'](!0x0),this['Wt']?.['forEach'](_0x25c6ac=>_0x25c6ac['hostConnected']?.());}['enableUpdating'](_0x21d764){}['disconnectedCallback'](){this['Wt']?.['forEach'](_0x195a7f=>_0x195a7f['hostDisconnected']?.());}['attributeChangedCallback'](_0x54321b,t,_0xd498e5){this['Kr'](_0x54321b,_0xd498e5);}['kc'](_0x210faa,t){let _0x3a34cd=this['constructor']['elementProperties']['get'](_0x210faa),_0x680be2=this['constructor']['zr'](_0x210faa,_0x3a34cd);if(void 0x0!==_0x680be2&&!0x0===_0x3a34cd['reflect']){let _0xe39079=(void 0x0!==_0x3a34cd['converter']?.['toAttribute']?_0x3a34cd['converter']:_0x2e0889)['toAttribute'](t,_0x3a34cd['type']);this['vt']=_0x210faa,null==_0xe39079?this['removeAttribute'](_0x680be2):this['setAttribute'](_0x680be2,_0xe39079),this['vt']=null;}}['Kr'](_0x413076,t){let _0x364cf1=this['constructor'],_0x41c4d5=_0x364cf1['Li']['get'](_0x413076);if(void 0x0!==_0x41c4d5&&this['vt']!==_0x41c4d5){let _0x1d77a9=_0x364cf1['getPropertyOptions'](_0x41c4d5),_0x2d6837='function'==typeof _0x1d77a9['converter']?{'fromAttribute':_0x1d77a9['converter']}:void 0x0!==_0x1d77a9['converter']?.['fromAttribute']?_0x1d77a9['converter']:_0x2e0889;this['vt']=_0x41c4d5;let _0x2091c0=_0x2d6837['fromAttribute'](t,_0x1d77a9['type']);this[_0x41c4d5]=_0x2091c0??this['jr']?.['get'](_0x41c4d5)??_0x2091c0,this['vt']=null;}}['requestUpdate'](_0x505523,t,_0x528f3f,_0x280e1c=!0x1,_0x30e8c3){if(void 0x0!==_0x505523){let _0x3214a3=this['constructor'];if(!0x1===_0x280e1c&&(_0x30e8c3=this[_0x505523]),_0x528f3f??=_0x3214a3['getPropertyOptions'](_0x505523),!((_0x528f3f['hasChanged']??_0x72017a)(_0x30e8c3,t)||_0x528f3f['useDefault']&&_0x528f3f['reflect']&&_0x30e8c3===this['jr']?.['get'](_0x505523)&&!this['hasAttribute'](_0x3214a3['zr'](_0x505523,_0x528f3f))))return;this['C'](_0x505523,t,_0x528f3f);}!0x1===this['isUpdatePending']&&(this['Hr']=this['Mc']());}['C'](_0x4da63c,t,{useDefault:_0x2fb190,reflect:_0x7528ad,wrapped:_0x3fe2f7},_0x50bc09){_0x2fb190&&!(this['jr']??=new Map())['has'](_0x4da63c)&&(this['jr']['set'](_0x4da63c,_0x50bc09??t??this[_0x4da63c]),!0x0!==_0x3fe2f7||void 0x0!==_0x50bc09)||(this['Fe']['has'](_0x4da63c)||(this['hasUpdated']||_0x2fb190||(t=void 0x0),this['Fe']['set'](_0x4da63c,t)),!0x0===_0x7528ad&&this['vt']!==_0x4da63c&&(this['Gs']??=new Set())['add'](_0x4da63c));}async['Mc'](){this['isUpdatePending']=!0x0;try{await this['Hr'];}catch(_0x56b99d){Promise['reject'](_0x56b99d);}let _0x39455c=this['scheduleUpdate']();return null!=_0x39455c&&await _0x39455c,!this['isUpdatePending'];}['scheduleUpdate'](){return this['performUpdate']();}['performUpdate'](){if(!this['isUpdatePending'])return;if(!this['hasUpdated']){if(this['renderRoot']??=this['createRenderRoot'](),this['Ri']){for(let [_0x232b62,_0x576ace]of this['Ri'])this[_0x232b62]=_0x576ace;this['Ri']=void 0x0;}let _0x1a5ac4=this['constructor']['elementProperties'];if(_0x1a5ac4['size']>0x0)for(let [_0x55550b,_0x17681c]of _0x1a5ac4){let {wrapped:_0x1e01aa}=_0x17681c,_0x399680=this[_0x55550b];!0x0!==_0x1e01aa||this['Fe']['has'](_0x55550b)||void 0x0===_0x399680||this['C'](_0x55550b,void 0x0,_0x17681c,_0x399680);}}let _0x6f05a0=!0x1,t=this['Fe'];try{_0x6f05a0=this['shouldUpdate'](t),_0x6f05a0?(this['willUpdate'](t),this['Wt']?.['forEach'](_0x1596dd=>_0x1596dd['hostUpdate']?.()),this['update'](t)):this['Gr']();}catch(_0x3b0657){throw _0x6f05a0=!0x1,this['Gr'](),_0x3b0657;}_0x6f05a0&&this['Oc'](t);}['willUpdate'](_0x159ccb){}['Oc'](_0x4648fe){this['Wt']?.['forEach'](t=>t['hostUpdated']?.()),this['hasUpdated']||(this['hasUpdated']=!0x0,this['firstUpdated'](_0x4648fe)),this['updated'](_0x4648fe);}['Gr'](){this['Fe']=new Map(),this['isUpdatePending']=!0x1;}get['updateComplete'](){return this['getUpdateComplete']();}['getUpdateComplete'](){return this['Hr'];}['shouldUpdate'](_0x484aef){return!0x0;}['update'](_0x28396c){this['Gs']&&=this['Gs']['forEach'](t=>this['kc'](t,this[t])),this['Gr']();}['updated'](_0x19530d){}['firstUpdated'](_0x3dbafd){}};_0x3768b7['elementStyles']=[],_0x3768b7['shadowRootOptions']={'mode':'open'},_0x3768b7[_0x2b3876('elementProperties')]=new Map(),_0x3768b7[_0x2b3876('finalized')]=new Map(),_0x50e609?.({'ReactiveElement':_0x3768b7}),(_0x174a21['reactiveElementVersions']??=[])['push']('2.1.2');var _0x58b552,_0x435c6d=globalThis,_0x35dbf0=_0x6ba4f7=>_0x6ba4f7,_0x4b0f08=_0x435c6d['trustedTypes'],_0x383742=_0x4b0f08?_0x4b0f08['createPolicy']('lit-html',{'createHTML':_0x467e75=>_0x467e75}):void 0x0,_0x4e8673='$lit$',_0x87b18='lit$'+Math['random']()['toFixed'](0x9)['slice'](0x2)+'$',_0x210017='?'+_0x87b18,_0x4a0131='<'+_0x210017+'>',_0x480a4d=document,_0x385867=()=>_0x480a4d['createComment'](''),_0x2b0147=_0x2a9533=>null===_0x2a9533||'object'!=typeof _0x2a9533&&'function'!=typeof _0x2a9533,_0x3cc61a=Array['isArray'],_0x116d08='[\x20\x0c\x0d]',tz=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_0x3ac662=/-->/g,_0x11d65a=/>/g,_0x195236=RegExp('>|'+_0x116d08+'(?:([^\x5cs\x22\x27>=/]+)('+_0x116d08+'*='+_0x116d08+'*(?:[^\x20\x0c\x0d\x22\x27`<>=]|(\x22|\x27)|))|$)','g'),_0x152b87=/'/g,_0x5b0268=/"/g,_0x2c92d1=/^(?:script|style|textarea|title)$/i,_0x19f5e4=(_0x58b552=0x1,(_0xeafc0b,...t)=>({'Ne':_0x58b552,'strings':_0xeafc0b,'values':t})),_0x3420cb=Symbol['for']('lit-noChange'),_0xbeb5f3=Symbol['for']('lit-nothing'),_0x382107=new WeakMap(),_0x502012=_0x480a4d['createTreeWalker'](_0x480a4d,0x81);function _0x4cf166(_0x4c835c,_0x5da08e){if(!_0x3cc61a(_0x4c835c)||!_0x4c835c['hasOwnProperty']('raw'))throw Error('invalid\x20template\x20strings\x20array');return void 0x0!==_0x383742?_0x383742['createHTML'](_0x5da08e):_0x5da08e;}var _0x50354c=class _0x1b5b83{constructor({strings:_0x46e14f,Ne:t},_0x3f7916){let _0x5ba2e3;this['parts']=[];let _0x397689=0x0,_0x86e09e=0x0,_0x4547a0=_0x46e14f['length']-0x1,_0x5a23e6=this['parts'],[_0x31bf95,_0xf4a39b]=((_0x3d0a35,_0x3fe162)=>{let _0xd75e2,t=_0x3d0a35['length']-0x1,_0x6c2c97=[],_0x521c46=0x2===_0x3fe162?'<svg>':0x3===_0x3fe162?'<math>':'',_0x9fabea=tz;for(let _0x23938f=0x0;_0x23938f<t;_0x23938f++){let _0x28dc8b,_0x19105a,_0x1237bc=_0x3d0a35[_0x23938f],_0x1f9b96=-0x1,_0x596a6b=0x0;for(;_0x596a6b<_0x1237bc['length']&&(_0x9fabea['lastIndex']=_0x596a6b,_0x19105a=_0x9fabea['exec'](_0x1237bc),null!==_0x19105a);)_0x596a6b=_0x9fabea['lastIndex'],_0x9fabea===tz?'!--'===_0x19105a[0x1]?_0x9fabea=_0x3ac662:void 0x0!==_0x19105a[0x1]?_0x9fabea=_0x11d65a:void 0x0!==_0x19105a[0x2]?(_0x2c92d1['test'](_0x19105a[0x2])&&(_0xd75e2=RegExp('</'+_0x19105a[0x2],'g')),_0x9fabea=_0x195236):void 0x0!==_0x19105a[0x3]&&(_0x9fabea=_0x195236):_0x9fabea===_0x195236?'>'===_0x19105a[0x0]?(_0x9fabea=_0xd75e2??tz,_0x1f9b96=-0x1):void 0x0===_0x19105a[0x1]?_0x1f9b96=-0x2:(_0x1f9b96=_0x9fabea['lastIndex']-_0x19105a[0x2]['length'],_0x28dc8b=_0x19105a[0x1],_0x9fabea=void 0x0===_0x19105a[0x3]?_0x195236:'\x22'===_0x19105a[0x3]?_0x5b0268:_0x152b87):_0x9fabea===_0x5b0268||_0x9fabea===_0x152b87?_0x9fabea=_0x195236:_0x9fabea===_0x3ac662||_0x9fabea===_0x11d65a?_0x9fabea=tz:(_0x9fabea=_0x195236,_0xd75e2=void 0x0);let _0xafdb8e=_0x9fabea===_0x195236&&_0x3d0a35[_0x23938f+0x1]['startsWith']('/>')?'\x20':'';_0x521c46+=_0x9fabea===tz?_0x1237bc+_0x4a0131:_0x1f9b96>=0x0?(_0x6c2c97['push'](_0x28dc8b),_0x1237bc['slice'](0x0,_0x1f9b96)+_0x4e8673+_0x1237bc['slice'](_0x1f9b96)+_0x87b18+_0xafdb8e):_0x1237bc+_0x87b18+(-0x2===_0x1f9b96?_0x23938f:_0xafdb8e);}return[_0x4cf166(_0x3d0a35,_0x521c46+(_0x3d0a35[t]||'<?>')+(0x2===_0x3fe162?'</svg>':0x3===_0x3fe162?'</math>':'')),_0x6c2c97];})(_0x46e14f,t);if(this['el']=_0x1b5b83['createElement'](_0x31bf95,_0x3f7916),_0x502012['currentNode']=this['el']['content'],0x2===t||0x3===t){let _0x255f47=this['el']['content']['firstChild'];_0x255f47['replaceWith'](..._0x255f47['childNodes']);}for(;null!==(_0x5ba2e3=_0x502012['nextNode']())&&_0x5a23e6['length']<_0x4547a0;){if(0x1===_0x5ba2e3['nodeType']){if(_0x5ba2e3['hasAttributes']()){for(let _0x333054 of _0x5ba2e3['getAttributeNames']())if(_0x333054['endsWith'](_0x4e8673)){let _0x5dfbf2=_0xf4a39b[_0x86e09e++],_0xbbb765=_0x5ba2e3['getAttribute'](_0x333054)['split'](_0x87b18),_0x46b184=/([.?@])?(.*)/['exec'](_0x5dfbf2);_0x5a23e6['push']({'type':0x1,'index':_0x397689,'name':_0x46b184[0x2],'strings':_0xbbb765,'ctor':'.'===_0x46b184[0x1]?_0x4d2dac:'?'===_0x46b184[0x1]?_0x495633:'@'===_0x46b184[0x1]?_0x57ea4b:_0x1acba1}),_0x5ba2e3['removeAttribute'](_0x333054);}else _0x333054['startsWith'](_0x87b18)&&(_0x5a23e6['push']({'type':0x6,'index':_0x397689}),_0x5ba2e3['removeAttribute'](_0x333054));}if(_0x2c92d1['test'](_0x5ba2e3['tagName'])){let _0x357e0e=_0x5ba2e3['textContent']['split'](_0x87b18),_0x10d737=_0x357e0e['length']-0x1;if(_0x10d737>0x0){_0x5ba2e3['textContent']=_0x4b0f08?_0x4b0f08['emptyScript']:'';for(let _0x33dfc7=0x0;_0x33dfc7<_0x10d737;_0x33dfc7++)_0x5ba2e3['append'](_0x357e0e[_0x33dfc7],_0x385867()),_0x502012['nextNode'](),_0x5a23e6['push']({'type':0x2,'index':++_0x397689});_0x5ba2e3['append'](_0x357e0e[_0x10d737],_0x385867());}}}else{if(0x8===_0x5ba2e3['nodeType']){if(_0x5ba2e3['data']===_0x210017)_0x5a23e6['push']({'type':0x2,'index':_0x397689});else{let _0x1949e9=-0x1;for(;-0x1!==(_0x1949e9=_0x5ba2e3['data']['indexOf'](_0x87b18,_0x1949e9+0x1));)_0x5a23e6['push']({'type':0x7,'index':_0x397689}),_0x1949e9+=_0x87b18['length']-0x1;}}}_0x397689++;}}static['createElement'](_0x5c4c4e,t){let _0x12ad6d=_0x480a4d['createElement']('template');return _0x12ad6d['innerHTML']=_0x5c4c4e,_0x12ad6d;}};function _0x33de2e(_0x88831b,_0x39ef61,t=_0x88831b,_0x42cc19){if(_0x39ef61===_0x3420cb)return _0x39ef61;let _0x2263d3=void 0x0!==_0x42cc19?t['Ic']?.[_0x42cc19]:t['Pc'],_0x3c2b70=_0x2b0147(_0x39ef61)?void 0x0:_0x39ef61['qr'];return _0x2263d3?.['constructor']!==_0x3c2b70&&(_0x2263d3?.['qs']?.(!0x1),void 0x0===_0x3c2b70?_0x2263d3=void 0x0:(_0x2263d3=new _0x3c2b70(_0x88831b),_0x2263d3['Wr'](_0x88831b,t,_0x42cc19)),void 0x0!==_0x42cc19?(t['Ic']??=[])[_0x42cc19]=_0x2263d3:t['Pc']=_0x2263d3),void 0x0!==_0x2263d3&&(_0x39ef61=_0x33de2e(_0x88831b,_0x2263d3['Lc'](_0x88831b,_0x39ef61['values']),_0x2263d3,_0x42cc19)),_0x39ef61;}var _0x42195e=class{constructor(_0x46df67,t){this['Ws']=[],this['le']=void 0x0,this['Zs']=_0x46df67,this['f']=t;}get['parentNode'](){return this['f']['parentNode'];}get['W'](){return this['f']['W'];}['u'](_0x494cfe){let {el:{content:t},parts:_0x4c5e3a}=this['Zs'],_0xe1d7f2=(_0x494cfe?.['creationScope']??_0x480a4d)['importNode'](t,!0x0);_0x502012['currentNode']=_0xe1d7f2;let _0x44b9b9=_0x502012['nextNode'](),_0x12008f=0x0,_0x179118=0x0,_0x3a9f62=_0x4c5e3a[0x0];for(;void 0x0!==_0x3a9f62;){if(_0x12008f===_0x3a9f62['index']){let _0x40bdb6;0x2===_0x3a9f62['type']?_0x40bdb6=new _0x174b6e(_0x44b9b9,_0x44b9b9['nextSibling'],this,_0x494cfe):0x1===_0x3a9f62['type']?_0x40bdb6=new _0x3a9f62['ctor'](_0x44b9b9,_0x3a9f62['name'],_0x3a9f62['strings'],this,_0x494cfe):0x6===_0x3a9f62['type']&&(_0x40bdb6=new _0x187cfa(_0x44b9b9,this,_0x494cfe)),this['Ws']['push'](_0x40bdb6),_0x3a9f62=_0x4c5e3a[++_0x179118];}_0x12008f!==_0x3a9f62?.['index']&&(_0x44b9b9=_0x502012['nextNode'](),_0x12008f++);}return _0x502012['currentNode']=_0x480a4d,_0xe1d7f2;}['p'](_0x1c2d2a){let t=0x0;for(let _0x32e639 of this['Ws'])void 0x0!==_0x32e639&&(void 0x0!==_0x32e639['strings']?(_0x32e639['ce'](_0x1c2d2a,_0x32e639,t),t+=_0x32e639['strings']['length']-0x2):_0x32e639['ce'](_0x1c2d2a[t])),t++;}},_0x174b6e=class _0x1aa0bc{get['W'](){return this['f']?.['W']??this['Ys'];}constructor(_0x384911,t,_0x5347c6,_0x217d6a){this['type']=0x2,this['r']=_0xbeb5f3,this['le']=void 0x0,this['ve']=_0x384911,this['yt']=t,this['f']=_0x5347c6,this['options']=_0x217d6a,this['Ys']=_0x217d6a?.['isConnected']??!0x0;}get['parentNode'](){let _0xc4ecfa=this['ve']['parentNode'],t=this['f'];return void 0x0!==t&&0xb===_0xc4ecfa?.['nodeType']&&(_0xc4ecfa=t['parentNode']),_0xc4ecfa;}get['startNode'](){return this['ve'];}get['endNode'](){return this['yt'];}['ce'](_0x48d063,t=this){_0x48d063=_0x33de2e(this,_0x48d063,t),_0x2b0147(_0x48d063)?_0x48d063===_0xbeb5f3||null==_0x48d063||''===_0x48d063?(this['r']!==_0xbeb5f3&&this['bt'](),this['r']=_0xbeb5f3):_0x48d063!==this['r']&&_0x48d063!==_0x3420cb&&this['Xs'](_0x48d063):void 0x0!==_0x48d063['Ne']?this['$'](_0x48d063):void 0x0!==_0x48d063['nodeType']?this['T'](_0x48d063):(_0x50ba52=>_0x3cc61a(_0x50ba52)||'function'==typeof _0x50ba52?.[Symbol['iterator']])(_0x48d063)?this['k'](_0x48d063):this['Xs'](_0x48d063);}['O'](_0x5c4b5e){return this['ve']['parentNode']['insertBefore'](_0x5c4b5e,this['yt']);}['T'](_0x11085b){this['r']!==_0x11085b&&(this['bt'](),this['r']=this['O'](_0x11085b));}['Xs'](_0x451795){this['r']!==_0xbeb5f3&&_0x2b0147(this['r'])?this['ve']['nextSibling']['data']=_0x451795:this['T'](_0x480a4d['createTextNode'](_0x451795)),this['r']=_0x451795;}['$'](_0x2ea527){let {values:t,Ne:_0x3e11e6}=_0x2ea527,_0x478c2a='number'==typeof _0x3e11e6?this['Rc'](_0x2ea527):(void 0x0===_0x3e11e6['el']&&(_0x3e11e6['el']=_0x50354c['createElement'](_0x4cf166(_0x3e11e6['h'],_0x3e11e6['h'][0x0]),this['options'])),_0x3e11e6);if(this['r']?.['Zs']===_0x478c2a)this['r']['p'](t);else{let _0x390773=new _0x42195e(_0x478c2a,this),_0x25438a=_0x390773['u'](this['options']);_0x390773['p'](t),this['T'](_0x25438a),this['r']=_0x390773;}}['Rc'](_0x3ce6e7){let t=_0x382107['get'](_0x3ce6e7['strings']);return void 0x0===t&&_0x382107['set'](_0x3ce6e7['strings'],t=new _0x50354c(_0x3ce6e7)),t;}['k'](_0x5196e2){_0x3cc61a(this['r'])||(this['r']=[],this['bt']());let _0x5e328c,t=this['r'],_0x2d6c6f=0x0;for(let _0xe537cf of _0x5196e2)_0x2d6c6f===t['length']?t['push'](_0x5e328c=new _0x1aa0bc(this['O'](_0x385867()),this['O'](_0x385867()),this,this['options'])):_0x5e328c=t[_0x2d6c6f],_0x5e328c['ce'](_0xe537cf),_0x2d6c6f++;_0x2d6c6f<t['length']&&(this['bt'](_0x5e328c&&_0x5e328c['yt']['nextSibling'],_0x2d6c6f),t['length']=_0x2d6c6f);}['bt'](_0x46860d=this['ve']['nextSibling'],t){for(this['Ui']?.(!0x1,!0x0,t);_0x46860d!==this['yt'];){let _0x6d61a7=_0x35dbf0(_0x46860d)['nextSibling'];_0x35dbf0(_0x46860d)['remove'](),_0x46860d=_0x6d61a7;}}['setConnected'](_0x4593b8){void 0x0===this['f']&&(this['Ys']=_0x4593b8,this['Ui']?.(_0x4593b8));}},_0x1acba1=class{get['tagName'](){return this['element']['tagName'];}get['W'](){return this['f']['W'];}constructor(_0x2bd1b3,t,_0x3a0aea,_0x314370,_0x59467b){this['type']=0x1,this['r']=_0xbeb5f3,this['le']=void 0x0,this['element']=_0x2bd1b3,this['name']=t,this['f']=_0x314370,this['options']=_0x59467b,_0x3a0aea['length']>0x2||''!==_0x3a0aea[0x0]||''!==_0x3a0aea[0x1]?(this['r']=Array(_0x3a0aea['length']-0x1)['fill'](new String()),this['strings']=_0x3a0aea):this['r']=_0xbeb5f3;}['ce'](_0x24f343,t=this,_0x42ed07,_0x38cc41){let _0x1aac4e=this['strings'],_0x101d37=!0x1;if(void 0x0===_0x1aac4e)_0x24f343=_0x33de2e(this,_0x24f343,t,0x0),_0x101d37=!_0x2b0147(_0x24f343)||_0x24f343!==this['r']&&_0x24f343!==_0x3420cb,_0x101d37&&(this['r']=_0x24f343);else{let _0x14dd83,_0x5e3f4c,_0x258f49=_0x24f343;for(_0x24f343=_0x1aac4e[0x0],_0x14dd83=0x0;_0x14dd83<_0x1aac4e['length']-0x1;_0x14dd83++)_0x5e3f4c=_0x33de2e(this,_0x258f49[_0x42ed07+_0x14dd83],t,_0x14dd83),_0x5e3f4c===_0x3420cb&&(_0x5e3f4c=this['r'][_0x14dd83]),_0x101d37||=!_0x2b0147(_0x5e3f4c)||_0x5e3f4c!==this['r'][_0x14dd83],_0x5e3f4c===_0xbeb5f3?_0x24f343=_0xbeb5f3:_0x24f343!==_0xbeb5f3&&(_0x24f343+=(_0x5e3f4c??'')+_0x1aac4e[_0x14dd83+0x1]),this['r'][_0x14dd83]=_0x5e3f4c;}_0x101d37&&!_0x38cc41&&this['j'](_0x24f343);}['j'](_0x313be9){_0x313be9===_0xbeb5f3?this['element']['removeAttribute'](this['name']):this['element']['setAttribute'](this['name'],_0x313be9??'');}},_0x4d2dac=class extends _0x1acba1{constructor(){super(...arguments),this['type']=0x3;}['j'](_0x32a1d9){this['element'][this['name']]=_0x32a1d9===_0xbeb5f3?void 0x0:_0x32a1d9;}},_0x495633=class extends _0x1acba1{constructor(){super(...arguments),this['type']=0x4;}['j'](_0x37dc1a){this['element']['toggleAttribute'](this['name'],!!_0x37dc1a&&_0x37dc1a!==_0xbeb5f3);}},_0x57ea4b=class extends _0x1acba1{constructor(_0x10ec98,t,_0x3eb012,_0x575aab,_0x4b8e1b){super(_0x10ec98,t,_0x3eb012,_0x575aab,_0x4b8e1b),this['type']=0x5;}['ce'](_0x58a203,t=this){if((_0x58a203=_0x33de2e(this,_0x58a203,t,0x0)??_0xbeb5f3)===_0x3420cb)return;let _0xc774a5=this['r'],_0xded567=_0x58a203===_0xbeb5f3&&_0xc774a5!==_0xbeb5f3||_0x58a203['capture']!==_0xc774a5['capture']||_0x58a203['once']!==_0xc774a5['once']||_0x58a203['passive']!==_0xc774a5['passive'],_0x32b61a=_0x58a203!==_0xbeb5f3&&(_0xc774a5===_0xbeb5f3||_0xded567);_0xded567&&this['element']['removeEventListener'](this['name'],this,_0xc774a5),_0x32b61a&&this['element']['addEventListener'](this['name'],this,_0x58a203),this['r']=_0x58a203;}['handleEvent'](_0x501f35){'function'==typeof this['r']?this['r']['call'](this['options']?.['host']??this['element'],_0x501f35):this['r']['handleEvent'](_0x501f35);}},_0x187cfa=class{constructor(_0xd7a681,t,_0x3f8aa5){this['element']=_0xd7a681,this['type']=0x6,this['le']=void 0x0,this['f']=t,this['options']=_0x3f8aa5;}get['W'](){return this['f']['W'];}['ce'](_0x5a3cb6){_0x33de2e(this,_0x5a3cb6);}},_0x20dc63={'I':_0x174b6e},_0x4a83f6=_0x435c6d['litHtmlPolyfillSupport'];_0x4a83f6?.(_0x50354c,_0x174b6e),(_0x435c6d['litHtmlVersions']??=[])['push']('3.3.2');var _0x1d6e42=globalThis,_0x35d7dc=class extends _0x3768b7{constructor(){super(...arguments),this['renderOptions']={'host':this},this['Zr']=void 0x0;}['createRenderRoot'](){let _0x3c1f4f=super['createRenderRoot']();return this['renderOptions']['renderBefore']??=_0x3c1f4f['firstChild'],_0x3c1f4f;}['update'](_0x387514){let t=this['render']();this['hasUpdated']||(this['renderOptions']['isConnected']=this['isConnected']),super['update'](_0x387514),this['Zr']=((_0x499c43,_0x258ab3,t)=>{let _0x5a2160=t?.['renderBefore']??_0x258ab3,_0x371c46=_0x5a2160['Uc'];if(void 0x0===_0x371c46){let _0x2501eb=t?.['renderBefore']??null;_0x5a2160['Uc']=_0x371c46=new _0x174b6e(_0x258ab3['insertBefore'](_0x385867(),_0x2501eb),_0x2501eb,void 0x0,t??{});}return _0x371c46['ce'](_0x499c43),_0x371c46;})(t,this['renderRoot'],this['renderOptions']);}['connectedCallback'](){super['connectedCallback'](),this['Zr']?.['setConnected'](!0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Zr']?.['setConnected'](!0x1);}['render'](){return _0x3420cb;}};_0x35d7dc['jp']=!0x0,_0x35d7dc['finalized']=!0x0,_0x1d6e42['litElementHydrateSupport']?.({'LitElement':_0x35d7dc});var _0x1d4f17=_0x1d6e42['litElementPolyfillSupport'];_0x1d4f17?.({'LitElement':_0x35d7dc}),(_0x1d6e42['litElementVersions']??=[])['push']('4.2.2');var _0x4339ce=/\\([0-9a-fA-F]{1,6} ?)/g;function _0x399f57(_0x49ee0b){return class _0x258eba extends _0x49ee0b{constructor(){super(...arguments),this['Qs']=null,this['Yr']=null;}['getCssData'](_0x34edbc,_0x25caef=!0x1){let _0x21a371=this['Qs']??Object['create'](null);if(!Object['keys'](_0x21a371)['includes'](_0x34edbc)||!_0x21a371[_0x34edbc]){this['Yr']||(this['Yr']=window['getComputedStyle'](this));let _0x366c1c=this['Yr']['getPropertyValue'](_0x34edbc)['trim']();try{_0x21a371[_0x34edbc]=function(_0x205ed4){let _0x1ccf57=_0x205ed4;(function(_0x4673de){return!(_0x4673de['length']<0x2||'\x22'!==_0x4673de[0x0]&&'\x27'!==_0x4673de[0x0]||'\x22'!==_0x4673de[_0x4673de['length']-0x1]&&'\x27'!==_0x4673de[_0x4673de['length']-0x1]);}(_0x205ed4)&&(_0x1ccf57=function(_0x5564c7){let _0x3b0c4d=_0x5564c7;return('\x22'===_0x3b0c4d[0x0]||'\x27'===_0x3b0c4d[0x0])&&(_0x3b0c4d=_0x3b0c4d['slice'](0x1)),('\x22'===_0x3b0c4d[_0x3b0c4d['length']-0x1]||'\x27'===_0x3b0c4d[_0x3b0c4d['length']-0x1])&&(_0x3b0c4d=_0x3b0c4d['slice'](0x0,-0x1)),_0x3b0c4d;}(_0x1ccf57),_0x1ccf57=_0x1ccf57['replace'](_0x4339ce,(t,_0x434d0d)=>String['fromCodePoint'](parseInt(_0x434d0d['trim'](),0x10))),_0x1ccf57=_0x1ccf57['replaceAll']('\x5c\x20','\x5cn'),_0x1ccf57=function(_0x581a9c){let _0x31a263='',t='';for(let _0x464c31=0x0;_0x464c31<_0x581a9c['length'];_0x464c31++){let _0x3024cf=_0x581a9c[_0x464c31+0x1];'\x5c'===_0x581a9c[_0x464c31]&&'\x22'===_0x3024cf?(_0x31a263+='\x5c\x22',_0x464c31++):'\x22'===_0x581a9c[_0x464c31]&&'\x5c'!==t?_0x31a263+='\x5c\x22':_0x31a263+=_0x581a9c[_0x464c31],t=_0x581a9c[_0x464c31]??'';}return _0x31a263;}(_0x1ccf57),_0x1ccf57='\x22'+_0x1ccf57+'\x22'));try{return JSON['parse'](_0x1ccf57);}catch{return;}}(_0x366c1c);}catch(_0x368434){_0x25caef||console['warn']('CSS\x20Data\x20error:\x20'+_0x34edbc,_0x368434),_0x21a371[_0x34edbc]=null;}}return this['Qs']=_0x21a371,_0x21a371[_0x34edbc];}};}function _0x45474e(_0x3e3b99){return class _0x1ce98d extends _0x3e3b99{constructor(){super(...arguments),this['willYield']=!0x0,this['Ve']={},this['_e']=null,this['$i']=!0x1;}['createRenderRoot'](){return this;}['connectedCallback'](){this['_e']||(this['_e']=Array['from'](this['childNodes'])),super['connectedCallback']();}['$c'](){if(this['$i'])return;this['$i']=!0x0,this['Ve']={};let _0x4239d0=Array['from'](this['childNodes']),_0x276436=_0x4239d0['length']?_0x4239d0:this['_e']??[];for(let _0x4bb82d of _0x276436){let _0x16d3ad=this['Js'](_0x4bb82d),_0xf5d5da=this['Ve'][_0x16d3ad]??[];_0x4bb82d instanceof Element&&(_0x4bb82d['removeAttribute']('slot'),_0x4bb82d['removeAttribute']('content-for')),_0xf5d5da['push'](_0x4bb82d),this['Ve'][_0x16d3ad]=_0xf5d5da;}this['_e']=null;}['Js'](_0x515ad0){return _0x515ad0 instanceof Comment&&_0x515ad0['nextSibling']instanceof Element?this['Js'](_0x515ad0['nextSibling']):'contentFor'in _0x515ad0?_0x515ad0['contentFor']||'':_0x515ad0 instanceof Element&&_0x515ad0['hasAttribute']('content-for')&&_0x515ad0['getAttribute']('content-for')||'';}['Dc'](_0x32faa8){return!_0x32faa8['textContent']||!_0x32faa8['textContent']['trim']();}['Fc'](_0x184a42){let _0x4ff814=this['Ve'][_0x184a42];return!_0x4ff814||_0x4ff814['every'](_0x15c31e=>_0x15c31e instanceof Comment||_0x15c31e instanceof Text&&this['Dc'](_0x15c31e));}['update'](_0x15a2b9){!this['hasUpdated']&&this['willYield']&&this['$c'](),super['update'](_0x15a2b9);}['yield'](_0x183622,_0x3925ef){if(''===_0x183622&&!this['Ve'][_0x183622]&&!this['$i']&&this['_e']?.['length']){let _0x5120e7=[];for(let _0x2120ca of this['_e'])_0x2120ca instanceof Element&&(_0x2120ca['removeAttribute']('slot'),_0x2120ca['removeAttribute']('content-for')),_0x5120e7['push'](_0x2120ca);this['Ve'][_0x183622]=_0x5120e7,this['$i']=!0x0,this['_e']=null;}return _0x19f5e4` ${this['Ve'][_0x183622]} ${this['Fc'](_0x183622)?_0x3925ef:void 0x0} `;}};}function _0x428ff4(_0x2e1640){return class _0x18f696 extends _0x2e1640{static['reg'](_0x5e9c48){let _0x2a6ca8=this,_0x28a04e=window['customElements']['get'](_0x5e9c48);_0x28a04e?_0x28a04e!==_0x2a6ca8&&console['warn'](['Element\x20with\x20tag\x20name\x20\x22'+_0x5e9c48+'\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']('\x20')):window['customElements']['define'](_0x5e9c48,_0x2a6ca8);}};}var _0x2f8bf1=class extends Event{constructor(_0x2cc358,t,_0x592bb7,_0x15ac8e){super('context-request',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x2cc358,this['contextTarget']=t,this['callback']=_0x592bb7,this['subscribe']=_0x15ac8e??!0x1;}},_0x21f76d=class{constructor(_0x2c56a1,t,_0x48ded8,_0x5ea886){if(this['subscribe']=!0x1,this['provided']=!0x1,this['value']=void 0x0,this['t']=(_0x3a8abe,_0xc76cab)=>{this['unsubscribe']&&(this['unsubscribe']!==_0xc76cab&&(this['provided']=!0x1,this['unsubscribe']()),this['subscribe']||this['unsubscribe']()),this['value']=_0x3a8abe,this['host']['requestUpdate'](),this['provided']&&!this['subscribe']||(this['provided']=!0x0,this['callback']&&this['callback'](_0x3a8abe,_0xc76cab)),this['unsubscribe']=_0xc76cab;},this['host']=_0x2c56a1,void 0x0!==t['context']){let _0x4892c6=t;this['context']=_0x4892c6['context'],this['callback']=_0x4892c6['callback'],this['subscribe']=_0x4892c6['subscribe']??!0x1;}else this['context']=t,this['callback']=_0x48ded8,this['subscribe']=_0x5ea886??!0x1;this['host']['addController'](this);}['hostConnected'](){this['dispatchRequest']();}['hostDisconnected'](){this['unsubscribe']&&(this['unsubscribe'](),this['unsubscribe']=void 0x0);}['dispatchRequest'](){this['host']['dispatchEvent'](new _0x2f8bf1(this['context'],this['host'],this['t'],this['subscribe']));}},_0x145adb=class{get['value'](){return this['o'];}set['value'](_0x13f280){this['setValue'](_0x13f280);}['setValue'](_0x5c0a24,t=!0x1){let _0x3f8084=t||!Object['is'](_0x5c0a24,this['o']);this['o']=_0x5c0a24,_0x3f8084&&this['updateObservers']();}constructor(_0x35b63b){this['subscriptions']=new Map(),this['updateObservers']=()=>{for(let [t,{disposer:_0x54718c}]of this['subscriptions'])t(this['o'],_0x54718c);},void 0x0!==_0x35b63b&&(this['value']=_0x35b63b);}['addCallback'](_0x2ef15b,t,_0x468f8d){if(!_0x468f8d)return void _0x2ef15b(this['value']);this['subscriptions']['has'](_0x2ef15b)||this['subscriptions']['set'](_0x2ef15b,{'disposer':()=>{this['subscriptions']['delete'](_0x2ef15b);},'consumerHost':t});let {disposer:_0x3ad9a9}=this['subscriptions']['get'](_0x2ef15b);_0x2ef15b(this['value'],_0x3ad9a9);}['clearCallbacks'](){this['subscriptions']['clear']();}},_0x488b63=class extends Event{constructor(_0x5981d7,t){super('context-provider',{'bubbles':!0x0,'composed':!0x0}),this['context']=_0x5981d7,this['contextTarget']=t;}},_0x42645a=class extends _0x145adb{constructor(_0x4dac13,t,_0x2bea2e){super(void 0x0!==t['context']?t['initialValue']:_0x2bea2e),this['onContextRequest']=_0x15e947=>{if(_0x15e947['context']!==this['context'])return;let _0x5aa5e4=_0x15e947['contextTarget']??_0x15e947['composedPath']()[0x0];_0x5aa5e4!==this['host']&&(_0x15e947['stopPropagation'](),this['addCallback'](_0x15e947['callback'],_0x5aa5e4,_0x15e947['subscribe']));},this['onProviderRequest']=_0x50b7a0=>{if(_0x50b7a0['context']!==this['context']||(_0x50b7a0['contextTarget']??_0x50b7a0['composedPath']()[0x0])===this['host'])return;let _0x5ec657=new Set();for(let [_0x371dd6,{consumerHost:_0x400e12}]of this['subscriptions'])_0x5ec657['has'](_0x371dd6)||(_0x5ec657['add'](_0x371dd6),_0x400e12['dispatchEvent'](new _0x2f8bf1(this['context'],_0x400e12,_0x371dd6,!0x0)));_0x50b7a0['stopPropagation']();},this['host']=_0x4dac13,void 0x0!==t['context']?this['context']=t['context']:this['context']=t,this['attachListeners'](),this['host']['addController']?.(this);}['attachListeners'](){this['host']['addEventListener']('context-request',this['onContextRequest']),this['host']['addEventListener']('context-provider',this['onProviderRequest']);}['hostConnected'](){this['host']['dispatchEvent'](new _0x488b63(this['context'],this['host']));}},_0x4a0672={'attribute':!0x0,'type':String,'converter':_0x2e0889,'reflect':!0x1,'hasChanged':_0x72017a},_0x49246f=(_0x309212=_0x4a0672,_0x11d202,t)=>{let {kind:_0x368863,metadata:_0xe36d97}=t,_0x4be361=globalThis['litPropertyMetadata']['get'](_0xe36d97);if(void 0x0===_0x4be361&&globalThis['litPropertyMetadata']['set'](_0xe36d97,_0x4be361=new Map()),'setter'===_0x368863&&((_0x309212=Object['create'](_0x309212))['wrapped']=!0x0),_0x4be361['set'](t['name'],_0x309212),'accessor'===_0x368863){let {name:_0x1a1a1b}=t;return{'set'(_0x649e9d){let _0x22d5f0=_0x11d202['get']['call'](this);_0x11d202['set']['call'](this,_0x649e9d),this['requestUpdate'](_0x1a1a1b,_0x22d5f0,_0x309212,!0x0,_0x649e9d);},'init'(_0x2ef36e){return void 0x0!==_0x2ef36e&&this['C'](_0x1a1a1b,void 0x0,_0x309212,_0x2ef36e),_0x2ef36e;}};}if('setter'===_0x368863){let {name:_0x217ea5}=t;return function(_0x2f04d9){let _0x18a8e3=this[_0x217ea5];_0x11d202['call'](this,_0x2f04d9),this['requestUpdate'](_0x217ea5,_0x18a8e3,_0x309212,!0x0,_0x2f04d9);};}throw Error('Unsupported\x20decorator\x20location:\x20'+_0x368863);};function _0x4331b3(_0x1187e7){return(_0x54d9f6,t)=>'object'==typeof t?_0x49246f(_0x1187e7,_0x54d9f6,t):((_0x346981,_0x1e7aa1,_0x4ed83b)=>{let _0x518617=_0x1e7aa1['hasOwnProperty'](_0x4ed83b);return _0x1e7aa1['constructor']['createProperty'](_0x4ed83b,_0x346981),_0x518617?Object['getOwnPropertyDescriptor'](_0x1e7aa1,_0x4ed83b):void 0x0;})(_0x1187e7,_0x54d9f6,t);}function _0x511660(_0x1300dd){return _0x4331b3({..._0x1300dd,'state':!0x0,'attribute':!0x1});}function _0x5184f3(_0x117bdc,_0x38fe60){let t,_0x34bdb6=(..._0x50674a)=>{t&&clearTimeout(t),t=setTimeout(()=>_0x117bdc(..._0x50674a),_0x38fe60);};return _0x34bdb6['cancel']=()=>{t&&clearTimeout(t);},_0x34bdb6;}var _0x2b1e8e='ctx-name-context';function _0x318d1c(){return function(_0x30ed8e){class _0x5be8bd extends _0x30ed8e{constructor(..._0xe6b136){super(..._0xe6b136),this['ee']=null,this['Zt']=!0x1,this['Xr']=!0x1,this['Qr']=void 0x0,this['wt']=new Map(),this['Yt']=new Set(),this['init$']={},this['ctxOwner']=!0x1,this['Di']=void 0x0,this['Fi']=!0x1,this['ctxName']=this['Ae'],this['ke']=!0x1,this['Di']=this['getAttribute']('ctx-name')||void 0x0,this['ctxName']=this['Ae'],this['Nc']=new _0x21f76d(this,{'context':_0x2b1e8e,'callback':_0x3113b4=>{_0x3113b4?(this['rn']=_0x3113b4,this['tn']()):console['error']('SymbioteMixin:\x20Received\x20invalid\x20ctx-name\x20from\x20context');},'subscribe':!0x0});}static set['template'](_0x29d323){console['error']('Caution:\x20static\x20\x27template\x27\x20property\x20is\x20deprecated\x20and\x20has\x20no\x20effect.\x20See\x20https://github.com/uploadcare/file-uploader/releases/tag/v1.25.0\x20for\x20details.');}get['en'](){return this['Di'];}set['en'](_0x337d09){let _0x1c8053=_0x337d09??void 0x0;this['Di']!==_0x1c8053&&(this['Di']=_0x1c8053,this['tn']());}['shouldUpdate'](_0x544aa1){return!!this['ke']&&super['shouldUpdate'](_0x544aa1);}get['Ae'](){return this['en']||this['rn']||void 0x0;}['tn'](){if(this['ctxName']=this['Ae'],this['ctxName']&&!this['Zt']){if(this['isConnected'])return void this['Jr']();this['Fi']=!0x0;}}['willUpdate'](_0x447b59){super['willUpdate'](_0x447b59),this['ctxName']=this['Ae'],this['ctxName']&&(this['Qr']?this['Qr']['setValue'](this['ctxName']):this['Qr']=new _0x42645a(this,{'context':_0x2b1e8e,'initialValue':this['ctxName']}));}['sn'](){if(this['ee']&&0x0!==this['wt']['size']){for(let [_0x192da,{value:_0x341f7a,rewrite:_0x29b7b9}]of this['wt'])this['ee']['add'](_0x192da,_0x341f7a,_0x29b7b9);this['wt']['clear']();}}['nn'](){return!this['ee']&&this['Ae']&&this['eo'](),this['ee']&&this['sn'](),this['ee'];}['Ni'](){let _0x2f2466=this['nn']();if(!_0x2f2466)throw new Error('SymbioteMixin:\x20Shared\x20context\x20is\x20not\x20initialized.');return _0x2f2466;}['eo'](){let _0x2e21a4=this['init$'],_0x285e94=this['Ae'];if(_0x285e94){if(!this['ee']){this['ee']=_0x3c0549['getCtx'](_0x285e94)??_0x3c0549['registerCtx'](_0x2e21a4,_0x285e94);for(let [_0x9e1d9,_0x42b0b1]of Object['entries'](this['init$']))this['ee']['add'](_0x9e1d9,_0x42b0b1,this['ctxOwner']);this['sn']();}}else console['error']('SymbioteMixin:\x20ctx-name\x20is\x20required\x20for\x20components\x20with\x20shared\x20properties\x20(*)');}get['$'](){return this['Ae']&&this['eo'](),new Proxy({},{'get':(_0x36a090,_0x9808c8)=>{if('string'==typeof _0x9808c8)return this['ee']?.['read'](_0x9808c8);},'set':(_0x2dd82b,_0x3bc866,_0x3a61db)=>('string'!=typeof _0x3bc866||this['ee']?.['pub'](_0x3bc866,_0x3a61db),!0x0)});}['sub'](_0x225573,_0x1b67d1,_0x8a5e17=!0x0){let _0x49d5ba=this['Ni']()['sub'](_0x225573,_0x1b67d1,_0x8a5e17);if(!_0x49d5ba||'function'!=typeof _0x49d5ba)return()=>{};let _0x35c1ff=_0x49d5ba['bind'](_0x49d5ba),_0x21a3c=!0x1,_0x58ae4c=()=>{_0x21a3c||(_0x21a3c=!0x0,_0x35c1ff(),this['Yt']['delete'](_0x58ae4c));};return this['Yt']['add'](_0x58ae4c),_0x58ae4c;}['pub'](_0x48b0ba,_0x36a31e){this['Ni']()['pub'](_0x48b0ba,_0x36a31e);}['set$'](_0x351715){for(let [_0x28c454,_0x2e837f]of Object['entries'](_0x351715))this['pub'](_0x28c454,_0x2e837f);}get['sharedCtx'](){return this['Ni']();}['has'](_0x847e0a){return this['ee']?.['has'](_0x847e0a)??!0x1;}['add'](_0x168aff,_0x558203,_0x55de4c=!0x1){let _0x53fa6b=this['nn']();if(_0x53fa6b)this['wt']['delete'](_0x168aff),_0x53fa6b['add'](_0x168aff,_0x558203,_0x55de4c);else{if(!_0x55de4c&&this['wt']['has'](_0x168aff))return;this['wt']['set'](_0x168aff,{'value':_0x558203,'rewrite':_0x55de4c});}}['add$'](_0x2f14da,_0x3d6f99=!0x1){for(let [_0x2e7480,_0xd2e99]of Object['entries'](_0x2f14da))this['add'](_0x2e7480,_0xd2e99,_0x3d6f99);}['connectedCallback'](){super['connectedCallback'](),this['Zt']?this['ke']&&this['Xr']&&(this['Xr']=!0x1,this['initCallback']()):(this['ctxName']||this['Fi']&&this['Ae'])&&(this['Fi']=!0x1,this['Jr']());}['Jr'](){if(this['Zt'])return;this['Zt']=!0x0,this['eo']();let _0x19421f=this['init$'];if(Object['keys'](_0x19421f)['length']>0x0){let _0x15fc3d=this['Ni']();for(let [_0x5719c6,_0x2dd346]of Object['entries'](_0x19421f))void 0x0===_0x15fc3d['read'](_0x5719c6)&&_0x15fc3d['pub'](_0x5719c6,_0x2dd346),this['sub'](_0x5719c6,_0x5184f3(async()=>{this['isConnected']&&(await this['updateComplete'],this['requestUpdate']());},0x0),!0x1);}this['initCallback'](),this['ke']=!0x0,this['requestUpdate']();}['firstUpdated'](_0x2e30e1){super['firstUpdated'](_0x2e30e1);}['disconnectedCallback'](){this['Vc'](),super['disconnectedCallback'](),this['Zt']&&(this['Xr']=!0x0);}['Vc'](){if(0x0!==this['Yt']['size']){for(let _0x5f04a8 of[...this['Yt']])_0x5f04a8();this['Yt']['clear']();}}['initCallback'](){}}return _0x507457([_0x4331b3({'type':String,'attribute':'ctx-name','noAccessor':!0x0})],_0x5be8bd['prototype'],'en',0x1),_0x507457([_0x511660()],_0x5be8bd['prototype'],'rn',0x2),_0x507457([_0x511660()],_0x5be8bd['prototype'],'ctxName',0x2),_0x507457([_0x511660()],_0x5be8bd['prototype'],'ke',0x2),_0x5be8bd;};}var _0x8705d0=class extends _0x428ff4(_0x318d1c()(_0x399f57(_0x45474e(_0x35d7dc)))){},_0x3a94a4=class _0xa780e5{static['generateFastUid'](){return'uid-'+Date['now']()['toString'](0x24)+'-'+Math['random']()['toString'](0x24)['slice'](0x2,0xb);}static['generateRandomUUID'](){let _0xed3521=globalThis['crypto'];return _0xed3521&&'function'==typeof _0xed3521['randomUUID']?_0xed3521['randomUUID']():_0xa780e5['generateFastUid']();}},_0x407c27=['UploaderBlock','ActivityBlock','Block','SolutionBlock'];function _0x524a40(_0x23cc56){for(let _0x3c7e80 in _0x23cc56){if(_0x407c27['includes'](_0x3c7e80))continue;let t=[..._0x3c7e80]['reduce']((_0x54b55c,_0x4cf83d)=>(_0x4cf83d['toUpperCase']()===_0x4cf83d&&(_0x4cf83d='-'+_0x4cf83d['toLowerCase']()),_0x54b55c+=_0x4cf83d),'');t['startsWith']('-')&&(t=t['replace']('-','')),t['startsWith']('uc-')||(t='uc-'+t),_0x23cc56[_0x3c7e80]['reg']&&_0x23cc56[_0x3c7e80]['reg'](t);}}var _0x32c1de='UC';function _0x5bbe60(_0x338cda,_0x5d8411=!0x1){return new Promise((t,_0x330fcf)=>{if('object'!=typeof document)return void t(null);if('object'==typeof window&&window[_0x32c1de])return void t(window[_0x32c1de]);let _0x46c791=document['createElement']('script');_0x46c791['async']=!0x0,_0x46c791['src']=_0x338cda,_0x46c791['onerror']=()=>{_0x330fcf();},_0x46c791['onload']=()=>{let _0x44647c=window[_0x32c1de];_0x5d8411&&_0x524a40(_0x44647c),t(_0x44647c);},document['head']['appendChild'](_0x46c791);});}var _0x47a79b={'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','drop-file-here':'Drop\x20file\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-mobile-video-camera':'Video','src-type-mobile-photo-camera':'Photo','src-type-facebook':'Facebook','src-type-dropbox':'Dropbox','src-type-gdrive':'Google\x20Drive','src-type-ngdrive':'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-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\x20occurred.\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','a11y-cloud-editor-apply-aspect-ratio':'Apply\x20operation\x20{{name}}\x20{{value}}','finished':'Finished','failed':'Failed','uploading':'Uploading','idle':'Idle','a11y-file-item-status':'File\x20{{fileName}}\x20in\x20status\x20{{status}}','waiting-for':'Waiting\x20for\x20{{source}}','queued-uploading':'Queued\x20for\x20upload','queued-validation':'Queued\x20for\x20validation','validation':'Validating','crop-to-shape':'Crop\x20to\x20{{value}}','custom':'Freeform','freeform-crop':'Freeform\x20crop'},_0x2c1760=new Map(),_0x20572a=new Map(),_0x224398=(_0x1f68b5,_0xb2e031)=>{_0x2c1760['has'](_0x1f68b5)&&console['log']('Locale\x20'+_0x1f68b5+'\x20is\x20already\x20defined.\x20Overwriting...');let t={..._0x47a79b,..._0xb2e031};return _0x2c1760['set'](_0x1f68b5,t),t;},_0xdd7229=(_0x47fbb3,_0x3dad0c)=>{'function'==typeof _0x3dad0c?((_0x2d68ce,_0x2197f4)=>{_0x20572a['set'](_0x2d68ce,_0x2197f4);})(_0x47fbb3,_0x3dad0c):_0x224398(_0x47fbb3,_0x3dad0c);};_0xdd7229('en',_0x47a79b);var tY=_0x3699c7=>'*cfg/'+_0x3699c7,_0x182d3c=_0x5c94be=>_0x5c94be?_0x5c94be['split'](',')['map'](_0xc78ac9=>_0xc78ac9['trim']())['filter'](Boolean):[],_0x1734fe=_0x17e5d9=>_0x17e5d9['join'](','),_0xc51918=_0x567c81=>{if('string'!=typeof _0x567c81||!_0x567c81)return'';let _0x14bcfa=_0x567c81['trim']();return _0x14bcfa['startsWith']('-/')?_0x14bcfa=_0x14bcfa['slice'](0x2):_0x14bcfa['startsWith']('/')&&(_0x14bcfa=_0x14bcfa['slice'](0x1)),_0x14bcfa['endsWith']('/')&&(_0x14bcfa=_0x14bcfa['slice'](0x0,_0x14bcfa['length']-0x1)),_0x14bcfa;},_0x11a0d3=(..._0x2f86a4)=>_0x2f86a4['filter'](_0x442878=>'string'==typeof _0x442878&&!!_0x442878)['map'](_0x45f8c4=>_0xc51918(_0x45f8c4))['join']('/-/'),_0x525a54=(..._0x2ccab4)=>{let _0x26a420=_0x11a0d3(..._0x2ccab4);return _0x26a420?'-/'+_0x26a420+'/':'';};function _0x1c350a(_0x591c4d){let _0xf83ac6=new URL(_0x591c4d),t=_0xf83ac6['pathname']+_0xf83ac6['search']+_0xf83ac6['hash'],_0x398650=t['lastIndexOf']('http'),_0x343e15=t['lastIndexOf']('/'),_0x2bfa4f='';return _0x398650>=0x0?_0x2bfa4f=t['slice'](_0x398650):_0x343e15>=0x0&&(_0x2bfa4f=t['slice'](_0x343e15+0x1)),_0x2bfa4f;}function _0x4bfe2f(_0x4d6d65){let {pathname:t}=new URL(_0x4d6d65),_0x22f339=t['indexOf']('/'),_0x3e4f05=t['indexOf']('/',_0x22f339+0x1);return t['substring'](_0x22f339+0x1,_0x3e4f05);}function _0x3e0313(_0x13f268){let _0x35217b=_0x2a85c9(_0x13f268),t=new URL(_0x35217b),_0x3c6d3b=t['pathname']['indexOf']('/-/');return-0x1===_0x3c6d3b?'':t['pathname']['substring'](_0x3c6d3b)['slice'](0x1);}function _0x2a17bb(_0x478da1){return _0x3e0313(_0x478da1)['split']('/-/')['filter'](Boolean)['map'](t=>_0xc51918(t));}function _0x2a85c9(_0x118ddc){let _0x21b4a8=new URL(_0x118ddc),t=_0x1c350a(_0x118ddc),_0x5c46e7=_0x282bf5(t)?_0x4b1b72(t)['pathname']:t;return _0x21b4a8['pathname']=_0x21b4a8['pathname']['replace'](_0x5c46e7,''),_0x21b4a8['search']='',_0x21b4a8['hash']='',_0x21b4a8['toString']();}function _0x282bf5(_0x318e46){return _0x318e46['startsWith']('http');}function _0x4b1b72(_0x516d42){let _0x5e4060=new URL(_0x516d42);return{'pathname':''+_0x5e4060['origin']+(_0x5e4060['pathname']??''),'search':_0x5e4060['search']??'','hash':_0x5e4060['hash']??''};}var _0x32f032=(_0x21ee5e,_0x5545ad,t)=>{let _0x4b0702=new URL(_0x2a85c9(_0x21ee5e)),_0x301818=t??_0x1c350a(_0x21ee5e),_0x556127=_0x5545ad??'';if(_0x4b0702['pathname']['startsWith']('//')&&(_0x4b0702['pathname']=_0x4b0702['pathname']['replace']('//','/')),_0x301818&&_0x282bf5(_0x301818)){let _0x49a389=_0x4b1b72(_0x301818);_0x4b0702['pathname']=''+_0x4b0702['pathname']+_0x556127+(_0x49a389['pathname']||''),_0x4b0702['search']=_0x49a389['search'],_0x4b0702['hash']=_0x49a389['hash'];}else _0x4b0702['pathname']=''+_0x4b0702['pathname']+_0x556127+(_0x301818||'');return _0x4b0702['toString']();},_0x1ee295=(_0x3e03c4,_0x1de60a)=>{let t=new URL(_0x3e03c4);return t['pathname']=_0x1de60a+'/',t['toString']();},_0x430ffa=(_0x2522fb,_0x18443e=',')=>_0x2522fb['trim']()['split'](_0x18443e)['map'](t=>t['trim']())['filter'](t=>t['length']>0x0),_0x38780f=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}),_0x277e29=['enhance','brightness','exposure','gamma','contrast','saturation','vibrance','warmth','filter','mirror','flip','rotate','crop'];function _0x7dacaf(_0x1ece35){return _0x11a0d3(..._0x277e29['filter'](_0x5d8a2d=>typeof _0x1ece35[_0x5d8a2d]<'u'&&null!==_0x1ece35[_0x5d8a2d])['map'](_0xc99700=>function(_0x1e8ee2,_0x494f8b){if('number'==typeof _0x494f8b){let t=_0x494f8b;return _0x38780f[_0x1e8ee2]!==t?_0x1e8ee2+'/'+t:'';}if('boolean'==typeof _0x494f8b){let t=_0x494f8b;return _0x38780f[_0x1e8ee2]!==t?''+_0x1e8ee2:'';}if('filter'===_0x1e8ee2&&_0x494f8b){let {name:t,amount:_0x2748c2}=_0x494f8b;return _0x38780f['filter']===_0x2748c2?'':_0x1e8ee2+'/'+t+'/'+_0x2748c2;}if('crop'===_0x1e8ee2&&_0x494f8b){let {dimensions:t,coords:_0x580a72}=_0x494f8b;return _0x1e8ee2+'/'+t['join']('x')+'/'+_0x580a72['join'](',');}return'';}(_0xc99700,_0x1ece35[_0xc99700]))['filter'](_0x2b1d7b=>!!_0x2b1d7b));}var _0x4d9366=_0x11a0d3('format/auto','progressive/yes'),_0x5cd680=([_0x554083])=>typeof _0x554083<'u'?Number(_0x554083):void 0x0,_0x2e9625=()=>!0x0,_0x3651b2=Object['freeze']({'enhance':_0x5cd680,'brightness':_0x5cd680,'exposure':_0x5cd680,'gamma':_0x5cd680,'contrast':_0x5cd680,'saturation':_0x5cd680,'vibrance':_0x5cd680,'warmth':_0x5cd680,'filter':([_0x3aea36,_0x21facb])=>({'name':_0x3aea36,'amount':typeof _0x21facb<'u'?Number(_0x21facb):0x64}),'mirror':_0x2e9625,'flip':_0x2e9625,'rotate':_0x5cd680,'crop':_0x1a1ecc=>{let [_0x174d41,t]=_0x1a1ecc,{dimensions:_0x21920f,coords:_0x357e5c}=(([_0x55d4d8,_0x5aa819])=>{if(!/\d+x\d+/['test'](_0x55d4d8)||!/\d+,\d+/['test'](_0x5aa819))throw new Error('Crop\x20by\x20aspect\x20ratio,\x20percentage\x20or\x20alignment\x20shortcuts\x20is\x20not\x20supported.');return{'dimensions':_0x430ffa(_0x55d4d8,'x')['map'](Number),'coords':_0x430ffa(_0x5aa819)['map'](Number)};})([_0x174d41,t]);return{'dimensions':_0x21920f,'coords':_0x357e5c};}});function _0x4c3872(_0x51eb70){let _0x3b4d4b={};for(let t of _0x51eb70){let [_0x5f270c,..._0xe719b8]=t['split']('/');if(!_0x5f270c||!_0x277e29['includes'](_0x5f270c))continue;let _0x30082d=_0x5f270c,_0x3b6d66=_0x3651b2[_0x30082d];try{_0x3b4d4b[_0x30082d]=_0x3b6d66(_0xe719b8);}catch(_0x33961d){console['warn'](['Failed\x20to\x20parse\x20URL\x20operation\x20\x22'+t+'\x22.\x20It\x20will\x20be\x20ignored.',_0x33961d instanceof Error?'Error\x20message:\x20\x22'+_0x33961d['message']+'\x22':_0x33961d,'If\x20you\x20need\x20this\x20functionality,\x20please\x20feel\x20free\x20to\x20open\x20an\x20issue\x20at\x20https://github.com/uploadcare/blocks/issues/new']['join']('\x20'));}}return _0x3b4d4b;}var _0x129f00=Object['freeze']({'CROP':'crop','TUNING':'tuning','FILTERS':'filters'}),_0x4e51d2=Object['freeze']([_0x129f00['CROP'],_0x129f00['TUNING'],_0x129f00['FILTERS']]),_0x1014dc=Object['freeze'](['brightness','exposure','gamma','contrast','saturation','vibrance','warmth','enhance']),_0x527a9b=Object['freeze'](['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']),_0x27e341=Object['freeze'](['rotate','mirror','flip']),_0x107a90=_0x38780f,_0x3bd893=Object['freeze']({'brightness':{'zero':_0x107a90['brightness'],'range':[-0x64,0x64],'keypointsNumber':0x2},'exposure':{'zero':_0x107a90['exposure'],'range':[-0x1f4,0x1f4],'keypointsNumber':0x2},'gamma':{'zero':_0x107a90['gamma'],'range':[0x0,0x3e8],'keypointsNumber':0x2},'contrast':{'zero':_0x107a90['contrast'],'range':[-0x64,0x1f4],'keypointsNumber':0x2},'saturation':{'zero':_0x107a90['saturation'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'vibrance':{'zero':_0x107a90['vibrance'],'range':[-0x64,0x1f4],'keypointsNumber':0x1},'warmth':{'zero':_0x107a90['warmth'],'range':[-0x64,0x64],'keypointsNumber':0x1},'enhance':{'zero':_0x107a90['enhance'],'range':[0x0,0x64],'keypointsNumber':0x1},'filter':{'zero':_0x107a90['filter'],'range':[0x0,0x64],'keypointsNumber':0x1}}),_0x34e7a8='https://ucarecdn.com',_0xf704bf={'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','topLevelOrigin':'','maxLocalFileSizeBytes':0x0,'thumbSize':0x4c,'showEmptyList':!0x1,'useLocalImageEditor':!0x1,'removeCopyright':!0x1,'cropPreset':'','imageShrink':'','modalScrollLock':!0x0,'modalBackdropStrokes':!0x1,'sourceListWrap':!0x0,'remoteTabSessionKey':'','cdnCname':_0x34e7a8,'cdnCnamePrefixed':'https://ucarecd.net','baseUrl':'https://upload.uploadcare.com','socialBaseUrl':'https://social.uploadcare.com','secureSignature':'','secureExpire':'','secureDeliveryProxy':'','retryThrottledRequestMaxTimes':0x3,'retryNetworkErrorMaxTimes':0x3,'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':[],'validationTimeout':0x3a98,'validationConcurrency':0x64,'cameraModes':'photo,\x20video','defaultCameraMode':null,'enableAudioRecording':!0x0,'enableVideoRecording':null,'maxVideoRecordingDuration':null,'mediaRecorderOptions':null,'filesViewMode':'list','gridShowFileNames':!0x1,'useCloudImageEditor':!0x0,'cloudImageEditorAutoOpen':!0x1,'cloudImageEditorTabs':_0x1734fe(_0x4e51d2),'cloudImageEditorMaskHref':null,'testMode':!0x1,'qualityInsights':!0x0,'pasteScope':'local','plugins':[]},_0x50ad2a=Object['freeze'](_0xf704bf),_0x23ebf7=(_0x3420be,_0x60c3f4)=>(...t)=>{let _0x120ea8=_0x3420be();if(!_0x120ea8['read'](tY('debug')))return;let _0xb7c226=t;'function'==typeof t?.[0x0]&&(_0xb7c226=(0x0,t[0x0])());let _0x2e01a4=[_0x120ea8['id'],_0x60c3f4]['filter'](Boolean);console['log']('['+_0x2e01a4['join']('][')+']',..._0xb7c226);},_0x50c29b=class{constructor(_0x2c67ea){this['to']=new Set(),this['Be']=null,this['w']=_0x23ebf7(()=>this['i']['ctx'],this['constructor']['name']),this['i']=_0x2c67ea,this['e']=_0x2c67ea['ctx'];}['addSub'](_0x5284d5){this['to']['add'](_0x5284d5);}get['ze'](){if(!this['Be']){let _0x34a3c5={};this['Be']=new Proxy(_0x34a3c5,{'set':()=>{throw new Error('SharedInstance\x20cfg\x20proxy\x20is\x20read-only');},'get':(t,_0x4dad75)=>{if('string'!=typeof _0x4dad75)return;let _0x507d34=tY(_0x4dad75);return this['i']['ctx']['has'](_0x507d34)?this['i']['ctx']['read'](_0x507d34):_0x50ad2a[_0x4dad75];}});}return this['Be'];}['destroy'](){for(let _0x600b6d of this['to'])try{_0x600b6d();}catch{}this['to']['clear']();}},_0x7238c0={'modalManager':'*modalManager','pluginManager':'*pluginManager','telemetryManager':'*telemetryManager','localeManager':'*localeManager','a11y':'*a11y','clipboard':'*clipboard','blocksRegistry':'*blocksRegistry','eventEmitter':'*eventEmitter','uploadCollection':'*uploadCollection','secureUploadsManager':'*secureUploadsManager','api':'*publicApi','validationManager':'*validationManager'},_0x257552=(_0x4bc08b,_0x16ed84,t=!0x0)=>{let _0x1d94f8=_0x4bc08b['has'](_0x16ed84),_0x4eae8c=_0x1d94f8?_0x4bc08b['read'](_0x16ed84):null;if(_0x1d94f8&&_0x4eae8c||!t)return _0x4eae8c;throw new Error('Unexpected\x20error:\x20shared\x20instance\x20for\x20key\x20\x22'+String(_0x16ed84)+'\x22\x20is\x20not\x20available');},_0x59c904=_0x2731df=>({get 'ctx'(){return _0x2731df();},get 'modalManager'(){return _0x257552(_0x2731df(),'*modalManager',!0x1);},get 'pluginManager'(){return _0x257552(_0x2731df(),'*pluginManager');},get 'telemetryManager'(){return _0x257552(_0x2731df(),'*telemetryManager');},get 'localeManager'(){return _0x257552(_0x2731df(),'*localeManager');},get 'a11y'(){return _0x257552(_0x2731df(),'*a11y');},get 'blocksRegistry'(){return _0x257552(_0x2731df(),'*blocksRegistry');},get 'eventEmitter'(){return _0x257552(_0x2731df(),'*eventEmitter');},get 'uploadCollection'(){return _0x257552(_0x2731df(),'*uploadCollection');},get 'secureUploadsManager'(){return _0x257552(_0x2731df(),'*secureUploadsManager',!0x1);},get 'api'(){return _0x257552(_0x2731df(),'*publicApi');},get 'validationManager'(){return _0x257552(_0x2731df(),'*validationManager');},'when'(_0x369ca3,t){let _0x31322e,_0x2e0a1c=_0x7238c0[_0x369ca3],_0x4694ca=_0x2731df(),_0x4429d9=_0x4694ca['has'](_0x2e0a1c)?_0x4694ca['read'](_0x2e0a1c):void 0x0;return _0x4429d9?(t(_0x4429d9),()=>{}):(_0x31322e=_0x4694ca['sub'](_0x2e0a1c,_0x8b3f8=>{_0x8b3f8&&(t(_0x8b3f8),_0x31322e?.());}),_0x31322e);},'wait'(_0x43cd1f){return new Promise(t=>{let _0x36381c;_0x36381c=this['when'](_0x43cd1f,_0x1ad6ca=>{t(_0x1ad6ca),_0x36381c?.();});});}}),_0x2d41b7=Object['freeze']({'ADD':'modal:add','DELETE':'modal:delete','OPEN':'modal:open','CLOSE':'modal:close','CLOSE_ALL':'modal:closeAll','DESTROY':'modal:destroy'}),_0x1ae8b1=class extends _0x50c29b{constructor(){super(...arguments),this['He']=new Map(),this['ue']=new Set(),this['c']=new Map();}['registerModal'](t,_0x319632){this['He']['set'](t,_0x319632),this['q'](_0x2d41b7['ADD'],{'id':t,'modal':_0x319632});}['deleteModal'](t){let _0x3091fa=this['He']['get'](t);return!!_0x3091fa&&(this['He']['delete'](t),this['ue']['delete'](t),this['q'](_0x2d41b7['DELETE'],{'id':t,'modal':_0x3091fa}),!0x0);}['open'](t){let _0x36cca2=this['He']['get'](t);return _0x36cca2?(this['ue']['add'](t),this['q'](_0x2d41b7['OPEN'],{'modal':_0x36cca2,'id':t}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}['close'](t){let _0x3ee24b=this['He']['get'](t);return _0x3ee24b&&this['ue']['has'](t)?(this['ue']['delete'](t),this['q'](_0x2d41b7['CLOSE'],{'id':t,'modal':_0x3ee24b}),!0x0):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20or\x20not\x20active'),!0x1);}['toggle'](t){return this['He']['has'](t)?this['ue']['has'](t)?this['close'](t):this['open'](t):(this['w']('Modal\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found'),!0x1);}get['hasActiveModals'](){return this['ue']['size']>0x0;}['back'](){if(0x0===this['ue']['size'])return this['w']('No\x20active\x20modals\x20to\x20go\x20back\x20from'),!0x1;let t=Array['from'](this['ue'])['pop']();return!!t&&this['close'](t);}['closeAll'](){let t=this['ue']['size'];return this['ue']['clear'](),this['q'](_0x2d41b7['CLOSE_ALL'],{}),t;}['subscribe'](t,_0x3c9189){return this['c']['has'](t)||this['c']['set'](t,new Set()),this['c']['get'](t)?.['add'](_0x3c9189),()=>this['unsubscribe'](t,_0x3c9189);}['unsubscribe'](t,_0x2dde34){this['c']['has'](t)&&this['c']['get'](t)?.['delete'](_0x2dde34);}['q'](t,_0x5c5662){if(this['c']['has'](t)){for(let _0x466f20 of this['c']['get'](t)??new Set())try{_0x466f20(_0x5c5662);}catch(_0x54043b){this['i']['telemetryManager']['sendEventError'](_0x54043b,'modal\x20subscriber'),this['w']('Error\x20in\x20modal\x20subscriber:',_0x54043b);}}}['destroy'](){super['destroy'](),this['closeAll'](),this['He']['clear'](),this['c']['clear'](),this['q'](_0x2d41b7['DESTROY'],{});}},_0x5b0cc0=_0x571fce=>_0x571fce['match'](/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g)?.['map'](_0x44e5c4=>_0x44e5c4['toLowerCase']())['join']('-');function _0x57f034(_0x1e2165){return'[object\x20Object]'===Object['prototype']['toString']['call'](_0x1e2165);}var _0x1cf235=/\W|_/g;function _0x43f3b4(_0x5404eb){return _0x5404eb['split'](_0x1cf235)['map']((_0x22b0f0,t)=>_0x22b0f0['charAt'](0x0)[t>0x0?'toUpperCase':'toLowerCase']()+_0x22b0f0['slice'](0x1))['join']('');}function _0x1ad623(_0x304c47,{ignoreKeys:_0x1e7182}={'ignoreKeys':[]}){return Array['isArray'](_0x304c47)?_0x304c47['map'](t=>_0x81cd54(t,{'ignoreKeys':_0x1e7182})):_0x304c47;}function _0x81cd54(_0x179472,{ignoreKeys:_0x20dc7c}={'ignoreKeys':[]}){if(Array['isArray'](_0x179472))return _0x1ad623(_0x179472,{'ignoreKeys':_0x20dc7c});if(!_0x57f034(_0x179472))return _0x179472;let t={};for(let _0x199859 of Object['keys'](_0x179472)){let _0x29b27a=_0x179472[_0x199859];_0x20dc7c['includes'](_0x199859)?t[_0x199859]=_0x29b27a:(_0x57f034(_0x29b27a)?_0x29b27a=_0x81cd54(_0x29b27a,{'ignoreKeys':_0x20dc7c}):Array['isArray'](_0x29b27a)&&(_0x29b27a=_0x1ad623(_0x29b27a,{'ignoreKeys':_0x20dc7c})),t[_0x43f3b4(_0x199859)]=_0x29b27a);}return t;}function _0xae319d({libraryName:_0x56c46a,libraryVersion:_0x36b0ef,userAgent:t,publicKey:_0x34254c='',integration:_0x22d8d1=''}){let _0x3c48b9='JavaScript';return'string'==typeof t?t:'function'==typeof t?t({'publicKey':_0x34254c,'libraryName':_0x56c46a,'libraryVersion':_0x36b0ef,'languageName':_0x3c48b9,'integration':_0x22d8d1}):[_0x56c46a,_0x36b0ef,_0x34254c]['filter'](Boolean)['join']('/')+'\x20('+[_0x3c48b9,_0x22d8d1]['filter'](Boolean)['join'](';\x20')+')';}var _0xb08fe3={'factor':0x2,'time':0x64};function _0x2d69ed(_0x59d285,_0x5e98fa=_0xb08fe3){let t=0x0;return function _0x56fd64(_0x1972da){let _0x32a09c=Math['round'](_0x5e98fa['time']*_0x5e98fa['factor']**t);return _0x1972da({'attempt':t,'retry':_0x5d50d4=>(_0x511a75=>new Promise(_0x504263=>setTimeout(_0x504263,_0x511a75)))(_0x5d50d4??_0x32a09c)['then'](()=>(t+=0x1,_0x56fd64(_0x1972da)))});}(_0x59d285);}var _0x5ca60f=class extends Error{},_0x18b2af=class _0x36cec0 extends _0x5ca60f{['originalProgressEvent'];constructor(_0x2039d3){super(),this['name']='NetworkError',this['message']='Network\x20error',Object['setPrototypeOf'](this,_0x36cec0['prototype']),this['originalProgressEvent']=_0x2039d3;}},_0x16b96a=(_0x28da29,_0x13186b)=>{_0x28da29&&(_0x28da29['aborted']?Promise['resolve']()['then'](_0x13186b):_0x28da29['addEventListener']('abort',()=>_0x13186b(),{'once':!0x0}));},_0x531c5d=class _0x1906f1 extends _0x5ca60f{['isCancel']=!0x0;constructor(_0xead088='Request\x20canceled'){super(_0xead088),this['name']='CancelError',Object['setPrototypeOf'](this,_0x1906f1['prototype']);}},tK=({check:_0x361ab9,interval:_0x5111d9=0x1f4,timeout:t,signal:_0x332dc8})=>new Promise((_0x5ab488,_0x1fee50)=>{let _0x194012,_0x3c6821;_0x16b96a(_0x332dc8,()=>{_0x194012&&clearTimeout(_0x194012),_0x1fee50(new _0x531c5d('Poll\x20cancelled'));}),t&&(_0x3c6821=setTimeout(()=>{_0x194012&&clearTimeout(_0x194012),_0x1fee50(new _0x531c5d('Timed\x20out'));},t));let _0x14fb7=()=>{try{Promise['resolve'](_0x361ab9(_0x332dc8))['then'](_0x458fa2=>{_0x458fa2?(_0x3c6821&&clearTimeout(_0x3c6821),_0x5ab488(_0x458fa2)):_0x194012=setTimeout(_0x14fb7,_0x5111d9);})['catch'](_0x4cba4d=>{_0x3c6821&&clearTimeout(_0x3c6821),_0x1fee50(_0x4cba4d);});}catch(_0x3f0c24){_0x3c6821&&clearTimeout(_0x3c6821),_0x1fee50(_0x3f0c24);}};_0x194012=setTimeout(_0x14fb7,0x0);}),_0x192f2f='https://ucarecdn.com',_0x510b61='https://upload.uploadcare.com',_0x11ed99=0x1,_0x3f8c36=0x3,_0x449759=0x1900000,_0x90351e=0x500000,_0x5ef77d=0x4,_0x4d28dd='79ae88bd931ea68464d9',_0x5b32ea='application/octet-stream',_0x57af29=({method:_0x4a7b99,url:_0x46e9ed,data:t,headers:_0x288792={},signal:_0x2125a5,onProgress:_0xb9a5fa})=>new Promise((_0x453e67,_0x1d5b29)=>{let _0x2e855c=new XMLHttpRequest(),_0x1e1b70=_0x4a7b99?.['toUpperCase']()||'GET',_0x5a639d=!0x1;_0x2e855c['open'](_0x1e1b70,_0x46e9ed,!0x0),_0x288792&&Object['entries'](_0x288792)['forEach'](_0x4ec2ec=>{let [_0x802b41,_0x680c69]=_0x4ec2ec;typeof _0x680c69<'u'&&!Array['isArray'](_0x680c69)&&_0x2e855c['setRequestHeader'](_0x802b41,_0x680c69);}),_0x2e855c['responseType']='text',_0x16b96a(_0x2125a5,()=>{_0x5a639d=!0x0,_0x2e855c['abort'](),_0x1d5b29(new _0x531c5d());}),_0x2e855c['onload']=()=>{if(0xc8!=_0x2e855c['status'])_0x1d5b29(new Error('Error\x20'+_0x2e855c['status']+':\x20'+_0x2e855c['statusText']));else{let _0x3f8c7b={'method':_0x1e1b70,'url':_0x46e9ed,'data':t,'headers':_0x288792||void 0x0,'signal':_0x2125a5,'onProgress':_0xb9a5fa},_0x1e31e6=_0x2e855c['getAllResponseHeaders']()['trim']()['split'](/[\r\n]+/),_0x1fc4dd={};_0x1e31e6['forEach'](function(_0x30aea1){let _0x54d50d=_0x30aea1['split'](':\x20'),_0x3e1290=_0x54d50d['shift'](),_0xb44e0f=_0x54d50d['join'](':\x20');_0x3e1290&&typeof _0x3e1290<'u'&&(_0x1fc4dd[_0x3e1290]=_0xb44e0f);});let _0x4cf2bf=_0x2e855c['response'],_0x56ec79=_0x2e855c['status'];_0x453e67({'request':_0x3f8c7b,'data':_0x4cf2bf,'headers':_0x1fc4dd,'status':_0x56ec79});}},_0x2e855c['onerror']=_0x7cd4=>{_0x5a639d||_0x1d5b29(new _0x18b2af(_0x7cd4));},_0xb9a5fa&&'function'==typeof _0xb9a5fa&&(_0x2e855c['upload']['onprogress']=_0x1d8fb3=>{_0x1d8fb3['lengthComputable']?_0xb9a5fa({'isComputable':!0x0,'value':_0x1d8fb3['loaded']/_0x1d8fb3['total']}):_0xb9a5fa({'isComputable':!0x1});}),t?_0x2e855c['send'](t):_0x2e855c['send']();}),_0x46cdbf=function(_0x4cf90b,..._0x3e174d){return _0x4cf90b;},_0x3a6fb6=_0x558269=>typeof Blob<'u'&&_0x558269 instanceof Blob,_0x234323=_0x4cc715=>typeof File<'u'&&_0x4cc715 instanceof File,_0x2a0e2a=_0x1ed62b=>!!_0x1ed62b&&'object'==typeof _0x1ed62b&&!Array['isArray'](_0x1ed62b)&&'uri'in _0x1ed62b&&'string'==typeof _0x1ed62b['uri'],_0x8ab497=_0x1a1f89=>_0x3a6fb6(_0x1a1f89)||_0x234323(_0x1a1f89)||_0x2a0e2a(_0x1a1f89);function _0x76cf9b(_0x4a1c2e,_0x143026,t){if(Array['isArray'](t)){for(let _0x474c14 of t)_0x76cf9b(_0x4a1c2e,_0x143026+'[]',_0x474c14);}else{if((_0x37c556=>!!_0x37c556&&'object'==typeof _0x37c556&&'data'in _0x37c556&&_0x8ab497(_0x37c556['data']))(t)){let {name:_0x3a1e42,contentType:_0x46bf5f}=t,_0x3c488a=_0x46cdbf(t['data'],_0x3a1e42,_0x46bf5f??_0x5b32ea),_0xdd6309=(({name:_0x3ca299})=>_0x3ca299?[_0x3ca299]:[])({'name':_0x3a1e42});_0x4a1c2e['push']([_0x143026,_0x3c488a,..._0xdd6309]);}else{if((_0x5deb1c=>!!_0x5deb1c&&'object'==typeof _0x5deb1c&&!Array['isArray'](_0x5deb1c))(t)){for(let [_0x5c9a28,_0x4b4d5a]of Object['entries'](t))typeof _0x4b4d5a<'u'&&_0x4a1c2e['push']([_0x143026+'['+_0x5c9a28+']',String(_0x4b4d5a)]);}else(_0x15b8fc=>'string'==typeof _0x15b8fc||'number'==typeof _0x15b8fc||typeof _0x15b8fc>'u')(t)&&t&&_0x4a1c2e['push']([_0x143026,t['toString']()]);}}}function _0x519ce4(_0x26bb43){let _0xecf44b=new FormData(),t=function(_0xcbadc5){let _0x50e296=[];for(let [t,_0x2f271d]of Object['entries'](_0xcbadc5))_0x76cf9b(_0x50e296,t,_0x2f271d);return _0x50e296;}(_0x26bb43);for(let _0x531f8b of t){let [_0x2339a2,_0xcea241,..._0x1f118d]=_0x531f8b;_0xecf44b['append'](_0x2339a2,_0xcea241,..._0x1f118d);}return _0xecf44b;}var _0x11172b=class _0x5d652e extends _0x5ca60f{['code'];['request'];['response'];['headers'];constructor(_0x2c9acc,t,_0x49dd2c,_0x7bce51,_0x109545){super(),this['name']='UploadError',this['message']=_0x2c9acc,this['code']=t,this['request']=_0x49dd2c,this['response']=_0x7bce51,this['headers']=_0x109545,Object['setPrototypeOf'](this,_0x5d652e['prototype']);}},_0x1ca0fd=(_0x17cf9e,_0x29ac13,t)=>{let _0x474d5e=new URL(_0x17cf9e);return _0x474d5e['pathname']=(_0x474d5e['pathname']+_0x29ac13)['replace']('//','/'),t&&(_0x474d5e['search']=(_0x51c534=>{let _0xce595d=new URLSearchParams();for(let [t,_0x5d6b8d]of Object['entries'](_0x51c534))_0x5d6b8d&&'object'==typeof _0x5d6b8d&&!Array['isArray'](_0x5d6b8d)?Object['entries'](_0x5d6b8d)['filter'](_0x109a28=>_0x109a28[0x1]??!0x1)['forEach'](_0x4986f0=>_0xce595d['set'](t+'['+_0x4986f0[0x0]+']',String(_0x4986f0[0x1]))):Array['isArray'](_0x5d6b8d)?_0x5d6b8d['forEach'](_0x2bcd20=>{_0xce595d['append'](t+'[]',_0x2bcd20);}):'string'==typeof _0x5d6b8d&&_0x5d6b8d?_0xce595d['set'](t,_0x5d6b8d):'number'==typeof _0x5d6b8d&&_0xce595d['set'](t,_0x5d6b8d['toString']());return _0xce595d['toString']();})(t)),_0x474d5e['toString']();};function _0x5ba890(_0x4640de){return _0xae319d({'libraryName':'UploadcareUploadClient','libraryVersion':'6.18.4',..._0x4640de});}function _0x1469a2(_0x52bf4c,_0x2e1942){let {retryThrottledRequestMaxTimes:t,retryNetworkErrorMaxTimes:_0x44be10}=_0x2e1942;return _0x2d69ed(({attempt:_0x1de2df,retry:_0x52c7e8})=>_0x52bf4c()['catch'](_0x2d8525=>{if('response'in _0x2d8525&&'RequestThrottledError'===_0x2d8525?.['code']&&_0x1de2df<t)return _0x52c7e8(function(_0x13542c){let {headers:_0x5b1bd5}=_0x13542c||{};if(!_0x5b1bd5||'string'!=typeof _0x5b1bd5['retry-after'])return 0x3a98;let t=parseInt(_0x5b1bd5['retry-after'],0xa);return Number['isFinite'](t)?0x3e8*t:0x3a98;}(_0x2d8525));if(_0x2d8525 instanceof _0x18b2af&&_0x1de2df<_0x44be10)return _0x52c7e8(0x3e8*(_0x1de2df+0x1));throw _0x2d8525;}));}var _0x19f2d7,_0x381476,_0x10aa27=_0x31dae8=>{let _0x298056='';return(_0x3a6fb6(_0x31dae8)||_0x234323(_0x31dae8)||_0x2a0e2a(_0x31dae8))&&(_0x298056=_0x31dae8['type']),_0x298056||_0x5b32ea;},_0x3fed40=_0x2cba36=>{let _0x4db87d='';return _0x234323(_0x2cba36)&&_0x2cba36['name']?_0x4db87d=_0x2cba36['name']:_0x3a6fb6(_0x2cba36)?_0x4db87d='':_0x2a0e2a(_0x2cba36)&&_0x2cba36['name']&&(_0x4db87d=_0x2cba36['name']),_0x4db87d||'original';};function _0x4f3eb1(_0x46cc50){return typeof _0x46cc50>'u'||'auto'===_0x46cc50?'auto':_0x46cc50?'1':'0';}!function(_0x534a7a){_0x534a7a['Token']='token',_0x534a7a['FileInfo']='file_info';}(_0x19f2d7||(_0x19f2d7={})),function(_0x3fbf4e){_0x3fbf4e['Unknown']='unknown',_0x3fbf4e['Waiting']='waiting',_0x3fbf4e['Progress']='progress',_0x3fbf4e['Error']='error',_0x3fbf4e['Success']='success';}(_0x381476||(_0x381476={}));function _0x4fc46c(_0x360d42,{publicKey:_0x5a71d6,baseURL:t=_0x510b61,signal:_0x18b112,integration:_0x2c19d5,userAgent:_0x56d04f,retryThrottledRequestMaxTimes:_0x1655fb=_0x11ed99,retryNetworkErrorMaxTimes:_0x17c393=_0x3f8c36}={}){return _0x1469a2(()=>_0x57af29({'method':'GET','headers':_0x5a71d6?{'X-UC-User-Agent':_0x5ba890({'publicKey':_0x5a71d6,'integration':_0x2c19d5,'userAgent':_0x56d04f})}:void 0x0,'url':_0x1ca0fd(t,'/from_url/status/',{'jsonerrors':0x1,'token':_0x360d42}),'signal':_0x18b112})['then'](({data:_0x3104eb,headers:_0x789039,request:_0x476626})=>{let _0x40e5b2=_0x81cd54(JSON['parse'](_0x3104eb));if('error'in _0x40e5b2&&!(_0x5a9296=>'status'in _0x5a9296&&_0x5a9296['status']===_0x381476['Error'])(_0x40e5b2))throw new _0x11172b(_0x40e5b2['error']['content'],_0x40e5b2['error']['errorCode'],_0x476626,_0x40e5b2,_0x789039);return _0x40e5b2;}),{'retryNetworkErrorMaxTimes':_0x17c393,'retryThrottledRequestMaxTimes':_0x1655fb});}function _0x362d92(_0x1f2691,{publicKey:_0x48d46e,baseURL:t=_0x510b61,signal:_0x5b8e6f,source:_0x2a211c,integration:_0x55b6e8,userAgent:_0x1436f5,retryThrottledRequestMaxTimes:_0x5a3149=_0x11ed99,retryNetworkErrorMaxTimes:_0x202cde=_0x3f8c36}){return _0x1469a2(()=>_0x57af29({'method':'GET','headers':{'X-UC-User-Agent':_0x5ba890({'publicKey':_0x48d46e,'integration':_0x55b6e8,'userAgent':_0x1436f5})},'url':_0x1ca0fd(t,'/info/',{'jsonerrors':0x1,'pub_key':_0x48d46e,'file_id':_0x1f2691,'source':_0x2a211c}),'signal':_0x5b8e6f})['then'](({data:_0x1e7422,headers:_0x57998d,request:_0x3f7d47})=>{let _0x3fc3da=_0x81cd54(JSON['parse'](_0x1e7422));if('error'in _0x3fc3da)throw new _0x11172b(_0x3fc3da['error']['content'],_0x3fc3da['error']['errorCode'],_0x3f7d47,_0x3fc3da,_0x57998d);return _0x3fc3da;}),{'retryThrottledRequestMaxTimes':_0x5a3149,'retryNetworkErrorMaxTimes':_0x202cde});}function _0x22ac8d(_0x529151,{publicKey:_0x176fdc,baseURL:t,source:_0xed40de,integration:_0x1f0a12,userAgent:_0x291950,retryThrottledRequestMaxTimes:_0x307a7a,retryNetworkErrorMaxTimes:_0x407e18,signal:_0x4149f8,onProgress:_0x2c9036}){return tK({'check':_0x362485=>_0x362d92(_0x529151,{'publicKey':_0x176fdc,'baseURL':t,'signal':_0x362485,'source':_0xed40de,'integration':_0x1f0a12,'userAgent':_0x291950,'retryThrottledRequestMaxTimes':_0x307a7a,'retryNetworkErrorMaxTimes':_0x407e18})['then'](_0x22961c=>_0x22961c['isReady']?_0x22961c:(_0x2c9036&&_0x2c9036({'isComputable':!0x0,'value':0x1}),!0x1)),'signal':_0x4149f8});}var _0x11d7c0=class{['uuid'];['name'];['size'];['isStored'];['isImage'];['mimeType'];['cdnUrl'];['s3Url'];['originalFilename'];['imageInfo'];['videoInfo'];['contentInfo'];['metadata'];['s3Bucket'];['defaultEffects']=null;constructor(_0x4e3300,{baseCDN:t=_0x192f2f,fileName:_0xaecf8a}={}){let {uuid:_0x423d0b,s3Bucket:_0x3dac1e}=_0x4e3300,_0x5a2b20=_0x1ca0fd(t,_0x423d0b+'/'),_0x4215f2=_0x3dac1e?_0x1ca0fd('https://'+_0x3dac1e+'.s3.amazonaws.com/',_0x423d0b+'/'+_0x4e3300['filename']):null;this['uuid']=_0x423d0b,this['name']=_0xaecf8a||_0x4e3300['filename'],this['size']=_0x4e3300['size'],this['isStored']=_0x4e3300['isStored'],this['isImage']=_0x4e3300['isImage'],this['mimeType']=_0x4e3300['mimeType'],this['cdnUrl']=_0x5a2b20,this['originalFilename']=_0x4e3300['originalFilename'],this['imageInfo']=_0x4e3300['imageInfo'],this['videoInfo']=_0x4e3300['videoInfo'],this['contentInfo']=_0x4e3300['contentInfo'],this['metadata']=_0x4e3300['metadata']||null,this['s3Bucket']=_0x3dac1e||null,this['s3Url']=_0x4215f2,function(_0x42d700){return'defaultEffects'in _0x42d700;}(_0x4e3300)&&(this['defaultEffects']=_0x4e3300['defaultEffects']);}},_0x4bdc57=(_0x20a25e,{publicKey:_0x55dd81,fileName:t,baseURL:_0x348b02,secureSignature:_0x1dd3cb,secureExpire:_0x3e1c38,store:_0x40041e,contentType:_0x547e6a,signal:_0x20bd79,onProgress:_0x4f24e5,source:_0x43eff3,integration:_0x283b56,userAgent:_0x440ecb,retryThrottledRequestMaxTimes:_0x323bde,retryNetworkErrorMaxTimes:_0xfc53fc,baseCDN:_0x49b13a,metadata:_0x256103})=>function(_0x2e0a74,{publicKey:_0x11480a,fileName:t,contentType:_0x23c6bb,baseURL:_0x2e0b6b=_0x510b61,secureSignature:_0x1b6e9e,secureExpire:_0x5f046d,store:_0x3e3d96,signal:_0x1ed39b,onProgress:_0x104a4c,source:_0x58b162='local',integration:_0x254906,userAgent:_0x1f8eeb,retryThrottledRequestMaxTimes:_0x13e11c=_0x11ed99,retryNetworkErrorMaxTimes:_0x4d4b3b=_0x3f8c36,metadata:_0xe0b8d1}){return _0x1469a2(()=>_0x57af29({'method':'POST','url':_0x1ca0fd(_0x2e0b6b,'/base/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x5ba890({'publicKey':_0x11480a,'integration':_0x254906,'userAgent':_0x1f8eeb})},'data':_0x519ce4({'file':{'data':_0x2e0a74,'name':t||_0x3fed40(_0x2e0a74),'contentType':_0x23c6bb||_0x10aa27(_0x2e0a74)},'UPLOADCARE_PUB_KEY':_0x11480a,'UPLOADCARE_STORE':_0x4f3eb1(_0x3e3d96),'signature':_0x1b6e9e,'expire':_0x5f046d,'source':_0x58b162,'metadata':_0xe0b8d1}),'signal':_0x1ed39b,'onProgress':_0x104a4c})['then'](({data:_0x344bcb,headers:_0x2b5d75,request:_0x2ab72b})=>{let _0x507a06=_0x81cd54(JSON['parse'](_0x344bcb));if('error'in _0x507a06)throw new _0x11172b(_0x507a06['error']['content'],_0x507a06['error']['errorCode'],_0x2ab72b,_0x507a06,_0x2b5d75);return _0x507a06;}),{'retryNetworkErrorMaxTimes':_0x4d4b3b,'retryThrottledRequestMaxTimes':_0x13e11c});}(_0x20a25e,{'publicKey':_0x55dd81,'fileName':t,'contentType':_0x547e6a,'baseURL':_0x348b02,'secureSignature':_0x1dd3cb,'secureExpire':_0x3e1c38,'store':_0x40041e,'signal':_0x20bd79,'onProgress':_0x4f24e5,'source':_0x43eff3,'integration':_0x283b56,'userAgent':_0x440ecb,'retryThrottledRequestMaxTimes':_0x323bde,'retryNetworkErrorMaxTimes':_0xfc53fc,'metadata':_0x256103})['then'](({file:_0x181468})=>_0x22ac8d(_0x181468,{'publicKey':_0x55dd81,'baseURL':_0x348b02,'source':_0x43eff3,'integration':_0x283b56,'userAgent':_0x440ecb,'retryThrottledRequestMaxTimes':_0x323bde,'retryNetworkErrorMaxTimes':_0xfc53fc,'onProgress':_0x4f24e5,'signal':_0x20bd79}))['then'](_0x23c322=>new _0x11d7c0(_0x23c322,{'baseCDN':_0x49b13a})),_0x87ef0a=(_0x19047b,{signal:_0x589e16}={})=>{let t=null,_0x3fbcd1=null,_0x338895=_0x19047b['map'](()=>new AbortController());return _0x16b96a(_0x589e16,()=>{_0x338895['forEach'](_0x26d680=>_0x26d680['abort']());}),Promise['all'](_0x19047b['map']((_0x54b153,_0x3ed0a8)=>{let _0x4ab90b=(_0x277875=>()=>{_0x3fbcd1=_0x277875,_0x338895['forEach']((_0x163ced,_0x3ac3bf)=>_0x3ac3bf!==_0x277875&&_0x163ced['abort']());})(_0x3ed0a8);return Promise['resolve']()['then'](()=>_0x54b153({'stopRace':_0x4ab90b,'signal':_0x338895[_0x3ed0a8]['signal']}))['then'](_0x2adb28=>(_0x4ab90b(),_0x2adb28))['catch'](_0xccb24=>(t=_0xccb24,null));}))['then'](_0x15c4be=>{if(null===_0x3fbcd1)throw t;return _0x15c4be[_0x3fbcd1];});},_0x58443f=window['WebSocket'],_0x537fe9=class{['events']=Object['create']({});['emit'](_0x1d87c8,t){this['events'][_0x1d87c8]?.['forEach'](_0xe836a9=>_0xe836a9(t));}['on'](_0x4d9282,t){this['events'][_0x4d9282]=this['events'][_0x4d9282]||[],this['events'][_0x4d9282]['push'](t);}['off'](_0x23715d,t){this['events'][_0x23715d]=t?this['events'][_0x23715d]['filter'](_0x439bde=>_0x439bde!==t):[];}},_0x149b1b=class{['key'];['disconnectTime'];['ws']=void 0x0;['queue']=[];['isConnected']=!0x1;['subscribers']=0x0;['emmitter']=new _0x537fe9();['disconnectTimeoutId']=null;constructor(_0x141fcd,t=0x7530){this['key']=_0x141fcd,this['disconnectTime']=t;}['connect'](){if(this['disconnectTimeoutId']&&clearTimeout(this['disconnectTimeoutId']),!this['isConnected']&&!this['ws']){let _0x31adbe='wss://ws.pusherapp.com/app/'+this['key']+'?protocol=5&client=js&version=1.12.2';this['ws']=new _0x58443f(_0x31adbe),this['ws']['addEventListener']('error',t=>{this['emmitter']['emit']('error',new Error(t['message']));}),this['emmitter']['on']('connected',()=>{this['isConnected']=!0x0,this['queue']['forEach'](t=>this['send'](t['event'],t['data'])),this['queue']=[];}),this['ws']['addEventListener']('message',t=>{let _0x2e95e7=JSON['parse'](t['data']['toString']());switch(_0x2e95e7['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'](_0x2e95e7['channel'],((_0x511167,_0x3536bc)=>'success'===_0x511167?{'status':_0x381476['Success'],..._0x3536bc}:'progress'===_0x511167?{'status':_0x381476['Progress'],..._0x3536bc}:{'status':_0x381476['Error'],..._0x3536bc})(_0x2e95e7['event'],JSON['parse'](_0x2e95e7['data'])));}});}}['disconnect'](){let _0x4a86cf=()=>{this['ws']?.['close'](),this['ws']=void 0x0,this['isConnected']=!0x1;};this['disconnectTime']?this['disconnectTimeoutId']=setTimeout(()=>{_0x4a86cf();},this['disconnectTime']):_0x4a86cf();}['send'](_0x47680b,t){let _0x586760=JSON['stringify']({'event':_0x47680b,'data':t});this['ws']?.['send'](_0x586760);}['subscribe'](_0x3f03b4,t){this['subscribers']+=0x1,this['connect']();let _0x361e83='task-status-'+_0x3f03b4,_0x5e6d77={'event':'pusher:subscribe','data':{'channel':_0x361e83}};this['emmitter']['on'](_0x361e83,t),this['isConnected']?this['send'](_0x5e6d77['event'],_0x5e6d77['data']):this['queue']['push'](_0x5e6d77);}['unsubscribe'](_0x3ad6bb){this['subscribers']-=0x1;let t='task-status-'+_0x3ad6bb,_0x136ae8={'event':'pusher:unsubscribe','data':{'channel':t}};this['emmitter']['off'](t),this['isConnected']?this['send'](_0x136ae8['event'],_0x136ae8['data']):this['queue']=this['queue']['filter'](_0xc54949=>_0xc54949['data']['channel']!==t),0x0===this['subscribers']&&this['disconnect']();}['onError'](_0x5e3d0e){return this['emmitter']['on']('error',_0x5e3d0e),()=>this['emmitter']['off']('error',_0x5e3d0e);}},_0x5dda89=null,_0x3897bc=_0x13cf2d=>(_0x5dda89||(_0x5dda89=new _0x149b1b(_0x13cf2d,typeof window>'u'?0x0:0x7530)),_0x5dda89),_0xef224e=(_0x443200,{publicKey:_0x135e9b,fileName:t,baseURL:_0x52eaa6,baseCDN:_0x5aad82,checkForUrlDuplicates:_0x1c2c26,saveUrlForRecurrentUploads:_0x15b7e6,secureSignature:_0x3bd655,secureExpire:_0x4a9853,store:_0x1cdcf6,signal:_0x10d701,onProgress:_0x795d76,source:_0x38764c,integration:_0x1978e8,userAgent:_0x5f2374,retryThrottledRequestMaxTimes:_0xe53e0b,pusherKey:_0x1097ad=_0x4d28dd,metadata:_0x41d8bf})=>Promise['resolve']((_0x14549c=>{_0x3897bc(_0x14549c)['connect']();})(_0x1097ad))['then'](()=>function(_0x1f8882,{publicKey:_0x22d0ee,baseURL:t=_0x510b61,store:_0x3ba696,fileName:_0x597b01,checkForUrlDuplicates:_0x18a845,saveUrlForRecurrentUploads:_0x4d9a36,secureSignature:_0x5db338,secureExpire:_0xaa96f,source:_0x2d4d42='url',signal:_0x598fd1,integration:_0x299b48,userAgent:_0x49ba93,retryThrottledRequestMaxTimes:_0x221e49=_0x11ed99,retryNetworkErrorMaxTimes:_0x3349bc=_0x3f8c36,metadata:_0x3cc295}){return _0x1469a2(()=>_0x57af29({'method':'POST','headers':{'X-UC-User-Agent':_0x5ba890({'publicKey':_0x22d0ee,'integration':_0x299b48,'userAgent':_0x49ba93})},'url':_0x1ca0fd(t,'/from_url/',{'jsonerrors':0x1,'pub_key':_0x22d0ee,'source_url':_0x1f8882,'store':_0x4f3eb1(_0x3ba696),'filename':_0x597b01,'check_URL_duplicates':_0x18a845?0x1:void 0x0,'save_URL_duplicates':_0x4d9a36?0x1:void 0x0,'signature':_0x5db338,'expire':_0xaa96f,'source':_0x2d4d42,'metadata':_0x3cc295}),'signal':_0x598fd1})['then'](({data:_0x2d82d3,headers:_0x3ada01,request:_0xc202e1})=>{let _0x7e1aa5=_0x81cd54(JSON['parse'](_0x2d82d3));if('error'in _0x7e1aa5)throw new _0x11172b(_0x7e1aa5['error']['content'],_0x7e1aa5['error']['errorCode'],_0xc202e1,_0x7e1aa5,_0x3ada01);return _0x7e1aa5;}),{'retryNetworkErrorMaxTimes':_0x3349bc,'retryThrottledRequestMaxTimes':_0x221e49});}(_0x443200,{'publicKey':_0x135e9b,'fileName':t,'baseURL':_0x52eaa6,'checkForUrlDuplicates':_0x1c2c26,'saveUrlForRecurrentUploads':_0x15b7e6,'secureSignature':_0x3bd655,'secureExpire':_0x4a9853,'store':_0x1cdcf6,'signal':_0x10d701,'source':_0x38764c,'integration':_0x1978e8,'userAgent':_0x5f2374,'retryThrottledRequestMaxTimes':_0xe53e0b,'metadata':_0x41d8bf}))['catch'](_0x531c69=>(_0x3897bc(_0x1097ad)?.['disconnect'](),Promise['reject'](_0x531c69)))['then'](_0xbf2e9d=>_0xbf2e9d['type']===_0x19f2d7['FileInfo']?_0xbf2e9d:_0x87ef0a([({signal:_0x111d32})=>function({token:_0x3ac3ae,publicKey:_0x16eb03,baseURL:t,integration:_0x51dc5c,userAgent:_0x280bf6,retryThrottledRequestMaxTimes:_0xdb35cc,retryNetworkErrorMaxTimes:_0x5870c9,onProgress:_0xde5eb6,signal:_0x261906}){return tK({'check':_0x414b37=>_0x4fc46c(_0x3ac3ae,{'publicKey':_0x16eb03,'baseURL':t,'integration':_0x51dc5c,'userAgent':_0x280bf6,'retryThrottledRequestMaxTimes':_0xdb35cc,'retryNetworkErrorMaxTimes':_0x5870c9,'signal':_0x414b37})['then'](_0x312658=>{switch(_0x312658['status']){case _0x381476['Error']:return new _0x11172b(_0x312658['error'],_0x312658['errorCode']);case _0x381476['Waiting']:return!0x1;case _0x381476['Unknown']:return new _0x11172b('Token\x20\x22'+_0x3ac3ae+'\x22\x20was\x20not\x20found.');case _0x381476['Progress']:return _0xde5eb6&&('unknown'===_0x312658['total']?_0xde5eb6({'isComputable':!0x1}):_0xde5eb6({'isComputable':!0x0,'value':_0x312658['done']/_0x312658['total']})),!0x1;case _0x381476['Success']:return _0xde5eb6&&_0xde5eb6({'isComputable':!0x0,'value':_0x312658['done']/_0x312658['total']}),_0x312658;default:throw new Error('Unknown\x20status');}}),'signal':_0x261906});}({'token':_0xbf2e9d['token'],'publicKey':_0x135e9b,'baseURL':_0x52eaa6,'integration':_0x1978e8,'userAgent':_0x5f2374,'retryThrottledRequestMaxTimes':_0xe53e0b,'onProgress':_0x795d76,'signal':_0x111d32}),({signal:_0x1d912d})=>(({token:_0x50ca48,pusherKey:_0x5bd067,signal:t,onProgress:_0x8a41c8})=>new Promise((_0x1ee613,_0x53710c)=>{let _0x446cba=_0x3897bc(_0x5bd067),_0x4e4a20=_0x446cba['onError'](_0x53710c),_0x1be8aa=()=>{_0x4e4a20(),_0x446cba['unsubscribe'](_0x50ca48);};_0x16b96a(t,()=>{_0x1be8aa(),_0x53710c(new _0x531c5d('pusher\x20cancelled'));}),_0x446cba['subscribe'](_0x50ca48,_0x1cb509=>{switch(_0x1cb509['status']){case _0x381476['Progress']:_0x8a41c8&&('unknown'===_0x1cb509['total']?_0x8a41c8({'isComputable':!0x1}):_0x8a41c8({'isComputable':!0x0,'value':_0x1cb509['done']/_0x1cb509['total']}));break;case _0x381476['Success']:_0x1be8aa(),_0x8a41c8&&_0x8a41c8({'isComputable':!0x0,'value':_0x1cb509['done']/_0x1cb509['total']}),_0x1ee613(_0x1cb509);break;case _0x381476['Error']:_0x1be8aa(),_0x53710c(new _0x11172b(_0x1cb509['msg'],_0x1cb509['error_code']));}});}))({'token':_0xbf2e9d['token'],'pusherKey':_0x1097ad,'signal':_0x1d912d,'onProgress':_0x795d76})],{'signal':_0x10d701}))['then'](_0x5dd5dd=>{if(_0x5dd5dd instanceof _0x11172b)throw _0x5dd5dd;return _0x5dd5dd;})['then'](_0x2a090b=>_0x22ac8d(_0x2a090b['uuid'],{'publicKey':_0x135e9b,'baseURL':_0x52eaa6,'integration':_0x1978e8,'userAgent':_0x5f2374,'retryThrottledRequestMaxTimes':_0xe53e0b,'onProgress':_0x795d76,'signal':_0x10d701}))['then'](_0x436009=>new _0x11d7c0(_0x436009,{'baseCDN':_0x5aad82})),_0x4c769c=new WeakMap(),_0x4a4c54=async _0x87360e=>{if(_0x234323(_0x87360e)||_0x3a6fb6(_0x87360e))return _0x87360e['size'];if(_0x2a0e2a(_0x87360e))return(await(async _0x338bbf=>{if(_0x4c769c['has'](_0x338bbf))return _0x4c769c['get'](_0x338bbf);let _0x7f2a6e=await fetch(_0x338bbf['uri'])['then'](t=>t['blob']());return _0x4c769c['set'](_0x338bbf,_0x7f2a6e),_0x7f2a6e;})(_0x87360e))['size'];throw new Error('Unknown\x20file\x20type.\x20Cannot\x20determine\x20file\x20size.');},_0x3c894d=_0x3dad65=>{let t=new RegExp('[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}');return!_0x8ab497(_0x3dad65)&&t['test'](_0x3dad65);},_0x573e85=_0x49e1a6=>{let t=new RegExp('^(?:\x5cw+:)?\x5c/\x5c/([^\x5cs\x5c.]+\x5c.\x5cS{2}|localhost[\x5c:?\x5cd]*)\x5cS*$');return!_0x8ab497(_0x49e1a6)&&t['test'](_0x49e1a6);},_0x26da35=(_0x2cd8a6,_0x4ffe1a)=>new Promise((t,_0xaf0199)=>{let _0x3fc528=[],_0xae1fd0=!0x1,_0x5e85bf=_0x4ffe1a['length'],_0x4da203=[..._0x4ffe1a],_0x4646a8=()=>{let _0x505ba3=_0x4ffe1a['length']-_0x4da203['length'],_0x2707de=_0x4da203['shift']();_0x2707de&&_0x2707de()['then'](_0xaf95df=>{_0xae1fd0||(_0x3fc528[_0x505ba3]=_0xaf95df,_0x5e85bf-=0x1,_0x5e85bf?_0x4646a8():t(_0x3fc528));})['catch'](_0x486a36=>{_0xae1fd0=!0x0,_0xaf0199(_0x486a36);});};for(let _0x327741=0x0;_0x327741<_0x2cd8a6;_0x327741++)_0x4646a8();}),_0x4203b1=async(_0x4c7b8e,_0x445cd0,t)=>_0x546a03=>((_0x1e7714,_0x298550,t,_0x47fb80)=>{let _0x244218=_0x47fb80*_0x298550,_0x53c03c=Math['min'](_0x244218+_0x47fb80,t);return _0x1e7714['slice'](_0x244218,_0x53c03c);})(_0x4c7b8e,_0x546a03,_0x445cd0,t),_0x40bae2=(_0x2bdafe,_0x3c8f18,{publicKey:t,contentType:_0x28414e,onProgress:_0x407ef9,signal:_0xa66b91,integration:_0x10a821,retryThrottledRequestMaxTimes:_0x214fc9,retryNetworkErrorMaxTimes:_0x3157c0})=>function(_0x2acdd2,_0x383143,{contentType:t,signal:_0x593e6b,onProgress:_0x546951,retryThrottledRequestMaxTimes:_0x4041f1=_0x11ed99,retryNetworkErrorMaxTimes:_0x39eba7=_0x3f8c36}){return _0x1469a2(()=>_0x57af29({'method':'PUT','url':_0x383143,'data':_0x2acdd2,'onProgress':_0x546951,'signal':_0x593e6b,'headers':{'Content-Type':t||_0x5b32ea}})['then'](_0x4e26eb=>(_0x546951&&_0x546951({'isComputable':!0x0,'value':0x1}),_0x4e26eb))['then'](({status:_0x17ed8e})=>({'code':_0x17ed8e})),{'retryThrottledRequestMaxTimes':_0x4041f1,'retryNetworkErrorMaxTimes':_0x39eba7});}(_0x2bdafe,_0x3c8f18,{'contentType':_0x28414e,'onProgress':_0x407ef9,'signal':_0xa66b91,'retryThrottledRequestMaxTimes':_0x214fc9,'retryNetworkErrorMaxTimes':_0x3157c0}),_0x2a3b55=async(_0xb22c75,{publicKey:_0x555ad2,fileName:t,fileSize:_0x2cc3ad,baseURL:_0x351519,secureSignature:_0x375764,secureExpire:_0x27012b,store:_0x1552c4,signal:_0x5004c6,onProgress:_0x34e0fb,source:_0x1fe2bc,integration:_0xf399c5,userAgent:_0x283a19,retryThrottledRequestMaxTimes:_0x37a7a8,retryNetworkErrorMaxTimes:_0x2ec86b,contentType:_0x115523,multipartChunkSize:_0x484bbe=_0x90351e,maxConcurrentRequests:_0x48749e=_0x5ef77d,baseCDN:_0x2ebc49,metadata:_0x141583})=>{let _0x7a174d,_0x5cd51b=_0x2cc3ad??await _0x4a4c54(_0xb22c75),_0x336165=(_0x2c6684,_0x46ae68)=>{if(!_0x34e0fb)return;_0x7a174d||(_0x7a174d=Array(_0x2c6684)['fill'](0x0));let _0x4bc016=_0x7d2f6=>_0x7d2f6['reduce']((_0x2d5add,_0x38776b)=>_0x2d5add+_0x38776b,0x0);return _0x3e4ac4=>{_0x3e4ac4['isComputable']&&(_0x7a174d[_0x46ae68]=_0x3e4ac4['value'],_0x34e0fb({'isComputable':!0x0,'value':_0x4bc016(_0x7a174d)/_0x2c6684}));};};return _0x115523||=_0x10aa27(_0xb22c75),function(_0x1cdba6,{publicKey:_0x4b6a32,contentType:t,fileName:_0x1a960b,multipartChunkSize:_0x239f8b=_0x90351e,baseURL:_0x36141c='',secureSignature:_0x33e5db,secureExpire:_0x4fc027,store:_0x125530,signal:_0x25ffb4,source:_0x2dce8f='local',integration:_0x39435c,userAgent:_0x5f035b,retryThrottledRequestMaxTimes:_0x55d4bb=_0x11ed99,retryNetworkErrorMaxTimes:_0x6ddf57=_0x3f8c36,metadata:_0x4ae060}){return _0x1469a2(()=>_0x57af29({'method':'POST','url':_0x1ca0fd(_0x36141c,'/multipart/start/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x5ba890({'publicKey':_0x4b6a32,'integration':_0x39435c,'userAgent':_0x5f035b})},'data':_0x519ce4({'filename':_0x1a960b,'size':_0x1cdba6,'content_type':t||_0x5b32ea,'part_size':_0x239f8b,'UPLOADCARE_STORE':_0x4f3eb1(_0x125530),'UPLOADCARE_PUB_KEY':_0x4b6a32,'signature':_0x33e5db,'expire':_0x4fc027,'source':_0x2dce8f,'metadata':_0x4ae060}),'signal':_0x25ffb4})['then'](({data:_0x11208c,headers:_0x3c4467,request:_0x1859b8})=>{let _0x1d0146=_0x81cd54(JSON['parse'](_0x11208c));if('error'in _0x1d0146)throw new _0x11172b(_0x1d0146['error']['content'],_0x1d0146['error']['errorCode'],_0x1859b8,_0x1d0146,_0x3c4467);return _0x1d0146['parts']=Object['keys'](_0x1d0146['parts'])['map'](_0x3b8d0a=>_0x1d0146['parts'][Number(_0x3b8d0a)]),_0x1d0146;}),{'retryThrottledRequestMaxTimes':_0x55d4bb,'retryNetworkErrorMaxTimes':_0x6ddf57});}(_0x5cd51b,{'publicKey':_0x555ad2,'contentType':_0x115523,'fileName':t||_0x3fed40(_0xb22c75),'baseURL':_0x351519,'secureSignature':_0x375764,'secureExpire':_0x27012b,'store':_0x1552c4,'signal':_0x5004c6,'source':_0x1fe2bc,'integration':_0xf399c5,'userAgent':_0x283a19,'retryThrottledRequestMaxTimes':_0x37a7a8,'retryNetworkErrorMaxTimes':_0x2ec86b,'metadata':_0x141583,'multipartChunkSize':_0x484bbe})['then'](async({uuid:_0x1d559a,parts:_0x13785c})=>{let _0x1e59c9=await _0x4203b1(_0xb22c75,_0x5cd51b,_0x484bbe);return Promise['all']([_0x1d559a,_0x26da35(_0x48749e,_0x13785c['map']((_0x535599,_0x1a1b73)=>()=>_0x40bae2(_0x1e59c9(_0x1a1b73),_0x535599,{'publicKey':_0x555ad2,'contentType':_0x115523,'onProgress':_0x336165(_0x13785c['length'],_0x1a1b73),'signal':_0x5004c6,'integration':_0xf399c5,'retryThrottledRequestMaxTimes':_0x37a7a8,'retryNetworkErrorMaxTimes':_0x2ec86b})))]);})['then'](([_0x7b9755])=>function(_0x501bea,{publicKey:_0x1ed98f,baseURL:t=_0x510b61,source:_0xf79540='local',signal:_0x470246,integration:_0x327b95,userAgent:_0x5b7ae8,retryThrottledRequestMaxTimes:_0x274d2b=_0x11ed99,retryNetworkErrorMaxTimes:_0x41577c=_0x3f8c36}){return _0x1469a2(()=>_0x57af29({'method':'POST','url':_0x1ca0fd(t,'/multipart/complete/',{'jsonerrors':0x1}),'headers':{'X-UC-User-Agent':_0x5ba890({'publicKey':_0x1ed98f,'integration':_0x327b95,'userAgent':_0x5b7ae8})},'data':_0x519ce4({'uuid':_0x501bea,'UPLOADCARE_PUB_KEY':_0x1ed98f,'source':_0xf79540}),'signal':_0x470246})['then'](({data:_0x3df0e6,headers:_0x5014a4,request:_0x5c3e19})=>{let _0xd000a9=_0x81cd54(JSON['parse'](_0x3df0e6));if('error'in _0xd000a9)throw new _0x11172b(_0xd000a9['error']['content'],_0xd000a9['error']['errorCode'],_0x5c3e19,_0xd000a9,_0x5014a4);return _0xd000a9;}),{'retryThrottledRequestMaxTimes':_0x274d2b,'retryNetworkErrorMaxTimes':_0x41577c});}(_0x7b9755,{'publicKey':_0x555ad2,'baseURL':_0x351519,'source':_0x1fe2bc,'integration':_0xf399c5,'userAgent':_0x283a19,'retryThrottledRequestMaxTimes':_0x37a7a8,'retryNetworkErrorMaxTimes':_0x2ec86b}))['then'](_0x5e1563=>_0x5e1563['isReady']?_0x5e1563:_0x22ac8d(_0x5e1563['uuid'],{'publicKey':_0x555ad2,'baseURL':_0x351519,'source':_0x1fe2bc,'integration':_0xf399c5,'userAgent':_0x283a19,'retryThrottledRequestMaxTimes':_0x37a7a8,'retryNetworkErrorMaxTimes':_0x2ec86b,'onProgress':_0x34e0fb,'signal':_0x5004c6}))['then'](_0x1cbd8=>new _0x11d7c0(_0x1cbd8,{'baseCDN':_0x2ebc49}));};async function _0x3260c3(_0x5750d3,{publicKey:_0x17c3d8,fileName:t,baseURL:_0x334884=_0x510b61,secureSignature:_0x39ff48,secureExpire:_0x526d6c,store:_0x3fa956,signal:_0x3a731e,onProgress:_0x5a5cd0,source:_0x319a0a,integration:_0x512d00,userAgent:_0x50fdba,retryThrottledRequestMaxTimes:_0x1e688f,retryNetworkErrorMaxTimes:_0x1575ba,contentType:_0x488d5f,multipartMinFileSize:_0x3764cd,multipartChunkSize:_0x113599,maxConcurrentRequests:_0x40bab6,baseCDN:_0x5dea3f=_0x192f2f,checkForUrlDuplicates:_0x4cf71e,saveUrlForRecurrentUploads:_0x14a089,pusherKey:_0x47f927,metadata:_0x5e11d5}){if(_0x8ab497(_0x5750d3)){let _0x4fd8bb=await _0x4a4c54(_0x5750d3);return((_0x16d899,_0x136156=_0x449759)=>_0x16d899>=_0x136156)(_0x4fd8bb,_0x3764cd)?_0x2a3b55(_0x5750d3,{'publicKey':_0x17c3d8,'contentType':_0x488d5f,'multipartChunkSize':_0x113599,'fileSize':_0x4fd8bb,'fileName':t,'baseURL':_0x334884,'secureSignature':_0x39ff48,'secureExpire':_0x526d6c,'store':_0x3fa956,'signal':_0x3a731e,'onProgress':_0x5a5cd0,'source':_0x319a0a,'integration':_0x512d00,'userAgent':_0x50fdba,'maxConcurrentRequests':_0x40bab6,'retryThrottledRequestMaxTimes':_0x1e688f,'retryNetworkErrorMaxTimes':_0x1575ba,'baseCDN':_0x5dea3f,'metadata':_0x5e11d5}):_0x4bdc57(_0x5750d3,{'publicKey':_0x17c3d8,'fileName':t,'contentType':_0x488d5f,'baseURL':_0x334884,'secureSignature':_0x39ff48,'secureExpire':_0x526d6c,'store':_0x3fa956,'signal':_0x3a731e,'onProgress':_0x5a5cd0,'source':_0x319a0a,'integration':_0x512d00,'userAgent':_0x50fdba,'retryThrottledRequestMaxTimes':_0x1e688f,'retryNetworkErrorMaxTimes':_0x1575ba,'baseCDN':_0x5dea3f,'metadata':_0x5e11d5});}if(_0x573e85(_0x5750d3))return _0xef224e(_0x5750d3,{'publicKey':_0x17c3d8,'fileName':t,'baseURL':_0x334884,'baseCDN':_0x5dea3f,'checkForUrlDuplicates':_0x4cf71e,'saveUrlForRecurrentUploads':_0x14a089,'secureSignature':_0x39ff48,'secureExpire':_0x526d6c,'store':_0x3fa956,'signal':_0x3a731e,'onProgress':_0x5a5cd0,'source':_0x319a0a,'integration':_0x512d00,'userAgent':_0x50fdba,'retryThrottledRequestMaxTimes':_0x1e688f,'pusherKey':_0x47f927,'metadata':_0x5e11d5});if(_0x3c894d(_0x5750d3))return((_0x30d72b,{publicKey:_0x268791,fileName:t,baseURL:_0x54d15b,signal:_0x579cc0,onProgress:_0x24b9d7,source:_0x5515a0,integration:_0x21962a,userAgent:_0x47aa6e,retryThrottledRequestMaxTimes:_0x15a36c,retryNetworkErrorMaxTimes:_0x13204d,baseCDN:_0x179e96})=>_0x362d92(_0x30d72b,{'publicKey':_0x268791,'baseURL':_0x54d15b,'signal':_0x579cc0,'source':_0x5515a0,'integration':_0x21962a,'userAgent':_0x47aa6e,'retryThrottledRequestMaxTimes':_0x15a36c,'retryNetworkErrorMaxTimes':_0x13204d})['then'](_0xf45de5=>new _0x11d7c0(_0xf45de5,{'baseCDN':_0x179e96,'fileName':t}))['then'](_0x22ab18=>(_0x24b9d7&&_0x24b9d7({'isComputable':!0x0,'value':0x1}),_0x22ab18)))(_0x5750d3,{'publicKey':_0x17c3d8,'fileName':t,'baseURL':_0x334884,'signal':_0x3a731e,'onProgress':_0x5a5cd0,'source':_0x319a0a,'integration':_0x512d00,'userAgent':_0x50fdba,'retryThrottledRequestMaxTimes':_0x1e688f,'retryNetworkErrorMaxTimes':_0x1575ba,'baseCDN':_0x5dea3f});throw new TypeError('File\x20uploading\x20from\x20\x22'+_0x5750d3+'\x22\x20is\x20not\x20supported');}var _0x55be0b=class{['uuid'];['filesCount'];['totalSize'];['isStored'];['isImage'];['cdnUrl'];['files'];['createdAt'];['storedAt']=null;constructor(_0x47044b,{baseCDN:t=_0x192f2f}={}){this['uuid']=_0x47044b['id'],this['filesCount']=_0x47044b['filesCount'];let _0x4878a9=_0x47044b['files']['filter'](Boolean);this['totalSize']=Object['values'](_0x4878a9)['reduce']((_0x5c7096,_0x51ac37)=>_0x5c7096+_0x51ac37['size'],0x0),this['isStored']=!!_0x47044b['datetimeStored'],this['isImage']=!!Object['values'](_0x4878a9)['filter'](_0x48ade8=>_0x48ade8['isImage'])['length'],this['cdnUrl']=((_0x3021d3,_0xeca3a7)=>{try{let t=new URL(_0x3021d3),_0x30c9eb=new URL(_0xeca3a7);return t['protocol']=_0x30c9eb['protocol'],t['hostname']=_0x30c9eb['hostname'],t['port']=_0x30c9eb['port'],t['toString']();}catch{return _0x3021d3;}})(_0x47044b['cdnUrl'],t),this['files']=_0x4878a9['map'](_0x4834fc=>new _0x11d7c0(_0x4834fc,{'baseCDN':t})),this['createdAt']=_0x47044b['datetimeCreated'],this['storedAt']=_0x47044b['datetimeStored'];}};function _0x186347(_0x57d022,{publicKey:_0x1f30ee,fileName:t,baseURL:_0x4665b9=_0x510b61,secureSignature:_0x594aeb,secureExpire:_0x35b613,store:_0x44a4cc,signal:_0x25a49c,onProgress:_0x103bb7,source:_0x2cc425,integration:_0x19925a,userAgent:_0x4ebec7,retryThrottledRequestMaxTimes:_0x44fc21,retryNetworkErrorMaxTimes:_0x1a409d,contentType:_0x1ee2f8,multipartChunkSize:_0x271bf4=_0x90351e,baseCDN:_0x576c53=_0x192f2f,checkForUrlDuplicates:_0x505e30,saveUrlForRecurrentUploads:_0x3b9b1d,jsonpCallback:_0x4736cd}){if(!(_0x352218=>{for(let _0x4a2db2 of _0x352218)if(!_0x8ab497(_0x4a2db2))return!0x1;return!0x0;})(_0x57d022)&&!(_0x2e3c1e=>{for(let _0x1b0d2e of _0x2e3c1e)if(!_0x573e85(_0x1b0d2e))return!0x1;return!0x0;})(_0x57d022)&&!(_0x416ff5=>{for(let _0x34900e of _0x416ff5)if(!_0x3c894d(_0x34900e))return!0x1;return!0x0;})(_0x57d022))throw new TypeError('Group\x20uploading\x20from\x20\x22'+_0x57d022+'\x22\x20is\x20not\x20supported');let _0x20fca6,_0x52f73d=!0x0,_0x2523ff=_0x57d022['length'],_0x416eec=(_0x2ba849,_0x3b9869)=>{if(!_0x103bb7)return;_0x20fca6||(_0x20fca6=Array(_0x2ba849)['fill'](0x0));let _0x498b2b=_0x719bc1=>_0x719bc1['reduce']((_0x374966,_0x349a4f)=>_0x374966+_0x349a4f)/_0x2ba849;return _0x20d1f6=>{if(!_0x20d1f6['isComputable']||!_0x52f73d)return _0x52f73d=!0x1,void _0x103bb7({'isComputable':!0x1});_0x20fca6[_0x3b9869]=_0x20d1f6['value'],_0x103bb7({'isComputable':!0x0,'value':_0x498b2b(_0x20fca6)});};};return Promise['all'](_0x57d022['map']((_0x385f40,_0x53bc71)=>_0x8ab497(_0x385f40)||_0x573e85(_0x385f40)?_0x3260c3(_0x385f40,{'publicKey':_0x1f30ee,'fileName':t,'baseURL':_0x4665b9,'secureSignature':_0x594aeb,'secureExpire':_0x35b613,'store':_0x44a4cc,'signal':_0x25a49c,'onProgress':_0x416eec(_0x2523ff,_0x53bc71),'source':_0x2cc425,'integration':_0x19925a,'userAgent':_0x4ebec7,'retryThrottledRequestMaxTimes':_0x44fc21,'retryNetworkErrorMaxTimes':_0x1a409d,'contentType':_0x1ee2f8,'multipartChunkSize':_0x271bf4,'baseCDN':_0x576c53,'checkForUrlDuplicates':_0x505e30,'saveUrlForRecurrentUploads':_0x3b9b1d})['then'](_0x27edc4=>_0x27edc4['uuid']):_0x385f40))['then'](_0x16b256=>function(_0x47e59a,{publicKey:_0x35d4b2,baseURL:t=_0x510b61,jsonpCallback:_0x875ff2,secureSignature:_0x497de2,secureExpire:_0xf6f566,signal:_0x27f9eb,source:_0x5ddf4b,integration:_0x14a6de,userAgent:_0x11d7bd,retryThrottledRequestMaxTimes:_0x5a9bed=_0x11ed99,retryNetworkErrorMaxTimes:_0xc61e1f=_0x3f8c36}){return _0x1469a2(()=>_0x57af29({'method':'POST','headers':{'X-UC-User-Agent':_0x5ba890({'publicKey':_0x35d4b2,'integration':_0x14a6de,'userAgent':_0x11d7bd})},'url':_0x1ca0fd(t,'/group/',{'jsonerrors':0x1}),'data':_0x519ce4({'files':_0x47e59a,'callback':_0x875ff2,'pub_key':_0x35d4b2,'signature':_0x497de2,'expire':_0xf6f566,'source':_0x5ddf4b}),'signal':_0x27f9eb})['then'](({data:_0xe36d4a,headers:_0x532b4c,request:_0x21ba6d})=>{let _0x75d52=_0x81cd54(JSON['parse'](_0xe36d4a));if('error'in _0x75d52)throw new _0x11172b(_0x75d52['error']['content'],_0x75d52['error']['errorCode'],_0x21ba6d,_0x75d52,_0x532b4c);return _0x75d52;}),{'retryNetworkErrorMaxTimes':_0xc61e1f,'retryThrottledRequestMaxTimes':_0x5a9bed});}(_0x16b256,{'publicKey':_0x1f30ee,'baseURL':_0x4665b9,'jsonpCallback':_0x4736cd,'secureSignature':_0x594aeb,'secureExpire':_0x35b613,'signal':_0x25a49c,'source':_0x2cc425,'integration':_0x19925a,'userAgent':_0x4ebec7,'retryThrottledRequestMaxTimes':_0x44fc21,'retryNetworkErrorMaxTimes':_0x1a409d})['then'](_0x232166=>new _0x55be0b(_0x232166,{'baseCDN':_0x576c53}))['then'](_0x4feb20=>(_0x103bb7&&_0x103bb7({'isComputable':!0x0,'value':0x1}),_0x4feb20)));}var _0x13f6ef=class{['Vi']=0x1;['io']=[];['_i']=0x0;['ro']=new Map();['oo']=new Map();constructor(_0x15f597){this['Vi']=_0x15f597;}['run'](){let _0x1ed1fe=this['Vi']-this['_i'];for(let t=0x0;t<_0x1ed1fe;t++){let _0xbaa3c9=this['io']['shift']();if(!_0xbaa3c9)return;let _0x47745b=this['ro']['get'](_0xbaa3c9),_0x48dc5e=this['oo']['get'](_0xbaa3c9);if(!_0x47745b||!_0x48dc5e)throw new Error('Unexpected\x20behavior:\x20resolver\x20or\x20rejector\x20is\x20undefined');this['_i']+=0x1,_0xbaa3c9()['finally'](()=>{this['ro']['delete'](_0xbaa3c9),this['oo']['delete'](_0xbaa3c9),this['_i']-=0x1,this['run']();})['then'](_0x44fb3d=>_0x47745b(_0x44fb3d))['catch'](_0x5c206e=>_0x48dc5e(_0x5c206e));}}['add'](_0x11521b,{autoRun:t}={'autoRun':!0x0}){return new Promise((_0x4ba59d,_0x385a6f)=>{this['ro']['set'](_0x11521b,_0x4ba59d),this['oo']['set'](_0x11521b,_0x385a6f),this['io']['push'](_0x11521b),t&&this['run']();});}get['pending'](){return this['io']['length'];}get['running'](){return this['_i'];}set['concurrency'](_0x2be940){this['Vi']=_0x2be940,this['run']();}get['concurrency'](){return this['Vi'];}},_0x30f00f=_0x3963da=>({'*currentActivity':null,'*currentActivityParams':{},'*history':[],'*historyBack':null,'*closeModal':()=>{_0x3963da['modalManager']?.['close'](_0x3963da['$']['*currentActivity']),_0x3963da['pub']('*currentActivity',null);}}),_0x142acb=_0x3835b1=>({..._0x30f00f(_0x3835b1),'*commonProgress':0x0,'*uploadList':[],'*uploadQueue':new _0x13f6ef(0x1),'*collectionErrors':[],'*collectionState':null,'*groupInfo':null,'*uploadTrigger':new Set()}),_0x3e80cf=Object['freeze']({'START_FROM':'start-from','CAMERA':'camera','UPLOAD_LIST':'upload-list','URL':'url','CLOUD_IMG_EDIT':'cloud-image-edit','EXTERNAL':'external'}),tJ=class extends _0x50c29b{constructor(t){super(t),this['scopes']=new Set(),this['listener']=this['_c']['bind'](this),window['addEventListener']('paste',this['listener']);}['openUploadList'](){this['i']['api']['setCurrentActivity'](_0x3e80cf['UPLOAD_LIST']),this['i']['api']['setModalState'](!0x0);}async['_c'](t){if(t['clipboardData']){for(let _0x35097c of this['scopes'])if(_0x35097c['isConnected'])switch(this['ze']['pasteScope']){case'global':await this['handlePaste'](t);break;case'local':if(!_0x35097c['contains'](t['target']))continue;await this['handlePaste'](t);break;default:continue;}}}async['handlePaste'](t){if(!t['clipboardData'])return;let _0x8cfba9=Array['from'](t['clipboardData']['items']),_0x56cfa7=_0x8cfba9['map'](_0x14bffa=>_0x14bffa['getAsFile']())['filter'](_0x43dceb=>null!==_0x43dceb),_0x3022e8=_0x8cfba9['filter'](_0x5ac3b0=>'string'===_0x5ac3b0['kind']&&'text/plain'===_0x5ac3b0['type'])['map'](_0x1a3845=>new Promise(_0x2ea7b3=>{_0x1a3845['getAsString'](_0x409c43=>{_0x2ea7b3(_0x409c43);});}));_0x56cfa7['length']>0x0&&(_0x56cfa7['forEach'](_0x5d74b7=>{this['i']['api']['addFileFromObject'](_0x5d74b7,{'source':'clipboard'});}),this['openUploadList']()),_0x3022e8['length']>0x0&&((await Promise['all'](_0x3022e8))['forEach'](_0x47e5ae=>{this['i']['api']['addFileFromUrl'](_0x47e5ae,{'source':'clipboard'});}),this['openUploadList']());}['registerBlock'](t){return this['scopes']['add'](t),()=>{this['scopes']['delete'](t);};}['destroy'](){super['destroy'](),window['removeEventListener']('paste',this['listener']),this['scopes']['clear']();}},_0x4c3536={'button':['toolbar'],'checkbox':['toolbar'],'menuitem':['menu','menubar'],'option':['listbox'],'tab':['tablist']};function _0x1e4d6f(_0xb5994b,_0x1a1837){_0x1a1837['tabIndex']=0x0,_0x1a1837['focus'](),_0xb5994b['tabIndex']=-0x1;}function _0x47217e(_0x2c4723){let _0x40469c=_0x2c4723['role']||_0x2c4723['type']||_0x2c4723['tagName'];if(!_0x40469c)return null;let t=_0x4c3536[_0x40469c['toLowerCase']()];if(!t)return null;for(let _0x33ea59 of t){let _0x435831=_0x2c4723['closest']('[role='+_0x33ea59+']');if(_0x435831)return _0x435831;}}function _0x184f28(_0x3aa634,_0x1db20f){return'toolbar'===_0x1db20f['role']?function(_0x20c0b0){return[..._0x20c0b0['querySelectorAll']('*')]['filter'](t=>'button'===t['role']||'button'===t['type']||'checkbox'===t['role']||'checkbox'===t['type']);}(_0x1db20f):_0x1db20f['querySelectorAll']('[role='+_0x3aa634['role']+']');}function _0x184630(_0x33a3fc){return _0x81ff0b=>{let t=!0x1,_0x120610=0x0,_0x17594e='';function _0x3b3b0e(_0x598e03){let _0x7e2074=_0x47217e(_0x598e03['target']);if(!_0x7e2074)return void _0x394088();let _0x5dd8fd=_0x184f28(_0x598e03['target'],_0x7e2074),_0x35acea=function(_0x25ce95,_0x3bbef7){return Array['from'](_0x25ce95)['filter'](t=>{let _0x2f2679=t['parentElement'];for(;_0x2f2679&&_0x2f2679!==_0x3bbef7;){if('true'===_0x2f2679['getAttribute']('aria-hidden'))return!0x1;_0x2f2679=_0x2f2679['parentElement'];}return!0x0;});}(_0x5dd8fd,_0x7e2074),_0x5c517a=Array['from'](_0x35acea)['indexOf'](_0x598e03['target']),_0x914de4='ArrowDown',_0x5d1e77='ArrowUp';if(function(_0x36e80d){let _0x2b0b82=_0x36e80d['getAttribute']('aria-orientation');if('vertical'===_0x2b0b82)return!0x1;if('horizontal'===_0x2b0b82)return!0x0;let t=_0x36e80d['role'];return'menubar'===t||'tablist'===t||'toolbar'===t;}(_0x7e2074)&&('rtl'===_0x81ff0b['document']['dir']?(_0x914de4='ArrowLeft',_0x5d1e77='ArrowRight'):(_0x914de4='ArrowRight',_0x5d1e77='ArrowLeft')),_0x598e03['key']===_0x914de4)_0x598e03['preventDefault'](),_0x1e4d6f(_0x598e03['target'],_0x35acea[_0x5c517a+0x1]||_0x35acea[0x0]);else{if(_0x598e03['key']===_0x5d1e77)_0x598e03['preventDefault'](),_0x1e4d6f(_0x598e03['target'],_0x35acea[_0x5c517a-0x1]||_0x35acea[_0x35acea['length']-0x1]);else{if('Home'===_0x598e03['key'])_0x598e03['preventDefault'](),_0x1e4d6f(_0x598e03['target'],_0x35acea[0x0]);else{if('End'===_0x598e03['key'])_0x598e03['preventDefault'](),_0x1e4d6f(_0x598e03['target'],_0x35acea[_0x35acea['length']-0x1]);else{if(0x1===_0x598e03['key']['length']&&'tablist'!==_0x7e2074['role']){_0x598e03['timeStamp']-_0x120610<=0x12c?_0x17594e+=_0x598e03['key']['toLowerCase']():_0x17594e=_0x598e03['key']['toLowerCase'](),_0x120610=_0x598e03['timeStamp'];let _0x4703a3=Array['from'](_0x5dd8fd)['find'](_0x27cf0a=>_0x27cf0a['textContent']?.['trim']()?.['toLowerCase']()?.['startsWith'](_0x17594e));_0x4703a3&&(_0x598e03['preventDefault'](),_0x1e4d6f(_0x598e03['target'],_0x4703a3));}}}}}}function _0x394088(){t=!0x1,_0x81ff0b['removeEventListener']('keydown',_0x3b3b0e);}function _0x266532(_0x981d6c){let _0x59a22b=_0x47217e(_0x981d6c['target']);if(_0x59a22b){t||(t=!0x0,_0x81ff0b['addEventListener']('keydown',_0x3b3b0e));let _0x5af0a8=_0x184f28(_0x981d6c['target'],_0x59a22b);for(let _0x5bbad8 of _0x5af0a8)_0x5bbad8!==_0x981d6c['target']&&_0x5bbad8['setAttribute']('tabindex',-0x1);}else t&&_0x394088();}function _0x25ccf1(_0xae33d6){(!_0xae33d6['relatedTarget']||_0xae33d6['relatedTarget']===_0x81ff0b['document'])&&_0x394088();}function _0x100d52(_0x2fb590){let _0x529187=_0x47217e(_0x2fb590['target']);if(_0x529187){let _0x516ccc=_0x184f28(_0x2fb590['target'],_0x529187);for(let _0x32f05a of _0x516ccc)_0x32f05a!==_0x2fb590['target']&&_0x32f05a['setAttribute']('tabindex',-0x1);_0x2fb590['target']['setAttribute']('tabindex',0x0);}}return _0x81ff0b['addEventListener']('click',_0x100d52),_0x81ff0b['addEventListener']('focusin',_0x266532),_0x81ff0b['addEventListener']('focusout',_0x25ccf1),()=>{_0x394088(),_0x81ff0b['removeEventListener']('click',_0x100d52),_0x81ff0b['removeEventListener']('focusin',_0x266532),_0x81ff0b['removeEventListener']('focusout',_0x25ccf1);};};}function _0x2c155c(){return _0x222658=>{let _0x12a491=[];function _0x14659b(){let _0x1fb203=_0x12a491['pop']();if(!_0x1fb203)return void _0x222658['document']['activeElement']['blur']();let _0x3bdfa9=_0x1fb203['deref']();_0x3bdfa9&&_0x3bdfa9['isConnected']?_0x3bdfa9['focus']():_0x14659b();}let _0x40d96f,_0x3bb8e1=0x0;function _0x1123a7(_0x3a1a06){clearInterval(_0x40d96f);let _0x5af85b=_0x3a1a06['getAttribute']('aria-controls');_0x40d96f=setInterval(()=>{if(_0x3bb8e1++>0x32)return void clearInterval(_0x40d96f);let _0x24b8e3=_0x222658['document']['getElementById'](_0x5af85b);if(_0x24b8e3){let _0x39aef2=_0x24b8e3['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x39aef2&&(clearInterval(_0x40d96f),_0x24b8e3['dispatchEvent'](new _0x222658['CustomEvent']('keyuxJump',{'bubbles':!0x0})),function(_0x313cd0){let _0x105c62=_0x222658['document']['activeElement'];_0x105c62&&_0x105c62!==_0x222658['document']['body']&&_0x12a491['push'](new WeakRef(_0x105c62)),_0x313cd0['focus']({'focusVisible':!0x0});}(_0x39aef2));}},0x32);}function _0x9ee83d(_0x4ccfe0){_0x4ccfe0['target']['getAttribute']('aria-controls')&&'Enter'===_0x4ccfe0['key']&&_0x1123a7(_0x4ccfe0['target']),'Escape'===_0x4ccfe0['key']&&_0x14659b();}return _0x222658['addEventListener']('keydown',_0x9ee83d),()=>{_0x222658['removeEventListener']('keydown',_0x9ee83d);};};}function _0x387a62(_0x107b0f){let _0x28ef8d,_0xe4d9cc,t=_0x107b0f['split']('\x20');function _0x51ce29(_0x1ad638){('Enter'===_0x1ad638['key']||'\x20'===_0x1ad638['key'])&&('BUTTON'===_0x1ad638['target']['tagName']||'A'===_0x1ad638['target']['tagName'])&&(_0x1a5b93(),_0x1ad638['target']['classList']['add'](...t),_0x28ef8d=_0x1ad638['target'],_0xe4d9cc=_0x1ad638['target']);}function _0x1a5b93(){_0x28ef8d&&(_0x28ef8d['classList']['remove'](...t),_0x28ef8d=0x0,setTimeout(()=>{_0xe4d9cc=0x0;},0x0));}function _0x3f5cac(_0x4324ee){0x0===_0x4324ee['clientX']&&0x0===_0x4324ee['clientY']&&_0x28ef8d!==_0x4324ee['target']&&(_0x1a5b93(),_0xe4d9cc!==_0x4324ee['target']&&(_0x4324ee['target']['classList']['add'](...t),_0x28ef8d=_0x4324ee['target']));}return _0x5ab764=>(_0x5ab764['addEventListener']('click',_0x3f5cac),_0x5ab764['addEventListener']('keydown',_0x51ce29),_0x5ab764['addEventListener']('keyup',_0x1a5b93),()=>{_0x5ab764['removeEventListener']('click',_0x3f5cac),_0x5ab764['removeEventListener']('keydown',_0x51ce29),_0x5ab764['removeEventListener']('keyup',_0x1a5b93);});}var _0x3d158d=class{constructor(){this['te']=new Map(),this['so']=[];}['addEventListener'](_0x144a8a,t){let _0x4b3915=_0x6f02d6=>{let _0x25f364=_0x6f02d6['target'];_0x25f364 instanceof Node&&this['so']['some'](_0x15b26e=>_0x15b26e===_0x25f364||_0x15b26e['contains'](_0x25f364))&&t(_0x6f02d6);};this['te']['set'](t,_0x4b3915),window['addEventListener'](_0x144a8a,_0x4b3915);}['removeEventListener'](_0x507ec8,t){let _0x26b4d7=this['te']['get'](t);_0x26b4d7&&window['removeEventListener'](_0x507ec8,_0x26b4d7),this['te']['delete'](t);}get['CustomEvent'](){return window['CustomEvent'];}get['document'](){return window['document'];}get['navigator'](){return window['navigator'];}['registerScope'](_0x3dd28c){this['so']['push'](_0x3dd28c);}['destroy'](){this['so']=[];for(let _0x4e6450 of this['te']['values']())window['removeEventListener']('keydown',_0x4e6450),window['removeEventListener']('keyup',_0x4e6450);this['te']['clear']();}},_0x179868=class{constructor(){this['Bi']=new _0x3d158d(),this['an']=function(_0x4a037d,_0x71bdf){let t=_0x71bdf['map'](_0x3798b2=>_0x3798b2(_0x4a037d));return()=>{t['forEach'](_0x54fd7a=>_0x54fd7a());};}(this['Bi'],[_0x184630(),_0x387a62('is-pressed'),_0x2c155c(),_0xce7262=>{let _0x702f1a,t;function _0x228c4f(_0x15cf68){if('true'===_0x15cf68['target']['getAttribute']('aria-hidden')){_0x702f1a=_0x15cf68['target'],_0x702f1a['setAttribute']('aria-hidden','false'),t=_0x702f1a['hidden'],t&&(_0x702f1a['hidden']=!0x1);let _0x560ad2=_0x15cf68['target']['querySelector']('a,\x20button,\x20select,\x20textarea,\x20input:not([type=radio]),\x20[type=radio]:checked,\x20[tabindex]:not([tabindex=\x22-1\x22])');_0x560ad2&&(_0x560ad2['tabIndex']=0x0);}}function _0x149228(_0x193b16){_0x702f1a&&_0x702f1a['contains'](_0x193b16['target'])&&(!_0x193b16['relatedTarget']||!_0x702f1a['contains'](_0x193b16['relatedTarget']))&&(_0x193b16['target']['tabIndex']=-0x1,_0x702f1a['setAttribute']('aria-hidden','true'),t&&(_0x702f1a['hidden']=!0x0),_0x702f1a=null);}return _0xce7262['addEventListener']('keyuxJump',_0x228c4f),_0xce7262['addEventListener']('focusout',_0x149228),()=>{_0xce7262['removeEventListener']('keyuxJump',_0x228c4f),_0xce7262['removeEventListener']('focusout',_0x149228);};}]);}['registerBlock'](_0xc77dee){this['Bi']['registerScope'](_0xc77dee);}['destroy'](){this['an']?.(),this['Bi']['destroy']();}},_0x548c8b=_0x345dae=>'*l10n/'+_0x345dae,_0x47bd85=class extends _0x50c29b{constructor(t){super(t),this['Tt']='';for(let [_0x1f5b73,_0x3c6ab9]of Object['entries'](_0x47a79b)){let _0x10f4c0=!this['e']['has'](_0x548c8b(_0x1f5b73))||!this['e']['read'](_0x548c8b(_0x1f5b73));this['e']['add'](_0x548c8b(_0x1f5b73),_0x3c6ab9,_0x10f4c0);}let _0x49f4d5=t['pluginManager'];_0x49f4d5?.['onPluginsChange']&&this['addSub'](_0x49f4d5['onPluginsChange'](()=>{this['Tt']&&this['ln'](this['Tt']);})),this['addSub'](this['e']['sub'](tY('localeName'),async _0x59a3b5=>{if(!_0x59a3b5)return;this['Tt']=_0x59a3b5;let _0x251634=await(async _0x42b121=>{let _0xc4b63b=_0x2c1760['get'](_0x42b121);if(!_0xc4b63b){let t=_0x20572a['get'](_0x42b121);if(!t)throw new Error('Locale\x20'+_0x42b121+'\x20is\x20not\x20defined');_0xc4b63b=_0x224398(_0x42b121,await t());}return _0xc4b63b;})(_0x59a3b5);'en'!==_0x59a3b5&&this['Tt']!==_0x59a3b5||(this['ln'](_0x59a3b5),this['cn'](_0x59a3b5,_0x251634));})),this['addSub'](this['e']['sub'](tY('localeDefinitionOverride'),_0x282eaa=>{if(!_0x282eaa)return;let _0x523132=_0x282eaa[this['Tt']];_0x523132&&this['cn'](this['Tt'],_0x523132);}));}['cn'](t,_0x3e6237){let _0x4f51af=this['ze']['localeDefinitionOverride']?.[t];for(let [_0x149c5d,_0x320494]of Object['entries'](_0x3e6237)){let _0x2e9732=_0x4f51af?.[_0x149c5d];this['e']['add'](_0x548c8b(_0x149c5d),_0x2e9732??_0x320494,!0x0);}}['ln'](t){let _0x1f8f6b=this['i']['pluginManager'];if(!_0x1f8f6b)return;let _0x1e5101=_0x1f8f6b['snapshot']();for(let _0x570969 of _0x1e5101['l10n']){let {pluginId:_0x1eff4c,..._0x44b930}=_0x570969,_0x4c3e0b=_0x44b930[t];if(_0x4c3e0b){for(let [_0x5ba471,_0x186924]of Object['entries'](_0x4c3e0b))void 0x0!==_0x186924&&this['e']['add'](_0x548c8b(_0x5ba471),_0x186924,!0x0);}}}},_0x287f78=()=>{let _0x38e7ab=navigator['userAgent'];return/Macintosh|Windows/['test'](_0x38e7ab)&&/Version\/[\d.]+.*Safari/['test'](_0x38e7ab)&&!/Chrome|Chromium|Edg|OPR/['test'](_0x38e7ab);},_0x3cd559={'safariDesktop':_0x287f78()},_0x404dc0={'htmlMediaCapture':'capture'in document['createElement']('input')},_0x4dc90b='image/*',_0x3d725b='video/*',_0x23dce0=_0x3cd559['safariDesktop']?[_0x4dc90b]:[_0x4dc90b,...['image/heif','image/heif-sequence','image/heic','image/heic-sequence','image/avif','image/avif-sequence','.heif','.heifs','.heic','.heics','.avif','.avifs']],_0x5dc2ae=_0x66a89d=>_0x66a89d?_0x66a89d['filter'](_0x4d3c28=>'string'==typeof _0x4d3c28)['flatMap'](_0x3bd50e=>_0x430ffa(_0x3bd50e)):[],_0x26289e=(_0x37736d,_0xb9fbc0)=>_0xb9fbc0['some'](t=>{if(t['endsWith']('*')){let _0x40ef7e=t['replace']('*','');return _0x37736d['startsWith'](_0x40ef7e);}return _0x37736d===t;}),_0x41f43=_0xb20a7=>{let _0x4ba5d7=_0xb20a7?.['type'];return!!_0x4ba5d7&&_0x26289e(_0x4ba5d7,_0x23dce0);},_0x3afb27=class{constructor(_0xc2acaf,t){this['e']=_0xc2acaf,this['zc']=t,this['Xt']=new Set(),this['un']=this['e']['sub']('*lazyPlugins',_0x743fba=>{this['Bc'](_0x743fba??[]);});}['Bc'](_0x53d861){for(let _0x5939cf of this['Xt'])_0x5939cf();if(this['Xt']['clear'](),0x0===_0x53d861['length'])return;let t=new Set([tY('plugins')]);for(let _0x4f68d7 of _0x53d861)for(let _0x2f1a28 of _0x4f68d7['configDeps'])t['add'](tY(_0x2f1a28));let _0x2628a2=()=>this['dn'](_0x53d861);for(let _0x43ba34 of t)this['Xt']['add'](this['e']['sub'](_0x43ba34,_0x2628a2,!0x1));this['dn'](_0x53d861);}['dn'](_0x507890){this['ao']?.['abort']();let t=new AbortController();this['ao']=t;let _0xaa810d=_0x27022b=>this['e']['read'](tY(_0x27022b)),_0x4c8fc1=_0xaa810d('plugins'),_0x1bb43d=(async({entries:_0x51501e,signal:_0x4120cd})=>(await Promise['all'](_0x51501e['map'](async _0x2e4912=>{if(_0x2e4912['isEnabled']())try{let _0x2a1244=await _0x2e4912['load']();return _0x4120cd['aborted']||!_0x2e4912['isEnabled']()?void 0x0:_0x2a1244??void 0x0;}catch(_0x566781){return void(_0x4120cd['aborted']||console['warn']('Failed\x20to\x20load\x20lazy\x20plugin',_0x566781));}})))['filter'](_0x1a0fd8=>void 0x0!==_0x1a0fd8))({'entries':_0x507890['map'](_0x2036f7=>({'isEnabled':()=>_0x2036f7['isEnabled'](_0xaa810d),'load':_0x2036f7['load']})),'signal':t['signal']})['then'](_0x360f36=>{if(!t['signal']['aborted'])return[..._0x4c8fc1,..._0x360f36];});this['zc'](_0x1bb43d);}['destroy'](){this['un']();for(let _0x4adaa4 of this['Xt'])_0x4adaa4();this['Xt']['clear'](),this['ao']?.['abort']();}},_0xa5174b=class{constructor(){this['Ke']=new Map();}['register'](_0x22f133,t){if(this['Ke']['has'](t['name']))return void console['warn']('[CustomConfig]\x20Config\x20option\x20\x22'+t['name']+'\x22\x20is\x20already\x20registered');let _0x340109={'attribute':!0x0,...t,'pluginId':_0x22f133};this['Ke']['set'](t['name'],_0x340109);}['unregister'](_0x3bfe63){this['Ke']['delete'](_0x3bfe63);}['unregisterByPlugin'](_0x1dfb34){for(let [t,_0x50d15f]of this['Ke'])_0x50d15f['pluginId']===_0x1dfb34&&this['Ke']['delete'](t);}['get'](_0x5a8c15){return this['Ke']['get'](_0x5a8c15);}['getAll'](){return new Map(this['Ke']);}},_0x341c62=class{constructor(){this['Me']=[],this['de']=[],this['zi']=[],this['Hi']=[],this['Ki']=[],this['Et']=[],this['config']=new _0xa5174b();}['xt'](_0x2c5cf7,t){return{...t,'pluginId':_0x2c5cf7};}['addSource'](_0x5e9da0,t){let _0x22cc0d=this['Me']['find'](_0x3fd2e6=>_0x3fd2e6['id']===t['id']);_0x22cc0d?console['warn']('[Plugin\x20\x22'+_0x5e9da0+'\x22]\x20Source\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x22cc0d['pluginId']+'\x22.\x20Skipping.'):this['Me']['push'](this['xt'](_0x5e9da0,t));}['addActivity'](_0x251e5b,t){let _0x119e4b=this['de']['find'](_0x4ccf5b=>_0x4ccf5b['id']===t['id']);_0x119e4b?console['warn']('[Plugin\x20\x22'+_0x251e5b+'\x22]\x20Activity\x20with\x20id\x20\x22'+t['id']+'\x22\x20is\x20already\x20registered\x20by\x20plugin\x20\x22'+_0x119e4b['pluginId']+'\x22.\x20Skipping.'):this['de']['push'](this['xt'](_0x251e5b,t));}['addFileAction'](_0x3eec43,t){this['zi']['push'](this['xt'](_0x3eec43,t));}['addFileHook'](_0x2a5cc7,t){this['Hi']['push'](this['xt'](_0x2a5cc7,{'timeout':0x7530,...t}));}['addIcon'](_0x42f512,t){this['Ki']['push'](this['xt'](_0x42f512,t));}['addL10n'](_0x34223d,t){this['Et']['push'](this['xt'](_0x34223d,t));}['addConfig'](_0x3b8cee,t){this['config']['register'](_0x3b8cee,t);}['purge'](_0x5d9439){this['Me']=this['Me']['filter'](t=>t['pluginId']!==_0x5d9439),this['de']=this['de']['filter'](t=>t['pluginId']!==_0x5d9439),this['zi']=this['zi']['filter'](t=>t['pluginId']!==_0x5d9439),this['Hi']=this['Hi']['filter'](t=>t['pluginId']!==_0x5d9439),this['Ki']=this['Ki']['filter'](t=>t['pluginId']!==_0x5d9439),this['Et']=this['Et']['filter'](t=>t['pluginId']!==_0x5d9439),this['config']['unregisterByPlugin'](_0x5d9439);}['snapshot'](){return{'sources':[...this['Me']],'activities':[...this['de']],'fileActions':[...this['zi']],'fileHooks':[...this['Hi']],'icons':[...this['Ki']],'l10n':[...this['Et']]};}},_0x224b69=class extends _0x50c29b{constructor(t){super(t),this['je']=new Map(),this['c']=new Set(),this['lo']=Promise['resolve'](),this['registry']=new _0x341c62(),this['pn']=new _0x3afb27(this['e'],_0x2bfe24=>{this['lo']=this['lo']['then'](()=>_0x2bfe24)['then'](_0x4b2ede=>{if(_0x4b2ede)return this['Hc'](_0x4b2ede);});});}get['configRegistry'](){return this['registry']['config'];}['pluginsReady'](){return this['lo'];}['onPluginsChange'](t){return this['c']['add'](t),()=>{this['c']['delete'](t);};}async['Hc'](t){let _0x1a561b=new Set(this['je']['keys']()),_0x16c57f=new Set();for(let _0x3c1f47 of t)if(_0x3c1f47['id']){if(_0x16c57f['has'](_0x3c1f47['id']))console['warn']('[PluginManager]\x20Plugin\x20\x22'+_0x3c1f47['id']+'\x22\x20is\x20already\x20in\x20the\x20list,\x20skipping\x20duplicate');else{if(_0x16c57f['add'](_0x3c1f47['id']),!this['je']['has'](_0x3c1f47['id']))try{await this['Kc'](_0x3c1f47);}catch(_0x4e4e6f){this['registry']['purge'](_0x3c1f47['id']),this['co'](),console['error']('[PluginManager]\x20Plugin\x20\x22'+_0x3c1f47['id']+'\x22\x20setup()\x20threw\x20an\x20error',_0x4e4e6f);}_0x1a561b['delete'](_0x3c1f47['id']);}}else console['warn']('[PluginManager]\x20A\x20plugin\x20is\x20missing\x20the\x20required\x20\x22id\x22\x20field,\x20skipping');for(let _0x4d7170 of _0x1a561b)this['uo'](_0x4d7170);}async['Kc'](t){this['je']['has'](t['id'])&&this['uo'](t['id']);let _0x5f52ff,_0x237d65=[],_0x36c3c5=function(_0xfc08de,_0x20924f,t,_0x18bf53,_0x5a1b52){return{'registry':{'registerSource':_0x5743cf=>_0xfc08de['addSource'](_0x18bf53,_0x5743cf),'registerActivity':_0x50d385=>_0xfc08de['addActivity'](_0x18bf53,_0x50d385),'registerFileAction':_0x89dd21=>_0xfc08de['addFileAction'](_0x18bf53,_0x89dd21),'registerFileHook':_0x5cc3da=>_0xfc08de['addFileHook'](_0x18bf53,_0x5cc3da),'registerIcon':_0x37f114=>_0xfc08de['addIcon'](_0x18bf53,_0x37f114),'registerL10n':_0xe16e15=>_0xfc08de['addL10n'](_0x18bf53,_0xe16e15),'registerConfig':_0x25c7f9=>{_0xfc08de['addConfig'](_0x18bf53,_0x25c7f9);let _0x449c0d=tY(_0x25c7f9['name']);_0x20924f['has'](_0x449c0d)||_0x20924f['add'](_0x449c0d,_0x25c7f9['defaultValue']);}},'config':{'get':_0x22286b=>{let _0x9b6114=tY(_0x22286b);return _0x20924f['read'](_0x9b6114);},'subscribe':(_0x57b9b5,_0x3bbe1c)=>{let _0x4a5d55=tY(_0x57b9b5),_0xc2bb15=_0x20924f['sub'](_0x4a5d55,_0x122158=>{_0x3bbe1c(_0x122158);});return _0x5a1b52['push'](_0xc2bb15),_0xc2bb15;}},'activity':{'getParams':()=>_0x20924f['read']('*currentActivityParams'),'subscribeToParams':_0x2eeb1e=>{let _0x51e3e6=_0x20924f['sub']('*currentActivityParams',_0x3cb67a=>{_0x2eeb1e(_0x3cb67a);});return _0x5a1b52['push'](_0x51e3e6),_0x51e3e6;}},'files':{'update':(_0x5befdb,_0x5d7f5b)=>{let _0x31d2d3=t['uploadCollection']?.['read'](_0x5befdb);_0x31d2d3&&(void 0x0!==_0x5d7f5b['file']&&(_0x31d2d3['setValue']('file',_0x5d7f5b['file']),_0x31d2d3['setValue']('fileSize',_0x5d7f5b['file']['size'])),void 0x0!==_0x5d7f5b['cdnUrl']&&_0x31d2d3['setValue']('cdnUrl',_0x5d7f5b['cdnUrl']),void 0x0!==_0x5d7f5b['cdnUrlModifiers']&&_0x31d2d3['setValue']('cdnUrlModifiers',_0x5d7f5b['cdnUrlModifiers']),void 0x0!==_0x5d7f5b['mimeType']&&_0x31d2d3['setValue']('mimeType',_0x5d7f5b['mimeType']));}}};}(this['registry'],this['e'],this['i'],t['id'],_0x237d65),_0x4132ab=this['i']['api'];try{_0x5f52ff=await t['setup']({'pluginApi':_0x36c3c5,'uploaderApi':_0x4132ab})??void 0x0;}catch(_0xa76d62){for(let _0x4aac99 of _0x237d65)try{_0x4aac99();}catch(_0x928591){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x928591);}throw _0xa76d62;}this['je']['set'](t['id'],{'plugin':t,'dispose':_0x5f52ff,'configSubscriptions':_0x237d65}),this['co']();}['uo'](t){let _0xf59390=this['je']['get'](t);if(_0xf59390){this['registry']['purge'](t);for(let _0x579604 of _0xf59390['configSubscriptions'])try{_0x579604();}catch(_0x2b57bb){this['w']('Failed\x20to\x20unsubscribe\x20config\x20listener',_0x2b57bb);}_0xf59390['dispose']?.(),this['je']['delete'](t),this['co']();}}['snapshot'](){return this['registry']['snapshot']();}async['runOnAddHooks'](t){let _0x15e5bc=t['getValue']('file');if(!_0x15e5bc)return;let _0x4e320c=this['registry']['snapshot']()['fileHooks']['filter'](_0x55da50=>'onAdd'===_0x55da50['type']);if(0x0===_0x4e320c['length'])return;let _0x4040b6=_0x15e5bc,_0x289df8=new AbortController();for(let _0x3e1f6f of _0x4e320c){if(_0x289df8['signal']['aborted'])break;try{let _0xe20ea3=_0x3e1f6f['handler']({'file':_0x4040b6,'signal':_0x289df8['signal']}),_0x3a3d59=new Promise((_0xb04b43,_0x5cfb45)=>setTimeout(()=>_0x5cfb45(new Error('onAdd\x20hook\x20timed\x20out')),_0x3e1f6f['timeout']));({file:_0x4040b6}=await Promise['race']([_0xe20ea3,_0x3a3d59]));}catch(_0x34c8c9){console['warn']('File\x20hook\x20\x22onAdd\x22\x20from\x20plugin\x20\x22'+_0x3e1f6f['pluginId']+'\x22\x20failed',_0x34c8c9);}}_0x4040b6!==_0x15e5bc&&(t['setValue']('file',_0x4040b6),t['setValue']('fileSize',_0x4040b6['size']),t['setValue']('mimeType',_0x4040b6['type']||null),t['setValue']('isImage',_0x41f43(_0x4040b6)),_0x4040b6 instanceof File&&t['setValue']('fileName',_0x4040b6['name']));}['destroy'](){for(let t of Array['from'](this['je']['keys']()))this['uo'](t);this['pn']['destroy'](),super['destroy']();}['co'](){for(let t of this['c'])try{t();}catch{}}};function _0x3c0fd5(_0x391065){return Array['isArray'](_0x391065)?_0x391065['map'](_0x3478df=>'object'==typeof _0x3478df&&null!==_0x3478df?_0x3c0fd5(_0x3478df):_0x3478df):'object'!=typeof _0x391065||null===_0x391065?_0x391065:Object['fromEntries'](Object['entries'](_0x391065)['map'](([_0x4a8982,t])=>{let _0x2474a0=function(_0x3cd7bb){return _0x3cd7bb['replace'](/[A-Z]/g,_0x5b5ce1=>'_'+_0x5b5ce1['toLowerCase']())['replace'](/__/g,'_');}(_0x4a8982);return'object'==typeof t&&null!==t?[_0x2474a0,_0x3c0fd5(t)]:[_0x2474a0,t];}));}function _0x5522fe(_0x1dc8bb){return{'ok':!0x1,'error':_0x1dc8bb};}var _0x3ad956=class{constructor(_0xe30a8b='https://tlm.uploadcare.com/api/'){this['baseUrl']=_0xe30a8b;}async['base'](_0x2682c3,t={}){let _0x5acfef=''+this['baseUrl']+_0x2682c3;try{let _0x143f9c=await fetch(_0x5acfef,t);if(!_0x143f9c['ok'])return _0x5522fe(new Error('Got\x20non-200\x20response\x20from\x20\x22'+_0x5acfef+'\x22.\x20Status:\x20'+_0x143f9c['status']['toString']()));try{return function(_0x13bd04){return{'ok':!0x0,'value':_0x13bd04};}(await _0x143f9c['json']());}catch(_0x5501f8){return _0x5522fe(new Error('Error\x20parsing\x20JSON\x20from\x20\x22'+_0x5acfef+'\x22.\x20Error:\x20'+_0x5501f8));}}catch(_0x1ef4fd){return _0x5522fe(new Error('Error\x20fetching\x20data\x20from\x20\x22'+_0x5acfef+'\x22.\x20Error:\x20'+_0x1ef4fd));}}async['post'](_0x42a2b2,t,_0x20c8f8={}){return await this['base'](_0x42a2b2,{..._0x20c8f8,'method':'POST','body':JSON['stringify'](_0x3c0fd5(t)),'headers':{'Content-Type':'application/json',..._0x20c8f8['headers']||{}}});}async['get'](_0x8c3f02,t={}){return await this['base'](_0x8c3f02,{'method':'GET',...t});}},_0x13c76c=class extends _0x3ad956{constructor(){super();}async['sendEvent'](_0xeee7fa,t){let _0x1fcc68=await(async _0x31a8bc=>(async(_0x288ad2,_0x388295)=>({'success':!0x0,'data':_0x388295}))(0x0,_0x31a8bc))(_0xeee7fa);if(!_0x1fcc68['success'])throw console['error']('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid',_0x1fcc68['error']),new Error('TelemetryAPIService:\x20events:\x20body\x20is\x20invalid');return this['post']('v1/events',_0xeee7fa,t);}},_0x53dd0f=Object['freeze']({'INIT_SOLUTION':'init-solution','CHANGE_CONFIG':'change-config','ACTION_EVENT':'action-event','ERROR_EVENT':'error-event'}),_0x4b13c3=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'}),_0x1ed4fb=class extends _0x50c29b{constructor(){super(...arguments),this['Qt']=new Map(),this['ji']=new Set(),this['te']=new Map();}['bindTarget'](t){return this['ji']['add'](t),()=>{this['ji']['delete'](t);};}['on'](t,_0x4e886a){let _0x2e454f=this['te']['get'](t);return _0x2e454f||(_0x2e454f=new Set(),this['te']['set'](t,_0x2e454f)),_0x2e454f['add'](_0x4e886a),()=>this['te']['get'](t)?.['delete'](_0x4e886a);}['hn'](t,_0x360249){for(let _0x244646 of this['ji'])_0x244646['dispatchEvent'](new CustomEvent(t,{'detail':_0x360249}));let _0x40ec4e=this['te']['get'](t);if(_0x40ec4e){for(let _0x13c060 of _0x40ec4e)_0x13c060(_0x360249);}this['w']?.(()=>{let _0x4e36b3=_0x360249&&'object'==typeof _0x360249?{..._0x360249}:_0x360249;return['event\x20\x22'+t+'\x22',_0x4e36b3];});}['emit'](t,_0x568e84,_0xbd3a5c={}){let {debounce:_0xf5a0ff}=_0xbd3a5c;if('number'!=typeof _0xf5a0ff&&!_0xf5a0ff)return void this['hn'](t,'function'==typeof _0x568e84?_0x568e84():_0x568e84);this['Qt']['has'](t)&&window['clearTimeout'](this['Qt']['get'](t));let _0x42eca2='number'==typeof _0xf5a0ff?_0xf5a0ff:0x14,_0x35f579=window['setTimeout'](()=>{try{let _0x5ba869='function'==typeof _0x568e84?_0x568e84():_0x568e84;this['hn'](t,_0x5ba869),this['Qt']['delete'](t);}catch(_0x584880){this['w']?.(()=>'Error\x20while\x20getting\x20payload\x20for\x20event\x20\x22'+t+'\x22',_0x584880);}},_0x42eca2);this['Qt']['set'](t,_0x35f579);}['destroy'](){for(let t of this['Qt']['values']())window['clearTimeout'](t);this['ji']['clear'](),this['te']['clear']();}},_0x119f00='blocks',_0x1042e2='1.29.0',_0x4a1d25=class extends _0x50c29b{constructor(t){super(t),this['jc']=_0x3a94a4['generateRandomUUID'](),this['Ct']=structuredClone(_0x50ad2a),this['po']=!0x1,this['ho']=null,this['Oe']=!0x1,this['mn']=new _0x13c76c(),this['St']=new _0x13f6ef(0xa),this['addSub'](this['e']['sub'](tY('qualityInsights'),_0x32a391=>{this['Oe']=!!_0x32a391;}));for(let _0x24225f of Object['keys'](this['Ct']))this['addSub'](this['e']['sub'](tY(_0x24225f),_0x484f5b=>{this['Oe']&&(this['po']&&this['Ct'][_0x24225f]!==_0x484f5b&&this['sendEvent']({'eventType':_0x53dd0f['CHANGE_CONFIG']}),this['Gc'](_0x24225f,_0x484f5b));}));}['qc'](t){t===_0x53dd0f['INIT_SOLUTION']&&!this['po']&&(this['po']=!0x0);}['Gc'](t,_0x4dc9ee){this['Ct'][t]!==_0x4dc9ee&&(this['Ct'][t]=_0x4dc9ee);}['Wc'](t){let _0x208597=t['payload']?{...t['payload']}:{};_0x208597['activity']&&(_0x208597['activity']=void 0x0);let _0x5441d5={...t};return(t['eventType']===_0x53dd0f['INIT_SOLUTION']||t['eventType']===_0x53dd0f['CHANGE_CONFIG'])&&(_0x5441d5['config']=this['Ct']),{..._0x5441d5,'appVersion':_0x1042e2,'appName':_0x119f00,'sessionId':this['jc'],'component':this['Zc'],'activity':this['Yc'],'projectPubkey':this['Ct']['pubkey'],'userAgent':navigator['userAgent'],'eventType':_0x5441d5['eventType']??'','eventTimestamp':this['Xc'],'payload':{'location':this['Qc'],..._0x208597}};}['Jc'](t){return!(!t||![_0x4b13c3['CHANGE'],_0x4b13c3['COMMON_UPLOAD_PROGRESS'],_0x4b13c3['FILE_ADDED'],_0x4b13c3['FILE_REMOVED'],_0x4b13c3['FILE_UPLOAD_START'],_0x4b13c3['FILE_UPLOAD_PROGRESS'],_0x4b13c3['FILE_UPLOAD_SUCCESS'],_0x4b13c3['FILE_UPLOAD_FAILED']]['includes'](t));}['sendEvent'](t){if(!this['Oe'])return;let _0x3f3d8d=this['Wc']({'eventType':t['eventType'],'payload':t['payload'],'config':t['config']});this['qc'](t['eventType']),!(this['Jc'](t['eventType'])||this['ho']&&this['gn'](this['ho'],_0x3f3d8d))&&this['St']['add'](async()=>{this['ho']=_0x3f3d8d,await this['mn']['sendEvent'](_0x3f3d8d);});}['sendEventError'](t,_0x947398='unknown'){this['sendEvent']({'eventType':_0x53dd0f['ERROR_EVENT'],'payload':{'metadata':{'event':'error','text':'Error\x20in\x20'+_0x947398,'error':t['message']}}});}['sendEventCloudImageEditor'](t,_0x70d6da,_0xf6fbc7={}){this['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'tabId':_0x70d6da,'node':t['currentTarget']?.['tagName'],'event':t['type'],..._0xf6fbc7}}});}['gn'](t,_0x5e5cf3){if(JSON['stringify'](t)===JSON['stringify'](_0x5e5cf3))return!0x0;if('object'!=typeof t||'object'!=typeof _0x5e5cf3||null==t||null==_0x5e5cf3)return!0x1;let _0x1017bd=Object['keys'](t),_0x51e093=Object['keys'](_0x5e5cf3);if(_0x1017bd['length']!==_0x51e093['length'])return!0x1;for(let _0x439900 of _0x1017bd)if(!Object['hasOwn'](_0x5e5cf3,_0x439900)||!this['gn'](t[_0x439900],_0x5e5cf3[_0x439900]))return!0x1;return!0x0;}get['Xc'](){return Date['now']();}get['Zc'](){if(!this['e']['has']('*solution'))return null;let t=this['e']['read']('*solution');return t?t['toLowerCase']():null;}get['Yc'](){return this['e']['has']('*currentActivity')?this['e']['read']('*currentActivity'):null;}get['Qc'](){return location['origin'];}},_0xacdb6f=_0x4be60e=>_0x4be60e,_0x265070='plural:';function _0x205100(_0x5d9d21,_0x419c37={},t={}){let {openToken:_0x3f38c1='{{',closeToken:_0x29b874='}}',transform:_0x30c8d4=_0xacdb6f}=t;for(let _0xa19270 in _0x419c37){let _0x39961a=_0x419c37[_0xa19270]?.['toString'](),_0x24429b='string'==typeof _0x39961a?_0x30c8d4(_0x39961a):String(_0x39961a);_0x5d9d21=_0x5d9d21['replaceAll'](_0x3f38c1+_0xa19270+_0x29b874,_0x24429b);}return _0x5d9d21;}var _0x43b724='--uploadcare-blocks-window-height',_0x1fd2bf=class _0x3e01b0{static{this['clientsRegistry']=new Set();}static{this['flush']=_0x5184f3(()=>{document['documentElement']['style']['setProperty'](_0x43b724,window['innerHeight']+'px');},0x64);}static['registerClient'](_0x349988){0x0===_0x3e01b0['clientsRegistry']['size']&&_0x3e01b0['attachTracker'](),_0x3e01b0['clientsRegistry']['add'](_0x349988);}static['unregisterClient'](_0x3aa838){_0x3e01b0['clientsRegistry']['delete'](_0x3aa838),0x0===_0x3e01b0['clientsRegistry']['size']&&_0x3e01b0['detachTracker']();}static['attachTracker'](){window['addEventListener']('resize',_0x3e01b0['flush'],{'passive':!0x0,'capture':!0x0}),_0x3e01b0['flush']();}static['detachTracker'](){window['removeEventListener']('resize',_0x3e01b0['flush'],{'capture':!0x0}),document['documentElement']['style']['removeProperty'](_0x43b724);}},_0x39a22d=(_0x16321d,_0x4b9a08)=>new Intl['PluralRules'](_0x16321d)['select'](_0x4b9a08),_0x2fd18f=_0x8a03cf=>{let _0xaae6ee=(_0x1b0bee=>(_0x2d24fa,t)=>{let _0x54ac70=_0x1b0bee();return _0x54ac70(_0x2d24fa+'__'+_0x39a22d(_0x54ac70('locale-id')||'en',t));})(()=>t),t=(_0x3aa784,_0x20bc9e={})=>{if(!_0x3aa784)return'';let _0x11191d=_0x8a03cf()['read'](_0x548c8b(_0x3aa784))||_0x3aa784,_0x1e77d7=function(_0x45d804){let _0xfb4477=[],t=_0x45d804['indexOf']('{{');for(;-0x1!==t;){let _0x55fa2a=_0x45d804['indexOf']('}}',t);if(-0x1===_0x55fa2a)break;let _0x2bce1b=_0x45d804['substring'](t+0x2,_0x55fa2a);if(_0x2bce1b['startsWith'](_0x265070)){let _0x1113d7=_0x45d804['substring'](t+0x2,_0x55fa2a)['replace'](_0x265070,''),_0x26c67d=_0x1113d7['substring'](0x0,_0x1113d7['indexOf']('(')),_0x4f0e7e=_0x1113d7['substring'](_0x1113d7['indexOf']('(')+0x1,_0x1113d7['indexOf'](')'));_0xfb4477['push']({'variable':_0x2bce1b,'pluralKey':_0x26c67d,'countVariable':_0x4f0e7e});}t=_0x45d804['indexOf']('{{',_0x55fa2a);}return _0xfb4477;}(_0x11191d);for(let _0x39833d of _0x1e77d7)_0x20bc9e[_0x39833d['variable']]=_0xaae6ee(_0x39833d['pluralKey'],Number(_0x20bc9e[_0x39833d['countVariable']]));return _0x205100(_0x11191d,_0x20bc9e);};return t;},_0x446138=class{constructor(_0x352989){this['Ge']=new Set(),this['Gi']=new Map(),this['vn']=!0x1,this['qe']=_0x352989,this['qe']['addController'](this);}['hostDisconnected'](){this['qi']?.(),this['qi']=void 0x0,this['Ge']['clear'](),this['Gi']['clear']();}['hostUpdated'](){if(!this['qi']&&this['qe']['has'](tY('testMode'))){let _0x2a9127=this['qe']['subConfigValue']('testMode',t=>{this['vn']=!!t,this['yn']();});this['qi']=_0x2a9127;}this['eu'](),this['yn']();}['eu'](){let _0x5cfa0a=this['qe'],t=_0x5cfa0a['renderRoot']??_0x5cfa0a;if(!t)return;let _0x4b3d17=this['qe'],_0x2dc34b=_0x4b3d17['tagName']?.['toLowerCase'](),_0x4e001f=Array['from'](t['querySelectorAll']('[data-testid]'))['filter'](_0x3e4a74=>!(_0xb85da7=>_0xb85da7['tagName']?.['includes']('-')??!0x1)(_0x3e4a74));for(let _0x5e4f25 of _0x4e001f)if(!(_0x2dc34b&&_0x5e4f25['closest'](_0x2dc34b)!==_0x4b3d17||this['Ge']['has'](_0x5e4f25))){let _0x5af44c=_0x5e4f25['getAttribute']('data-testid');if(!_0x5af44c)continue;this['Ge']['add'](_0x5e4f25),this['Gi']['set'](_0x5e4f25,_0x5af44c);}for(let _0xcd683e of Array['from'](this['Ge']))(!_0xcd683e['isConnected']||_0x2dc34b&&_0xcd683e['closest'](_0x2dc34b)!==_0x4b3d17)&&(this['Ge']['delete'](_0xcd683e),this['Gi']['delete'](_0xcd683e));}['yn'](){if(!this['Ge']['size'])return;let _0x323752=this['qe']['testId']||'';for(let t of this['Ge']){let _0x4f6d44=this['Gi']['get'](t);_0x4f6d44&&(this['vn']?t['setAttribute']('data-testid',_0x323752+'--'+_0x4f6d44):t['removeAttribute']('data-testid'));}}},_0x378706=_0x428ff4(_0x318d1c()(_0x399f57(_0x45474e(_0x35d7dc)))),_0x654125=class extends _0x378706{constructor(){super(),this['init$']={},this['l10n']=_0x2fd18f(()=>this['sharedCtx']),this['debugPrint']=_0x23ebf7(()=>this['sharedCtx'],this['constructor']['name']),this['i']=_0x59c904(()=>this['sharedCtx']),new _0x446138(this);}static{this['styleAttrs']=[];}['emit'](t,_0x381ca5,_0x5b5f07){let _0x1e207b=this['has']('*eventEmitter')?this['$']['*eventEmitter']:void 0x0;if(!_0x1e207b)return;_0x1e207b['emit'](t,_0x381ca5,_0x5b5f07);let _0x187833='function'==typeof _0x381ca5?_0x381ca5():_0x381ca5;this['telemetryManager']['sendEvent']({'eventType':t,'payload':_0x187833??void 0x0});}['hasBlockInCtx'](t){for(let _0xf86bee of this['blocksRegistry'])if(t(_0xf86bee))return!0x0;return!0x1;}['connectedCallback'](){this['constructor']['styleAttrs']['forEach'](_0x130faf=>{this['setAttribute'](_0x130faf,'');}),super['connectedCallback'](),_0x1fd2bf['registerClient'](this);}['initCallback'](){this['Z']('*blocksRegistry',()=>new Set()),this['Z']('*pluginManager',t=>new _0x224b69(t)),this['Z']('*eventEmitter',t=>new _0x1ed4fb(t)),this['Z']('*localeManager',t=>new _0x47bd85(t)),this['Z']('*modalManager',t=>new _0x1ae8b1(t)),this['Z']('*a11y',()=>new _0x179868()),this['Z']('*clipboard',t=>new tJ(t)),this['Z']('*telemetryManager',t=>new _0x4a1d25(t)),this['sub'](_0x548c8b('locale-id'),t=>{let _0x6b5889=(_0x403c2a=>{let _0x1c2e05=new Intl['Locale'](_0x403c2a),t='ltr',_0x3f26dd=_0x1c2e05['getTextInfo']?.()['direction'];return _0x3f26dd?t=_0x3f26dd:_0x1c2e05['textInfo']?.['direction']&&(t=_0x1c2e05['textInfo']['direction']),t;})(t);this['style']['direction']='ltr'===_0x6b5889?'':_0x6b5889,this['requestUpdate']();}),this['subConfigValue']('testMode',t=>{t&&this['testId']?this['setAttribute']('data-testid',this['testId']):this['removeAttribute']('data-testid');}),this['blocksRegistry']['add'](this);}get['testId'](){return window['customElements']['getName'](this['constructor']);}get['modalManager'](){return this['ie']('*modalManager',!0x1);}get['telemetryManager'](){return this['ie']('*telemetryManager');}get['localeManager'](){return this['ie']('*localeManager');}get['a11y'](){return this['ie']('*a11y');}get['clipboardLayer'](){return this['ie']('*clipboard');}get['blocksRegistry'](){return this['ie']('*blocksRegistry');}get['eventEmitter'](){return this['ie']('*eventEmitter');}['disconnectedCallback'](){super['disconnectedCallback'](),_0x1fd2bf['unregisterClient'](this);let t=this['blocksRegistry'];t?.['delete'](this),0x0===t?.['size']&&setTimeout(()=>{this['isConnected']||t?.['size']>0x0||this['destroyCtxCallback']();},0x0);}['destroyCtxCallback'](){this['tu'](),_0x3c0549['deleteCtx'](this['ctxName']);}['bn'](){let t='*sharedContextInstances';if(!this['has'](t)||!this['$'][t]){let _0x48b9c0=new Map();this['add'](t,_0x48b9c0,!0x0);}return this['$'][t];}['Z'](t,_0x402f82){let _0x3f2420=this['bn']();if(!(_0x3f2420['has'](t)||this['has'](t)&&this['$'][t])){let _0x3749ea=_0x402f82(this['i']);return this['add'](t,_0x3749ea,!0x0),void _0x3f2420['set'](t,_0x3749ea);}}['tu'](){let t=this['bn']();for(let [_0x4f999a,_0x4ab1c8]of t['entries']())_0x4ab1c8?.['destroy']?.(),this['pub'](_0x4f999a,null);t['clear']();}['ie'](t,_0x14fae4=!0x0){if(this['has'](t)&&this['$'][t])return this['$'][t];if(!_0x14fae4)return this['$'][t];throw new Error('Unexpected\x20error:\x20context\x20manager\x20for\x20key\x20\x22'+String(t)+'\x22\x20is\x20not\x20available');}async['proxyUrl'](t){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'](t,{'uuid':_0x4bfe2f(t),'cdnUrlModifiers':_0x3e0313(t),'fileName':_0x1c350a(t)});}catch(_0xdf4ec4){return console['error']('Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.',_0xdf4ec4),this['telemetryManager']['sendEventError'](_0xdf4ec4,'secureDeliveryProxyUrlResolver.\x20Failed\x20to\x20resolve\x20secure\x20delivery\x20proxy\x20URL.\x20Falling\x20back\x20to\x20the\x20default\x20URL.'),t;}return this['cfg']['secureDeliveryProxy']?_0x205100(this['cfg']['secureDeliveryProxy'],{'previewUrl':t},{'transform':_0x2559f5=>window['encodeURIComponent'](_0x2559f5)}):t;}get['cfg'](){if(!this['Be']){let t={};this['Be']=new Proxy(t,{'set':(_0x1d6931,_0x2d0b21,_0x8d3fbb)=>{if('string'!=typeof _0x2d0b21||!(_0x2d0b21 in _0x50ad2a))return!0x1;let _0x1cd303=_0x2d0b21,_0x3815b3=tY(_0x1cd303);return this['has'](_0x3815b3)||this['add'](_0x3815b3,_0x50ad2a[_0x1cd303]),this['$'][_0x3815b3]=_0x8d3fbb,!0x0;},'get':(_0x3364d0,_0x3ee950)=>{let _0x113ceb=tY(_0x3ee950);return this['has'](_0x113ceb)||this['add'](_0x113ceb,_0x50ad2a[_0x3ee950]),this['$'][_0x113ceb];}});}return this['Be'];}['subConfigValue'](t,_0x29f16a){let _0x4ec11f=tY(t);return this['has'](_0x4ec11f)||this['add'](_0x4ec11f,_0x50ad2a[t]),this['sub'](_0x4ec11f,_0x29f16a);}},_0x181bc8=0x1,_0x35a55d=0x2,_0x7f66ea=_0x3fc47d=>(..._0x221726)=>({'qr':_0x3fc47d,'values':_0x221726}),_0x3698be=class{constructor(_0x388731){}get['W'](){return this['f']['W'];}['Wr'](_0xfba3bd,t,_0x4af9ed){this['Wi']=_0xfba3bd,this['f']=t,this['iu']=_0x4af9ed;}['Lc'](_0xa7d639,t){return this['update'](_0xa7d639,t);}['update'](_0x1b02f8,t){return this['render'](...t);}},_0x55091d=class extends _0x3698be{constructor(_0x2b0aa1){if(super(_0x2b0aa1),this['it']=_0xbeb5f3,_0x2b0aa1['type']!==_0x35a55d)throw Error(this['constructor']['directiveName']+'()\x20can\x20only\x20be\x20used\x20in\x20child\x20bindings');}['render'](_0x431c86){if(_0x431c86===_0xbeb5f3||null==_0x431c86)return this['wn']=void 0x0,this['it']=_0x431c86;if(_0x431c86===_0x3420cb)return _0x431c86;if('string'!=typeof _0x431c86)throw Error(this['constructor']['directiveName']+'()\x20called\x20with\x20a\x20non-string\x20value');if(_0x431c86===this['it'])return this['wn'];this['it']=_0x431c86;let t=[_0x431c86];return t['raw']=t,this['wn']={'Ne':this['constructor']['resultType'],'strings':t,'values':[]};}};_0x55091d['directiveName']='unsafeHTML',_0x55091d['resultType']=0x1;var _0x22d809=class extends _0x55091d{};_0x22d809['directiveName']='unsafeSVG',_0x22d809['resultType']=0x2;var _0x18c1fe=_0x7f66ea(_0x22d809),_0x1d90e8=class extends _0x654125{constructor(){super(...arguments),this['init$']=(_0x486a0c=>({..._0x142acb(_0x486a0c),'*solution':null,'*lazyPlugins':null}))(this);}static{this['styleAttrs']=['uc-wgt-common'];}static{this['lazyPlugins']=null;}['initCallback'](){super['initCallback'](),this['a11y']?.['registerBlock'](this),this['clipboardLayer']?.['registerBlock'](this),this['sharedCtx']['pub']('*solution',this['tagName']);let t=this['constructor']['lazyPlugins'];t&&this['sharedCtx']['pub']('*lazyPlugins',t);}['render'](){return _0x19f5e4`${_0x18c1fe('<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\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27M7.395\x2022.5H2.454v-5.25m14.824\x205.25h4.94v-5.25m0-10.5V1.5h-4.94m-9.883\x200H2.454v5.25\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-mobile-photo-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\x2024\x2024\x27\x20id=\x27uc-icon-mobile-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\x2024\x2024\x27\x20id=\x27uc-icon-ngdrive\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-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>')}`;}},_0x15ba90=_0x3f3d4a=>'number'!=typeof _0x3f3d4a?0x0:Math['floor'](_0x3f3d4a/0x3e8),t0=class extends _0x50c29b{constructor(){super(...arguments),this['We']=null;}async['getSecureToken'](){let {secureSignature:t,secureExpire:_0x255cbe,secureUploadsSignatureResolver:_0x178daf,secureUploadsExpireThreshold:_0x250ecd}=this['ze'];if((t||_0x255cbe)&&_0x178daf&&console['warn']('Both\x20secureSignature/secureExpire\x20and\x20secureUploadsSignatureResolver\x20are\x20set.\x20secureUploadsSignatureResolver\x20will\x20be\x20used.'),_0x178daf){if(!this['We']||((_0x3d6c01,{threshold:_0x276a0b})=>{let {secureExpire:t}=_0x3d6c01,_0x174550=_0x15ba90(Date['now']()),_0x33cf89=Number(t);return _0x174550+_0x15ba90(_0x276a0b)>=_0x33cf89;})(this['We'],{'threshold':_0x250ecd})){this['We']?this['w']('Secure\x20signature\x20is\x20expired.\x20Resolving\x20a\x20new\x20one...'):this['w']('Secure\x20signature\x20is\x20not\x20set\x20yet.');try{let _0x4960ff=await _0x178daf();_0x4960ff?_0x4960ff['secureSignature']&&_0x4960ff['secureExpire']?(this['w']('Secure\x20signature\x20resolved:',_0x4960ff),this['w']('Secure\x20signature\x20will\x20expire\x20in',new Date(0x3e8*Number(_0x4960ff['secureExpire']))['toISOString']()),this['We']=_0x4960ff):console['error']('Secure\x20signature\x20resolver\x20returned\x20an\x20invalid\x20result:',_0x4960ff):(this['w']('Secure\x20signature\x20resolver\x20returned\x20nothing.'),this['We']=null);}catch(_0x4a2a7b){console['error']('Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.',_0x4a2a7b),this['i']['telemetryManager']['sendEventError'](_0x4a2a7b,'secureUploadsSignatureResolver.\x20Secure\x20signature\x20resolving\x20failed.\x20Falling\x20back\x20to\x20the\x20previous\x20one.');}}return this['We'];}return t&&_0x255cbe?(this['w']('Secure\x20signature\x20and\x20expire\x20are\x20set.\x20Using\x20them...',{'secureSignature':t,'secureExpire':_0x255cbe}),{'secureSignature':t,'secureExpire':_0x255cbe}):null;}['destroy'](){super['destroy'](),this['We']=null;}},_0x22cd50=(_0xd65e3b,_0x2336a1)=>{if(_0xd65e3b['failedCount']>0x0)return{'type':'SOME_FILES_HAS_ERRORS','message':_0x2336a1['l10n']('some-files-were-not-uploaded')};},_0x158b54=(_0x230a6f,_0x1913b5)=>{let t=_0x230a6f['totalCount'],_0x589174=_0x1913b5['cfg']['multiple']?_0x1913b5['cfg']['multipleMin']:0x0,_0x1b81c3=_0x1913b5['cfg']['multiple']?_0x1913b5['cfg']['multipleMax']:0x1;return _0x589174&&t<_0x589174?{'type':'TOO_FEW_FILES','message':_0x1913b5['l10n']('files-count-limit-error-too-few',{'min':_0x589174,'max':_0x1b81c3,'total':t}),'payload':{'total':t,'min':_0x589174,'max':_0x1b81c3}}:_0x1b81c3&&t>_0x1b81c3?{'type':'TOO_MANY_FILES','message':_0x1913b5['l10n']('files-count-limit-error-too-many',{'min':_0x589174,'max':_0x1b81c3,'total':t}),'payload':{'total':t,'min':_0x589174,'max':_0x1b81c3}}:void 0x0;},_0x29d974=(_0xf3f22f,_0x565fc2)=>{let t=_0x565fc2['cfg']['imgOnly'],_0x14c4d3=_0x565fc2['cfg']['accept'],_0x21015f=_0x5dc2ae([...t?_0x23dce0:[],_0x14c4d3]);if(!_0x21015f['length'])return;let _0x35a0f3=_0xf3f22f['mimeType'],_0x4c5f80=_0xf3f22f['name'];if(!_0x35a0f3||!_0x4c5f80)return;let _0x1267e8=_0x26289e(_0x35a0f3,_0x21015f),_0x4e5288=((_0x231f61,_0x586cfd)=>_0x586cfd['some'](t=>!!t['startsWith']('.')&&_0x231f61['toLowerCase']()['endsWith'](t['toLowerCase']())))(_0x4c5f80,_0x21015f);return _0x1267e8||_0x4e5288?void 0x0:{'type':'FORBIDDEN_FILE_TYPE','message':_0x565fc2['l10n']('file-type-not-allowed'),'payload':{'entry':_0xf3f22f}};},_0x130757=(_0xfa01e4,_0x6573c6)=>{let t=_0x6573c6['cfg']['imgOnly'],_0xf40b6c=_0xfa01e4['isImage'];if(t&&!_0xf40b6c&&(_0xfa01e4['fileInfo']||!_0xfa01e4['externalUrl'])&&(_0xfa01e4['fileInfo']||_0xfa01e4['mimeType']))return{'type':'NOT_AN_IMAGE','message':_0x6573c6['l10n']('images-only-accepted'),'payload':{'entry':_0xfa01e4}};},_0x38a9e8=0x3e8,_0x304471=Object['freeze']({'AUTO':'auto','BYTE':'byte','KB':'kb','MB':'mb','GB':'gb','TB':'tb','PB':'pb'}),_0x271e69=_0x14e0a4=>Math['ceil'](0x64*_0x14e0a4)/0x64,_0x19d232=(_0x1b2c49,_0x487cc9=_0x304471['AUTO'])=>{let t=_0x487cc9===_0x304471['AUTO'];return _0x487cc9===_0x304471['BYTE']||t&&_0x1b2c49<0x3e8?_0x1b2c49+'\x20'+('one'===_0x39a22d('en-US',_0x1b2c49)?'byte':'bytes'):_0x487cc9===_0x304471['KB']||t&&_0x1b2c49<_0x38a9e8**0x2?_0x271e69(_0x1b2c49/0x3e8)+'\x20KB':_0x487cc9===_0x304471['MB']||t&&_0x1b2c49<_0x38a9e8**0x3?_0x271e69(_0x1b2c49/_0x38a9e8**0x2)+'\x20MB':_0x487cc9===_0x304471['GB']||t&&_0x1b2c49<_0x38a9e8**0x4?_0x271e69(_0x1b2c49/_0x38a9e8**0x3)+'\x20GB':_0x487cc9===_0x304471['TB']||t&&_0x1b2c49<_0x38a9e8**0x5?_0x271e69(_0x1b2c49/_0x38a9e8**0x4)+'\x20TB':_0x271e69(_0x1b2c49/_0x38a9e8**0x5)+'\x20PB';},_0x42cc8e=(_0x929d20,_0x2f7971)=>{let t=_0x2f7971['cfg']['maxLocalFileSizeBytes'],_0x57d15c=_0x929d20['size'];if(t&&_0x57d15c&&_0x57d15c>t)return{'type':'FILE_SIZE_EXCEEDED','message':_0x2f7971['l10n']('files-max-size-limit-error',{'maxFileSize':_0x19d232(t)}),'payload':{'entry':_0x929d20}};},_0x8289f6=(_0x43b048,_0x4605f6)=>{let {internalId:t}=_0x43b048;if(!_0x4605f6['v']['hasItem'](t))return;let _0x1cac94=_0x4605f6['v']['read'](t)?.['getValue']('uploadError');if(!_0x1cac94)return;if(_0x1cac94 instanceof _0x11172b)return{'type':'UPLOAD_ERROR','message':_0x1cac94['message'],'payload':{'entry':_0x43b048,'error':_0x1cac94}};if(_0x1cac94 instanceof _0x18b2af)return{'type':'NETWORK_ERROR','message':_0x1cac94['message'],'payload':{'entry':_0x43b048,'error':_0x1cac94}};let _0x3257d8=_0x1cac94 instanceof Error?_0x1cac94:new Error('Unknown\x20error',{'cause':_0x1cac94});return{'type':'UNKNOWN_ERROR','message':_0x3257d8['message'],'payload':{'entry':_0x43b048,'error':_0x3257d8}};},_0x39b205='File\x20validator\x20execution\x20has\x20failed',_0xe885ec='File\x20validator\x20execution\x20has\x20timed\x20out',_0x343324='Collection\x20validator\x20execution\x20has\x20failed',_0x24d001='Missing\x20message.\x20We\x20recommend\x20adding\x20message:\x20value.',_0x3ef3cf=_0x4927e5=>'function'==typeof _0x4927e5?{'runOn':'change','validator':_0x4927e5}:_0x4927e5,_0x106fb7=class extends _0x50c29b{constructor(t){super(t),this['ru']=[_0x130757,_0x29d974,_0x42cc8e,_0x8289f6],this['ou']=[_0x158b54,_0x22cd50],this['St']=new _0x13f6ef(0x14),this['Tn']=_0x5184f3(()=>{this['St']['run']();},0x1f4),this['Ie']=!0x1,this['At']=new Map();let _0x5b5c3a=_0x5184f3(()=>{this['runFileValidators']('change'),this['runCollectionValidators']();},0x0);this['addSub'](this['e']['sub'](tY('maxLocalFileSizeBytes'),_0x5b5c3a)),this['addSub'](this['e']['sub'](tY('multipleMin'),_0x5b5c3a)),this['addSub'](this['e']['sub'](tY('multipleMax'),_0x5b5c3a)),this['addSub'](this['e']['sub'](tY('multiple'),_0x5b5c3a)),this['addSub'](this['e']['sub'](tY('imgOnly'),_0x5b5c3a)),this['addSub'](this['e']['sub'](tY('accept'),_0x5b5c3a)),this['addSub'](this['e']['sub'](tY('validationConcurrency'),_0x13fd90=>{this['St']['concurrency']=_0x13fd90;}));}get['v'](){return this['i']['uploadCollection'];}['runFileValidators'](t,_0x36e41a){if(this['Ie'])return;let _0x33b901=_0x36e41a??this['v']['items']();for(let _0x3ed86d of _0x33b901){let _0x4170be=this['v']['read'](_0x3ed86d);_0x4170be&&this['su'](_0x4170be,t);}}['runCollectionValidators'](){if(this['Ie'])return;let t=this['i']['api'],_0x46a333=t['getOutputCollectionState'](),_0x4cf6c9=[],_0x36590f=this['ze']['collectionValidators'];for(let _0x154a39 of[...this['ou'],..._0x36590f])try{let _0x5b9f8d=_0x154a39(_0x46a333,t);if(!_0x5b9f8d)continue;_0x5b9f8d&&(_0x4cf6c9['push'](this['En'](_0x5b9f8d)),_0x5b9f8d['message']||console['warn'](_0x24d001));}catch(_0xa4d804){console['warn'](_0x343324,_0xa4d804);}this['e']['pub']('*collectionErrors',_0x4cf6c9),_0x4cf6c9['length']>0x0&&this['i']['eventEmitter']['emit'](_0x4b13c3['COMMON_UPLOAD_FAILED'],()=>t['getOutputCollectionState'](),{'debounce':!0x0});}['cleanupValidationForEntry'](t){let _0x30175a=this['At']['get'](t['uid']);_0x30175a&&(_0x30175a['abortController']?.['abort'](),this['At']['delete'](t['uid']));}async['su'](t,_0x27ca82){if(this['Ie'])return;let _0x522dab=this['i']['api'],_0x3ed016=this['xn'](t),_0x3bbf7b=_0x3ed016['promise']??Promise['resolve'](),_0x445d68=((async()=>{if(this['Ie']||(await _0x3bbf7b,this['Ie']))return;let _0x3a8e18=this['nu'](t,_0x27ca82);if(0x0===_0x3a8e18['length']||!this['v']['hasItem'](t['uid']))return;t['setMultipleValues']({'isQueuedForValidation':!0x0,'isValidationPending':!0x0});let _0x5aadbd=_0x522dab['getOutputItem'](t['uid']),_0x54ff90=new AbortController();_0x3ed016['abortController']=_0x54ff90;let _0x41b1b8=this['ze']['validationTimeout'],_0x545add=this['Cn'](),_0x546aab=new Set(_0x3a8e18['map'](_0x16c972=>_0x16c972['validator'])),_0x47bd29=[];for(let _0x1f9e20 of _0x545add)if(!_0x546aab['has'](_0x1f9e20['validator'])){let _0x558c85=_0x3ed016['lastErrorThrownByValidator']['get'](_0x1f9e20['validator']);_0x558c85&&_0x47bd29['push'](_0x558c85);}let _0x3a50cc=_0x3a8e18['map'](_0x53790f=>async()=>{if(this['Ie'])return;let _0x120449=setTimeout(()=>{_0x3ed016['skippedValidators']['add'](_0x53790f['validator']),_0x54ff90['abort'](),console['warn'](_0xe885ec);},_0x41b1b8);try{let _0x2926c4=await _0x53790f['validator'](_0x5aadbd,_0x522dab,{'signal':_0x54ff90['signal']});if(!_0x2926c4||_0x54ff90['signal']['aborted'])return void _0x3ed016['lastErrorThrownByValidator']['set'](_0x53790f['validator'],void 0x0);let _0x42ac73=this['En'](_0x2926c4);_0x3ed016['lastErrorThrownByValidator']['set'](_0x53790f['validator'],_0x42ac73),_0x47bd29['push'](_0x42ac73),_0x2926c4['message']||console['warn'](_0x24d001);}catch(_0x5ad381){_0x54ff90['signal']['aborted']||(_0x3ed016['skippedValidators']['add'](_0x53790f['validator']),console['warn'](_0x39b205,_0x5ad381),this['i']['telemetryManager']['sendEventError'](_0x5ad381,'file\x20validator.\x20'+_0x39b205));}finally{clearTimeout(_0x120449),'change'!==_0x53790f['runOn']&&_0x3ed016['skippedValidators']['add'](_0x53790f['validator']);}});this['Tn'](),await this['St']['add'](async()=>{this['Ie']||(t['setValue']('isQueuedForValidation',!0x1),await Promise['all'](_0x3a50cc['map'](_0x18acf4=>_0x18acf4()))['catch'](()=>{}));},{'autoRun':!0x1}),_0x54ff90['signal']['aborted']?t['setMultipleValues']({'isQueuedForValidation':!0x1,'isValidationPending':!0x1}):t['setMultipleValues']({'isValidationPending':!0x1,'isQueuedForValidation':!0x1,'errors':_0x47bd29});})());_0x3ed016['promise']=_0x445d68;try{await _0x445d68;}finally{_0x3ed016['promise']===_0x445d68&&(_0x3ed016['promise']=void 0x0);}}['En'](t){return{...t,'type':t['type']??'CUSTOM_ERROR'};}['xn'](t){let _0x58e15c=this['At']['get'](t['uid']);if(_0x58e15c)return _0x58e15c;let _0x477a1b={'abortController':void 0x0,'skippedValidators':new WeakSet(),'promise':void 0x0,'lastErrorThrownByValidator':new WeakMap()};return this['At']['set'](t['uid'],_0x477a1b),_0x477a1b;}['Cn'](){let t=this['ze']['fileValidators'];return[...this['ru'],...t]['map'](_0x3ef3cf);}['nu'](t,_0x440fef){let _0x2c822d=this['xn'](t);return this['Cn']()['filter'](_0x215b52=>!_0x2c822d['skippedValidators']['has'](_0x215b52['validator']))['filter'](_0x3f2e79=>_0x3f2e79['runOn']===_0x440fef);}['destroy'](){this['Ie']=!0x0,this['Tn']['cancel']();for(let t of this['At']['values']())t['abortController']?.['abort'](),t['promise']=void 0x0;this['At']['clear']();}},_0x2beb10='[Typed\x20State]\x20Wrong\x20property\x20name:\x20',_0x555ebe=class{constructor(_0x1f5d72){this['J']=_0x3a94a4['generateFastUid'](),this['Y']=_0x3c0549['registerCtx'](_0x1f5d72,this['J']);}get['uid'](){return this['J'];}['setValue'](_0x3c6aa5,t){this['Y']['has'](_0x3c6aa5)?this['Y']['read'](_0x3c6aa5)!==t&&this['Y']['pub'](_0x3c6aa5,t):console['warn'](''+_0x2beb10+String(_0x3c6aa5));}['setMultipleValues'](_0x598153){for(let [t,_0x3e6c76]of Object['entries'](_0x598153))this['setValue'](t,_0x3e6c76);}['getValue'](_0x1425d9){return this['Y']['has'](_0x1425d9)||console['warn'](''+_0x2beb10+String(_0x1425d9)),this['Y']['read'](_0x1425d9);}['subscribe'](_0x5b47d9,t){return this['Y']['sub'](_0x5b47d9,t);}['destroy'](){_0x3c0549['deleteCtx'](this['J']);}},_0x48ac64=class _0x268ea0{constructor(_0x513f59){this['Pe']=Object['create'](null),this['Zi']=new Set(),this['Yi']=new Set(),this['ye']=new Set(),this['fo']=new Set(),this['mo']=new Set(),this['kt']=new Set(),this['kn']=_0x513f59['initialValue'],this['J']=_0x3a94a4['generateFastUid'](),this['Y']=_0x3c0549['registerCtx']({},this['J']),this['Sn']=_0x513f59['watchList']||[];let t=Object['create'](null);this['An']=(_0xb9437c,_0x4f7cca)=>{this['Jt']&&window['clearTimeout'](this['Jt']),t[_0xb9437c]||(t[_0xb9437c]=new Set()),t[_0xb9437c]['add'](_0x4f7cca),this['Jt']=window['setTimeout'](()=>{0x0!==Object['keys'](t)['length']&&(this['Zi']['forEach'](_0x37cc10=>{_0x37cc10({...t});}),t=Object['create'](null));}),this['Mn']();},_0x513f59['handler']&&this['observeCollection'](_0x513f59['handler']);}static{this['au']=0x2710;}['q'](){this['ei']&&window['clearTimeout'](this['ei']),this['ei']=window['setTimeout'](()=>{let _0x6297d2=new Set(this['mo']),t=new Set(this['fo']);this['mo']['clear'](),this['fo']['clear']();for(let _0x4acd83 of this['Yi'])_0x4acd83?.([...this['ye']],_0x6297d2,t);this['Mn']();});}['Mn'](){0x0!==this['kt']['size']&&(this['ti']&&window['clearTimeout'](this['ti']),this['ti']=window['setTimeout'](()=>{let _0x9654cf=[...this['kt']];this['kt']['clear']();for(let t of _0x9654cf)t['destroy']();},_0x268ea0['au']));}['observeCollection'](_0x4016b1){return this['Yi']['add'](_0x4016b1),this['ye']['size']>0x0&&this['q'](),()=>{this['unobserveCollection'](_0x4016b1);};}['unobserveCollection'](_0x564ec8){this['Yi']['delete'](_0x564ec8);}['add'](_0x1e8e10){let t=new _0x555ebe(this['kn']);for(let [_0x4e2617,_0xc4ea85]of Object['entries'](_0x1e8e10))t['setValue'](_0x4e2617,_0xc4ea85);return this['ye']['add'](t['uid']),this['q'](),this['Y']['add'](t['uid'],t),this['mo']['add'](t),this['Sn']['forEach'](_0x42bc05=>{this['Pe'][t['uid']]||(this['Pe'][t['uid']]=[]),this['Pe'][t['uid']]?.['push'](t['subscribe'](_0x42bc05,()=>{this['An'](_0x42bc05,t['uid']);}));}),t['uid'];}['hasItem'](_0x2147f7){return this['ye']['has'](_0x2147f7);}['read'](_0x3931dd){return this['Y']['read'](_0x3931dd)??null;}['readProp'](_0x1f3e5f,t){let _0x29db62=this['read'](_0x1f3e5f);if(!_0x29db62)throw new Error('TypedCollection#readProp:\x20Item\x20with\x20id\x20'+_0x1f3e5f+'\x20not\x20found');return _0x29db62['getValue'](t);}['publishProp'](_0x129a1a,t,_0x1a229c){let _0x555dd7=this['read'](_0x129a1a);if(!_0x555dd7)throw new Error('TypedCollection#publishProp:\x20Item\x20with\x20id\x20'+_0x129a1a+'\x20not\x20found');_0x555dd7['setValue'](t,_0x1a229c);}['remove'](_0x58a131){let t=this['read'](_0x58a131);t&&(this['fo']['add'](t),this['kt']['add'](t)),this['ye']['delete'](_0x58a131),this['q'](),this['Y']['pub'](_0x58a131,void 0x0),this['Pe'][_0x58a131]?.['forEach'](_0x30382a=>{_0x30382a();}),delete this['Pe'][_0x58a131];}['clearAll'](){this['ye']['forEach'](_0x4ecfc3=>{this['remove'](_0x4ecfc3);});}['observeProperties'](_0x23ae78){return this['Zi']['add'](_0x23ae78),()=>{this['unobserveProperties'](_0x23ae78);};}['unobserveProperties'](_0x39b62d){this['Zi']['delete'](_0x39b62d);}['findItems'](_0x52fcd9){let t=[];return this['ye']['forEach'](_0x329d87=>{let _0x318632=this['read'](_0x329d87);_0x318632&&_0x52fcd9(_0x318632)&&t['push'](_0x329d87);}),t;}['items'](){return[...this['ye']];}get['size'](){return this['ye']['size'];}['destroy'](){this['Jt']&&window['clearTimeout'](this['Jt']),this['ei']&&window['clearTimeout'](this['ei']),this['ti']&&window['clearTimeout'](this['ti']);for(let _0x5adeba of this['kt'])_0x5adeba['destroy']();this['kt']['clear'](),_0x3c0549['deleteCtx'](this['J']),this['Zi']=new Set(),this['Yi']=new Set();for(let _0x281570 of Object['keys'](this['Pe']))this['Pe'][_0x281570]?.['forEach'](t=>{t();}),delete this['Pe'][_0x281570];}},_0xcf66fd=Object['freeze']({'PHOTO':'photo','VIDEO':'video'}),_0x57431a=Object['freeze']({'IDLE':'idle','SHOT':'shot','PLAY':'play','PAUSE':'pause','RESUME':'resume','STOP':'stop','RETAKE':'retake','ACCEPT':'accept'}),_0x385ecf=(_0x542aea,_0x1b99e9,{timeout:t=0x3e8,onTimeout:_0x289826}={})=>new Promise(_0x4615c3=>{let _0x3b763b,_0x496b2f=setTimeout(()=>{cancelAnimationFrame(_0x3b763b),_0x289826?.();},t),_0x4d5ea1=()=>{for(let _0x3a32ff of _0x542aea)if(_0x1b99e9(_0x3a32ff))return clearTimeout(_0x496b2f),void _0x4615c3(_0x3a32ff);_0x3b763b=requestAnimationFrame(_0x4d5ea1);};_0x4d5ea1();});function _0xf5e153(_0x2e74d9,_0x46946e){for(let t in _0x46946e)t['includes']('-')?_0x2e74d9['style']['setProperty'](t,String(_0x46946e[t])):_0x2e74d9['style'][t]=String(_0x46946e[t]);}var _0x5f277d=new RegExp('^/?('+/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i['source']+')(?:/(-/(?:[^/]+/)+)?([^/]*))?$','i'),_0x50f779=Object['freeze']({'FACEBOOK':'facebook','DROPBOX':'dropbox','DROPBOX_CHOOSER':'dropboxchooser','GDRIVE':'gdrive','GPHOTOS':'gphotos','FLICKR':'flickr','VK':'vk','EVERNOTE':'evernote','BOX':'box','ONEDRIVE':'onedrive','HUDDLE':'huddle'}),_0x2d8126=Object['freeze']({'MOBILE_VIDEO_CAMERA':'mobile-video-camera','MOBILE_PHOTO_CAMERA':'mobile-photo-camera'}),_0x363ac3=Object['freeze']({'LOCAL':'local','DROP_AREA':'drop-area','CAMERA':'camera','EXTERNAL':'external','API':'js-api','URL':'url',..._0x2d8126,..._0x50f779}),_0xe53b30={[_0x50f779['DROPBOX_CHOOSER']]:_0x50f779['DROPBOX']},_0x379343=_0x698956=>_0xe53b30[_0x698956]??_0x698956,_0x10c46b=_0x57ed30=>_0x57ed30['uploadCollection']['items']()['map'](_0x528b1a=>_0x57ed30['api']['getOutputItem'](_0x528b1a));function _0x467d19(_0x612953){let _0x302b40=new Map();return(..._0x134864)=>{let _0x9cff2c=JSON['stringify'](_0x134864);if(_0x302b40['has'](_0x9cff2c))return _0x302b40['get'](_0x9cff2c);let _0x56106d=_0x612953(..._0x134864);return _0x302b40['set'](_0x9cff2c,_0x56106d),_0x56106d;};}var _0x2d6d1b=new Set();function _0xa6622a(_0x2b5132){_0x2d6d1b['has'](_0x2b5132)||(_0x2d6d1b['add'](_0x2b5132),console['warn'](_0x2b5132));}function _0x12646a(_0x4fb799){let _0x526d8a={},t=_0x4fb799['ctx'],_0x2d575f={'progress':()=>t['read']('*commonProgress'),'errors':()=>t['read']('*collectionErrors'),'group':()=>t['read']('*groupInfo'),'totalCount':()=>_0x4fb799['uploadCollection']['size'],'failedCount':()=>_0x526d8a['failedEntries']['length'],'successCount':()=>_0x526d8a['successEntries']['length'],'uploadingCount':()=>_0x526d8a['uploadingEntries']['length'],'status':()=>_0x526d8a['isFailed']?'failed':_0x526d8a['isUploading']?'uploading':_0x526d8a['isSuccess']?'success':'idle','isSuccess':()=>_0x526d8a['allEntries']['length']>0x0&&0x0===_0x526d8a['errors']['length']&&_0x526d8a['successEntries']['length']===_0x526d8a['allEntries']['length'],'isUploading':()=>_0x526d8a['allEntries']['some'](_0x180bbd=>'uploading'===_0x180bbd['status']),'isFailed':()=>_0x526d8a['errors']['length']>0x0||_0x526d8a['failedEntries']['length']>0x0,'allEntries':()=>_0x10c46b(_0x4fb799),'successEntries':()=>_0x526d8a['allEntries']['filter'](_0x372757=>'success'===_0x372757['status']),'failedEntries':()=>_0x526d8a['allEntries']['filter'](_0x2af600=>'failed'===_0x2af600['status']),'uploadingEntries':()=>_0x526d8a['allEntries']['filter'](_0x40fe4f=>'uploading'===_0x40fe4f['status']),'idleEntries':()=>_0x526d8a['allEntries']['filter'](_0x2a342e=>'idle'===_0x2a342e['status'])},_0x5df3ca=function(_0x17b193){let _0x2c6c5e=!0x1;return setTimeout(()=>{_0x2c6c5e=!0x0;},0x0),_0x2cd973=>(..._0x20c145)=>(_0x2c6c5e&&_0xa6622a(_0x17b193),_0x2cd973(..._0x20c145));}('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(let [_0x58c914,_0x3f0945]of Object['entries'](_0x2d575f)){let _0x25fc08=_0x58c914,_0x13fd11=_0x467d19(_0x5df3ca(_0x3f0945));Object['defineProperty'](_0x526d8a,_0x25fc08,{'get':_0x13fd11,'enumerable':!0x0});}return _0x526d8a;}var _0x24aae2=class extends _0x50c29b{constructor(){super(...arguments),this['Et']=_0x2fd18f(()=>this['e']),this['addFileFromUrl']=(t,{silent:_0x82899e,fileName:_0x3ed23a,source:_0xd1ad62}={})=>{let _0x1b8fa7=this['v']['add']({'externalUrl':t,'fileName':_0x3ed23a??null,'silent':_0x82899e??!0x1,'source':_0xd1ad62??_0x363ac3['API']});return this['getOutputItem'](_0x1b8fa7);},this['addFileFromUuid']=(t,{silent:_0x2c8818,fileName:_0x42f383,source:_0x4e27da}={})=>{let _0x205352=this['v']['add']({'uuid':t,'fileName':_0x42f383??null,'silent':_0x2c8818??!0x1,'source':_0x4e27da??_0x363ac3['API']});return this['getOutputItem'](_0x205352);},this['addFileFromCdnUrl']=(t,{silent:_0x2efcab,fileName:_0x32e2ee,source:_0x4edc7d}={})=>{let _0x2f6e89=(({url:_0x39e374,cdnBase:_0x400d42})=>{let t=new URL(_0x400d42),_0x2f315d=new URL(_0x34e7a8),_0x169d01=new URL(_0x39e374);if(t['host']!==_0x169d01['host']&&_0x2f315d['host']!==_0x169d01['host'])return null;let _0x1caaf3=_0x5f277d['exec'](_0x169d01['pathname']);if(!_0x1caaf3)return null;let [,_0xe7359d,_0x143f41,_0x573987]=_0x1caaf3;return _0xe7359d?{'uuid':_0xe7359d,'cdnUrlModifiers':_0x143f41||'','filename':_0x573987||null}:null;})({'url':t,'cdnBase':this['cfg']['cdnCname']});if(!_0x2f6e89)throw new Error('Invalid\x20CDN\x20URL');let _0xfa83bd=this['v']['add']({'uuid':_0x2f6e89['uuid'],'cdnUrl':t,'cdnUrlModifiers':_0x2f6e89['cdnUrlModifiers'],'fileName':_0x32e2ee??_0x2f6e89['filename']??null,'silent':_0x2efcab??!0x1,'source':_0x4edc7d??_0x363ac3['API']});return this['getOutputItem'](_0xfa83bd);},this['addFileFromObject']=(t,{silent:_0x787ded,fileName:_0x242d7e,source:_0x2ed542,fullPath:_0x475c2d}={})=>{let _0x4e7c16=this['v']['add']({'file':t,'isImage':_0x41f43(t),'mimeType':t['type']||null,'fileName':_0x242d7e??t['name'],'fileSize':t['size'],'silent':_0x787ded??!0x1,'source':_0x2ed542??_0x363ac3['API'],'fullPath':_0x475c2d??null});return this['getOutputItem'](_0x4e7c16);},this['removeFileByInternalId']=t=>{if(!this['v']['read'](t))throw new Error('File\x20with\x20internalId\x20'+t+'\x20not\x20found');this['v']['remove'](t);},this['uploadAll']=()=>{let t=this['v']['items']()['filter'](_0x2bced0=>{let _0x478786=this['v']['read'](_0x2bced0);return!!_0x478786&&!(_0x478786['getValue']('isRemoved')||_0x478786['getValue']('isUploading')||_0x478786['getValue']('fileInfo')||0x0!==_0x478786['getValue']('errors')['length']||_0x478786['getValue']('isValidationPending')||_0x478786['getValue']('isQueuedForValidation'));});0x0!==t['length']&&(this['e']['pub']('*uploadTrigger',new Set(t)),this['i']['eventEmitter']['emit'](_0x4b13c3['COMMON_UPLOAD_START'],this['getOutputCollectionState']()));},this['openSystemDialog']=(t={})=>{let _0x192cdc=_0x1734fe(_0x5dc2ae([this['cfg']['accept']??'',...this['cfg']['imgOnly']?_0x23dce0:[]])),_0xdaef5b='uploadcare-file-input',_0x59ddf0=document['createElement']('input');if(_0x59ddf0['setAttribute'](_0xdaef5b,''),_0xf5e153(_0x59ddf0,{'opacity':0x0,'height':0x0,'width':0x0,'visibility':'hidden','position':'absolute','top':0x0,'left':0x0}),_0x59ddf0['type']='file',_0x59ddf0['multiple']=this['cfg']['multiple'],t['captureCamera']){_0x59ddf0['capture']=this['cfg']['cameraCapture'];let {isPhotoEnabled:_0x22a97c,isVideoRecordingEnabled:_0x391bff}=(_0x3298fd=>({'isVideoRecordingEnabled':_0x182d3c(_0x3298fd['cameraModes'])['includes'](_0xcf66fd['VIDEO']),'isPhotoEnabled':_0x182d3c(_0x3298fd['cameraModes'])['includes'](_0xcf66fd['PHOTO'])}))(this['cfg']);t['modeCamera']===_0xcf66fd['PHOTO']&&_0x22a97c?_0x59ddf0['accept']=_0x4dc90b:t['modeCamera']===_0xcf66fd['VIDEO']&&_0x391bff?_0x59ddf0['accept']=_0x3d725b:_0x59ddf0['accept']=[_0x4dc90b,_0x391bff&&_0x3d725b]['filter'](Boolean)['join'](',');}else _0x59ddf0['accept']=_0x192cdc;_0x59ddf0['addEventListener']('change',()=>{_0x59ddf0['files']&&([..._0x59ddf0['files']]['forEach'](_0x53726d=>{this['addFileFromObject'](_0x53726d,{'source':t['captureCamera']?_0x363ac3['CAMERA']:_0x363ac3['LOCAL']});}),this['e']['pub']('*currentActivity',_0x3e80cf['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x3e80cf['UPLOAD_LIST']),_0x59ddf0['remove']());},{'once':!0x0}),document['querySelectorAll']('['+_0xdaef5b+']')['forEach'](_0x3616a5=>{_0x3616a5['remove']();}),document['body']['appendChild'](_0x59ddf0),_0x59ddf0['dispatchEvent'](new MouseEvent('click'));},this['initFlow']=(t=!0x1)=>{if(this['v']['size']>0x0&&!t)this['e']['pub']('*currentActivity',_0x3e80cf['UPLOAD_LIST']),this['i']['modalManager']?.['open'](_0x3e80cf['UPLOAD_LIST']);else{if(0x1===this['On']?.['length']){let _0x3e4ee2=this['On'][0x0];this['go']()['then'](()=>{let _0x13c49c=this['i']['pluginManager']['snapshot']()['sources'],_0x3616e3=_0x13c49c['find'](_0x27eb12=>_0x27eb12['id']===_0x3e4ee2);if(_0x3616e3){let _0x55916f=_0x3616e3['expand']?.()??[_0x3e4ee2];return void(0x1===_0x55916f['length']?(_0x13c49c['find'](_0x698e28=>_0x698e28['id']===_0x55916f[0x0])??_0x3616e3)['onSelect']():(this['e']['pub']('*currentActivity',_0x3e80cf['START_FROM']),this['i']['modalManager']?.['open'](_0x3e80cf['START_FROM'])));}this['e']['read']('*currentActivity')&&this['i']['modalManager']?.['open'](this['e']['read']('*currentActivity'));});}else this['e']['pub']('*currentActivity',_0x3e80cf['START_FROM']),this['i']['modalManager']?.['open'](_0x3e80cf['START_FROM']);}},this['doneFlow']=()=>{let t=((_0x4eeb5d,_0x3b5708)=>{for(let t of _0x4eeb5d)if(_0x3b5708(t))return t;})(this['i']['blocksRegistry'],_0x2db5d2=>'doneActivity'in _0x2db5d2);t&&(this['e']['pub']('*currentActivity',t['doneActivity']),this['e']['pub']('*history',t['doneActivity']?[t['doneActivity']]:[]),this['e']['read']('*currentActivity')||this['i']['modalManager']?.['closeAll']());},this['setCurrentActivity']=(t,..._0x324c3a)=>{this['go']()['then'](()=>{this['e']['pub']('*currentActivityParams',_0x324c3a[0x0]??{}),this['e']['pub']('*currentActivity',t),_0x385ecf(this['i']['blocksRegistry'],_0x1d505f=>_0x1d505f['activityType']===t,{'onTimeout':()=>console['warn']('Activity\x20type\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20context'),'timeout':0x64});});},this['on']=(t,_0x4501a5)=>this['i']['eventEmitter']['on'](t,_0x4501a5),this['getCurrentActivity']=()=>this['e']['read']('*currentActivity'),this['historyBack']=()=>{this['e']['read']('*historyBack')?.();},this['setModalState']=t=>{this['go']()['then'](()=>{if(!t)return this['i']['modalManager']?.['close'](this['e']['read']('*currentActivity')),void this['e']['pub']('*currentActivity',null);let _0x5262d9=this['e']['read']('*currentActivity');if(_0x5262d9)return _0x385ecf(this['i']['blocksRegistry'],_0x351b59=>_0x351b59['activityType']===_0x5262d9,{'onTimeout':()=>console['warn']('Activity\x20block\x20\x22'+_0x5262d9+'\x22\x20not\x20found\x20in\x20the\x20context')})['then'](()=>{this['i']['modalManager']?.['open'](_0x5262d9);});console['warn']('Can\x27t\x20open\x20modal\x20without\x20current\x20activity.\x20Please\x20use\x20\x22setCurrentActivity\x22\x20method\x20first.');});};}get['v'](){return this['i']['uploadCollection'];}get['cfg'](){return this['ze'];}get['l10n'](){return this['Et'];}['removeAllFiles'](){this['v']['clearAll']();}['getOutputItem'](t){let _0x5065ef=_0x3c0549['getCtx'](t);if(!_0x5065ef)throw new Error('UploaderPublicApi#getOutputItem:\x20Entry\x20with\x20ID\x20\x22'+t+'\x22\x20not\x20found\x20in\x20the\x20upload\x20collection');let _0x2d7e84=_0x5065ef['store'],_0x139c56=_0x2d7e84['fileInfo'],_0x489fa9=_0x2d7e84['isRemoved']?'removed':_0x2d7e84['errors']['length']>0x0?'failed':_0x2d7e84['fileInfo']?'success':_0x2d7e84['isUploading']?'uploading':'idle';return{'uuid':_0x139c56?.['uuid']??_0x2d7e84['uuid']??null,'internalId':t,'name':_0x139c56?.['originalFilename']??_0x2d7e84['fileName'],'size':_0x139c56?.['size']??_0x2d7e84['fileSize'],'isImage':_0x139c56?.['isImage']??_0x2d7e84['isImage'],'mimeType':_0x139c56?.['mimeType']??_0x2d7e84['mimeType'],'file':_0x2d7e84['file'],'externalUrl':_0x2d7e84['externalUrl'],'cdnUrlModifiers':_0x2d7e84['cdnUrlModifiers'],'cdnUrl':_0x2d7e84['cdnUrl']??_0x139c56?.['cdnUrl']??null,'fullPath':_0x2d7e84['fullPath'],'uploadProgress':_0x2d7e84['uploadProgress'],'fileInfo':_0x139c56??null,'metadata':_0x2d7e84['metadata']??_0x139c56?.['metadata']??null,'isSuccess':'success'===_0x489fa9,'isUploading':'uploading'===_0x489fa9,'isFailed':'failed'===_0x489fa9,'isRemoved':'removed'===_0x489fa9,'isValidationPending':_0x2d7e84['isValidationPending'],'errors':_0x2d7e84['errors'],'status':_0x489fa9,'source':_0x2d7e84?.['source']};}['getOutputCollectionState'](){return _0x12646a(this['i']);}async['go'](){return(await this['i']['wait']('pluginManager'))['pluginsReady']();}get['On'](){let t=[];return this['cfg']['sourceList']&&(t=_0x430ffa(this['cfg']['sourceList'])),t;}},_0x121e8c={'file':null,'externalUrl':null,'fileName':null,'fileSize':null,'lastModified':Date['now'](),'uploadProgress':0x0,'uuid':null,'isImage':!0x1,'mimeType':null,'ctxName':null,'cdnUrl':null,'cdnUrlModifiers':null,'fileInfo':null,'isUploading':!0x1,'abortController':null,'thumbUrl':null,'silent':!0x1,'source':null,'fullPath':null,'metadata':null,'errors':[],'uploadError':null,'isRemoved':!0x1,'isQueuedForUploading':!0x1,'isValidationPending':!0x1,'isQueuedForValidation':!0x1},_0x1b373d=33.333333333333336;function _0x5cca8a(_0x2a0e15,_0x15070e){for(let [t,_0x283679]of Object['entries'](_0x15070e))_0x2a0e15['setAttributeNS'](null,t,_0x283679['toString']());}function _0x571e68(_0x5e6324,_0x4b714b={}){let t=document['createElementNS']('http://www.w3.org/2000/svg',_0x5e6324);return _0x5cca8a(t,_0x4b714b),t;}function _0x2b4a1d(_0x2dc89e,_0x2c3984,t){let {x:_0xd1f0c1,y:_0x541fb7,width:_0x482833,height:_0x31fe21}=_0x2dc89e,_0x163f9e=_0x2c3984['includes']('w')?0x0:0x1,_0x47aa1b=_0x2c3984['includes']('n')?0x0:0x1,_0x1343fc=0x0===_0x163f9e?-0x1:0x1,_0x4f5e3e=0x0===_0x47aa1b?-0x1:0x1,_0x20b454=[_0xd1f0c1+_0x163f9e*_0x482833+1.5*_0x1343fc,_0x541fb7+_0x47aa1b*_0x31fe21+1.5*_0x4f5e3e-0x18*t*_0x4f5e3e],_0x24ba43=[_0xd1f0c1+_0x163f9e*_0x482833+1.5*_0x1343fc,_0x541fb7+_0x47aa1b*_0x31fe21+1.5*_0x4f5e3e],_0x53061e=[_0xd1f0c1+_0x163f9e*_0x482833-0x18*t*_0x1343fc+1.5*_0x1343fc,_0x541fb7+_0x47aa1b*_0x31fe21+1.5*_0x4f5e3e];return{'d':'M\x20'+_0x20b454[0x0]+'\x20'+_0x20b454[0x1]+'\x20L\x20'+_0x24ba43[0x0]+'\x20'+_0x24ba43[0x1]+'\x20L\x20'+_0x53061e[0x0]+'\x20'+_0x53061e[0x1],'center':[_0x24ba43[0x0],_0x24ba43[0x1]]};}function _0x57faa3(_0x11ad17,_0x3c6755,t){let _0x2fd6d7,_0x41579b,{x:_0x4510dd,y:_0x2b9e32,width:_0x4b6720,height:_0x1ad51b}=_0x11ad17,_0x1e59ac='n'===_0x3c6755||'s'===_0x3c6755,_0x5713a7=_0x1e59ac?0.5:'w'===_0x3c6755?0x0:0x1,_0x2b0d7a='w'===_0x3c6755||'e'===_0x3c6755?0.5:'n'===_0x3c6755?0x0:0x1,_0x55434d='w'===_0x3c6755?-0x1:'e'===_0x3c6755?0x1:0x0,_0x2e0f65='n'===_0x3c6755?-0x1:'s'===_0x3c6755?0x1:0x0;return _0x1e59ac?(_0x2fd6d7=[_0x4510dd+_0x5713a7*_0x4b6720-0x22*t/0x2,_0x2b9e32+_0x2b0d7a*_0x1ad51b+1.5*_0x2e0f65],_0x41579b=[_0x4510dd+_0x5713a7*_0x4b6720+0x22*t/0x2,_0x2b9e32+_0x2b0d7a*_0x1ad51b+1.5*_0x2e0f65]):(_0x2fd6d7=[_0x4510dd+_0x5713a7*_0x4b6720+1.5*_0x55434d,_0x2b9e32+_0x2b0d7a*_0x1ad51b-0x22*t/0x2],_0x41579b=[_0x4510dd+_0x5713a7*_0x4b6720+1.5*_0x55434d,_0x2b9e32+_0x2b0d7a*_0x1ad51b+0x22*t/0x2]),{'d':'M\x20'+_0x2fd6d7[0x0]+'\x20'+_0x2fd6d7[0x1]+'\x20L\x20'+_0x41579b[0x0]+'\x20'+_0x41579b[0x1],'center':[(_0x2fd6d7[0x0]+_0x41579b[0x0])/0x2,(_0x2fd6d7[0x1]+_0x41579b[0x1])/0x2]};}function _0x27a84a(_0x32a5ad,_0x4b1469){let {x:t}=_0x32a5ad,{y:_0x19525d}=_0x32a5ad;return _0x32a5ad['x']<_0x4b1469['x']?t=_0x4b1469['x']:_0x32a5ad['x']+_0x32a5ad['width']>_0x4b1469['x']+_0x4b1469['width']&&(t=_0x4b1469['x']+_0x4b1469['width']-_0x32a5ad['width']),_0x32a5ad['y']<_0x4b1469['y']?_0x19525d=_0x4b1469['y']:_0x32a5ad['y']+_0x32a5ad['height']>_0x4b1469['y']+_0x4b1469['height']&&(_0x19525d=_0x4b1469['y']+_0x4b1469['height']-_0x32a5ad['height']),{..._0x32a5ad,'x':t,'y':_0x19525d};}function _0x3e1752({direction:_0x25a418,..._0x5f3f01}){switch(_0x25a418){case'n':return function({rect:_0x3fa59b,delta:_0x3275d9,aspectRatio:t,imageBox:_0x13daa0}){let [,_0x45aff2]=_0x3275d9,{y:_0x4388a3,width:_0x181fda,height:_0x3ddb06}=_0x3fa59b;_0x4388a3+=_0x45aff2,_0x3ddb06-=_0x45aff2,t&&(_0x181fda=_0x3ddb06*t);let _0x29e1d7=_0x3fa59b['x']+_0x3fa59b['width']/0x2-_0x181fda/0x2;return _0x4388a3<=_0x13daa0['y']&&(_0x4388a3=_0x13daa0['y'],_0x3ddb06=_0x3fa59b['y']+_0x3fa59b['height']-_0x4388a3,t&&(_0x181fda=_0x3ddb06*t,_0x29e1d7=_0x3fa59b['x']+_0x3fa59b['width']/0x2-_0x181fda/0x2)),_0x29e1d7<=_0x13daa0['x']&&(_0x29e1d7=_0x13daa0['x'],_0x4388a3=_0x3fa59b['y']+_0x3fa59b['height']-_0x3ddb06),_0x29e1d7+_0x181fda>=_0x13daa0['x']+_0x13daa0['width']&&(_0x29e1d7=Math['max'](_0x13daa0['x'],_0x13daa0['x']+_0x13daa0['width']-_0x181fda),_0x181fda=_0x13daa0['x']+_0x13daa0['width']-_0x29e1d7,t&&(_0x3ddb06=_0x181fda/t),_0x4388a3=_0x3fa59b['y']+_0x3fa59b['height']-_0x3ddb06),_0x3ddb06<0x1&&(_0x3ddb06=0x1,t&&(_0x181fda=_0x3ddb06*t,_0x29e1d7=_0x3fa59b['x']+_0x3fa59b['width']/0x2-_0x181fda/0x2),_0x4388a3=_0x3fa59b['y']+_0x3fa59b['height']-_0x3ddb06),_0x181fda<0x1&&(_0x181fda=0x1,t&&(_0x3ddb06=_0x181fda/t,_0x29e1d7=_0x3fa59b['x']+_0x3fa59b['width']/0x2-_0x181fda/0x2),_0x4388a3=_0x3fa59b['y']+_0x3fa59b['height']-_0x3ddb06),{'x':_0x29e1d7,'y':_0x4388a3,'width':_0x181fda,'height':_0x3ddb06};}(_0x5f3f01);case'w':return function({rect:_0x479055,delta:_0x28106b,aspectRatio:t,imageBox:_0x48cce0}){let [_0x2af87a]=_0x28106b,{x:_0x4a0d98,width:_0x4d1917,height:_0x531298}=_0x479055;_0x4a0d98+=_0x2af87a,_0x4d1917-=_0x2af87a,t&&(_0x531298=_0x4d1917/t);let _0x26dda5=_0x479055['y']+_0x479055['height']/0x2-_0x531298/0x2;return _0x4a0d98<=_0x48cce0['x']&&(_0x4a0d98=_0x48cce0['x'],_0x4d1917=_0x479055['x']+_0x479055['width']-_0x4a0d98,t&&(_0x531298=_0x4d1917/t,_0x26dda5=_0x479055['y']+_0x479055['height']/0x2-_0x531298/0x2)),_0x26dda5<=_0x48cce0['y']&&(_0x26dda5=_0x48cce0['y'],_0x4a0d98=_0x479055['x']+_0x479055['width']-_0x4d1917),_0x26dda5+_0x531298>=_0x48cce0['y']+_0x48cce0['height']&&(_0x26dda5=Math['max'](_0x48cce0['y'],_0x48cce0['y']+_0x48cce0['height']-_0x531298),_0x531298=_0x48cce0['y']+_0x48cce0['height']-_0x26dda5,t&&(_0x4d1917=_0x531298*t),_0x4a0d98=_0x479055['x']+_0x479055['width']-_0x4d1917),_0x531298<0x1&&(_0x531298=0x1,t&&(_0x4d1917=_0x531298*t),_0x26dda5=_0x479055['y']+_0x479055['height']/0x2-_0x531298/0x2,_0x4a0d98=_0x479055['x']+_0x479055['width']-_0x4d1917),_0x4d1917<0x1&&(_0x4d1917=0x1,t&&(_0x531298=_0x4d1917/t),_0x26dda5=_0x479055['y']+_0x479055['height']/0x2-_0x531298/0x2,_0x4a0d98=_0x479055['x']+_0x479055['width']-_0x4d1917),{'x':_0x4a0d98,'y':_0x26dda5,'width':_0x4d1917,'height':_0x531298};}(_0x5f3f01);case's':return function({rect:_0x4557b8,delta:_0xc59412,aspectRatio:t,imageBox:_0x160b72}){let [,_0x950c7e]=_0xc59412,{y:_0x3054f9,width:_0x12760f,height:_0x4d023a}=_0x4557b8;_0x4d023a+=_0x950c7e,t&&(_0x12760f=_0x4d023a*t);let _0x4afed6=_0x4557b8['x']+_0x4557b8['width']/0x2-_0x12760f/0x2;return _0x3054f9+_0x4d023a>=_0x160b72['y']+_0x160b72['height']&&(_0x4d023a=_0x160b72['y']+_0x160b72['height']-_0x3054f9,t&&(_0x12760f=_0x4d023a*t),_0x4afed6=_0x4557b8['x']+_0x4557b8['width']/0x2-_0x12760f/0x2),_0x4afed6<=_0x160b72['x']&&(_0x4afed6=_0x160b72['x'],_0x3054f9=_0x4557b8['y']),_0x4afed6+_0x12760f>=_0x160b72['x']+_0x160b72['width']&&(_0x4afed6=Math['max'](_0x160b72['x'],_0x160b72['x']+_0x160b72['width']-_0x12760f),_0x12760f=_0x160b72['x']+_0x160b72['width']-_0x4afed6,t&&(_0x4d023a=_0x12760f/t),_0x3054f9=_0x4557b8['y']),_0x4d023a<0x1&&(_0x4d023a=0x1,t&&(_0x12760f=_0x4d023a*t),_0x4afed6=_0x4557b8['x']+_0x4557b8['width']/0x2-_0x12760f/0x2),_0x12760f<0x1&&(_0x12760f=0x1,t&&(_0x4d023a=_0x12760f/t),_0x4afed6=_0x4557b8['x']+_0x4557b8['width']/0x2-_0x12760f/0x2),{'x':_0x4afed6,'y':_0x3054f9,'width':_0x12760f,'height':_0x4d023a};}(_0x5f3f01);case'e':return function({rect:_0x2d8ca9,delta:_0x4ab22b,aspectRatio:t,imageBox:_0x52ec1a}){let [_0x12450a]=_0x4ab22b,{x:_0x462eed,width:_0x19b835,height:_0x1ccc3a}=_0x2d8ca9;_0x19b835+=_0x12450a,t&&(_0x1ccc3a=_0x19b835/t);let _0x11715e=_0x2d8ca9['y']+_0x2d8ca9['height']/0x2-_0x1ccc3a/0x2;return _0x462eed+_0x19b835>=_0x52ec1a['x']+_0x52ec1a['width']&&(_0x19b835=_0x52ec1a['x']+_0x52ec1a['width']-_0x462eed,t&&(_0x1ccc3a=_0x19b835/t),_0x11715e=_0x2d8ca9['y']+_0x2d8ca9['height']/0x2-_0x1ccc3a/0x2),_0x11715e<=_0x52ec1a['y']&&(_0x11715e=_0x52ec1a['y'],_0x462eed=_0x2d8ca9['x']),_0x11715e+_0x1ccc3a>=_0x52ec1a['y']+_0x52ec1a['height']&&(_0x11715e=Math['max'](_0x52ec1a['y'],_0x52ec1a['y']+_0x52ec1a['height']-_0x1ccc3a),_0x1ccc3a=_0x52ec1a['y']+_0x52ec1a['height']-_0x11715e,t&&(_0x19b835=_0x1ccc3a*t),_0x462eed=_0x2d8ca9['x']),_0x1ccc3a<0x1&&(_0x1ccc3a=0x1,t&&(_0x19b835=_0x1ccc3a*t),_0x11715e=_0x2d8ca9['y']+_0x2d8ca9['height']/0x2-_0x1ccc3a/0x2),_0x19b835<0x1&&(_0x19b835=0x1,t&&(_0x1ccc3a=_0x19b835/t),_0x11715e=_0x2d8ca9['y']+_0x2d8ca9['height']/0x2-_0x1ccc3a/0x2),{'x':_0x462eed,'y':_0x11715e,'width':_0x19b835,'height':_0x1ccc3a};}(_0x5f3f01);case'nw':return function({rect:_0x1c64ce,delta:_0x5ba279,aspectRatio:t,imageBox:_0x41b86b}){let [_0x580141,_0x290310]=_0x5ba279,{x:_0x18a043,y:_0x362404,width:_0xbed8a3,height:_0x16285f}=_0x1c64ce;return _0x18a043+_0x580141<_0x41b86b['x']&&(_0x580141=_0x41b86b['x']-_0x18a043),_0x362404+_0x290310<_0x41b86b['y']&&(_0x290310=_0x41b86b['y']-_0x362404),_0x18a043+=_0x580141,_0xbed8a3-=_0x580141,_0x362404+=_0x290310,_0x16285f-=_0x290310,t&&Math['abs'](_0xbed8a3/_0x16285f)>t?(_0x290310=_0xbed8a3/t-_0x16285f,_0x16285f+=_0x290310,_0x362404-=_0x290310,_0x362404<=_0x41b86b['y']&&(_0x16285f-=_0x41b86b['y']-_0x362404,_0xbed8a3=_0x16285f*t,_0x18a043=_0x1c64ce['x']+_0x1c64ce['width']-_0xbed8a3,_0x362404=_0x41b86b['y'])):t&&(_0x580141=_0x16285f*t-_0xbed8a3,_0xbed8a3+=_0x580141,_0x18a043-=_0x580141,_0x18a043<=_0x41b86b['x']&&(_0xbed8a3-=_0x41b86b['x']-_0x18a043,_0x16285f=_0xbed8a3/t,_0x18a043=_0x41b86b['x'],_0x362404=_0x1c64ce['y']+_0x1c64ce['height']-_0x16285f)),_0x16285f<0x1&&(_0x16285f=0x1,t&&(_0xbed8a3=_0x16285f*t),_0x18a043=_0x1c64ce['x']+_0x1c64ce['width']-_0xbed8a3,_0x362404=_0x1c64ce['y']+_0x1c64ce['height']-_0x16285f),_0xbed8a3<0x1&&(_0xbed8a3=0x1,t&&(_0x16285f=_0xbed8a3/t),_0x18a043=_0x1c64ce['x']+_0x1c64ce['width']-_0xbed8a3,_0x362404=_0x1c64ce['y']+_0x1c64ce['height']-_0x16285f),{'x':_0x18a043,'y':_0x362404,'width':_0xbed8a3,'height':_0x16285f};}(_0x5f3f01);case'ne':return function({rect:_0x30b093,delta:_0xf046b2,aspectRatio:t,imageBox:_0x1e773d}){let [_0x3b6735,_0x792e9c]=_0xf046b2,{x:_0x257203,y:_0x32e697,width:_0x38e03c,height:_0x2efa2a}=_0x30b093;return _0x257203+_0x38e03c+_0x3b6735>_0x1e773d['x']+_0x1e773d['width']&&(_0x3b6735=_0x1e773d['x']+_0x1e773d['width']-_0x257203-_0x38e03c),_0x32e697+_0x792e9c<_0x1e773d['y']&&(_0x792e9c=_0x1e773d['y']-_0x32e697),_0x38e03c+=_0x3b6735,_0x32e697+=_0x792e9c,_0x2efa2a-=_0x792e9c,t&&Math['abs'](_0x38e03c/_0x2efa2a)>t?(_0x792e9c=_0x38e03c/t-_0x2efa2a,_0x2efa2a+=_0x792e9c,_0x32e697-=_0x792e9c,_0x32e697<=_0x1e773d['y']&&(_0x2efa2a-=_0x1e773d['y']-_0x32e697,_0x38e03c=_0x2efa2a*t,_0x257203=_0x30b093['x'],_0x32e697=_0x1e773d['y'])):t&&(_0x3b6735=_0x2efa2a*t-_0x38e03c,_0x38e03c+=_0x3b6735,_0x257203+_0x38e03c>=_0x1e773d['x']+_0x1e773d['width']&&(_0x38e03c=_0x1e773d['x']+_0x1e773d['width']-_0x257203,_0x2efa2a=_0x38e03c/t,_0x257203=_0x1e773d['x']+_0x1e773d['width']-_0x38e03c,_0x32e697=_0x30b093['y']+_0x30b093['height']-_0x2efa2a)),_0x2efa2a<0x1&&(_0x2efa2a=0x1,t&&(_0x38e03c=_0x2efa2a*t),_0x32e697=_0x30b093['y']+_0x30b093['height']-_0x2efa2a),_0x38e03c<0x1&&(_0x38e03c=0x1,t&&(_0x2efa2a=_0x38e03c/t),_0x32e697=_0x30b093['y']+_0x30b093['height']-_0x2efa2a),{'x':_0x257203,'y':_0x32e697,'width':_0x38e03c,'height':_0x2efa2a};}(_0x5f3f01);case'sw':return function({rect:_0x4dc9c5,delta:_0x97bf6d,aspectRatio:t,imageBox:_0x28fe97}){let [_0x31de07,_0xaf1ff4]=_0x97bf6d,{x:_0x40fae8,y:_0x557fd6,width:_0x49ada1,height:_0x3f41ae}=_0x4dc9c5;return _0x40fae8+_0x31de07<_0x28fe97['x']&&(_0x31de07=_0x28fe97['x']-_0x40fae8),_0x557fd6+_0x3f41ae+_0xaf1ff4>_0x28fe97['y']+_0x28fe97['height']&&(_0xaf1ff4=_0x28fe97['y']+_0x28fe97['height']-_0x557fd6-_0x3f41ae),_0x40fae8+=_0x31de07,_0x49ada1-=_0x31de07,_0x3f41ae+=_0xaf1ff4,t&&Math['abs'](_0x49ada1/_0x3f41ae)>t?(_0xaf1ff4=_0x49ada1/t-_0x3f41ae,_0x3f41ae+=_0xaf1ff4,_0x557fd6+_0x3f41ae>=_0x28fe97['y']+_0x28fe97['height']&&(_0x3f41ae=_0x28fe97['y']+_0x28fe97['height']-_0x557fd6,_0x49ada1=_0x3f41ae*t,_0x40fae8=_0x4dc9c5['x']+_0x4dc9c5['width']-_0x49ada1,_0x557fd6=_0x28fe97['y']+_0x28fe97['height']-_0x3f41ae)):t&&(_0x31de07=_0x3f41ae*t-_0x49ada1,_0x49ada1+=_0x31de07,_0x40fae8-=_0x31de07,_0x40fae8<=_0x28fe97['x']&&(_0x49ada1-=_0x28fe97['x']-_0x40fae8,_0x3f41ae=_0x49ada1/t,_0x40fae8=_0x28fe97['x'],_0x557fd6=_0x4dc9c5['y'])),_0x3f41ae<0x1&&(_0x3f41ae=0x1,t&&(_0x49ada1=_0x3f41ae*t),_0x40fae8=_0x4dc9c5['x']+_0x4dc9c5['width']-_0x49ada1),_0x49ada1<0x1&&(_0x49ada1=0x1,t&&(_0x3f41ae=_0x49ada1/t),_0x40fae8=_0x4dc9c5['x']+_0x4dc9c5['width']-_0x49ada1),{'x':_0x40fae8,'y':_0x557fd6,'width':_0x49ada1,'height':_0x3f41ae};}(_0x5f3f01);case'se':return function({rect:_0x3f606e,delta:_0x2e76f1,aspectRatio:t,imageBox:_0x44c094}){let [_0x35db92,_0x43f95d]=_0x2e76f1,{x:_0x484961,y:_0xd471dc,width:_0x3ba962,height:_0x9aa7d5}=_0x3f606e;return _0x484961+_0x3ba962+_0x35db92>_0x44c094['x']+_0x44c094['width']&&(_0x35db92=_0x44c094['x']+_0x44c094['width']-_0x484961-_0x3ba962),_0xd471dc+_0x9aa7d5+_0x43f95d>_0x44c094['y']+_0x44c094['height']&&(_0x43f95d=_0x44c094['y']+_0x44c094['height']-_0xd471dc-_0x9aa7d5),_0x3ba962+=_0x35db92,_0x9aa7d5+=_0x43f95d,t&&Math['abs'](_0x3ba962/_0x9aa7d5)>t?(_0x43f95d=_0x3ba962/t-_0x9aa7d5,_0x9aa7d5+=_0x43f95d,_0xd471dc+_0x9aa7d5>=_0x44c094['y']+_0x44c094['height']&&(_0x9aa7d5=_0x44c094['y']+_0x44c094['height']-_0xd471dc,_0x3ba962=_0x9aa7d5*t,_0x484961=_0x3f606e['x'],_0xd471dc=_0x44c094['y']+_0x44c094['height']-_0x9aa7d5)):t&&(_0x35db92=_0x9aa7d5*t-_0x3ba962,_0x3ba962+=_0x35db92,_0x484961+_0x3ba962>=_0x44c094['x']+_0x44c094['width']&&(_0x3ba962=_0x44c094['x']+_0x44c094['width']-_0x484961,_0x9aa7d5=_0x3ba962/t,_0x484961=_0x44c094['x']+_0x44c094['width']-_0x3ba962,_0xd471dc=_0x3f606e['y'])),_0x9aa7d5<0x1&&(_0x9aa7d5=0x1,t&&(_0x3ba962=_0x9aa7d5*t)),_0x3ba962<0x1&&(_0x3ba962=0x1,t&&(_0x9aa7d5=_0x3ba962/t)),{'x':_0x484961,'y':_0xd471dc,'width':_0x3ba962,'height':_0x9aa7d5};}(_0x5f3f01);default:return _0x5f3f01['rect'];}}function _0x3d853a({width:_0x1cac50,height:_0x2eca0c},t){let _0x37eb3f=t/0x5a%0x2!=0x0;return{'width':_0x37eb3f?_0x2eca0c:_0x1cac50,'height':_0x37eb3f?_0x1cac50:_0x2eca0c};}function _0x440083(_0x56afcf,_0x55ff0f,t){let _0x2ddcdc,_0x6a2151;_0x56afcf/_0x55ff0f>t?(_0x2ddcdc=Math['round'](_0x55ff0f*t),_0x6a2151=_0x55ff0f):(_0x2ddcdc=_0x56afcf,_0x6a2151=Math['round'](_0x56afcf/t));let _0x5af91f=Math['round']((_0x56afcf-_0x2ddcdc)/0x2),_0x102351=Math['round']((_0x55ff0f-_0x6a2151)/0x2);return _0x5af91f+_0x2ddcdc>_0x56afcf&&(_0x2ddcdc=_0x56afcf-_0x5af91f),_0x102351+_0x6a2151>_0x55ff0f&&(_0x6a2151=_0x55ff0f-_0x102351),{'x':_0x5af91f,'y':_0x102351,'width':_0x2ddcdc,'height':_0x6a2151};}function _0x1f5c12(_0x1b7ed8){return{'x':Math['round'](_0x1b7ed8['x']),'y':Math['round'](_0x1b7ed8['y']),'width':Math['round'](_0x1b7ed8['width']),'height':Math['round'](_0x1b7ed8['height'])};}function _0x1be775(_0x562267,_0x5b2afb,t){return Math['min'](Math['max'](_0x562267,_0x5b2afb),t);}var _0x2d3be3=['free'],_0x3a77db=_0x108f3f=>{let _0x501afd=_0x430ffa(_0x108f3f);if(!_0x501afd||0x0===_0x501afd['length'])return[];let t=[];for(let _0x5049b5 of _0x501afd){let _0x5cb628=_0x5049b5['trim']();if(!_0x5cb628)continue;let _0x4708d5=_0x5cb628['indexOf'](':');if(-0x1===_0x4708d5&&!_0x2d3be3['includes'](_0x5cb628)){console['warn']('Invalid\x20crop\x20preset:\x20'+_0x5cb628);continue;}let _0x36bf3b=Number(_0x5cb628['slice'](0x0,_0x4708d5)),_0x505434=Number(_0x5cb628['slice'](_0x4708d5+0x1));!(!Number['isFinite'](_0x36bf3b)||!Number['isFinite'](_0x505434)||_0x36bf3b<=0x0||_0x505434<=0x0)||_0x2d3be3['includes'](_0x5cb628)?t['push']({'id':_0x3a94a4['generateFastUid'](),'type':'aspect-ratio','width':_0x2d3be3['includes'](_0x5cb628)?0x0:_0x36bf3b,'height':_0x2d3be3['includes'](_0x5cb628)?0x0:_0x505434,'hasFreeform':_0x2d3be3['includes'](_0x5cb628)}):console['warn']('Invalid\x20crop\x20preset:\x20'+_0x5cb628);}return t;};function _0x2dca7c(_0x20af19){return _0xae319d({..._0x20af19,'libraryName':_0x119f00,'libraryVersion':_0x1042e2});}var _0x2a1fc1,_0x5b9959='active',_0x184180='___ACTIVITY_IS_ACTIVE___',t1=class _0x39fdcd extends(_0x2a1fc1=_0x654125,_0x2a1fc1){constructor(){super(...arguments),this['historyTracked']=!0x1,this['activityType']=null,this['init$']=_0x30f00f(this),this['lu']=_0x5184f3(this['cu']['bind'](this),0xa);}['In'](){let t=_0x39fdcd['ii']['get'](this);this[_0x184180]=!0x1,this['removeAttribute'](_0x5b9959),t?.['deactivateCallback']?.();}['uu'](){let t=_0x39fdcd['ii']['get'](this);this['$']['*historyBack']=this['historyBack']['bind'](this),this[_0x184180]=!0x0,this['setAttribute'](_0x5b9959,''),t?.['activateCallback']?.(),this['lu'](),this['emit'](_0x4b13c3['ACTIVITY_CHANGE'],{'activity':this['activityType']});}['initCallback'](){super['initCallback'](),this['activityType']&&(this['hasAttribute']('activity')||this['setAttribute']('activity',this['activityType']),this['sub']('*currentActivity',t=>{try{this['activityType']!==t&&this[_0x184180]?this['In']():this['activityType']===t&&!this[_0x184180]&&this['uu']();}catch(_0x305297){this['telemetryManager']['sendEventError'](_0x305297,'activity\x20\x22'+this['activityType']+'\x22'),console['error']('Error\x20in\x20activity\x20\x22'+this['activityType']+'\x22.\x20',_0x305297);let _0x5dc5f0=this['$']['*history'][this['$']['*history']['length']-0x1];this['$']['*currentActivity']=_0x5dc5f0??null;}t||(this['$']['*history']=[]);}));}['cu'](){let t=this['$']['*history'];t&&(t['length']>0xa&&(t=t['slice'](t['length']-0xb,t['length']-0x1)),this['historyTracked']&&t[t['length']-0x1]!==this['activityType']&&t['push'](this['activityType']),this['$']['*history']=t);}['Pn'](){return!!this['activityType']&&_0x39fdcd['ii']['has'](this);}static{this['ii']=new Map();}get['isActivityActive'](){return!!this[_0x184180];}get['couldOpenActivity'](){return!0x0;}['registerActivity'](t,_0x45f1d4={}){let {onActivate:_0x273512,onDeactivate:_0x220712}=_0x45f1d4;_0x39fdcd['ii']['set'](this,{'activateCallback':_0x273512,'deactivateCallback':_0x220712});}['du'](){this['isActivityActive']&&this['In'](),_0x39fdcd['ii']['delete'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Pn']()&&this['du']();}get['activityParams'](){return this['$']['*currentActivityParams'];}get['initActivity'](){return this['getCssData']('--cfg-init-activity')??null;}get['doneActivity'](){return this['getCssData']('--cfg-done-activity')??null;}['historyBack'](){let t=this['$']['*history'];if(t){let _0x11b255=t['pop']();for(;_0x11b255===this['activityType'];)_0x11b255=t['pop']();let _0x2f06e2=!!_0x11b255;_0x11b255&&(_0x2f06e2=[...this['blocksRegistry']]['find'](_0x56ec10=>_0x56ec10['activityType']===_0x11b255)?.['couldOpenActivity']??!0x1),_0x11b255=_0x2f06e2?_0x11b255:null,this['$']['*currentActivity']=_0x11b255??null,_0x11b255&&this['modalManager']?.['open'](_0x11b255),this['$']['*history']=t,_0x11b255||this['modalManager']?.['closeAll']();}}};t1['activities']=_0x3e80cf;var _0x21c1d2=class _0x38e510 extends t1{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x1,this['Xi']=!0x1,this['init$']=_0x142acb(this),this['bo']=_0x5184f3(async()=>{if(this['getOutputData']()['length']!==this['uploadCollection']['size'])return;let _0x52c4f4=this['api']['getOutputCollectionState']();this['$']['*collectionState']=_0x52c4f4,this['emit'](_0x4b13c3['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['cfg']['groupOutput']&&_0x52c4f4['totalCount']>0x0&&'success'===_0x52c4f4['status']&&this['gu'](_0x52c4f4);},0x12c),this['fu']=(t,_0x22a453,_0x11e55d)=>{if(this['isConnected']){(_0x22a453['size']||_0x11e55d['size'])&&(this['$']['*groupInfo']=null),this['validationManager']['runFileValidators']('add',[..._0x22a453]['map'](_0x2a062a=>_0x2a062a['uid']));for(let _0x843e7f of _0x22a453)_0x843e7f['getValue']('silent')||this['emit'](_0x4b13c3['FILE_ADDED'],this['api']['getOutputItem'](_0x843e7f['uid'])),this['i']['wait']('pluginManager')['then'](_0x1d11f8=>_0x1d11f8['runOnAddHooks'](_0x843e7f));this['validationManager']['runCollectionValidators']();for(let _0x31db4c of _0x11e55d){this['$']['*uploadTrigger']['delete'](_0x31db4c['uid']),this['validationManager']['cleanupValidationForEntry'](_0x31db4c),_0x31db4c['getValue']('abortController')?.['abort'](),_0x31db4c['setMultipleValues']({'isRemoved':!0x0,'abortController':null,'isUploading':!0x1,'uploadProgress':0x0});let _0x4ace8c=_0x31db4c?.['getValue']('thumbUrl');_0x4ace8c&&URL['revokeObjectURL'](_0x4ace8c),this['emit'](_0x4b13c3['FILE_REMOVED'],this['api']['getOutputItem'](_0x31db4c['uid']));}this['$']['*uploadList']=t['map'](_0x48ac07=>({'uid':_0x48ac07})),this['Un'](),this['bo']();}},this['mu']=t=>{if(!this['isConnected'])return;this['bo']();let _0x474e41=this['uploadCollection'],_0x1e59a7=[...new Set(Object['entries'](t)['filter'](([_0x6c6827])=>['file','uploadError','fileInfo','cdnUrl','cdnUrlModifiers']['includes'](_0x6c6827))['flatMap'](([,_0x26fbb8])=>[..._0x26fbb8]))];if(_0x1e59a7['length']>0x0&&setTimeout(()=>{if(!this['isConnected'])return;let _0x11da35=_0x1e59a7['filter'](_0x6ad9bd=>t['fileInfo']?.['has'](_0x6ad9bd)&&!!_0x3c0549['getCtx'](_0x6ad9bd)?.['store']['fileInfo']);_0x11da35['length']>0x0&&this['validationManager']['runFileValidators']('upload',_0x11da35),this['validationManager']['runFileValidators']('change',_0x1e59a7);}),t['uploadProgress']){for(let _0x53e347 of t['uploadProgress']){let _0x3ef407=_0x3c0549['getCtx'](_0x53e347);if(!_0x3ef407)continue;let {isUploading:_0xb330d0,silent:_0x131e6c}=_0x3ef407['store'];_0xb330d0&&!_0x131e6c&&this['emit'](_0x4b13c3['FILE_UPLOAD_PROGRESS'],this['api']['getOutputItem'](_0x53e347));}this['Un']();}if(t['isUploading'])for(let _0x56e93c of t['isUploading']){let _0x547295=_0x3c0549['getCtx'](_0x56e93c);if(!_0x547295)continue;let {isUploading:_0xa524e7,silent:_0x452471}=_0x547295['store'];_0xa524e7&&!_0x452471&&this['emit'](_0x4b13c3['FILE_UPLOAD_START'],this['api']['getOutputItem'](_0x56e93c));}if(t['fileInfo']){for(let _0x1b2103 of t['fileInfo']){let _0xe76a75=_0x3c0549['getCtx'](_0x1b2103);if(!_0xe76a75)continue;let {fileInfo:_0x5b4b93,silent:_0x3be445}=_0xe76a75['store'];_0x5b4b93&&!_0x3be445&&this['emit'](_0x4b13c3['FILE_UPLOAD_SUCCESS'],this['api']['getOutputItem'](_0x1b2103));}this['cfg']['cropPreset']&&this['vu']();}if(t['errors']){this['validationManager']['runCollectionValidators']();for(let _0x10d9a4 of t['errors']){let _0x7ef3dd=_0x3c0549['getCtx'](_0x10d9a4);if(!_0x7ef3dd)continue;let {errors:_0x5e65f9}=_0x7ef3dd['store'];_0x5e65f9['length']>0x0&&(this['emit'](_0x4b13c3['FILE_UPLOAD_FAILED'],this['api']['getOutputItem'](_0x10d9a4)),this['emit'](_0x4b13c3['COMMON_UPLOAD_FAILED'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}));}let _0x11ebee=_0x474e41['findItems'](_0x214b0f=>!!_0x214b0f['getValue']('fileInfo')),_0x38c383=_0x474e41['findItems'](_0xf3538=>_0xf3538['getValue']('errors')['length']>0x0);_0x474e41['size']>0x0&&0x0===_0x38c383['length']&&_0x474e41['size']===_0x11ebee['length']&&0x0===this['$']['*collectionErrors']['length']&&this['emit'](_0x4b13c3['COMMON_UPLOAD_SUCCESS'],this['api']['getOutputCollectionState']());}t['cdnUrl']&&([...t['cdnUrl']]['filter'](_0x51cdba=>!!this['uploadCollection']['read'](_0x51cdba)?.['getValue']('cdnUrl'))['forEach'](_0x103a4b=>{this['emit'](_0x4b13c3['FILE_URL_CHANGED'],this['api']['getOutputItem'](_0x103a4b));}),this['$']['*groupInfo']=null);},this['Un']=()=>{let t=0x0,_0x5b7748=[...this['$']['*uploadTrigger']]['filter'](_0x4c75ad=>!!this['uploadCollection']['read'](_0x4c75ad));_0x5b7748['forEach'](_0x25fa57=>{let _0x48177f=this['uploadCollection']['readProp'](_0x25fa57,'uploadProgress');'number'==typeof _0x48177f&&(t+=_0x48177f);});let _0x3fab73=_0x5b7748['length']?Math['round'](t/_0x5b7748['length']):0x0;this['$']['*commonProgress']!==_0x3fab73&&(this['$']['*commonProgress']=_0x3fab73,this['emit'](_0x4b13c3['COMMON_UPLOAD_PROGRESS'],this['api']['getOutputCollectionState']()));};}get['pu'](){return this['hasBlockInCtx'](t=>t instanceof _0x38e510&&(t['Xi']&&t['isConnected']&&t!==this));}['initCallback'](){super['initCallback'](),this['Z']('*uploadCollection',()=>new _0x48ac64({'initialValue':_0x121e8c,'watchList':['file','uploadProgress','uploadError','fileInfo','errors','cdnUrl','isUploading','isValidationPending']})),this['Z']('*secureUploadsManager',t=>new t0(t)),this['Z']('*validationManager',t=>new _0x106fb7(t)),this['Z']('*publicApi',t=>new _0x24aae2(t)),!this['pu']&&this['couldBeCtxOwner']&&this['hu']();}['getAPI'](){return this['api'];}get['validationManager'](){return this['ie']('*validationManager');}get['api'](){return this['ie']('*publicApi');}get['uploadCollection'](){return this['ie']('*uploadCollection');}get['secureUploadsManager'](){return this['ie']('*secureUploadsManager');}['disconnectedCallback'](){super['disconnectedCallback'](),this['Xi']&&this['Ln'](),this['bo']['cancel']();}['connectedCallback'](){super['connectedCallback'](),this['Xi']&&this['Rn']();}['hu'](){this['Xi']=!0x0,this['Rn'](),this['subConfigValue']('maxConcurrentRequests',t=>{this['$']['*uploadQueue']['concurrency']=Number(t)||0x1;});}['Rn'](){this['Ln'](),this['vo']=this['uploadCollection']['observeCollection'](this['fu']),this['yo']=this['uploadCollection']['observeProperties'](this['mu']);}['Ln'](){this['yo']?.(),this['vo']?.(),this['yo']=void 0x0,this['vo']=void 0x0;}async['gu'](t){let _0x4b9d3f=await this['getUploadClientOptions'](),_0xe7b784=t['allEntries']['map'](_0x3b3b40=>_0x3b3b40['uuid']+(_0x3b3b40['cdnUrlModifiers']?'/'+_0x3b3b40['cdnUrlModifiers']:'')),_0x6800d=new AbortController(),_0x4e116d=await _0x186347(_0xe7b784,{..._0x4b9d3f,'signal':_0x6800d['signal']});if(this['$']['*collectionState']!==t)return void _0x6800d['abort']();this['$']['*groupInfo']=_0x4e116d;let _0x2b8a13=this['api']['getOutputCollectionState']();this['emit'](_0x4b13c3['GROUP_CREATED'],_0x2b8a13),this['emit'](_0x4b13c3['CHANGE'],()=>this['api']['getOutputCollectionState'](),{'debounce':!0x0}),this['$']['*collectionState']=_0x2b8a13;}['vu'](){let t=_0x3a77db(this['cfg']['cropPreset']);if(!t)return;let [_0x1f028b]=t,_0x4ff431=this['uploadCollection']['findItems'](_0x4de61e=>!!_0x4de61e['getValue']('fileInfo')&&_0x4de61e['getValue']('isImage')&&!_0x4de61e['getValue']('cdnUrlModifiers')?.['includes']('/crop/'))['map'](_0x7f6b61=>this['uploadCollection']['read'](_0x7f6b61))['filter'](Boolean);for(let _0x33fe2e of _0x4ff431){let _0x3d2959=_0x33fe2e['getValue']('fileInfo');if(!_0x3d2959||!_0x3d2959['imageInfo']){console['warn']('Failed\x20to\x20get\x20image\x20info\x20for\x20entry',_0x33fe2e['uid']);continue;}let {width:_0x3e1c1f,height:_0x5ec9ca}=_0x3d2959['imageInfo'],_0x1ad46b=_0x440083(_0x3e1c1f,_0x5ec9ca,'number'==typeof _0x1f028b?.['width']&&'number'==typeof _0x1f028b?.['height']&&_0x1f028b['width']>0x0&&_0x1f028b['height']>0x0?_0x1f028b['width']/_0x1f028b['height']:0x1),_0x501e38=_0x525a54('crop/'+_0x1ad46b['width']+'x'+_0x1ad46b['height']+'/'+_0x1ad46b['x']+','+_0x1ad46b['y'],'preview'),_0x51e76d=_0x33fe2e['getValue']('cdnUrl');_0x51e76d?_0x33fe2e['setMultipleValues']({'cdnUrlModifiers':_0x501e38,'cdnUrl':_0x32f032(_0x51e76d,_0x501e38)}):console['warn']('Failed\x20to\x20get\x20cdnUrl\x20for\x20entry',_0x33fe2e['uid']);}}async['getMetadataFor'](t){let _0x1f12da=this['cfg']['metadata']||void 0x0;return'function'==typeof _0x1f12da?await _0x1f12da(this['api']['getOutputItem'](t)):_0x1f12da;}async['getUploadClientOptions'](){let t=await this['secureUploadsManager']['getSecureToken']()['catch'](()=>null);return{'store':this['cfg']['store'],'publicKey':this['cfg']['pubkey'],'baseCDN':this['cfg']['cdnCname'],'baseURL':this['cfg']['baseUrl'],'userAgent':_0x2dca7c,'integration':this['cfg']['userAgentIntegration'],'secureSignature':t?.['secureSignature'],'secureExpire':t?.['secureExpire'],'retryThrottledRequestMaxTimes':this['cfg']['retryThrottledRequestMaxTimes'],'retryNetworkErrorMaxTimes':this['cfg']['retryNetworkErrorMaxTimes'],'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 _0x10c46b(this['i']);}};_0x21c1d2['extSrcList']=Object['freeze']({..._0x50f779}),_0x21c1d2['sourceTypes']=Object['freeze']({..._0x363ac3});var _0x5557f7=class extends _0x654125{constructor(){super(...arguments),this['name']='',this['Qi']='',this['ri']=null,this['$n']=null;}['initCallback'](){super['initCallback'](),this['setAttribute']('aria-hidden','true'),this['subConfigValue']('iconHrefResolver',_0xdbc59=>{this['$n']=_0xdbc59,this['wo']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['wo']()));}['willUpdate'](t){super['willUpdate'](t),t['has']('name')&&this['wo']();}['wo'](){if(!this['name'])return this['Qi']='',void(this['ri']=null);let _0x446911=this['i']['pluginManager']?.['snapshot']()['icons']['find'](_0x2dd0f3=>_0x2dd0f3['name']===this['name']);if(_0x446911)return this['ri']=_0x446911['svg'],void(this['Qi']='');this['ri']=null;let _0x300c6b='#uc-icon-'+this['name'],_0x30dbb8=this['$n']?.(this['name']);this['Qi']=_0x30dbb8??_0x300c6b;}['render'](){return this['ri']?_0x19f5e4`${this['yield']('',_0x19f5e4`${_0x18c1fe(this['ri'])}`)}`:_0x19f5e4` ${this['yield']('',_0x19f5e4`<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><use href=${this['Qi']}></use></svg>`)} `;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};_0x507457([_0x4331b3({'type':String})],_0x5557f7['prototype'],'name',0x2),_0x507457([_0x511660()],_0x5557f7['prototype'],'Qi',0x2),_0x507457([_0x511660()],_0x5557f7['prototype'],'ri',0x2);var _0xdc4a7='--uc-img-',_0x1b9a48='unresolved',_0x3d228b=!window['location']['host']['trim']()||window['location']['host']['includes'](':')||window['location']['hostname']['includes']('localhost'),_0x27a670=Object['freeze']({'PREVIEW':'PREVIEW','MAIN':'MAIN'}),_0x78a3a0=Object['freeze']({'dev-mode':{},'pubkey':{},'uuid':{},'src':{},'lazy':{'default':0x1},'intersection':{},'breakpoints':{},'cdn-cname':{'default':'https://ucarecdn.com'},'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}}),_0x1cba86=class extends _0x399f57(_0x428ff4(_0x35d7dc)){constructor(){super(),this['Mt']={},this['c']=new Map(),this['Ot']=null,this['Ji']=null;for(let t in _0x78a3a0){let _0x32f249=_0x78a3a0[t];this['Mt'][_0xdc4a7+t]=_0x32f249?.['default']||'';}}['createRenderRoot'](){return this;}['$$'](t){return this['Mt'][_0xdc4a7+t];}['set$$'](t){for(let _0x2bfe38 in t){let _0x55c355=_0xdc4a7+_0x2bfe38,_0x3748c6=t[_0x2bfe38];this['Mt'][_0x55c355]=_0x3748c6,this['q'](_0x55c355,_0x3748c6);}}['sub$$'](t,_0x5e34f5){let _0x18c319=_0xdc4a7+t;this['c']['has'](_0x18c319)||this['c']['set'](_0x18c319,new Set()),this['c']['get'](_0x18c319)?.['add'](_0x5e34f5);let _0x18a863=this['Mt'][_0x18c319];null!==_0x18a863&&''!==_0x18a863&&_0x5e34f5(_0x18a863);}['q'](t,_0x360415){this['c']['has'](t)&&this['c']['get'](t)?.['forEach'](_0x1b8969=>{null===_0x360415||''===_0x360415||_0x1b8969(_0x360415);});}['analyticsParams'](){return'-/@clib/'+_0x119f00+'/'+_0x1042e2+'/uc-img/';}['initAttributes'](t){Array['from'](this['attributes'])['forEach'](_0x3b3389=>{let _0x3068a6=_0x3b3389;_0x78a3a0[_0x3068a6['name']]||t['setAttribute'](_0x3068a6['name'],_0x3068a6['value']);});}['initIntersection'](t,_0x405532){this['Ot']=new IntersectionObserver(_0x3250fc=>{_0x3250fc['forEach'](_0x3b3659=>{_0x3b3659['isIntersecting']&&(_0x405532(),this['Ot']?.['unobserve'](t));});},{'root':null,'rootMargin':'0px'}),this['Ot']['observe'](t),this['Ji']||(this['Ji']=new Set()),this['Ji']['add'](t);}['connectedCallback'](){super['connectedCallback'](),this['yu']();}['yu'](){for(let t in _0x78a3a0){let _0x1321c0=_0xdc4a7+t,_0x1d9c5c=this['getCssData'](_0x1321c0,!0x0);null!=_0x1d9c5c&&(this['Mt'][_0x1321c0]=_0x1d9c5c);}}['disconnectedCallback'](){super['disconnectedCallback'](),this['Ot']&&(this['Ji']?.['forEach'](t=>{this['Ot']?.['unobserve'](t);}),this['Ot']=null),this['c']['clear']();}static get['observedAttributes'](){return Object['keys'](_0x78a3a0);}['attributeChangedCallback'](t,_0x4d20ca,_0x544373){window['setTimeout'](()=>{let _0x7bd66b=_0xdc4a7+t;this['Mt'][_0x7bd66b]=_0x544373,this['q'](_0x7bd66b,_0x544373);});}},_0x40bd86=class extends _0x1cba86{constructor(){super(...arguments),this['be']=new Image(),this['pe']=new Image();}['Dn'](t){return!t['includes']('//')&&!_0x3d228b&&(t=new URL(t,document['baseURI'])['href']),t;}['er'](t){if(!t)return;let _0x38d5e7=t,_0x2e9f6b=_0x38d5e7['match'](/\d+/)?.[0x0],_0x1133f8=_0x38d5e7['match'](/[a-zA-Z]+/)?.[0x0];if(!_0x2e9f6b||!_0x1133f8)return;let _0x19f41b=parseInt(_0x2e9f6b,0xa);return Number(_0x19f41b)>0x1388&&this['Fn']?0x1388+_0x1133f8:Number(_0x19f41b)>0xbb8&&!this['Fn']?0xbb8+_0x1133f8:t;}['bu'](t,_0xca5b37){return _0x525a54(...(_0x3c263d=>Object['entries'](_0x3c263d)['filter'](([_0x3a5830,t])=>void 0x0!==t&&''!==t)['map'](([_0x870288,t])=>'cdn-operations'===_0x870288||'analytics'===_0x870288?t:_0x870288+'/'+t))({'format':this['To']('format'),'quality':this['To']('quality'),'resize':this['er'](t),'blur':_0xca5b37,'cdn-operations':this['To']('cdn-operations')??void 0x0,'analytics':this['analyticsParams']()}));}['To'](t){let _0x12887b=this['$$'](t);if(null==_0x12887b||'string'==typeof _0x12887b||'number'==typeof _0x12887b||'boolean'==typeof _0x12887b)return _0x12887b;}['re'](t='',_0x272b20=''){let _0xd10101=this['$$']('src');if(_0xd10101['startsWith']('data:')||_0xd10101['startsWith']('blob:'))return _0xd10101;if(_0x3d228b&&_0xd10101&&!_0xd10101['includes']('//'))return this['oi'](_0xd10101);let _0x2b0322=this['bu'](t,_0x272b20),_0x56bd03=this['$$']('cdn-cname'),_0x5817f0=_0x56bd03;if(_0xd10101['startsWith'](String(_0x56bd03)))return _0x32f032(_0xd10101,_0x2b0322);let _0x3c21a7=this['$$']('uuid');if(_0x5817f0&&_0x3c21a7)return this['oi'](_0x32f032(_0x1ee295(_0x5817f0,_0x3c21a7),_0x2b0322));if(_0x3c21a7)return this['oi'](_0x32f032(_0x1ee295(_0x5817f0,_0x3c21a7),_0x2b0322));let _0x1c0c9d=this['$$']('proxy-cname');if(_0x1c0c9d)return this['oi'](_0x32f032(_0x1c0c9d,_0x2b0322,this['Dn'](_0xd10101)));let _0x2420c3=this['$$']('pubkey');return _0x2420c3?this['oi'](_0x32f032('https://'+_0x2420c3+'.ucr.io/',_0x2b0322,this['Dn'](_0xd10101))):void 0x0;}['oi'](t){let _0x4356a1=this['$$']('secure-delivery-proxy');return _0x4356a1?_0x205100(_0x4356a1,{'previewUrl':t},{'transform':_0x4913d5=>window['encodeURIComponent'](_0x4913d5)}):t;}['It'](t,_0x16c913=0x1,_0x586463=!0x0){let _0x57a0b5=t['getBoundingClientRect'](),_0x1e91e1=_0x16c913*Math['round'](_0x57a0b5['width']),_0x7b8ce5=_0x586463?'':_0x16c913*Math['round'](_0x57a0b5['height']);return _0x1e91e1||_0x7b8ce5?(_0x1e91e1||'')+'x'+(_0x7b8ce5||''):null;}['wu'](t){let _0xb06f54=_0x218298=>{_0x218298['stopPropagation']();let _0x5893b8=new Event(_0x218298['type'],_0x218298);this['dispatchEvent'](_0x5893b8);};for(let _0x163103 of['load','error'])t['addEventListener'](_0x163103,_0xb06f54);}get['img'](){return this['we']||(this['Eo']({'elNode':this['be']}),this['appendChild'](this['be'])),this['be'];}get['tr'](){return this['we']?{'type':_0x27a670['PREVIEW'],'img':this['pe']}:{'type':_0x27a670['MAIN'],'img':this['img']};}get['we'](){return this['$$']('is-preview-blur');}get['Nn'](){return this['$$']('is-background-for');}get['Vn'](){let t=this['$$']('breakpoints');return t?(_0x598040=>[...new Set(_0x598040)])(_0x430ffa(t)['map'](_0x585695=>parseInt(_0x585695,0xa))):null;}get['Fn'](){return'jpeg'===this['$$']('format')['toLowerCase']();}['_n'](t){let _0x474a48=new Set();_0x474a48['add']('url(\x22'+this['re'](this['It'](t))+'\x22)\x201x'),this['$$']('hi-res-support')&&_0x474a48['add']('url(\x22'+this['re'](this['It'](t,0x2))+'\x22)\x202x'),this['$$']('ultra-res-support')&&_0x474a48['add']('url(\x22'+this['re'](this['It'](t,0x3))+'\x22)\x203x');let _0x4e988a='image-set('+[..._0x474a48]['join'](',\x20')+')';t['style']['setProperty']('background-image',_0x4e988a),t['style']['setProperty']('background-image','-webkit-'+_0x4e988a);}['Bn'](){let t=new Set();return this['Vn']?this['Vn']['forEach'](_0x33f5ed=>{t['add'](this['re'](_0x33f5ed+'x')+'\x20'+this['er'](_0x33f5ed+'w')),this['$$']('hi-res-support')&&t['add'](this['re'](0x2*_0x33f5ed+'x')+'\x20'+this['er'](0x2*_0x33f5ed+'w')),this['$$']('ultra-res-support')&&t['add'](this['re'](0x3*_0x33f5ed+'x')+'\x20'+this['er'](0x3*_0x33f5ed+'w'));}):(t['add'](this['re'](this['It'](this['tr']['img']))+'\x201x'),this['$$']('hi-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x2))+'\x202x'),this['$$']('ultra-res-support')&&t['add'](this['re'](this['It'](this['tr']['img'],0x3))+'\x203x')),[...t]['join']();}['zn'](){return this['re']();}get['Hn'](){return this['re']('100x','100');}['Tu'](){let t=this['Nn'];[...document['querySelectorAll'](t)]['forEach'](_0x8e9abd=>{this['$$']('intersection')?this['initIntersection'](_0x8e9abd,()=>{this['_n'](_0x8e9abd);}):this['_n'](_0x8e9abd);});}['Eu']({elNode:t,src:_0x167b2f,srcset:_0x3ca029}){_0x167b2f&&(t['src']=_0x167b2f),_0x3ca029&&(t['srcset']=_0x3ca029);}['Eo']({elNode:t}){this['wu'](t),this['initAttributes'](t);}['xo']({src:t,srcset:_0x1bd690,elNode:_0x19b9eb}){return new Promise((_0x35fba5,_0x16df44)=>{this['Eo']({'elNode':_0x19b9eb}),_0x19b9eb['setAttribute'](_0x1b9a48,''),_0x19b9eb['addEventListener']('load',()=>{_0x19b9eb['removeAttribute'](_0x1b9a48),_0x35fba5(_0x19b9eb);}),_0x19b9eb['addEventListener']('error',()=>{_0x16df44(!0x1);}),this['Eu']({'elNode':_0x19b9eb,'src':t,'srcset':_0x1bd690});});}async['xu'](){if(this['$$']('intersection'))return this['we']&&(this['Eo']({'elNode':this['pe']}),this['appendChild'](this['pe'])),void this['initIntersection'](this['tr']['img'],async()=>{this['we']&&(this['pe']['src']=this['Hn']);try{await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}});try{this['we']&&(await this['xo']({'src':this['Hn'],'elNode':this['pe']}),this['appendChild'](this['pe'])),await this['xo']({'src':this['zn'](),'srcset':this['Bn'](),'elNode':this['be']}),this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}catch{this['we']&&await this['pe']?.['remove'](),this['appendChild'](this['be']);}}['init'](){this['Nn']?this['Tu']():this['xu']();}},_0x3453e1=class extends _0x40bd86{['connectedCallback'](){super['connectedCallback'](),this['sub$$']('src',()=>{this['init']();}),this['sub$$']('uuid',()=>{this['init']();}),this['sub$$']('lazy',_0xb3cb02=>{!this['$$']('is-background-for')&&!this['$$']('is-preview-blur')&&(this['img']['loading']=_0xb3cb02?'lazy':'eager');});}},{I:_0x393e94}=_0x20dc63,_0x3fa815=_0x590e4a=>_0x590e4a,_0x486ba2=()=>document['createComment'](''),_0x131252=(_0x190f57,_0xea2fb5,t)=>{let _0x46bd0f=_0x190f57['ve']['parentNode'],_0x4b3ecd=void 0x0===_0xea2fb5?_0x190f57['yt']:_0xea2fb5['ve'];if(void 0x0===t)t=new _0x393e94(_0x46bd0f['insertBefore'](_0x486ba2(),_0x4b3ecd),_0x46bd0f['insertBefore'](_0x486ba2(),_0x4b3ecd),_0x190f57,_0x190f57['options']);else{let _0x11782e=t['yt']['nextSibling'],_0x3b55ab=t['f'],_0x275195=_0x3b55ab!==_0x190f57;if(_0x275195){let _0x554abf;t['Cu']?.(_0x190f57),t['f']=_0x190f57,void 0x0!==t['Ui']&&(_0x554abf=_0x190f57['W'])!==_0x3b55ab['W']&&t['Ui'](_0x554abf);}if(_0x11782e!==_0x4b3ecd||_0x275195){let _0x1b0bc7=t['ve'];for(;_0x1b0bc7!==_0x11782e;){let _0x222e65=_0x3fa815(_0x1b0bc7)['nextSibling'];_0x3fa815(_0x46bd0f)['insertBefore'](_0x1b0bc7,_0x4b3ecd),_0x1b0bc7=_0x222e65;}}}return t;},_0x2314b5=(_0x2ca555,_0x5dbd02,t=_0x2ca555)=>(_0x2ca555['ce'](_0x5dbd02,t),_0x2ca555),_0x17e210={},_0x57a799=_0x447c4c=>{_0x447c4c['bt'](),_0x447c4c['ve']['remove']();},_0x33767f=(_0x5d6794,_0x4a562c)=>{let t=_0x5d6794['le'];if(void 0x0===t)return!0x1;for(let _0x244061 of t)_0x244061['qs']?.(_0x4a562c,!0x1),_0x33767f(_0x244061,_0x4a562c);return!0x0;},_0x507cc1=_0x1ff0b7=>{let _0x50ba73,t;do{if(void 0x0===(_0x50ba73=_0x1ff0b7['f']))break;t=_0x50ba73['le'],t['delete'](_0x1ff0b7),_0x1ff0b7=_0x50ba73;}while(0x0===t?.['size']);},_0x57ffe6=_0x2c5bfc=>{for(let _0x18f32b;_0x18f32b=_0x2c5bfc['f'];_0x2c5bfc=_0x18f32b){let t=_0x18f32b['le'];if(void 0x0===t)_0x18f32b['le']=t=new Set();else{if(t['has'](_0x2c5bfc))break;}t['add'](_0x2c5bfc),_0x500f91(_0x18f32b);}};function _0x3fbe0b(_0x574317){void 0x0!==this['le']?(_0x507cc1(this),this['f']=_0x574317,_0x57ffe6(this)):this['f']=_0x574317;}function _0x385d3d(_0x3113f4,_0x7a1cfd=!0x1,t=0x0){let _0x5c4209=this['r'],_0x108381=this['le'];if(void 0x0!==_0x108381&&0x0!==_0x108381['size']){if(_0x7a1cfd){if(Array['isArray'](_0x5c4209)){for(let _0x177764=t;_0x177764<_0x5c4209['length'];_0x177764++)_0x33767f(_0x5c4209[_0x177764],!0x1),_0x507cc1(_0x5c4209[_0x177764]);}else null!=_0x5c4209&&(_0x33767f(_0x5c4209,!0x1),_0x507cc1(_0x5c4209));}else _0x33767f(this,_0x3113f4);}}var _0x500f91=_0x5c893a=>{_0x5c893a['type']==_0x35a55d&&(_0x5c893a['Ui']??=_0x385d3d,_0x5c893a['Cu']??=_0x3fbe0b);},_0xde25c4=class extends _0x3698be{constructor(){super(...arguments),this['le']=void 0x0;}['Wr'](_0x346d9e,t,_0x40e4a0){super['Wr'](_0x346d9e,t,_0x40e4a0),_0x57ffe6(this),this['isConnected']=_0x346d9e['W'];}['qs'](_0x26bcca,t=!0x0){_0x26bcca!==this['isConnected']&&(this['isConnected']=_0x26bcca,_0x26bcca?this['reconnected']?.():this['disconnected']?.()),t&&(_0x33767f(this,_0x26bcca),_0x507cc1(this));}['setValue'](_0x3c13f2){if((_0x1bc047=>void 0x0===_0x1bc047['strings'])(this['Wi']))this['Wi']['ce'](_0x3c13f2,this);else{let t=[...this['Wi']['r']];t[this['iu']]=_0x3c13f2,this['Wi']['ce'](t,this,0x0);}}['disconnected'](){}['reconnected'](){}},_0x36cc29=()=>new _0xcf7800(),_0xcf7800=class{},_0x10d209=new WeakMap(),_0x2b12df=_0x7f66ea(class extends _0xde25c4{['render'](_0x1e4431){return _0xbeb5f3;}['update'](_0x189950,[_0x1380f]){let t=_0x1380f!==this['G'];return t&&void 0x0!==this['G']&&this['rt'](void 0x0),(t||this['lt']!==this['ct'])&&(this['G']=_0x1380f,this['ht']=_0x189950['options']?.['host'],this['rt'](this['ct']=_0x189950['element'])),_0xbeb5f3;}['rt'](_0x32647a){if(this['isConnected']||(_0x32647a=void 0x0),'function'==typeof this['G']){let _0x503dd7=this['ht']??globalThis,t=_0x10d209['get'](_0x503dd7);void 0x0===t&&(t=new WeakMap(),_0x10d209['set'](_0x503dd7,t)),void 0x0!==t['get'](this['G'])&&this['G']['call'](this['ht'],void 0x0),t['set'](this['G'],_0x32647a),void 0x0!==_0x32647a&&this['G']['call'](this['ht'],_0x32647a);}else this['G']['value']=_0x32647a;}get['lt'](){return'function'==typeof this['G']?_0x10d209['get'](this['ht']??globalThis)?.['get'](this['G']):this['G']?.['value'];}['disconnected'](){this['lt']===this['ct']&&this['rt'](void 0x0);}['reconnected'](){this['rt'](this['ct']);}}),_0x12d267=null,_0x2b62dc=class extends _0x654125{constructor(){super(...arguments),this['dialogEl']=_0x36cc29(),this['strokes']=!0x1,this['blockBodyScrolling']=!0x1,this['closeDialog']=()=>{this['modalManager']?.['close'](this['id']),this['modalManager']?.['hasActiveModals']||(document['body']['style']['overflow']='',this['$']['*currentActivity']=null);},this['Su']=()=>{this['closeDialog']();},this['Au']=t=>{this['Co']=t['target'];},this['ku']=t=>{let _0x2a15d4=t['target'];_0x2a15d4===this['dialogEl']['value']&&_0x2a15d4===this['Co']&&this['closeDialog']();},this['si']=({id:t})=>{t===this['id']?(_0x12d267=t,this['show'](),this['emit'](_0x4b13c3['MODAL_OPEN'],{'modalId':t},{'debounce':!0x0})):this['hide']();},this['ni']=({id:t})=>{t===this['id']&&(this['hide'](),this['emit'](_0x4b13c3['MODAL_CLOSE'],{'modalId':t,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0}));},this['Kn']=t=>{this['hide'](),_0x12d267===this['id']&&this['emit'](_0x4b13c3['MODAL_CLOSE'],{'modalId':_0x12d267,'hasActiveModals':this['modalManager']?.['hasActiveModals']},{'debounce':!0x0});};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-modal'];}async['show'](){await this['updateComplete'];let t=this['dialogEl']['value'];'function'==typeof t['showModal']?(this['setAttribute']('aria-modal','true'),t['showModal']()):t['setAttribute']('open',''),this['cfg']['modalScrollLock']&&(document['body']['style']['overflow']='hidden');}['hide'](){let t=this['dialogEl']['value'];t&&('function'==typeof t['close']?(this['setAttribute']('aria-modal','false'),t['close']()):t['removeAttribute']('open'));}['initCallback'](){super['initCallback'](),this['modalManager']?.['registerModal'](this['id'],this),this['subConfigValue']('modalBackdropStrokes',t=>{t?this['setAttribute']('strokes',''):this['removeAttribute']('strokes');}),this['modalManager']?.['subscribe'](_0x2d41b7['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0x2d41b7['CLOSE'],this['ni']),this['modalManager']?.['subscribe'](_0x2d41b7['CLOSE_ALL'],this['Kn']);}['disconnectedCallback'](){super['disconnectedCallback'](),document['body']['style']['overflow']='',this['Co']=void 0x0,this['modalManager']?.['unsubscribe'](_0x2d41b7['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0x2d41b7['CLOSE'],this['ni']),this['modalManager']?.['unsubscribe'](_0x2d41b7['CLOSE_ALL'],this['Kn']);}['Mu'](t){this['dialogEl']={'value':t},this['dialogEl']['value']?.['addEventListener']('close',this['Su']),this['dialogEl']['value']?.['addEventListener']('mousedown',this['Au']),this['dialogEl']['value']?.['addEventListener']('mouseup',this['ku']);}['render'](){return _0x19f5e4`<dialog ${_0x2b12df(this['Mu'])}>${this['yield']('')}</dialog>`;}};_0x507457([_0x4331b3({'type':Boolean,'noAccessor':!0x0})],_0x2b62dc['prototype'],'strokes',0x2),_0x507457([_0x4331b3({'type':Boolean,'attribute':'block-body-scrolling','noAccessor':!0x0})],_0x2b62dc['prototype'],'blockBodyScrolling',0x2);var _0x43d867=class extends _0x21c1d2{constructor(){super(...arguments),this['z']=null,this['ir']=null;}get['jn'](){return this['nameAttrValue']??this['ctxName'];}['Gn'](){let t=document['createElement']('input');return t['type']='text',t['name']=this['jn'],t['required']=this['cfg']['multipleMin']>0x0,t['tabIndex']=-0x1,_0xf5e153(t,{'opacity':0x0,'height':0x0,'width':0x0}),t;}['initCallback'](){super['initCallback'](),this['z']=this['Gn'](),this['appendChild'](this['z']),this['sub']('*collectionState',t=>{if(!t)return;if(!this['ir']){let _0x475e51=document['createElement']('div');this['appendChild'](_0x475e51),this['ir']=_0x475e51;}if(!this['z']){let _0x48db18=this['Gn']();this['appendChild'](_0x48db18),this['z']=_0x48db18;}if(this['ir']['innerHTML']='','uploading'===t['status']||'idle'===t['status'])return this['z']['value']='',void this['z']['setCustomValidity']('');if('failed'===t['status']){let _0x2d1f21=t['errors'][0x0]?.['message'];return this['z']['value']='',void this['z']['setCustomValidity'](_0x2d1f21??'');}let _0x510477=t['group']?t['group']:null;if(_0x510477)return this['z']['value']=_0x510477['cdnUrl']??'',void this['z']['setCustomValidity']('');let _0x5bb446=t['allEntries']['map'](_0x86e85f=>_0x86e85f['cdnUrl'])['filter'](_0xe94ec6=>'string'==typeof _0xe94ec6);if(!this['cfg']['multiple']&&0x1===_0x5bb446['length']&&_0x5bb446[0x0])return this['z']['value']=_0x5bb446[0x0],void this['z']['setCustomValidity']('');this['z']['remove'](),this['z']=null;let _0x4634f8=new DocumentFragment();for(let _0x2f2c84 of _0x5bb446){let _0x2cdf9a=document['createElement']('input');_0x2cdf9a['type']='hidden',_0x2cdf9a['name']=this['jn']+'[]',_0x2cdf9a['value']=_0x2f2c84,_0x4634f8['appendChild'](_0x2cdf9a);}this['ir']['replaceChildren'](_0x4634f8);},!0x1);}};_0x507457([_0x4331b3({'type':String,'noAccessor':!0x0,'attribute':'name'})],_0x43d867['prototype'],'nameAttrValue',0x2);var _0x4ad36f=class extends _0x654125{['initCallback'](){super['initCallback'](),this['subConfigValue']('removeCopyright',_0x64cc3b=>{this['toggleAttribute']('hidden',!!_0x64cc3b);});}['render'](){return _0x19f5e4`<a href="https://uploadcare.com/?utm_source=copyright&amp;utm_medium=referral&amp;utm_campaign=v4" target="_blank noopener" class="uc-credits" >Powered by Uploadcare</a >`;}},_0x20054d=class extends _0x654125{constructor(){super(...arguments),this['hasFileName']=!0x1,this['value']=0x0,this['visible']=!0x0,this['oe']=0x0,this['rr']=_0x36cc29(),this['qn']=()=>{let t=this['rr']['value'];if(t){if(!this['visible'])return void t['classList']['add']('uc-fake-progress--hidden');this['oe']>0x0&&t['classList']['add']('uc-fake-progress--hidden');}};}['firstUpdated'](t){super['firstUpdated'](t),this['oe']=this['So'](this['value']),this['Ao'](),this['rr']['value']?.['addEventListener']('animationiteration',this['qn']);}['updated'](t){if(super['updated'](t),t['has']('value')){let _0x94818d=this['So'](this['value']);if(this['visible']){let _0x57d4b1=Math['max'](this['oe'],_0x94818d);_0x57d4b1!==this['oe']&&(this['oe']=_0x57d4b1,this['Ao']());}else this['oe']=_0x94818d;}t['has']('visible')&&(this['classList']['toggle']('uc-progress-bar--hidden',!this['visible']),this['visible']?this['Ao']():this['oe']=this['So'](this['value']));}['disconnectedCallback'](){super['disconnectedCallback'](),this['rr']['value']?.['removeEventListener']('animationiteration',this['qn']);}['So'](t){return Number['isFinite'](t)?Math['min'](0x64,Math['max'](0x0,t)):0x0;}['Ao'](){this['visible']&&this['style']['setProperty']('--l-progress-value',this['oe']['toString']());}['render'](){return _0x19f5e4`<div ${_0x2b12df(this['rr'])} class="uc-fake-progress"></div><div class="uc-progress"></div>`;}};_0x507457([_0x4331b3({'type':Boolean,'noAccessor':!0x0})],_0x20054d['prototype'],'hasFileName',0x2),_0x507457([_0x4331b3({'type':Number})],_0x20054d['prototype'],'value',0x2),_0x507457([_0x4331b3({'type':Boolean,'reflect':!0x0})],_0x20054d['prototype'],'visible',0x2);var _0xd6bd6=class extends _0x21c1d2{constructor(){super(),this['he']=!0x1,this['Pt']=0x0,this['init$']={...this['init$'],'*commonProgress':0x0};}['initCallback'](){super['initCallback'](),this['ko']=this['uploadCollection']['observeProperties'](()=>{let t=this['uploadCollection']['items']()['some'](_0x9954d0=>this['uploadCollection']['read'](_0x9954d0)?.['getValue']('isUploading')??!0x1);this['he']=t;}),this['sub']('*commonProgress',t=>{this['Pt']=t;});}['updated'](t){super['updated'](t),t['has']('visible')&&(this['he']?this['setAttribute']('active',''):this['removeAttribute']('active'));}['disconnectedCallback'](){super['disconnectedCallback'](),this['ko']?.(),this['ko']=void 0x0;}['render'](){return _0x19f5e4`<uc-progress-bar .value=${this['Pt']} .visible=${this['he']}></uc-progress-bar>`;}};_0x507457([_0x511660()],_0xd6bd6['prototype'],'he',0x2),_0x507457([_0x511660()],_0xd6bd6['prototype'],'Pt',0x2);var _0x5355f2=class extends _0x654125{constructor(){super(...arguments),this['value']='',this['disabled']=!0x1,this['options']=[],this['Ou']=t=>{if(this['disabled'])return t['preventDefault'](),void t['stopPropagation']();t['preventDefault'](),t['stopPropagation']();let _0x370c13=t['currentTarget'];_0x370c13&&(this['value']=_0x370c13['value'],this['dispatchEvent'](new Event('change')));};}['render'](){return _0x19f5e4`<select @change=${this['Ou']} .value=${this['value']} ?disabled=${this['disabled']}>${this['options']['map'](t=>_0x19f5e4`<option value=${t['value']}>${t['text']}</option>`)}</select>`;}};_0x507457([_0x4331b3({'type':String,'attribute':!0x1})],_0x5355f2['prototype'],'value',0x2),_0x507457([_0x4331b3({'type':Boolean,'reflect':!0x0})],_0x5355f2['prototype'],'disabled',0x2),_0x507457([_0x4331b3({'type':Array,'attribute':!0x1})],_0x5355f2['prototype'],'options',0x2);var _0x317f9f=class extends _0x21c1d2{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Mo']='default',this['Oo']='';}['willUpdate'](t){super['willUpdate'](t),t['has']('source')&&this['Iu'](this['source']);}['Iu'](t){if(!t)return this['Oo']='',void(this['Mo']='default');let {label:_0x4c6ba1,icon:_0xb303b2,id:_0x1dd73a}=t;this['Oo']=_0x4c6ba1,this['Mo']=_0xb303b2??_0x1dd73a??'default';}['activate'](){this['source']&&this['source']['onClick']();}['render'](){return _0x19f5e4`<button type="button" @click=${this['activate']}><uc-icon name=${this['Mo']}></uc-icon><div class="uc-txt">${this['l10n'](this['Oo'])}</div></button>`;}};_0x507457([_0x4331b3({'attribute':!0x1})],_0x317f9f['prototype'],'source',0x2),_0x507457([_0x511660()],_0x317f9f['prototype'],'Mo',0x2),_0x507457([_0x511660()],_0x317f9f['prototype'],'Oo',0x2);var _0x460cb0=class extends _0x21c1d2{constructor(){super(...arguments),this['Wn']=[],this['Me']=[],this['wrap']=!0x1;}['initCallback'](){super['initCallback'](),this['subConfigValue']('sourceList',_0x349650=>{this['Wn']=_0x430ffa(_0x349650),this['Zn']();});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Zn']()));}['updated'](t){super['updated'](t),this['cfg']['sourceListWrap']?this['style']['removeProperty']('display'):this['style']['display']='contents';}['Zn'](){let _0x250075=this['i']['pluginManager']?.['snapshot']()['sources']??[],_0x4338bc=new Map(_0x250075['map'](_0x435530=>[_0x435530['id'],_0x435530])),_0x419a11=[];this['Wn']['forEach'](_0x55cad9=>{let _0x55db44=this['Pu'](_0x55cad9,_0x4338bc);if(0x1!==_0x55db44['length']||_0x55db44[0x0]!==_0x55cad9){for(let _0x22767e of _0x55db44){let _0x256ef5=_0x4338bc['get'](_0x22767e);_0x256ef5&&_0x419a11['push'](this['Yn'](_0x256ef5));}return;}let _0x1d92ab=_0x4338bc['get'](_0x55cad9);_0x1d92ab&&_0x419a11['push'](this['Yn'](_0x1d92ab));}),this['Me']=_0x419a11;}['Pu'](t,_0x27b296){let _0xae5bbb=_0x27b296['get'](t);return _0xae5bbb?.['expand']?_0xae5bbb['expand']():[t];}['Yn'](t){return{'id':t['id'],'label':t['label'],'icon':t['icon'],'onClick':()=>t['onSelect']()};}['render'](){return _0x19f5e4`${this['Me']['map'](t=>_0x19f5e4`<uc-source-btn role="listitem" .source=${t} data-source-id=${t['id']}></uc-source-btn>`)}`;}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}};_0x507457([_0x511660()],_0x460cb0['prototype'],'Me',0x2),_0x507457([_0x4331b3({'type':Boolean,'attribute':'wrap','noAccessor':!0x0})],_0x460cb0['prototype'],'wrap',0x2);var _0x2b26d6=class extends _0x654125{['render'](){return _0x19f5e4`<div class="uc-spinner"></div>`;}},_0x195d3b='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=';function _0x195ff8(_0x2d81f7){let _0x5e3573=new Image();return{'promise':new Promise((_0x348c0a,_0x54cba2)=>{_0x5e3573['src']=_0x2d81f7,_0x5e3573['onload']=()=>_0x348c0a(),_0x5e3573['onerror']=_0xee34e6=>_0x54cba2(_0xee34e6);}),'image':_0x5e3573,'cancel':()=>{0x0===_0x5e3573['naturalWidth']&&(_0x5e3573['src']=_0x195d3b);}};}function _0xd97e15(_0x562432){let _0x5be28e=[];for(let _0x1ea95a of _0x562432){let _0x14bbe0=_0x195ff8(_0x1ea95a);_0x5be28e['push'](_0x14bbe0);}let t=_0x5be28e['map'](_0x408eab=>_0x408eab['image']);return{'promise':Promise['allSettled'](_0x5be28e['map'](_0x4bf3ea=>_0x4bf3ea['promise'])),'images':t,'cancel':()=>{_0x5be28e['forEach'](_0x5887a6=>{_0x5887a6['cancel']();});}};}function _0x3b1056(_0x340cf3,_0x294288=0x28){if('image/svg+xml'===_0x340cf3['type'])return URL['createObjectURL'](_0x340cf3);let t=document['createElement']('canvas'),_0x328a1a=t['getContext']('2d');if(!_0x328a1a)return Promise['reject'](new Error('Canvas\x20context\x20not\x20supported'));let _0x1ba547=new Image(),_0x256766=new Promise((_0x4ff139,_0x35c6b5)=>{_0x1ba547['onload']=()=>{let _0x45fde5=_0x1ba547['height']/_0x1ba547['width'];_0x45fde5>0x1?(t['width']=_0x294288,t['height']=_0x294288*_0x45fde5):(t['height']=_0x294288,t['width']=_0x294288/_0x45fde5),_0x328a1a['fillStyle']='rgb(240,\x20240,\x20240)',_0x328a1a['fillRect'](0x0,0x0,t['width'],t['height']),_0x328a1a['drawImage'](_0x1ba547,0x0,0x0,t['width'],t['height']),t['toBlob'](_0x2f5cbc=>{_0x2f5cbc?_0x4ff139(URL['createObjectURL'](_0x2f5cbc)):_0x35c6b5();});},_0x1ba547['onerror']=_0x4c8c17=>{_0x35c6b5(_0x4c8c17);};});return _0x1ba547['src']=URL['createObjectURL'](_0x340cf3),_0x256766;}var _0x51f82e=class extends _0x21c1d2{constructor(){super(...arguments),this['or']=new Set(),this['entry']=null;}['withEntry'](t){return(..._0x42aa79)=>{let _0xac2296=this['entry'];if(_0xac2296)return t(_0xac2296,..._0x42aa79);console['warn']('No\x20entry\x20found');};}['subEntry'](t,_0x2eeb88){this['withEntry']((_0x9d2240,_0x4a3db6,_0x535b3c)=>{let _0x2d9bda=_0x9d2240['subscribe'](_0x4a3db6,_0x2be342=>{this['isConnected']&&_0x535b3c(_0x2be342);});this['or']['add'](_0x2d9bda);})(t,_0x2eeb88);}['reset'](){for(let t of this['or'])t();this['or']=new Set(),this['entry']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['or']=new Set();}};function _0x5392ce(_0x30c11a='hsl(209,\x2021%,\x2065%)',_0x17840d=0x20,t=0x20){return function(_0x5188bc){let _0x274eb1=new Blob([_0x5188bc],{'type':'image/svg+xml'});return URL['createObjectURL'](_0x274eb1);}('<svg\x20width=\x22'+_0x17840d+'\x22\x20height=\x22'+t+'\x22\x20viewBox=\x220\x200\x2030\x2030\x22\x20fill=\x22none\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20fill-rule=\x22evenodd\x22\x20fill=\x22'+_0x30c11a+'\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/></svg>');}var _0x44f163=class extends _0x51f82e{constructor(){super(...arguments),this['badgeIcon']='',this['uid']='',this['Le']='',this['Xn']=!0x1,this['sr']=null,this['Qn']=!0x1,this['Lu']=this['cfg']['filesViewMode'],this['Jn']=this['withEntry'](async(t,_0x4b09e6=!0x1)=>{let _0x27e1d3=t['getValue']('fileInfo'),_0x2edd51=t['getValue']('isImage'),_0x1f2571=t['getValue']('uuid'),_0x1471ea=t['getValue']('thumbUrl'),_0x5be1d9=this['Ru'](_0x4b09e6);if(_0x27e1d3&&_0x2edd51&&_0x1f2571){let _0x347938=await this['proxyUrl'](_0x32f032(_0x1ee295(this['cfg']['cdnCname'],_0x1f2571),_0x525a54(t['getValue']('cdnUrlModifiers'),'stretch/off','scale_crop/'+_0x5be1d9+'x'+_0x5be1d9+'/center')));if(_0x1471ea===_0x347938)return;let {promise:_0x4c0f76}=_0x195ff8(_0x347938);return void _0x4c0f76['then'](()=>{t['setValue']('thumbUrl',_0x347938),_0x1471ea?.['startsWith']('blob:')&&URL['revokeObjectURL'](_0x1471ea);})['catch'](async()=>{if(!_0x1471ea?.['startsWith']('blob:'))try{let _0x543a26=t['getValue']('file');if(!_0x543a26)return;let _0x464161=await _0x3b1056(_0x543a26,_0x5be1d9);t['setValue']('thumbUrl',_0x464161);}catch(_0x49319a){this['telemetryManager']['sendEventError'](_0x49319a,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x3c0688=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x5392ce(_0x3c0688));}});}if(t['getValue']('thumbUrl'))return;let _0xe9f8bb=t['getValue']('file');if(_0xe9f8bb?.['type']['includes']('image'))try{let _0x255795=await _0x3b1056(_0xe9f8bb,_0x5be1d9);t['setValue']('thumbUrl',_0x255795);}catch(_0x261f98){this['telemetryManager']['sendEventError'](_0x261f98,'thumbnail\x20generation.\x20Failed\x20to\x20generate\x20thumb\x20from\x20file');let _0x25fef1=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x5392ce(_0x25fef1));}else{let _0x285c90=window['getComputedStyle'](this)['getPropertyValue']('--uc-muted-foreground');t['setValue']('thumbUrl',_0x5392ce(_0x285c90));}}),this['nr']=_0x5184f3(this['Jn']['bind'](this),0x64);}['Ru'](t=!0x1){t&&(this['sr']=this['getBoundingClientRect']());let _0x114dc5=Math['max'](parseInt(String(this?.['sr']?.['height']||0x0),0xa),parseInt(String(this?.['sr']?.['width']||0x0),0xa),this['cfg']['thumbSize']);return window['devicePixelRatio']>0x1&&(_0x114dc5*=window['devicePixelRatio']),Math['min'](_0x114dc5,0xbb8);}['Uu'](t,_0x404863){return new Promise((_0x56d5d7,_0x5a2c18)=>{let _0x39eee6=new Image();_0x39eee6['decoding']='async';let _0x2751dc=()=>{_0x39eee6&&(_0x39eee6['onload']=null,_0x39eee6['onerror']=null,_0x39eee6['src']=_0x195d3b,_0x404863?.['removeEventListener']('abort',_0x2b4310),_0x39eee6=null);},_0x2b4310=()=>{_0x2751dc(),_0x5a2c18(new DOMException('Aborted','AbortError'));};if(_0x404863){if(_0x404863['aborted'])return void _0x2b4310();_0x404863['addEventListener']('abort',_0x2b4310,{'once':!0x0});}let _0x2de595=()=>{_0x2751dc(),_0x56d5d7();},_0x4f3830=_0x35c5b9=>{_0x2751dc(),_0x5a2c18(_0x35c5b9);};if('function'==typeof _0x39eee6['decode'])return _0x39eee6['src']=t,void _0x39eee6['decode']()['then'](_0x2de595)['catch'](_0x4f3830);_0x39eee6['onload']=_0x2de595,_0x39eee6['onerror']=_0x4f3830,_0x39eee6['src']=t;});}['Po'](){this['Io']?.['cancel'](),this['Io']=void 0x0;}['$u'](t){if(this['Po'](),!t)return void(this['Le']&&(this['Le']=''));if(t===this['Le'])return;let _0x4e708a=new AbortController(),_0x3e66e3={'controller':_0x4e708a,'cancel':()=>{_0x4e708a['abort'](),void 0x0!==_0x3e66e3['rafId']&&window['cancelAnimationFrame'](_0x3e66e3['rafId']);}};this['Io']=_0x3e66e3,this['Uu'](t,_0x4e708a['signal'])['then'](()=>{_0x4e708a['signal']['aborted']||(_0x3e66e3['rafId']=window['requestAnimationFrame'](()=>{_0x4e708a['signal']['aborted']||(this['Le']=t);}));})['catch'](_0x34183f=>{_0x4e708a['signal']['aborted']||_0x34183f instanceof DOMException&&'AbortError'===_0x34183f['name']||console['warn']('[Thumb]\x20Failed\x20to\x20decode\x20thumbnail\x20image',_0x34183f);});}['ar'](t=!0x1){if(this['entry']){if(t)return void this['Jn'](!0x0);this['Qn']&&this['nr']();}}['firstUpdated'](t){super['firstUpdated'](t),this['ea']();}['updated'](t){super['updated'](t),t['has']('uid')&&this['ea']();}['ai'](t){let [_0x3154b0]=t;_0x3154b0&&(this['Qn']=_0x3154b0['isIntersecting'],_0x3154b0['isIntersecting']&&(this['sr']=_0x3154b0['boundingClientRect'],this['ar'](),this['s']?.['disconnect']()),0x0===_0x3154b0['intersectionRatio']&&this['nr']['cancel']());}['reset'](){super['reset'](),this['nr']['cancel'](),this['Po'](),this['Le']&&(this['Le']='');}['ea'](){let t=this['uid']?.['trim']();if(!t)return void(this['entry']&&this['reset']());let _0x1274cc=this['uploadCollection']?.['read'](t);if(!_0x1274cc||_0x1274cc===this['entry'])return;this['reset'](),this['entry']=_0x1274cc;let _0x2e5010=()=>{this['ar']();};this['subEntry']('fileInfo',_0x5cdf04=>{_0x5cdf04?.['isImage']&&_0x2e5010();}),this['subEntry']('thumbUrl',_0x1e95b0=>{this['$u'](_0x1e95b0??void 0x0);}),this['subEntry']('cdnUrlModifiers',_0x2e5010),this['ar'](!0x0);}['initCallback'](){super['initCallback'](),this['subConfigValue']('filesViewMode',t=>{'grid'===t&&!this['Xn']&&('list'===this['Lu']&&this['ar'](!0x0),this['Xn']=!0x0);});}['connectedCallback'](){super['connectedCallback'](),this['s']?.['disconnect'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':0.1}),this['s']['observe'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['nr']['cancel'](),this['Po'](),this['s']?.['disconnect']();}['render'](){return _0x19f5e4`<div class="uc-thumb"><img class="uc-thumb__img" src=${this['Le']||_0x195d3b} role="img" alt="Preview of uploaded image" ?hidden=${!this['Le']} draggable="false" /><div class="uc-badge"><uc-icon name=${this['badgeIcon']}></uc-icon></div></div>`;}};_0x507457([_0x4331b3({'type':String})],_0x44f163['prototype'],'badgeIcon',0x2),_0x507457([_0x4331b3({'attribute':!0x1})],_0x44f163['prototype'],'uid',0x2),_0x507457([_0x511660()],_0x44f163['prototype'],'Le',0x2);var _0x599378=class extends t1{},_0x4b820a=class extends t1{constructor(){super(...arguments),this['historyTracked']=!0x0,this['activityType']=t1['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']??'');}['render'](){return _0x19f5e4`<div class="uc-content">${this['yield']('')}</div>`;}},_0x2d8907=class extends _0x21c1d2{constructor(){super(...arguments),this['ta']=null;}static{this['styleAttrs']=['uc-wgt-common'];}static{this['EventType']=_0x4b13c3;}['initCallback'](){super['initCallback'](),this['ta']=this['eventEmitter']['bindTarget'](this);}['disconnectedCallback'](){super['disconnectedCallback'](),this['ta']?.();}},_0x57375b=(_0x366c0c,_0x27644b)=>{let _0x40301a,t=!0x1,_0x1689d6=0x0,_0x37fb89=(..._0x17e876)=>{t?(_0x40301a&&clearTimeout(_0x40301a),_0x40301a=setTimeout(()=>{Date['now']()-_0x1689d6>=_0x27644b&&(_0x366c0c(..._0x17e876),_0x1689d6=Date['now']());},Math['max'](_0x27644b-(Date['now']()-_0x1689d6),0x0))):(_0x366c0c(..._0x17e876),_0x1689d6=Date['now'](),t=!0x0);};return Object['defineProperty'](_0x37fb89,'cancel',{'configurable':!0x1,'writable':!0x1,'enumerable':!0x1,'value':()=>{_0x40301a&&clearTimeout(_0x40301a);}}),_0x37fb89;},_0x46c86d=(_0x5d3029,_0x27996f,t)=>{let _0x817983=new Map();for(let _0x27d704=_0x27996f;_0x27d704<=t;_0x27d704++)_0x817983['set'](_0x5d3029[_0x27d704],_0x27d704);return _0x817983;},_0xddcada=_0x7f66ea(class extends _0x3698be{constructor(_0x199c50){if(super(_0x199c50),_0x199c50['type']!==_0x35a55d)throw Error('repeat()\x20can\x20only\x20be\x20used\x20in\x20text\x20expressions');}['dt'](_0x3a9cb9,_0x139556,t){let _0x5a9626;void 0x0===t?t=_0x139556:void 0x0!==_0x139556&&(_0x5a9626=_0x139556);let _0x5cbe7a=[],_0x570293=[],_0x3d51b9=0x0;for(let _0x15b107 of _0x3a9cb9)_0x5cbe7a[_0x3d51b9]=_0x5a9626?_0x5a9626(_0x15b107,_0x3d51b9):_0x3d51b9,_0x570293[_0x3d51b9]=t(_0x15b107,_0x3d51b9),_0x3d51b9++;return{'values':_0x570293,'keys':_0x5cbe7a};}['render'](_0x1f1804,_0x1f4b64,t){return this['dt'](_0x1f1804,_0x1f4b64,t)['values'];}['update'](_0xb6d01e,[_0x22eb54,t,_0x48e85d]){let _0xf50417=(_0xba5fee=>_0xba5fee['r'])(_0xb6d01e),{values:_0x3d169b,keys:_0x304f50}=this['dt'](_0x22eb54,t,_0x48e85d);if(!Array['isArray'](_0xf50417))return this['ut']=_0x304f50,_0x3d169b;let _0x2e4280,_0x251a51,_0x25949f=this['ut']??=[],_0x278c7b=[],_0x59f513=0x0,_0x424e51=_0xf50417['length']-0x1,_0x570eba=0x0,_0x4cfbb3=_0x3d169b['length']-0x1;for(;_0x59f513<=_0x424e51&&_0x570eba<=_0x4cfbb3;)if(null===_0xf50417[_0x59f513])_0x59f513++;else{if(null===_0xf50417[_0x424e51])_0x424e51--;else{if(_0x25949f[_0x59f513]===_0x304f50[_0x570eba])_0x278c7b[_0x570eba]=_0x2314b5(_0xf50417[_0x59f513],_0x3d169b[_0x570eba]),_0x59f513++,_0x570eba++;else{if(_0x25949f[_0x424e51]===_0x304f50[_0x4cfbb3])_0x278c7b[_0x4cfbb3]=_0x2314b5(_0xf50417[_0x424e51],_0x3d169b[_0x4cfbb3]),_0x424e51--,_0x4cfbb3--;else{if(_0x25949f[_0x59f513]===_0x304f50[_0x4cfbb3])_0x278c7b[_0x4cfbb3]=_0x2314b5(_0xf50417[_0x59f513],_0x3d169b[_0x4cfbb3]),_0x131252(_0xb6d01e,_0x278c7b[_0x4cfbb3+0x1],_0xf50417[_0x59f513]),_0x59f513++,_0x4cfbb3--;else{if(_0x25949f[_0x424e51]===_0x304f50[_0x570eba])_0x278c7b[_0x570eba]=_0x2314b5(_0xf50417[_0x424e51],_0x3d169b[_0x570eba]),_0x131252(_0xb6d01e,_0xf50417[_0x59f513],_0xf50417[_0x424e51]),_0x424e51--,_0x570eba++;else{if(void 0x0===_0x2e4280&&(_0x2e4280=_0x46c86d(_0x304f50,_0x570eba,_0x4cfbb3),_0x251a51=_0x46c86d(_0x25949f,_0x59f513,_0x424e51)),_0x2e4280['has'](_0x25949f[_0x59f513])){if(_0x2e4280['has'](_0x25949f[_0x424e51])){let _0xc8a735=_0x251a51['get'](_0x304f50[_0x570eba]),_0x5d61c5=void 0x0!==_0xc8a735?_0xf50417[_0xc8a735]:null;if(null===_0x5d61c5){let _0x503766=_0x131252(_0xb6d01e,_0xf50417[_0x59f513]);_0x2314b5(_0x503766,_0x3d169b[_0x570eba]),_0x278c7b[_0x570eba]=_0x503766;}else _0x278c7b[_0x570eba]=_0x2314b5(_0x5d61c5,_0x3d169b[_0x570eba]),_0x131252(_0xb6d01e,_0xf50417[_0x59f513],_0x5d61c5),_0xf50417[_0xc8a735]=null;_0x570eba++;}else _0x57a799(_0xf50417[_0x424e51]),_0x424e51--;}else _0x57a799(_0xf50417[_0x59f513]),_0x59f513++;}}}}}}for(;_0x570eba<=_0x4cfbb3;){let _0x101afa=_0x131252(_0xb6d01e,_0x278c7b[_0x4cfbb3+0x1]);_0x2314b5(_0x101afa,_0x3d169b[_0x570eba]),_0x278c7b[_0x570eba++]=_0x101afa;}for(;_0x59f513<=_0x424e51;){let _0x3b7e29=_0xf50417[_0x59f513++];null!==_0x3b7e29&&_0x57a799(_0x3b7e29);}return this['ut']=_0x304f50,((_0x56c0e7,_0x300dda=_0x17e210)=>{_0x56c0e7['r']=_0x300dda;})(_0xb6d01e,_0x278c7b),_0x3420cb;}}),_0x22e2ea=Object['freeze']({'FINISHED':Symbol('FINISHED'),'FAILED':Symbol('FAILED'),'UPLOADING':Symbol('UPLOADING'),'VALIDATION':Symbol('VALIDATION'),'QUEUED_UPLOADING':Symbol('QUEUED-UPLOADING'),'QUEUED_VALIDATION':Symbol('QUEUED-VALIDATION'),'IDLE':Symbol('IDLE')}),_0x581688=class _0x5d5441 extends _0x51f82e{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['ia']=!0x0,this['uid']='',this['Lo']='',this['Ro']='',this['Uo']='',this['oe']=0x0,this['ra']=!0x1,this['$o']='',this['oa']=!0x1,this['sa']=!0x1,this['na']=!0x1,this['aa']=!0x1,this['lr']=!0x1,this['la']='',this['cr']=[],this['ca']=!0x1,this['Du']=()=>{this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':'remove-file','node':this['tagName']}}}),this['uid']&&this['uploadCollection']['hasItem'](this['uid'])&&this['uploadCollection']['remove'](this['uid']);},this['Fu']=()=>{this['ua']();},this['S']=_0x5184f3(()=>this['da'](),0x64),this['Vu']=this['withEntry'](_0x57375b((t,_0x43745f)=>{let _0x33bd87=t['getValue']('errors')?.[0x0]?.['message']??'',_0x56bf04=t['getValue']('source'),_0x2ce8ef=t['getValue']('externalUrl'),_0x3fe819=_0x43745f===_0x22e2ea['FINISHED'],_0x2c60bf=_0x43745f===_0x22e2ea['UPLOADING'],_0x51bcfe=_0x43745f===_0x22e2ea['QUEUED_UPLOADING'],_0x111275=_0x43745f===_0x22e2ea['QUEUED_VALIDATION'],_0x155f31=_0x43745f===_0x22e2ea['VALIDATION'],_0x5f29df=t['getValue']('fileName'),_0x7c9d83='';_0x33bd87?_0x7c9d83='':!_0x3fe819&&_0x2ce8ef&&_0x56bf04&&Object['values'](_0x50f779)['includes'](_0x56bf04)&&(_0x7c9d83=this['l10n']('waiting-for',{'source':this['l10n']('src-type-'+_0x379343(_0x56bf04))})),this['Uo']=_0x7c9d83,this['Ro']=_0x33bd87,this['ra']=_0x2c60bf||_0x51bcfe||_0x111275||_0x155f31,this['oe']=_0x111275||_0x155f31?0x0:t['getValue']('uploadProgress'),this['la']=_0x5f29df?this['l10n']('a11y-file-item-status',{'fileName':_0x5f29df,'status':this['l10n'](_0x43745f?.['description']?.['toLocaleLowerCase']()??'')['toLocaleLowerCase']()}):'';},0x64)),this['ua']=this['withEntry'](async t=>{if(!this['uploadCollection']['read'](t['uid'])||t['getValue']('fileInfo')||t['getValue']('isUploading')||t['getValue']('errors')['length']>0x0||t['getValue']('isValidationPending'))return;let _0x10a348=this['cfg']['multiple']?this['cfg']['multipleMax']:0x1;if(!(_0x10a348&&this['uploadCollection']['size']>_0x10a348)){t['setMultipleValues']({'isUploading':!0x0,'errors':[],'isQueuedForUploading':!0x0}),this['S']();try{let _0x33ab55=new AbortController();t['setValue']('abortController',_0x33ab55);let _0x43fb8a=async()=>{t['setValue']('isQueuedForUploading',!0x1);let _0x3fb0db=t['getValue']('file');if(_0x3fb0db instanceof File||_0x3fb0db instanceof Blob){let _0x189e1a=(this['i']['pluginManager']?.['snapshot']()['fileHooks']??[])['filter'](_0x4f6bb4=>'beforeUpload'===_0x4f6bb4['type']);for(let _0x4c1316 of _0x189e1a)try{let _0x53e949=_0x4c1316['handler']({'file':_0x3fb0db,'signal':_0x33ab55['signal']}),_0x519886=new Promise((_0x38eea4,_0x3fed61)=>setTimeout(()=>_0x3fed61(new Error('beforeUpload\x20hook\x20timed\x20out')),_0x4c1316['timeout'])),{file:_0x46379a}=await Promise['race']([_0x53e949,_0x519886]);_0x46379a!==_0x3fb0db&&(_0x3fb0db=_0x46379a,t['setValue']('mimeType',_0x3fb0db['type']||null),t['setValue']('isImage',_0x41f43(_0x3fb0db)),t['setValue']('fileSize',_0x3fb0db['size']),_0x3fb0db instanceof File&&t['setValue']('fileName',_0x3fb0db['name']));}catch(_0x5073ce){console['warn']('File\x20hook\x20\x22beforeUpload\x22\x20from\x20plugin\x20\x22'+_0x4c1316['pluginId']+'\x22\x20failed',_0x5073ce);}}let _0xeee93a=_0x3fb0db||t['getValue']('externalUrl')||t['getValue']('uuid');if(!_0xeee93a)throw new Error('No\x20file\x20input');let _0x3cc50a={...await this['getUploadClientOptions'](),'fileName':t['getValue']('fileName')??void 0x0,'source':t['getValue']('source')??void 0x0,'onProgress':_0xb2f3c4=>{if(_0xb2f3c4['isComputable']){let _0x4e4a83=0x64*_0xb2f3c4['value'];t['setValue']('uploadProgress',_0x4e4a83);}},'signal':_0x33ab55['signal'],'metadata':await this['getMetadataFor'](t['uid'])};return this['debugPrint']('upload\x20options',_0xeee93a,_0x3cc50a),_0x3260c3(_0xeee93a,_0x3cc50a);},_0x3b2f44=await this['$']['*uploadQueue']['add'](_0x43fb8a);t['setMultipleValues']({'fileInfo':_0x3b2f44,'isQueuedForUploading':!0x1,'isUploading':!0x1,'fileName':_0x3b2f44['originalFilename'],'fileSize':_0x3b2f44['size'],'isImage':_0x3b2f44['isImage']??!0x1,'mimeType':_0x3b2f44['contentInfo']?.['mime']?.['mime']??_0x3b2f44['mimeType'],'uuid':_0x3b2f44['uuid'],'cdnUrl':t['getValue']('cdnUrl')??_0x3b2f44['cdnUrl'],'cdnUrlModifiers':t['getValue']('cdnUrlModifiers')??'','uploadProgress':0x64,'source':t['getValue']('source')??null}),t===this['entry']&&this['S']();}catch(_0x131542){let _0x542166=_0x131542 instanceof _0x531c5d&&_0x131542['isCancel'];_0x542166?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0}):_0x131542 instanceof _0x5ca60f?t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':_0x131542}):(console['error']('Unknown\x20upload\x20error',_0x131542),t['setMultipleValues']({'isUploading':!0x1,'uploadProgress':0x0,'uploadError':new Error('Something\x20went\x20wrong',{'cause':_0x131542})})),t===this['entry']&&this['S'](),this['isConnected']&&!_0x542166&&this['telemetryManager']['sendEventError'](_0x131542,'file\x20upload.\x20Failed\x20to\x20upload\x20file');}}});}['da'](){let t=this['entry'];if(!t)return;let _0x59b8ab=_0x22e2ea['IDLE'];t['getValue']('errors')['length']>0x0?_0x59b8ab=_0x22e2ea['FAILED']:t['getValue']('isQueuedForUploading')?_0x59b8ab=_0x22e2ea['QUEUED_UPLOADING']:t['getValue']('isQueuedForValidation')?_0x59b8ab=_0x22e2ea['QUEUED_VALIDATION']:t['getValue']('isValidationPending')?_0x59b8ab=_0x22e2ea['VALIDATION']:t['getValue']('isUploading')?_0x59b8ab=_0x22e2ea['UPLOADING']:t['getValue']('fileInfo')&&(_0x59b8ab=_0x22e2ea['FINISHED']),this['Nu'](t,_0x59b8ab);}['Nu'](t,_0x392142){_0x392142===_0x22e2ea['FAILED']?this['$o']='badge-error':_0x392142===_0x22e2ea['FINISHED']&&(this['$o']='badge-success'),_0x392142===_0x22e2ea['UPLOADING']&&(this['aa']=!0x1,this['removeAttribute']('focused')),this['sa']=_0x392142===_0x22e2ea['FAILED'],this['na']=_0x392142===_0x22e2ea['UPLOADING'],this['oa']=_0x392142===_0x22e2ea['FINISHED'],this['Vu'](_0x392142);}['reset'](){super['reset'](),this['S']['cancel']();}['ai'](t){let [_0x2f837c]=t;_0x2f837c&&_0x2f837c['isIntersecting']&&!this['ca']&&(this['ia']=!0x1,this['ca']=!0x0);}['pa'](t){this['reset']();let _0x7c28c5=this['uploadCollection']?.['read'](t);this['entry']=_0x7c28c5,_0x7c28c5?(this['subEntry']('isQueuedForValidation',()=>{this['S']();}),this['subEntry']('isValidationPending',()=>{this['S']();}),this['subEntry']('uploadProgress',()=>{this['S']();}),this['subEntry']('isQueuedForUploading',()=>{this['S']();}),this['subEntry']('fileName',_0x2c83d4=>{this['Lo']=_0x2c83d4||_0x7c28c5['getValue']('externalUrl')||this['l10n']('file-no-name'),this['S']();}),this['subEntry']('externalUrl',_0x6d41e4=>{this['Lo']=_0x7c28c5['getValue']('fileName')||_0x6d41e4||this['l10n']('file-no-name');}),this['subEntry']('fileInfo',()=>{this['S']();}),this['subEntry']('errors',()=>this['S']()),this['subEntry']('isUploading',()=>this['S']()),this['subEntry']('fileSize',()=>this['S']()),this['subEntry']('mimeType',()=>this['S']()),this['subEntry']('isImage',()=>this['S']()),this['subEntry']('fileInfo',()=>this['Ze']()),this['subEntry']('isUploading',()=>this['Ze']()),this['subEntry']('errors',()=>this['Ze']()),this['da'](),this['Ze']()):this['Ze']();}['ha'](t){'list'!==this['cfg']['filesViewMode']?this['lr']=t:this['lr']=!0x0;}['willUpdate'](t){super['willUpdate'](t),t['has']('uid')&&this['pa'](this['uid']);}['Ze'](){let t=this['i']['pluginManager'];if(!t||!this['uid'])return void(this['cr']=[]);let _0x51c554=t['snapshot']()['fileActions'],_0xeb914d=this['api']['getOutputItem'](this['uid']);this['cr']=_0xeb914d?_0x51c554['filter'](_0x1a260f=>{try{return _0x1a260f['shouldRender'](_0xeb914d);}catch(_0x7e19a0){return console['error']('Error\x20in\x20plugin\x20file\x20action\x20shouldRender\x20('+_0x1a260f['id']+'):',_0x7e19a0),!0x1;}}):[];}['_u'](t){if(!this['uid'])return;let _0x3fdc09=this['api']['getOutputItem'](this['uid']);if(_0x3fdc09){this['telemetryManager']['sendEvent']({'payload':{'metadata':{'event':t['id'],'node':this['tagName'],'pluginId':t['pluginId']}}});try{t['onClick'](_0x3fdc09);}catch(_0x5de1b5){console['error']('Error\x20in\x20plugin\x20file\x20action\x20onClick\x20('+t['id']+'):',_0x5de1b5);}}}['initCallback'](){super['initCallback'](),this['pa'](this['uid']),this['subConfigValue']('filesViewMode',_0x3c481e=>{this['ha'](this['cfg']['gridShowFileNames']),this['setAttribute']('mode',_0x3c481e);}),this['subConfigValue']('gridShowFileNames',_0x2e6bb2=>{this['ha'](_0x2e6bb2);}),this['onclick']=()=>{_0x5d5441['activeInstances']['forEach'](_0x343599=>{_0x343599===this?_0x343599['setAttribute']('focused',''):_0x343599['removeAttribute']('focused');});},this['sub']('*uploadTrigger',_0x45db9b=>{this['entry']&&!_0x45db9b['has'](this['entry']['uid'])||setTimeout(()=>this['isConnected']&&this['ua']());});let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ze']())),this['Ze'](),_0x5d5441['activeInstances']['add'](this);}['connectedCallback'](){super['connectedCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]}),this['s']['observe'](this);}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback'](),this['s']?.['disconnect'](),_0x5d5441['activeInstances']['delete'](this),this['reset']();}static{this['activeInstances']=new Set();}['shouldUpdate'](t){return!this['ia']&&super['shouldUpdate'](t);}['render'](){return _0x19f5e4`<div class="uc-inner" ?data-finished=${this['oa']} ?data-uploading=${this['na']} ?data-failed=${this['sa']} ?data-focused=${this['aa']} ><uc-thumb .uid=${this['uid']} .badgeIcon=${this['$o']}></uc-thumb><div aria-atomic="true" aria-live="polite" class="uc-file-name-wrapper" aria-label=${this['la']}><span class="uc-file-name" ?hidden=${!this['lr']}>${this['Lo']}</span><span class="uc-file-error" ?hidden=${!this['Ro']}>${this['Ro']}</span><span class="uc-file-hint" ?hidden=${!this['Uo']}>${this['Uo']}</span></div><div class="uc-file-actions">${this['cr']['map'](t=>_0x19f5e4`<button type="button" @click=${()=>this['_u'](t)} title=${this['l10n'](t['label'])} aria-label=${this['l10n'](t['label'])} class="uc-plugin-action-btn uc-mini-btn" data-plugin-action-id=${t['id']} ><uc-icon name=${t['icon']}></uc-icon></button>`)}<button type="button" @click=${this['Du']} title=${this['l10n']('file-item-remove-button')} aria-label=${this['l10n']('file-item-remove-button')} class="uc-remove-btn uc-mini-btn" ><uc-icon name="remove-file"></uc-icon></button><button type="button" class="uc-upload-btn uc-mini-btn" @click=${this['Fu']}><uc-icon name="upload"></uc-icon></button></div><uc-progress-bar class="uc-progress-bar" .value=${this['oe']} .visible=${this['ra']} ?hasFileName=${this['lr']}></uc-progress-bar></div>`;}};_0x507457([_0x511660()],_0x581688['prototype'],'ia',0x2),_0x507457([_0x4331b3({'attribute':!0x1})],_0x581688['prototype'],'uid',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'Lo',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'Ro',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'Uo',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'oe',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'ra',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'$o',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'oa',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'sa',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'na',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'aa',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'lr',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'la',0x2),_0x507457([_0x511660()],_0x581688['prototype'],'cr',0x2);var t2=_0x581688;function _0x59ac17(_0x5ddb54){return new Promise(_0x16e489=>{'function'!=typeof window['FileReader']&&_0x16e489(!0x1);try{let t=new FileReader();t['onerror']=()=>{_0x16e489(!0x0);};let _0x366e54=_0x416c30=>{'loadend'!==_0x416c30['type']&&t['abort'](),_0x16e489(!0x1);};t['onloadend']=_0x366e54,t['onprogress']=_0x366e54,t['readAsDataURL'](_0x5ddb54);}catch{_0x16e489(!0x1);}});}function _0x2ec1ed(_0x4c0280,_0x904438){return new Promise(t=>{let _0x1390ff=0x0,_0x59f064=[],_0x3d3b09=_0x3c9c13=>{if(!_0x3c9c13)return console['warn']('Unexpectedly\x20received\x20empty\x20content\x20entry',{'scope':'drag-and-drop'}),void t(null);_0x3c9c13['isFile']?(_0x1390ff++,_0x3c9c13['file'](_0x256862=>{_0x1390ff--;let _0x40cf54=new File([_0x256862],_0x256862['name'],{'type':_0x256862['type']||_0x904438});_0x59f064['push']({'type':'file','file':_0x40cf54,'fullPath':_0x3c9c13['fullPath']}),0x0===_0x1390ff&&t(_0x59f064);})):_0x3c9c13['isDirectory']&&_0x1236fd(_0x3c9c13['createReader']());},_0x1236fd=_0x45e85e=>{_0x1390ff++,_0x45e85e['readEntries'](_0x373489=>{_0x1390ff--;for(let _0x48a348 of _0x373489)_0x3d3b09(_0x48a348);0x0===_0x1390ff&&t(_0x59f064);});};_0x3d3b09(_0x4c0280);});}var _0x1b4633=Object['freeze']({'ACTIVE':0x0,'INACTIVE':0x1,'NEAR':0x2,'OVER':0x3}),_0x3bcb9a=['focus'],_0x4a7710=new Map();function _0x2481cb(_0x4419c8){let _0x14ea2d=0x0,t=document['body'],_0x6d66fc=new Set(),_0x82fb1=_0x1b4633['INACTIVE'],_0x55ca97=_0x43b440=>{_0x4419c8['shouldIgnore']()&&_0x43b440!==_0x1b4633['INACTIVE']||(_0x82fb1!==_0x43b440&&_0x6d66fc['forEach'](_0x239b46=>{_0x239b46(_0x43b440);}),_0x82fb1=_0x43b440);},_0x5e0ef6=()=>_0x14ea2d>0x0;var _0x58773b;_0x58773b=_0x396887=>_0x4419c8['onChange'](_0x396887),_0x6d66fc['add'](_0x58773b);let _0x49eb7f=()=>{_0x14ea2d=0x0,_0x55ca97(_0x1b4633['INACTIVE']);},_0x1b6403=()=>{_0x14ea2d+=0x1,_0x82fb1===_0x1b4633['INACTIVE']&&_0x55ca97(_0x1b4633['ACTIVE']);},_0x3fa282=()=>{_0x14ea2d-=0x1,_0x5e0ef6()||_0x55ca97(_0x1b4633['INACTIVE']);},_0x45dab4=_0x11de7f=>{_0x11de7f['preventDefault'](),_0x14ea2d=0x0,_0x55ca97(_0x1b4633['INACTIVE']);},_0x8a0949=_0x4766b8=>{if(_0x4419c8['shouldIgnore']())return;_0x5e0ef6()||(_0x14ea2d+=0x1);let _0x3a982c=[_0x4766b8['x'],_0x4766b8['y']],_0x463b70=_0x4419c8['element']['getBoundingClientRect'](),_0x892d46=Math['floor'](function(_0x373595,_0x5179b0){let t=Math['max'](Math['min'](_0x373595[0x0],_0x5179b0['x']+_0x5179b0['width']),_0x5179b0['x']),_0x18735c=Math['max'](Math['min'](_0x373595[0x1],_0x5179b0['y']+_0x5179b0['height']),_0x5179b0['y']);return Math['sqrt']((_0x373595[0x0]-t)*(_0x373595[0x0]-t)+(_0x373595[0x1]-_0x18735c)*(_0x373595[0x1]-_0x18735c));}(_0x3a982c,_0x463b70)),_0x3fc698=_0x892d46<0x64,_0xf89833=_0x4766b8['composedPath']()['includes'](_0x4419c8['element']);_0x4a7710['set'](_0x4419c8['element'],_0x892d46);let _0x218601=Math['min'](..._0x4a7710['values']())===_0x892d46;_0xf89833&&_0x218601?(_0x4766b8['preventDefault'](),_0x55ca97(_0x1b4633['OVER'])):_0x55ca97(_0x3fc698&&_0x218601?_0x1b4633['NEAR']:_0x1b4633['ACTIVE']);},_0x51e669=async _0x332ece=>{if(_0x4419c8['shouldIgnore']())return;_0x332ece['preventDefault']();let {dataTransfer:_0x15bf64}=_0x332ece;if(!_0x15bf64)return;let _0x5bf5ec=await function(_0x4b5863){let _0x57e6a7=[],t=[];for(let _0x2656db=0x0;_0x2656db<_0x4b5863['items']['length'];_0x2656db++){let _0x4d2ce0=_0x4b5863['items'][_0x2656db];if(_0x4d2ce0){if('file'===_0x4d2ce0['kind']){let _0x1af7d5=_0x4d2ce0['type'],_0x3f0b7f=_0x4d2ce0;if('function'==typeof _0x3f0b7f['webkitGetAsEntry']||'function'==typeof _0x3f0b7f['getAsEntry']){let _0xea2b24='function'==typeof _0x3f0b7f['webkitGetAsEntry']?_0x3f0b7f['webkitGetAsEntry']():_0x3f0b7f['getAsEntry']?.();_0xea2b24&&t['push'](_0x2ec1ed(_0xea2b24,_0x1af7d5)['then'](_0x1a9f13=>{_0x1a9f13&&_0x57e6a7['push'](..._0x1a9f13);}));continue;}let _0x465c49=_0x4d2ce0['getAsFile']();_0x465c49&&t['push'](_0x59ac17(_0x465c49)['then'](_0x3078e8=>{_0x3078e8||_0x57e6a7['push']({'type':'file','file':_0x465c49});}));}else'string'===_0x4d2ce0['kind']&&/^text\/uri-list/['test'](_0x4d2ce0['type'])&&t['push'](new Promise(_0x5b8296=>{_0x4d2ce0['getAsString'](_0x45651c=>{_0x57e6a7['push']({'type':'url','url':_0x45651c}),_0x5b8296();});}));}}return Promise['all'](t)['then'](()=>_0x57e6a7);}(_0x15bf64);_0x4419c8['onItems'](_0x5bf5ec),_0x55ca97(_0x1b4633['INACTIVE']);};return t['addEventListener']('drop',_0x45dab4),t['addEventListener']('dragleave',_0x3fa282),t['addEventListener']('dragenter',_0x1b6403),t['addEventListener']('dragover',_0x8a0949),_0x4419c8['element']['addEventListener']('drop',_0x51e669),_0x3bcb9a['forEach'](_0x146494=>{window['addEventListener'](_0x146494,_0x49eb7f);}),()=>{_0x4a7710['delete'](_0x4419c8['element']),t['removeEventListener']('drop',_0x45dab4),t['removeEventListener']('dragleave',_0x3fa282),t['removeEventListener']('dragenter',_0x1b6403),t['removeEventListener']('dragover',_0x8a0949),_0x4419c8['element']['removeEventListener']('drop',_0x51e669),_0x3bcb9a['forEach'](_0x55b5c7=>{window['removeEventListener'](_0x55b5c7,_0x49eb7f);});};}var _0x511c9b=new Set(),_0x4c889c=class extends _0x21c1d2{constructor(){super(...arguments),this['single']=!0x1,this['ghost']=!0x1,this['disabled']=!0x1,this['clickable']=!0x1,this['withIcon']=!0x1,this['fullscreen']=!0x1,this['initflow']=!0x1,this['Oe']=!0x0,this['fa']=!0x0,this['Do']='drop-files-here',this['ma']=!0x1,this['va']=null,this['Fo']=null,this['ya']=_0x36cc29(),this['Lt']=t=>{if(t instanceof KeyboardEvent){if('Space'!==t['code']&&'Enter'!==t['code'])return;}else{if(!(t instanceof MouseEvent))return;}this['initflow']?this['api']['initFlow']():this['api']['openSystemDialog']();},this['ba']=!0x0,this['Rt']=!0x1;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-drop-area'];}['ga'](){let t=this['text'];'string'==typeof t&&t['length']>0x0?this['Do']=this['l10n'](t)||t:this['Do']=this['ma']?this['l10n']('drop-files-here'):this['l10n']('drop-file-here');}['isActive'](){if(!this['Oe'])return!0x1;let t=this['getBoundingClientRect'](),_0x4b3702=t['width']>0x0&&t['height']>0x0,_0x3cd81b=t['top']>=0x0&&t['left']>=0x0&&t['bottom']<=(window['innerHeight']||document['documentElement']['clientHeight'])&&t['right']<=(window['innerWidth']||document['documentElement']['clientWidth']),_0x3b468f=window['getComputedStyle'](this),_0x1cc3d7='hidden'!==_0x3b468f['visibility']&&'none'!==_0x3b468f['display'];return _0x4b3702&&_0x1cc3d7&&_0x3cd81b;}['initCallback'](){super['initCallback'](),_0x511c9b['add'](this),this['No'](),this['Vo'](),this['wa'](),this['Ta'](_0x1b4633['INACTIVE']),this['va']=_0x2481cb({'element':this,'shouldIgnore':()=>this['Ea'](),'onChange':t=>{this['Ta'](t);},'onItems':t=>{t['length']&&(t['forEach'](_0x28fcd1=>{'url'===_0x28fcd1['type']?this['api']['addFileFromUrl'](_0x28fcd1['url'],{'source':_0x363ac3['DROP_AREA']}):'file'===_0x28fcd1['type']&&this['api']['addFileFromObject'](_0x28fcd1['file'],{'source':_0x363ac3['DROP_AREA'],'fullPath':_0x28fcd1['fullPath']});}),this['uploadCollection']['size']&&(this['set$']({'*currentActivity':t1['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](t1['activities']['UPLOAD_LIST'])));}}),this['updateComplete']['then'](()=>this['Bu']()),this['subConfigValue']('sourceList',t=>{let _0x2a21a1=_0x430ffa(t);this['ba']=_0x2a21a1['includes'](_0x363ac3['LOCAL']),this['No'](),this['Vo']();}),this['subConfigValue']('multiple',t=>{this['ma']=!!t,this['ga']();});}['willUpdate'](t){super['willUpdate'](t),t['has']('disabled')&&(this['No'](),this['Vo']()),(t['has']('text')||t['has']('localeId'))&&this['ga']();}['updated'](t){super['updated'](t),t['has']('clickable')&&this['wa']();}['Ea'](){if(!this['Oe']||!this['zu']())return!0x0;if(!this['fullscreen'])return!0x1;let t=_0x511c9b;return 0x0!==t['size']&&[...t]['filter'](_0x233961=>_0x233961!==this)['filter'](_0x5ccaa9=>_0x5ccaa9['isActive']())['length']>0x0;}['zu'](){let t=this['cfg']['multiple'],_0x2e95b3=this['cfg']['multipleMax'],_0x2835c0=this['uploadCollection']['size'];return!(t&&_0x2e95b3&&_0x2835c0>=_0x2e95b3||!t&&_0x2835c0>0x0);}['No'](){let t=this['ba']&&!this['disabled'];this['Oe']=t;}['Vo'](){let t=this['Oe']||!this['querySelector']('[data-default-slot]');this['fa']=t,this['hidden']=!t;}['Ta'](t){let _0x243f49=Object['entries'](_0x1b4633)['find'](([,_0x45cd8f])=>_0x45cd8f===t)?.[0x0]['toLowerCase']();_0x243f49&&this['setAttribute']('drag-state',_0x243f49);}['Bu'](){if(this['Fo'])return;let t=this['ya']['value'];t&&(this['Fo']=_0x2481cb({'element':t,'onChange':_0x5bc849=>{let _0x5ed939=Object['entries'](_0x1b4633)['find'](([,_0x21ef90])=>_0x21ef90===_0x5bc849)?.[0x0]['toLowerCase']();_0x5ed939&&t['setAttribute']('drag-state',_0x5ed939);},'onItems':()=>{},'shouldIgnore':()=>this['Ea']()}));}['wa'](){this['clickable']&&!this['Rt']?(this['addEventListener']('keydown',this['Lt']),this['addEventListener']('click',this['Lt']),this['Rt']=!0x0):!this['clickable']&&this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['disconnectedCallback'](){super['disconnectedCallback'](),_0x511c9b['delete'](this),this['va']?.(),this['Fo']?.(),this['Rt']&&(this['removeEventListener']('keydown',this['Lt']),this['removeEventListener']('click',this['Lt']),this['Rt']=!0x1);}['render'](){return _0x19f5e4` ${this['yield']('',_0x19f5e4`<div data-default-slot hidden></div><div ${_0x2b12df(this['ya'])} class="uc-content-wrapper" ?hidden=${!this['fa']}><div class="uc-icon-container" ?hidden=${!this['withIcon']}><uc-icon name="default"></uc-icon><uc-icon name="arrow-down"></uc-icon></div><span class="uc-text">${this['Do']}</span></div>`)} `;}};_0x507457([_0x4331b3({'type':Boolean,'noAccessor':!0x0})],_0x4c889c['prototype'],'single',0x2),_0x507457([_0x4331b3({'type':Boolean,'noAccessor':!0x0})],_0x4c889c['prototype'],'ghost',0x2),_0x507457([_0x4331b3({'type':Boolean,'reflect':!0x0})],_0x4c889c['prototype'],'disabled',0x2),_0x507457([_0x4331b3({'type':Boolean,'reflect':!0x0})],_0x4c889c['prototype'],'clickable',0x2),_0x507457([_0x4331b3({'type':Boolean,'attribute':'with-icon','reflect':!0x0})],_0x4c889c['prototype'],'withIcon',0x2),_0x507457([_0x4331b3({'type':Boolean,'reflect':!0x0})],_0x4c889c['prototype'],'fullscreen',0x2),_0x507457([_0x4331b3({'type':Boolean,'reflect':!0x0})],_0x4c889c['prototype'],'initflow',0x2),_0x507457([_0x4331b3({'type':String})],_0x4c889c['prototype'],'text',0x2),_0x507457([_0x511660()],_0x4c889c['prototype'],'Oe',0x2),_0x507457([_0x511660()],_0x4c889c['prototype'],'fa',0x2),_0x507457([_0x511660()],_0x4c889c['prototype'],'Do',0x2);var _0x29c5be=class extends _0x21c1d2{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['historyTracked']=!0x0,this['activityType']=t1['activities']['UPLOAD_LIST'],this['xa']=!0x1,this['Ca']=!0x1,this['Sa']=!0x1,this['_o']=!0x1,this['Bo']=!0x1,this['ur']=null,this['Aa']=!0x1,this['zo']=null,this['ka']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'event':'add-more','node':this['tagName']}}}),this['api']['initFlow'](!0x0);},this['Ho']=()=>{this['emit'](_0x4b13c3['UPLOAD_CLICK']),this['api']['uploadAll'](),this['Te']();},this['Ko']=()=>{this['emit'](_0x4b13c3['DONE_CLICK'],this['api']['getOutputCollectionState']()),this['api']['doneFlow']();},this['Ee']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'event':'clear-all','node':this['tagName']}}}),this['uploadCollection']['clearAll']();},this['Te']=_0x57375b(()=>{this['isConnected']&&(this['ju'](),!this['couldOpenActivity']&&this['$']['*currentActivity']===this['activityType']&&this['historyBack'](),this['cfg']['confirmUpload']||this['api']['uploadAll']());},0x12c);}get['Hu'](){return this['zo']?this['Ku'](this['zo']):'';}['ju'](){let t=this['api']['getOutputCollectionState'](),_0x210521={'total':t['totalCount'],'succeed':t['successCount'],'uploading':t['uploadingCount'],'failed':t['failedCount'],'validatingBeforeUploading':t['idleEntries']['filter'](_0x462b9d=>_0x462b9d['isValidationPending'])['length']},_0x1739f2=!t['errors']['some'](_0x21cff9=>'TOO_MANY_FILES'===_0x21cff9['type']||'TOO_FEW_FILES'===_0x21cff9['type']),_0x2ce93=t['errors']['some'](_0x118705=>'TOO_MANY_FILES'===_0x118705['type']),_0xd3b620=t['totalCount']===(this['cfg']['multiple']?this['cfg']['multipleMax']:0x1),_0xa27741=t['allEntries']['some'](_0x2cb506=>_0x2cb506['isValidationPending']),_0x5a224a=0x0===_0x210521['failed']&&0x0===t['errors']['length']&&!_0xa27741,_0x16ae00=!0x1,_0x5ae923=!0x1,_0x20bd83=!0x1;if(_0x210521['total']-_0x210521['succeed']-_0x210521['uploading']-_0x210521['failed']>0x0&&_0x1739f2&&_0x5a224a&&this['cfg']['confirmUpload'])_0x16ae00=!0x0;else{_0x5ae923=!0x0;let _0x2e82d0=!this['cfg']['groupOutput']||!!t['group'];_0x20bd83=_0x210521['total']===_0x210521['succeed']&&_0x1739f2&&_0x5a224a&&_0x2e82d0;}this['xa']=_0x5ae923,this['Ca']=_0x20bd83,this['Sa']=_0x16ae00,this['Bo']=0x0===_0x210521['total']||!_0x2ce93&&!_0xd3b620,this['_o']=!_0xd3b620||this['cfg']['multiple'],this['Aa']=_0x210521['total']>0x0,this['zo']=_0x210521;}['Ku'](t){let _0x24c7ff=_0x161449=>{let _0x32833f=t[_0x161449];return'uploading'===_0x161449&&(_0x32833f+=t['validatingBeforeUploading']),this['l10n']('header-'+_0x161449,{'count':_0x32833f});};return t['uploading']>0x0||t['validatingBeforeUploading']>0x0?_0x24c7ff('uploading'):t['failed']>0x0?_0x24c7ff('failed'):t['succeed']>0x0?_0x24c7ff('succeed'):_0x24c7ff('total');}get['couldOpenActivity'](){return this['cfg']['showEmptyList']||this['uploadCollection']['size']>0x0;}['initCallback'](){super['initCallback'](),this['registerActivity'](this['activityType']),this['subConfigValue']('multiple',this['Te']),this['subConfigValue']('multipleMin',this['Te']),this['subConfigValue']('multipleMax',this['Te']),this['sub']('*groupInfo',t=>{t&&this['Te']();}),this['subConfigValue']('filesViewMode',t=>{this['setAttribute']('mode',t);}),this['sub']('*currentActivity',t=>{!this['couldOpenActivity']&&t===this['activityType']&&(this['$']['*currentActivity']=this['initActivity']);}),this['uploadCollection']['observeProperties'](this['Te']),this['uploadCollection']['observeCollection'](this['Te']),this['sub']('*collectionErrors',t=>{let _0x3e3b74=t['filter'](_0x2529c7=>'SOME_FILES_HAS_ERRORS'!==_0x2529c7['type'])[0x0];this['ur']=_0x3e3b74?_0x3e3b74['message']:null;});}['disconnectedCallback'](){super['disconnectedCallback'](),this['has']('*uploadCollection')&&(this['uploadCollection']['unobserveProperties'](this['Te']),this['uploadCollection']['unobserveCollection'](this['Te']));}['render'](){return _0x19f5e4`<uc-activity-header><span aria-live="polite" class="uc-header-text">${this['Hu']}</span><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-no-files" ?hidden=${this['Aa']}>${this['yield']('empty',_0x19f5e4`<span>${this['l10n']('no-files')}</span>`)}</div><div class="uc-files"><div class="uc-files-wrapper">${_0xddcada(this['$']['*uploadList']??[],({uid:t})=>t,({uid:t})=>_0x19f5e4`<uc-file-item .uid=${t}></uc-file-item>`)}</div><button type="button" class="uc-add-more-btn uc-secondary-btn" @click=${this['ka']} ?disabled=${!this['Bo']} ?hidden=${!this['_o']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button></div><div class="uc-common-error" ?hidden=${!this['ur']} >${this['ur']??''}</div><div class="uc-toolbar"><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('clear')}</button><div class="uc-toolbar-spacer"></div><button type="button" class="uc-add-more-btn uc-secondary-btn" ?hidden=${!this['_o']} ?disabled=${!this['Bo']} @click=${this['ka']} ><uc-icon name="add"></uc-icon><span>${this['l10n']('add-more')}</span></button><button type="button" class="uc-upload-btn uc-primary-btn" ?hidden=${!this['Sa']} @click=${this['Ho']} >${this['l10n']('upload')}</button><button type="button" class="uc-done-btn uc-primary-btn" ?hidden=${!this['xa']} ?disabled=${!this['Ca']} @click=${this['Ko']} >${this['l10n']('done')}</button></div><uc-drop-area ghost></uc-drop-area>`;}};_0x507457([_0x511660()],_0x29c5be['prototype'],'xa',0x2),_0x507457([_0x511660()],_0x29c5be['prototype'],'Ca',0x2),_0x507457([_0x511660()],_0x29c5be['prototype'],'Sa',0x2),_0x507457([_0x511660()],_0x29c5be['prototype'],'_o',0x2),_0x507457([_0x511660()],_0x29c5be['prototype'],'Bo',0x2),_0x507457([_0x511660()],_0x29c5be['prototype'],'ur',0x2),_0x507457([_0x511660()],_0x29c5be['prototype'],'Aa',0x2),_0x507457([_0x511660()],_0x29c5be['prototype'],'zo',0x2);var _0xf0dc30=[{'test':_0x5ee7d9=>!!_0x5ee7d9['accept']&&!!_0x5ee7d9['imgOnly'],'message':'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.'},{'test':_0xab862=>null!==_0xab862['enableVideoRecording'],'message':'The\x20`enableVideoRecording`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'},{'test':_0x307481=>null!==_0x307481['defaultCameraMode'],'message':'The\x20`defaultCameraMode`\x20parameter\x20is\x20deprecated\x20and\x20will\x20be\x20removed\x20in\x20the\x20next\x20major\x20release.\x0aPlease\x20use\x20the\x20`cameraModes`\x20parameter\x20instead.'}],_0x3c2791=_0x5184f3(_0xfe6408=>{for(let {test:_0x3beebe,message:t}of _0xf0dc30)_0x3beebe(_0xfe6408)&&_0xa6622a(t);},0x0),_0x120054=async _0x558452=>(_0x3e85cf=>{if(_0x3e85cf<=0x0n)return'0';let _0xd6e6ae='';for(;_0x3e85cf>0x0n;)_0xd6e6ae='0123456789abcdefghijklmnopqrstuvwxyz'[Number(_0x3e85cf%0x24n)]+_0xd6e6ae,_0x3e85cf/=0x24n;return _0xd6e6ae;})(await(async _0xe6c561=>{let _0xf50b84=new TextEncoder()['encode'](_0xe6c561),t=await window['crypto']['subtle']['digest']('SHA-256',_0xf50b84),_0x56a638=Array['from'](new Uint8Array(t))['map'](_0x3c2694=>_0x3c2694['toString'](0x10)['padStart'](0x2,'0'))['join']('');return BigInt('0x'+_0x56a638);})(_0x558452))['slice'](0x0,0xa),_0x2822b4=async(_0x4b2d6b,_0x7f2c33)=>((_0x8a4782,_0x4eecfa)=>{let t=new URL(_0x4eecfa);return t['hostname']=_0x8a4782+'.'+t['hostname'],t['toString']()['replace'](/\/$/,'');})(await _0x120054(_0x4b2d6b),_0x7f2c33),_0x1ac161=_0x18d43f=>_0x18d43f instanceof Promise||!(!_0x18d43f||'object'!=typeof _0x18d43f||!('then'in _0x18d43f)||'function'!=typeof _0x18d43f['then']),_0x5a6072=[{'key':'cameraModes','deps':['enableVideoRecording'],'fn':({cameraModes:_0xb7a4dc,enableVideoRecording:_0x487ef0})=>{let t=_0x487ef0();if(null===t)return _0xb7a4dc();let _0x5ed049=_0x182d3c(_0xb7a4dc());return t&&!_0x5ed049['includes']('video')?_0x5ed049=_0x5ed049['concat']('video'):t||(_0x5ed049=_0x5ed049['filter'](_0x308168=>'video'!==_0x308168)),_0x1734fe(_0x5ed049);}},{'key':'cameraModes','deps':['defaultCameraMode'],'fn':({cameraModes:_0x165db3,defaultCameraMode:_0x13afbd})=>{let t=_0x13afbd();if(null===t)return _0x165db3();let _0x5d02e3=_0x182d3c(_0x165db3());return _0x5d02e3=_0x5d02e3['sort']((_0xdfacbe,_0x4d849d)=>_0xdfacbe===t?-0x1:_0x4d849d===t?0x1:0x0),_0x1734fe(_0x5d02e3);}},{'key':'cdnCname','deps':['pubkey','cdnCnamePrefixed'],'fn':({pubkey:_0x34ca3a,cdnCname:_0x2629ca,cdnCnamePrefixed:t})=>{let _0x161d24=_0x34ca3a(),_0x33cee3=_0x2629ca(),_0x4863eb=t();return _0x161d24&&(_0x33cee3===_0x34e7a8||((_0x5b021e,_0x3615c0)=>{try{let t=new URL(_0x5b021e),_0xd36350=new URL(_0x3615c0);return t['hostname']['endsWith'](_0xd36350['hostname']);}catch{return!0x1;}})(_0x33cee3,_0x4863eb))?_0x2822b4(_0x161d24,_0x4863eb):_0x33cee3;}}],_0x25e0ea=_0x9426d6=>String(_0x9426d6),_0x2eb1ce=_0x6b99ab=>{let _0x43b719=Number(_0x6b99ab);if(Number['isNaN'](_0x43b719))throw new Error('Invalid\x20number:\x20\x22'+_0x6b99ab+'\x22');return _0x43b719;},_0x467259=_0x183df0=>{if(typeof _0x183df0>'u'||null===_0x183df0)return!0x1;if('boolean'==typeof _0x183df0)return _0x183df0;if('true'===_0x183df0||''===_0x183df0)return!0x0;if('false'===_0x183df0)return!0x1;throw new Error('Invalid\x20boolean:\x20\x22'+_0x183df0+'\x22');},_0xe24002=_0x508925=>{if('object'==typeof _0x508925)return _0x508925;throw new Error('Invalid\x20value.\x20Must\x20be\x20an\x20object.');},_0x16e260=_0x2559eb=>{if('function'==typeof _0x2559eb)return _0x2559eb;throw new Error('Invalid\x20value.\x20Must\x20be\x20a\x20function.');},_0x127a29=_0x5ddb43=>{if(Array['isArray'](_0x5ddb43))return _0x5ddb43;throw new Error('Must\x20be\x20an\x20array.');},_0x4344a2={'pubkey':_0x25e0ea,'multiple':_0x467259,'multipleMin':_0x2eb1ce,'multipleMax':_0x2eb1ce,'confirmUpload':_0x467259,'imgOnly':_0x467259,'accept':_0x25e0ea,'externalSourcesPreferredTypes':_0x25e0ea,'externalSourcesEmbedCss':_0x25e0ea,'store':_0x3bd871=>'auto'===_0x3bd871?_0x3bd871:_0x467259(_0x3bd871),'cameraMirror':_0x467259,'cameraCapture':_0x56469b=>{let _0x41a41a=_0x25e0ea(_0x56469b);if('user'!==_0x41a41a&&'environment'!==_0x41a41a&&''!==_0x41a41a)throw new Error('Invalid\x20value:\x20\x22'+_0x41a41a+'\x22');return _0x41a41a;},'sourceList':_0x25e0ea,'topLevelOrigin':_0x25e0ea,'maxLocalFileSizeBytes':_0x2eb1ce,'thumbSize':_0x2eb1ce,'showEmptyList':_0x467259,'useLocalImageEditor':_0x467259,'useCloudImageEditor':_0x467259,'cloudImageEditorTabs':_0x25e0ea,'removeCopyright':_0x467259,'cropPreset':_0x25e0ea,'imageShrink':_0x25e0ea,'modalScrollLock':_0x467259,'modalBackdropStrokes':_0x467259,'sourceListWrap':_0x467259,'remoteTabSessionKey':_0x25e0ea,'cdnCname':_0x25e0ea,'cdnCnamePrefixed':_0x25e0ea,'baseUrl':_0x25e0ea,'socialBaseUrl':_0x25e0ea,'secureSignature':_0x25e0ea,'secureExpire':_0x25e0ea,'secureDeliveryProxy':_0x25e0ea,'retryThrottledRequestMaxTimes':_0x2eb1ce,'retryNetworkErrorMaxTimes':_0x2eb1ce,'multipartMinFileSize':_0x2eb1ce,'multipartChunkSize':_0x2eb1ce,'maxConcurrentRequests':_0x2eb1ce,'multipartMaxConcurrentRequests':_0x2eb1ce,'multipartMaxAttempts':_0x2eb1ce,'checkForUrlDuplicates':_0x467259,'saveUrlForRecurrentUploads':_0x467259,'groupOutput':_0x467259,'userAgentIntegration':_0x25e0ea,'debug':_0x467259,'localeName':_0x25e0ea,'metadata':_0x5c556=>{if('object'==typeof _0x5c556&&!Array['isArray'](_0x5c556)||'function'==typeof _0x5c556)return _0x5c556;throw new Error('Invalid\x20metadata\x20value.\x20Must\x20be\x20an\x20object\x20or\x20function.');},'secureUploadsExpireThreshold':_0x2eb1ce,'localeDefinitionOverride':_0x3a7578=>_0xe24002(_0x3a7578),'secureUploadsSignatureResolver':_0x2f7c5c=>_0x16e260(_0x2f7c5c),'secureDeliveryProxyUrlResolver':_0x274cca=>_0x16e260(_0x274cca),'iconHrefResolver':_0x380127=>_0x16e260(_0x380127),'plugins':_0x294e4a=>_0x127a29(_0x294e4a),'fileValidators':_0x127a29,'collectionValidators':_0x127a29,'validationTimeout':_0x2eb1ce,'validationConcurrency':_0x2eb1ce,'cameraModes':_0x33ab4e=>{let _0x4298ef=_0x25e0ea(_0x33ab4e),t=_0x182d3c(_0x4298ef);if(t['some'](_0x2f12be=>!Object['values'](_0xcf66fd)['includes'](_0x2f12be)))throw new Error('Invalid\x20value:\x20\x22'+JSON['stringify'](t)+'\x22');return _0x4298ef;},'defaultCameraMode':_0x6234e2=>{let _0x54151b=_0x25e0ea(_0x6234e2);if(!Object['values'](_0xcf66fd)['includes'](_0x54151b))throw new Error('Invalid\x20value:\x20\x22'+_0x54151b+'\x22');return _0x54151b;},'enableAudioRecording':_0x467259,'enableVideoRecording':_0x467259,'mediaRecorderOptions':_0xe24002,'maxVideoRecordingDuration':_0x2eb1ce,'filesViewMode':_0x42c02a=>{let _0x3d0729=_0x25e0ea(_0x42c02a);if(['grid','list']['includes'](_0x3d0729))return _0x3d0729;throw new Error('Invalid\x20value:\x20\x22'+_0x3d0729+'\x22');},'gridShowFileNames':_0x467259,'cloudImageEditorAutoOpen':_0x467259,'cloudImageEditorMaskHref':_0x25e0ea,'testMode':_0x467259,'qualityInsights':_0x467259,'pasteScope':_0x326e0e=>{let _0xd43040=_0x25e0ea(_0x326e0e);if('local'===_0xd43040||'global'===_0xd43040)return _0xd43040;if(!0x1===_0x467259(_0x326e0e))return!0x1;throw new Error('Invalid\x20value:\x20\x22'+_0xd43040+'\x22');}},_0x59033d=[...new Set(['debug',...Object['keys'](_0x50ad2a)])],_0xf8b2d=['metadata','plugins','localeDefinitionOverride','secureUploadsSignatureResolver','secureDeliveryProxyUrlResolver','iconHrefResolver','fileValidators','collectionValidators','mediaRecorderOptions'],_0x476fb9=_0x5d8352=>_0xf8b2d['includes'](_0x5d8352),_0x4863f0=_0x59033d['filter'](_0x1d7f4e=>!_0x476fb9(_0x1d7f4e)),_0x18001a={...Object['fromEntries'](_0x4863f0['map'](_0x219046=>[_0x5b0cc0(_0x219046),_0x219046])),...Object['fromEntries'](_0x4863f0['map'](_0x3d180a=>[_0x3d180a['toLowerCase'](),_0x3d180a]))},_0x41c834=_0x377ef2=>'__'+_0x377ef2,_0x17a01e=class extends _0x654125{constructor(){super(...arguments),this['init$']={...this['init$'],...Object['fromEntries'](Object['entries'](_0x50ad2a)['map'](([t,_0x495e1e])=>[tY(t),_0x495e1e]))},this['Gu']=new Map(),this['ci']={},this['Ma']=new Set(),this['Ut']=new Map();}['jo'](t){return this['Ma']['has'](t);}['Go'](t){let _0x164487=this['i']['pluginManager'];if(_0x164487)return _0x164487['configRegistry']['get'](t);}['Oa'](t){return[...new Set([_0x5b0cc0(t),t['toLowerCase']()])];}['qu'](t,_0x9bcaa4){if(_0x476fb9(t)||this['jo'](t)&&!0x1===this['Go'](t)?.['attribute'])return;let _0x159498=this['Oa'](t);for(let _0x22d6cd of _0x159498)typeof _0x9bcaa4>'u'||null===_0x9bcaa4?this['removeAttribute'](_0x22d6cd):this['getAttribute'](_0x22d6cd)!==_0x9bcaa4['toString']()&&this['setAttribute'](_0x22d6cd,_0x9bcaa4['toString']());}['Wu'](t,_0x46e1c8){let _0x5cd630=tY(t);if(this['$'][_0x5cd630]!==_0x46e1c8){if(typeof _0x46e1c8>'u'||null===_0x46e1c8){let _0x37a67b=_0x50ad2a[t];this['$'][_0x5cd630]=void 0x0!==_0x37a67b?_0x37a67b:_0x46e1c8;}else this['$'][_0x5cd630]=_0x46e1c8;}}['Ye'](t,_0x193381){let _0x5c4b3e;if(this['jo'](t)){let _0x5719f8=this['Go'](t);try{_0x5c4b3e=_0x5719f8?.['normalize']?.(_0x193381)??_0x193381;}catch(_0x37ecd5){return void console['warn']('[uc-config]\x20normalize()\x20for\x20\x22'+t+'\x22\x20threw\x20an\x20error,\x20keeping\x20previous\x20value',_0x37ecd5);}}else _0x5c4b3e=((_0x363dfc,_0x320d2a)=>{if(!(typeof _0x320d2a>'u'||null===_0x320d2a))try{return _0x4344a2[_0x363dfc](_0x320d2a);}catch(_0x58a639){return console['error']('Invalid\x20value\x20for\x20config\x20key\x20\x22'+_0x363dfc+'\x22.',_0x58a639),_0x50ad2a[_0x363dfc];}})(t,_0x193381);let _0x2436fa=this,_0x377f1d=_0x41c834(t);_0x2436fa[_0x377f1d]!==_0x5c4b3e&&(this['Zu'](t,_0x2436fa[_0x377f1d],_0x5c4b3e),_0x2436fa[_0x377f1d]=_0x5c4b3e,this['qu'](t,_0x5c4b3e),this['Wu'](t,_0x5c4b3e),this['debugPrint']('\x22'+t+'\x22',_0x5c4b3e),this['jo'](t)||_0x3c2791(this['cfg']));}['pr'](t){return this[_0x41c834(t)]??this['$'][tY(t)];}['Zu'](t,_0xde6879,_0x24f983){this['cfg']['debug']&&_0x24f983!==_0xde6879&&'object'==typeof _0x24f983&&'object'==typeof _0xde6879&&JSON['stringify'](_0x24f983)===JSON['stringify'](_0xde6879)&&(console['warn']('[uc-config]\x20Option\x20\x22'+t+'\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'+t+'\x22\x20previous\x20value:',_0xde6879),console['warn']('[uc-config]\x20\x22'+t+'\x22\x20new\x20value:',_0x24f983));}['Ia'](t){let _0x5da2c3=t['configRegistry']['getAll']();this['ci']={},this['Ma']=new Set(_0x5da2c3['keys']());for(let [_0x3daf44,_0x6a2469]of this['Ut'])_0x5da2c3['has'](_0x3daf44)||(_0x6a2469(),this['Ut']['delete'](_0x3daf44));for(let [_0x429bec,_0x34bd5c]of _0x5da2c3){let _0x3f0840=tY(_0x429bec);if(_0x34bd5c['attribute']){let _0x4df0ce=this['Oa'](_0x429bec);for(let _0x3fde9d of _0x4df0ce)this['ci'][_0x3fde9d]=_0x429bec;}this['sharedCtx']['has'](_0x3f0840)||this['sharedCtx']['add'](_0x3f0840,_0x34bd5c['defaultValue']);let _0x2fb986=Object['getOwnPropertyDescriptor'](this,_0x429bec);if((!_0x2fb986||!_0x2fb986['set']||!_0x2fb986['get'])&&Object['defineProperty'](this,_0x429bec,{'set':_0x33d315=>{this['Ye'](_0x429bec,_0x33d315);},'get':()=>this['pr'](_0x429bec),'enumerable':!0x0,'configurable':!0x0}),!this['Ut']['has'](_0x429bec)){let _0xa6db26=this['sub'](_0x3f0840,_0xb225f2=>{this['Ye'](_0x429bec,_0xb225f2);},!0x1);this['Ut']['set'](_0x429bec,_0xa6db26);}}}['Yu'](){this['i']['when']('pluginManager',t=>{this['Ia'](t),this['dr']=t['onPluginsChange'](()=>{this['Ia'](t);});});}['Xu'](){this['li']=new MutationObserver(t=>{for(let _0x33105c of t)if('attributes'===_0x33105c['type']&&_0x33105c['attributeName']){let _0x176078=_0x33105c['attributeName'],_0x4cc825=_0x33105c['oldValue'],_0x362ea6=this['getAttribute'](_0x176078);if(_0x4cc825===_0x362ea6||_0x176078 in _0x18001a)continue;if(_0x176078 in this['ci']){let _0x46322b=this['ci'][_0x176078],_0x2b1eaa=this['Go'](_0x46322b);this['attributeChangedCallback'](_0x176078,_0x4cc825??'',_0x362ea6??_0x2b1eaa?.['defaultValue']??'');}}}),this['li']['observe'](this,{'attributes':!0x0,'attributeOldValue':!0x0});}['initCallback'](){super['initCallback']();let t=this;this['Yu'](),this['Xu']();for(let _0x456e75 of _0x4863f0)this['sub'](tY(_0x456e75),_0x3c707f=>{this['Ye'](_0x456e75,_0x3c707f);},!0x1);for(let _0x476167 of _0x59033d){let _0x314b9b=t[_0x476167]??this['$'][tY(_0x476167)];_0x314b9b!==_0x50ad2a[_0x476167]&&this['Ye'](_0x476167,_0x314b9b);let _0x42c19c=Object['getOwnPropertyDescriptor'](this,_0x476167);(!_0x42c19c||!_0x42c19c['set']||!_0x42c19c['get'])&&Object['defineProperty'](this,_0x476167,{'set':_0x14d627=>{this['Ye'](_0x476167,_0x14d627);},'get':()=>this['pr'](_0x476167)});}let _0x7b5c37=_0x4fef07=>{(({key:_0x391630,setValue:_0x11bf47,getValue:t,computationControllers:_0x537461})=>{for(let _0x5123f5 of _0x5a6072){if(!_0x5123f5['deps']['includes'](_0x391630))continue;let _0x23bf76={[_0x5123f5['key']]:()=>t(_0x5123f5['key'])};for(let _0x4adb08 of _0x5123f5['deps'])_0x23bf76[_0x4adb08]=()=>t(_0x4adb08);let _0x463d54,_0xfa93c8=new AbortController();_0x537461['get'](_0x5123f5['fn'])?.['abort'](),_0x537461['set'](_0x5123f5['fn'],_0xfa93c8);try{_0x463d54=_0x5123f5['fn'](_0x23bf76,{'signal':_0xfa93c8['signal']});}catch(_0x25471f){return _0x537461['get'](_0x5123f5['fn'])===_0xfa93c8&&_0x537461['delete'](_0x5123f5['fn']),void console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x5123f5['key']+'\x22',_0x25471f);}_0x1ac161(_0x463d54)?_0x463d54['then'](_0x28c37a=>{_0xfa93c8['signal']['aborted']||_0x11bf47(_0x5123f5['key'],_0x28c37a);})['catch'](_0x423988=>{_0xfa93c8['signal']['aborted']||console['error']('Failed\x20to\x20compute\x20value\x20for\x20\x22'+_0x5123f5['key']+'\x22',_0x423988);})['finally'](()=>{_0x537461['get'](_0x5123f5['fn'])===_0xfa93c8&&_0x537461['delete'](_0x5123f5['fn']);}):_0x11bf47(_0x5123f5['key'],_0x463d54);}})({'key':_0x4fef07,'setValue':this['Ye']['bind'](this),'getValue':this['pr']['bind'](this),'computationControllers':this['Gu']});};for(let _0x4216d4 of _0x59033d)this['sub'](tY(_0x4216d4),()=>_0x7b5c37(_0x4216d4));}['attributeChangedCallback'](t,_0x2e7156,_0x209d00){if(super['attributeChangedCallback'](t,_0x2e7156,_0x209d00),_0x2e7156===_0x209d00)return;let _0x26dde1=_0x18001a[t];_0x26dde1?this[_0x26dde1]=_0x209d00:this['i']['when']('pluginManager',_0x55e156=>{let _0x2f78c6=this['getAttribute'](t);if(_0x2f78c6&&_0x2f78c6!==_0x209d00)return;let _0x1fc0e4=this['ci'][t],_0x516618=_0x1fc0e4?_0x55e156['configRegistry']['get'](_0x1fc0e4):void 0x0;if(_0x1fc0e4&&_0x516618){let _0x225057=_0x516618['fromAttribute']?_0x516618['fromAttribute'](_0x209d00):_0x209d00;if(this['pr'](_0x1fc0e4)===_0x225057)return;this['Ye'](_0x1fc0e4,_0x225057);}});}['disconnectedCallback'](){super['disconnectedCallback'](),this['dr']&&(this['dr'](),this['dr']=void 0x0),this['li']&&(this['li']['disconnect'](),this['li']=void 0x0);for(let t of this['Ut']['values']())t();this['Ut']['clear']();}static get['observedAttributes'](){return[...super['observedAttributes'],...Object['keys'](_0x18001a)];}};for(let _0x138da9 of _0x59033d)_0x17a01e['prototype'][_0x138da9]=void 0x0;var _0x56f25b=class extends _0x21c1d2{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['dropzone']=!0x0,this['ui']='upload-file',this['Qu']=()=>{this['api']['initFlow']();};}static{this['styleAttrs']=[...super['styleAttrs'],'uc-simple-btn'];}['initCallback'](){super['initCallback'](),this['subConfigValue']('multiple',t=>{this['ui']=t?'upload-files':'upload-file';});}['render'](){return _0x19f5e4`<uc-drop-area .disabled=${!this['dropzone']}><button type="button" @click=${this['Qu']}><uc-icon name="upload"></uc-icon><span>${this['l10n'](this['ui'])}</span>${this['yield']('')}<div class="uc-visual-drop-area">${this['l10n']('drop-files-here')}</div></button></uc-drop-area>`;}};_0x507457([_0x4331b3({'attribute':'dropzone','type':Boolean})],_0x56f25b['prototype'],'dropzone',0x2),_0x507457([_0x511660()],_0x56f25b['prototype'],'ui',0x2);var _0x1cf859=class extends t1{constructor(){super(...arguments),this['Wo']=_0x36cc29();}['initCallback'](){this['activityType']=this['registration']?.['id']??null,this['Pa'](),super['initCallback']();}['willUpdate'](t){super['willUpdate'](t),t['has']('registration')&&(this['Pa'](),this['isActivityActive']&&(this['hr'](),this['La']()));}['Pa'](){this['registration']&&(this['Pn']()||this['registerActivity'](this['activityType']??'',{'onActivate':()=>this['La'](),'onDeactivate':()=>this['hr']()}));}async['La'](){await this['updateComplete'];let t=this['Wo']['value'];if(!t||!this['registration'])return;this['hr']();let _0x463304=this['$']['*currentActivityParams'];try{this['qo']=this['registration']['render'](t,_0x463304)??void 0x0;}catch(_0x49b433){console['error']('[Plugin\x20\x22'+this['registration']['pluginId']+'\x22]\x20Activity\x20render()\x20threw\x20an\x20error',_0x49b433);}}['hr'](){let t=this['Wo']['value'];if(t){try{this['qo']?.();}catch(_0x344780){console['error']('[Plugin\x20\x22'+this['registration']?.['pluginId']+'\x22]\x20Activity\x20dispose\x20threw\x20an\x20error',_0x344780);}this['qo']=void 0x0,t['replaceChildren']();}}['disconnectedCallback'](){this['hr'](),super['disconnectedCallback']();}['render'](){return _0x19f5e4`<div style="display: contents;" ${_0x2b12df(this['Wo'])}></div>`;}};_0x507457([_0x4331b3({'attribute':!0x1})],_0x1cf859['prototype'],'registration',0x2);var _0x589bcd=class extends _0x654125{constructor(){super(...arguments),this['mode']='modal',this['de']=[];}['initCallback'](){super['initCallback']();let t=this['i']['pluginManager'];t?.['onPluginsChange']&&(this['E']=t['onPluginsChange'](()=>this['Ra']())),this['Ra']();}['Ra'](){let t=this['i']['pluginManager'];this['de']=t?t['snapshot']()['activities']:[];}['disconnectedCallback'](){this['E']?.(),this['E']=void 0x0,super['disconnectedCallback']();}['render'](){return'inline'===this['mode']?_0x19f5e4`${_0xddcada(this['de'],t=>t['id'],t=>_0x19f5e4`<uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host>`)}`:_0x19f5e4`${_0xddcada(this['de'],t=>t['id'],t=>_0x19f5e4`<uc-modal id=${t['id']} strokes block-body-scrolling><uc-plugin-activity-host .registration=${t}></uc-plugin-activity-host></uc-modal>`)}`;}};function _0x1adf06(_0x37a846,_0x520545,t){return _0x37a846?_0x520545(_0x37a846):t?.(_0x37a846);}function _0x2a180b(..._0x305894){return _0x305894['reduce']((_0x37d380,t)=>{if('string'==typeof t)return _0x37d380[t]=!0x0,_0x37d380;for(let _0x4ccbf8 of Object['keys'](t))_0x37d380[_0x4ccbf8]=t[_0x4ccbf8];return _0x37d380;},{});}function _0x1390ae(..._0x206399){let _0x3f1cd5=_0x2a180b(..._0x206399);return Object['keys'](_0x3f1cd5)['reduce']((t,_0x29ce8d)=>(_0x3f1cd5[_0x29ce8d]&&t['push'](_0x29ce8d),t),[])['join']('\x20');}_0x507457([_0x4331b3({'type':String})],_0x589bcd['prototype'],'mode',0x2),_0x507457([_0x511660()],_0x589bcd['prototype'],'de',0x2);var _0x5af948=_0x30b0da=>_0x4e51d2['includes'](_0x30b0da);function _0x51ef01(_0x2d526d){return{'*originalUrl':null,'*loadingOperations':new Map(),'*faderEl':null,'*cropperEl':null,'*imgEl':null,'*imgContainerEl':null,'*networkProblems':!0x1,'*imageSize':null,'*editorTransformations':{},'*cropPresetList':[],'*currentAspectRatio':null,'*tabList':_0x4e51d2,'*tabId':_0x129f00['CROP'],'*on.retryNetwork':()=>{let _0x414e83=_0x2d526d['querySelectorAll']('img');for(let t of _0x414e83){let _0x3ab236=t['src'];t['src']=_0x195d3b,t['src']=_0x3ab236;}_0x2d526d['$']['*networkProblems']=!0x1;},'*on.apply':_0x12ff4d=>{if(!_0x12ff4d)return;let t=_0x2d526d['$']['*originalUrl'];if(!t)return void console['warn']('Original\x20URL\x20is\x20null,\x20cannot\x20apply\x20transformations');let _0x37472f=_0x525a54(_0x7dacaf(_0x12ff4d),'preview'),_0xc9071f={'originalUrl':t,'cdnUrlModifiers':_0x37472f,'cdnUrl':_0x32f032(t,_0x37472f),'transformations':_0x12ff4d};_0x2d526d['dispatchEvent'](new CustomEvent('apply',{'detail':_0xc9071f,'bubbles':!0x0,'composed':!0x0})),_0x2d526d['remove']();},'*on.cancel':()=>{_0x2d526d['remove'](),_0x2d526d['dispatchEvent'](new CustomEvent('cancel',{'bubbles':!0x0,'composed':!0x0}));}};}var _0x4d309a={'transition':'uc-transition','visible':'uc-visible','hidden':'uc-hidden'},_0xdbe6d2=class extends _0x654125{constructor(){super(...arguments),this['he']=!0x1,this['Ua']=_0x4d309a,this['$a']=_0x4d309a['visible'],this['Da']=_0x4d309a['hidden'],this['Zo']=!0x1,this['Fa']=!0x1;}set['visible'](t){this['he']=t,this['Na']();}get['visible'](){return this['he'];}set['styles'](t){this['Ua']=t,this['Zo']=!0x0,this['$a']=t['visible']??_0x4d309a['visible'],this['Da']=t['hidden']??_0x4d309a['hidden'];}get['styles'](){return this['Ua'];}['Na'](){this['style']['visibility']=this['he']?'inherit':'hidden',function(_0x2fd79c,..._0x262df9){let t=_0x2a180b(..._0x262df9);for(let _0x5cf94a of Object['keys'](t))_0x2fd79c['classList']['toggle'](_0x5cf94a,!!t[_0x5cf94a]);}(this,{[_0x4d309a['transition']]:!this['Zo'],[this['$a']]:this['he'],[this['Da']]:!this['he']}),this['toggleAttribute']('inert',!this['he']);}['Ju'](){this['Fa']||(this['Fa']=!0x0,this['dispatchEvent'](new CustomEvent('initial-render',{'bubbles':!0x0,'composed':!0x0})));}['initCallback'](){super['initCallback'](),this['classList']['toggle']('uc-initial',!0x0),this['Zo']||this['classList']['add'](_0x4d309a['transition']),this['Na'](),setTimeout(()=>{this['classList']['toggle']('uc-initial',!0x1),this['Ju']();},0x0);}};_0x507457([_0x4331b3({'type':Boolean})],_0xdbe6d2['prototype'],'visible',0x1),_0x507457([_0x4331b3({'attribute':!0x1})],_0xdbe6d2['prototype'],'styles',0x1);var _0x5877ef=class extends _0x654125{constructor(){super(...arguments),this['active']=!0x1,this['Xe']=_0x36cc29(),this['Yo']=!0x1,this['Xo']=()=>{let t=this['Xe']['value'];t&&(this['Va'](t),this['Yo']&&this['active']&&this['Qo']());};}['firstUpdated'](t){super['firstUpdated'](t),this['active']&&this['Qo']();}['updated'](t){super['updated'](t),t['has']('active')&&(this['active']?this['Qo']():this['ed']());}['Qo'](){let t=this['Xe']['value'];if(!t)return;this['Yo']=!0x0;let {width:_0x7c65ac}=this['getBoundingClientRect']();t['removeEventListener']('transitionend',this['Xo']),t['style']['transition']='transform\x201s',t['style']['opacity']='1',t['style']['transform']='translateX('+_0x7c65ac+'px)',t['addEventListener']('transitionend',this['Xo'],{'once':!0x0});}['ed'](){let t=this['Xe']['value'];t&&(this['Yo']=!0x1,t['removeEventListener']('transitionend',this['Xo']),this['Va'](t));}['Va'](t){t['style']['transition']='initial',t['style']['opacity']='0',t['style']['transform']='translateX(-101%)';}['render'](){return _0x19f5e4`<div class="uc-inner"><div class="uc-line" ${_0x2b12df(this['Xe'])}></div></div>`;}};_0x507457([_0x4331b3({'type':Boolean,'reflect':!0x0})],_0x5877ef['prototype'],'active',0x2);var _0x49d22e=_0x7f66ea(class extends _0x3698be{constructor(_0x4d935b){if(super(_0x4d935b),_0x4d935b['type']!==_0x181bc8||'class'!==_0x4d935b['name']||_0x4d935b['strings']?.['length']>0x2)throw Error('`classMap()`\x20can\x20only\x20be\x20used\x20in\x20the\x20`class`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x317a5e){return'\x20'+Object['keys'](_0x317a5e)['filter'](_0x18845d=>_0x317a5e[_0x18845d])['join']('\x20')+'\x20';}['update'](_0x4184f6,[_0x50daa6]){if(void 0x0===this['st']){this['st']=new Set(),void 0x0!==_0x4184f6['strings']&&(this['nt']=new Set(_0x4184f6['strings']['join']('\x20')['split'](/\s/)['filter'](_0x2508b2=>''!==_0x2508b2)));for(let _0x369aec in _0x50daa6)_0x50daa6[_0x369aec]&&!this['nt']?.['has'](_0x369aec)&&this['st']['add'](_0x369aec);return this['render'](_0x50daa6);}let t=_0x4184f6['element']['classList'];for(let _0xc95b99 of this['st'])_0xc95b99 in _0x50daa6||(t['remove'](_0xc95b99),this['st']['delete'](_0xc95b99));for(let _0x2c2f12 in _0x50daa6){let _0x43f8a2=!!_0x50daa6[_0x2c2f12];_0x43f8a2===this['st']['has'](_0x2c2f12)||this['nt']?.['has'](_0x2c2f12)||(_0x43f8a2?(t['add'](_0x2c2f12),this['st']['add'](_0x2c2f12)):(t['remove'](_0x2c2f12),this['st']['delete'](_0x2c2f12)));}return _0x3420cb;}}),_0x269935=_0x39520c=>_0x39520c??_0xbeb5f3,_0x15b79c=class extends _0x654125{constructor(){super(...arguments),this['text']='',this['icon']='',this['reverse']=!0x1,this['theme']='default',this['ariaRole']=void 0x0,this['ariaControls']='',this['titleProp']='',this['active']=!0x1;}['firstUpdated'](t){super['firstUpdated'](t),this['_a'](),this['Ba']();}['updated'](t){super['updated'](t),t['has']('reverse')&&this['_a'](),t['has']('theme')&&this['Ba']();}['_a'](){this['style']['flexDirection']=this['reverse']?'row-reverse':'';}['Ba'](){this['theme']&&'custom'!==this['theme']&&(this['className']='uc-'+this['theme']);}get['td'](){let t=this['Jo'];return{'uc-icon':!0x0,'uc-icon_left':!this['reverse'],'uc-icon_right':this['reverse'],'uc-icon_hidden':t,'uc-icon_single':this['rd']};}get['Jo'](){return!this['icon'];}get['rd'](){return!this['text']&&!this['Jo'];}['render'](){return _0x19f5e4`<button type="button" role=${_0x269935(this['ariaRole']||void 0x0)} aria-controls=${_0x269935(this['ariaControls']||void 0x0)} aria-label=${_0x269935(this['l10n'](this['titleProp']))} title=${_0x269935(this['l10n'](this['titleProp']))} ><uc-icon class=${_0x49d22e(this['td'])} name=${_0x269935(this['icon']||void 0x0)} ?hidden=${this['Jo']} ></uc-icon><div class="uc-text">${this['text']}</div></button>`;}};function _0x259ef3(_0x26a36c,_0x29b27d,t){let _0x48d659=window['devicePixelRatio'],_0x2fa2e6=Math['min'](Math['ceil'](_0x29b27d*_0x48d659),0xbb8),_0xd53a3e=_0x48d659>=0x2?'lightest':'normal';return _0x32f032(_0x26a36c,_0x525a54(_0x4d9366,_0x7dacaf(t),'quality/'+_0xd53a3e,'stretch/off/-/resize/'+_0x2fa2e6+'x','@clib/'+_0x119f00+'/'+_0x1042e2+'/uc-cloud-image-editor/'));}_0x507457([_0x4331b3({'type':String})],_0x15b79c['prototype'],'text',0x2),_0x507457([_0x4331b3({'type':String})],_0x15b79c['prototype'],'icon',0x2),_0x507457([_0x4331b3({'type':Boolean,'reflect':!0x0})],_0x15b79c['prototype'],'reverse',0x2),_0x507457([_0x4331b3({'type':String,'reflect':!0x0})],_0x15b79c['prototype'],'theme',0x2),_0x507457([_0x4331b3({'attribute':'aria-role'})],_0x15b79c['prototype'],'ariaRole',0x2),_0x507457([_0x4331b3({'attribute':'aria-controls'})],_0x15b79c['prototype'],'ariaControls',0x2),_0x507457([_0x4331b3({'attribute':'title-prop'})],_0x15b79c['prototype'],'titleProp',0x2),_0x507457([_0x4331b3({'type':Boolean,'noAccessor':!0x0})],_0x15b79c['prototype'],'active',0x2);var _0x2039ca=class extends _0x654125{constructor(){super(...arguments),this['za']='uc-backdrop-mask-'+_0x3a94a4['generateFastUid'](),this['mr']=!0x1,this['fi']=!0x1,this['ja']=_0x36cc29(),this['mi']=!0x1,this['gi']=null,this['qa']=t=>{this['Wa'](),this['vi']&&(t['stopPropagation'](),t['preventDefault'](),this['vi']=!0x1);},this['Za']=t=>{if(!this['vi']||!this['fr']||!this['ts'])return;t['stopPropagation'](),t['preventDefault']();let _0x162510=this['Re'];if(!_0x162510)return;let {x:_0x2c2c64,y:_0x42af01}=_0x162510['getBoundingClientRect'](),_0x94b41b=t['x']-_0x2c2c64,_0x1190c6=t['y']-_0x42af01,_0x513c58=_0x94b41b-this['fr'][0x0],_0x470eeb=_0x1190c6-this['fr'][0x1],{direction:_0x2fcd7e}=this['ts'],_0x4ecd61=this['pd'](_0x2fcd7e,[_0x513c58,_0x470eeb]);_0x4ecd61&&(this['$']['*cropBox']=_0x4ecd61);},this['Ya']=t=>{if(!this['xe'])return;let _0x2bca2e=Object['values'](this['xe'])['find'](_0x49ad56=>{if(!_0x49ad56||this['os'](_0x49ad56['direction']))return!0x1;let _0x3fbd9a=_0x49ad56['interactionNode']['getBoundingClientRect']();return function(_0x34d830,[_0xd4c9c3,t]){return _0x34d830['x']<=_0xd4c9c3&&_0xd4c9c3<=_0x34d830['x']+_0x34d830['width']&&_0x34d830['y']<=t&&t<=_0x34d830['y']+_0x34d830['height'];}({'x':_0x3fbd9a['x'],'y':_0x3fbd9a['y'],'width':_0x3fbd9a['width'],'height':_0x3fbd9a['height']},[t['x'],t['y']]);});this['Ha']=_0x2bca2e,this['Wa']();};}get['Re'](){return this['ja']['value']??null;}get['vi'](){return this['fi'];}set['vi'](t){this['fi']!==t&&(this['fi']=t,this['rs']());}['rs'](){this['pi']&&this['pi']['setAttribute']('class',_0x1390ae({'uc-guides--hidden':this['mr'],'uc-guides--visible':!this['mr']&&this['fi'],'uc-guides--semi-hidden':!this['mr']&&!this['fi']}));}['os'](t){let _0x3acffd=this['$']['*imageBox'];if(!_0x3acffd)return!0x1;if(''===t&&_0x3acffd['height']<=0x1&&_0x3acffd['width']<=0x1)return!0x0;let _0x500c99=_0x3acffd['height']<=0x1&&(t['includes']('n')||t['includes']('s')),_0x67681b=_0x3acffd['width']<=0x1&&(t['includes']('e')||t['includes']('w'));return _0x500c99||_0x67681b;}['od'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x9e3310,y:_0x569366,width:_0x3fc675,height:_0x39577b}=t,_0x441eea=this['Re'];if(!_0x441eea)return;let _0x26d1e1=_0x571e68('mask',{'id':this['za']}),_0x7098b7=_0x571e68('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'white'}),_0x4ebd2c=_0x571e68('rect',{'x':_0x9e3310,'y':_0x569366,'width':_0x3fc675,'height':_0x39577b,'fill':'black'});_0x26d1e1['appendChild'](_0x7098b7),_0x26d1e1['appendChild'](_0x4ebd2c);let _0x5cb163=_0x571e68('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'var(--color-image-background)','fill-opacity':0.85,'mask':'url(#'+this['za']+')'});_0x441eea['appendChild'](_0x5cb163),_0x441eea['appendChild'](_0x26d1e1),this['di']=_0x26d1e1,this['es']=_0x4ebd2c;}['sd'](){this['di']&&(this['di']['style']['display']='none',window['requestAnimationFrame'](()=>{this['di']&&(this['di']['style']['display']='block');}));}['nd'](){let t=this['$']['*cropBox'];if(!t)return;let {x:_0x5c7534,y:_0x5714fd,width:_0x4c0f91,height:_0x585cf2}=t;this['es']&&_0x5cca8a(this['es'],{'x':_0x5c7534,'y':_0x5714fd,'width':_0x4c0f91,'height':_0x585cf2});}['ad'](){let t=this['$']['*cropBox'];if(t&&this['pi']&&this['xe']){for(let _0x1e6833 of Object['values'](this['xe'])){if(!_0x1e6833)continue;let {direction:_0x2bbcde,pathNode:_0x201fb0,interactionNode:_0x18fc0d,groupNode:_0x27fb11}=_0x1e6833,_0x598184=''===_0x2bbcde,_0x1e2f65=0x2===_0x2bbcde['length'],{x:_0x41e077,y:_0x2e4990,width:_0x44633f,height:_0x5bdb8d}=t;if(_0x598184)_0x5cca8a(_0x18fc0d,{'x':_0x41e077,'y':_0x2e4990,'width':_0x44633f,'height':_0x5bdb8d});else{let _0x43ea94=_0x1be775(Math['min'](_0x44633f,_0x5bdb8d)/0x52/0x2,0x0,0x1),_0x3a1d6f=_0x1e2f65?_0x2b4a1d(t,_0x2bbcde,_0x43ea94):_0x57faa3(t,_0x2bbcde,_0x43ea94),_0x47a325=_0x3a1d6f['center'];if(!_0x47a325)continue;let _0x2b3945=Math['max'](0x18*_0x1be775(Math['min'](_0x44633f,_0x5bdb8d)/0x18/0x3,0x0,0x1),0x6);_0x5cca8a(_0x18fc0d,{'x':_0x47a325[0x0]-_0x2b3945,'y':_0x47a325[0x1]-_0x2b3945,'width':0x2*_0x2b3945,'height':0x2*_0x2b3945}),_0x5cca8a(_0x201fb0,{'d':_0x3a1d6f['d']});}let _0x97efb7=this['os'](_0x2bbcde);_0x27fb11['setAttribute']('class',_0x1390ae('uc-thumb',{'uc-thumb--hidden':_0x97efb7,'uc-thumb--visible':!_0x97efb7}));}_0x5cca8a(this['pi'],{'x':t['x']-0.5,'y':t['y']-0.5,'width':t['width']+0x1,'height':t['height']+0x1});}}['Ga'](t,_0x30bf63){let _0x261783=_0x571e68('g');_0x261783['classList']['add']('uc-thumb'),_0x261783['setAttribute']('with-effects','');let _0x2fd36c=_0x571e68('rect',{'fill':'transparent'}),_0x3097aa=_0x571e68('path',{'stroke':'currentColor','fill':'none','stroke-width':0x3});_0x261783['appendChild'](_0x3097aa),_0x261783['appendChild'](_0x2fd36c),t[_0x30bf63]={'direction':_0x30bf63,'pathNode':_0x3097aa,'interactionNode':_0x2fd36c,'groupNode':_0x261783},''===_0x30bf63&&(_0x261783['style']['cursor']='move'),_0x2fd36c['addEventListener']('pointerdown',this['ld']['bind'](this,_0x30bf63));}['cd'](){let t={};for(let _0x428ae7=0x0;_0x428ae7<0x3;_0x428ae7++)for(let _0x35181b=0x0;_0x35181b<0x3;_0x35181b++){let _0x4e214f=''+['n','','s'][_0x428ae7]+['w','','e'][_0x35181b];''!==_0x4e214f&&this['Ga'](t,_0x4e214f);}return this['Ga'](t,''),t;}['ud'](){let t=_0x571e68('svg'),_0x2a45a2=_0x571e68('rect',{'x':0x0,'y':0x0,'width':'100%','height':'100%','fill':'none','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.5});t['appendChild'](_0x2a45a2);for(let _0x30c06b=0x1;_0x30c06b<=0x2;_0x30c06b++){let _0x4d0c8a=_0x571e68('line',{'x1':_0x1b373d*_0x30c06b+'%','y1':'0%','x2':_0x1b373d*_0x30c06b+'%','y2':'100%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x4d0c8a);}for(let _0xf1b27a=0x1;_0xf1b27a<=0x2;_0xf1b27a++){let _0x4d5dfb=_0x571e68('line',{'x1':'0%','y1':_0x1b373d*_0xf1b27a+'%','x2':'100%','y2':_0x1b373d*_0xf1b27a+'%','stroke':'currentColor','stroke-width':0x1,'stroke-opacity':0.3});t['appendChild'](_0x4d5dfb);}return t['classList']['add']('uc-guides','uc-guides--semi-hidden'),t;}['dd'](){let t=this['Re'];if(!t)return;let _0x5a0653=document['createDocumentFragment'](),_0x33dc8d=this['ud']();_0x5a0653['appendChild'](_0x33dc8d);let _0x23d563=this['cd']();for(let {groupNode:_0x2e6102}of Object['values'](_0x23d563))_0x5a0653['appendChild'](_0x2e6102);t['appendChild'](_0x5a0653),this['xe']=_0x23d563,this['pi']=_0x33dc8d,this['rs']();}['ld'](t,_0x1fcd5f){if(!this['xe'])return;let _0x319b44=this['xe'][t];if(!_0x319b44||this['os'](t))return;let _0x558c0e=this['$']['*cropBox'],_0x484fc6=this['Re'];if(!_0x484fc6)return;let {x:_0xde1778,y:_0x582762}=_0x484fc6['getBoundingClientRect'](),_0x49f61e=_0x1fcd5f['x']-_0xde1778,_0x463f1c=_0x1fcd5f['y']-_0x582762;this['vi']=!0x0,this['ts']=_0x319b44,this['fr']=[_0x49f61e,_0x463f1c],this['Ka']={..._0x558c0e};}['pd'](t,_0x501303){let [_0x34e107,_0x4b3b59]=_0x501303,_0x44a5c5=this['$']['*imageBox'],_0x4a2086=this['Ka']??this['$']['*cropBox'],_0x713bec=this['$']['*currentAspectRatio'],_0x3a6f1c=_0x713bec?_0x713bec['width']/_0x713bec['height']:void 0x0;if(_0x4a2086=''===t?function({rect:_0x3bb11b,delta:[_0x3757d0,t],imageBox:_0x52f5c2}){return _0x27a84a({..._0x3bb11b,'x':_0x3bb11b['x']+_0x3757d0,'y':_0x3bb11b['y']+t},_0x52f5c2);}({'rect':_0x4a2086,'delta':[_0x34e107,_0x4b3b59],'imageBox':_0x44a5c5}):_0x3e1752({'rect':_0x4a2086,'delta':[_0x34e107,_0x4b3b59],'direction':t,'aspectRatio':_0x3a6f1c,'imageBox':_0x44a5c5}),Object['values'](_0x4a2086)['every'](_0x2731e1=>Number['isFinite'](_0x2731e1)&&_0x2731e1>=0x0))return _0x27a84a(_0x1f5c12(_0x4a2086),_0x44a5c5);console['error']('CropFrame\x20is\x20trying\x20to\x20create\x20invalid\x20rectangle',{'payload':_0x4a2086});}['Wa'](){let t=this['Ha'],_0x3f6f59=this['Re'];_0x3f6f59&&(_0x3f6f59['style']['cursor']=t?function(_0xd2895){return''===_0xd2895?'move':['e','w']['includes'](_0xd2895)?'ew-resize':['n','s']['includes'](_0xd2895)?'ns-resize':['nw','se']['includes'](_0xd2895)?'nwse-resize':'nesw-resize';}(t['direction']):'initial');}['Xa'](t){if(this['hi'])return void this['hi']['setAttribute']('href',t);let _0x371a69=this['Re'];if(!_0x371a69)return void(this['gi']=t);this['gi']=null;let _0x246578=document['createDocumentFragment'](),_0x58b1d8=_0x571e68('image',{'href':t});_0x58b1d8['setAttribute']('class','uc-cloud-mask'),_0x246578['appendChild'](_0x58b1d8),_0x371a69['appendChild'](_0x246578),this['hi']=_0x58b1d8;}['hd'](){let t=this['$']['*cropBox'];if(!t||!this['hi'])return;let {x:_0x4be2dd,y:_0x1db7df,width:_0x26c8f2,height:_0x33dabc}=t;_0x5cca8a(this['hi'],{'x':_0x4be2dd,'y':_0x1db7df,'height':_0x33dabc,'width':_0x26c8f2});}['ss'](){this['mi']&&(this['nd'](),this['ad'](),this['hd']());}['toggleThumbs'](t){if(this['xe'])for(let _0xc39f6a of Object['values'](this['xe'])){if(!_0xc39f6a)continue;let {groupNode:_0x47a228}=_0xc39f6a;_0x47a228['setAttribute']('class',_0x1390ae('uc-thumb',{'uc-thumb--hidden':!t,'uc-thumb--visible':t}));}}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['sd'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();});}),this['sub']('*cropBox',t=>{t&&(this['mr']=t['height']<=0x1||t['width']<=0x1,this['rs'](),this['mi']&&window['requestAnimationFrame'](()=>{this['ss']();}));}),this['subConfigValue']('cloudImageEditorMaskHref',t=>{t&&this['Xa'](t);}),document['addEventListener']('pointermove',this['Za'],!0x0),document['addEventListener']('pointerup',this['qa'],!0x0);}['firstUpdated'](t){super['firstUpdated'](t),this['fd']();}['fd'](){let t=this['Re'];if(t&&!this['mi']){if(this['od'](),this['dd'](),this['mi']=!0x0,t['addEventListener']('pointermove',this['Ya'],!0x0),this['gi']){let _0x49f097=this['gi'];this['gi']=null,this['Xa'](_0x49f097);}this['ss']();}}['disconnectedCallback'](){super['disconnectedCallback'](),this['Re']?.['removeEventListener']('pointermove',this['Ya'],!0x0),document['removeEventListener']('pointermove',this['Za'],!0x0),document['removeEventListener']('pointerup',this['qa'],!0x0);}['render'](){return _0x19f5e4`<svg class="uc-svg" xmlns="http://www.w3.org/2000/svg" ${_0x2b12df(this['ja'])}></svg>`;}};_0x507457([_0x511660()],_0x2039ca['prototype'],'fi',0x2);var _0x507dfb=class extends _0x654125{constructor(){super(),this['ctxOwner']=!0x0,this['Qe']={'width':0x0,'height':0x0},this['e']=null,this['_']=!0x1,this['se']=null,this['Ja']=_0x36cc29(),this['as']=_0x36cc29(),this['init$']={...this['init$'],'*padding':0x14,'*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['Qa']=_0x5184f3(this['tl']['bind'](this),0x12c),this['ns']=_0x57375b(()=>{!this['isConnected']||!this['_']||(this['ls'](),this['il'](),this['rl'](),this['cs'](),this['us']());},0x64);}['firstUpdated'](t){super['firstUpdated'](t),this['ls']();}['il'](){let _0x5169bc=function(_0x2d934e,_0x1bef01){let t={};for(let _0x15981f of _0x1bef01){let _0x8672ea=_0x2d934e[_0x15981f];(Object['hasOwn'](_0x2d934e,_0x15981f)||void 0x0!==_0x8672ea)&&(t[_0x15981f]=_0x8672ea);}return t;}(this['$']['*editorTransformations'],Object['keys'](this['$']['*operations'])),_0x49bf4b={...this['$']['*operations'],..._0x5169bc};this['$']['*operations']=_0x49bf4b;}['ls'](){let t=this['Ja']['value'];if(!t)return;let _0x2df94e=t['getContext']('2d'),_0x2a2188=this['offsetWidth'],_0x436584=this['offsetHeight'],_0x1de9ce=window['devicePixelRatio'];t['style']['width']=_0x2a2188+'px',t['style']['height']=_0x436584+'px',t['width']=_0x2a2188*_0x1de9ce,t['height']=_0x436584*_0x1de9ce,_0x2df94e?.['scale'](_0x1de9ce,_0x1de9ce),this['fe']=t,this['e']=_0x2df94e;}['rl'](){if(!this['_']||!this['se'])return;let _0x3460ae,t=this['se'],_0x1e2797=this['$']['*padding'],{rotate:_0x50f10a}=this['$']['*operations'],_0x19d893=this['offsetWidth'],_0x36bae1=this['offsetHeight'],_0x136983=_0x3d853a({'width':t['naturalWidth'],'height':t['naturalHeight']},_0x50f10a);if(_0x136983['width']>_0x19d893-0x2*_0x1e2797||_0x136983['height']>_0x36bae1-0x2*_0x1e2797){let _0x466836=_0x136983['width']/_0x136983['height'];if(_0x466836>_0x19d893/_0x36bae1){let _0x4448b6=_0x19d893-0x2*_0x1e2797,_0x403c45=_0x4448b6/_0x466836;_0x3460ae={'x':0x0+_0x1e2797,'y':_0x1e2797+(_0x36bae1-0x2*_0x1e2797)/0x2-_0x403c45/0x2,'width':_0x4448b6,'height':_0x403c45};}else{let _0x4b9fc2=_0x36bae1-0x2*_0x1e2797,_0x9e938b=_0x4b9fc2*_0x466836;_0x3460ae={'x':_0x1e2797+(_0x19d893-0x2*_0x1e2797)/0x2-_0x9e938b/0x2,'y':0x0+_0x1e2797,'width':_0x9e938b,'height':_0x4b9fc2};}}else{let {width:_0x1e7085,height:_0x3f9169}=_0x136983;_0x3460ae={'x':_0x1e2797+(_0x19d893-0x2*_0x1e2797)/0x2-_0x1e7085/0x2,'y':_0x1e2797+(_0x36bae1-0x2*_0x1e2797)/0x2-_0x3f9169/0x2,'width':_0x1e7085,'height':_0x3f9169};}this['$']['*imageBox']=_0x1f5c12(_0x3460ae);}['cs'](){let t=this['$']['*cropBox'],_0x157f2e=this['$']['*imageBox'],{rotate:_0x17b2c8}=this['$']['*operations'],_0x5bfe7d=this['$']['*editorTransformations']['crop'],{width:_0x42e3ca,x:_0x235514,y:_0x14cb7b}=_0x157f2e;if(_0x5bfe7d){let {dimensions:[_0x508cf7,_0x5f8bee],coords:[_0x3b7732,_0x516e80]}=_0x5bfe7d,{width:_0xb03faa}=_0x3d853a(this['Qe'],_0x17b2c8),_0x377005=_0x42e3ca/_0xb03faa;t=_0x27a84a(_0x1f5c12({'x':_0x235514+_0x3b7732*_0x377005,'y':_0x14cb7b+_0x516e80*_0x377005,'width':_0x508cf7*_0x377005,'height':_0x5f8bee*_0x377005}),_0x157f2e);}let _0x5696dd=this['$']['*currentAspectRatio'],_0x57129a=_0x5696dd?_0x5696dd['width']/_0x5696dd['height']:void 0x0;if(!function(_0x1ddd40,_0x3a6feb){return _0x1ddd40['x']>=_0x3a6feb['x']&&_0x1ddd40['y']>=_0x3a6feb['y']&&_0x1ddd40['x']+_0x1ddd40['width']<=_0x3a6feb['x']+_0x3a6feb['width']&&_0x1ddd40['y']+_0x1ddd40['height']<=_0x3a6feb['y']+_0x3a6feb['height'];}(t,_0x157f2e)||_0x57129a&&!function(_0x353365,_0x5b74cb){return Math['abs'](_0x353365['width']/_0x353365['height']-_0x5b74cb)<0.1;}(t,_0x57129a)){let _0x588857=_0x157f2e['width']/_0x157f2e['height'],_0xbba3ad=_0x157f2e['width'],_0x3de864=_0x157f2e['height'];_0x57129a&&(_0x588857>_0x57129a?_0xbba3ad=Math['min'](_0x157f2e['height']*_0x57129a,_0x157f2e['width']):_0x3de864=Math['min'](_0x157f2e['width']/_0x57129a,_0x157f2e['height'])),t={'x':_0x157f2e['x']+_0x157f2e['width']/0x2-_0xbba3ad/0x2,'y':_0x157f2e['y']+_0x157f2e['height']/0x2-_0x3de864/0x2,'width':_0xbba3ad,'height':_0x3de864};}this['$']['*cropBox']=_0x27a84a(_0x1f5c12(t),_0x157f2e);}['md'](){let t=this['e'];if(!t)return;let _0x28fae4=this['se'];if(!_0x28fae4)return;let _0x1f6343=this['$']['*imageBox'],{mirror:_0x58cfcc,flip:_0x45d4fa,rotate:_0x9225aa}=this['$']['*operations'],_0x1430ca=_0x3d853a({'width':_0x1f6343['width'],'height':_0x1f6343['height']},_0x9225aa);t['save'](),t['translate'](_0x1f6343['x']+_0x1f6343['width']/0x2,_0x1f6343['y']+_0x1f6343['height']/0x2),t['rotate'](_0x9225aa*Math['PI']*-0x1/0xb4),t['scale'](_0x58cfcc?-0x1:0x1,_0x45d4fa?-0x1:0x1),t['drawImage'](_0x28fae4,-_0x1430ca['width']/0x2,-_0x1430ca['height']/0x2,_0x1430ca['width'],_0x1430ca['height']),t['restore']();}['us'](){if(!(this['_']&&this['se']&&this['fe']&&this['e']))return;let t=this['fe'];this['e']['clearRect'](0x0,0x0,t['width'],t['height']),this['md']();}['gd']({fromViewer:t}){this['se']&&(this['as']['value']?.['toggleThumbs'](!0x0),this['vd'](),setTimeout(()=>{this['className']=_0x1390ae({'uc-active_from_viewer':t,'uc-active_from_editor':!t,'uc-inactive_to_editor':!0x1});}));}['ol'](){let t=this['$']['*cropBox'],_0x3970d6=this['$']['*imageBox'],{rotate:_0x1eff04}=this['$']['*operations'],{width:_0x1dea0e,height:_0x464948}=_0x3970d6,{width:_0x1dab9b,height:_0x253499}=_0x3d853a(this['Qe'],_0x1eff04),{width:_0x40cacb,height:_0x1be86f}=t,_0x56d08d=_0x1dea0e/_0x1dab9b,_0x1f3490=_0x464948/_0x253499;return[_0x1be775(Math['round'](_0x40cacb/_0x56d08d),0x1,_0x1dab9b),_0x1be775(Math['round'](_0x1be86f/_0x1f3490),0x1,_0x253499)];}['yd'](){let t=this['$']['*cropBox'],_0x4a4905=this['$']['*imageBox'],{rotate:_0x4887a3}=this['$']['*operations'],{width:_0x2f2289,height:_0x55a578,x:_0x2604a4,y:_0x40d002}=_0x4a4905,{width:_0x3983fb,height:_0x3da017}=_0x3d853a(this['Qe'],_0x4887a3),{x:_0x4ce115,y:_0x35c521}=t,_0x348288=_0x2f2289/_0x3983fb,_0x49e9=_0x55a578/_0x3da017,_0x3f4788=this['ol'](),_0x43daf0={'dimensions':_0x3f4788,'coords':[_0x1be775(Math['round']((_0x4ce115-_0x2604a4)/_0x348288),0x0,_0x3983fb-_0x3f4788[0x0]),_0x1be775(Math['round']((_0x35c521-_0x40d002)/_0x49e9),0x0,_0x3da017-_0x3f4788[0x1])]};if(function(_0x5ee534){return!_0x5ee534||[({dimensions:t,coords:_0x35324f})=>[...t,..._0x35324f]['every'](_0x501dfe=>Number['isInteger'](_0x501dfe)&&Number['isFinite'](_0x501dfe)),({dimensions:t,coords:_0x1c5111})=>t['every'](_0x10b2be=>_0x10b2be>0x0)&&_0x1c5111['every'](_0x11771f=>_0x11771f>=0x0)]['every'](t=>t(_0x5ee534));}(_0x43daf0))return _0x3f4788[0x0]!==_0x3983fb||_0x3f4788[0x1]!==_0x3da017?_0x43daf0:void 0x0;console['error']('Cropper\x20is\x20trying\x20to\x20create\x20invalid\x20crop\x20object',{'payload':_0x43daf0});}['tl'](){if(!this['isConnected']||!this['Qe'])return;let {rotate:_0x3fe8c3,mirror:_0x18eeb9,flip:_0x786e9a}=this['$']['*operations'],_0xb98b79=this['yd'](),_0x4eab6a={...this['$']['*editorTransformations'],'crop':_0xb98b79,'rotate':_0x3fe8c3,'mirror':_0x18eeb9,'flip':_0x786e9a};this['$']['*editorTransformations']=_0x4eab6a;}['setValue'](t,_0x40bee8){this['$']['*operations']={...this['$']['*operations'],[t]:_0x40bee8},this['_']&&(this['rl'](),this['cs'](),this['us']());}['getValue'](t){return this['$']['*operations'][t];}async['activate'](t,{fromViewer:_0x3fc14a}={}){if(!this['_']){this['_']=!0x0,await this['updateComplete'],this['ls'](),this['Qe']=t,this['removeEventListener']('transitionend',this['sl']);try{let _0x57c417=this['$']['*originalUrl'],_0x1b0847=this['$']['*editorTransformations'];this['se']=await this['bd'](_0x57c417,_0x1b0847),this['il'](),this['ns'](),this['gd']({'fromViewer':_0x3fc14a});}catch(_0x11e4b9){console['error']('Failed\x20to\x20activate\x20cropper',{'error':_0x11e4b9}),this['telemetryManager']['sendEventError'](_0x11e4b9,'cloud\x20editor\x20image.\x20Failed\x20to\x20activate\x20cropper');}this['s']=new ResizeObserver(_0x2f155f=>{let [_0x3346bd]=_0x2f155f;_0x3346bd&&_0x3346bd['contentRect']['width']>0x0&&_0x3346bd['contentRect']['height']>0x0&&this['_']&&this['se']&&this['ns']();}),this['s']['observe'](this);}}['deactivate']({reset:t=!0x1}={}){this['_']&&(!t&&this['tl'](),this['_']=!0x1,this['wd'](),this['className']=_0x1390ae({'uc-active_from_viewer':!0x1,'uc-active_from_editor':!0x1,'uc-inactive_to_editor':!0x0}),this['as']['value']?.['toggleThumbs'](!0x1),this['addEventListener']('transitionend',this['sl'],{'once':!0x0}),this['s']?.['disconnect']());}['wd'](){let t=this['ol'](),_0x2941b5=this['$']['*cropBox'],_0x4fb370=Math['min'](this['offsetWidth'],t[0x0])/_0x2941b5['width'],_0x4c3953=Math['min'](this['offsetHeight'],t[0x1])/_0x2941b5['height'],_0x2a000f=Math['min'](_0x4fb370,_0x4c3953),_0x5e4b3f=_0x2941b5['x']+_0x2941b5['width']/0x2,_0x544457=_0x2941b5['y']+_0x2941b5['height']/0x2;this['style']['transform']='scale('+_0x2a000f+')\x20translate('+(this['offsetWidth']/0x2-_0x5e4b3f)/_0x2a000f+'px,\x20'+(this['offsetHeight']/0x2-_0x544457)/_0x2a000f+'px)',this['style']['transformOrigin']=_0x5e4b3f+'px\x20'+_0x544457+'px';}['vd'](){let t=this['$']['*cropBox'],_0x3539ce=t['x']+t['width']/0x2,_0x4d78d5=t['y']+t['height']/0x2;this['style']['transform']='scale(1)',this['style']['transformOrigin']=_0x3539ce+'px\x20'+_0x4d78d5+'px';}['sl'](){this['_']||(this['se']=null);}async['bd'](t,_0x58515a){let _0x10d577=this['offsetWidth'];_0x58515a={..._0x58515a,'crop':void 0x0,'rotate':void 0x0,'flip':void 0x0,'mirror':void 0x0};let _0xe51d2b=await this['proxyUrl'](_0x259ef3(t,_0x10d577,_0x58515a)),{promise:_0x1ff738,cancel:_0x497191,image:_0x1ec32b}=_0x195ff8(_0xe51d2b),_0x4cf2f2=this['$t'](_0xe51d2b);return _0x1ec32b['addEventListener']('load',_0x4cf2f2,{'once':!0x0}),_0x1ec32b['addEventListener']('error',_0x4cf2f2,{'once':!0x0}),this['b']?.(),this['b']=_0x497191,_0x1ff738['then'](()=>_0x1ec32b)['catch'](_0x18ae11=>(console['error']('Failed\x20to\x20load\x20image',{'error':_0x18ae11}),this['$']['*networkProblems']=!0x0,_0x1ec32b));}['$t'](t){let _0x67810='crop',_0xd0e833=this['$']['*loadingOperations'],_0x2833e3=_0xd0e833['get'](_0x67810);return _0x2833e3||(_0x2833e3=new Map(),_0xd0e833['set'](_0x67810,_0x2833e3)),_0x2833e3['get'](t)||(_0x2833e3['set'](t,!0x0),this['$']['*loadingOperations']=_0xd0e833),()=>{let _0xa7708d=_0xd0e833['get'](_0x67810);_0xa7708d?.['has'](t)&&(_0xa7708d['delete'](t),this['$']['*loadingOperations']=_0xd0e833);};}['initCallback'](){super['initCallback'](),this['sub']('*imageBox',()=>{this['us']();}),this['sub']('*cropBox',()=>{this['se']&&this['Qa']();}),this['sub']('*currentAspectRatio',()=>{this['cs']();}),setTimeout(()=>{this['sub']('*networkProblems',t=>{t||this['_']&&this['Qe']&&this['activate'](this['Qe'],{'fromViewer':!0x1});});},0x0);}['disconnectedCallback'](){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['se']&&(this['se']=null);}['render'](){return _0x19f5e4`<canvas class="uc-canvas" ${_0x2b12df(this['Ja'])}></canvas><uc-crop-frame ${_0x2b12df(this['as'])}></uc-crop-frame>`;}};function _0x31e896(_0x28ce25,_0x35b4d6,t){let _0x56bd8e=t-0x1,_0x3155b7=new Array(t);for(let _0x252ae3=_0x56bd8e;_0x252ae3>=0x0;_0x252ae3-=0x1)_0x3155b7[_0x252ae3]=Math['ceil']((_0x252ae3*_0x35b4d6+(_0x56bd8e-_0x252ae3)*_0x28ce25)/_0x56bd8e);return _0x3155b7;}function _0xacd28a(_0x540805,_0x1e9ab4){let t=_0x3bd893[_0x540805]['keypointsNumber'],{range:_0x3cf104,zero:_0x445a95}=_0x3bd893[_0x540805];return[...new Set([..._0x31e896(_0x3cf104[0x0],_0x445a95,t+0x1),..._0x31e896(_0x445a95,_0x3cf104[0x1],t+0x1),_0x445a95,_0x1e9ab4])]['sort']((_0x14d11e,_0x137e1e)=>_0x14d11e-_0x137e1e);}_0x507457([_0x511660()],_0x507dfb['prototype'],'se',0x2);var _0x46dbd8=class extends _0x654125{constructor(){super(),this['_']=!0x1,this['ds']=!0x0,this['n']='initial',this['nl']={},this['Ue']=[],this['al']=0x0,this['cl']=_0x36cc29(),this['gr']=_0x36cc29(),this['classList']['add']('uc-inactive_to_cropper'),this['ll']=_0x5184f3(async(t,_0x3cc1ad,_0x4b50e3)=>{let _0x2c3294=()=>!this['ul'](t,_0x3cc1ad)||this['Pt']!==_0x4b50e3||!!this['Ue']['find'](_0x59763d=>_0x59763d['value']===_0x4b50e3);if(_0x2c3294())return;let _0x48eb04=await this['dl'](t,_0x4b50e3),_0x2f375b=new Image();_0x2f375b['src']=_0x48eb04['src'];let _0x3aa0a7=this['$t'](_0x48eb04['src']);_0x2f375b['addEventListener']('load',_0x3aa0a7,{'once':!0x0}),_0x2f375b['addEventListener']('error',_0x3aa0a7,{'once':!0x0}),_0x48eb04['image']=_0x2f375b,_0x2f375b['classList']['add']('uc-fader-image'),_0x2f375b['addEventListener']('load',()=>{if(_0x2c3294())return;let _0x24c202=this['Ue'],_0x1280aa=_0x24c202['findIndex'](_0x220184=>_0x220184['value']>_0x4b50e3);-0x1===_0x1280aa&&(_0x1280aa=_0x24c202['length']);let _0x5a771b=_0x24c202[_0x1280aa]?.['image'],_0x452d41=this['gr']['value'];!_0x452d41||_0x5a771b&&!_0x452d41['contains'](_0x5a771b)||(_0x24c202['splice'](_0x1280aa,0x0,_0x48eb04),_0x5a771b?_0x452d41['insertBefore'](_0x2f375b,_0x5a771b):_0x452d41['appendChild'](_0x2f375b),this['fs'](t,_0x4b50e3));},{'once':!0x0}),_0x2f375b['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});},0x258);}['$t'](t){let _0x5e0de9=this['n'],_0x2d2b56=this['$']['*loadingOperations'];_0x2d2b56['has'](_0x5e0de9)||_0x2d2b56['set'](_0x5e0de9,new Map());let _0x5271f3=_0x2d2b56['get'](_0x5e0de9);return _0x5271f3&&!_0x5271f3['get'](t)&&(_0x5271f3['set'](t,!0x0),this['$']['*loadingOperations']=_0x2d2b56),()=>{let _0x459b82=_0x2d2b56['get'](_0x5e0de9);_0x459b82?.['has'](t)&&(_0x459b82['delete'](t),this['$']['*loadingOperations']=_0x2d2b56);};}['pl'](){window['cancelAnimationFrame'](this['al']),this['al']=window['requestAnimationFrame'](()=>{for(let t of this['Ue']){let {image:_0x29f4b1}=t;_0x29f4b1&&(_0x29f4b1['style']['opacity']=t['opacity']['toString'](),_0x29f4b1['style']['zIndex']=t['zIndex']['toString']());}});}['Je']({url:t=this['Dt'],filter:_0x39f2a5=this['m']??void 0x0,operation:_0x2b6f2f,value:_0x2cc7b1}={}){if(!t)throw new Error('URL\x20is\x20not\x20defined');let _0x1a28df={...this['nl']};_0x2b6f2f&&('filter'===_0x2b6f2f?_0x39f2a5&&'number'==typeof _0x2cc7b1&&(_0x1a28df['filter']={'name':_0x39f2a5,'amount':_0x2cc7b1}):'number'==typeof _0x2cc7b1&&(_0x1a28df[_0x2b6f2f]=_0x2cc7b1));let _0x593e91=this['offsetWidth'];return this['proxyUrl'](_0x259ef3(t,_0x593e91,_0x1a28df));}async['dl'](t,_0x2e20b1){return{'src':await this['Je']({'operation':t,'value':_0x2e20b1}),'image':void 0x0,'opacity':0x0,'zIndex':0x0,'value':_0x2e20b1};}['ul'](t,_0x4902b4){return this['n']===t&&this['m']===_0x4902b4;}['set'](t){let _0x3aa5dd='string'==typeof t?parseInt(t,0xa):t;!function(_0x4f5cf8){return'string'==typeof _0x4f5cf8&&_0x4f5cf8 in _0x3bd893;}(this['n'])||!Number['isFinite'](_0x3aa5dd)||(this['fs'](this['n'],_0x3aa5dd),this['ll'](this['n'],this['m'],_0x3aa5dd));}['fs'](t,_0xbb2d4b){this['n']=t,this['Pt']=_0xbb2d4b;let {zero:_0x361ae6}=_0x3bd893[t],_0x1ad3c4=this['Ue']['map'](_0x542955=>_0x542955['value']),_0x502e8a=function(_0x4a54b2,_0x124906,t){let _0x3c483d=function(_0x19ac31){let _0x312d58=[];for(let t=0x0;t<_0x19ac31['length']-0x1;t+=0x1){let _0x3dfa9e=_0x19ac31[t],_0x46cd4e=_0x19ac31[t+0x1];'number'==typeof _0x3dfa9e&&'number'==typeof _0x46cd4e&&_0x312d58['push']([_0x3dfa9e,_0x46cd4e]);}return _0x312d58;}(_0x4a54b2)['find'](([_0x41c2da,_0xb498e0])=>_0x41c2da<=_0x124906&&_0x124906<=_0xb498e0);if(!_0x3c483d)return _0x4a54b2['map'](()=>0x0);let [_0x3c2323,_0x158a3e]=_0x3c483d;return _0x4a54b2['map'](_0x5d9eaf=>{let _0xd56476=Math['abs'](_0x3c2323-_0x158a3e)||0x1,_0x4a60bf=Math['abs'](_0x124906-_0x3c2323)/_0xd56476;return _0x3c2323===_0x5d9eaf?_0x124906>t?0x1:0x1-_0x4a60bf:_0x158a3e===_0x5d9eaf?_0x124906>=t?_0x4a60bf:0x1:0x0;});}(_0x1ad3c4,_0xbb2d4b,_0x361ae6),_0x4c475c=function(_0x13c56f,_0x453e16){return _0x13c56f['map']((t,_0x3b01a3)=>t<_0x453e16?_0x13c56f['length']-_0x3b01a3:_0x3b01a3);}(_0x1ad3c4,_0x361ae6);this['Ue']['forEach']((_0x26022e,_0x7cc647)=>{let _0x2fbdef=_0x502e8a[_0x7cc647],_0x32242a=_0x4c475c[_0x7cc647];'number'==typeof _0x2fbdef&&(_0x26022e['opacity']=_0x2fbdef),'number'==typeof _0x32242a&&(_0x26022e['zIndex']=_0x32242a);}),this['pl']();}['hl'](){let t=new Image();return t['classList']['add']('uc-fader-image','uc-fader-image--preview'),t['style']['opacity']='0',t;}async['Td'](){this['a']=this['a']||this['hl']();let t=this['a'];t&&this['fl'](t);let {images:_0x4dbea0,promise:_0x137372,cancel:_0xc64c62}=_0xd97e15(this['Ue']['map'](_0x4dbae2=>_0x4dbae2['src']));_0x4dbea0['forEach'](_0x5524fb=>{let _0x48dcc2=this['$t'](_0x5524fb['src']);_0x5524fb['addEventListener']('load',_0x48dcc2),_0x5524fb['addEventListener']('error',_0x48dcc2);}),this['ps']=()=>{_0xc64c62(),this['ps']=void 0x0;};let _0x1d5e9e=this['n'],_0x59d315=this['m'];if(await _0x137372,this['_']&&this['ul'](_0x1d5e9e,_0x59d315)){let _0xc21650=this['gr']['value'];if(!_0xc21650)return;_0xc21650['replaceChildren'](),this['Ue']['forEach']((_0x343b81,_0x5653cd)=>{let _0x2343ec=_0x4dbea0[_0x5653cd];_0x2343ec&&(_0x2343ec['classList']['add']('uc-fader-image'),_0x343b81['image']=_0x2343ec,_0xc21650['appendChild'](_0x2343ec));}),this['pl']();}}async['setTransformations'](t){if(this['nl']=t,this['a']){let _0x5eb274=await this['Je'](),_0x303092=this['$t'](_0x5eb274);this['a']['src']=_0x5eb274,this['a']['addEventListener']('load',_0x303092,{'once':!0x0}),this['a']['addEventListener']('error',_0x303092,{'once':!0x0}),this['a']['style']['opacity']='1',this['a']['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}}async['preload']({url:t,filter:_0x548f,operation:_0x25d228,value:_0x3f78a8}){if(!_0x25d228||'number'!=typeof _0x3f78a8)return;this['hs']?.();let _0x5d49c9=_0xacd28a(_0x25d228,_0x3f78a8),{cancel:_0x222375}=_0xd97e15(await Promise['all'](_0x5d49c9['map'](_0x2428d5=>this['Je']({'url':t,'filter':_0x548f,'operation':_0x25d228,'value':_0x2428d5}))));this['hs']=_0x222375;}['Ed'](t){let _0x5227c6=this['a']||this['hl']();if(this['fl'](_0x5227c6),this['a']=_0x5227c6,_0x5227c6['src']===t)return _0x5227c6['style']['opacity']='1',_0x5227c6['style']['transform']='scale(1)',void(this['className']=_0x1390ae({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));_0x5227c6['style']['opacity']='0';let _0x3d7993=this['$t'](t);_0x5227c6['addEventListener']('error',_0x3d7993,{'once':!0x0}),_0x5227c6['src']=t,_0x5227c6['addEventListener']('load',()=>{_0x3d7993(),_0x5227c6&&(_0x5227c6['style']['opacity']='1',_0x5227c6['style']['transform']='scale(1)',this['className']=_0x1390ae({'uc-active_from_viewer':this['yi'],'uc-active_from_cropper':!this['yi'],'uc-inactive_to_cropper':!0x1}));},{'once':!0x0}),_0x5227c6['addEventListener']('error',()=>{this['$']['*networkProblems']=!0x0;},{'once':!0x0});}async['activate']({url:t,operation:_0xf0cc6a,value:_0x30d9fc,filter:_0x1f0ed4,fromViewer:_0x58abc7}){if(this['_']=!0x0,this['ds']=!0x1,await this['updateComplete'],this['Dt']=t,this['n']=_0xf0cc6a??'initial',this['Pt']=_0x30d9fc,this['m']=_0x1f0ed4,this['yi']=_0x58abc7,'number'!=typeof _0x30d9fc&&!_0x1f0ed4){let _0x25e87e=await this['Je']({'operation':_0xf0cc6a,'value':_0x30d9fc});return this['Ed'](_0x25e87e),void this['ms']();}!_0xf0cc6a||'number'!=typeof _0x30d9fc||(this['Ue']=await Promise['all'](_0xacd28a(_0xf0cc6a,_0x30d9fc)['map'](_0x2451ad=>this['dl'](_0xf0cc6a,_0x2451ad))),this['fs'](_0xf0cc6a,_0x30d9fc),this['Td']());}['deactivate']({hide:t=!0x0}={}){this['_']=!0x1,this['ps']?.(),this['hs']?.(),t&&!this['ds']?(this['ds']=!0x0,this['a']&&(this['a']['style']['transform']='scale(1)'),this['className']=_0x1390ae({'uc-active_from_viewer':!0x1,'uc-active_from_cropper':!0x1,'uc-inactive_to_cropper':!0x0}),this['addEventListener']('transitionend',()=>{this['ms']();},{'once':!0x0})):this['ms']();}['fl'](t){let _0x5aefbc=this['cl']['value'];_0x5aefbc&&(_0x5aefbc['contains'](t)||_0x5aefbc['appendChild'](t));}['ms'](){this['gr']['value']?.['replaceChildren']();}['render'](){return _0x19f5e4`<div class="uc-fader-preview-host" ${_0x2b12df(this['cl'])}></div><div class="uc-fader-layers-host" ${_0x2b12df(this['gr'])}></div>`;}},_0x3d68bf='important',_0x2bb758='\x20!'+_0x3d68bf,_0xf4a83f=_0x7f66ea(class extends _0x3698be{constructor(_0x553aa7){if(super(_0x553aa7),_0x553aa7['type']!==_0x181bc8||'style'!==_0x553aa7['name']||_0x553aa7['strings']?.['length']>0x2)throw Error('The\x20`styleMap`\x20directive\x20must\x20be\x20used\x20in\x20the\x20`style`\x20attribute\x20and\x20must\x20be\x20the\x20only\x20part\x20in\x20the\x20attribute.');}['render'](_0x3ddd9d){return Object['keys'](_0x3ddd9d)['reduce']((_0xa734db,t)=>{let _0xd9767a=_0x3ddd9d[t];return null==_0xd9767a?_0xa734db:_0xa734db+((t=t['includes']('-')?t:t['replace'](/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,'-$&')['toLowerCase']())+':'+_0xd9767a+';');},'');}['update'](_0x30c8a6,[_0x125c30]){let {style:t}=_0x30c8a6['element'];if(void 0x0===this['ft'])return this['ft']=new Set(Object['keys'](_0x125c30)),this['render'](_0x125c30);for(let _0x2c2607 of this['ft'])_0x125c30[_0x2c2607]??(this['ft']['delete'](_0x2c2607),_0x2c2607['includes']('-')?t['removeProperty'](_0x2c2607):t[_0x2c2607]=null);for(let _0x11004e in _0x125c30){let _0x29e080=_0x125c30[_0x11004e];if(null!=_0x29e080){this['ft']['add'](_0x11004e);let _0x5b878e='string'==typeof _0x29e080&&_0x29e080['endsWith'](_0x2bb758);_0x11004e['includes']('-')||_0x5b878e?t['setProperty'](_0x11004e,_0x5b878e?_0x29e080['slice'](0x0,-0xb):_0x29e080,_0x5b878e?_0x3d68bf:''):t[_0x11004e]=_0x29e080;}}return _0x3420cb;}}),_0x5a66df=class extends _0x654125{constructor(){super(),this['gs']=0x0,this['vr']=_0x36cc29(),this['gl']=_0x36cc29(),this['vl']=_0x36cc29(),this['disabled']=!0x1,this['min']=0x0,this['max']=0x64,this['defaultValue']=0x0,this['zero']=0x0,this['$e']=0x0,this['Cd']=t=>{t['stopPropagation']();let _0x4cac7a=this['yl'](t);null!==_0x4cac7a&&(this['vs'](_0x4cac7a),this['xd']('slider-input',_0x4cac7a));},this['Sd']=t=>{t['stopPropagation']();let _0x433188=this['yl'](t);null!==_0x433188&&this['vs'](_0x433188);},this['bl']=()=>{this['style']['setProperty']('--color-effect','var(--hover-color-rgb)');},this['wl']=()=>{this['style']['setProperty']('--color-effect','var(--idle-color-rgb)');},this['setAttribute']('with-effects','');}['xd'](t,_0xadaff2){this['dispatchEvent'](new CustomEvent(t,{'detail':{'value':_0xadaff2},'bubbles':!0x0,'composed':!0x0}));}['firstUpdated'](t){super['firstUpdated'](t),this['gs']=Number['parseInt'](window['getComputedStyle'](this)['getPropertyValue']('--l-thumb-size'),0xa)||0x0,this['Tl'](this['$e']),this['ys'](),this['s']=new ResizeObserver(()=>{this['ys'](),this['yr'](this['$e']);}),this['s']['observe'](this);let _0xbcf8a=this['vr']['value'];_0xbcf8a?.['addEventListener']('focus',this['bl']),_0xbcf8a?.['addEventListener']('blur',this['wl']),window['setTimeout'](()=>{this['yr'](this['$e']);},0x0);}['willUpdate'](t){super['willUpdate'](t),t['has']('defaultValue')&&this['defaultValue']!==this['$e']&&this['vs'](this['defaultValue']),(t['has']('min')||t['has']('max'))&&this['hasUpdated']&&(this['ys'](),this['yr'](this['$e'])),t['has']('zero')&&this['hasUpdated']&&this['El'](this['$e']);}['yr'](t){this['El'](t);let _0x4884ff=this['max']-this['min'];if(0x0===_0x4884ff)return;let {width:_0x506db7}=this['getBoundingClientRect'](),_0x2a7e61=0x64/_0x4884ff*(t-this['min'])*(_0x506db7-this['gs'])/0x64;window['requestAnimationFrame'](()=>{let _0x433b78=this['gl']['value'];_0x433b78&&(_0x433b78['style']['transform']='translateX('+_0x2a7e61+'px)');});}['El'](t){if(!this['bi'])return;let _0x27deda=this['max']-this['min'];if(0x0===_0x27deda)return;this['bi']['style']['opacity']=t===this['zero']?'0':'1';let {width:_0x289f54}=this['getBoundingClientRect'](),_0x1a24f9=0x64/_0x27deda*(this['zero']-this['min'])*(_0x289f54-this['gs'])/0x64;window['requestAnimationFrame'](()=>{this['bi']&&(this['bi']['style']['transform']='translateX('+_0x1a24f9+'px)');});}['ys'](){let _0xe3bac3=this['vl']['value'];if(!_0xe3bac3)return;let {width:_0x2a5068}=_0xe3bac3['getBoundingClientRect'](),_0x3e0dce=Math['ceil'](_0x2a5068/0x2),_0x3d80a4=Math['ceil'](_0x3e0dce/0xf)-0x2;if(this['ml']===_0x3d80a4)return;let _0xf419c9=document['createDocumentFragment'](),_0x410674=document['createElement']('div'),_0x28a61f=document['createElement']('div');_0x410674['className']='uc-minor-step',_0x28a61f['className']='uc-border-step',_0xf419c9['appendChild'](_0x28a61f);for(let _0x1c84c2=0x0;_0x1c84c2<_0x3d80a4;_0x1c84c2+=0x1)_0xf419c9['appendChild'](_0x410674['cloneNode']());_0xf419c9['appendChild'](_0x28a61f['cloneNode']());for(let _0x264943=0x0;_0x264943<_0x3d80a4;_0x264943+=0x1)_0xf419c9['appendChild'](_0x410674['cloneNode']());_0xf419c9['appendChild'](_0x28a61f['cloneNode']());let _0x3d315a=document['createElement']('div');_0x3d315a['className']='uc-zero-dot',_0xf419c9['appendChild'](_0x3d315a),this['bi']=_0x3d315a,_0xe3bac3['innerHTML']='',_0xe3bac3['appendChild'](_0xf419c9),this['ml']=_0x3d80a4;}['disconnectedCallback'](){super['disconnectedCallback']();let t=this['vr']['value'];t?.['removeEventListener']('focus',this['bl']),t?.['removeEventListener']('blur',this['wl']),this['s']?.['disconnect'](),this['s']=void 0x0;}['vs'](t){Number['isFinite'](t)&&(this['$e']=t,this['hasUpdated']&&(this['Tl'](t),this['yr'](t)));}['Tl'](t){let _0x3aad8b=this['vr']['value'];_0x3aad8b&&(_0x3aad8b['value']=String(t));}['yl'](t){let _0x558707=t['currentTarget'];if(!_0x558707)return null;let _0x5b6166=Number['parseInt'](_0x558707['value'],0xa);return Number['isFinite'](_0x5b6166)?_0x5b6166:null;}['render'](){return _0x19f5e4`<div class="uc-steps" ${_0x2b12df(this['vl'])}></div><div class="uc-thumb" ${_0x2b12df(this['gl'])}></div><input class="uc-input" type="range" ${_0x2b12df(this['vr'])} .min=${String(this['min'])} .max=${String(this['max'])} .value=${String(this['$e'])} ?disabled=${this['disabled']} @input=${this['Cd']} @change=${this['Sd']} />`;}};_0x507457([_0x4331b3({'type':Boolean,'reflect':!0x0})],_0x5a66df['prototype'],'disabled',0x2),_0x507457([_0x4331b3({'type':Number})],_0x5a66df['prototype'],'min',0x2),_0x507457([_0x4331b3({'type':Number})],_0x5a66df['prototype'],'max',0x2),_0x507457([_0x4331b3({'type':Number,'attribute':!0x1})],_0x5a66df['prototype'],'defaultValue',0x2),_0x507457([_0x4331b3({'type':Number})],_0x5a66df['prototype'],'zero',0x2),_0x507457([_0x511660()],_0x5a66df['prototype'],'$e',0x2);var t5='original',_0x3995a3=class extends _0x654125{constructor(){super(...arguments),this['state']={'operation':'filter','filter':void 0x0,'originalUrl':'','disabled':!0x1,'min':0x0,'max':0x64,'value':0x0,'defaultValue':0x0,'zero':0x0},this['bs']=t=>{let {value:_0x389993}=t['detail'];this['$']['*faderEl']?.['set'](_0x389993),this['state']={...this['state'],'value':_0x389993};};}['setOperation'](t,_0x23a55a){this['state']={...this['state'],'operation':t,'filter':_0x23a55a},this['Ad']();let _0x415259=this['$']['*faderEl'],_0x20e501=this['state']['originalUrl']||this['$']['*originalUrl'];_0x415259&&_0x20e501&&_0x415259['activate']({'url':_0x20e501,'operation':this['state']['operation'],'value':this['state']['filter']===t5?void 0x0:this['state']['value'],'filter':this['state']['filter']===t5?void 0x0:this['state']['filter'],'fromViewer':!0x1});}['Ad'](){let t=this['state']['operation'],{range:_0x4d502a,zero:_0x97e6}=_0x3bd893[t],[_0x212484,_0x295d55]=_0x4d502a;this['state']={...this['state'],'min':_0x212484,'max':_0x295d55,'zero':_0x97e6};let _0x4d5338=this['$']['*editorTransformations'][t];if('filter'===t){let _0x5a479c=Number(_0x295d55),_0x12802c=_0x4d5338;if(_0x12802c){let {name:_0x191feb,amount:_0x32ffef}=_0x12802c;_0x5a479c=_0x191feb===this['state']['filter']?_0x32ffef:_0x295d55;}return void(this['state']={...this['state'],'value':_0x5a479c,'defaultValue':_0x5a479c});}let _0x32664f=typeof _0x4d5338<'u'?_0x4d5338:_0x97e6;this['state']={...this['state'],'value':_0x32664f,'defaultValue':_0x32664f};}['apply'](){let _0x713b1c={...this['$']['*editorTransformations']};'filter'===this['state']['operation']?this['state']['filter']&&this['state']['filter']!==t5?_0x713b1c['filter']={'name':this['state']['filter'],'amount':this['state']['value']}:delete _0x713b1c['filter']:_0x713b1c[this['state']['operation']]=this['state']['value'],this['$']['*editorTransformations']=_0x713b1c;}['cancel'](){this['$']['*faderEl']?.['deactivate']({'hide':!0x1});}['initCallback'](){super['initCallback'](),this['sub']('*originalUrl',t=>{t&&(this['state']={...this['state'],'originalUrl':t});});}['updated'](t){if(super['updated'](t),t['has']('state')){let _0x156a92=(this['state']['filter']??this['state']['operation'])+'\x20'+this['state']['value'];this['$']['*operationTooltip']=_0x156a92;}}['render'](){return _0x19f5e4`<uc-slider-ui .disabled=${this['state']['disabled']} .min=${this['state']['min']} .max=${this['state']['max']} .defaultValue=${this['state']['defaultValue']} .zero=${this['state']['zero']} @slider-input=${this['bs']} ></uc-slider-ui>`;}};function _0x1d6de7(_0x57c07b){if(!_0x57c07b)return null;let _0x8fcedf=_0x57c07b['match'](/^([A-Za-z]+)\s+(\d+)$/);if(!_0x8fcedf)return null;let [,t,_0x2bee8e]=_0x8fcedf;return!t||typeof _0x2bee8e>'u'?null:{'filter':t,'value':Number(_0x2bee8e)};}_0x507457([_0x511660()],_0x3995a3['prototype'],'state',0x2);var _0x1c4e13=class extends _0x654125{constructor(){super(...arguments),this['active']=!0x1,this['title']='',this['icon']='',this['titleProp']='';}get['buttonClasses'](){let t=this['active'];return{'uc-active':t,'uc-not_active':!t};}['xl'](){let t=this['buttonClasses'];for(let [_0xba2ee9,_0xb8d0d7]of Object['entries'](t))this['classList']['toggle'](_0xba2ee9,_0xb8d0d7);}['onClick'](t){}['connectedCallback'](){super['connectedCallback'](),this['xl']();}['updated'](t){super['updated'](t),t['has']('active')&&this['xl']();}['render'](){let t=this['onClick'],_0x181f15=this['title'];return _0x19f5e4`<button role="option" type="button" aria-label=${_0x269935(this['titleProp'])} title=${_0x269935(this['titleProp'])} @click=${t} ><uc-icon name=${this['icon']}></uc-icon><div class="uc-title" ?hidden=${!_0x181f15}>${_0x181f15}</div></button>`;}};_0x507457([_0x511660()],_0x1c4e13['prototype'],'active',0x2),_0x507457([_0x511660()],_0x1c4e13['prototype'],'title',0x2),_0x507457([_0x511660()],_0x1c4e13['prototype'],'icon',0x2),_0x507457([_0x511660()],_0x1c4e13['prototype'],'titleProp',0x2);var _0x14ec1c=class extends _0x1c4e13{['initCallback'](){super['initCallback'](),this['icon']='arrow-dropdown',this['sub']('*currentAspectRatio',_0x2553b8=>{let t=this['kd'](_0x2553b8);this['title']=t,this['titleProp']=t;});}['onClick'](){this['$']['*showListAspectRatio']=!0x0;}['kd'](_0x1c3351){return _0x1c3351?_0x1c3351['hasFreeform']?this['l10n']('freeform-crop'):this['l10n']('crop-to-shape',{'value':_0x1c3351['width']+':'+_0x1c3351['height']}):'';}['render'](){let _0x4154a3=this['onClick'],t=this['title'];return _0x19f5e4`<button role="option" type="button" class=${_0x49d22e(this['buttonClasses'])} aria-label=${_0x269935(this['titleProp'])} title=${_0x269935(this['titleProp'])} @click=${_0x4154a3} ><div class="uc-title" ?hidden=${!t}>${t}</div><uc-icon name=${this['icon']}></uc-icon></button>`;}},_0x27ab84=class extends _0x1c4e13{constructor(){super(...arguments),this['X']=null;}get['aspectRatio'](){return this['X'];}set['aspectRatio'](t){if(this['X']===t)return;let _0xcb27cc=this['X'];this['X']=t,this['requestUpdate']('aspectRatio',_0xcb27cc),t?this['Cl'](t):(this['removeAttribute']('uc-aspect-ratio-freeform'),this['title']='',this['titleProp']='');}['initCallback'](){super['initCallback'](),this['X']&&this['Cl'](this['X']),this['sub']('*currentAspectRatio',t=>{this['active']=t&&t['id']===this['X']?.['id']||t?.['width']===this['X']?.['width']&&t?.['height']===this['X']?.['height'];});}['onClick'](){this['$']['*currentAspectRatio']?.['id']!==this['X']?.['id']&&(this['$']['*currentAspectRatio']=this['X']);}['Cl'](t){if(!this['isConnected'])return;let _0x1516fa=!!t['hasFreeform'];this['toggleAttribute']('uc-aspect-ratio-freeform',_0x1516fa),(((()=>{let _0x157560=_0x1516fa?this['l10n']('custom'):t['width']+':'+t['height'];this['title']=_0x157560;})()),((()=>{let _0x1c4a67=this['l10n']('a11y-cloud-editor-apply-aspect-ratio',{'name':_0x1516fa?this['l10n']('custom')['toLowerCase']():this['l10n']('crop-to-shape',{'value':t['width']+':'+t['height']})['toLowerCase'](),'value':''});this['titleProp']=_0x1c4a67;})()),_0x1516fa||this['requestUpdate']());}['Md'](){let t=this['X'];if(!t||t['hasFreeform'])return _0x19f5e4`<uc-icon name=${this['icon']}></uc-icon>`;let {width:_0x14248b,height:_0x4f064a}=(_0x2d1088=>{let _0x1c84e4=0xc,t=0xc;return _0x2d1088['width']/_0x2d1088['height']>=0x1?(_0x1c84e4=0xc,t=Math['round'](0xc*_0x2d1088['height']/_0x2d1088['width'])):(t=0xc,_0x1c84e4=Math['round'](0xc*_0x2d1088['width']/_0x2d1088['height'])),{'width':_0x1c84e4,'height':t};})(t);return _0x19f5e4`<uc-icon><svg viewBox="0 0 ${0x10} ${0x10}" aria-hidden="true" focusable="false" ><rect x=${(0x10-_0x14248b)/0x2} y=${(0x10-_0x4f064a)/0x2} width=${_0x14248b} height=${_0x4f064a} rx="2" fill="none" stroke="currentColor" stroke-width="1.2" stroke-linejoin="round" ></rect></svg></uc-icon>`;}['render'](){let t=this['onClick'],_0x4280a5=this['title'];return _0x19f5e4`<button role="option" type="button" class=${_0x49d22e(this['buttonClasses'])} aria-label=${_0x269935(this['titleProp'])} title=${_0x269935(this['titleProp'])} @click=${t} >${this['Md']()}<div class="uc-title" ?hidden=${!_0x4280a5}>${_0x4280a5}</div></button>`;}};_0x507457([_0x4331b3({'attribute':!0x1})],_0x27ab84['prototype'],'aspectRatio',0x1);var _0x4a9141=class extends _0x1c4e13{constructor(){super(...arguments),this['operation']=void 0x0;}['willUpdate'](t){super['willUpdate'](t),this['operation']?(this['titleProp']=this['l10n']('a11y-cloud-editor-apply-crop',{'name':this['l10n'](this['operation'])['toLowerCase']()}),this['icon']=this['operation']):(this['icon']='',this['titleProp']='');}['onClick'](t){if(!this['operation'])return;let _0x139dec=this['$']['*cropperEl'],_0x433032=_0x139dec['getValue'](this['operation']),_0x27d1cb=function(_0x3a4d7f,_0x4d9de1){if('rotate'===_0x3a4d7f)return function(_0x43a6de){let _0x18b293=_0x43a6de+0x5a;return _0x18b293=_0x18b293>=0x168?0x0:_0x18b293,_0x18b293;}('number'==typeof _0x4d9de1?_0x4d9de1:0x0);if('mirror'===_0x3a4d7f||'flip'===_0x3a4d7f)return!_0x4d9de1;throw new Error('Unsupported\x20operation:\x20'+_0x3a4d7f);}(this['operation'],_0x433032);this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':this['operation'],'next':_0x27d1cb,'prev':_0x433032}),_0x139dec['setValue'](this['operation'],_0x27d1cb);}};_0x507457([_0x4331b3({'type':String})],_0x4a9141['prototype'],'operation',0x2);var _0x5c04a7=class extends _0x1c4e13{constructor(){super(...arguments),this['n']='',this['m']='',this['wi']='',this['br']=0x0,this['a']=null,this['Nt']=!0x1,this['isOriginal']=!0x1,this['Sl']=0x14;}get['filter'](){return this['m'];}set['filter'](t){let _0x4096ac=t??'';if(this['m']===_0x4096ac)return;let _0x189a8c=this['m'];this['m']=_0x4096ac,this['n']='filter',this['isOriginal']=_0x4096ac===t5,this['icon']=this['isOriginal']?'original':'slider',this['Sl']=this['isOriginal']?0x28:0x14,this['requestUpdate']('filter',_0x189a8c),this['isConnected']&&this['Al'](_0x4096ac);}['onClick'](t){if(this['active'])this['isOriginal']||(this['$']['*sliderEl']['setOperation'](this['n'],this['m']),this['$']['*showSlider']=!0x0);else{let _0x16dce3=this['$']['*sliderEl'];_0x16dce3['setOperation'](this['n'],this['m']),_0x16dce3['apply']();}this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x1d6de7(this['$']['*operationTooltip'])}),this['$']['*currentFilter']=this['m'];}['Od'](){let t=parseInt(window['getComputedStyle'](this)['getPropertyValue']('--l-base-min-width'),0xa),_0x5eb3aa=Number['isFinite'](t)&&t>0x0?t:this['Sl']||0x20,_0x2f3ea6=window['devicePixelRatio'],_0x5f1625=Math['ceil'](_0x2f3ea6*_0x5eb3aa),_0x37584d=_0x2f3ea6>=0x2?'lightest':'normal',_0xba3207={...this['$']['*editorTransformations']};return _0xba3207[this['n']]=this['m']!==t5?{'name':this['m'],'amount':0x64}:void 0x0,_0x32f032(this['wi'],_0x525a54(_0x4d9366,_0x7dacaf(_0xba3207),'quality/'+_0x37584d,'scale_crop/'+_0x5f1625+'x'+_0x5f1625+'/center','@clib/'+_0x119f00+'/'+_0x1042e2+'/uc-cloud-image-editor/'));}async['ai'](t,_0x5670f4){t[0x0]?.['isIntersecting']?await this['Ts'](_0x5670f4):this['b']?.();}['initCallback'](){super['initCallback'](),this['s']=new window['IntersectionObserver'](this['ai']['bind'](this),{'threshold':[0x0,0x1]});let t=this['$']['*originalUrl'];this['wi']=t??'',this['sub']('*originalUrl',_0x1ebe9b=>{this['wi']=_0x1ebe9b??'',!this['isOriginal']&&this['wi']&&this['isConnected']&&!this['a']&&(this['s']?.['observe'](this),this['et']());}),this['isOriginal']||(this['s']?.['observe'](this),this['et']()),this['m']&&this['Al'](this['m']),this['sub']('*currentFilter',_0x5e24da=>{this['active']=!(!_0x5e24da||_0x5e24da!==this['m']);}),this['sub']('*networkProblems',async _0x1c0f98=>{_0x1c0f98||(this['a']?await this['Ts']():this['et']());});}['disconnectedCallback'](){super['disconnectedCallback'](),this['s']?.['disconnect'](),this['b']?.(),this['wr']();}['updated'](t){super['updated'](t),t['has']('isOriginal')&&(this['isOriginal']?this['s']?.['unobserve'](this):(this['s']?.['observe'](this),this['et']()));}['Al'](t){if(!t)return void(this['titleProp']='');let _0x1a6e18=this['l10n']('a11y-cloud-editor-apply-filter',{'name':t['toLowerCase']()});this['titleProp']=_0x1a6e18;}async['Ts'](t){if(!this['isConnected'])return t?.['unobserve'](this),this['b']?.(),void(this['b']=void 0x0);if(!this['wi'])return void(!this['Ft']&&!this['De']&&this['et']());let _0x4ea00d=++this['br'],_0x4a2075='';try{_0x4a2075=await this['proxyUrl'](this['Od']());}catch(_0x1ce579){return this['$']['*networkProblems']=!0x0,void console['error']('Failed\x20to\x20resolve\x20preview\x20URL',{'error':_0x1ce579});}this['Nt']=!0x1,this['b']?.();let {promise:_0x32aa0f,cancel:_0xfc9f08}=_0x195ff8(_0x4a2075);this['b']=()=>{_0xfc9f08(),this['br']===_0x4ea00d&&(this['b']=void 0x0);};try{if(await _0x32aa0f,this['br']!==_0x4ea00d||!this['isConnected'])return;this['a']=_0x4a2075,this['Nt']=!0x0,this['wr'](),(t??this['s'])?.['unobserve'](this);}catch(_0x4aaf41){this['$']['*networkProblems']=!0x0,console['error']('Failed\x20to\x20load\x20image',{'error':_0x4aaf41}),this['et']();}finally{this['br']===_0x4ea00d&&(this['b']=void 0x0);}}['et'](){!this['isConnected']||this['a']||this['Nt']||this['isOriginal']||this['$']['*networkProblems']?this['wr']():(this['De']&&cancelAnimationFrame(this['De']),this['De']=requestAnimationFrame(()=>{if(this['De']=void 0x0,!this['isConnected']||this['a']||this['Nt']||this['isOriginal'])return void this['wr']();let t=this['getBoundingClientRect'](),_0x392358=t['width']>0x0&&t['height']>0x0,_0x4bb548=window['innerWidth']||document['documentElement']['clientWidth'],_0x15f0fe=window['innerHeight']||document['documentElement']['clientHeight'];_0x392358&&t['bottom']>0x0&&t['right']>0x0&&t['top']<_0x15f0fe&&t['left']<_0x4bb548?this['Ts']():this['Ft']=window['setTimeout'](()=>{this['Ft']=void 0x0,this['et']();},0x1f4);}));}['wr'](){this['De']&&(cancelAnimationFrame(this['De']),this['De']=void 0x0),this['Ft']&&(window['clearTimeout'](this['Ft']),this['Ft']=void 0x0);}get['Id'](){return!(!this['Nt']||this['active']||this['isOriginal']);}['render'](){let t=this['onClick'],_0x4e4bc5={'opacity':this['Id']?'1':'0'};this['a']&&(_0x4e4bc5['backgroundImage']='url('+this['a']+')');let _0x342990={'opacity':this['active']||this['isOriginal']?'1':'0'};return _0x19f5e4`<button role="option" type="button" class=${_0x49d22e(this['buttonClasses'])} aria-label=${_0x269935(this['titleProp'])} title=${_0x269935(this['titleProp'])} @click=${t} ><div class="uc-preview" ?data-loaded=${this['Nt']} style=${_0xf4a83f(_0x4e4bc5)}></div><uc-icon class=${_0x49d22e({'uc-original-icon':this['isOriginal']})} name=${this['icon']} style=${_0xf4a83f(_0x342990)} ></uc-icon></button>`;}};_0x507457([_0x511660()],_0x5c04a7['prototype'],'a',0x2),_0x507457([_0x511660()],_0x5c04a7['prototype'],'Nt',0x2),_0x507457([_0x511660()],_0x5c04a7['prototype'],'isOriginal',0x2),_0x507457([_0x511660()],_0x5c04a7['prototype'],'Sl',0x2),_0x507457([_0x4331b3({'type':String})],_0x5c04a7['prototype'],'filter',0x1);var _0x3b8053=class extends _0x1c4e13{constructor(){super(...arguments),this['n']='';}get['operation'](){return this['n'];}set['operation'](t){let _0x40d98b=t??'';if(this['n']===_0x40d98b)return;let _0x38c387=this['n'];this['n']=_0x40d98b,this['requestUpdate']('operation',_0x38c387),this['isConnected']&&_0x40d98b&&this['kl'](_0x40d98b);}['kl'](t){this['icon']=t,(((()=>{let _0xcc1823=this['l10n']('a11y-cloud-editor-apply-tuning',{'name':this['l10n'](t)['toLowerCase']()});this['titleProp']=_0xcc1823;})()),((()=>{let _0x3fb68a=this['l10n'](t);this['title']=_0x3fb68a;})()));}['initCallback'](){super['initCallback'](),this['n']&&this['kl'](this['n']),this['sub']('*editorTransformations',t=>{if(!this['n'])return;let {zero:_0x3f885a}=_0x3bd893[this['n']],_0x4d4280=t[this['n']],_0x48966b=typeof _0x4d4280<'u'&&_0x4d4280!==_0x3f885a;this['active']=_0x48966b;});}['onClick'](t){this['$']['*sliderEl']?.['setOperation'](this['n']),this['$']['*showSlider']=!0x0,this['$']['*currentOperation']=this['n'],this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'operation':_0x1d6de7(this['$']['*operationTooltip'])});}};_0x507457([_0x4331b3({'type':String})],_0x3b8053['prototype'],'operation',0x1);var _0x5dcf27=()=>{},_0x3a9b4a=class extends _0x654125{constructor(){super(...arguments),this['hiddenScrollbar']=!0x1,this['Ml']=t=>{t['preventDefault']();let {deltaY:_0x229659,deltaX:_0xef435a}=t;Math['abs'](_0xef435a)>0x1?this['scrollLeft']+=_0xef435a:this['scrollLeft']+=_0x229659;};}['connectedCallback'](){super['connectedCallback'](),this['addEventListener']('wheel',this['Ml'],{'passive':!0x1}),this['addEventListener']('scroll',_0x5dcf27,{'passive':!0x0});}['disconnectedCallback'](){this['removeEventListener']('wheel',this['Ml']),this['removeEventListener']('scroll',_0x5dcf27),super['disconnectedCallback']();}};_0x507457([_0x4331b3({'type':Boolean,'noAccessor':!0x0,'attribute':'hidden-scrollbar'})],_0x3a9b4a['prototype'],'hiddenScrollbar',0x2);var _0x3ca538=class extends _0x654125{constructor(){super(...arguments),this['Ti']=!0x1,this['showMainToolbar']=!0x0,this['showSubToolbar']=!0x1,this['Ol']=!0x0,this['tabList']=[..._0x4e51d2],this['activeTab']=_0x129f00['CROP'],this['Tr']=!0x0,this['Es']=!0x1,this['Il']=null,this['Pl']=0x0,this['Ll']=0x0,this['Er']=_0x36cc29(),this['Rl']=_0x36cc29(),this['tabToggleRefs']={[_0x129f00['CROP']]:_0x36cc29(),[_0x129f00['TUNING']]:_0x36cc29(),[_0x129f00['FILTERS']]:_0x36cc29()},this['Ul']=()=>{this['tt']();},this['Ei']=[],this['xr']=_0x5184f3(t=>{this['Ti']=t;},0x1f4),this['Cr']=_0x5184f3(()=>{let t=this['$']['*editorTransformations'],_0x479387=this['$']['*currentOperation'],_0x13a049='',_0x4e9c36=!0x1;if(this['$']['*tabId']===_0x129f00['FILTERS']){if(_0x4e9c36=!0x0,this['$']['*currentFilter']&&t?.['filter']?.['name']===this['$']['*currentFilter']){let _0x543f06=t?.['filter']?.['amount']||0x64;_0x13a049=this['$']['*currentFilter']+'\x20'+_0x543f06;}else _0x13a049=this['l10n'](t5);}else{if(this['showSubToolbar']&&this['$']['*tabId']===_0x129f00['TUNING']&&_0x479387){_0x4e9c36=!0x0;let _0x5c8c58=t?.[_0x479387]||_0x3bd893[_0x479387]['zero'];_0x13a049=this['l10n'](_0x479387)+'\x20'+_0x5c8c58;}}_0x4e9c36&&(this['$']['*operationTooltip']=_0x13a049),this['Es']=_0x4e9c36;},0x0),this['Pd']={'hidden':'uc-sub-toolbar--top-hidden','visible':'uc-sub-toolbar--visible'},this['Ld']={'hidden':'uc-sub-toolbar--bottom-hidden','visible':'uc-sub-toolbar--visible'},this['Rd']={'hidden':'uc-tab-toggle--hidden','visible':'uc-tab-toggle--visible'},this['Ud']={'hidden':'uc-tab-toggles--hidden','visible':'uc-tab-toggles--visible'},this['init$']={...this['init$'],'*sliderEl':null,'*showSlider':!0x1,'*showListAspectRatio':!0x1,'*currentFilter':t5,'*currentOperation':null,'*operationTooltip':null},this['Ee']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel'}),this['b']?.();let _0x64a213=this['$']['*on.cancel'];_0x64a213?.();},this['As']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply'});let _0x4e436e=this['$']['*on.apply'];_0x4e436e?.(this['$']['*editorTransformations']);},this['jd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'apply-slider','operation':_0x1d6de7(this['$']['*operationTooltip'])}),this['Er']['value']?.['apply'](),this['$l']();},this['Gd']=t=>{this['telemetryManager']['sendEventCloudImageEditor'](t,this['$']['*tabId'],{'action':'cancel-slider'}),this['Er']['value']?.['cancel'](),this['$l']();},this['qd']=t=>{let _0x3d68ba=t['currentTarget']?.['getAttribute']('data-id');_0x3d68ba&&(this['telemetryManager']['sendEventCloudImageEditor'](t,_0x3d68ba),this['xs'](_0x3d68ba,{'fromViewer':!0x1}));};}['$l'](){this['$']['*showSlider']=!0x1,this['$']['*tabId']===_0x129f00['CROP']&&(this['$']['*showListAspectRatio']=!0x1),this['$']['*tabId']===_0x129f00['TUNING']&&(this['Es']=!0x1);}['xs'](t,{fromViewer:_0x9b5212=!0x1,force:_0x2c96e7=!0x1}={}){this['$']['*tabId']!==t&&(this['$']['*tabId']=t),this['Dl'](t,{'fromViewer':_0x9b5212,'force':_0x2c96e7});}['Dl'](t,{fromViewer:_0x2bbecd,force:_0x14ac5a=!0x1}){if(!_0x14ac5a&&this['activeTab']===t)return void this['tt']();this['activeTab']=t;let _0x317e07=this['$']['*faderEl'],_0x4508be=this['$']['*cropperEl'];t===_0x129f00['CROP']?(_0x317e07?.['deactivate'](),this['$']['*imageSize']&&_0x4508be?.['activate'](this['$']['*imageSize'],{'fromViewer':_0x2bbecd})):(_0x317e07?.['activate']({'url':this['$']['*originalUrl'],'fromViewer':_0x2bbecd}),_0x4508be?.['deactivate']());for(let _0x24dd23 of _0x4e51d2){let _0x8575ec=_0x24dd23===t,_0xa069e6=this['tabToggleRefs'][_0x24dd23]?.['value'];_0xa069e6&&(_0xa069e6['active']=_0x8575ec),_0x8575ec&&this['tt']();}}['tt'](){let _0x4763e2=this['tabToggleRefs'][this['activeTab']]?.['value'],_0x3cdfbd=this['Rl']['value'];if(!_0x4763e2||!_0x3cdfbd)return;let _0x1310a2=_0x4763e2['offsetLeft'],_0x48ced9=_0x4763e2['offsetWidth']||Number(getComputedStyle(_0x4763e2)['width']['replace']('px',''));(this['Pl']!==_0x1310a2||this['Ll']!==_0x48ced9)&&(this['Pl']=_0x1310a2,this['Ll']=_0x48ced9,_0x3cdfbd['style']['transform']='translateX('+_0x1310a2+'px)',_0x3cdfbd['style']['width']=_0x48ced9+'px');}get['Cs'](){return this['Ei']['length']>=0x3;}['$d'](t){switch(t){case _0x129f00['CROP']:return this['Dd']();case _0x129f00['FILTERS']:return this['Fd']();case _0x129f00['TUNING']:return this['Nd']();default:return[];}}['Dd'](){let t=[];if(this['Cs'])t['push'](()=>this['Vd']());else{for(let _0x4a2456 of this['Ei'])t['push'](()=>this['Fl'](_0x4a2456));}for(let _0x31ad95 of _0x27e341)t['push'](()=>this['_d'](_0x31ad95));return this['Ss'](t);}['Fd'](){let _0xcdd49f=[t5,..._0x527a9b]['map'](_0x305893=>()=>this['Bd'](_0x305893));return this['Ss'](_0xcdd49f);}['Nd'](){let t=_0x1014dc['map'](_0x8b7819=>()=>this['zd'](_0x8b7819));return this['Ss'](t);}['Ss'](t){return t['length']?t['map'](_0x3ad484=>_0x3ad484()):[];}['Vd'](){return _0x19f5e4`<uc-editor-freeform-button-control></uc-editor-freeform-button-control>`;}['Fl'](t){return _0x19f5e4`<uc-editor-aspect-ratio-button-control .aspectRatio=${t}></uc-editor-aspect-ratio-button-control>`;}['_d'](t){return _0x19f5e4`<uc-editor-crop-button-control .operation=${t}></uc-editor-crop-button-control>`;}['Bd'](t){return _0x19f5e4`<uc-editor-filter-control .filter=${t}></uc-editor-filter-control>`;}['zd'](t){return _0x19f5e4`<uc-editor-operation-control .operation=${t}></uc-editor-operation-control>`;}['Hd'](){return this['Cs']?this['Ei']['map'](t=>this['Fl'](t)):[];}async['Kd'](){if(this['$']['*imgContainerEl']&&this['$']['*originalUrl']){let t=this['$']['*imgContainerEl']['offsetWidth'],_0x2f2aa9=await this['proxyUrl'](_0x259ef3(this['$']['*originalUrl'],t,this['$']['*editorTransformations']));this['b']?.();let {cancel:_0x55fd00}=_0xd97e15([_0x2f2aa9]);this['b']=()=>{_0x55fd00(),this['b']=void 0x0;};}}['initCallback'](){super['initCallback']();let t=this['$']['*cropPresetList']??[];this['Ei']=[...t],this['sub']('*cropPresetList',_0xcc18bd=>{this['Ei']=[..._0xcc18bd??[]];}),this['sub']('*imageSize',_0x5d9586=>{_0x5d9586&&setTimeout(()=>{this['xs'](this['$']['*tabId'],{'fromViewer':!0x0});},0x0);}),this['sub']('*editorTransformations',_0x511fcd=>{let _0x155552=_0x511fcd?.['filter']?.['name'];this['$']['*currentFilter']!==_0x155552&&(this['$']['*currentFilter']=_0x155552??'');}),this['sub']('*currentFilter',()=>{this['Cr']();}),this['sub']('*currentOperation',()=>{this['Cr']();}),this['sub']('*tabId',_0x4ab76b=>{this['Dl'](_0x4ab76b,{'fromViewer':!0x1,'force':!0x0}),this['Cr']();}),this['sub']('*originalUrl',()=>{this['$']['*faderEl']?.['deactivate']();}),this['sub']('*editorTransformations',_0x3c382c=>{this['Kd'](),this['$']['*faderEl']?.['setTransformations'](_0x3c382c);}),this['sub']('*loadingOperations',_0x179970=>{let _0x3d1fbf=!0x1;for(let [,_0x2dabb5]of _0x179970['entries']()){if(_0x3d1fbf)break;for(let [,_0x3fefa2]of _0x2dabb5['entries']())if(_0x3fefa2){_0x3d1fbf=!0x0;break;}}this['xr'](_0x3d1fbf);}),this['sub']('*showSlider',_0xd2a540=>{_0xd2a540?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x0):this['$']['*showListAspectRatio']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*showListAspectRatio',_0x2ef78b=>{_0x2ef78b?(this['showSubToolbar']=!0x0,this['showMainToolbar']=!0x1,this['Tr']=!0x1):this['$']['*showSlider']||(this['showSubToolbar']=!0x1,this['showMainToolbar']=!0x0);}),this['sub']('*tabList',_0xbba079=>{if(this['tabList']=_0xbba079,this['Ol']=_0xbba079['length']>0x1,!_0xbba079['includes'](this['$']['*tabId'])&&_0xbba079['length']>0x0){let [_0x1839ba]=_0xbba079;return void(_0x1839ba&&this['xs'](_0x1839ba,{'fromViewer':!0x1}));}this['tt']();}),this['sub']('*operationTooltip',_0x30ab40=>{this['Il']=_0x30ab40;}),this['Cr']();}['connectedCallback'](){super['connectedCallback'](),window['addEventListener']('resize',this['Ul']);}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['tt']();}['updated'](t){super['updated'](t),(t['has']('activeTab')||t['has']('tabList'))&&this['updateComplete']['then'](()=>this['tt']()),(t['has']('showSubToolbar')||t['has']('showMainToolbar'))&&this['Sr']();}['disconnectedCallback'](){window['removeEventListener']('resize',this['Ul']),super['disconnectedCallback'](),this['$']['*showSlider']=!0x1,this['$']['*showListAspectRatio']=!0x1;}['Sr'](){let t=this['Er']['value'];t&&(this['$']['*sliderEl']=t);}['Wd'](t){let _0x4c6c65=this['tabList']['includes'](t),_0x167906=this['activeTab']===t,_0x5e9301=this['tabList']['indexOf'](t),_0x7d350e=_0x5e9301>=0x0?_0xf4a83f({'gridColumn':''+(_0x5e9301+0x1)}):_0xbeb5f3;return _0x19f5e4`<uc-presence-toggle class="uc-tab-toggle" .visible=${_0x4c6c65} .styles=${this['Rd']}><uc-btn-ui theme="tab" data-id=${t} icon=${t} role="tab" aria-controls=${'tab_'+t} aria-selected=${_0x167906?'true':'false'} title-prop=${'a11y-editor-tab-'+t} .active=${_0x167906} style=${_0x7d350e} @click=${this['qd']} ${_0x2b12df(this['tabToggleRefs'][t])} ></uc-btn-ui></uc-presence-toggle>`;}['Zd'](t){let _0x5501ae=this['$d'](t);return _0x19f5e4`<div id=${'tab_'+t} class="uc-tab-content" ><uc-editor-scroller hidden-scrollbar><div class="uc-controls-list_align"><div role="listbox" aria-orientation="horizontal" class="uc-controls-list_inner">${_0x5501ae['length']?_0x5501ae:_0xbeb5f3}</div></div></uc-editor-scroller></div>`;}['render'](){let t=['uc-info-tooltip',this['Es']?'uc-info-tooltip_visible':'uc-info-tooltip_hidden']['join']('\x20'),_0x2c9587=this['Cs'];return _0x19f5e4`<uc-line-loader-ui .active=${this['Ti']}></uc-line-loader-ui><div class="uc-info-tooltip_container"><div class="uc-info-tooltip_wrapper"><div class=${t}>${this['Il']??''}</div></div></div><div class="uc-toolbar-container"><uc-presence-toggle role="tablist" class="uc-sub-toolbar" .visible=${this['showMainToolbar']} .styles=${this['Pd']} ><div class="uc-tab-content-row">${_0x4e51d2['map'](_0x3613f0=>_0x1adf06(this['activeTab']===_0x3613f0,()=>this['Zd'](_0x3613f0)))}</div><div class="uc-controls-row"><uc-presence-toggle class="uc-tab-toggles" .visible=${this['Ol']} .styles=${this['Ud']} @initial-render=${()=>this['tt']()} ><div class="uc-tab-toggles_indicator" ${_0x2b12df(this['Rl'])} ></div>${_0x4e51d2['map'](_0x2ea090=>this['Wd'](_0x2ea090))}</uc-presence-toggle><uc-btn-ui style="order: -1" theme="secondary-icon" icon="closeMax" title-prop="cancel" @click=${this['Ee']} ></uc-btn-ui><uc-btn-ui theme="primary-icon" icon="done" title-prop="apply" @click=${this['As']}></uc-btn-ui></div></uc-presence-toggle><uc-presence-toggle class="uc-sub-toolbar" .visible=${this['showSubToolbar']} .styles=${this['Ld']}><div class="uc-slider" ?hidden=${!this['Tr']}><uc-editor-slider ${_0x2b12df(this['Er'])}></uc-editor-slider></div><div class="uc-list-aspect-ratio-container" ?hidden=${this['Tr']||!_0x2c9587}>${_0x2c9587?_0x19f5e4`<div class="uc-list-aspect-ratio">${this['Hd']()}</div>`:_0xbeb5f3}</div><div class="uc-controls-row"><uc-btn-ui theme="secondary" @click=${this['Gd']} text=${this['l10n']('cancel')}></uc-btn-ui><uc-btn-ui theme="primary" @click=${this['jd']} text=${this['l10n']('apply')}></uc-btn-ui></div></uc-presence-toggle></div>`;}};_0x507457([_0x511660()],_0x3ca538['prototype'],'Ti',0x2),_0x507457([_0x511660()],_0x3ca538['prototype'],'showMainToolbar',0x2),_0x507457([_0x511660()],_0x3ca538['prototype'],'showSubToolbar',0x2),_0x507457([_0x511660()],_0x3ca538['prototype'],'Ol',0x2),_0x507457([_0x511660()],_0x3ca538['prototype'],'tabList',0x2),_0x507457([_0x511660()],_0x3ca538['prototype'],'activeTab',0x2),_0x507457([_0x511660()],_0x3ca538['prototype'],'Tr',0x2),_0x507457([_0x511660()],_0x3ca538['prototype'],'Es',0x2),_0x507457([_0x511660()],_0x3ca538['prototype'],'Il',0x2),_0x507457([_0x511660()],_0x3ca538['prototype'],'Ei',0x2);var _0x3a2d04=_0x1734fe([..._0x4e51d2]),_0x10ad37=class extends _0x654125{constructor(){super(...arguments),this['ctxOwner']=!0x0,this['Yd']='',this['Je']=_0x195d3b,this['Xd']='',this['Ti']=!0x1,this['uuid']=null,this['cdnUrl']=null,this['cropPreset']='',this['tabs']=_0x3a2d04,this['Nl']=!0x1,this['ke']=!0x1,this['ks']=null,this['xi']=null,this['xr']=_0x5184f3(t=>{this['Ti']=t;},0x12c),this['Ar']=_0x36cc29(),this['Vl']=_0x36cc29(),this['_l']=_0x36cc29(),this['Bl']=_0x36cc29(),this['zl']=()=>{this['xr'](!0x1),this['Je']!==_0x195d3b&&(this['$']['*networkProblems']=!0x1);},this['Hl']=()=>{this['xr'](!0x1),this['$']['*networkProblems']=!0x0;},this['Qd']=()=>{let t=this['$']['*on.retryNetwork'];t?.();},this['init$']={...this['init$'],..._0x51ef01(this)};}static{this['styleAttrs']=['uc-cloud-image-editor'];}['Jd'](){this['ke']||this['ks']||(this['ks']=this['updateComplete']['then'](()=>{this['ks']=null,this['ke']=!0x0;}));}['initCallback'](){super['initCallback'](),this['Kl'](),this['jl']();}['Sr'](){let t=this['_l']['value'];t&&(this['$']['*faderEl']=t);let _0x5ae321=this['Vl']['value'];_0x5ae321&&(this['$']['*cropperEl']=_0x5ae321);let _0x4af2d1=this['Bl']['value'];_0x4af2d1&&(this['$']['*imgContainerEl']=_0x4af2d1);let _0x2420d0=this['Ar']['value'];_0x2420d0&&(this['$']['*imgEl']=_0x2420d0);}['ep'](){let t=this['Ar']['value'];t&&(t['addEventListener']('load',this['zl']),t['addEventListener']('error',this['Hl']));}['tp'](){let t=this['Ar']['value'];t&&(t['removeEventListener']('load',this['zl']),t['removeEventListener']('error',this['Hl']));}get['ip'](){let t=this['$']['*tabId'];return _0x1390ae('uc-image',{'uc-image_hidden_to_cropper':t===_0x129f00['CROP'],'uc-image_hidden_effects':t!==_0x129f00['CROP']});}['Gl'](){if(this['xi'])return this['xi'];return this['xi']=new Promise((_0x27c480,_0x5da8a5)=>{let _0x526ac3=()=>{window['clearTimeout'](_0x1f11b6),_0x20b1bd['disconnect'](),this['xi']=null;},_0x2e986f=()=>{_0x526ac3(),window['setTimeout'](()=>_0x27c480(),0x0);},_0x57b414=()=>{let _0x2da79f=new Error('[cloud-image-editor]\x20timeout\x20waiting\x20for\x20non-zero\x20container\x20size');_0x526ac3(),this['isConnected']&&console['error'](_0x2da79f['message']),_0x5da8a5(_0x2da79f);},_0x20b1bd=new ResizeObserver(_0x5a499a=>{let [_0x524aeb]=_0x5a499a;_0x524aeb&&_0x524aeb['contentRect']['width']>0x0&&_0x524aeb['contentRect']['height']>0x0&&_0x2e986f();}),_0x1f11b6=window['setTimeout'](()=>{_0x57b414();},0xbb8);((()=>{let {width:_0x5f00b1,height:_0x2f1125}=this['getBoundingClientRect']();return _0x5f00b1>0x0&&_0x2f1125>0x0;})())?_0x2e986f():_0x20b1bd['observe'](this);}),this['xi'];}['firstUpdated'](t){super['firstUpdated'](t),this['Sr'](),this['ep'](),this['initEditor']();let _0x4dd250=!(!this['uuid']&&!this['cdnUrl']),_0x425118=t['has']('uuid')||t['has']('cdnUrl');_0x4dd250&&!_0x425118&&this['updateImage']();}['disconnectedCallback'](){this['tp'](),super['disconnectedCallback']();}['render'](){let t=this['Xd']??'',_0x1db38d=this['Yd']??'',_0x1c407d=this['Je']||_0x195d3b,_0x269568=this['Ti'],_0x5de5db=this['Nl'];return _0x19f5e4` ${_0x18c1fe('<svg\x20width=\x270\x27\x20height=\x270\x27\x20style=\x27position:absolute\x27><symbol\x20fill=\x27none\x27\x20viewBox=\x270\x200\x209\x206\x27\x20id=\x27uc-icon-arrow-dropdown\x27\x20xmlns=\x27http://www.w3.org/2000/svg\x27><path\x20stroke=\x27currentColor\x27\x20d=\x27m1.5\x201.667\x203\x202.666\x203-2.666\x27\x20opacity=\x27.5\x27/></symbol><symbol\x20viewBox=\x270\x200\x2024\x2024\x27\x20id=\x27uc-icon-aspect-ratio\x27\x20xmlns=\x27http://www.w3.org/2000/svg\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=\x27ruc-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(#ruc-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(#uuc-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(#uuc-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(#uuc-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(#uuc-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(#uuc-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(#uuc-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(#uuc-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(#uuc-icon-id__h)\x27/><defs><linearGradient\x20id=\x27uuc-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=\x27uuc-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=\x27uuc-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=\x27uuc-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=\x27uuc-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=\x27uuc-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=\x27uuc-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=\x27uuc-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>')}<div class="uc-wrapper uc-wrapper_desktop"><uc-presence-toggle class="uc-network_problems_splash" .visible=${_0x5de5db}><div class="uc-network_problems_content"><div class="uc-network_problems_icon"><uc-icon name="sad"></uc-icon></div><div class="uc-network_problems_text">Network error</div></div><div class="uc-network_problems_footer"><uc-btn-ui theme="primary" text="Retry" @click=${this['Qd']}></uc-btn-ui></div></uc-presence-toggle><div class="uc-viewport"><div class="uc-file_type_outer"><div class="uc-file_type">${t}</div></div><div class="uc-image_container" ${_0x2b12df(this['Bl'])}><img src=${_0x1c407d} class=${this['ip']} ${_0x2b12df(this['Ar'])} />${_0x1adf06(this['ke'],()=>_0x19f5e4`<uc-editor-image-cropper ${_0x2b12df(this['Vl'])}></uc-editor-image-cropper>`)}<uc-editor-image-fader ${_0x2b12df(this['_l'])}></uc-editor-image-fader></div><div class="uc-info_pan">${_0x1db38d}</div></div><div class="uc-toolbar"><uc-line-loader-ui .active=${_0x269568}></uc-line-loader-ui><div class="uc-toolbar_content uc-toolbar_content__editor">${_0x1adf06(this['ke'],()=>_0x19f5e4`<uc-editor-toolbar></uc-editor-toolbar>`)}</div></div></div>`;}['updated'](t){super['updated'](t),t['has']('uuid')&&this['uuid']&&this['updateImage'](),t['has']('cdnUrl')&&this['cdnUrl']&&this['updateImage'](),t['has']('tabs')&&this['Kl'](),(t['has']('cropPreset')||t['has']('cdnUrl'))&&this['jl']();}['Kl'](){let t=this['tabs']||_0x3a2d04;this['$']['*tabList']=(_0x12a298=>{if(!_0x12a298)return _0x4e51d2;let _0x270f66=_0x182d3c(_0x12a298)['filter'](_0x5af948);return 0x0===_0x270f66['length']?_0x4e51d2:_0x270f66;})(t);}['jl'](){let t=_0x3a77db(this['cropPreset']??''),_0x2ee863=null;if(this['cdnUrl']){let _0x359b83=_0x4c3872(_0x2a17bb(this['cdnUrl']));if(Array['isArray'](_0x359b83?.['crop']?.['dimensions'])){let [_0x258675,_0x506e3d]=_0x359b83['crop']['dimensions'];_0x2ee863=((_0x21e201,_0x1286cc,t,_0x24f671=0.1)=>{let _0x3f7d37=_0x21e201/_0x1286cc,_0x274f2b=null,_0x1b184e=0x1/0x0;for(let _0x21d74b of t){let [_0x311e40,_0x537d38]=[_0x21d74b['width'],_0x21d74b['height']],_0x1d6437=_0x311e40/_0x537d38,_0x517ec7=Math['abs'](_0x3f7d37-_0x1d6437);_0x517ec7<_0x1b184e&&(_0x1b184e=_0x517ec7,_0x274f2b=_0x21d74b);}if(_0x274f2b){let [_0x53fe19,_0x17fe02]=[_0x274f2b['width'],_0x274f2b['height']],_0x3cf485=_0x53fe19/_0x17fe02;if(Math['abs'](_0x3f7d37-_0x3cf485)/_0x3cf485>_0x24f671)return null;}return _0x274f2b;})(_0x258675,_0x506e3d,t,0.1);}}this['$']['*cropPresetList']=t,this['$']['*currentAspectRatio']=_0x2ee863??t?.[0x0]??null;}async['updateImage'](){if(this['isConnected']){try{await this['Gl']();}catch{return;}if(this['isConnected']){if(this['cdnUrl']){let t=this['cdnUrl'],_0x260bcb=_0x1ee295(t,_0x4bfe2f(t));if(_0x260bcb===this['$']['*originalUrl'])return;this['$']['*originalUrl']=_0x260bcb;let _0x4c5601=_0x4c3872(_0x2a17bb(t));this['$']['*editorTransformations']=_0x4c5601;}else{if(!this['uuid'])throw new Error('No\x20UUID\x20nor\x20CDN\x20URL\x20provided');{let t=_0x1ee295(this['cfg']['cdnCname'],this['uuid']);if(t===this['$']['*originalUrl'])return;this['$']['*originalUrl']=t,Object['keys'](this['$']['*editorTransformations'])['length']>0x0&&(this['$']['*editorTransformations']={});}}this['$']['*tabId']===_0x129f00['CROP']?this['$']['*cropperEl']?.['deactivate']({'reset':!0x0}):this['$']['*faderEl']?.['deactivate']();try{let t=this['$']['*originalUrl'],_0x2468ef=await this['proxyUrl'](_0x32f032(t,_0x525a54('json'))),{width:_0x594aef,height:_0x1df1d5}=await fetch(_0x2468ef)['then'](_0x93b237=>_0x93b237['json']());this['$']['*imageSize']={'width':_0x594aef,'height':_0x1df1d5},this['$']['*tabId']===_0x129f00['CROP']?this['$']['*cropperEl']?.['activate'](this['$']['*imageSize']):this['$']['*faderEl']?.['activate']({'url':t});}catch(_0x4f5e2f){_0x4f5e2f&&(this['telemetryManager']['sendEventError'](_0x4f5e2f,'cloud\x20editor\x20image.\x20Failed\x20to\x20load\x20image\x20info'),console['error']('Failed\x20to\x20load\x20image\x20info',_0x4f5e2f));}this['Jd']();}}}async['initEditor'](){try{await this['Gl']();}catch{return;}this['classList']['add']('uc-editor_ON'),this['sub']('*networkProblems',t=>{let _0x907fb6=!!t;this['Nl']=_0x907fb6;}),this['sub']('*editorTransformations',t=>{if(0x0===Object['keys'](t)['length'])return;let _0x20be90=this['$']['*originalUrl'],_0x3eceb7=_0x525a54(_0x7dacaf(t),'preview'),_0x32e3c4={'originalUrl':_0x20be90,'cdnUrlModifiers':_0x3eceb7,'cdnUrl':_0x32f032(_0x20be90,_0x3eceb7),'transformations':t};this['dispatchEvent'](new CustomEvent('change',{'detail':_0x32e3c4,'bubbles':!0x0,'composed':!0x0}));},!0x1);}};_0x507457([_0x511660()],_0x10ad37['prototype'],'Yd',0x2),_0x507457([_0x511660()],_0x10ad37['prototype'],'Je',0x2),_0x507457([_0x511660()],_0x10ad37['prototype'],'Xd',0x2),_0x507457([_0x511660()],_0x10ad37['prototype'],'Ti',0x2),_0x507457([_0x4331b3({'type':String,'reflect':!0x0})],_0x10ad37['prototype'],'uuid',0x2),_0x507457([_0x4331b3({'type':String,'attribute':'cdn-url','reflect':!0x0})],_0x10ad37['prototype'],'cdnUrl',0x2),_0x507457([_0x4331b3({'type':String,'attribute':'crop-preset','reflect':!0x0})],_0x10ad37['prototype'],'cropPreset',0x2),_0x507457([_0x4331b3({'type':String,'reflect':!0x0})],_0x10ad37['prototype'],'tabs',0x2),_0x507457([_0x511660()],_0x10ad37['prototype'],'Nl',0x2),_0x507457([_0x511660()],_0x10ad37['prototype'],'ke',0x2);var _0xa829cd={};_0x12c5c0(_0xa829cd,{'CloudImageEditorActivity':()=>_0x3f31f3});var _0x52e490=class extends _0x10ad37{static{this['styleAttrs']=[...super['styleAttrs'],'uc-wgt-common'];}constructor(){super(),this['init$']={...this['init$'],'*solution':this['tagName']};}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['INIT_SOLUTION']}),this['a11y']?.['registerBlock'](this);}},_0x3f31f3=class extends _0x21c1d2{constructor(){super(...arguments),this['Q']=null;}get['activityParams'](){let t=super['activityParams'];if('internalId'in t)return t;throw new Error('Cloud\x20Image\x20Editor\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback'](),this['subConfigValue']('cropPreset',t=>{this['Q']&&this['Q']['cropPreset']!==t&&(this['Q']={...this['Q'],'cropPreset':t});}),this['subConfigValue']('cloudImageEditorTabs',t=>{this['Q']&&this['Q']['tabs']!==t&&(this['Q']={...this['Q'],'tabs':t});}),this['rp']();}['disconnectedCallback'](){super['disconnectedCallback'](),this['op']();}['As'](t){if(!this['Ci'])return;this['debugPrint']('editor\x20event\x20\x22apply\x22',t['detail']);let _0x3d9bb4=t['detail'];this['Ci']['setMultipleValues']({'cdnUrl':_0x3d9bb4['cdnUrl'],'cdnUrlModifiers':_0x3d9bb4['cdnUrlModifiers']}),this['modalManager']?.['close'](t1['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['Ee'](t){let _0x365451=t instanceof CustomEvent?t['detail']:void 0x0;this['debugPrint']('editor\x20event\x20\x22cancel\x22',_0x365451),this['modalManager']?.['close'](t1['activities']['CLOUD_IMG_EDIT']),this['historyBack']();}['handleChange'](t){this['debugPrint']('editor\x20event\x20\x22change\x22',t['detail']);}['rp'](){let {internalId:t}=this['activityParams'],_0x42b6e4=this['uploadCollection']['read'](t);if(!_0x42b6e4)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20not\x20found');this['Ci']=_0x42b6e4;let _0x48f47b=this['Ci']['getValue']('cdnUrl');if(!_0x48f47b)throw new Error('Entry\x20with\x20internalId\x20\x22'+t+'\x22\x20hasn\x27t\x20uploaded\x20yet');this['Q']=this['sp'](_0x48f47b);}['op'](){this['Ci']=void 0x0,this['Q']=null;}['render'](){if(!this['Q'])return _0xbeb5f3;let {cdnUrl:t,cropPreset:_0x277118,tabs:_0x6b789d}=this['Q'];return _0x19f5e4`<uc-cloud-image-editor cdn-url=${t} crop-preset=${_0x269935(_0x277118)} tabs=${_0x269935(_0x6b789d)} @apply=${this['As']} @cancel=${this['Ee']} @change=${this['handleChange']} ></uc-cloud-image-editor>`;}['sp'](t){return{'cdnUrl':t,'cropPreset':this['cfg']['cropPreset'],'tabs':this['cfg']['cloudImageEditorTabs']};}};_0x507457([_0x511660()],_0x3f31f3['prototype'],'Q',0x2);var _0x4100cf=class extends _0x21c1d2{constructor(){super(...arguments),this['Dt']='',this['bs']=t=>{this['Dt']=t['target']?.['value']??'';},this['Ho']=t=>{t['preventDefault'](),this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'event':'upload-from-url','node':this['tagName']}}});let _0x1c0cdb=this['Dt']['trim']();_0x1c0cdb&&(this['api']['addFileFromUrl'](_0x1c0cdb,{'source':_0x363ac3['URL']}),this['$']['*currentActivity']=t1['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](t1['activities']['UPLOAD_LIST']));};}['render'](){return _0x19f5e4`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['historyBack']} title=${this['l10n']('back')} aria-label=${this['l10n']('back')}><uc-icon name="back"></uc-icon></button><div><uc-icon name="url"></uc-icon><span>${this['l10n']('caption-from-url')}</span></div><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><form class="uc-content" @submit=${this['Ho']}><label><input placeholder="https://" class="uc-url-input" type="text" autofocus @input=${this['bs']} /></label><button type="submit" class="uc-url-upload-btn uc-primary-btn" ?disabled=${!this['Dt']} >${this['l10n']('upload-url')}</button></form>`;}};_0x507457([_0x511660()],_0x4100cf['prototype'],'Dt',0x2);var _0x310566=()=>{let _0x544eba=globalThis['top']??globalThis['parent']??globalThis['self'];try{return _0x544eba['location']['origin'];}catch(_0x5705b9){return console['warn']('Unable\x20to\x20access\x20top-level\x20window\x20location:',_0x5705b9),globalThis['location']['origin'];}},_0x14fb42=_0x240993=>_0x240993['replace'](/[\\-\\[]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,'\x5c$&'),_0x181f83=(_0x582843,_0x35259b='i')=>{let t=_0x582843['split']('*')['map'](_0x14fb42);return new RegExp('^'+t['join']('.+')+'$',_0x35259b);},_0x46f91c=['--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'],_0x5afa2b=(_0x47309e,_0x5a470a)=>window['getComputedStyle'](_0x47309e)['getPropertyValue'](_0x5a470a)['trim'](),_0x4fb29c=_0x21c8df=>{let _0x5b0015={};for(let t of _0x46f91c){let _0x1488a0=_0x5afa2b(_0x21c8df,t);_0x1488a0&&(_0x5b0015[t]=_0x1488a0);}return _0x5b0015;},_0x5070a0=['selected-files-change','toolbar-state-change'],_0x196137=class{constructor(_0x1431f9,t){this['kr']=new Map(),this['Wl']=_0x1824da=>{if(_0x1824da['source']!==this['Ms'])return;let t=_0x1824da['data'];if(!(_0x2fe0e3=>{if(!_0x2fe0e3||'object'!=typeof _0x2fe0e3||!('type'in _0x2fe0e3))return!0x1;let _0x5e4763=_0x2fe0e3['type'];return!('string'!=typeof _0x5e4763||!_0x5070a0['includes'](_0x5e4763));})(t))return;let _0x10a23c=this['kr']['get'](t['type']);if(_0x10a23c){for(let _0x4dc8e4 of _0x10a23c)_0x4dc8e4(t);}},this['Ms']=_0x1431f9,this['ql']=t,window['addEventListener']('message',this['Wl']);}['on'](_0x39d0e2,t){let _0x149e4e=this['kr']['get'](_0x39d0e2)??new Set();this['kr']['has'](_0x39d0e2)||this['kr']['set'](_0x39d0e2,_0x149e4e),_0x149e4e['add'](t);}['send'](_0x3c6369){let t=this['ql']();this['Ms']['postMessage'](_0x3c6369,t);}['destroy'](){window['removeEventListener']('message',this['Wl']);}},_0x7171fd={[_0x50f779['GDRIVE']]:'ngdrive'},_0x37c0e4=class extends _0x21c1d2{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Vt']=_0x36cc29(),this['Mr']=null,this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Zl']=!0x0,this['Ko']=()=>{for(let t of this['Os']){let _0x496d98=this['ap'](t),{filename:_0x3207d3}=t,{externalSourceType:_0x52364a}=this['activityParams'];this['api']['addFileFromUrl'](_0x496d98,{'fileName':_0x3207d3,'source':_0x52364a});}this['$']['*currentActivity']=t1['activities']['UPLOAD_LIST'],this['modalManager']?.['open'](t1['activities']['UPLOAD_LIST']);},this['Ee']=()=>{this['historyBack']();},this['hp']=()=>{this['ne']?.['send']({'type':'select-all'});},this['fp']=()=>{this['ne']?.['send']({'type':'deselect-all'});};}get['np'](){if(!this['Mr'])return'';let {selectedCount:t,total:_0x2243fe}=this['Mr'];return this['l10n']('selected-count',{'count':t,'total':_0x2243fe});}get['activityParams'](){let t=super['activityParams'];if('externalSourceType'in t)return t;throw new Error('External\x20Source\x20activity\x20params\x20not\x20found');}['initCallback'](){super['initCallback']();let {externalSourceType:t}=this['activityParams'];t?this['Yl']():console['error']('Param\x20\x22externalSourceType\x22\x20is\x20required\x20for\x20external\x20source\x20activity'),this['sub']('*currentActivityParams',()=>{setTimeout(()=>{this['isConnected']&&(this['Xl'](),this['Yl']());});}),this['subConfigValue']('multiple',_0x4dafd3=>{this['Or']=_0x4dafd3;}),this['subConfigValue']('localeName',()=>{this['Ql']();}),this['subConfigValue']('externalSourcesEmbedCss',_0x404650=>{this['Jl'](_0x404650);});}['ap'](t){if(t['alternatives']){let _0x5f0df4=_0x430ffa(this['cfg']['externalSourcesPreferredTypes']);for(let _0x12528b of _0x5f0df4){let _0xb7052e=_0x181f83(_0x12528b);for(let [_0xa95c21,_0x5135ff]of Object['entries'](t['alternatives']))if(_0xb7052e['test'](_0xa95c21))return _0x5135ff;}}return t['url'];}['lp'](t){this['Zl']=t['isVisible'];}async['cp'](t){this['cfg']['multiple']===t['isMultipleMode']?(this['up'](t['selectedCount'],t['total']),this['$s']=t['isReady']?'':'uc-hidden',this['Is']=t['isReady'],this['Ps']=t['isReady']&&t['selectedFiles']['length']>0x0,this['Or']=t['isMultipleMode']&&t['total']>0x0,this['Ls']=t['selectedCount']<t['total'],this['Rs']=t['selectedCount']===t['total'],this['Os']=t['selectedFiles']??[],this['Us']=t['total']>0x0):console['error']('Multiple\x20mode\x20mismatch');}['ec'](){this['Jl'](this['cfg']['externalSourcesEmbedCss']),this['dp'](),this['Ql']();}['dp'](){this['ne']?.['send']({'type':'set-theme-definition','theme':_0x4fb29c(this)});}['Jl'](t){this['ne']?.['send']({'type':'set-embed-css','css':t});}['Ql'](){this['ne']?.['send']({'type':'set-locale-definition','localeDefinition':this['cfg']['localeName']});}['pp'](){let {pubkey:t,remoteTabSessionKey:_0xd1dc5d,socialBaseUrl:_0xb7f4d,multiple:_0x488b8e}=this['cfg'],{externalSourceType:_0x3a8ac1}=this['activityParams'],_0x4bffa7=_0x7171fd[_0x3a8ac1]??_0x3a8ac1,_0x54df80={'lang':this['l10n']('social-source-lang')?.['split']('-')?.[0x0]||'en','public_key':t,'images_only':'false','session_key':_0xd1dc5d,'wait_for_theme':!0x0,'multiple':_0x488b8e['toString'](),'origin':this['cfg']['topLevelOrigin']||_0x310566(),'debug':this['cfg']['debug']},_0x13213a=new URL('/window4/'+_0x4bffa7,_0xb7f4d);return _0x13213a['search']=function(_0x1f376c){let _0x4b195c=[];for(let [t,_0x4fec37]of Object['entries'](_0x1f376c))null==_0x4fec37||'string'==typeof _0x4fec37&&0x0===_0x4fec37['length']||_0x4b195c['push'](t+'='+encodeURIComponent(_0x4fec37));return _0x4b195c['join']('&');}(_0x54df80),_0x13213a['toString']();}['up'](t,_0x499ea2){this['Mr']={'selectedCount':t,'total':_0x499ea2};}['Yl'](){let t=document['createElement']('iframe');t['src']=this['pp'](),t['marginHeight']=0x0,t['marginWidth']=0x0,t['frameBorder']='0',t['allowTransparency']=!0x0,t['addEventListener']('load',this['ec']['bind'](this)),t['addEventListener']('load',this['ec']['bind'](this)),this['Vt']['value']&&(this['Vt']['value']['innerHTML']='',this['Vt']['value']['appendChild'](t)),t['contentWindow']&&(this['ne']?.['destroy'](),this['ne']=new _0x196137(t['contentWindow'],()=>this['cfg']['socialBaseUrl']),this['ne']['on']('selected-files-change',this['cp']['bind'](this)),this['ne']['on']('toolbar-state-change',this['lp']['bind'](this)),this['tc']());}['Xl'](){this['ne']?.['destroy'](),this['ne']=void 0x0,this['Vt']['value']&&(this['Vt']['value']['innerHTML']=''),this['tc']();}['tc'](){this['Os']=[],this['Is']=!0x1,this['Ps']=!0x1,this['Ls']=!0x1,this['Rs']=!0x1,this['Or']=!0x1,this['Us']=!0x1,this['$s']='uc-hidden',this['Mr']=null;}['disconnectedCallback'](){super['disconnectedCallback'](),this['Xl']();}['render'](){return _0x19f5e4`<uc-activity-header><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><div ${_0x2b12df(this['Vt'])} class="uc-iframe-wrapper"></div><div class="uc-toolbar" ?hidden=${!this['Zl']}><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']}>${this['l10n']('cancel')}</button><div class="uc-selection-status-box" ?hidden=${!this['Or']}><span>${this['np']}</span><button type="button" @click=${this['hp']} ?hidden=${!this['Ls']}>${this['l10n']('select-all')}</button><button type="button" @click=${this['fp']} ?hidden=${!this['Rs']}>${this['l10n']('deselect-all')}</button></div><button type="button" class="uc-done-btn uc-primary-btn" @click=${this['Ko']} ?disabled=${!this['Ps']} ?hidden=${!this['Us']} ><uc-spinner ?hidden=${this['Is']}></uc-spinner><span class=${this['$s']}>${this['l10n']('done')}</span></button></div></div>`;}};_0x507457([_0x511660()],_0x37c0e4['prototype'],'Os',0x2),_0x507457([_0x511660()],_0x37c0e4['prototype'],'Is',0x2),_0x507457([_0x511660()],_0x37c0e4['prototype'],'Ps',0x2),_0x507457([_0x511660()],_0x37c0e4['prototype'],'Ls',0x2),_0x507457([_0x511660()],_0x37c0e4['prototype'],'Rs',0x2),_0x507457([_0x511660()],_0x37c0e4['prototype'],'Or',0x2),_0x507457([_0x511660()],_0x37c0e4['prototype'],'Us',0x2),_0x507457([_0x511660()],_0x37c0e4['prototype'],'$s',0x2),_0x507457([_0x511660()],_0x37c0e4['prototype'],'Zl',0x2);var _0x1f8722={'width':{'ideal':0x780},'height':{'ideal':0x438},'frameRate':{'ideal':0x1e}},_0x927756=['camera','microphone'];function _0x370989(_0x3e2a30){return Math['floor'](_0x3e2a30/0x3c)['toString']()['padStart'](0x2,'0')+':'+Math['floor'](_0x3e2a30%0x3c)['toString']()['padStart'](0x2,'0');}var _0x5a334a='image/jpeg',_0x3d7280='video/webm',_0x55713d=class extends _0x21c1d2{constructor(){super(...arguments),this['couldBeCtxOwner']=!0x0,this['Ir']=null,this['Ds']=!0x1,this['Si']=[],this['me']=null,this['ge']=null,this['Pr']=null,this['Lr']=null,this['g']=null,this['Ai']={},this['fe']=null,this['e']=null,this['_t']=[],this['Bt']=[],this['mp']={},this['Rr']=[],this['Ur']=null,this['ic']=()=>{this['rc'](),this['ki']='pause';},this['oc']=()=>{this['ki']='play',this['gp']();},this['Mi']=_0x36cc29(),this['Xe']=_0x36cc29(),this['K']=_0x36cc29(),this['sc']=0x0,this['nc']=0x0,this['ac']=null,this['$r']=!0x0,this['Dr']=!0x0,this['vp']=typeof navigator['permissions']<'u',this['cc']=[],this['ot']=!0x0,this['Fs']='',this['zt']=!0x0,this['at']=!0x0,this['Ht']=!0x0,this['uc']=[],this['pt']=!0x0,this['Ns']=!0x0,this['mt']=!0x0,this['Ce']=!0x0,this['gt']=!0x0,this['Kt']='camera-full',this['ki']='play',this['dc']='microphone',this['Fr']='uc-shot-btn\x20uc-camera-action',this['yp']=()=>{if(this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'event':'start-camera','node':this['tagName'],'tabId':this['g']}}}),this['g']===_0xcf66fd['PHOTO']&&this['bp'](),this['g']===_0xcf66fd['VIDEO']){if('recording'===this['me']?.['state'])return void this['pc']();this['wp']();}},this['Tp']=t=>{let _0x2b8e8b=t['target'];_0x2b8e8b&&(this['Lr']=_0x2b8e8b['value'],this['jt']());},this['Ep']=t=>{let _0x3e93fc=t['target'];_0x3e93fc&&(this['Pr']=_0x3e93fc['value'],this['jt']());},this['xp']=()=>{this['jt']();},this['Cp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'event':'shot-camera','node':this['tagName'],'tabId':this['g']}}}),this['yp']();},this['Sp']=()=>{this['Ap']();},this['kp']=()=>{this['Mp']();},this['Op']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'event':'retake-camera','node':this['tagName'],'tabId':this['g']}}}),this['Ip']();},this['Pp']=()=>{this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'event':'accept-camera','node':this['tagName'],'tabId':this['g']}}}),this['Lp']();},this['hc']=t=>{let _0x5c7147=t['currentTarget']?.['getAttribute']('data-id');_0x5c7147&&this['fc'](_0x5c7147);},this['mc']=()=>{let t=Math['floor']((performance['now']()-this['sc']+this['nc'])/0x3e8);if('number'==typeof this['cfg']['maxVideoRecordingDuration']&&this['cfg']['maxVideoRecordingDuration']>0x0){let _0x3563b3=this['cfg']['maxVideoRecordingDuration']-t;if(_0x3563b3<=0x0){let _0x10e428=this['Mi']['value'];return _0x10e428&&(_0x10e428['textContent']=_0x370989(_0x3563b3)),void this['pc']();}let _0x56052d=this['Mi']['value'];_0x56052d&&(_0x56052d['textContent']=_0x370989(_0x3563b3));}else{let _0x25a465=this['Mi']['value'];_0x25a465&&(_0x25a465['textContent']=_0x370989(t));}this['Gt']=requestAnimationFrame(this['mc']);},this['Rp']=()=>{this['sc']=performance['now'](),this['nc']=0x0,this['mc']();},this['gc']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['rc']=()=>{let t=this['K']['value'];if(!t)return;let _0x46f07a=t['currentTime'],_0x1117a9=t['duration']||0x1,_0x399742=this['Xe']['value'];_0x399742&&(_0x399742['style']['transform']='scaleX('+_0x46f07a/_0x1117a9+')');let _0x50cfe9=this['Mi']['value'];_0x50cfe9&&(_0x50cfe9['textContent']=_0x370989(_0x46f07a)),this['Gt']=requestAnimationFrame(this['rc']);},this['gp']=()=>{this['Gt']&&cancelAnimationFrame(this['Gt']);},this['Gt']=null,this['wp']=()=>{try{this['Si']=[],this['Ai']={...this['cfg']['mediaRecorderOptions']};let {mimeType:t}=this['cfg']['mediaRecorderOptions']||{};t&&MediaRecorder['isTypeSupported'](t)?this['Ai']['mimeType']=t:MediaRecorder['isTypeSupported'](_0x3d7280)?this['Ai']['mimeType']=_0x3d7280:this['Ai']['mimeType']='video/mp4',this['ge']&&(this['me']=new MediaRecorder(this['ge'],this['Ai']),this['me']['start'](),this['me']['addEventListener']('dataavailable',_0x2547bd=>{this['Si']['push'](_0x2547bd['data']);}),this['Rp'](),this['classList']['add']('uc-recording'),this['Oi'](_0x57431a['PLAY']));}catch(_0x7ea9a9){console['error']('Failed\x20to\x20start\x20recording',_0x7ea9a9),this['telemetryManager']['sendEventError'](_0x7ea9a9,'camera\x20recording.\x20Failed\x20to\x20start\x20recording');}},this['pc']=()=>{this['me']?.['addEventListener']('stop',()=>{this['Up'](),this['gc'](),this['Oi'](_0x57431a['STOP']);}),this['me']?.['stop'](),this['classList']['remove']('uc-recording'),this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'event':'stop-camera','node':this['tagName'],'tabId':this['g']}}});},this['Ap']=()=>{if('recording'===this['me']?.['state'])return;let t=this['K']['value'];t&&(!t['paused']&&!t['ended']&&t['readyState']>0x2?t['pause']():t['paused']&&t['play']());},this['Mp']=()=>{this['ge']?.['getAudioTracks']()['forEach'](t=>{t['enabled']=!t['enabled'],this['dc']=t['enabled']?'microphone':'microphone-mute',this['Ns']=!t['enabled'];});},this['Up']=()=>{try{let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x34491a=URL['createObjectURL'](t),_0x17ab80=this['K']['value'];if(!_0x17ab80)return;_0x17ab80['muted']=!0x1,_0x17ab80['volume']=0x1,this['Ii'](null),_0x17ab80['src']=_0x34491a,this['$p'](_0x17ab80);}catch(_0x4a14fa){console['error']('Failed\x20to\x20preview\x20video',_0x4a14fa),this['telemetryManager']['sendEventError'](_0x4a14fa,'camera\x20previewing.\x20Failed\x20to\x20preview\x20video');}},this['Ip']=()=>{if(this['Oi'](_0x57431a['RETAKE']),this['g']===_0xcf66fd['VIDEO']){this['Ii'](this['ge']);let t=this['K']['value'];t&&(t['muted']=!0x0);}this['K']['value']?.['play']?.();},this['Lp']=()=>{if(this['Oi'](_0x57431a['ACCEPT']),this['g']===_0xcf66fd['PHOTO'])return void this['fe']?.['toBlob'](_0x5d1ae5=>{if(!_0x5d1ae5)return;let _0x46c768=this['vc']('camera','jpeg',_0x5a334a,_0x5d1ae5);this['yc'](_0x46c768);},_0x5a334a);let t=new Blob(this['Si'],{'type':this['me']?.['mimeType']}),_0x5adef3=this['Dp'](this['me']?.['mimeType']),_0xc81c05=this['vc']('video',_0x5adef3,'video/'+_0x5adef3,t);this['yc'](_0xc81c05),this['Si']=[];},this['Fp']=t=>{t===_0x57431a['SHOT']&&(this['gt']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Ht']=!0x1,this['ot']=!0x0),(t===_0x57431a['RETAKE']||t===_0x57431a['ACCEPT'])&&(this['gt']=!this['Se']['includes'](_0xcf66fd['VIDEO']),this['Ce']=!this['Se']['includes'](_0xcf66fd['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['ot']=this['_t']['length']<=0x1);},this['Np']=t=>{t===_0x57431a['PLAY']&&(this['zt']=!0x1,this['Ce']=!0x0,this['ot']=!0x0,this['pt']=!0x0,this['ki']='pause',this['Kt']='square',this['Fr']='uc-shot-btn\x20uc-camera-action\x20uc-stop-record'),t===_0x57431a['STOP']&&(this['zt']=!0x1,this['at']=!0x0,this['mt']=!0x0,this['Ht']=!0x1),(t===_0x57431a['RETAKE']||t===_0x57431a['ACCEPT'])&&(this['zt']=!0x0,this['gt']=!this['Se']['includes'](_0xcf66fd['VIDEO']),this['Ce']=!this['Se']['includes'](_0xcf66fd['PHOTO']),this['at']=!0x1,this['Ht']=!0x0,this['mt']=!this['cfg']['enableAudioRecording'],this['Kt']='video-camera-full',this['Fr']='uc-shot-btn\x20uc-camera-action',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['ot']=this['_t']['length']<=0x1);},this['Oi']=t=>{this['g']===_0xcf66fd['PHOTO']&&('shot'===t||'retake'===t||'accept'===t)&&this['Fp'](t),this['g']===_0xcf66fd['VIDEO']&&('play'===t||'stop'===t||'retake'===t||'accept'===t||'pause'===t||'resume'===t)&&this['Np'](t);},this['fc']=t=>{t===_0xcf66fd['PHOTO']&&(this['Kt']='camera-full',this['pt']=!0x0,this['mt']=!0x0),t===_0xcf66fd['VIDEO']&&(this['ki']='play',this['Kt']='video-camera-full',this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['mt']=!this['cfg']['enableAudioRecording']),this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['ACTION_EVENT'],'payload':{'metadata':{'event':'camera-tab-switch','node':this['tagName'],'tabId':t}}}),this['g']=t;},this['vc']=(t,_0xe70254,_0x276126,_0x5d5dfa)=>{let _0x3f2f63=Date['now']();return new File([_0x5d5dfa],t+'-'+_0x3f2f63+'.'+_0xe70254,{'lastModified':_0x3f2f63,'type':_0x276126});},this['yc']=t=>{this['api']['addFileFromObject'](t,{'source':_0x363ac3['CAMERA']}),this['set$']({'*currentActivity':t1['activities']['UPLOAD_LIST']}),this['modalManager']?.['open'](t1['activities']['UPLOAD_LIST']);},this['Pi']=_0x5184f3(t=>{this['classList']['toggle']('uc-initialized','granted'===t);let _0x4911eb=this['g']===_0xcf66fd['VIDEO']&&this['cfg']['enableAudioRecording'],_0x368221=this['g']===_0xcf66fd['PHOTO']?'camera-full':'video-camera-full';'granted'===t?(this['$r']=!0x1,this['at']=!0x1,this['Ce']=!this['Se']['includes'](_0xcf66fd['PHOTO']),this['gt']=!this['Se']['includes'](_0xcf66fd['VIDEO']),this['Dr']=!0x0,this['zt']=!0x0,this['Kt']=_0x368221,this['mt']=!_0x4911eb,this['pt']=!_0x4911eb):'prompt'===t?(this['Fs']='camera-permissions-prompt',this['$r']=!0x0,this['at']=!0x0,this['Ce']=!0x0,this['Dr']=!0x1,this['Bs']()):(this['Fs']='camera-permissions-denied',this['$r']=!0x0,this['Dr']=!0x1,this['Ce']=!this['Se']['includes'](_0xcf66fd['PHOTO']),this['gt']=!this['Se']['includes'](_0xcf66fd['VIDEO']),this['Ht']=!0x0,this['Fr']='uc-shot-btn\x20uc-camera-action',this['Bs']());},0x12c),this['Vp']=()=>{if(!this['ge'])return!0x1;let t=this['ge']?.['getAudioTracks'](),_0x409563=this['ge']?.['getVideoTracks']();return t['forEach'](_0x11422b=>{_0x11422b['stop']();}),_0x409563['forEach'](_0x19db8b=>{_0x19db8b['stop']();}),!0x0;},this['Bs']=()=>{this['Ds']&&(this['K']['value']&&(this['K']['value']['volume']=0x0),this['Ur']?.['getTracks']?.()?.[0x0]?.['stop'](),this['Vs'](this['K']['value']),this['Ii'](null),this['Vp'](),this['gc'](),this['Ds']=!0x1);},this['jt']=async()=>{let t={'video':{..._0x1f8722},'audio':!!this['cfg']['enableAudioRecording']&&{}};this['Lr']&&(t['video']={'deviceId':{'exact':this['Lr']}}),this['Pr']&&this['cfg']['enableAudioRecording']&&(t['audio']={'deviceId':{'exact':this['Pr']}}),this['K']['value']&&(this['K']['value']['volume']=0x0);try{this['Pi']('prompt'),this['ge']=await navigator['mediaDevices']['getUserMedia'](t),this['ge']['addEventListener']('inactive',()=>{this['Pi']('denied');}),this['Ii'](this['ge']),this['Ds']=!0x0,this['Pi']('granted');}catch(_0x248ca1){this['Pi']('denied'),console['log']('Failed\x20to\x20capture\x20camera',_0x248ca1),this['telemetryManager']['sendEventError'](_0x248ca1,'camera\x20capturing.\x20Failed\x20to\x20capture\x20camera');}},this['bc']=()=>{this['jt']();},this['_p']=async()=>{try{this['Nr']();for(let t of _0x927756){let _0x4d1e24=await navigator['permissions']['query']({'name':t});this['mp'][t]=_0x4d1e24,_0x4d1e24['addEventListener']('change',this['bc']),this['Rr']['push'](()=>{_0x4d1e24['removeEventListener']('change',this['bc']);});}this['Ir']=()=>{this['Nr']();};}catch(_0x1855ff){this['Nr'](),console['log']('Failed\x20to\x20use\x20permissions\x20API.\x20Fallback\x20to\x20manual\x20request\x20mode.',_0x1855ff),this['telemetryManager']['sendEventError'](_0x1855ff,'camera\x20permissions.\x20Failed\x20to\x20use\x20permissions\x20API'),this['jt']();}},this['Bp']=async()=>{try{await navigator['mediaDevices']['getUserMedia']({'video':!0x0,'audio':this['cfg']['enableAudioRecording']}),await this['zs'](),navigator['mediaDevices']['addEventListener']('devicechange',this['zs']);}catch(_0x36e550){this['telemetryManager']['sendEventError'](_0x36e550,'camera\x20devices.\x20Failed\x20to\x20get\x20user\x20media'),console['log']('Failed\x20to\x20get\x20user\x20media',_0x36e550);}},this['zs']=async()=>{try{let t=await navigator['mediaDevices']['enumerateDevices']();this['_t']=t['filter'](_0x4b239d=>'videoinput'===_0x4b239d['kind'])['map']((_0x5d13ae,_0x586d36)=>({'text':_0x5d13ae['label']['trim']()||this['l10n']('caption-camera')+'\x20'+(_0x586d36+0x1),'value':_0x5d13ae['deviceId']})),this['Bt']=this['cfg']['enableAudioRecording']?t['filter'](_0x4eb677=>'audioinput'===_0x4eb677['kind'])['map'](_0x13a401=>({'text':_0x13a401['label']['trim'](),'value':_0x13a401['deviceId']})):[],this['cc']=this['_t'],this['ot']=this['_t']['length']<=0x1,this['Lr']=this['_t'][0x0]?.['value']??null,this['uc']=this['Bt'],this['pt']=!this['cfg']['enableAudioRecording']||this['Bt']['length']<=0x1,this['Pr']=this['Bt'][0x0]?.['value']??null;}catch(_0x31e4c6){this['telemetryManager']['sendEventError'](_0x31e4c6,'camera\x20devices.\x20Failed\x20to\x20get\x20devices'),console['log']('Failed\x20to\x20get\x20devices',_0x31e4c6);}},this['zp']=async()=>{await this['_p'](),await this['Bp'](),await this['jt'](),this['wc'](this['Se']);},this['Hp']=async()=>{this['Ir']&&this['Ir'](),window['chrome']||this['Pi']('denied'),this['Bs']();},this['wc']=t=>{this['gt']=!t['includes'](_0xcf66fd['VIDEO']),this['Ce']=!t['includes'](_0xcf66fd['PHOTO']);let _0xa64642=t[0x0];_0xa64642&&(!this['g']||!t['includes'](this['g']))&&this['fc'](_0xa64642);};}['$p'](t){this['Vs'](t),t['addEventListener']('play',this['ic']),t['addEventListener']('pause',this['oc']);}['Vs'](t){t?.['removeEventListener']('play',this['ic']),t?.['removeEventListener']('pause',this['oc']);}['Ii'](t){this['Ur']!==t&&(this['Ur']=t,this['_s']());}['_s'](){let t=this['K']['value'];if(!t)return;let _0x39b86b=this['Ur']??null;t['srcObject']!==_0x39b86b&&(t['srcObject']=_0x39b86b);}['bp'](){if(this['Oi']('shot'),this['fe']=document['createElement']('canvas'),this['e']=this['fe']['getContext']('2d'),!this['e'])throw new Error('Failed\x20to\x20get\x20canvas\x20context');let t=this['K']['value'];if(!t)throw new Error('Video\x20element\x20not\x20found');this['fe']['height']=t['videoHeight'],this['fe']['width']=t['videoWidth'],this['cfg']['cameraMirror']&&(this['e']['translate'](this['fe']['width'],0x0),this['e']['scale'](-0x1,0x1)),this['e']['drawImage'](t,0x0,0x0),t['pause']();}['Dp'](t){let _0x50d41a={'mp4':'mp4','ogg':'ogg','webm':'webm','quicktime':'mov','x-matroska':'mkv'};if(''===t)return'webm';if(t){let _0x11431d=t['split']('/');if('video'===_0x11431d?.[0x0]){let _0x5c0387=_0x11431d['slice'](0x1)['join']('/')?.['split'](';')[0x0];if(_0x5c0387&&_0x50d41a[_0x5c0387])return _0x50d41a[_0x5c0387];}}return'avi';}get['Se'](){return _0x430ffa(this['cfg']['cameraModes'])['filter'](t=>t===_0xcf66fd['PHOTO']||t===_0xcf66fd['VIDEO']);}['Nr'](){if(0x0!==this['Rr']['length']){for(let t of this['Rr'])t();this['Rr']=[],this['Ir']=null;}}['initCallback'](){super['initCallback'](),this['subConfigValue']('cameraMirror',t=>{this['ac']=t?'scaleX(-1)':null;}),this['subConfigValue']('enableAudioRecording',t=>{this['mt']=!t,this['Ns']=!t;}),this['subConfigValue']('cameraModes',t=>{if(!this['isConnected'])return;let _0x27fcf6=_0x182d3c(t);this['wc'](_0x27fcf6['filter'](_0x21cfeb=>_0x21cfeb===_0xcf66fd['PHOTO']||_0x21cfeb===_0xcf66fd['VIDEO']));}),this['zp']();}['firstUpdated'](t){super['firstUpdated'](t),this['_s']();}['updated'](t){super['updated'](t),this['_s']();}['Kp'](){this['Nr'](),navigator['mediaDevices']?.['removeEventListener']('devicechange',this['zs']),this['Vs'](this['K']['value']),this['Ii'](null);}['disconnectedCallback'](){super['disconnectedCallback'](),this['Hp'](),this['Kp']();}['render'](){return _0x19f5e4`<uc-activity-header><button type="button" class="uc-mini-btn" @click=${this['$']['*historyBack']} title=${this['l10n']('back')} ><uc-icon name="back"></uc-icon></button><div ?hidden=${!this['ot']}><uc-icon name="camera"></uc-icon><span>${this['l10n']('caption-camera')}</span></div><uc-select class="uc-camera-select" .options=${this['cc']} ?hidden=${this['ot']} @change=${this['Tp']} ></uc-select><button type="button" class="uc-mini-btn uc-close-btn" @click=${this['$']['*closeModal']} title=${this['l10n']('a11y-activity-header-button-close')} aria-label=${this['l10n']('a11y-activity-header-button-close')} ><uc-icon name="close"></uc-icon></button></uc-activity-header><div class="uc-content"><video muted autoplay playsinline style=${_0xf4a83f({'transform':this['ac']})} ?hidden=${this['$r']} ${_0x2b12df(this['K'])} ></video><div class="uc-message-box" ?hidden=${this['Dr']}><span>${this['l10n'](this['Fs'])}</span><button type="button" @click=${this['xp']} ?hidden=${this['vp']} >${this['l10n']('camera-permissions-request')}</button></div></div><div class="uc-controls"><div class="uc-switcher" ?hidden=${!this['zt']}><button data-id="photo" type="button" class=${_0x49d22e({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0xcf66fd['PHOTO']})} @click=${this['hc']} ?hidden=${this['Ce']} data-testid="tab-photo" ><uc-icon name="camera"></uc-icon></button><button data-id="video" type="button" class=${_0x49d22e({'uc-switch':!0x0,'uc-mini-btn':!0x0,'uc-active':this['g']===_0xcf66fd['VIDEO']})} @click=${this['hc']} ?hidden=${this['gt']} data-testid="tab-video" ><uc-icon name="video-camera"></uc-icon></button></div><button class="uc-secondary-btn uc-recording-timer" @click=${this['Sp']} ?hidden=${this['zt']} data-testid="recording-timer" ><uc-icon name=${this['ki']}></uc-icon><span ${_0x2b12df(this['Mi'])}> 00:00 </span><span ${_0x2b12df(this['Xe'])} class="uc-line"></span></button><div class="uc-camera-actions uc-camera-action" ?hidden=${this['Ht']} ><button type="button" class="uc-secondary-btn" @click=${this['Op']}> Retake </button><button type="button" class="uc-primary-btn" @click=${this['Pp']} data-testid="accept" > Accept </button></div><button type="button" data-testid="shot" @click=${this['Cp']} class=${this['Fr']} ?hidden=${this['at']} ><uc-icon name=${this['Kt']}></uc-icon></button><div class="uc-select"><button type="button" class="uc-mini-btn uc-btn-microphone" @click=${this['kp']} ?hidden=${this['mt']} data-testid="toggle-microphone" ><uc-icon name=${this['dc']}></uc-icon></button><uc-select class="uc-audio-select" .options=${this['uc']} ?hidden=${this['pt']} ?disabled=${this['Ns']} @change=${this['Ep']} data-testid="audio-select" ></uc-select></div></div>`;}};_0x507457([_0x511660()],_0x55713d['prototype'],'ac',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'$r',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'Dr',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'vp',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'cc',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'ot',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'Fs',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'zt',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'at',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'Ht',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'uc',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'pt',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'Ns',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'mt',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'Ce',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'gt',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'Kt',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'ki',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'dc',0x2),_0x507457([_0x511660()],_0x55713d['prototype'],'Fr',0x2);var _0x2f373c={'id':'camera','setup':async({pluginApi:_0x2bc6eb,uploaderApi:_0x242be4})=>{_0x524a40({'CameraSource':_0x55713d}),_0x2bc6eb['registry']['registerSource']({'id':'camera','label':'src-type-camera','icon':'camera','expand':()=>{if(!_0x404dc0['htmlMediaCapture'])return['camera'];let t=_0x182d3c(_0x2bc6eb['config']['get']('cameraModes'));return t['length']?t['map'](_0x45aa88=>'mobile-'+_0x45aa88+'-camera'):['mobile-photo-camera'];},'onSelect':()=>{_0x242be4['setCurrentActivity'](_0x3e80cf['CAMERA']),_0x242be4['setModalState'](!0x0);}}),_0x2bc6eb['registry']['registerSource']({'id':'mobile-photo-camera','label':'src-type-mobile-photo-camera','icon':'camera','onSelect':()=>{_0x242be4['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'photo'});}}),_0x2bc6eb['registry']['registerSource']({'id':'mobile-video-camera','label':'src-type-mobile-video-camera','icon':'camera','onSelect':()=>{_0x242be4['openSystemDialog']({'captureCamera':!0x0,'modeCamera':'video'});}}),_0x2bc6eb['registry']['registerActivity']({'id':_0x3e80cf['CAMERA'],'render':t=>{let _0x4b5c8d=document['createElement']('uc-camera-source');return t['append'](_0x4b5c8d),()=>{t['replaceChildren']();};}});}},_0x94c9a9={};_0x12c5c0(_0x94c9a9,{'BtnUi':()=>_0x15b79c,'CloudImageEditor':()=>_0x52e490,'CloudImageEditorBlock':()=>_0x10ad37,'Config':()=>_0x17a01e,'CropFrame':()=>_0x2039ca,'EditorAspectRatioButtonControl':()=>_0x27ab84,'EditorCropButtonControl':()=>_0x4a9141,'EditorFilterControl':()=>_0x5c04a7,'EditorFreeformButtonControl':()=>_0x14ec1c,'EditorImageCropper':()=>_0x507dfb,'EditorImageFader':()=>_0x46dbd8,'EditorOperationControl':()=>_0x3b8053,'EditorScroller':()=>_0x3a9b4a,'EditorSlider':()=>_0x3995a3,'EditorToolbar':()=>_0x3ca538,'Icon':()=>_0x5557f7,'LineLoaderUi':()=>_0x5877ef,'PresenceToggle':()=>_0xdbe6d2,'SliderUi':()=>_0x5a66df,'defineComponents':()=>_0x524a40});var _0x3d1a1c,_0x7b76a7={'id':'cloud-image-editor','setup':async({pluginApi:_0x43bdfc,uploaderApi:_0x8b8dda})=>(_0x524a40({..._0x94c9a9,..._0xa829cd}),_0x43bdfc['registry']['registerIcon']({'name':'edit-file','svg':'<svg\x20viewBox=\x270\x200\x2024\x2024\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/></svg>'}),_0x43bdfc['registry']['registerFileAction']({'id':'edit-file','icon':'edit-file','label':'file-item-edit-button','shouldRender':_0x3fd6fa=>!(!_0x3fd6fa['isImage']||!_0x3fd6fa['cdnUrl']),'onClick':_0x162977=>{_0x8b8dda['setCurrentActivity']?.(_0x3e80cf['CLOUD_IMG_EDIT'],{'internalId':_0x162977['internalId']}),_0x8b8dda['setModalState']?.(!0x0);}}),_0x43bdfc['registry']['registerActivity']({'id':_0x3e80cf['CLOUD_IMG_EDIT'],'render':_0x529970=>{let _0xecea7=document['createElement']('uc-cloud-image-editor-activity');return _0x529970['append'](_0xecea7),()=>{_0x529970['replaceChildren']();};}}),_0x8b8dda['on'](_0x4b13c3['FILE_UPLOAD_SUCCESS'],_0xdb09b1=>{if(!_0xdb09b1['isImage'])return;let _0x2abb27=_0x43bdfc['config']['get']('cropPreset'),_0x2a5e7b=_0x43bdfc['config']['get']('useCloudImageEditor'),_0x58e1fd=_0x43bdfc['config']['get']('cloudImageEditorAutoOpen'),_0x5a752d=_0x8b8dda['v']['size'];_0x2a5e7b&&0x1===_0x5a752d&&(_0x2abb27||_0x58e1fd)&&(_0x8b8dda['setCurrentActivity']?.(_0x3e80cf['CLOUD_IMG_EDIT'],{'internalId':_0xdb09b1['internalId']}),_0x8b8dda['setModalState']?.(!0x0));}))},_0x213c1b={'id':'external-sources','setup':async({pluginApi:_0x43d2b0,uploaderApi:_0x3b916a})=>{_0x524a40({'ExternalSource':_0x37c0e4}),_0x43d2b0['registry']['registerActivity']({'id':_0x3e80cf['EXTERNAL'],'render':t=>{let _0x2a56ad=document['createElement']('uc-external-source');return t['append'](_0x2a56ad),()=>{t['replaceChildren']();};}});for(let t of Object['values'](_0x50f779))_0x43d2b0['registry']['registerSource']({'id':t,'label':'src-type-'+t,'icon':t,'onSelect':()=>{_0x3b916a['setCurrentActivity'](_0x3e80cf['EXTERNAL'],{'externalSourceType':t}),_0x3b916a['setModalState'](!0x0);}});}},_0xc39765=()=>{let _0x1ee011=[];return{'stack':_0x1ee011,'promiseReadJpegChunks':t=>new Promise((_0x2bbbdd,_0x4c099e)=>{let _0x349145=0x2,_0x370cdf=(_0x44903c,_0x1fbf5c)=>{let _0x33c2fe=new FileReader();_0x33c2fe['addEventListener']('load',()=>{_0x1fbf5c(new DataView(_0x33c2fe['result']));}),_0x33c2fe['addEventListener']('error',_0x2bc4cb=>{_0x4c099e('Reader\x20error:\x20'+_0x2bc4cb);}),_0x33c2fe['readAsArrayBuffer'](_0x44903c);},_0x53ae5a=()=>_0x370cdf(t['slice'](_0x349145,_0x349145+0x80),_0x2663ab=>{let _0x3fb726,_0x3df481,_0x14144d;for(_0x3fb726=_0x3df481=0x0,_0x14144d=_0x2663ab['byteLength'];_0x14144d>=0x0?_0x3df481<_0x14144d:_0x3df481>_0x14144d;_0x3fb726=_0x14144d>=0x0?++_0x3df481:--_0x3df481)if(0xff===_0x2663ab['getUint8'](_0x3fb726)){_0x349145+=_0x3fb726;break;}_0x332855();}),_0x332855=()=>{let _0xeef02c=_0x349145;return _0x370cdf(t['slice'](_0x349145,_0x349145+=0x4),_0x11dacf=>{if(0x4!==_0x11dacf['byteLength']||0xff!==_0x11dacf['getUint8'](0x0))return void _0x4c099e('Corrupted');let _0x4404a6=_0x11dacf['getUint8'](0x1);if(0xda===_0x4404a6)return void _0x2bbbdd(!0x0);let _0x58fec9=_0x11dacf['getUint16'](0x2)-0x2;return _0x370cdf(t['slice'](_0x349145,_0x349145+=_0x58fec9),_0x3a60e0=>{_0x3a60e0['byteLength']===_0x58fec9?(_0x1ee011['push']({'startPos':_0xeef02c,'length':_0x58fec9,'marker':_0x4404a6,'view':_0x3a60e0}),_0x53ae5a()):_0x4c099e('Corrupted');});});};FileReader&&DataView||_0x4c099e('Not\x20Support'),_0x370cdf(t['slice'](0x0,0x2),_0x50c024=>{0xffd8!==_0x50c024['getUint16'](0x0)&&_0x4c099e('Not\x20jpeg'),_0x53ae5a();});})};},_0x1de3ad=async _0x3de837=>{let _0x2ffe05=[],{promiseReadJpegChunks:t,stack:_0x44c1e8}=_0xc39765();return await t(_0x3de837),_0x44c1e8['forEach'](({marker:_0x570b5b,view:_0x581cca})=>{0xe2===_0x570b5b&&0x4943435f===_0x581cca['getUint32'](0x0)&&0x50524f46===_0x581cca['getUint32'](0x4)&&0x494c4500===_0x581cca['getUint32'](0x8)&&_0x2ffe05['push'](_0x581cca);}),_0x2ffe05;},_0x36d8cf=async(_0x1a35d0,_0x5be647,t)=>{{let _0x1d163b=[],_0x2598fe=[],{promiseReadJpegChunks:_0x43f261,stack:_0x3fd2a3}=_0xc39765();await _0x43f261(_0x1a35d0),_0x3fd2a3['forEach'](_0x2ad47c=>{if(_0x2ad47c['marker']===_0x5be647)return _0x1d163b['push'](_0x2ad47c['startPos']),_0x2598fe['push'](_0x2ad47c['length']);});let _0x4e1526=[_0x1a35d0['slice'](0x0,0x2)];for(let _0x1a7c58 of t){let _0x3065d0=new DataView(new ArrayBuffer(0x4));_0x3065d0['setUint16'](0x0,0xff00+_0x5be647),_0x3065d0['setUint16'](0x2,_0x1a7c58['byteLength']+0x2),_0x4e1526['push'](_0x3065d0['buffer']),_0x4e1526['push'](_0x1a7c58);}let _0x49a3f9=0x2;for(let _0x50778a=0x0;_0x50778a<_0x1d163b['length'];_0x50778a++)_0x1d163b[_0x50778a]>_0x49a3f9&&_0x4e1526['push'](_0x1a35d0['slice'](_0x49a3f9,_0x1d163b[_0x50778a])),_0x49a3f9=_0x1d163b[_0x50778a]+_0x2598fe[_0x50778a]+0x4;return _0x4e1526['push'](_0x1a35d0['slice'](_0x49a3f9,_0x1a35d0['size'])),new Blob(_0x4e1526,{'type':_0x1a35d0['type']});}},_0x3991c1=(_0x3432df,_0x4e9a2c)=>_0x36d8cf(_0x3432df,0xe2,_0x4e9a2c['map'](t=>t['buffer'])),_0x323810=()=>{let _0x462112=document['createElement']('canvas');return{'canvas':_0x462112,'ctx':_0x462112['getContext']('2d')};},_0xb124fe=async _0x5ca2d4=>{let _0x456084=null,{promiseReadJpegChunks:t,stack:_0x321b12}=_0xc39765();return await t(_0x5ca2d4),_0x321b12['forEach'](({marker:_0x2b01f7,view:_0x2d75bd})=>{!_0x456084&&0xe1===_0x2b01f7&&_0x2d75bd['byteLength']>=0xe&&0x45786966===_0x2d75bd['getUint32'](0x0)&&0x0===_0x2d75bd['getUint16'](0x4)&&(_0x456084=_0x2d75bd);}),_0x456084;},_0x2c21b4=_0x3b8021=>((_0x3163d8,_0x27ba8)=>new Promise((t,_0x415d44)=>{_0x27ba8&&(_0x3163d8['src']=_0x27ba8),_0x3163d8['complete']?t(_0x3163d8):(_0x3163d8['addEventListener']('load',()=>{t(_0x3163d8);}),_0x3163d8['addEventListener']('error',()=>{_0x415d44(new Error('Failed\x20to\x20load\x20image.\x20Probably\x20not\x20an\x20image.'));}));}))(new Image(),_0x3b8021),_0x8077bb=[0x1,0x3],_0x20e133=[0xc0,0xc1,0xc2,0xc3,0xc5,0xc6,0xc7,0xc9,0xca,0xcb,0xcd,0xce,0xcf],_0x18f698={'squareSide':[Math['floor'](Math['sqrt'](0x4c4b40)),0x1000,0x2000,0x2bac,0x2a54,0x2c8a,0x376c,0x4000],'dimension':[0x1000,0x2000,0x4000,0x7fff,0xffff]},_0xfbe984=(_0x54d0f7,_0x45b6f0)=>{let t={};return(..._0xccbefa)=>{let _0x2f5d5d=_0x45b6f0(_0xccbefa,t);return _0x2f5d5d in t?t[_0x2f5d5d]:t[_0x2f5d5d]=_0x54d0f7(..._0xccbefa);};},_0x535e5f=(_0x58eeec,_0x171332)=>{let [t]=_0x58eeec,_0x5446b1=Object['keys'](_0x171332)['map'](_0x33817e=>parseInt(_0x33817e,0xa))['sort']((_0x5717f1,_0x29ccab)=>_0x5717f1-_0x29ccab);for(let _0x3c2a7e=0x0;_0x3c2a7e<_0x5446b1['length'];_0x3c2a7e++){let _0x1098ba=_0x5446b1[_0x3c2a7e],_0x62113f=!!_0x171332[_0x1098ba];if(_0x1098ba>t&&_0x62113f||_0x1098ba<t&&!_0x62113f)return _0x1098ba;}return t;},_0x2c9ba7=0x37,_0x733c04=0x6e,_0x3570d0=0xa5,t3=0xff,_0x11705f='rgba('+_0x2c9ba7+',\x20'+_0x733c04+',\x20'+_0x3570d0+',\x20'+t3/0xff+')',_0x1c4036=(_0x3ea87d,_0x835a4f)=>{try{let t=[_0x3ea87d-0x1,_0x835a4f-0x1,0x1,0x1],{canvas:_0x15d34c,ctx:_0x140ef1}=_0x323810();_0x15d34c['width']=0x1,_0x15d34c['height']=0x1;let {canvas:_0x38a683,ctx:_0x409a6e}=_0x323810();_0x38a683['width']=_0x3ea87d,_0x38a683['height']=_0x835a4f,_0x409a6e&&(_0x409a6e['fillStyle']=_0x11705f,_0x409a6e['fillRect'](...t),_0x140ef1['drawImage'](_0x38a683,_0x3ea87d-0x1,_0x835a4f-0x1,0x1,0x1,0x0,0x0,0x1,0x1));let _0x510678=_0x140ef1&&_0x140ef1['getImageData'](0x0,0x0,0x1,0x1)['data'],_0xe353ae=!0x1;return _0x510678&&(_0xe353ae=_0x510678[0x0]===_0x2c9ba7&&_0x510678[0x1]===_0x733c04&&_0x510678[0x2]===_0x3570d0&&_0x510678[0x3]===t3),_0x38a683['width']=_0x38a683['height']=0x1,_0xe353ae;}catch{return console['error']('Failed\x20to\x20test\x20for\x20max\x20canvas\x20size\x20of\x20'+_0x3ea87d+'x'+_0x835a4f+'.'),!0x1;}};function _0x282028(_0x2442d2){return(..._0x7346e2)=>new Promise(t=>{setTimeout(()=>{t(_0x2442d2(..._0x7346e2));},0x0);});}var _0x43f857=_0x282028(_0xfbe984(_0x1c4036,_0x535e5f)),_0x43baf9=_0x282028(_0xfbe984(_0x1c4036,_0x535e5f)),_0x56304c=async(_0x364b71,_0x57d01a)=>{let t=_0x18f698['squareSide']['find'](_0x577f5f=>_0x577f5f*_0x577f5f>=_0x364b71*_0x57d01a),_0x15b904=_0x18f698['dimension']['find'](_0xd16a8=>_0xd16a8>=_0x364b71&&_0xd16a8>=_0x57d01a);if(!t||!_0x15b904)throw new Error('Not\x20supported');let [_0xc8295e,_0x4ea4be]=await Promise['all']([_0x43f857(t,t),_0x43baf9(_0x15b904,0x1)]);if(_0xc8295e&&_0x4ea4be)return!0x0;throw new Error('Not\x20supported');},_0x1fe0e6=async(_0x2ad9aa,_0x21f013,t)=>{try{let {ctx:_0x688955,canvas:_0x44ecf5}=_0x323810();return _0x44ecf5['width']=_0x21f013,_0x44ecf5['height']=t,_0x688955['imageSmoothingQuality']='high',_0x688955['drawImage'](_0x2ad9aa,0x0,0x0,_0x21f013,t),_0x2ad9aa instanceof HTMLImageElement&&(_0x2ad9aa['src']='//:0'),_0x2ad9aa instanceof HTMLCanvasElement&&(_0x2ad9aa['width']=_0x2ad9aa['height']=0x1),_0x44ecf5;}catch(_0x3ed90a){throw new Error('Canvas\x20resize\x20error',{'cause':_0x3ed90a});}},_0xf0347d=({img:_0x3c38ee,sourceW:_0x41478f,targetW:t,targetH:_0x49c7b6,step:_0x1e4082})=>{let _0x284679=function({sourceW:_0x538ed4,targetW:_0x530114,targetH:t,step:_0x342e12}){let _0x4e037c=[],_0x3117e0=_0x530114,_0x5a02dc=t;do{_0x4e037c['push']([_0x3117e0,_0x5a02dc]),_0x3117e0=Math['round'](_0x3117e0/_0x342e12),_0x5a02dc=Math['round'](_0x5a02dc/_0x342e12);}while(_0x3117e0<_0x538ed4*_0x342e12);return _0x4e037c['reverse']();}({'sourceW':_0x41478f,'targetW':t,'targetH':_0x49c7b6,'step':_0x1e4082});return _0x284679['reduce']((_0x3e6612,[_0x152e3e,_0x4a8e95],_0x3feed5)=>_0x3e6612['then'](_0x18fb14=>_0x56304c(_0x152e3e,_0x4a8e95)['then'](()=>_0x1fe0e6(_0x18fb14,_0x152e3e,_0x4a8e95))['catch'](()=>{if(_0x3feed5===_0x284679['length']-0x1)throw new Error('Not\x20supported');return _0x18fb14;})),Promise['resolve'](_0x3c38ee));},_0xeb4a8f=navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform']),_0x73bda2=0.71,_0x3211db=(_0x367d5f,_0x10aafc)=>{if(_0x367d5f['width']*_0x73bda2*_0x367d5f['height']*_0x73bda2<_0x10aafc['size'])throw new Error('Not\x20required');let t=_0x367d5f['width'],_0x548acf=t/_0x367d5f['height'],_0x321677=Math['floor'](Math['sqrt'](_0x10aafc['size']*_0x548acf)),_0x80be98=Math['floor'](_0x10aafc['size']/Math['sqrt'](_0x10aafc['size']*_0x548acf));return _0x56304c(_0x321677,_0x80be98)['then'](()=>{let {ctx:_0x3cf07a}=_0x323810();return!('imageSmoothingQuality'in _0x3cf07a)||/iPad|iPhone|iPod/['test'](navigator['platform'])||navigator['maxTouchPoints']&&navigator['maxTouchPoints']>0x2&&/MacIntel/['test'](navigator['platform'])||_0xeb4a8f?_0xf0347d({'img':_0x367d5f,'sourceW':t,'targetW':_0x321677,'targetH':_0x80be98,'step':_0x73bda2}):(({img:_0x42cc55,targetW:_0x625b52,targetH:t})=>_0x1fe0e6(_0x42cc55,_0x625b52,t))({'img':_0x367d5f,'targetW':_0x321677,'targetH':_0x80be98});})['catch'](()=>Promise['reject']('Not\x20supported'));},_0x227b10=async(_0x3a0d77,_0x1e8837)=>{try{if(await(async _0x410975=>{let _0xd2cb4b=!0x1,{promiseReadJpegChunks:t,stack:_0x49f472}=_0xc39765();return await t(_0x410975)['then'](()=>(_0x49f472['forEach'](({marker:_0xaf72b9,view:_0xb5e3fd})=>{if(!_0xd2cb4b&&_0x20e133['indexOf'](_0xaf72b9)>=0x0){let _0x1a6751=_0xb5e3fd['getUint8'](0x5);_0x8077bb['indexOf'](_0x1a6751)<0x0&&(_0xd2cb4b=!0x0);}}),_0xd2cb4b))['catch'](()=>_0xd2cb4b);})(_0x3a0d77))throw new Error('Should\x20skipped');let _0x2d577a=await Promise['allSettled']([_0xb124fe(_0x3a0d77),new Promise(_0x2463e6=>{if(void 0x0!==_0x3d1a1c)_0x2463e6(_0x3d1a1c);else{let _0x1f711f=new Image();_0x1f711f['addEventListener']('load',()=>{_0x3d1a1c=_0x1f711f['naturalWidth']<_0x1f711f['naturalHeight'],_0x1f711f['src']='//:0',_0x2463e6(_0x3d1a1c);}),_0x1f711f['src']='data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/4QA6RXhpZgAATU0AKgAAAAgAAwESAAMAAAABAAYAAAEoAAMAAAABAAIAAAITAAMAAAABAAEAAAAAAAD/2wBDAP//////////////////////////////////////////////////////////////////////////////////////wAALCAABAAIBASIA/8QAJgABAAAAAAAAAAAAAAAAAAAAAxABAAAAAAAAAAAAAAAAAAAAAP/aAAgBAQAAPwBH/9k=';}}),_0x1de3ad(_0x3a0d77)]),_0x1ab2c8=!_0x2d577a['some'](_0x902f1d=>'rejected'===_0x902f1d['status']),[_0x15f371,_0x3bf033,_0x273823]=_0x2d577a,_0x5576a3=await(async _0x4e3de5=>{try{return await _0x3991c1(_0x4e3de5,[]);}catch(_0x380fe8){throw new Error('Failed\x20to\x20strip\x20ICC\x20profile:\x20'+_0x380fe8);}})(_0x3a0d77)['catch'](()=>_0x3a0d77),_0x4a1590=await _0x2c21b4(URL['createObjectURL'](_0x5576a3));URL['revokeObjectURL'](_0x4a1590['src']);let _0x1fe84b=await _0x3211db(_0x4a1590,_0x1e8837),_0x3b73e0='image/jpeg',_0x2b87d6=_0x1e8837?.['quality']||0.8;!_0x1ab2c8&&(_0x45df8c=>{let {ctx:t,canvas:_0x2f382c}=_0x323810();_0x2f382c['width']=_0x2f382c['height']=0x32,t['drawImage'](_0x45df8c,0x0,0x0,0x32,0x32);let _0x6553c6=t['getImageData'](0x0,0x0,0x32,0x32)['data'];_0x2f382c['width']=_0x2f382c['height']=0x1;for(let _0x16ce0d=0x3;_0x16ce0d<_0x6553c6['length'];_0x16ce0d+=0x4)if(_0x6553c6[_0x16ce0d]<0xfe)return!0x0;return!0x1;})(_0x1fe84b)&&(_0x3b73e0='image/png',_0x2b87d6=void 0x0);let _0x15c49e=await((_0xbd6fbd,_0x21b3bf,t)=>new Promise((_0x413c97,_0x2d88c5)=>{_0xbd6fbd['toBlob'](_0x1b19ed=>{_0x1b19ed?_0x413c97(_0x1b19ed):_0x2d88c5('Failed\x20to\x20convert\x20canvas\x20to\x20blob');},_0x21b3bf,t),_0xbd6fbd['width']=_0xbd6fbd['height']=0x1;}))(_0x1fe84b,_0x3b73e0,_0x2b87d6);if(_0x1ab2c8&&'fulfilled'===_0x15f371['status']&&_0x15f371['value']){let _0x4873f8=_0x15f371['value'],_0x25782f='fulfilled'===_0x3bf033['status']&&_0x3bf033['value'];_0x15c49e=await(async(_0x510cfd,_0x17ad6f,t)=>(t&&((_0x3ff8d4,_0x25fbb9)=>{((_0x27a150,_0x3869ea)=>{let t,_0x47bb70,_0x1e705f,_0x34b318;if(_0x27a150&&!(_0x27a150['byteLength']<0xe)&&0x45786966===_0x27a150['getUint32'](0x0)&&0x0===_0x27a150['getUint16'](0x4)){if(0x4949===_0x27a150['getUint16'](0x6))_0x47bb70=!0x0;else{if(0x4d4d!==_0x27a150['getUint16'](0x6))return;_0x47bb70=!0x1;}if(0x2a===_0x27a150['getUint16'](0x8,_0x47bb70))for(_0x1e705f=0x8+_0x27a150['getUint32'](0xa,_0x47bb70),t=0x0,_0x34b318=_0x27a150['getUint16'](_0x1e705f-0x2,_0x47bb70);_0x34b318>=0x0?t<_0x34b318:t>_0x34b318;_0x34b318>=0x0?++t:--t){if(_0x27a150['byteLength']<_0x1e705f+0xa)return;0x112===_0x27a150['getUint16'](_0x1e705f,_0x47bb70)&&_0x3869ea(_0x1e705f+0x8,_0x47bb70),_0x1e705f+=0xc;}}})(_0x3ff8d4,(t,_0x265165)=>_0x3ff8d4['setUint16'](t,_0x25fbb9,_0x265165));})(_0x17ad6f,0x1),_0x36d8cf(_0x510cfd,0xe1,[_0x17ad6f['buffer']])))(_0x15c49e,_0x4873f8,_0x25782f);}return _0x1ab2c8&&'fulfilled'===_0x273823['status']&&_0x273823['value']['length']>0x0&&(_0x15c49e=await _0x3991c1(_0x15c49e,_0x273823['value'])),_0x15c49e;}catch(_0xd8eff5){let _0x3e66b1;throw _0xd8eff5 instanceof Error&&(_0x3e66b1=_0xd8eff5['message']),'string'==typeof _0xd8eff5&&(_0x3e66b1=_0xd8eff5),new Error('Failed\x20to\x20shrink\x20image.\x20'+(_0x3e66b1?'Message:\x20\x22'+_0x3e66b1+'\x22.':''),{'cause':_0xd8eff5});}},_0x5187dc=/^([0-9]+)x([0-9]+)(?:\s+(\d{1,2}|100)%)?$/i,_0x5a173d={'id':'image-shrink','setup'({pluginApi:_0x39370c}){_0x39370c['registry']['registerFileHook']({'type':'beforeUpload','handler':async({file:_0x1f76ba})=>{let t=_0x39370c['config']['get']('imageShrink');if(!t)return{'file':_0x1f76ba};let _0x6306ed=(_0x524450=>{if('string'!=typeof _0x524450)return!0x1;let _0x59589e=_0x5187dc['exec'](_0x524450['toLocaleLowerCase']())??[];if(0x0===_0x59589e['length'])return!0x1;let t=Number(_0x59589e[0x1])*Number(_0x59589e[0x2]),_0x8a178a=0x10000000;return t>_0x8a178a?(console['warn']('Shrinked\x20size\x20can\x20not\x20be\x20larger\x20than\x20'+Math['floor'](268.435456)+'MP.\x20You\x20have\x20set\x20'+_0x59589e[0x1]+'x'+_0x59589e[0x2]+'\x20('+Math['ceil'](t/0x3e8/0x64)/0xa+'MP).'),!0x1):{'quality':_0x59589e[0x3]?Number(_0x59589e[0x3])/0x64:void 0x0,'size':t};})(t);if(!_0x6306ed)return console['warn']('[ImageShrinkPlugin]\x20Image\x20shrink\x20settings\x20are\x20invalid,\x20skipping\x20shrinking'),{'file':_0x1f76ba};try{return{'file':await _0x227b10(_0x1f76ba,_0x6306ed)};}catch{return{'file':_0x1f76ba};}}});}},_0x2b2677={'id':'instagram','setup'({pluginApi:_0xa5fc76}){_0xa5fc76['registry']['registerSource']({'id':'instagram','label':'src-type-instagram','icon':'instagram','expand':()=>(console['error']('Instagram\x20source\x20was\x20removed\x20because\x20the\x20Instagram\x20Basic\x20Display\x20API\x20hasn\x27t\x20been\x20available\x20since\x20December\x204,\x202024.\x20Official\x20statement,\x20see\x20here:\x20https://developers.facebook.com/blog/post/2024/09/04/update-on-instagram-basic-display-api/?locale=en_US'),[]),'onSelect':()=>{}});}},_0x380ef6={'id':_0x363ac3['LOCAL'],'setup':({pluginApi:_0x46ac9a,uploaderApi:_0x50f881})=>{_0x46ac9a['registry']['registerSource']({'id':_0x363ac3['LOCAL'],'label':'src-type-local','icon':'local','onSelect':()=>{_0x50f881['openSystemDialog']();}});}},_0x551b09={'id':'url-source','setup':async({pluginApi:_0x2f1e01,uploaderApi:_0x558500})=>{_0x524a40({'UrlSource':_0x4100cf}),_0x2f1e01['registry']['registerActivity']({'id':_0x3e80cf['URL'],'render':t=>{let _0x4343b2=document['createElement']('uc-url-source');return t['append'](_0x4343b2),()=>{t['replaceChildren']();};}}),_0x2f1e01['registry']['registerSource']({'id':'url','label':'src-type-from-url','icon':'url','onSelect':()=>{_0x558500['setCurrentActivity'](_0x3e80cf['URL']),_0x558500['setModalState'](!0x0);}});}},_0x4345b4=[{'configDeps':['useCloudImageEditor'],'isEnabled':_0x51d101=>!!_0x51d101('useCloudImageEditor'),'load':()=>_0x7b76a7},{'configDeps':['imageShrink'],'isEnabled':_0x5ecfa3=>!!_0x5ecfa3('imageShrink'),'load':()=>_0x5a173d},{'configDeps':['sourceList'],'isEnabled':_0x6d39ae=>_0x182d3c(_0x6d39ae('sourceList'))['includes'](_0x363ac3['LOCAL']),'load':()=>_0x380ef6},{'configDeps':['sourceList'],'isEnabled':_0x120330=>_0x182d3c(_0x120330('sourceList'))['includes'](_0x363ac3['CAMERA']),'load':()=>_0x2f373c},{'configDeps':['sourceList'],'isEnabled':_0x219440=>_0x182d3c(_0x219440('sourceList'))['includes']('instagram'),'load':()=>_0x2b2677},{'configDeps':['sourceList'],'isEnabled':_0x45888c=>Object['values'](_0x50f779)['some'](_0x5c1bc8=>_0x182d3c(_0x45888c('sourceList'))['includes'](_0x5c1bc8)),'load':()=>_0x213c1b},{'configDeps':['sourceList'],'isEnabled':_0x1a9508=>_0x182d3c(_0x1a9508('sourceList'))['includes'](_0x363ac3['URL']),'load':()=>_0x551b09}],_0x160a0d=class extends _0x1d90e8{constructor(){super(),this['headless']=!0x1,this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x4345b4;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-regular'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['INIT_SOLUTION']});}['render'](){return _0x19f5e4` ${super['render']()}<uc-simple-btn ?hidden=${this['headless']}></uc-simple-btn><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']}>${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from></uc-modal><uc-modal id="upload-list" strokes block-body-scrolling><uc-upload-list></uc-upload-list></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};_0x507457([_0x4331b3({'type':Boolean})],_0x160a0d['prototype'],'headless',0x2);var _0x18dbb4=class extends _0x1d90e8{constructor(){super(),this['Tc']=!0x1,this['Ee']=()=>{if(this['Ec']){let t=this['$']['*historyBack'];return void t?.();}this['xc']&&(this['$']['*currentActivity']=t1['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x4345b4;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-inline'];}get['Ec'](){let t=this['$']['*history'];return!(!t||t['length']<=0x1)&&t[t['length']-0x1]!==t1['activities']['START_FROM'];}get['xc'](){let t=this['$']['*uploadList'];return this['cfg']['showEmptyList']||Array['isArray'](t)&&t['length']>0x0;}['Hs'](){return this['getCssData']('--cfg-init-activity')||t1['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x4bbc27=>{_0x4bbc27||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x3851a6=>{Array['isArray'](_0x3851a6)&&_0x3851a6['length']>0x0&&this['$']['*currentActivity']===t&&(this['$']['*currentActivity']=t1['activities']['UPLOAD_LIST']);}),this['sub']('*history',()=>{this['Tc']=this['Ec']||this['xc'];});}['render'](){return _0x19f5e4` ${super['render']()}<uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-cancel-btn uc-secondary-btn" @click=${this['Ee']} ?hidden=${!this['Tc']} >${this['l10n']('start-from-cancel')}</button><uc-copyright></uc-copyright></uc-start-from><uc-upload-list></uc-upload-list><uc-plugin-activity-renderer mode="inline"></uc-plugin-activity-renderer>`;}};_0x507457([_0x511660()],_0x18dbb4['prototype'],'Tc',0x2);var _0x2910f3='active',_0x11b3dd=class extends _0x1d90e8{constructor(){super(),this['Ks']=!0x1,this['Vr']=!0x1,this['_r']='',this['js']='',this['ui']='choose-file',this['si']=t=>{t['id']===t1['activities']['CLOUD_IMG_EDIT']&&(this['_r']=_0x2910f3),this['$']['*currentActivity']===t1['activities']['UPLOAD_LIST']&&(this['_r']=_0x2910f3,this['Vr']=!0x0);let _0x547dc6=this['$']['*uploadList'];(!_0x547dc6||_0x547dc6['length']<=0x0)&&(this['js']=_0x2910f3);},this['ni']=t=>{t['id']===this['$']['*currentActivity']&&(this['$']['*currentActivity']=t1['activities']['UPLOAD_LIST'],this['Vr']=!0x1),t['id']===t1['activities']['CLOUD_IMG_EDIT']&&(this['$']['*currentActivity']=t1['activities']['UPLOAD_LIST']);},this['init$']={...this['init$']};}static{this['lazyPlugins']=_0x4345b4;}static{this['styleAttrs']=[...super['styleAttrs'],'uc-file-uploader-minimal'];}['Hs'](){return this['getCssData']('--cfg-init-activity')||t1['activities']['START_FROM'];}['initCallback'](){super['initCallback'](),this['telemetryManager']['sendEvent']({'eventType':_0x53dd0f['INIT_SOLUTION']});let t=this['Hs']();this['sub']('*currentActivity',_0x1d3346=>{_0x1d3346===t1['activities']['UPLOAD_LIST']&&this['modalManager']?.['closeAll'](),_0x1d3346||(this['$']['*currentActivity']=t);}),this['sub']('*uploadList',_0x3d0f2c=>{Array['isArray'](_0x3d0f2c)&&_0x3d0f2c['length']>0x0?(this['$']['*currentActivity']=t1['activities']['UPLOAD_LIST'],this['js']=''):(this['_r']='',this['Vr']=!0x1,this['$']['*currentActivity']=t);}),this['subConfigValue']('confirmUpload',_0x38fab6=>{!0x1!==_0x38fab6&&(this['cfg']['confirmUpload']=!0x1);}),this['subConfigValue']('filesViewMode',_0x3e4e84=>{this['setAttribute']('mode',_0x3e4e84),this['subConfigValue']('multiple',_0x4effc7=>{'grid'===_0x3e4e84?(_0x4effc7?this['style']['removeProperty']('--uc-grid-col'):this['style']['setProperty']('--uc-grid-col','1'),this['Ks']=!_0x4effc7):(this['style']['removeProperty']('--uc-grid-col'),this['Ks']=!0x1);});}),this['subConfigValue']('multiple',_0x23984b=>{this['ui']=_0x23984b?'choose-files':'choose-file';}),this['modalManager']?.['subscribe'](_0x2d41b7['OPEN'],this['si']),this['modalManager']?.['subscribe'](_0x2d41b7['CLOSE'],this['ni']);}['disconnectedCallback'](){super['disconnectedCallback'](),this['modalManager']?.['unsubscribe'](_0x2d41b7['OPEN'],this['si']),this['modalManager']?.['unsubscribe'](_0x2d41b7['CLOSE'],this['ni']);}['render'](){return _0x19f5e4` ${super['render']()}<uc-start-from ?hidden=${this['Vr']} class=${this['js']}><uc-drop-area ?single=${this['Ks']} initflow clickable tabindex="0" ><span>${this['l10n'](this['ui'])}</span></uc-drop-area><uc-copyright></uc-copyright></uc-start-from><uc-upload-list class=${this['_r']}></uc-upload-list><uc-modal id="start-from" strokes block-body-scrolling><uc-start-from><uc-drop-area with-icon clickable></uc-drop-area><uc-source-list role="list" wrap></uc-source-list><button type="button" class="uc-secondary-btn" @click=${this['$']['*historyBack']} >${this['l10n']('start-from-cancel')}</button></uc-start-from></uc-modal><uc-plugin-activity-renderer mode="modal"></uc-plugin-activity-renderer>`;}};_0x507457([_0x511660()],_0x11b3dd['prototype'],'Ks',0x2),_0x507457([_0x511660()],_0x11b3dd['prototype'],'Vr',0x2),_0x507457([_0x511660()],_0x11b3dd['prototype'],'_r',0x2),_0x507457([_0x511660()],_0x11b3dd['prototype'],'js',0x2),_0x507457([_0x511660()],_0x11b3dd['prototype'],'ui',0x2);var _0x599eca=class extends _0x14e616['Plugin']{static get['requires'](){return[_0x29f4ee,_0x2d427b];}static get['pluginName'](){return'Uploadcare';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x420380){super(_0x420380),_0x420380['config']['define']('uploadcare.uploader.sourceList',['local','url']),_0x524a40(_0x2d0339),this['_defineLocale']();}['_defineLocale'](){const _0x5c46ba=this['editor']['config']['get']('uploadcare.locale'),_0x46d0da=this['editor']['locale']['contentLanguage'];_0x5c46ba&&_0xdd7229(_0x46d0da,_0x5c46ba);}},_0x2ffe8a=class extends _0x14e616['View']{constructor(_0x27b18f){super(_0x27b18f);const t=_0x27b18f['t'],_0x17aefa=this['bindTemplate'],_0x105b9b=new _0x14e616['SpinnerView']();_0x105b9b['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':[_0x105b9b,{'text':_0x17aefa['to']('imageUploadProgress',_0x2e259b=>t('Loading\x20image...')+'\x20('+(_0x2e259b||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'}]}]}]});}},_0x159c04=class extends _0x14e616['View']{constructor(_0x3f6ac6){super(_0x3f6ac6);const t=_0x3f6ac6['t'];this['set']('errorType',null);const _0x4d6643=new _0x14e616['ButtonView'](_0x3f6ac6);_0x4d6643['label']=t({'id':'Try\x20again\x20(Uploadcare)','string':'Try\x20again'}),_0x4d6643['withText']=!0x0,_0x4d6643['class']='ck-button-action',_0x4d6643['on']('execute',()=>{this['fire']('retry');}),_0x4d6643['bind']('isVisible')['to'](this,'errorType',_0x1531fb=>'NotFound'!==_0x1531fb);const _0x3ef589=new _0x14e616['IconView']();_0x3ef589['content']=_0x14e616['IconError'],_0x3ef589['extendTemplate']({'attributes':{'style':{'width':'50px','height':'50px'}}});const _0x4c73ea=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':[_0x3ef589,{'tag':'h3','attributes':{'style':{'fontWeight':'bold'}},'children':[{'text':t('Unable\x20to\x20load')}]},{'text':_0x4c73ea['to']('errorType',_0x264740=>t('NotFound'!==_0x264740?'We\x20were\x20unable\x20to\x20load\x20the\x20image\x20due\x20to\x20network\x20connection\x20issues.':'The\x20image\x20was\x20not\x20found.\x20Its\x20source\x20may\x20have\x20been\x20removed.'))},_0x4d6643]},{'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'}]}]}]});}},_0x5844bc=class extends _0x14e616['View']{constructor(_0x14bab8,_0xc93b7d){super(_0x14bab8);const _0x4eba8b=this['bindTemplate'];this['set']('imageSrc',''),this['setTemplate']({'tag':'uc-cloud-image-editor','attributes':{..._0xc93b7d,'class':['uc-light','ck-uploadcare-theme'],'ctx-name':'image-edit','cdn-url':_0x4eba8b['to']('imageSrc')}});}},_0x5a616a=class extends _0x4b4005{['_items'];['_loadingView'];['_errorView'];['_editingView'];['_focusableView'];constructor(_0x3dd5cf,_0x2f7c9d,_0x2c90e9){super(_0x3dd5cf),this['_items']=this['createCollection'](),this['_loadingView']=new _0x2ffe8a(_0x3dd5cf),this['_errorView']=new _0x159c04(_0x3dd5cf),this['_editingView']=new _0x5844bc(_0x3dd5cf,_0x2c90e9),this['_focusableView']=new _0x14e616['View'](_0x3dd5cf),this['_focusableView']['setTemplate'](this['getFocusableElement']()),this['set']('status',_0x2f7c9d),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'],_0x115e49=>{this['_addUploadcareImageEditorListeners'](_0x115e49);});}),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'](_0x529042,_0x2131b6){const _0x332df0='uc-cloud-image-editor',_0x3411a7=_0x529042['querySelector'](_0x332df0);if(_0x3411a7)return _0x2131b6(_0x3411a7);const _0x1475a7=new MutationObserver(_0x394fb9=>{const _0x254dca=_0x394fb9['filter'](_0x3a4853=>_0x3a4853['target']===_0x529042&&_0x3a4853['addedNodes']['length']>0x0&&_0x3a4853['addedNodes'][0x0]['nodeName']['toLowerCase']()===_0x332df0);_0x254dca['length']&&(_0x1475a7['disconnect'](),_0x2131b6(_0x254dca[0x0]['addedNodes'][0x0]));});_0x1475a7['observe'](_0x529042,{'childList':!0x0,'subtree':!0x0});}['_addUploadcareImageEditorListeners'](_0x2297c8){_0x2297c8['addEventListener']('apply',_0x4b6597=>{this['fire']('apply',{'imageSrc':_0x4b6597['detail']['cdnUrl']});}),_0x2297c8['addEventListener']('cancel',()=>{this['fire']('cancel');});}['_addErrorViewListeners'](){this['_errorView']['on']('retry',()=>{this['fire']('retry');});}};const _0x14d0e4=/* #__PURE__ -- @preserve */
/* #__PURE__ -- @preserve */
(0x0,_0x14e616['ObservableMixin'])();var _0x2397f8=class extends _0x14d0e4{['_editor'];['_dialog'];['_imageElement'];['_imageCache'];['_controller'];['_attributes'];constructor(_0x211275,_0x1935e3,_0x4f2291){super(),this['_editor']=_0x211275,this['_dialog']=_0x1935e3,this['_imageElement']=_0x4f2291,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 _0x58b9e7=this['_imageElement'],_0x204aa8=_0x58b9e7['getAttribute']('uploadcareImageId'),_0x4ac1de=_0x58b9e7['getAttribute']('src');if(_0x204aa8)await this['_loadImageInfo'](_0x204aa8,_0x4ac1de);else{if(this['_imageCache']['has'](_0x4ac1de)){const _0x1e1cb6=this['_imageCache']['get'](_0x4ac1de);this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x1e1cb6['url'],this['imageDimension']=_0x1e1cb6['dimension'],this['imageId']=_0x1e1cb6['id'];}else this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),await this['_uploadImage'](this['_imageElement'],this['_controller']);}}['_showDialog'](){const {locale:_0x21a0f8}=this['_editor'],t=_0x21a0f8['t'],_0x25929e=new _0x5a616a(_0x21a0f8,this['imageStatus'],this['_attributes']);_0x25929e['bind']('status')['to'](this,'imageStatus'),_0x25929e['_loadingView']['bind']('imageUploadProgress')['to'](this,'imageUploadProgress'),_0x25929e['_editingView']['bind']('imageSrc')['to'](this,'imageSrc'),_0x25929e['_errorView']['bind']('errorType')['to'](this,'imageErrorType'),this['_addEditViewListeners'](_0x25929e,this['_imageElement']),this['_dialog']['show']({'id':'uploadcareImageEdit','icon':_0x14e616['IconUploadcareImageEdit'],'title':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'}),'content':_0x25929e,'position':_0x14e616['DialogViewPosition']['EDITOR_TOP_CENTER'],'isModal':!0x0,'onShow':()=>{_0x25929e['focus']();},'onHide':()=>{_0x25929e['destroy'](),this['destroy']();},'keystrokeHandlerOptions':{'filter':_0x2e9628=>!_0x44b654(_0x2e9628,_0x25929e['element'])}});}['_loadImageInfo'](_0x303b87,_0x4f2310){return _0x35dbfb['getInfo'](_0x303b87,{'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl')})['then'](_0x1f8ce8=>{const {width:_0x1c37f2,height:_0x28c289}=_0x1f8ce8['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x4f2310,this['imageDimension']={'width':_0x1c37f2,'height':_0x28c289},this['imageId']=_0x303b87;})['catch'](_0x160ad6=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x160ad6['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_uploadImage'](_0xb95f68,_0x41ed35){return this['_getImageAsFile'](_0xb95f68)['then'](_0x36594b=>_0x35dbfb['upload']({'publicKey':this['_editor']['config']['get']('uploadcare.pubkey'),'baseURL':this['_editor']['config']['get']('uploadcare.uploader.baseUrl'),'baseCDN':this['_editor']['config']['get']('uploadcare.uploader.cdnCname'),'signal':_0x41ed35['signal'],'file':_0x36594b,'onProgress':_0x46dbe8=>{_0x46dbe8&&_0x46dbe8['isComputable']&&(this['imageUploadProgress']=Math['ceil'](0x64*_0x46dbe8['value']));}}))['then'](_0x12695d=>{const {width:_0x405fa8,height:_0xc1dcab}=_0x12695d['imageInfo'];this['imageStatus']='ready',this['imageErrorType']=null,this['imageSrc']=_0x12695d['cdnUrl'],this['imageDimension']={'width':_0x405fa8,'height':_0xc1dcab},this['imageId']=_0x12695d['uuid'],this['imageUploadProgress']=null;const _0x2444e9=_0xb95f68['getAttribute']('src');this['_imageCache']['set'](_0x2444e9,{'id':_0x12695d['uuid'],'url':_0x12695d['cdnUrl'],'dimension':this['imageDimension']});})['catch'](_0x2a29ce=>{this['imageStatus']='error',this['imageErrorType']='FileNotFoundError'===_0x2a29ce['code']?'NotFound':'Network',this['imageSrc']=null,this['imageDimension']=null,this['imageId']=null,this['imageUploadProgress']=null;});}['_addEditViewListeners'](_0x586d3a,_0x59e5e2){_0x586d3a['on']('apply',(_0x5f2c69,_0x4ae247)=>{this['_replaceImage'](_0x59e5e2,_0x4ae247['imageSrc'],this['imageId']),this['_dialog']['hide']();}),_0x586d3a['on']('retry',()=>{this['imageStatus']='uploading',this['imageUploadProgress']=0x0,this['_controller']=new AbortController(),this['_uploadImage'](this['_imageElement'],this['_controller']);}),_0x586d3a['on']('cancel',()=>{this['_dialog']['hide']();});}['_replaceImage'](_0x232f21,_0x28ebdb,_0x25ada8){const _0x2287be=this['_editor'],{width:_0x4b3f69,height:_0x164cfe}=_0x5ddd5e(_0x28ebdb,this['imageDimension']['width'],this['imageDimension']['height']),{imageFallbackUrl:_0x2bca6e,imageSources:_0x2f9c07}=_0x506df8(_0x28ebdb,_0x4b3f69);_0x2287be['model']['change'](_0xd906b2=>{if('$graveyard'!==_0x232f21['root']['rootName'])_0xd906b2['setSelection'](_0x232f21,'on'),_0x2287be['execute']('uploadcareImageReplace',{...Object['fromEntries'](_0x232f21['getAttributes']()),'uploadcareImageId':_0x25ada8,'src':_0x2bca6e,'sources':_0x2f9c07,'width':_0x4b3f69,'height':_0x164cfe},_0x232f21);else{_0x2287be['execute']('insertImage',{'imageType':_0x232f21['is']('element','imageInline')?'imageInline':null,'source':{...Object['fromEntries'](_0x232f21['getAttributes']()),'uploadcareImageId':_0x25ada8,'src':_0x2bca6e,'sources':_0x2f9c07,'width':_0x4b3f69,'height':_0x164cfe}});const _0x2565ff=_0x232f21['getChildren']();_0x232f21=_0x2287be['model']['document']['selection']['getSelectedElement']();for(const _0x52019d of _0x2565ff)_0xd906b2['append'](_0xd906b2['cloneElement'](_0x52019d),_0x232f21);}_0xd906b2['setSelection'](_0x232f21,'on');});}async['_getImageAsFile'](_0x15982f){const _0x329a52=_0x14e616['global']['window'],_0x2bc6e1=_0x14e616['global']['document']['location']['href'],_0x471d33=new _0x329a52['URL'](_0x15982f['getAttribute']('src'),_0x2bc6e1);if('data:'===_0x471d33['protocol']){const _0x4c801d=_0x471d33['href']['split'](','),_0x366c72=_0x4c801d[0x0]['match'](/:(.*?);/)[0x1],_0x127dcf=_0x366c72['split']('/')[0x1],_0x61adb1=_0x329a52['atob'](_0x4c801d[_0x4c801d['length']-0x1]);let _0x211868=_0x61adb1['length'];const _0x47c785=new _0x329a52['Uint8Array'](_0x211868);for(;_0x211868--;)_0x47c785[_0x211868]=_0x61adb1['charCodeAt'](_0x211868);return new _0x329a52['File']([_0x47c785],'image.'+_0x127dcf,{'type':_0x366c72});}const _0x5cab69=_0x471d33['href']['split']('/'),_0x2cab92=_0x5cab69[_0x5cab69['length']-0x1],_0x5244d3=_0x2cab92['split']('.')[0x1];return _0x329a52['fetch'](_0x471d33['href'])['then'](_0x1e685a=>_0x1e685a['clone']()['blob']())['then'](_0x21602c=>new _0x329a52['File']([_0x21602c],_0x2cab92,{'type':'image/'+_0x5244d3}));}},_0x2c0c62=class extends _0x14e616['Command']{['imageEditController'];static get['requires'](){return[_0x14e616['Dialog']];}['_isEditable'];constructor(_0xf50616){super(_0xf50616),this['imageEditController']=void 0x0,this['_isEditable']=function(_0x432bc4){const _0x58bf8f=_0x430fdd(_0x432bc4);return _0x46f4bf=>!(!_0x46f4bf||!_0x46f4bf['is']('element','imageBlock')&&!_0x46f4bf['is']('element','imageInline'))&&(!!_0x46f4bf['hasAttribute']('uploadcareImageId')||!!_0x46f4bf['hasAttribute']('src')&&_0x58bf8f(_0x46f4bf['getAttribute']('src')));}(_0xf50616['config']['get']('uploadcare.allowExternalImagesEditing')||[]),this['set']({'isActive':!0x1});}['refresh'](){const _0x118912=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=this['_isEditable'](_0x118912);}['execute'](){this['imageEditController']&&(this['unbind']('isActive'),this['imageEditController']=void 0x0);const _0x2c0d6d=this['editor']['model']['document']['selection']['getSelectedElement']();_0x2c0d6d&&(_0x2c0d6d['is']('element','imageBlock')||_0x2c0d6d['is']('element','imageInline'))&&(this['imageEditController']=new _0x2397f8(this['editor'],this['editor']['plugins']['get'](_0x14e616['Dialog']),_0x2c0d6d),this['bind']('isActive')['to'](this['imageEditController'],'isActive'));}},_0x16db87=class extends _0x14e616['Command']{['refresh'](){const _0x27ea5d=this['editor']['model']['document']['selection']['getSelectedElement']();this['isEnabled']=Boolean(_0x27ea5d&&(_0x27ea5d['is']('element','imageBlock')||_0x27ea5d['is']('element','imageInline')));}['execute'](_0xd7fca){const _0x38a7a2=this['editor']['model']['document']['selection']['getSelectedElement']();this['editor']['model']['change'](_0x1a1eda=>{_0x1a1eda['setAttributes'](_0xd7fca,_0x38a7a2),_0x1a1eda['removeAttribute']('srcset',_0x38a7a2),_0x1a1eda['removeAttribute']('sizes',_0x38a7a2);});}},_0x42c6e2=class extends _0x14e616['Plugin']{static get['pluginName'](){return'UploadcareImageEditEditing';}static get['requires'](){return[_0x29f4ee,_0x14e616['Notification'],_0x14e616['ImageUtils'],_0x14e616['ImageEditing']];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf6b1f1}=this;_0xf6b1f1['commands']['add']('uploadcareImageEdit',new _0x2c0c62(_0xf6b1f1)),_0xf6b1f1['commands']['add']('uploadcareImageReplace',new _0x16db87(_0xf6b1f1));}},_0x55534d=class extends _0x14e616['Plugin']{['_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 _0x54028d=this['editor'];_0x54028d['ui']['componentFactory']['add']('uploadcareImageEdit',_0x424c71=>{const _0x38e82b=_0x54028d['commands']['get']('uploadcareImageEdit'),_0x49e28e=new _0x14e616['ButtonView'](_0x424c71),t=_0x424c71['t'];return _0x49e28e['set']({'icon':_0x14e616['IconUploadcareImageEdit'],'tooltip':!0x0,'label':t({'id':'Edit\x20Image\x20(Uploadcare)','string':'Edit\x20image'})}),_0x49e28e['bind']('isEnabled')['to'](_0x38e82b),_0x49e28e['bind']('isOn')['to'](_0x38e82b,'isActive'),this['listenTo'](_0x49e28e,'execute',()=>{_0x54028d['execute']('uploadcareImageEdit'),_0x54028d['editing']['view']['focus']();}),_0x49e28e;}),this['_initConfig']();}['_initConfig'](){const _0x565f8c=(0x0,_0x14e616['createElement'])(document,'uc-config',{'ctx-name':'image-edit','removeCopyright':'true','localeName':this['editor']['locale']['contentLanguage']});document['body']['appendChild'](_0x565f8c),this['listenTo'](this['editor'],'destroy',()=>{_0x565f8c['remove']();});}},_0x3fb2bf=class extends _0x14e616['Plugin']{static get['pluginName'](){return'UploadcareImageEdit';}static get['requires'](){return[_0x42c6e2,_0x55534d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}};_0x543b36['AIActions']=_0x3f39c5,_0x543b36['AIAdapter']=_0xdbf5cc,_0x543b36['AIAssistant']=_0x1a2695,_0x543b36['AIAssistantUI']=_0xf88035,_0x543b36['AIBalloon']=_0x2e776b,_0x543b36['AIChat']=_0x5e3ccd,_0x543b36['AIChatController']=_0x2aa9e1,_0x543b36['AIChatFeedCustomElementView']=_0xf9f048,_0x543b36['AIChatHistory']=_0x427693,_0x543b36['AIChatHistoryController']=_0x496394,_0x543b36['AIChatHistoryUI']=_0x2d7152,_0x543b36['AIChatInteraction']=_0x3f0ec4,_0x543b36['AIChatShortcuts']=_0x2c96dc,_0x543b36['AIChatUI']=_0x906cd4,_0x543b36['AIConnector']=_0x626bfd,_0x543b36['AICoreError']=_0x1118f7,_0x543b36['AIDocumentProcessingGateway']=_0x477f5d,_0x543b36['AIDocumentProcessingRunResult']=_0x1eca25,_0x543b36['AIEditing']=_0x11b915,_0x543b36['AIEditorIntegration']=_0x176f6a,_0x543b36['AIErrorReporter']=_0x4ea4f9,_0x543b36['AIErrorSink']=_0x47f55c,_0x543b36['AIGateway']=_0x589540,_0x543b36['AIInteraction']=_0x46edf2,_0x543b36['AIQuickActions']=_0x36f1a3,_0x543b36['AIQuickActionsUI']=_0xdce7b3,_0x543b36['AIReply']=_0x4fc1d9,_0x543b36['AIRequestError']=_0x16395f,_0x543b36['AIReviewCheck']=_0x110244,_0x543b36['AIReviewCheckResult']=_0x5531bb,_0x543b36['AIReviewCheckResultChange']=_0x4b7073,_0x543b36['AIReviewCheckRun']=_0x20678e,_0x543b36['AIReviewGateway']=_0x13156a,_0x543b36['AIReviewMode']=_0x3c8227,_0x543b36['AIReviewModeController']=_0x20d3ce,_0x543b36['AIReviewModeEditing']=_0x3274ca,_0x543b36['AIReviewModeUI']=_0x3d74e4,_0x543b36['AIReviewRunResult']=_0x4e4256,_0x543b36['AIRunResult']=_0x40ff74,_0x543b36['AITabs']=_0xdf3353,_0x543b36['AITabsMainView']=_0x53c46b,_0x543b36['AITabsView']=_0xecc0c1,_0x543b36['AITextAdapter']=_0x4bf2d8,_0x543b36['AIToggleButtonUI']=_0x1634e8,_0x543b36['AITranslate']=_0xdba5b0,_0x543b36['AITranslateController']=tp,_0x543b36['AITranslateGateway']=_0x27a0b2,_0x543b36['AITranslateRunResult']=_0x3cf3fc,_0x543b36['AITranslateUI']=_0x1b4fb4,_0x543b36['AWSTextAdapter']=class extends _0x4bf2d8{static get['pluginName'](){return'AWSTextAdapter';}['init'](){super['init'](),(0x0,_0x14e616['logWarning'])('ai-aws-adapter-not-supported');}async['sendRequest'](_0x267911){throw(0x0,_0x14e616['logError'])('ai-aws-adapter-not-supported'),new _0x16395f(_0x73e5dc(this['editor']['locale'],'AI_ERROR_AWS_NOT_SUPPORTED'));}},_0x543b36['AcceptSuggestionCommand']=tA,_0x543b36['AddCommentThreadCommand']=_0x13ecb7,_0x543b36['Annotation']=_0x3723e3,_0x543b36['AnnotationCollection']=_0x3022dd,_0x543b36['AnnotationCounterButtonView']=_0x48fee6,_0x543b36['AnnotationView']=_0x2e5efc,_0x543b36['Annotations']=_0x3007a9,_0x543b36['AnnotationsSidebarItemView']=_0x96f28e,_0x543b36['AnnotationsSidebarView']=_0x3376bc,_0x543b36['AnnotationsUIs']=_0x353cdd,_0x543b36['AriaDescriptionView']=_0x17f7ca,_0x543b36['BaseCommentThreadView']=_0x546c69,_0x543b36['BaseCommentView']=_0x137ef3,_0x543b36['BaseSuggestionThreadView']=_0x4f33f1,_0x543b36['CaseChange']=_0x1140ec,_0x543b36['CaseChangeCommand']=_0x45960b,_0x543b36['CaseChangeEditing']=_0x2c47eb,_0x543b36['CaseChangeUI']=_0x299843,_0x543b36['CloudServicesCommentsAdapter']=_0xc14fd,_0x543b36['CloudServicesRevisionHistoryAdapter']=_0x2372f2,_0x543b36['CloudServicesTrackChangesAdapter']=_0x454d6d,_0x543b36['CollaborationUserColor']=_0x45656f,_0x543b36['Comment']=_0x3501e3,_0x543b36['CommentThread']=_0x367c37,_0x543b36['CommentThreadController']=_0x1acd74,_0x543b36['CommentThreadInputView']=_0x344396,_0x543b36['CommentThreadView']=_0x2b2c18,_0x543b36['CommentView']=_0x5e1026,_0x543b36['Comments']=_0x598efe,_0x543b36['CommentsArchive']=_0x534cf2,_0x543b36['CommentsArchiveUI']=_0x549631,_0x543b36['CommentsEditing']=_0x5e2dbc,_0x543b36['CommentsListView']=_0x139d13,_0x543b36['CommentsOnly']=_0x472783,_0x543b36['CommentsRepository']=_0xc5d2f4,_0x543b36['CommentsUI']=_0x502dce,_0x543b36['ConfirmMixin']=_0x5ce719,_0x543b36['CopyFormatCommand']=_0x5e52d7,_0x543b36['DATA_ID_MODEL_ATTRIBUTE']=_0x578078,_0x543b36['DATA_ID_VIEW_ATTRIBUTE']=_0x2a08d8,_0x543b36['DiscardSuggestionCommand']=_0x2cacd5,_0x543b36['DocumentCompare']=_0x4abd7b,_0x543b36['DocumentDiff']=_0x1f6347,_0x543b36['DocumentOutline']=_0x540fb5,_0x543b36['DocumentOutlineUI']=_0x3b7297,_0x543b36['DocumentOutlineUtils']=_0x2fd6f0,_0x543b36['EditSourceCommand']=_0x38d440,_0x543b36['EditorAnnotations']=_0x248fa4,_0x543b36['EmailConfigurationHelper']=_0x5b74e8,_0x543b36['EmailConfigurationLogger']=_0x447532,_0x543b36['EmptyBlockEmailIntegration']=_0xedecee,_0x543b36['ExecuteOnAllSuggestionsCommand']=_0x2e13e8,_0x543b36['ExecuteOnSelectedSuggestionsCommand']=_0x5eb442,_0x543b36['ExportInlineStyles']=_0x327fbc,_0x543b36['ExportInlineStylesCommand']=_0x44a96c,_0x543b36['ExportInlineStylesEditing']=_0x37412e,_0x543b36['ExportInlineStylesEmailIntegration']=_0x20f4ca,_0x543b36['ExportPdf']=_0x2c9d6a,_0x543b36['ExportPdfCommand']=_0x459260,_0x543b36['ExportWord']=_0x4535f7,_0x543b36['ExportWordCommand']=_0x2faa3a,_0x543b36['FOCUS_ANNOTATION_KEYSTROKE']=_0x1fa44b,_0x543b36['FontEmailIntegration']=_0x205db8,_0x543b36['Footnotes']=_0x2c7abe,_0x543b36['FootnotesClipboard']=_0x3fed67,_0x543b36['FootnotesEditing']=_0x51bcbf,_0x543b36['FootnotesProperties']=_0x39c680,_0x543b36['FootnotesPropertiesEditing']=_0x56d8a5,_0x543b36['FootnotesPropertiesUI']=_0x3986c1,_0x543b36['FootnotesStartCommand']=_0x50f9fe,_0x543b36['FootnotesStyleCommand']=_0x24b7be,_0x543b36['FootnotesTracker']=_0x2b1fcd,_0x543b36['FootnotesUI']=_0x5cd486,_0x543b36['FormatPainter']=_0x4f494d,_0x543b36['FormatPainterEditing']=_0x4d0a00,_0x543b36['FormatPainterUI']=_0x2b7ed4,_0x543b36['GeneralHtmlIntegrationSupport']=_0x5d3ead,_0x543b36['HeadingId']=_0xa06c70,_0x543b36['HighlightEmailIntegration']=_0x57d5b9,_0x543b36['ImageEmailIntegration']=_0xc502cb,_0x543b36['ImportWord']=_0x6bcac1,_0x543b36['ImportWordCommand']=_0x53500d,_0x543b36['ImportWordEditing']=tb,_0x543b36['ImportWordUI']=_0x5cd34f,_0x543b36['InlineAnnotations']=_0x5ab417,_0x543b36['InsertFootnoteCommand']=_0x34912a,_0x543b36['InsertMergeFieldBlockCommand']=_0x4b68ea,_0x543b36['InsertMergeFieldCommand']=_0x75f3a2,_0x543b36['InsertMergeFieldImageCommand']=_0x2b57c6,_0x543b36['LateFocusButtonView']=_0x104fb5,_0x543b36['LateFocusDropdownButtonView']=_0x9ce03c,_0x543b36['LineHeight']=_0xaa5a2d,_0x543b36['LineHeightCommand']=_0x43684d,_0x543b36['LineHeightEditing']=_0x52e502,_0x543b36['LineHeightTodoListIntegration']=_0x2e5c5e,_0x543b36['LineHeightUI']=_0x40c6ba,_0x543b36['LinkEmailIntegration']=_0x3298e8,_0x543b36['ListEmailIntegration']=_0x2f56e1,_0x543b36['MarkdownEmailIntegration']=_0x178bbd,_0x543b36['MathTypeEmailIntegration']=_0x395c4d,_0x543b36['MediaEmbedEmailIntegration']=_0x28b163,_0x543b36['MergeFields']=_0x58a7ff,_0x543b36['MergeFieldsEditing']=_0x3a8bfb,_0x543b36['MergeFieldsEmailIntegration']=_0x151108,_0x543b36['MergeFieldsUI']=_0x395509,_0x543b36['MultiLevelList']=_0x39a34d,_0x543b36['MultiLevelListCommand']=_0x3aa996,_0x543b36['MultiLevelListEditing']=_0x3166ad,_0x543b36['MultiLevelListEmailIntegration']=_0x1ecd3a,_0x543b36['MultiLevelListUI']=_0x35526c,_0x543b36['NarrowSidebar']=_0x12658c,_0x543b36['OpenAITextAdapter']=class extends _0x4bf2d8{['_apiUrl'];['_requestHeaders'];['_requestParameters'];static get['pluginName'](){return'OpenAITextAdapter';}constructor(_0x4e83b1){super(_0x4e83b1),_0x4e83b1['config']['define']('ai.assistant.adapter.openAI.apiUrl','https://api.openai.com/v1/chat/completions'),_0x4e83b1['config']['get']('ai.assistant.adapter.openAI.requestParameters')||_0x4e83b1['config']['define']('ai.assistant.adapter.openAI.requestParameters',{'model':'gpt-4o','temperature':0x1,'top_p':0x1,'stream':!0x0}),this['_apiUrl']=_0x4e83b1['config']['get']('ai.assistant.adapter.openAI.apiUrl'),this['_requestHeaders']=_0x4e83b1['config']['get']('ai.assistant.adapter.openAI.requestHeaders')||{},this['_requestParameters']=_0x4e83b1['config']['get']('ai.assistant.adapter.openAI.requestParameters');}async['sendRequest']({query:_0x4da912,context:_0x48ff8e,onData:_0x5cd7fa,actionId:_0x3d7322}){const _0x23c6f4=this['editor']['locale'],_0x316036=await this['prepareMessages'](_0x4da912,_0x48ff8e,_0x3d7322),_0x37f665=await this['_prepareRequestHeaders'](this['_requestHeaders'],_0x3d7322),_0x2f0bfd=await this['_prepareRequestParameters'](this['_requestParameters'],_0x3d7322),_0x387a78={'messages':_0x316036,..._0x2f0bfd},_0x215570={'method':'POST','headers':_0x37f665,'body':JSON['stringify'](_0x387a78),'signal':this['abortController']['signal']},_0x61418d=await fetch(this['_apiUrl'],_0x215570);if(_0x61418d['ok'])return _0x2f0bfd['stream']?await this['_readStreamableResponse'](_0x61418d,_0x5cd7fa):await this['_readStaticResponse'](_0x61418d,_0x5cd7fa),Promise['resolve']();{const _0x48998b=await _0x61418d['text']();return _0x48998b['includes']('context_length_exceeded')?Promise['reject'](new _0x16395f(_0x73e5dc(_0x23c6f4,'AI_ERROR_CONTEXT_LENGTH'))):_0x48998b['includes']('Moderation')?Promise['reject'](new _0x16395f(_0x73e5dc(_0x23c6f4,'AI_ERROR_MODERATION'))):Promise['reject'](new Error(_0x48998b));}}async['prepareMessages'](_0xd5bd73,_0x12dfe8,_0x5bda88){let _0x506c56,_0x269a5a;return _0x12dfe8?(_0x506c56='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.',_0x269a5a='Instruction:\x0a'+_0xd5bd73+'\x0aYou\x20must\x20keep\x20the\x20text\x20formatting.\x0a\x0aContent:\x0a'+_0x12dfe8):(_0x506c56='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.',_0x269a5a=_0xd5bd73),[{'role':'system','content':_0x506c56},{'role':'user','content':_0x269a5a}];}async['_readStreamableResponse'](_0x1526b8,_0x2636b1){const _0x18e83e=_0x1526b8['body']['getReader'](),_0x5b5e21=new TextDecoder();let _0x57b874='',_0x3fcc24='',_0x128512='',_0x9a8be4=!0x1;for(;!_0x9a8be4;){const {done:_0x55edf9,value:_0x5cbe1b}=await _0x18e83e['read'](),_0x31feeb=_0x57b874+_0x5b5e21['decode'](_0x5cbe1b);let _0x53c91a='';_0x9a8be4=_0x55edf9;try{_0x53c91a=this['_cleanUpData'](_0x31feeb),_0x57b874='';}catch{_0x57b874=_0x31feeb;continue;}_0x3fcc24+=_0x53c91a,!_0x9a8be4&&this['_isBufferIncomplete'](_0x3fcc24)||_0x3fcc24&&(_0x128512+=_0x3fcc24,_0x3fcc24='',_0x2636b1(_0x128512));}return Promise['resolve']();}async['_readStaticResponse'](_0x5ce018,_0x4e2db4){return _0x4e2db4((await _0x5ce018['json']())['choices'][0x0]['message']['content']),Promise['resolve']();}['_isBufferIncomplete'](_0x42390c){const _0x233fea=_0x42390c['split']('<')['length']!==_0x42390c['split']('>')['length'],_0x2b9df5=_0x42390c['length']<0x1e;return _0x233fea&&_0x2b9df5;}['_cleanUpData'](_0x5d1f85){return _0x5d1f85['split'](/\n(?![^{]*\})/g)['map'](_0x5076f5=>_0x5076f5['replace']('data:\x20',''))['filter'](_0x30e2e0=>_0x30e2e0&&_0x30e2e0['length']>0x0&&'[DONE]'!==_0x30e2e0)['map'](_0x5b17a3=>{const {choices:_0x279d72}=JSON['parse'](_0x5b17a3);if(_0x279d72[0x0]?.['delta']?.['content'])return _0x279d72[0x0]['delta']['content'];})['filter'](_0x592ed4=>_0x592ed4)['join']('');}},_0x543b36['Pagination']=_0xc2aa39,_0x543b36['PaginationRenderer']=ty,_0x543b36['PasteFormatCommand']=_0x19c7d2,_0x543b36['PasteFromOfficeEnhanced']=_0x400498,_0x543b36['Permissions']=_0x5141ff,_0x543b36['PillView']=_0x971b3f,_0x543b36['PresenceList']=_0x32574a,_0x543b36['PresenceListUI']=_0x593dcf,_0x543b36['PreviewFinalContentCommand']=_0x5ed3b8,_0x543b36['PreviewMergeFieldsCommand']=_0x1da88d,_0x543b36['RealTimeCollaborationClient']=_0x447b7c,_0x543b36['RealTimeCollaborativeComments']=_0x1547da,_0x543b36['RealTimeCollaborativeEditing']=_0x441214,_0x543b36['RealTimeCollaborativeRevisionHistory']=_0x3e92f5,_0x543b36['RealTimeCollaborativeTrackChanges']=_0x3efff2,_0x543b36['ReplaceSourceCommand']=_0x3df2a6,_0x543b36['RestoreRevisionCommand']=_0xcd4526,_0x543b36['Revision']=_0x303882,_0x543b36['RevisionHistory']=_0x493bd6,_0x543b36['RevisionHistoryUI']=_0x466be1,_0x543b36['RevisionHistoryUtils']=_0x137691,_0x543b36['RevisionTracker']=_0x117f79,_0x543b36['RevisionViewer']=_0x45a3d5,_0x543b36['RevisionViewerEditor']=_0x3fa9fe,_0x543b36['RevisionViewerIntegration']=_0x42f6b6,_0x543b36['RevisionViewerLoadingOverlay']=_0x22a552,_0x543b36['RevisionViewerUI']=_0x546c0b,_0x543b36['RevisionsRepository']=_0x211191,_0x543b36['RevisionsSidebar']=_0x228785,_0x543b36['Sessions']=_0x8848f6,_0x543b36['ShowAIAssistantCommand']=_0x4d972f,_0x543b36['ShowChangeCommand']=_0x5c9370,_0x543b36['Sidebar']=_0x1264ed,_0x543b36['SlashCommand']=_0x13ea48,_0x543b36['SlashCommandConfig']=_0xec04f7,_0x543b36['SlashCommandEditing']=_0x463d38,_0x543b36['SlashCommandUI']=_0x23829a,_0x543b36['SourceEditingEmailIntegration']=_0x3eac02,_0x543b36['SourceEditingEnhanced']=_0x291036,_0x543b36['Suggestion']=_0x212bf7,_0x543b36['SuggestionDescriptionFactory']=_0x49e864,_0x543b36['SuggestionThreadView']=_0x37ca73,_0x543b36['SuggestionView']=_0x1cb615,_0x543b36['SuggestionsConversion']=_0x44c64b,_0x543b36['TableEmailIntegration']=_0x1bdd2c,_0x543b36['TableOfContents']=_0x107a9c,_0x543b36['TableOfContentsCommand']=_0x3e063b,_0x543b36['TableOfContentsEditing']=_0x1fd698,_0x543b36['TableOfContentsUI']=_0x58ed11,_0x543b36['Template']=_0x16fbb7,_0x543b36['TemplateCommand']=_0x146dd4,_0x543b36['TemplateEditing']=_0x11a22a,_0x543b36['TemplateEmailIntegration']=_0x58b5c5,_0x543b36['TemplateUI']=_0x37f7e5,_0x543b36['TodoListEmailIntegration']=_0x584936,_0x543b36['ToggleAICommand']=_0x4851df,_0x543b36['TrackChanges']=_0x91a14a,_0x543b36['TrackChangesCommand']=_0x47b939,_0x543b36['TrackChangesData']=_0x5ad011,_0x543b36['TrackChangesDataGetter']=_0x5e1402,_0x543b36['TrackChangesEditing']=_0x126dd6,_0x543b36['TrackChangesPreview']=_0x26819d,_0x543b36['TrackChangesUI']=_0x3a9720,_0x543b36['UploadEmailIntegration']=_0x175d86,_0x543b36['Uploadcare']=_0x599eca,_0x543b36['UploadcareCommand']=tq,_0x543b36['UploadcareEditing']=_0x29f4ee,_0x543b36['UploadcareImageEdit']=_0x3fb2bf,_0x543b36['UploadcareImageEditCommand']=_0x2c0c62,_0x543b36['UploadcareImageEditEditing']=_0x42c6e2,_0x543b36['UploadcareImageEditUI']=_0x55534d,_0x543b36['UploadcareUI']=_0x2d427b,_0x543b36['UploadcareUploadAdapter']=_0x19e26b,_0x543b36['User']=_0x44dfa2,_0x543b36['UserView']=_0x1a027b,_0x543b36['Users']=_0x17484f,_0x543b36['WebSocketGateway']=_0x139077,_0x543b36['WideSidebar']=_0x137293,_0x543b36['bindAnnotationCollections']=_0x54950e,_0x543b36['createResizeButton']=_0x1c0c90,_0x543b36['dropImportantStyleSuffix']=_0x4b3d53,_0x543b36['fixElementSuggestionRange']=_0x19d162,_0x543b36['getAllMarkersDomElementsSorted']=_0x20fdc7,_0x543b36['getDateTimeFormatter']=_0x1f91ed,_0x543b36['getDefaultAICommands']=_0x520f5c,_0x543b36['getEmailInlineStylesTransformations']=function(_0x58b17b={}){const _0x2d830c=[];return _0x58b17b['useFigureToTableFallback']&&_0x2d830c['push'](_0x816e3a,_0x4cba4a,_0x149075),_0x2d830c['push'](_0x17d519,_0x31650e,_0x42c569,_0x5f5baa),_0x2d830c;},_0x543b36['getMarkerDomElement']=_0x113d66,_0x543b36['hashObject']=_0x170940,_0x543b36['isUnsupportedEmailColorFormat']=_0x49ddb7,_0x543b36['isUnsupportedEmailColorValue']=_0x4721c0,_0x543b36['markOperationsAsAI']=_0x3efdc2,_0x543b36['sanitizeEditorConfig']=_0x25b5c7,_0x543b36['setupThreadKeyboardNavigation']=_0x39fd70,_0x543b36['splitSuggestionMarkerName']=_0x567555,_0x543b36['surroundingMarkersDetector']=_0x4bc8d4,_0x543b36['transformEmailAlignToAttribute']=_0x149075,_0x543b36['transformEmailColumnWidthsToCells']=_0x5f5baa,_0x543b36['transformEmailFigcaptionToDiv']=_0x4cba4a,_0x543b36['transformEmailFigureToTable']=_0x816e3a,_0x543b36['transformEmailFloatToAlign']=_0x17d519,_0x543b36['transformEmailImageWidthAttributes']=_0x42c569,_0x543b36['transformEmailMarginToAlign']=_0x31650e,_0x543b36['trimHtml']=_0x3cfc21;});